Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2001 20:22:03 -0500
From:      mikea <mikea@mikea.ath.cx>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: RELENG_4 crashes under SMP
Message-ID:  <20010628202203.A73316@mikea.ath.cx>
In-Reply-To: <20010628155358.M54778-100000@btw.plaintalk.bellevue.wa.us>; from dennis.glatting@software-munitions.com on Thu, Jun 28, 2001 at 03:55:29PM -0700
References:  <20010628155358.M54778-100000@btw.plaintalk.bellevue.wa.us>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 28, 2001 at 03:55:29PM -0700, Dennis Glatting wrote:
> 
> I CVSup's against RELENG_4 this morning and my SMP box crashes during
> boot:
> 
> 
> Fatal trap 12: page fault while in kernel mode
> mp_lock = 00000003; cpuid = 0; lapic.id = 00000000
> fault virtual address 	= 0x4006
> fault code 		= supervisor read, page not present
> instruction pointer 	= 0x8:0xc0300d0a
> stack pointer 		= 0x10:0xc0458ae0
> frame pointer 		= 0x10:0xc0458b0c
> code segment 		= base 0x0, limit 0xfffff, type 0x1b
> 			= DPL 0, pres 1, def32 1, gran 	1
> 			= Processor flags = interrupt enabled, resume, IOPL = 0
> Current process 	= 0 (swapper)
> Interrupt mask 	= net tty bio cam <- SMP: XXX
> Trap number = 12
> Panic: page fault
> mp_lock = 00000003; cpuid = 0; lapic.id = 00000000
> Uptime: 0s

I had _EXACTLY_ the same problem earlier this week; I got it to
go away by removing from the kernel config file every device not
physically present, and by setting the following options:
options               MAXDSIZ="(512*1024*1024)"
options               DFLDSIZ="(512*1024*1024)"
which is the amount of RAM on my MP system.

My console dump was:

Fatal trap 12: page fault while in kernel mode
mp_lock = 00000003; cpuid = 0; lapic.id = 00000000
fault virtual address 	= 0x4006
fault code 		= supervisor read, page not present
instruction pointer 	= 0x8:0xc0324906
stack pointer 		= 0x10:0xc04d2ae0
frame pointer 		= 0x10:0xc04d2b0c
code segment 		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 	1
			= Processor flags = interrupt enabled, resume, IOPL = 0
Current process 	= 0 (swapper)
Interrupt mask 	= net tty bio cam <- SMP: XXX
Trap number = 12
Panic: page fault
mp_lock = 00000003; cpuid = 0; lapic.id = 00000000
stopped at bcmp+0x16: repe cmpsl		(%esi),%es;(%edi)

Looks an awful lot like yours, it does. 			

The clue that led me to increase MAXDSIZE and DFLDSIZ was that
the last message to the console when I did a `boot -v` was
"isa_compat: didn't get memory for le"; that's also what led me
to comment out all the devices that weren't physically there.

I think that this is a real bug and that it may be time for both
of us to send a PR in.

-- 
Mike Andrews
mikea@mikea.ath.cx
Tired old sysadmin since 1964

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




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