[issue713] shutdown freeze and forced unmounts

Peter Avalos pavalos at theshell.com
Sat Jul 7 13:07:55 PDT 2007


On Sat, Jul 07, 2007 at 12:08:02PM -0700, Matthew Dillon wrote:
> 
> :Peter Avalos <pavalos at theshell.com> added the comment:
> :
> :Now I'm seeing acpi_button messages:
> 
>     Ok, I'm not sure what is going on with the buttons.  But lets try
>     to get some additional information on the forced unmounts.  I don't
>     like the fact that 14 processes seem to be stuck.
> 
>     Lets try to get a good kernel core for this condition.  Here's a patch
>     which will hopefully print out which mount(s) are having problems, and
>     will also panic the system when it hits a mount with more then 12 
>     process references (the idea being to try to get a snapshot of the
>     kernel when its in this situation that can then be kgdb'd).
> 
>     Once you get a good kernel core, remove the panic.
> 

(kgdb) bt
#0  dumpsys () at thread.h:83
#1  0xc0199802 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:371
#2  0xc0199b1f in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:796
#3  0xc01efae4 in dounmount (mp=0xd9f152e0, flags=524288) at /usr/src/sys/kern/vfs_syscalls.c:682
#4  0xc01e80ad in vfs_umountall_callback (mp=0xd9f152e0, data=0x0) at /usr/src/sys/kern/vfs_subr.c:1561
#5  0xc01eb1ba in mountlist_scan (callback=0xc01e808e <vfs_umountall_callback>, data=0x0, how=Variable "how" is not available.
) at /usr/src/sys/kern/vfs_mount.c:815
#6  0xc01e74f5 in vfs_unmountall () at /usr/src/sys/kern/vfs_subr.c:1550
#7  0xc0199662 in boot (howto=Variable "howto" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:359
#8  0xc019993e in sys_reboot (uap=0xe9265cf0) at /usr/src/sys/kern/kern_shutdown.c:189
#9  0xc02e2829 in syscall2 (frame=0xe9265d40) at /usr/src/sys/platform/pc32/i386/trap.c:1340
#10 0xc02ce215 in Xint0x80_syscall () at /usr/src/sys/platform/pc32/i386/exception.s:872
#11 0x08048d5c in ?? ()
#12 0xbfbff8fc in ?? ()
#13 0x0000002f in ?? ()
#14 0x00000000 in ?? ()
#15 0x00000000 in ?? ()
#16 0x00000000 in ?? ()
#17 0x00000000 in ?? ()
#18 0x080f7000 in ?? ()
#19 0xe8cf0a00 in ?? ()
#20 0xff800000 in ?? ()
#21 0xe92659f4 in ?? ()
#22 0xe92659b4 in ?? ()
#23 0xff8003a4 in ?? ()
#24 0xc01a1e72 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:752
Previous frame inner to this frame (corrupt stack?)

Uploading to leaf now.
Attachment:
pgp00006.pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00006.pgp
Type: application/octet-stream
Size: 189 bytes
Desc: "Description: PGP signature"
URL: <http://lists.dragonflybsd.org/pipermail/bugs/attachments/20070707/a3d69c99/attachment-0022.obj>


More information about the Bugs mailing list