Current-Users archive

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

locking against myself on amd64/MP



Hi,

got a "locking against myself" panic tonight (s.b.)
I forgot to umount the union mounted /usr/pkgsrc
yesterday before going home - the machine is running w/o
problems if there's no union mounted fs "in the way"...

Kurt

Reader / writer lock error: rw_vector_enter: locking against myself

lock address : 0xffff80005a571b60
current cpu  :                  1
current lwp  : 0xffff8000516a5080
owner/count  : 0xffff8000516a5080 flags    : 0x0000000000000004

panic: lock error
Stopped in pid 27024.1 (find) at        netbsd:breakpoint+0x5:  leave
db{1}> bt
breakpoint() at netbsd:breakpoint+0x5
panic() at netbsd:panic+0x25b
lockdebug_abort() at netbsd:lockdebug_abort+0x42
rw_vector_enter() at netbsd:rw_vector_enter+0x11d
vlockmgr() at netbsd:vlockmgr+0xc2
ffs_lock() at netbsd:ffs_lock+0x54
VOP_LOCK() at netbsd:VOP_LOCK+0x70
vn_lock() at netbsd:vn_lock+0x76
union_lock() at netbsd:union_lock+0x81
VOP_LOCK() at netbsd:VOP_LOCK+0x42
vclean() at netbsd:vclean+0x69
getcleanvnode() at netbsd:getcleanvnode+0xcd
getnewvnode() at netbsd:getnewvnode+0x33
ffs_vget() at netbsd:ffs_vget+0x49
ufs_lookup() at netbsd:ufs_lookup+0x78f
VOP_LOOKUP() at netbsd:VOP_LOOKUP+0x6f
lookup() at netbsd:lookup+0x304
namei() at netbsd:namei+0x16d
do_sys_stat() at netbsd:do_sys_stat+0x44
sys___lstat30() at netbsd:sys___lstat30+0x2a
syscall() at netbsd:syscall+0xa6
db{1}> mach cpu 0
using CPU 0
db{1}> bt
_kernel_lock() at netbsd:_kernel_lock+0xd3
callout_softclock() at netbsd:callout_softclock+0x223
softint_dispatch() at netbsd:softint_dispatch+0x85
DDB lost frame for netbsd:Xsoftintr+0x50, trying 0xffff80004fa74d70
Xsoftintr() at netbsd:Xsoftintr+0x50
--- interrupt ---
0:
db{1}> ps/l
 PID         LID S     FLAGS       STRUCT LWP *               NAME WAIT
>27024     >   1 7  a0000004   ffff8000516a5080               find
 17977         1 3        84   ffff8000553f2000           postdrop netio
 28027         1 3        84   ffff8000516ec100           sendmail piperd
 22460         1 3        84   ffff800051490700                tee piperd
 1692          1 3        84   ffff800053226bc0                 sh wait
 1996          1 3        84   ffff8000515aa040                 sh wait
 26470         1 3        84   ffff8000553d01c0               cron piperd
 22845         1 3        84   ffff8000510d9120             pickup kqueue
 395           1 3        84   ffff80005154e720               tcsh tty
 373           1 3        84   ffff80005154eaa0               sshd select
 398           1 3        84   ffff800051490a80               sshd netio
 365           1 3        84   ffff8000514828c0              getty tty
 376           1 3        84   ffff800051482540              getty tty
 381           1 3        84   ffff8000510d94a0              getty tty
 383           1 3        84   ffff8000510d9ba0              getty tty
 371           1 3        84   ffff8000514211a0               cron nanoslp
 367           1 3        84   ffff8000511614c0               qmgr kqueue
 347           1 3        84   ffff8000514821c0             master kqueue
 254           1 3        84   ffff800051482c40               sshd select
 244           1 3        84   ffff800051421520               ntpd pause
 113           1 3        84   ffff8000511cf4e0            rpcbind select
 104           1 3        84   ffff8000511cf860            syslogd kqueue
 1             1 3        84   ffff80004f0fc440               init wait
 0            50 3       204   ffff8000511cf160          acctwatch actwat
              49 3       204   ffff80005139e180              nfsio nfsiod
              48 3       204   ffff80005139e500              nfsio nfsiod
              47 3       204   ffff80005139e880              nfsio nfsiod
              46 3       204   ffff80005139ec00              nfsio nfsiod
              45 3       204   ffff800051161840            physiod physiod
              44 3       204   ffff8000510cb100        vmem_rehash vmem_rehash
              43 3       204   ffff8000510cb480           aiodoned aiodoned
              42 3       204   ffff8000510cb800            ioflush syncer
              41 3       204   ffff8000510cbb80           pgdaemon pgdaemon
              40 3       204   ffff80004f0fb7a0          cryptoret crypto_wait
              39 3       204   ffff80004f0fc7c0               usb0 usbevt
              38 3       204   ffff80004f0fcb40               usb4 usbevt
              37 3       204   ffff80004f0fb0a0               usb3 usbevt
              36 3       204   ffff80004f0fb420               usb2 usbevt
              35 3       204   ffff80004f0fd0e0         usbtask-dr usbtsk
              34 3       204   ffff80004f0fdb60         usbtask-hc usbtsk
              33 3       204   ffff80004f0fc0c0               usb1 usbevt
              32 3       204   ffff80004f0fd460          atapibus0 sccomp
              31 3       204   ffff80004f0fd7e0            acpitz0 acpitz0
              22 3       204   ffff80004f0fbb20           scsibus1 sccomp
              21 3       204   ffff80004f0fa080           scsibus0 sccomp
              20 3       204   ffff80004f0fa400               iic0 iicintr
              19 3       204   ffff80004f0fa780            atabus1 atath
              18 3       204   ffff80004f0fab00            atabus0 atath
              17 3       284   ffff80004f0f5060          fw0_probe -
              16 3  80000204   ffff80004f0f53e0            xcall/1 xcall
              15 1  80000204   ffff80004f0f5760          softser/1
              14 1  80000204   ffff80004f0f5ae0          softclk/1
              13 1  80000204   ffff80004f0f4040          softbio/1
              12 1  80000204   ffff80004f0f43c0          softnet/1
              11 1  80000205   ffff80004f0f4740             idle/1
              10 3       204   ffff80004f0f4ac0             sysmon smtaskq
               9 3       204   ffff80004f0ea020           pmfevent pmfevent
               8 3       204   ffff80004f0ea3a0              vrele vrele
               7 3  80000204   ffff80004f0ea720            xcall/0 xcall
               6 1  80000204   ffff80004f0eaaa0          softser/0
               5 7  a0000204   ffff80004f0e8000          softclk/0
               4 1  80000204   ffff80004f0e8380          softbio/0
               3 1  80000204   ffff80004f0e8700          softnet/0
               2 7  a0000205   ffff80004f0e8a80             idle/0
               1 3       204   ffffffff805f61a0            swapper schedule
db{1}> 
 


Home | Main Index | Thread Index | Old Index