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 <http://www.ime.usp.br/%7Ebaroni/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 <http://www.ime.usp.br/%7Ebaroni/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.ru...@wp.pl>

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to