Re: Panic on 6.0 building ports

From: Doug White <dwhite_at_gumbysoft.com>
Date: Mon, 30 Aug 2004 11:35:09 -0700 (PDT)
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_at_new-fugu.marcuscom.com:/space2/obj/usr/src/sys/FUGU  i386
>
> Joe
>
>

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite_at_gumbysoft.com          |  www.FreeBSD.org
Received on Mon Aug 30 2004 - 16:35:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:09 UTC