can't gdb vkernel

Matthew Dillon dillon at
Wed Jul 2 15:24:03 PDT 2008

:when gdb'ing a vkernel, I run into this situation:
:     0 32061 23371   3 154   0 25348 24444 wait   SL    p1    0:00.34 gdb=
:     0 32062 32061   0 152   0 1052908 18784 stop   TXL+  p1    0:00.11=20
:this happens after mounting root, i.e. when init is run in the vkernel.=20
:Seems that the first SIGSEGV is being delivered, kernel is stopped for=20
:this purpose, but gdb never receives SIGCHLD, or rather wait doesn't retu=
:   simon

    This happens to me all the time.  I haven't had time to track it down.

    I usually work around it by gdb'ing the vkernel, and then quiting out
    of gdb (which seems to restart the vkernel ok) instead of typing 'cont'.

    Please, if you can find it, be my guest!

					Matthew Dillon 
					<dillon at>

More information about the Kernel mailing list