DragonFly bugs List (threaded) for 2007-06
DragonFly BSD
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


From: Joe Talbott <josepht@xxxxxxxxxx>
Date: Thu, 28 Jun 2007 20:32:21 -0400
Mail-followup-to: Matthew Dillon <dillon@apollo.backplane.com>, bugs@crater.dragonflybsd.org

On Thu, Jun 28, 2007 at 04:40:25PM -0400, Joe Talbott wrote:
> 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.

I managed to get a vkernel to hang and cannot kill -9 it.  I attached
gdb and this is what I get:

(gdb) bt
#0  0x282c5858 in ?? ()
Error accessing memory address 0x41007cf0: Bad address.
(gdb) info registers 
eax            0x155    341
ecx            0x0      0
edx            0x28340100       674496768
ebx            0x2827b72c       673691436
esp            0x41007cf0       0x41007cf0
ebp            0x41007d3c       0x41007d3c
esi            0x0      0
edi            0x41007d54       1090551124
eip            0x282c5858       0x282c5858
eflags         0x206    518
cs             0x1f     31
ss             0x2f     47
ds             0x2f     47
es             0x2f     47
fs             0x83     131
gs             0x7b     123
(gdb) disassemble $eip
No function contains specified address.

Joe


> 
> Joe



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]