All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: Adrian Bunk <bunk@stusta.de>
Cc: linux-kernel@vger.kernel.org, linux-msdos@vger.kernel.org,
	Arjan van de Ven <arjan@infradead.org>,
	Ingo Molnar <mingo@elte.hu>
Subject: Re: 2.6.12-rc1 breaks dosemu
Date: Fri, 25 Mar 2005 19:52:31 +0100	[thread overview]
Message-ID: <200503251952.33558.arnd@arndb.de> (raw)
In-Reply-To: <20050320021141.GA4449@stusta.de>

On Sünndag 20 März 2005 03:11, Adrian Bunk wrote:
> xdosemu 1.2.2 runs fine under 2.6.11.5, but fails under 2.6.12-rc1 with 
> the following error:
> 
> <--  snip  -->
> 
> $ xdosemu 
> ERROR: cpu exception in dosemu code outside of VM86()!
> trapno: 0x0e  errorcode: 0x00000005  cr2: 0xffffff8e
> eip: 0x000069ee  esp: 0xbfdbffcc  eflags: 0x00010246
> cs: 0x0073  ds: 0x007b  es: 0x007b  ss: 0x007b
> Page fault: read instruction to linear address: 0xffffff8e
> CPU was in user mode
> Exception was caused by insufficient privilege

I had the same problem and found out that disabling
address space randomization (echo 0 > 
/proc/sys/kernel/randomize_va_space) solves this
reliably. With randomization enabled, I can start up
dosemu maybe 1 out of 100 times.

I guess the randomization patches changed the mapping
in a way that dosemu did not expect.

 Arnd <><
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: Arnd Bergmann <arnd@arndb.de>
To: Adrian Bunk <bunk@stusta.de>
Cc: linux-kernel@vger.kernel.org, linux-msdos@vger.kernel.org,
	Arjan van de Ven <arjan@infradead.org>,
	Ingo Molnar <mingo@elte.hu>
Subject: Re: 2.6.12-rc1 breaks dosemu
Date: Fri, 25 Mar 2005 19:52:31 +0100	[thread overview]
Message-ID: <200503251952.33558.arnd@arndb.de> (raw)
In-Reply-To: <20050320021141.GA4449@stusta.de>

On Sünndag 20 März 2005 03:11, Adrian Bunk wrote:
> xdosemu 1.2.2 runs fine under 2.6.11.5, but fails under 2.6.12-rc1 with 
> the following error:
> 
> <--  snip  -->
> 
> $ xdosemu 
> ERROR: cpu exception in dosemu code outside of VM86()!
> trapno: 0x0e  errorcode: 0x00000005  cr2: 0xffffff8e
> eip: 0x000069ee  esp: 0xbfdbffcc  eflags: 0x00010246
> cs: 0x0073  ds: 0x007b  es: 0x007b  ss: 0x007b
> Page fault: read instruction to linear address: 0xffffff8e
> CPU was in user mode
> Exception was caused by insufficient privilege

I had the same problem and found out that disabling
address space randomization (echo 0 > 
/proc/sys/kernel/randomize_va_space) solves this
reliably. With randomization enabled, I can start up
dosemu maybe 1 out of 100 times.

I guess the randomization patches changed the mapping
in a way that dosemu did not expect.

 Arnd <><

  parent reply	other threads:[~2005-03-25 18:52 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-20  2:11 2.6.12-rc1 breaks dosemu Adrian Bunk
2005-03-20  3:04 ` Gene Heskett
2005-03-25 18:52 ` Arnd Bergmann [this message]
2005-03-25 18:52   ` Arnd Bergmann
2005-03-25 19:14   ` Arjan van de Ven
2005-03-25 22:54     ` Arnd Bergmann
2005-03-25 22:54       ` Arnd Bergmann
2005-03-26  8:10       ` Arjan van de Ven
2005-03-26  8:10         ` Arjan van de Ven
2005-03-26  8:18         ` Bart Oldeman
2005-03-26  8:18           ` Bart Oldeman
2005-03-26 13:49           ` Arnd Bergmann
2005-03-26 13:49             ` Arnd Bergmann
2005-03-26 14:28             ` Arjan van de Ven
2005-03-26 14:28               ` Arjan van de Ven
2005-03-26 14:35               ` Arjan van de Ven
2005-03-26 14:35                 ` Arjan van de Ven
2005-03-26  8:25       ` Arjan van de Ven
2005-03-26  8:25         ` Arjan van de Ven
2005-03-26  8:32         ` Bart Oldeman
2005-03-26  9:28           ` Arjan van de Ven
2005-03-31  6:43             ` Bart Oldeman

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=200503251952.33558.arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=arjan@infradead.org \
    --cc=bunk@stusta.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-msdos@vger.kernel.org \
    --cc=mingo@elte.hu \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.