From owner-freebsd-stable Thu Jun 28 18:22: 8 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mikea.ath.cx (okc-65-26-223-53.mmcable.com [65.26.223.53]) by hub.freebsd.org (Postfix) with ESMTP id 5400437B405 for ; Thu, 28 Jun 2001 18:22:04 -0700 (PDT) (envelope-from mikea@mikea.ath.cx) Received: (from mikea@localhost) by mikea.ath.cx (8.11.4/8.11.1) id f5T1M3g73414 for freebsd-stable@FreeBSD.ORG; Thu, 28 Jun 2001 20:22:03 -0500 (CDT) (envelope-from mikea) Date: Thu, 28 Jun 2001 20:22:03 -0500 From: mikea To: freebsd-stable@FreeBSD.ORG Subject: Re: RELENG_4 crashes under SMP Message-ID: <20010628202203.A73316@mikea.ath.cx> References: <20010628155358.M54778-100000@btw.plaintalk.bellevue.wa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i 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 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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