Re: UP kernel reports SMP?

Hans Lermen (lermen@elserv.ffm.fgan.de)
Sat, 9 Jan 1999 16:52:11 +0100 (MET)


On Wed, 30 Dec 1998 nuke@bayside.net wrote:

> i haven't been able to use dosemu with a devel kernel in about a year. no
> on my UP system, no matter which kernel (UP, SMP) i'm using, it always warns
^^^^^^^^^^^^^^^
> me that i'm using an SMP kernel and it may be unstable.

Now, if you have an UP system, just compile an UP kernel;-) For several
reasons DOSEMU has difficulties with SMP, that I won't discuss here.
We try to detect 'running SMP' by examining /proc/cpu to count the CPUs in
use. ... hence running an SMP kernel on UP fakes the wrong condition.

Furhermore, there were some interim 2.1.x kernels which had done
spell checking on the /proc/cpu output. For these kernels parsing
/proc/cpu went berserk. ... this is fixed in the meantime (both, in the
kernel and in DOSEMU).

> furthermore, dosemu
> always compiles against the devel kernel cleanly, but freezes when booting.

Some combinations of 2.1.x kernel header files and DOSEMU versions had
problems and to compile DOSEMU against 2.0 header files always solved that
problem, because the binary interfaces are identical.
However, also these problems have been solved in the meantime and DOSEMU
is aware of 2.1.x header files.

>
> i'm not sure if this is a dosemu or kernel problem. i've mailed the dosemu
> maintainer, and got no reply.

Your post reached dosemu-bugs@ at a time the 'spell checking bug' was
known. It may happen under those conditions that an 'ack' gets lost,
though generally you'll get one.

Conclusion: Latest DOSEMUs are known to work on latest 2.1.x,
check http://www.dosemu.org/ for ongoing development.

Hans
<lermen@dosemu.org>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/