I have just started "playing" with uml to figure out how I can use it
to secure external (DMZ) machines.
I started with the debian packages for uml :-
ii user-mode-linux 188.8.131.52um-1
ii uml-utilities 20020212-1
At home using 2.4.18pre9 I booted with no problems. At work on 2
machines, one with 2.2.20pre2 and one with 2.2.20, linux
segfaulted. Running under gdb (using self compiled version) I get :-
GNU gdb 19990928
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...r
Starting program: /home/tandem/tmp/linux-2.4.18-1.0
Program received signal SIGSEGV, Segmentation fault.
0xa000b000 in _start () at net_kern.c:441
441 net_kern.c: No such file or directory.
#0 0xa000b000 in _start () at net_kern.c:441
Cannot access memory at address 0xa000b000.
I found that somebody else on the web had mentioned that one had to
run uml 2.4.5 or earlier to work on 2.2. So I grabbed 2 bare kernels
from the web page :-
2.4.18 segfaults, 2.4.5 works ! :-)
Am I missing something very obvious (apart from : it doesn't work) ?
Googling didn't return anything else apart from the one site that
mentions uml > 2.4.5 not working with 2.2. The web page mentions :-
First off, the host machine needs to be an i386 Linux box running
2.2.15 or later, or 2.3.22 or later (including any 2.4 kernel). If
you have an earlier kernel, and for some reason you don't want to
upgrade, then you can still run uml by applying this patch to
it. But you should really get a more modern kernel.
Thanks for any help,
Your mouse has moved.
Windows NT must be restarted for the change to take effect.
Reboot now? [OK]