From owner-freebsd-stable@FreeBSD.ORG Mon Mar 5 19:20:41 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 70D9B16A405 for ; Mon, 5 Mar 2007 19:20:41 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay01.kiev.sovam.com (relay01.kiev.sovam.com [62.64.120.200]) by mx1.freebsd.org (Postfix) with ESMTP id 0266313C4A3 for ; Mon, 5 Mar 2007 19:20:40 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [212.82.216.227] (helo=fw.zoral.com.ua) by relay01.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.60) (envelope-from ) id 1HOIjd-0009hM-2a for freebsd-stable@freebsd.org; Mon, 05 Mar 2007 21:20:39 +0200 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by fw.zoral.com.ua (8.13.4/8.13.4) with ESMTP id l25JKF6n083491 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 5 Mar 2007 21:20:15 +0200 (EET) (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.13.8/8.13.8) with ESMTP id l25JKF99013315; Mon, 5 Mar 2007 21:20:15 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.13.8/8.13.8/Submit) id l25JKF9s013314; Mon, 5 Mar 2007 21:20:15 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 5 Mar 2007 21:20:15 +0200 From: Kostik Belousov To: Gavin Atkinson Message-ID: <20070305192015.GL10453@deviant.kiev.zoral.com.ua> References: <45EBCF4C.9000901@plosh.net> <20070305100237.GI10453@deviant.kiev.zoral.com.ua> <20070305182522.P21692@ury.york.ac.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="QxIEt88oQPsT6QmF" Content-Disposition: inline In-Reply-To: <20070305182522.P21692@ury.york.ac.uk> User-Agent: Mutt/1.4.2.2i X-Virus-Scanned: ClamAV version 0.88.7, clamav-milter version 0.88.7 on fw.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-0.1 required=5.0 tests=ALL_TRUSTED,SPF_NEUTRAL autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on fw.zoral.com.ua X-Scanner-Signature: b565934a9b6505813531773f2f5625c7 X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 837 [Mar 05 2007] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {received from trusted relay: not dialup} X-SpamTest-Method: none X-SpamTest-Method: Local Lists X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release Cc: Peter Losher , freebsd-stable@freebsd.org Subject: Re: 'panic: bad pte' error on 6.2-RELEASE (amd64) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 19:20:41 -0000 --QxIEt88oQPsT6QmF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 05, 2007 at 06:28:30PM +0000, Gavin Atkinson wrote: > On Mon, 5 Mar 2007, Kostik Belousov wrote: >=20 > >On Mon, Mar 05, 2007 at 12:05:32AM -0800, Peter Losher wrote: > >>We recently updated one of our dual Opteron systems (w/ 4GB RAM) from > >>5.5 to 6.2 (amd64 wipe and reinstalled) and about once a week, it panics > >>with the below message: > >> > >>-=3D- > >>TPTE at 0xffff8000040028a0 IS ZERO @ VA 800514000 > >>panic: bad pte > >>cpuid =3D 2 > >>KDB: stack backtrace: > >>panic() at 0xffffffff803fdd03 =3D panic+0x253 > >>pmap_remove_pages() at 0xffffffff806072a3 =3D pmap_remove_pages+0x283 > >>exec_new_vmspace() at 0xffffffff803e18e6 =3D exec_new_vmspace+0x216 > >>exec_elf64_imgact() at 0xffffffff803cbb73 =3D exec_elf64_imgact+0x273 > >>kern_execve() at 0xffffffff803e2107 =3D kern_execve+0x457 > >>execve() at 0xffffffff803e2bed =3D execve+0x5d > >>syscall() at 0xffffffff8060d141 =3D syscall+0x4d1 > >>Xfast_syscall() at 0xffffffff805f8128 =3D Xfast_syscall+0xa8 > >>--- syscall (59, FreeBSD ELF64, execve), rip =3D 0x80069838c, rsp =3D > >>0x7fffffffe7c8, rbp =3D 0x7fffffffecd0 --- > >>Uptime: 4d16h55m46s > >>-=3D- > >> > >>I do have a dump, and can make that available if need be. Has anyone > >>encountered this recently and can shed any light on what might be > >>causing this? > > > >Did rev. 1.516.2.9 of sys/amd64/amd64/pmap.c changed (or even fixed) the > >problem ? (This is the same patch I already sent you). >=20 > Do you know if this patch is likely to fix the other "bad pte" panics tha= t=20 > have been seen (usually during process exit())? e.g. >=20 > http://docs.freebsd.org/cgi/mid.cgi?1148482556.35287.18.camel > http://lists.freebsd.org/pipermail/freebsd-current/2004-August/034909.html Yes, the problem there seems to be fixed by Tor' commit into the i386/pmap.c at the 2006/02/16. My commit is MFi386 of the fix to the amd64. > I have a couple of amd64 machines I'm reluctant to make live until this i= s=20 > sorted... I'll cvsup in the next day or two to see, although it wasn't= =20 > consistantly reproduceable. I am interested in testing results. --QxIEt88oQPsT6QmF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF7G1uC3+MBN1Mb4gRAgk4AKCKcxq22dasjej4bnzdCodwv0L1JQCeIPoJ aji59nYt++5hjT4YFomDx+M= =e+/8 -----END PGP SIGNATURE----- --QxIEt88oQPsT6QmF--