Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Apr 2002 08:56:51 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   RE: page fault in _mtx_lock_flags
Message-ID:  <XFMail.20020429085651.jhb@FreeBSD.org>
In-Reply-To: <Pine.NEB.3.96L.1020428094421.64976J-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 28-Apr-2002 Robert Watson wrote:
> 
> As usual, GENERIC -CURRENT head from last night, from the main tree. 
> Dual-proc SMP box netbooted using PXE.  System usually boots, does a
> buildkernel -j 8 over NFS, then reboots and repeats.  This time it didn't. 
> 
> I actually have two boxes doing this, which does seem to double the rate
> of panics I get.
> 
> APIC_IO: Testing 8254 interrupt delivery
> APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0 intpin
> 2
> APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0
> ad0: 19458MB <ST320420A> [39535/16/63] at ata0-master UDMA33
> acd0: CDROM <MATSHITA CR-176> at ata1-master PIO4
> doSuMnPt:i nAgP  rCoPoUt  #f1r oLma unnfcsh:etsray irq 10
> NFS ROOT: 192.168.50.1:/cboss/devel/nfsroot/crash1.cboss.tislabs.com
> 
> 
> Fatal trap 12: page fault while in kernel mode
> cpuid = 0; lapic.id = 00000000
> fault virtual address   = 0x7974748b

These are ASCII chars, somehow a pointer to a mutex has been overwritten
with a string.

"yyt<some unprintable char>"

> fault code              = supervisor write, page not present
> instruction pointer     = 0x8:0xc02449b6
> stack pointer           = 0x10:0xc93dea14
> frame pointer           = 0x10:0xc93dea20
> 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         = 41 (sh)
> kernel: type 12 trap, code=0
> Stopped at      _mtx_lock_flags+0x42:   lock cmpxchgl   %ecx,0x18(%ebx)
> db> trace
> _mtx_lock_flags(79747473,0,c03cb862,e3) at _mtx_lock_flags+0x42

Same here.  See the first arg which is supposed to be a mutex pointer.

"ytts"

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020429085651.jhb>