public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
From: Javier <javispeter+de@gmail.com>
To: linux-msdos@vger.kernel.org
Subject: DPMI errors on amd64, but not on i386
Date: Wed, 4 Feb 2009 20:24:46 +0000 (UTC)	[thread overview]
Message-ID: <loom.20090204T201011-64@post.gmane.org> (raw)

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. 


             reply	other threads:[~2009-02-04 20:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-04 20:24 Javier [this message]
2009-02-06 17:19 ` DPMI errors on amd64, but not on i386 Julius Schwartzenberg
2009-02-06 20:38   ` Javier
2009-02-06 21:10     ` Julius Schwartzenberg
     [not found]       ` <498CAC15.9080905@pobox.com>
2009-02-07 21:47         ` Julius Schwartzenberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20090204T201011-64@post.gmane.org \
    --to=javispeter+de@gmail.com \
    --cc=linux-msdos@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox