Panic during shutdown
Kostik Belousov
kostikbel at gmail.com
Wed Jul 1 19:22:01 UTC 2009
On Wed, Jul 01, 2009 at 11:57:20AM -0500, Greg Rivers wrote:
> I'm running -CURRENT on an Acer One netbook. Every kernel I've built
> since last Sunday panics on shutdown (see below). The panic occurs
> whenever shutdown(8) is executed, even if only to drop to single-user.
> halt(8) does not trigger the panic.
>
> I have a core dump and kernel with debugging symbols available if needed.
...
>
> #0 doadump () at pcpu.h:246
> 246 pcpu.h: No such file or directory.
> in pcpu.h
> (kgdb) #0 doadump () at pcpu.h:246
> #1 0xc04fe634 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:419
> #2 0xc04fe94b in panic (fmt=Variable "fmt" is not available.
> ) at /usr/src/sys/kern/kern_shutdown.c:575
> #3 0xc063262d in swap_release_by_uid (decr=Unhandled dwarf expression
> opcode 0x93
> )
> at /usr/src/sys/vm/swap_pager.c:267
> #4 0xc064a60b in vm_object_destroy (object=0xc4300000)
> at /usr/src/sys/vm/vm_object.c:622
> #5 0xc064cb76 in vm_object_terminate (object=0xc4300000)
> at /usr/src/sys/vm/vm_object.c:715
> #6 0xc064d24c in vm_object_deallocate (object=0xc4300000)
> at /usr/src/sys/vm/vm_object.c:592
I am interested in the output of
p *object
from the frame 6, and the output of
p swap_total
p swap_reserved
all from kgdb.
Also, please describe the load on the machine, and look up what process
exited when the panic happens.
Thanks for the report.
> #7 0xc0644059 in _vm_map_unlock (map=0xc3d2f1d0, file=0x0, line=0)
> at /usr/src/sys/vm/vm_map.c:480
> #8 0xc0644586 in vm_map_remove (map=0xc3d2f1d0, start=0, end=Variable
> "end" is not available.
> )
> at /usr/src/sys/vm/vm_map.c:2765
> #9 0xc0647548 in vmspace_exit (td=0xc417bd80) at
> /usr/src/sys/vm/vm_map.c:329
> #10 0xc04d3c1c in exit1 (td=0xc417bd80, rv=0)
> at /usr/src/sys/kern/kern_exit.c:299
> #11 0xc04d4c10 in sys_exit (td=Could not find the frame base for "sys_exit".
> ) at /usr/src/sys/kern/kern_exit.c:110
> #12 0xc068d2ee in syscall (frame=0xe649dd38)
> at /usr/src/sys/i386/i386/trap.c:1073
> #13 0xc0672790 in Xint0x80_syscall ()
> at /usr/src/sys/i386/i386/exception.s:261
> #14 0x00000033 in ?? ()
> Previous frame inner to this frame (corrupt stack?)
> (kgdb)
>
> [snip]
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20090701/590ec501/attachment.pgp
More information about the freebsd-current
mailing list