Bug #2310

panic: device_unbusy: called for non-busy device

Added by phma about 2 years ago. Updated almost 2 years ago.

Status:ClosedStart date:02/21/2012
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

I was copying something from a webpage to a document in Kate and the computer froze, then showed me the console saying that X could not be restarted. I killed kdm and logged in again. While all the windows were coming up, the computer turned itself off. I rebooted and found a dump numbered 12. Here are the tracebacks and some other info:

Version String: DragonFly v3.1.0.114.g7fba7-DEVELOPMENT #4: Sun Feb 5 15:33:37
EST 2012 :/usr/obj/usr/src/sys/GENERIC

panic: device_unbusy: called for non-busy device
Trace beginning at frame 0xcc956954
panic(ffffffff,0,c06daaa4,cc956988,cc971160) at panic+0x19e 0xc0383933
panic(c06daaa4,0,cc9569ac,c04c79b1,c2e85528) at panic+0x19e 0xc0383933
device_unbusy(c2e85528,0,cc9712ac,cdd3aee0,cdd3aee0) at device_unbusy+0x1c
0xc039f82f
agp_close(cc9569b8,c08a5bf0,cdd3aee0,6,2000) at agp_close+0xb3 0xc04c79b1
dev_dclose(cdd3aee0,6,2000,ccb9d660,d087f7b8) at dev_dclose+0x4b 0xc0366d17
devfs_spec_close(cc9569fc,c08b3b78,d08c4be0,d087f7b8,0) at
devfs_spec_close+0x14d 0xc0545be0
vop_close(d08c4be0,d087f7b8,6,0,c0c789c0) at vop_close+0x7c 0xc03fb381
vclean_vxlocked(d087f7b8,8,c0c789c0,c0d0f600,cc956b90) at vclean_vxlocked+0xf2
0xc03ead71
vgone_vxlocked(d087f7b8,c0c78a00,a000000,cc97127c,cc956ba4) at
vgone_vxlocked+0x50 0xc03eaf63
vflush_scan(d08ae660,d087f7b8,cc956b90,c03fa6e4,cc956b50) at vflush_scan+0x98
0xc03edc8d
vmntvnodescan(d08ae660,2,0,c03edbf5,cc956b90) at vmntvnodescan+0x1af
0xc03ede6f
vflush(d08ae660,0,2,d08ae660,0) at vflush+0x181 0xc03ee0e6
devfs_vfs_unmount(d08ae660,80000,d08ae660,0,d08ae684) at
devfs_vfs_unmount+0x46 0xc0546fc2
vfs_unmount(d08ae660,80000,14,1000,0) at vfs_unmount+0x68 0xc03fbda1
dounmount(d08ae660,80000,d08ae660,1,cc956c60) at dounmount+0x220 0xc03f6e00
vfs_umountall_callback(d08ae660,0,4,0,c0c78c78) at vfs_umountall_callback+0x1f
0xc03e9142
mountlist_scan(c03e9123,0,6,cc956ca4,c03835d8) at mountlist_scan+0x119
0xc03ee4fa
vfs_unmountall(c06af5e0,0,c037c5c4,ccad2498,4000) at vfs_unmountall+0x22
0xc03e860b
boot(0,8,cc956d34,c065ebcc,cc956cf0) at boot+0x2d6 0xc03835d8
sys_reboot(cc956cf0,cc956d00,4,0,0) at sys_reboot+0x3f 0xc0383c73
syscall2(cc956d40) at syscall2+0x270 0xc065ebcc
Xint0x80_syscall() at Xint0x80_syscall+0x36 0xc062dc16

(kgdb) #0 _get_mycpu () at ./machine/thread.h:79
#1 md_dumpsys (di=0xc0c02820) at
/usr/src/sys/platform/pc32/i386/dump_machdep.c:264
#2 0xc03830e8 in dumpsys () at /usr/src/sys/kern/kern_shutdown.c:925
#3 0xc03836fe in boot (howto=<optimized out>) at
/usr/src/sys/kern/kern_shutdown.c:387
#4 0xc0383967 in panic (fmt=0xc06daaa4 "device_unbusy: called for non-busy
device") at /usr/src/sys/kern/kern_shutdown.c:831
#5 0xc039f82f in device_unbusy (dev=0xc2e85528) at
/usr/src/sys/kern/subr_bus.c:1513
#6 0xc04c79b1 in agp_close (ap=0xcc9569b8) at /usr/src/sys/dev/agp/agp.c:800
#7 0xc0366d17 in dev_dclose (dev=0xcdd3aee0, fflag=6, devtype=8192) at
/usr/src/sys/kern/kern_device.c:168
#8 0xc0545be0 in devfs_spec_close (ap=0xcc9569fc) at
/usr/src/sys/vfs/devfs/devfs_vnops.c:1081
#9 0xc03fb381 in vop_close (ops=0xd08c4be0, vp=0xd087f7b8, fflag=6) at
/usr/src/sys/kern/vfs_vopops.c:310
#10 0xc03ead71 in vclean_vxlocked (vp=0xd087f7b8, flags=<optimized out>) at
/usr/src/sys/kern/vfs_subr.c:1216
#11 0xc03eaf63 in vgone_vxlocked (vp=0xd087f7b8) at
/usr/src/sys/kern/vfs_subr.c:1424
#12 0xc03edc8d in vflush_scan (mp=0xd08ae660, vp=0xd087f7b8, data=0xcc956b90)
at /usr/src/sys/kern/vfs_mount.c:1266
#13 0xc03ede6f in vmntvnodescan (mp=0xd08ae660, flags=<optimized out>,
fastfunc=0, slowfunc=0xc03edbf5 <vflush_scan>, data=0xcc956b90) at
/usr/src/sys/kern/vfs_mount.c:1081
#14 0xc03ee0e6 in vflush (mp=0xd08ae660, rootrefs=0, flags=2) at
/usr/src/sys/kern/vfs_mount.c:1198
#15 0xc0546fc2 in devfs_vfs_unmount (mp=0xd08ae660, mntflags=524288) at
/usr/src/sys/vfs/devfs/devfs_vfsops.c:145
#16 0xc03fbda1 in vfs_unmount (mp=0xd08ae660, mntflags=524288) at
/usr/src/sys/kern/vfs_vfsops.c:137
#17 0xc03f6e00 in dounmount (mp=0xd08ae660, flags=524288) at
/usr/src/sys/kern/vfs_syscalls.c:757
#18 0xc03e9142 in vfs_umountall_callback (mp=0xd08ae660, data=0x0) at
/usr/src/sys/kern/vfs_subr.c:1801
#19 0xc03ee4fa in mountlist_scan (callback=0xc03e9123
<vfs_umountall_callback>, data=0x0, how=<optimized out>) at
/usr/src/sys/kern/vfs_mount.c:905
#20 0xc03e860b in vfs_unmountall () at /usr/src/sys/kern/vfs_subr.c:1790
#21 0xc03835d8 in boot (howto=<optimized out>) at
/usr/src/sys/kern/kern_shutdown.c:375
#22 0xc0383c73 in sys_reboot (uap=0xcc956cf0) at
/usr/src/sys/kern/kern_shutdown.c:202
#23 0xc065ebcc in syscall2 (frame=0xcc956d40) at
/usr/src/sys/platform/pc32/i386/trap.c:1328
#24 0xc062dc16 in Xint0x80_syscall () at
/usr/src/sys/platform/pc32/i386/exception.s:878
#25 0x0000001f in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

The dump is in /home/phma/crash on leaf.

History

#1 Updated by alexh about 2 years ago

  • Status changed from New to Feedback

Potentially fixed in ad9779b7172033d90ee85e64e3ab9965e2ed205d.

Please let us know if it pops up again.

Cheers,
Alex

#2 Updated by phma about 2 years ago

I haven't seen it pop up again.

#3 Updated by alexh almost 2 years ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF