Skip to contentSkip to conversation

Need Help - Dosemu Not Working For Ubuntu 32-bit

DISCUSSION Frederic Herman 4 participants 5 messages Jul 26, 2013

lore
Share & tools
lore
#0 lore raw

As I reported to the list quite a while ago, I had to run an accounting package in a 32 bit machine because I could not get it to work in a 64 bit, both running fedora linux, and both on AMD hardware.

I have migrated the 32 bit machine to ubuntu 12.04 (precise) and installed the standard dosemu package. I now have the same error crash when I try to start the accounting program:

Invalid Opcode at 99E3 1f9c 3216 181300DF 1813 7*0000

and the boot log:

Illegal op ff ff ff

cpu exception 0x06 err 0x00000000 cr2=00017e6d eip=000093e3

Sigkill while in vm86():1f9c:99e3

Note that the above is identical to errors that I get running on a 64 bit ubuntu machine.

I could post the entire boot log file if that would help. I really need to get the accounting software to run under the ubuntu installation.

If there is a configuration tweak that I need to do, it's not obvious to me. I could try the hundreds of variations in the configuration file, but I would just be shooting in the dark.

I could also send the accounting software files if someone wants to try play with it, but I am not going to post it to the discussion list.

Thanks to anyone who can help me with this.

Fred

#1 lore raw

26.07.2013 06:07, Frederic Herman пишет:

Quoted 26 lines

As I reported to the list quite a while ago, I had to run an accounting package in a 32 bit machine because I could not get it to work in a 64 bit, both running fedora linux, and both on AMD hardware.

I have migrated the 32 bit machine to ubuntu 12.04 (precise) and installed the standard dosemu package. I now have the same error crash when I try to start the accounting program:

Invalid Opcode at 99E3 1f9c 3216 181300DF 1813 7*0000

and the boot log:

Illegal op ff ff ff

cpu exception 0x06 err 0x00000000 cr2=00017e6d eip=000093e3

Sigkill while in vm86():1f9c:99e3

Note that the above is identical to errors that I get running on a 64 bit ubuntu machine.

I could post the entire boot log file if that would help. I really need to get the accounting software to run under the ubuntu installation.

Quoted 6 lines

If there is a configuration tweak that I need to do, it's not obvious to me. I could try the hundreds of variations in the configuration file, but I would just be shooting in the dark.

I could also send the accounting software files if someone wants to try play with it, but I am not going to post it to the discussion list.

Don't post them to discussion list, use BTS instead,
http://sourceforge.net/p/dosemu/bugs/

Don't re-type the logs by hands, bzip them and attach to
the ticket. There are howtos somewhere about reporting
bugs to BTS, try your best to follow them carefully.
The first thing the howto will tell you is to try the latest development code and see if the problem is still there.
In case of dosemu, that would be a "devel" branch of the git. --
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
In reply to Frederic Herman

Hello.

Try running this as root before running DOSEmu:
echo 0 >/proc/sys/vm/mmap_min_addr

Sometimes the 32 bit CPU emulator fails and that command above
allows DOSEmu to use the CPU directly when in a 32 bit Linux environment.

Another thing to try is to install the Debian package:
http://packages.debian.org/sid/dosemu

If you fix the problem, then it may be useful for others that you
tell us how you fixed it.

    Thanks!!!

P.s.: happy systems administrators day!!!

Quoted 32 lines · Frederic Herman

As I reported to the list quite a while ago, I had to run an accounting package in a 32 bit machine because I could not get it to work in a 64 bit, both running fedora linux, and both on AMD hardware.

I have migrated the 32 bit machine to ubuntu 12.04 (precise) and installed the standard dosemu package. I now have the same error crash when I try to start the accounting program:

Invalid Opcode at 99E3 1f9c 3216 181300DF 1813 7*0000

and the boot log:

Illegal op ff ff ff

cpu exception 0x06 err 0x00000000 cr2=00017e6d eip=000093e3

Sigkill while in vm86():1f9c:99e3

Note that the above is identical to errors that I get running on a 64 bit ubuntu machine.

I could post the entire boot log file if that would help. I really need to get the accounting software to run under the ubuntu installation.

If there is a configuration tweak that I need to do, it's not obvious to me. I could try the hundreds of variations in the configuration file, but I would just be shooting in the dark.

I could also send the accounting software files if someone wants to try play with it, but I am not going to post it to the discussion list.

Thanks to anyone who can help me with this.

Fred

Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Signature · 9 lines
Ivan Baldo - [email protected] - http://ibaldo.codigolibre.net/
From Montevideo, Uruguay, at the south of South America.
Freelance programmer and GNU/Linux system administrator, hire me!
Alternatives: [email protected] - http://go.to/ibaldo

--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#3 lore raw

The echo command didn't fix it.

I installed the package you suggested, and it worked on the 32 bit machine. I then tried installing the package for a 64 bit machine, and got the same error.

Thank you for helping me get the accounting package back in service.

I will follow the suggestion by the others to use the http://sourceforge.net/p/dosemu/bugs/
link in the future to report problems.

Fred

Quoted 14 lines · Ivan Baldo

Hello.

Try running this as root before running DOSEmu:
echo 0 >/proc/sys/vm/mmap_min_addr

Sometimes the 32 bit CPU emulator fails and that command above
allows DOSEmu to use the CPU directly when in a 32 bit Linux environment.

Another thing to try is to install the Debian package:
http://packages.debian.org/sid/dosemu

If you fix the problem, then it may be useful for others that you
tell us how you fixed it.

Quoted 50 lines
     Thanks!!!

P.s.: happy systems administrators day!!!

Quoted 41 lines · Frederic Herman

As I reported to the list quite a while ago, I had to run an accounting package in a 32 bit machine because I could not get it to work in a 64 bit, both running fedora linux, and both on AMD hardware.

I have migrated the 32 bit machine to ubuntu 12.04 (precise) and installed the standard dosemu package. I now have the same error crash when I try to start the accounting program:

Invalid Opcode at 99E3 1f9c 3216 181300DF 1813 7*0000

and the boot log:

Illegal op ff ff ff

cpu exception 0x06 err 0x00000000 cr2=00017e6d eip=000093e3

Sigkill while in vm86():1f9c:99e3

Note that the above is identical to errors that I get running on a 64 bit ubuntu machine.

I could post the entire boot log file if that would help. I really need to get the accounting software to run under the ubuntu installation.

If there is a configuration tweak that I need to do, it's not obvious to me. I could try the hundreds of variations in the configuration file, but I would just be shooting in the dark.

I could also send the accounting software files if someone wants to try play with it, but I am not going to post it to the discussion list.

Thanks to anyone who can help me with this.

Fred
--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
In reply to Frederic Herman
Quoted 30 lines · Frederic Herman

As I reported to the list quite a while ago, I had to run an accounting package in a 32 bit machine because I could not get it to work in a 64 bit, both running fedora linux, and both on AMD hardware.

I have migrated the 32 bit machine to ubuntu 12.04 (precise) and installed the standard dosemu package. I now have the same error crash when I try to start the accounting program:

Invalid Opcode at 99E3 1f9c 3216 181300DF 1813 7*0000

and the boot log:

Illegal op ff ff ff

cpu exception 0x06 err 0x00000000 cr2=00017e6d eip=000093e3

Sigkill while in vm86():1f9c:99e3

Note that the above is identical to errors that I get running on a 64 bit ubuntu machine.

I could post the entire boot log file if that would help. I really need to get the accounting software to run under the ubuntu installation.

If there is a configuration tweak that I need to do, it's not obvious to me. I could try the hundreds of variations in the configuration file, but I would just be shooting in the dark.

Quoted 6 lines

I could also send the accounting software files if someone wants to try play with it, but I am not going to post it to the discussion list.

Thanks to anyone who can help me with this.

Fred

Although probably I'm not able solve this problem, I can recommend to You to trying run Your program with different '$_cpu_emu' values and with different dosemu modes, as e.g. starting DOSEMU from xterm with '-X' (X-window mode), '-t' (terminal mode), and '-S' (SDL mode
- when You have support for it compiled in). I have accounting SW which run in X-window mode, but crashes DOSEMU in terminal mode. It seems as debugging DOSEMU crashes isn't too easy, I would like when someone with DOSEMU internals skills could give me advice how start solve this problem.

And, when You wan and there are some simple steps how evoke Your DOSEMU crash, I can try run it on my configuration, when You pose it somewhere.

Franta Hanzlik