Date: Thu, 7 Jul 2005 07:57:44 -0400 From: John Baldwin <jhb@FreeBSD.org> To: Mike Tancsa <mike@sentex.net> Cc: freebsd-current@FreeBSD.org Subject: Re: 6.0-CURRENT SNAP004 hangs on amr Message-ID: <200507070757.45521.jhb@FreeBSD.org> In-Reply-To: <6.2.1.2.0.20050706214457.034b02d0@64.7.153.2> References: <70e8236f05070208212e36c375@mail.gmail.com> <200507061511.34374.jhb@FreeBSD.org> <6.2.1.2.0.20050706214457.034b02d0@64.7.153.2>
next in thread | previous in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE= ,MCA >,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory =3D 2147475456 (2047 MB) > avail memory =3D 2096033792 (1998 MB) > npx0: <math processor> on motherboard > npx0: INT 16 interface > cpu0 on motherboard > pcib0: <Intel 82454NX PXB#0, Bus#A> pcibus 0 on motherboard > pir0: <PCI Interrupt Routing Table: 11 Entries> on motherboard > pci0: <PCI bus> on pcib0 > isab0: <PCI-ISA bridge> at device 2.0 on pci0 > isa0: <ISA bus> on isab0 > atapci0: <Intel PIIX4 UDMA33 controller> port > 0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 2.1 on pci0 > ata0: channel #0 on atapci0 > ata1: channel #1 on atapci0 > pci0: <serial bus, USB> at device 2.2 (no driver attached) > piix0: <PIIX Timecounter> port 0x850-0x85f at device 2.3 on pci0 > Timecounter "PIIX" frequency 3579545 Hz quality 0 > pci0: <display, VGA> at device 4.0 (no driver attached) > pcib1: <Intel 82454NX PXB#0, Bus#B> pcibus 1 on motherboard > pci1: <PCI bus> on pcib1 > pcib2: <Intel 82454NX PXB#1, Bus#A> pcibus 2 on motherboard > pci2: <PCI bus> on pcib2 > em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> port > 0xecc0-0xecff mem 0xfeb00000-0xfeb1ffff,0xfeb2 > em0: Hardware Initialization Failedem0: Unable to initialize the hardware > device_attach: em0 attach returned 5 > pcib3: <PCI-PCI bridge> at device 7.0 on pci2 > pci3: <PCI bus> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE= ,MCA >,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory =3D 2147475456 (2047 MB) > avail memory =3D 2100977664 (2003 MB) > npx0: [FAST] > npx0: <math processor> on motherboard > npx0: INT 16 interface > cpu0 on motherboard > pcib0: <Intel 82454NX PXB#0, Bus#A> pcibus 0 on motherboard > pir0: <PCI Interrupt Routing Table: 11 Entries> on motherboard > pci0: <PCI bus> on pcib0 > isab0: <PCI-ISA bridge> at device 2.0 on pci0 > isa0: <ISA bus> on isab0 > pci0: <mass storage, ATA> at device 2.1 (no driver attached) > pci0: <serial bus, USB> at device 2.2 (no driver attached) > piix0: <PIIX Timecounter> port 0x850-0x85f at device 2.3 on pci0 > Timecounter "PIIX" frequency 3579545 Hz quality 0 > pci0: <display, VGA> at device 4.0 (no driver attached) > pcib1: <Intel 82454NX PXB#0, Bus#B> pcibus 1 on motherboard > pci1: <PCI bus> on pcib1 > pcib2: <Intel 82454NX PXB#1, Bus#A> pcibus 2 on motherboard > pci2: <PCI bus> on pcib2 > pci2: <network, ethernet> at device 3.0 (no driver attached) > pcib3: <PCI-PCI bridge> at device 7.0 on pci2 > pci3: <PCI bus> 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 <jhb@FreeBSD.org> =A0<>< =A0http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" =A0=3D =A0http://www.FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507070757.45521.jhb>