On 3/26/06, Joao Barros <joao.barros_at_gmail.com> wrote: > Last night I was mounting a windows share with mount_smbfs and > browsing it via apache and I got the machine to panic twice. I was > tired and went to bed. > Today I can't replicate the panic but this always happens when I unmount: > > I'm trying to replicate the panic, and if I can I'll post a followup. > Here's the panic while doing a cvsup: panic: mutex Giant not owned at /usr/src/sys/kern/vfs_subr.c:2025 KDB: enter: panic [thread pid 979 tid 100090 ] Stopped at kdb_enter+0x2b: nop db> where Tracing pid 979 tid 100090 td 0xc3573510 kdb_enter(c06cc0e7) at kdb_enter+0x2b panic(c06cb401,c06dbed4,c06d5d7b,7e9,c3766000) at panic+0xbb --More-- _mtx_assert(c0733b28,1,c06d5d7b,7e9) at _mtx_assert+0x66 vrele(c3766000,c34efc28,c34ef800,c3573510,d6aff82c) at vrele+0x4e smbfs_reclaim(d6aff82c) at smbfs_reclaim+0xc9 VOP_RECLAIM_APV(c3735a60,d6aff82c) at VOP_RECLAIM_APV+0x7e vgonel(c3766410) at vgonel+0x12d vtryrecycle(c3766410,0,2,d6aff8ac,c059f18f) at vtryrecycle+0x107 vnlru_free(1) at vnlru_free+0x14e getnewvnode(c06d3bc3,c351b000,c071e880,d6aff918,d6aff8f0) at getnewvnode+0x33 ffs_vget(c351b000,5dbe1,2,d6aff97c) at ffs_vget+0xc2 ufs_lookup(d6affa20) at ufs_lookup+0xaa2 VOP_CACHEDLOOKUP_APV(c071e880,d6affa20) at VOP_CACHEDLOOKUP_APV+0x7e vfs_cache_lookup(d6affabc,c3819c30,0,d6affad8,c059a3fe) at vfs_cache_lookup+0xb2 VOP_LOOKUP_APV(c071e880,d6affabc) at VOP_LOOKUP_APV+0x87 lookup(d6affb48,0,0,c3573510,c381a000) at lookup+0x3f6 namei(d6affb48,82b5304,0,0,c3544c30) at namei+0x382 kern_lstat(c3573510,82b5304,0,d6affc1c) at kern_lstat+0x47 lstat(c3573510,d6affd04,c0734404,0,c328cd00) at lstat+0x1b syscall(bfbf003b,bfbf003b,81d003b,bfbfed28,bfbfed1c) at syscall+0x27e Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (190, FreeBSD ELF32, lstat), eip = 0x2819d9db, esp = 0x81dbaa0, ebp = 0x8 1dbb3c --- db> show pcpu cpuid = 0 curthread = 0xc3573510: pid 979 "cvsup" curpcb = 0xd6affd90 fpcurthread = 0xc3573510: pid 979 "cvsup" idlethread = 0xc328f510: pid 10 "idle" APIC ID = 0 currentldt = 0x50 spin locks held: db> show alllocks db> show lockedvnods Locked vnodes 0xc3819c30: tag ufs, type VDIR usecount 1, writecount 0, refcount 3 mountedhere 0 flags () lock type ufs: EXCL (count 1) by thread 0xc3573510 (pid 979) ino 378071, on dev da0s1f 0xc3766410: tag smbfs, type VREG usecount 0, writecount 0, refcount 1 mountedhere 0 flags (VI_DOOMED) lock type smbfs: EXCL (count 1) by thread 0xc3573510 (pid 979) db> where 979 Tracing pid 979 tid 100090 td 0xc3573510 kdb_enter(c06cc0e7) at kdb_enter+0x2b panic(c06cb401,c06dbed4,c06d5d7b,7e9,c3766000) at panic+0xbb _mtx_assert(c0733b28,1,c06d5d7b,7e9) at _mtx_assert+0x66 vrele(c3766000,c34efc28,c34ef800,c3573510,d6aff82c) at vrele+0x4e smbfs_reclaim(d6aff82c) at smbfs_reclaim+0xc9 VOP_RECLAIM_APV(c3735a60,d6aff82c) at VOP_RECLAIM_APV+0x7e vgonel(c3766410) at vgonel+0x12d vtryrecycle(c3766410,0,2,d6aff8ac,c059f18f) at vtryrecycle+0x107 vnlru_free(1) at vnlru_free+0x14e getnewvnode(c06d3bc3,c351b000,c071e880,d6aff918,d6aff8f0) at getnewvnode+0x33 ffs_vget(c351b000,5dbe1,2,d6aff97c) at ffs_vget+0xc2 ufs_lookup(d6affa20) at ufs_lookup+0xaa2 VOP_CACHEDLOOKUP_APV(c071e880,d6affa20) at VOP_CACHEDLOOKUP_APV+0x7e vfs_cache_lookup(d6affabc,c3819c30,0,d6affad8,c059a3fe) at vfs_cache_lookup+0xb2 VOP_LOOKUP_APV(c071e880,d6affabc) at VOP_LOOKUP_APV+0x87 lookup(d6affb48,0,0,c3573510,c381a000) at lookup+0x3f6 namei(d6affb48,82b5304,0,0,c3544c30) at namei+0x382 kern_lstat(c3573510,82b5304,0,d6affc1c) at kern_lstat+0x47 lstat(c3573510,d6affd04,c0734404,0,c328cd00) at lstat+0x1b syscall(bfbf003b,bfbf003b,81d003b,bfbfed28,bfbfed1c) at syscall+0x27e --More-- Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (190, FreeBSD ELF32, lstat), eip = 0x2819d9db, esp = 0x81dbaa0, ebp = 0x8 1dbb3c --- db> ps pid proc uid ppid pgrp flag stat wmesg wchan cmd 979 c385cd38 0 508 979 0004002 [CPU 0] cvsup 716 c385c000 0 1 0 0000204 [SLPQ 90idle 0xc376c084][SLP] smbiod2 695 c385c8d0 80 683 683 0000100 [SLPQ accept 0xc35b556a][SLP] httpd 694 c385c468 80 683 683 0000100 [SLPQ accept 0xc35b556a][SLP] httpd 693 c385c69c 80 683 683 0000100 [SLPQ accept 0xc35b556a][SLP] httpd 692 c36cb468 80 683 683 0000100 [SLPQ accept 0xc35b556a][SLP] httpd 691 c3571000 80 683 683 0000100 [SLPQ accept 0xc35b556a][SLP] httpd 690 c3858000 80 683 683 0000100 [SLPQ accept 0xc35b556a][SLP] httpd 686 c385869c 80 683 683 0000100 [SLPQ accept 0xc35b556a][SLP] httpd 685 c3858468 80 683 683 0000100 [SLPQ accept 0xc35b556a][SLP] httpd 684 c3858d38 80 683 683 0000100 [SLPQ accept 0xc35b556a][SLP] httpd 683 c36cad38 0 1 683 0000000 [SLPQ nanslp 0xc07343e4][SLP] httpd 508 c36ca000 0 507 508 0004002 [SLPQ pause 0xc36ca034][SLP] csh 507 c36ca234 1001 505 507 0004102 [SLPQ wait 0xc36ca234][SLP] su 505 c36ca69c 1001 504 505 0004002 [SLPQ wait 0xc36ca69c][SLP] sh 504 c36ca8d0 1001 501 501 0000100 [SLPQ select 0xc077daac][SLP] sshd 501 c36cb000 0 429 501 0004100 [SLPQ sbwait 0xc35b41e8][SLP] sshd 496 c36cbb04 0 1 496 0004002 [SLPQ ttyin 0xc3408410][SLP] getty 495 c36cbd38 0 1 495 0004002 [SLPQ ttyin 0xc3408810][SLP] getty 494 c3527d38 0 1 494 0004002 [SLPQ ttyin 0xc3418c10][SLP] getty 493 c33e3d38 0 1 493 0004002 [SLPQ ttyin 0xc3419c10][SLP] getty 492 c3571b04 0 1 492 0004002 [SLPQ ttyin 0xc3405810][SLP] getty 491 c3571468 0 1 491 0004002 [SLPQ ttyin 0xc341a810][SLP] getty 490 c3571234 0 1 490 0004002 [SLPQ ttyin 0xc3419010][SLP] getty 489 c33e38d0 0 1 489 0004002 [SLPQ ttyin 0xc3408c10][SLP] getty 445 c35718d0 0 1 445 0000000 [SLPQ nanslp 0xc07343e4][SLP] cron 439 c33e3b04 25 1 439 0000100 [SLPQ pause 0xc33e3b38][SLP] sendmail 435 c3571d38 0 1 435 0000100 [SLPQ select 0xc077daac][SLP] sendmail 429 c352769c 0 1 429 0000100 [SLPQ select 0xc077daac][SLP] sshd 286 c3527468 0 1 286 0000000 [SLPQ select 0xc077daac][SLP] syslogd 253 c35278d0 0 1 253 0000000 [SLPQ select 0xc077daac][SLP] devd 146 c357169c 0 1 146 0000000 [SLPQ pause 0xc35716d0][SLP] adjkerntz 46 c3524000 0 0 0 0000204 [SLPQ - 0xd58edd04][SLP] schedcpu 45 c3524234 0 0 0 0000204 [SLPQ - 0xc0780fcc][SLP] nfsiod 3 44 c3524468 0 0 0 0000204 [SLPQ - 0xc0780fc8][SLP] nfsiod 2 43 c352469c 0 0 0 0000204 [SLPQ - 0xc0780fc4][SLP] nfsiod 1 42 c35248d0 0 0 0 0000204 [SLPQ - 0xc0780fc0][SLP] nfsiod 0 41 c3524b04 0 0 0 0000204 [SLPQ sdflush 0xc07864e0][SLP] softdepflush 40 c3524d38 0 0 0 0000204 [SLPQ syncer 0xc07340ec][SLP] syncer 39 c3527000 0 0 0 0000204 [SLPQ vlruwt 0xc3527000][SLP] vnlru 38 c332fd38 0 0 0 0000204 [SLPQ psleep 0xc077df0c][SLP] bufdaemon 37 c33dc000 0 0 0 000020c [SLPQ pgzero 0xc078ee10][SLP] pagezero 36 c33dc234 0 0 0 0000204 [SLPQ psleep 0xc0786d3c][SLP] vmdaemon 35 c33dc468 0 0 0 0000204 [SLPQ psleep 0xc0786cfc][SLP] pagedaemon 34 c33dc69c 0 0 0 0000204 [IWAIT] swi0: sio 33 c33dc8d0 0 0 0 0000204 [SLPQ - 0xc33ca63c][SLP] fdc0 32 c33dcb04 0 0 0 0000204 [IWAIT] irq1: atkbd0 31 c33dcd38 0 0 0 0000204 [SLPQ usbevt 0xc33e5210][SLP] usb1 30 c33e3000 0 0 0 0000204 [SLPQ usbtsk 0xc0731924][SLP] usbtask 29 c33e3234 0 0 0 0000204 [SLPQ usbevt 0xc33d7210][SLP] usb0 28 c33e3468 0 0 0 0000204 [IWAIT] irq15: ata1 uhci1 27 c32df69c 0 0 0 0000204 [IWAIT] irq14: ata0 26 c32df8d0 0 0 0 0000204 [SLPQ idle 0xc33ca200][SLP] aic_recovery1 25 c32dfb04 0 0 0 0000204 [IWAIT] irq10: ahc1 amr0 24 c32dfd38 0 0 0 0000204 [SLPQ idle 0xc33ca200][SLP] aic_recovery1 23 c332f000 0 0 0 0000204 [SLPQ idle 0xc3289000][SLP] aic_recovery0 22 c332f234 0 0 0 0000204 [IWAIT] irq5: ahc0 21 c332f468 0 0 0 0000204 [SLPQ idle 0xc3289000][SLP] aic_recovery0 20 c332f69c 0 0 0 0000204 [RUNQ] irq3: fxp0 uhci0 19 c332f8d0 0 0 0 0000204 [IWAIT] irq9: acpi0 18 c332fb04 0 0 0 0000204 [IWAIT] swi6: Giant taskq 17 c3294234 0 0 0 0000204 [IWAIT] swi6: task queue 9 c3294468 0 0 0 0000204 [SLPQ - 0xc328d480][SLP] acpi_task_2 8 c329469c 0 0 0 0000204 [SLPQ - 0xc328d480][SLP] acpi_task_1 7 c32948d0 0 0 0 0000204 [SLPQ - 0xc328d480][SLP] acpi_task_0 6 c3294b04 0 0 0 0000204 [SLPQ - 0xc328d580][SLP] kqueue taskq 16 c3294d38 0 0 0 0000204 [IWAIT] swi2: cambio 15 c32df000 0 0 0 0000204 [IWAIT] swi5: + 5 c32df234 0 0 0 0000204 [SLPQ - 0xc328d800][SLP] thread taskq 14 c32df468 0 0 0 0000204 [SLPQ - 0xc072f880][SLP] yarrow 4 c328e000 0 0 0 0000204 [SLPQ - 0xc073205c][SLP] g_down 3 c328e234 0 0 0 0000204 [SLPQ - 0xc0732058][SLP] g_up 2 c328e468 0 0 0 0000204 [SLPQ - 0xc0732050][SLP] g_event 13 c328e69c 0 0 0 0000204 [IWAIT] swi1: net 12 c328e8d0 0 0 0 0000204 [IWAIT] swi3: vm 11 c328eb04 0 0 0 000020c [RUNQ] swi4: clock sio 10 c328ed38 0 0 0 000020c [Can run] idle 1 c3294000 0 0 1 0004200 [SLPQ wait 0xc3294000][SLP] init 0 c0732160 0 0 0 0000200 [IWAIT] swapper db> -- Joao BarrosReceived on Sun Mar 26 2006 - 15:02:33 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:54 UTC