From owner-freebsd-current@FreeBSD.ORG Wed Jul 1 19:22:00 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D745F106564A for ; Wed, 1 Jul 2009 19:22:00 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (skuns.zoral.com.ua [91.193.166.194]) by mx1.freebsd.org (Postfix) with ESMTP id 5668E8FC0A for ; Wed, 1 Jul 2009 19:21:59 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id n61JLstS063514 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 1 Jul 2009 22:21:55 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3) with ESMTP id n61JLspG074503; Wed, 1 Jul 2009 22:21:54 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id n61JLsvb074502; Wed, 1 Jul 2009 22:21:54 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 1 Jul 2009 22:21:54 +0300 From: Kostik Belousov To: Greg Rivers Message-ID: <20090701192154.GW2884@deviant.kiev.zoral.com.ua> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MmX58n9T22ba0WwG" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-current@freebsd.org Subject: Re: Panic during shutdown X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2009 19:22:01 -0000 --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--