From owner-freebsd-current@FreeBSD.ORG Tue Sep 15 11:14:39 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 2545C1065693 for ; Tue, 15 Sep 2009 11:14:39 +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 AA56D8FC15 for ; Tue, 15 Sep 2009 11:14:38 +0000 (UTC) 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 n8FBEWmu059686 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Sep 2009 14:14:33 +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 n8FBEWw4026930; Tue, 15 Sep 2009 14:14:32 +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 n8FBEWSk026929; Tue, 15 Sep 2009 14:14:32 +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: Tue, 15 Sep 2009 14:14:31 +0300 From: Kostik Belousov To: Mel Flynn Message-ID: <20090915111431.GD47688@deviant.kiev.zoral.com.ua> References: <200909142024.49226.mel.flynn+fbsd.current@mailing.thruhere.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OmEpep6L+R/25PJj" Content-Disposition: inline In-Reply-To: <200909142024.49226.mel.flynn+fbsd.current@mailing.thruhere.net> 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 in kern_access 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: Tue, 15 Sep 2009 11:14:39 -0000 --OmEpep6L+R/25PJj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 14, 2009 at 08:24:49PM +0200, Mel Flynn wrote: > Hi, >=20 > below some crash info. However, since kib@ made some fixes that seem > to relate to this, I shall rebuild my kernel with new sources. No my fixes were related to the issue, AFAIR. >=20 > At the time I was building various ports in a jail and asleep, so no othe= r=20 > contributing factors. >=20 > panic: free: address 0xc62e0e00(0xc62e0000) has not been allocated. >=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 0xc0642b57 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c= :416 > #2 0xc0642e49 in panic (fmt=3DVariable "fmt" is not available. > ) at /usr/src/sys/kern/kern_shutdown.c:579 > #3 0xc062fcfe in free (addr=3D0x0, mtp=3D0xc091c330) > at /usr/src/sys/kern/kern_malloc.c:444 > #4 0xc063b018 in crfree (cr=3D0xc795ea80) at /usr/src/sys/kern/kern_prot= .c:1840 I want to see the output of p/x cr and p/x cr->cr_groups from the frame 4. > #5 0xc06d1ea2 in kern_accessat (td=3D0xcd5ea6c0, fd=3D-100, > path=3D0x2808d000
, > pathseg=3DUIO_USERSPACE, flags=3D0, mode=3D0) > at /usr/src/sys/kern/vfs_syscalls.c:2145 > #6 0xc06d1f56 in kern_access (td=3D0xcd5ea6c0, > path=3D0x2808d000
, > pathseg=3DUIO_USERSPACE, mode=3D0) at /usr/src/sys/kern/vfs_syscalls.= c:2104 > #7 0xc06d1f89 in access (td=3D0xcd5ea6c0, uap=3D0xf9129cf8) > at /usr/src/sys/kern/vfs_syscalls.c:2079 > #8 0xc086fff5 in syscall (frame=3D0xf9129d38) > at /usr/src/sys/i386/i386/trap.c:1073 > #9 0xc0853a50 in Xint0x80_syscall () > at /usr/src/sys/i386/i386/exception.s:261 > #10 0x00000033 in ?? () > Previous frame inner to this frame (corrupt stack?) >=20 > 8.0-BETA4 FreeBSD 8.0-BETA4 #14 r196875M. vmcore available if needed and = I can=20 > rollback sources to r196875 for proper source refs, in case r197041 does = not=20 > address this crash. It does not. --OmEpep6L+R/25PJj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkqvdxcACgkQC3+MBN1Mb4jDqQCgkbR5YBEw5sqoWFl2GNZTNj+P oZEAoNhCEto/dgAi/s40V01YJL1iZiKR =FGdx -----END PGP SIGNATURE----- --OmEpep6L+R/25PJj--