Bug #2310

panic: device_unbusy: called for non-busy device

Added by phma over 4 years ago. Updated over 4 years ago.

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


Target version:-


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
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
vgone_vxlocked(d087f7b8,c0c78a00,a000000,cc97127c,cc956ba4) at
vgone_vxlocked+0x50 0xc03eaf63
vflush_scan(d08ae660,d087f7b8,cc956b90,c03fa6e4,cc956b50) at vflush_scan+0x98
vmntvnodescan(d08ae660,2,0,c03edbf5,cc956b90) at vmntvnodescan+0x1af
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
mountlist_scan(c03e9123,0,6,cc956ca4,c03835d8) at mountlist_scan+0x119
vfs_unmountall(c06af5e0,0,c037c5c4,ccad2498,4000) at vfs_unmountall+0x22
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
#2 0xc03830e8 in dumpsys () at /usr/src/sys/kern/kern_shutdown.c:925
#3 0xc03836fe in boot (howto=<optimized out>) at
#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
#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
#8 0xc0545be0 in devfs_spec_close (ap=0xcc9569fc) at
#9 0xc03fb381 in vop_close (ops=0xd08c4be0, vp=0xd087f7b8, fflag=6) at
#10 0xc03ead71 in vclean_vxlocked (vp=0xd087f7b8, flags=<optimized out>) at
#11 0xc03eaf63 in vgone_vxlocked (vp=0xd087f7b8) at
#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
#14 0xc03ee0e6 in vflush (mp=0xd08ae660, rootrefs=0, flags=2) at
#15 0xc0546fc2 in devfs_vfs_unmount (mp=0xd08ae660, mntflags=524288) at
#16 0xc03fbda1 in vfs_unmount (mp=0xd08ae660, mntflags=524288) at
#17 0xc03f6e00 in dounmount (mp=0xd08ae660, flags=524288) at
#18 0xc03e9142 in vfs_umountall_callback (mp=0xd08ae660, data=0x0) at
#19 0xc03ee4fa in mountlist_scan (callback=0xc03e9123
<vfs_umountall_callback>, data=0x0, how=<optimized out>) at
#20 0xc03e860b in vfs_unmountall () at /usr/src/sys/kern/vfs_subr.c:1790
#21 0xc03835d8 in boot (howto=<optimized out>) at
#22 0xc0383c73 in sys_reboot (uap=0xcc956cf0) at
#23 0xc065ebcc in syscall2 (frame=0xcc956d40) at
#24 0xc062dc16 in Xint0x80_syscall () at
#25 0x0000001f in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

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


#1 Updated by alexh over 4 years ago

  • Status changed from New to Feedback

Potentially fixed in ad9779b7172033d90ee85e64e3ab9965e2ed205d.

Please let us know if it pops up again.


#2 Updated by phma over 4 years ago

I haven't seen it pop up again.

#3 Updated by alexh over 4 years ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF