DragonFly bugs List (threaded) for 2007-06
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: shutdown freeze and forced unmounts
On Thu, Jun 28, 2007 at 12:54:53PM -0700, Matthew Dillon wrote:
>
> :I run it from gdb to start with and when I try to kill it via gdb it
> :hangs.
> :
> :
> :(kgdb) thread 50
> :[Switching to thread 50 (Thread 0xdd919e00)]#0 lwkt_switch () at
> :thread2.h:177
> :177 globaldata_t gd = curtd->td_gd;
> :(kgdb) bt
> :#0 lwkt_switch () at thread2.h:177
> :#1 0xc020c4b1 in tsleep (ident=0xd68a9ac0, flags=256,
> : wmesg=0xc0429363 "pause", timo=0)
> : at /home/josepht/src/vksrc.cvs.2/sys/kern/kern_synch.c:473
> :#2 0xc01ffb51 in kern_sigsuspend (set=0x0)
> : at /home/josepht/src/vksrc.cvs.2/sys/kern/kern_sig.c:551
> :#3 0xc01ffb94 in sys_sigsuspend (uap=0x0)
> : at /home/josepht/src/vksrc.cvs.2/sys/kern/kern_sig.c:571
> :#4 0xc03db1a8 in syscall2 (frame=0xdd996d40)
> : at
> :/home/josepht/src/vksrc.cvs.2/sys/platform/pc32/i386/trap.c:1340
> :#5 0xc03c2b55 in Xint0x80_syscall ()
> : at
> :/home/josepht/src/vksrc.cvs.2/sys/platform/pc32/i386/exception.s:872
> :
> :Joe
>
> This kinda sounds like a bad interaction between gdb and the vkernel.
>
> Try running the vkernel normally, without gdb. Get it to hang while
> halting, and see if you can kill -9 the vkernel process(es) from another
> xterm.
>
That seems to work much better.
Joe
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]