[email protected]
[Top] [All Lists]

Re: kern/42455: tstile hang with nfs

Subject: Re: kern/42455: tstile hang with nfs
From: "Christoph Egger"
Date: Tue, 04 May 2010 09:00:08 +0200
> 
>  I reproduced it again:
>  
>  db> ps /w
>  PID   LID          COMMAND     EMUL  PRI WAIT-MSG    WAIT-CHANNEL
>  619   732          qemu-dm   netbsd   43              0
>  619     2          qemu-dm   netbsd   43 netio        ffffa00001310a88
>  619     1          qemu-dm   netbsd   34 genput       ffffa00000415d40
>  
>  db> show lock 0xffffa00001310a88
>  lock address : 0xffffa00001310a88 type     :               spin
>  initialized  : 0xffffffff806449e3 interlock: 0xffffa000260da780
>  
>  'initialized' points to sys/kern/uipc_socket2.c:326
>  
>  db> show lock 0xffffa000260da780
>  lock address : 0xffffa000260da780 type     :     sleep/adaptive
>  initialized  : 0xffffffff80405e28
>  shared holds :                  0 exclusive:                  0
>  shares wanted:                  0 exclusive:                  0
>  current cpu  :                  0 last held:                  0
>  current lwp  : 0xffffa0002320ec00 last held: 000000000000000000
>  last locked  : 0xffffffff8064238e unlocked : 0xffffffff803ef060
>  owner field  : 000000000000000000 wait/spin:                0/0
>  
>  Turnstile chain at 0xffffffff80c385c0.
>  => No active turnstile for this lock.
>  
>  'initialized' points to sys/kern/kern_mutex_obj.c:92 ,
>  'last locked' points to sys/sys/socketvar.h:475
>  and 'unlocked' points to sys/kern/kern_condvar.c:154
>  

some more information:

db> ps /l
PID    LID S CPU     FLAGS       STRUCT LWP *               NAME WAIT
619    732 5   0         0   ffffa0002666d800            qemu-dm
619      2 3   0        80   ffffa00026c24800            qemu-dm netio
619      1 3   0         0   ffffa00026ba6c00            qemu-dm genput


db> tr /a ffffa00026c24800
trace: pid 619 lid 2 at 0xffffa00026c4e9f0
sleepq_block() at netbsd:sleepq_block+0xbf
cv_timedwait_sig() at netbsd:cv_timedwait_sig+0x10c
sbwait() at netbsd:sbwait+0x73
soreceive() at netbsd:soreceive+0xb0d
dofileread() at netbsd:dofileread+0x6f
sys_read() at netbsd:sys_read+0x73
syscall() at netbsd:syscall+0xa8

<Prev in Thread] Current Thread [Next in Thread>