From owner-freebsd-current@FreeBSD.ORG Thu Jul 7 11:58:11 2005 Return-Path: X-Original-To: freebsd-current@FreeBSD.org 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 D7B5416A433 for ; Thu, 7 Jul 2005 11:58:10 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from mail21.sea5.speakeasy.net (mail21.sea5.speakeasy.net [69.17.117.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7787543D53 for ; Thu, 7 Jul 2005 11:58:10 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 24360 invoked from network); 7 Jul 2005 11:58:10 -0000 Received: from server.baldwin.cx ([216.27.160.63]) (envelope-sender ) by mail21.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 7 Jul 2005 11:58:08 -0000 Received: from zion.baldwin.cx (zion.baldwin.cx [192.168.0.7]) (authenticated bits=0) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id j67BvqeC007173; Thu, 7 Jul 2005 07:57:57 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: Mike Tancsa Date: Thu, 7 Jul 2005 07:57:44 -0400 User-Agent: KMail/1.8 References: <70e8236f05070208212e36c375@mail.gmail.com> <200507061511.34374.jhb@FreeBSD.org> <6.2.1.2.0.20050706214457.034b02d0@64.7.153.2> In-Reply-To: <6.2.1.2.0.20050706214457.034b02d0@64.7.153.2> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200507070757.45521.jhb@FreeBSD.org> X-Spam-Status: No, score=-2.8 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.baldwin.cx Cc: freebsd-current@FreeBSD.org Subject: Re: 6.0-CURRENT SNAP004 hangs on amr X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 07 Jul 2005 11:58:11 -0000 On Wednesday 06 July 2005 09:51 pm, Mike Tancsa wrote: > At 03:11 PM 06/07/2005, John Baldwin wrote: > >On Wednesday 06 July 2005 01:58 pm, Mike Tancsa wrote: > > > At 01:36 PM 06/07/2005, John Baldwin wrote: > > > >1) Does it work if you disable APIC? > > > > > > Its a 4way box, do I not need APIC for SMP operation ? I will compile > > > up a kernel and see what happens. > > > >Yes, but I need to know what works. No need to compile a new kernel, ju= st > >set > >hint.apic.0.disabled=3D1 from the loader to disable APIC support. > > hint.apic.0.disabled=3D1 > > On RELENG_5 and CURRENT it panics with and without acpi > > > Type '?' for a list of commands, 'help' for more detailed help. > OK unload > OK set hint.apic.0.disabled=3D1 > OK load /boot/kernel/kernel > /boot/kernel/kernel text=3D0x37bd78 data=3D0x62a80+0x366c0 > syms=3D[0x4+0x4a650+0x4+0x5c4cb] > OK boot > Copyright (c) 1992-2005 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD 5.4-STABLE #0: Thu Jun 30 19:15:07 EDT 2005 > mdtancsa@hippo.sentex.ca:/usr/obj/usr/src/sys/hippo > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Pentium III/Pentium III Xeon/Celeron (500.02-MHz 686-class CPU) > Origin =3D "GenuineIntel" Id =3D 0x672 Stepping =3D 2 > =20 > Features=3D0x383fbff,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory =3D 2147475456 (2047 MB) > avail memory =3D 2096033792 (1998 MB) > npx0: on motherboard > npx0: INT 16 interface > cpu0 on motherboard > pcib0: pcibus 0 on motherboard > pir0: on motherboard > pci0: on pcib0 > isab0: at device 2.0 on pci0 > isa0: on isab0 > atapci0: port > 0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 2.1 on pci0 > ata0: channel #0 on atapci0 > ata1: channel #1 on atapci0 > pci0: at device 2.2 (no driver attached) > piix0: port 0x850-0x85f at device 2.3 on pci0 > Timecounter "PIIX" frequency 3579545 Hz quality 0 > pci0: at device 4.0 (no driver attached) > pcib1: pcibus 1 on motherboard > pci1: on pcib1 > pcib2: pcibus 2 on motherboard > pci2: on pcib2 > em0: port > 0xecc0-0xecff mem 0xfeb00000-0xfeb1ffff,0xfeb2 > em0: Hardware Initialization Failedem0: Unable to initialize the hardware > device_attach: em0 attach returned 5 > pcib3: at device 7.0 on pci2 > pci3: on pcib3 > kernel trap 12 with interrupts disabled > > > Fatal trap 12: page fault while in kernel mode > cpuid =3D 0; apic id =3D 00 > fault virtual address =3D 0xba9f > fault code =3D supervisor read, page not present > instruction pointer =3D 0x8:0xc00fd141 > stack pointer =3D 0x10:0xc0c2094c > frame pointer =3D 0x10:0xc0c209b8 > code segment =3D base 0x0, limit 0xfffff, type 0x1b > =3D DPL 0, pres 1, def32 1, gran 1 > processor eflags =3D resume, IOPL =3D 0 > current process =3D 0 (swapper) > trap number =3D 12 > panic: page fault > cpuid =3D 0 > Uptime: 1s > Automatic reboot in 15 seconds - press a key on the console to abort > Rebooting... Odd, the segment registers aren't right for a BIOS call here, but the %eip = is=20 in the BIOS. A trace would be very helpful in this case. > Type '?' for a list of commands, 'help' for more detailed help. > OK unload > OK set hint.apic.0.disabled=3D1 > OK load /boot/mike/kernel > /boot/mike/kernel text=3D0x1fbfc0 data=3D0x2acd0+0x77394 > syms=3D[0x4+0x320a0+0x4+0x3eb23] > OK boot > ACPI autoload failed - no such file or directory > GDB: no debug ports present > KDB: debugger backends: ddb > KDB: current backend: ddb > Copyright (c) 1992-2005 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD 6.0-CURRENT #1: Wed Jul 6 11:48:02 EDT 2005 > mdtancsa@freebsd-current.sentex.ca:/usr/src/sys/i386/compile/mike > WARNING: WITNESS option enabled, expect reduced performance. > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Pentium III/Pentium III Xeon/Celeron (500.02-MHz 686-class CPU) > Origin =3D "GenuineIntel" Id =3D 0x672 Stepping =3D 2 > =20 > Features=3D0x383fbff,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory =3D 2147475456 (2047 MB) > avail memory =3D 2100977664 (2003 MB) > npx0: [FAST] > npx0: on motherboard > npx0: INT 16 interface > cpu0 on motherboard > pcib0: pcibus 0 on motherboard > pir0: on motherboard > pci0: on pcib0 > isab0: at device 2.0 on pci0 > isa0: on isab0 > pci0: at device 2.1 (no driver attached) > pci0: at device 2.2 (no driver attached) > piix0: port 0x850-0x85f at device 2.3 on pci0 > Timecounter "PIIX" frequency 3579545 Hz quality 0 > pci0: at device 4.0 (no driver attached) > pcib1: pcibus 1 on motherboard > pci1: on pcib1 > pcib2: pcibus 2 on motherboard > pci2: on pcib2 > pci2: at device 3.0 (no driver attached) > pcib3: at device 7.0 on pci2 > pci3: on pcib3 > kernel trap 12 with interrupts disabled > > > Fatal trap 12: page fault while in kernel mode > cpuid =3D 0; apic id =3D 00 > fault virtual address =3D 0xba9f > fault code =3D supervisor read, page not present > instruction pointer =3D 0x20:0xc00fd141 > stack pointer =3D 0x28:0xc0820a30 > frame pointer =3D 0x28:0xc0820a9c > code segment =3D base 0x0, limit 0xfffff, type 0x1b > =3D DPL 0, pres 1, def32 1, gran 1 > processor eflags =3D resume, IOPL =3D 0 > current process =3D 0 (swapper) > [thread pid 0 tid 0 ] > Stopped at 0xc00fd141: cmpb %cs:0xba9f,%bh > db> Both of these panics are with ACPI disabled and happen in the BIOS. This o= ne=20 also has the kernel selectors. In this case, the BIOS is probably expectin= g=20 a %cs selector with a base of 0xf000. Having a trace might be very, very=20 helpful here. =2D-=20 John Baldwin =A0<>< =A0http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" =A0=3D =A0http://www.FreeBSD.org