From owner-freebsd-current@FreeBSD.ORG Tue Nov 11 12:39:06 2003 Return-Path: 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 17E3216A4CE; Tue, 11 Nov 2003 12:39:06 -0800 (PST) Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D8FE43FBF; Tue, 11 Nov 2003 12:39:03 -0800 (PST) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: from zibbi.icomtek.csir.co.za (localhost [IPv6:::1]) hABKcxNJ097384; Tue, 11 Nov 2003 22:38:59 +0200 (SAST) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.12.9/8.12.9/Submit) id hABKcxgY097383; Tue, 11 Nov 2003 22:38:59 +0200 (SAST) (envelope-from jhay) Date: Tue, 11 Nov 2003 22:38:59 +0200 From: John Hay To: John Baldwin Message-ID: <20031111203859.GA97150@zibbi.icomtek.csir.co.za> References: <20031111183603.GA92144@zibbi.icomtek.csir.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i cc: current@FreeBSD.org Subject: Re: panic: probing for non-PCI bus X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Tue, 11 Nov 2003 20:39:06 -0000 On Tue, Nov 11, 2003 at 03:28:25PM -0500, John Baldwin wrote: > > On 11-Nov-2003 John Hay wrote: > >> >> > Upgrading a Asus P2L97-DS dual Pentium II 266MHz box, I got this panic > >> >> > when booting: > >> >> > > >> >> >############################ > > ... > >> >> > CPU: Pentium II/Pentium II Xeon/Celeron (267.27-MHz 686-class CPU) > >> >> > Origin = "GenuineIntel" Id = 0x633 Stepping = 3 > >> >> > Features=0x80fbff > >> >> > real memory = 134205440 (127 MB) > >> >> > avail memory = 125018112 (119 MB) > >> >> > MPTable: > >> >> > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > >> >> > cpu0 (BSP): APIC ID: 1 > >> >> > cpu1 (AP): APIC ID: 0 > >> >> > ioapic0: Assuming intbase of 0 > >> >> > ioapic0 irqs 0-23 on motherboard > >> >> > Pentium Pro MTRR support enabled > >> >> > acpi0: on motherboard > >> >> > pcibios: BIOS version 2.10 > >> >> > Using $PIR table, 7 entries at 0xc00f0d20 > >> >> > acpi0: Power Button (fixed) > >> >> > Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 > >> >> > acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 > >> >> > acpi_cpu0: on acpi0 > >> >> > pcib0: port 0xcf8-0xcff on acpi0 > >> >> > pci0: on pcib0 > >> >> > pcib0: slot 4 INTD is routed to irq 5 > >> >> > pcib0: slot 6 INTA is routed to irq 5 > >> >> > pcib0: slot 10 INTA is routed to irq 12 > >> >> > pcib0: slot 11 INTA is routed to irq 10 > >> >> > pcib0: slot 12 INTA is routed to irq 11 > >> >> > panic: probing for non-PCI bus > >> >> > cpuid = 0; > >> >> > Uptime: 1s > >> >> > Shutting down ACPI > >> >> > Automatic reboot in 15 seconds - press a key on the console to abort > >> >> > Rebooting... > >> >> >############################ > >> >> > >> >> Can you provide a copy of your mptable? > >> > >> Wait, you have ACPI enabled, but ACPI didn't enumerate your CPUs? Umm, can > >> you provide an acpdump -t from your machine? Also, can you try hacking > >> mptable_pci_probe_table() in mptable.c to print out pci0 and bus at the start > >> of the function? Thanks. > > > > Ok, acpidump -t output at the end. > > Oof, no MADT table. Your BIOS sucks. :-P Don't use ACPI because PCI interrupts > aren't going to work otherwise. Does this system have an AGP slot? Also, do > you have a dmesg from before? Hmmm, I'll have to open it up to see if it has an AGP slot, but it is in the server room at work. :-/ Here is a dmesg with a kernel of about Nov 3. John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org OK unload kernel OK boot kernel.work /boot/kernel.work/kernel text=0x1fc54c data=0x24d6c+0x464b4 syms=[0x4+0x2c720+0x4+0x36d6a] /boot/kernel.work/if_vlan.ko text=0x22b0 data=0x1d8+0x5c syms=[0x4+0x620+0x4+0x573] /boot/kernel.work/if_fxp.ko text=0x7840 data=0x1014+0xc syms=[0x4+0xcb0+0x4+0xdb2] loading required module 'miibus' /boot/kernel.work/miibus.ko text=0x15940 data=0xc84+0x68 syms=[0x4+0x1a90+0x4+0x2240] /boot/kernel.work/usb.ko text=0x2036c data=0xc0c+0x148 syms=[0x4+0x2bf0+0x4+0x331f] /boot/kernel.work/acpi.ko text=0x3b718 data=0x16c4+0xee8 syms=[0x4+0x5b90+0x4+0x7944] Copyright (c) 1992-2003 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.1-CURRENT #49: Mon Nov 3 09:16:49 SAST 2003 jhay@beast.icomtek.csir.co.za:/b/src/sys/i386/compile/BEAST Preloaded elf kernel "/boot/kernel.work/kernel" at 0xc076e000. Preloaded elf module "/boot/kernel.work/if_vlan.ko" at 0xc076e224. Preloaded elf module "/boot/kernel.work/if_fxp.ko" at 0xc076e2d8. Preloaded elf module "/boot/kernel.work/miibus.ko" at 0xc076e388. Preloaded elf module "/boot/kernel.work/usb.ko" at 0xc076e438. Preloaded elf module "/boot/kernel.work/acpi.ko" at 0xc076e4e8. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium II/Pentium II Xeon/Celeron (267.27-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x633 Stepping = 3 Features=0x80fbff real memory = 134205440 (127 MB) avail memory = 125018112 (119 MB) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 7 entries at 0xc00f0d20 acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 acpi_cpu0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 IOAPIC #0 intpin 19 -> irq 2 IOAPIC #0 intpin 18 -> irq 5 IOAPIC #0 intpin 17 -> irq 10 IOAPIC #0 intpin 16 -> irq 11 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 4.0 on pci0 isa0: on isab0 pci0: at device 4.1 (no driver attached) uhci0: port 0xd400-0xd41f irq 2 at device 4.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered Disabled Device 13 trap SMI for access to RTC chip pci0: at device 4.3 (no driver attached) ahc0: port 0xd000-0xd0ff mem 0xe1000000-0xe1000fff irq 2 at device 6.0 on pci0 aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs fxp0: port 0xb800-0xb81f mem 0xe0800000-0xe08fffff,0xe3000000-0xe3000fff irq 5 at device 10.0 on pci0 fxp0: Ethernet address 00:a0:c9:8d:7c:5f miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: [MPSAFE] fxp1: port 0xb400-0xb41f mem 0xe0000000-0xe00fffff,0xe2000000-0xe2000fff irq 10 at device 11.0 on pci0 fxp1: Ethernet address 00:a0:c9:8d:74:dd miibus1: on fxp1 inphy1: on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: [MPSAFE] pci0: at device 12.0 (no driver attached) fdc0: port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A, console sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A atkbdc0: port 0x64,0x60 irq 1 on acpi0 orm0: