Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jul 2009 22:21:54 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Greg Rivers <gcr+freebsd-current@tharned.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Panic during shutdown
Message-ID:  <20090701192154.GW2884@deviant.kiev.zoral.com.ua>
In-Reply-To: <alpine.BSF.2.00.0907011139490.75481@roadkill.tharned.org>
References:  <alpine.BSF.2.00.0907011139490.75481@roadkill.tharned.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--MmX58n9T22ba0WwG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=20
> since last Sunday panics on shutdown (see below).  The panic occurs=20
> whenever shutdown(8) is executed, even if only to drop to single-user.=20
> halt(8) does not trigger the panic.
>=20
> I have a core dump and kernel with debugging symbols available if needed.
=2E..

>=20
> #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=3D260) at /usr/src/sys/kern/kern_shutdown.c=
:419
> #2  0xc04fe94b in panic (fmt=3DVariable "fmt" is not available.
> ) at /usr/src/sys/kern/kern_shutdown.c:575
> #3  0xc063262d in swap_release_by_uid (decr=3DUnhandled dwarf expression=
=20
> opcode 0x93
> )
>     at /usr/src/sys/vm/swap_pager.c:267
> #4  0xc064a60b in vm_object_destroy (object=3D0xc4300000)
>     at /usr/src/sys/vm/vm_object.c:622
> #5  0xc064cb76 in vm_object_terminate (object=3D0xc4300000)
>     at /usr/src/sys/vm/vm_object.c:715
> #6  0xc064d24c in vm_object_deallocate (object=3D0xc4300000)
>     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=3D0xc3d2f1d0, file=3D0x0, line=3D0)
>     at /usr/src/sys/vm/vm_map.c:480
> #8  0xc0644586 in vm_map_remove (map=3D0xc3d2f1d0, start=3D0, end=3DVaria=
ble=20
> "end" is not available.
> )
>     at /usr/src/sys/vm/vm_map.c:2765
> #9  0xc0647548 in vmspace_exit (td=3D0xc417bd80) at=20
> /usr/src/sys/vm/vm_map.c:329
> #10 0xc04d3c1c in exit1 (td=3D0xc417bd80, rv=3D0)
>     at /usr/src/sys/kern/kern_exit.c:299
> #11 0xc04d4c10 in sys_exit (td=3DCould not find the frame base for "sys_e=
xit".
> ) at /usr/src/sys/kern/kern_exit.c:110
> #12 0xc068d2ee in syscall (frame=3D0xe649dd38)
>     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)
>=20
> [snip]
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

--MmX58n9T22ba0WwG
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEARECAAYFAkpLt1IACgkQC3+MBN1Mb4hYpQCgytDDZK4ekQAQ32HeECsQ1SPe
3XYAoMxVGUnr8KX9xf/dSecy1+GEd7f6
=1xlv
-----END PGP SIGNATURE-----

--MmX58n9T22ba0WwG--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090701192154.GW2884>