From: Mike Wray <mike_wray@hp...> - 2002-02-20 14:38:48
I'm developing a kernel module I want to debug using UML, so I
tried to recompile UML from source. After recompiling, the new kernel
gets a little way into the boot, then it hangs after saying
'I'm tracing myself and I can't get out'.
The UML from the rpm works fine by the way.
I'm using version 2.4.17 with root_fs from root_fs_tomrtbt_1.7.205.bz2.
My host kernel is 2.4.2-2 on a Pentium II laptop.
I compiled as follows:
tar xfj linux-2.4.17.tar.bz2
bzip2 -dc uml-patch-2.4.17-12.bz2 | patch -p1
make xconfig ARCH=um
make linux ARCH=um
All completed OK. Running the new kernel:
...Usual stuff, then
Mounted devfs on /dev
INIT: version 2.60 booting
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
I'm tracing myself and I can't get out
I tried running with the debug option, but at the point
the kernel hangs gdb hangs too and won't respond to ^C.
The only way out is to kill the trace process.
If there a way to fix this?
Mike Wray (mike_wray@...)
Get latest updates about Open Source Projects, Conferences and News.