From owner-freebsd-current@FreeBSD.ORG Mon Aug 30 18:35:25 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 87B8216A4D5 for ; Mon, 30 Aug 2004 18:35:25 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C11543D58 for ; Mon, 30 Aug 2004 18:35:09 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 4B09272DD4; Mon, 30 Aug 2004 11:35:09 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 45F9072DCB; Mon, 30 Aug 2004 11:35:09 -0700 (PDT) Date: Mon, 30 Aug 2004 11:35:09 -0700 (PDT) From: Doug White To: Joe Marcus Clarke In-Reply-To: <1093831099.61516.30.camel@shumai.marcuscom.com> Message-ID: <20040830113344.Y85743@carver.gumbysoft.com> References: <1093831099.61516.30.camel@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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:35:26 -0000 On Sun, 29 Aug 2004, Joe Marcus Clarke wrote: > 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 SATA > controller. 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 the trace? l *vfs_vmio_release+0x1b should work. > > Here is the manually transcribed panic and trace: > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0x1c > fault code = supervisor write, page not present > instruction pointer = 0x8:0xc0533d07 > stack pointer = 0x10:0xf5f30a4c > frame pointer = 0x10:0xf5f30a58 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 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 = 0x8064924, esp = 0xbfbfd394, ebp = 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 > > -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org