From owner-freebsd-current@FreeBSD.ORG Mon Aug 30 18:41:08 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 A8B5D16A4D0 for ; Mon, 30 Aug 2004 18:41:08 +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 31D4543D58 for ; Mon, 30 Aug 2004 18:41:08 +0000 (GMT) (envelope-from marcus@marcuscom.com) Received: from [10.2.1.4] (vpn-client-4.marcuscom.com [10.2.1.4]) i7UId6ef012605; Mon, 30 Aug 2004 14:39:06 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Doug White In-Reply-To: <20040830113344.Y85743@carver.gumbysoft.com> References: <1093831099.61516.30.camel@shumai.marcuscom.com> <20040830113344.Y85743@carver.gumbysoft.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-VnFw5hFliJsimTt/8FuV" Organization: MarcusCom, Inc. Message-Id: <1093891285.722.57.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 30 Aug 2004 14:41:25 -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: current@freebsd.org Subject: Re: Panic on 6.0 building ports 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: Mon, 30 Aug 2004 18:41:08 -0000 --=-VnFw5hFliJsimTt/8FuV Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2004-08-30 at 14:35, Doug White wrote: > On Sun, 29 Aug 2004, Joe Marcus Clarke wrote: >=20 > > On my Tinderbox machine (similar in operation to pointyhat), I was > > building packages for 4.10-RELEASE and 5.2.1-RELEASE, and the machine > > panicked. This is a single-CPU Pentium 4 with 2 GB of RAM. The drive > > being used for builds is a Maxtor SATA drive connected to a Promise SAT= A > > controller. >=20 > I'm guessing you didn't get a crashdump. Can you try loading up your > kernel.debug with kgdb and get line numbers for the first few lines in th= e > trace? l *vfs_vmio_release+0x1b should work. Sorry, I thought I had included that. The result was a little funny.=20 It said that the address pointed to vfs_vmio_release in atomic.h line 154. I tried to ``panic'' the system to get the core dump (I have dumps configured), but it locked up, and not even a ``continue'' would work.=20 Since then, I'm on a slightly newer kernel, and so far, no crash. If it dies again, I'll send more details, and hopefully get a core dump.=20 Thanks for the follow up. Joe >=20 > > > > Here is the manually transcribed panic and trace: > > > > 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) > > > > vfs_vmio_release(dc1fee68) at vfs_vmio_release+0x1b > > getnewbuf(0,0,4000,4000,1c000) at getnewbuf+0x2b6 > > getblk(c8103210,7,0,4000,0) at getblk+0x400 > > cluster_read(c8103210,7,0,4000,0) at cluster_read+0xde > > ffs_read(f5f30c14) at ffs_read+0x25e > > vm_read(c3834e58,f5f30c88,c484f880,0,c5877160) at vn_read+0x178 > > dofileread(c5877160,c3834e58,7,814f000,2f2ed) at dofileread+0x95 > > read(c5877160,f5f30d14,3,4,293) at read+0x3b > > syscall(2f,2f,2f,814f000,2f2ed) at syscall+0x287 > > Xint0x80_syscall() at Xint0x80_syscall+0x1f > > --- syscall (3, FreeBSD ELF32, read) eip =3D 0x8064924, esp =3D 0xbfbfd= 394, ebp =3D 0xbfbfd3c0 --- > > > > The machine is running: > > > > FreeBSD fugu.marcuscom.com 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Sun Aug > > 29 01:02:18 EDT 2004 > > root@new-fugu.marcuscom.com:/space2/obj/usr/src/sys/FUGU i386 > > > > Joe > > > > --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-VnFw5hFliJsimTt/8FuV Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQBBM3TVb2iPiv4Uz4cRAptJAKCOKrj2IKYHc+wsbKHNwkM5JrjBXQCfSQUJ GcZ42LXKhrLU7qHjBbI3Eew= =yZqr -----END PGP SIGNATURE----- --=-VnFw5hFliJsimTt/8FuV--