Hello all UML users,

I've using UML kernel to debug kernel module that I'm developing. I'm new to kernel programming but I found this tutorial ( http://www.ime.usp.br/~baroni/docs/uml-en.html) and I tried to follow it up to setup my debug environment. Before that I was using manual setup as described in hacking tutorial on UML home page.

Everytime I try to use to run gdb with .gdbinit ( http://www.ime.usp.br/~baroni/docs/.gdbinit) with following commands in it:

file ./linux
handle SIGSEGV pass nostop noprint
handle SIGUSR1 pass nostop noprint
r ubd0=../linux_fs.ext3 ubd1=../swap_file mem=128M con0=xterm con=xterm ssl=xterm  umid=vm001 eth0=tuntap,tap0

I always get following results. Xterm process finish as zombie process (xterm <defunct>). But when I run:
./linux ubd0=../linux_fs.ext3 ubd1=../swap_file mem=128M con0=xterm con=xterm ssl=xterm  umid=vm001 eth0=tuntap,tap0

and then attach to its pid gdb everything works perfect. I don't understand where is the issue. Could anyone help?

I use Ubuntu 10.04 with 2.6.32-24-generic and kernel that I'm using to debug my module is linux-2.6.32.19.


regards,
--
Pawel R.
<pawel.rusak@wp.pl>