From mboxrd@z Thu Jan 1 00:00:00 1970 From: Javier Subject: DPMI errors on amd64, but not on i386 Date: Wed, 4 Feb 2009 20:24:46 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Sender: linux-msdos-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: linux-msdos@vger.kernel.org I'm using dosemu 1.4.0.1 on Debian Lenny (compiled by myself as a 32 bit executable). It works pretty well under a x86_32 2.6.26 kernel, running Windows 3.1 both in 286 & 386 mode, DJGPP, etc. However, whenever I boot a x86_64 kernel, command.com and the rest of 16-bit applications run fine, but Windows and DJGPP do not. Windows only successfully boots every 100th time I launch it. Often, it just shows "DPMI: Unhandheld Exception 0d"*. Sometimes it just hangs. After a successful boot, it is also very buggy: Netscape (and most applications) tend to crash due to page faults. *Forcing 386 mode (win /d /3) results usually in DPMI Exception 06. Forcing 286 mode results in DPMI Exception 0d. Often, "ERROR: SMALLOC: bad pointer passed to smfree()" appears on dosemu's stderr. I've tried the Debian packaged 1.4.0.0 amd64 binary, but the result is the same. I've also tried vm86dev for x86_64; "runcom" does indeed work, 16-bit applications are faster, but windows does not boot either.