From owner-freebsd-current@FreeBSD.ORG Wed Sep 8 01:00:51 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1664616A4E4; Wed, 8 Sep 2004 01:00:49 +0000 (GMT) Received: from creme-brulee.marcuscom.com (rrcs-midsouth-24-172-16-118.biz.rr.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4441D43D1F; Wed, 8 Sep 2004 01:00:48 +0000 (GMT) (envelope-from marcus@marcuscom.com) Received: from [10.2.1.239] (vpn-client-239.marcuscom.com [10.2.1.239]) i87KRhNn016338; Tue, 7 Sep 2004 16:27:43 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: John Baldwin In-Reply-To: <200409071442.18490.jhb@FreeBSD.org> References: <1094273843.92485.11.camel@shumai.marcuscom.com> <200409071442.18490.jhb@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-0dfchMWYlQV35Q6NV1NA" Organization: MarcusCom, Inc. Message-Id: <1094588796.745.82.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Tue, 07 Sep 2004 16:28:21 -0400 X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on creme-brulee.marcuscom.com cc: freebsd-current@freebsd.org cc: current@freebsd.org Subject: Re: Kernel panic in 6.0 revisited X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 08 Sep 2004 01:00:51 -0000 --=-0dfchMWYlQV35Q6NV1NA Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2004-09-07 at 14:42, John Baldwin wrote: > On Saturday 04 September 2004 12:57 am, Joe Marcus Clarke wrote: > > A few days ago, I reported a kernel panic in HEAD while building > > packages on my tinderbox machine. I was unable to get a core dump fro > > that crash, and after switching from ULE to 4BSD, I had thought it had > > gone away. > > > > Well, today, the machine panicked twice. It was the same panic both > > times, and the same panic I got a few days ago. This time, however, I > > was able to get a core dump. Here is the panic message: > > > > Fatal trap 12: page fault while in kernel mode > > cpuid =3D 0; apic id =3D 00 > > fault virtual address =3D 0x1c > > fault code =3D supervisor write, page not present > > instruction pointer =3D 0x8:0xc0533d07 > > stack pointer =3D 0x10:0xf5f30a4c > > frame pointer =3D 0x10:0xf5f30a58 > > code segment =3D base 0x0, limit 0xfffff, type 0x1b > > =3D DPL 0, pres 1, def32 1, gran 1 > > processor eflags =3D interrupt enabled, resume, IOPL =3D 0 > > current process =3D 27441 (cpp0) > > Stopped at vfs_vmio_release+0x1b: lock cmpxchgl %ecx,0x1c(%edx) > > > > And here is the output of "l *vfs_vmio_release+0x1b": > > > > 0xc0533d07 is in vfs_vmio_release (atomic.h:154). > > 149 static __inline int > > 150 atomic_cmpset_int(volatile u_int *dst, u_int exp, u_int src) > > 151 { > > 152 int res =3D exp; > > 153 > > 154 __asm __volatile ( > > 155 " " __XSTRING(MPLOCKED) " " > > 156 " cmpxchgl %1,%2 ; " > > 157 " setz %%al ; " > > 158 " movzbl %%al,%0 ; " > > > > Kernel config is at http://www.marcuscom.com/downloads/FUGU.kernel and > > the dmesg output is at http://www.marcuscom.com/downloads/FUGU.dmesg > > > > Let me know if you need anything else. Thanks. >=20 > How about 'l *0xc0533d00' to try and figure out which function is calling= =20 > that. Also, do you have INVARIANTS turned on? Sorry, I needed the system back up, so I rebuilt without the multi-CPU options (SMP and apic) since this is really a single-CPU machine. Thus far, it has not crashed, and it has done _many_ package builds. If it crashes again, I'll be sure to get the additional info. No, I did not have INVARIANTS or WITNESS enabled in the kernel. I still do not. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-0dfchMWYlQV35Q6NV1NA Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBPhl8b2iPiv4Uz4cRAgClAJ9CgPKxQrqU7oKFC7lZsygAabEWdwCfcdo8 PwmsUyVZSvlk6UqSXLHnhNI= =6QS3 -----END PGP SIGNATURE----- --=-0dfchMWYlQV35Q6NV1NA--