Re: [OOPS] repeatable 2.4.8-ac7, 2.4.7-ac6 just run xdos

Eric W. Biederman
2001-08-19T20:38:01Z

Jeff Chua <jeffchua@silk.corp.fedex.com> writes:

> On Sun, 19 Aug 2001, Paul wrote:
> > Actually, it works fine for me too, _if_ I use DOS 5 as
> > the boot image, but I changed to DOS 6.22, and its has oops'd
> > every time Ive tried it that way. Its just a trigger for whatever
> > the real problem is.
> >
> > Paul
> > set@pobox.com
>
> I'm using dosemu-1.1.1.tgz with Windows 98 [Version 4.10.2222]
>
> Does "dos" command works for you instead of "xdos" ?
>
> Did you check your shmmax?
>
> Try ...
> echo 1000000000 >/proc/sys/kernel/shmmax

This should be totally irrelevant. You shouldn't be able to
crash linux with dosemu unless you are doing direct hardware access.

There are a number of cases, where dosemu is different enough it has
been known to cause code to go down buggy non-common paths and cause
things to fail. This has happened with both X and the kernel.
I suspect that is what is happening here.

Paul is dosemu configured to do any direct hardware access?

Also of interest is that this crash is not even directly triggered by
the dosemu process. Instead an interrupt handler is doing something
bad.

Paul If you can verify that dosemu isn't doing any direct hardware
access. i.e. Dosemu isn't suid root, and you have no ports lines
you should be fine.

Eric