From owner-freebsd-current@FreeBSD.ORG Tue Nov 11 10:36:12 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 51E4716A4CE; Tue, 11 Nov 2003 10:36:12 -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 7082643FE3; Tue, 11 Nov 2003 10:36:09 -0800 (PST) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: from zibbi.icomtek.csir.co.za (localhost [IPv6:::1]) hABIa4NJ093473; Tue, 11 Nov 2003 20:36:04 +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 hABIa327093470; Tue, 11 Nov 2003 20:36:03 +0200 (SAST) (envelope-from jhay) Date: Tue, 11 Nov 2003 20:36:03 +0200 From: John Hay To: John Baldwin Message-ID: <20031111183603.GA92144@zibbi.icomtek.csir.co.za> References: <20031111040959.GA66054@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 18:36:12 -0000 > >> > 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. This is with the printf added. ############### 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 mptable_pci_probe_table: pci0 0, bus 1 panic: probing for non-PCI bus cpuid = 0; Debugger("panic") Stopped at Debugger+0x55: xchgl %ebx,in_Debugger.0 db> ############### I tried without acpi and it panic in the same way. I see that this time the printf happened twice: ###################### 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 = 125026304 (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 npx0: [FAST] npx0: on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 Using $PIR table, 7 entries at 0xc00f0d20 mptable_pci_probe_table: pci0 0, bus 0 pcib0: at pcibus 0 on motherboard pci0: on pcib0 pcib0: slot 4 INTD routed to irq 19 pcib0: slot 6 INTA routed to irq 19 pcib0: slot 10 INTA routed to irq 18 pcib0: slot 11 INTA routed to irq 17 pcib0: slot 12 INTA routed to irq 16 mptable_pci_probe_table: pci0 0, bus 1 panic: probing for non-PCI bus cpuid = 0; Debugger("panic") Stopped at Debugger+0x55: xchgl %ebx,in_Debugger.0 db> ###################### John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org /* RSD PTR: OEM=ASUS, ACPI_Rev=1.0x (0) RSDT=0x07ffd000, cksum=143 */ /* RSDT: Length=44, Revision=1, Checksum=160, OEMID=ASUS, OEM Table ID=P2L97-DS, OEM Revision=0x58582e31, Creator ID=ASUS, Creator Revision=0x31303030 Entries={ 0x07ffd080, 0x07ffd040 } */ /* FADT: FACS=0x7fff000, DSDT=0x7ffd100 INT_MODEL=PIC Preferred_PM_Profile=Unspecified (0) SCI_INT=9 SMI_CMD=0xb2, ACPI_ENABLE=0xa1, ACPI_DISABLE=0xa0, S4BIOS_REQ=0x0 PSTATE_CNT=0x0 PM1a_EVT_BLK=0xe400-0xe403 PM1a_CNT_BLK=0xe404-0xe405 PM_TMR_BLK=0xe408-0xe40b GPE0_BLK=0xe40c-0xe40f P_LVL2_LAT=90 us, P_LVL3_LAT=900 us FLUSH_SIZE=0, FLUSH_STRIDE=0 DUTY_OFFSET=1, DUTY_WIDTH=0 DAY_ALRM=13, MON_ALRM=0, CENTURY=0 IAPC_BOOT_ARCH= Flags={WBINVD,PROC_C1,SLP_BUTTON,RTC_S4} */ /* FACS: Length=64, HwSig=0x00000000, Firm_Wake_Vec=0x00000000 Global_Lock= Flags= Version=0 */ /* DSDT: Length=6911, Revision=1, Checksum=83, OEMID=ASUS, OEM Table ID=P2L97-DS, OEM Revision=0x1000, Creator ID=MSFT, Creator Revision=0x1000001 */ /* BOOT: Length=40, Revision=1, Checksum=211, OEMID=ASUS, OEM Table ID=P2L97-DS, OEM Revision=0x58582e31, Creator ID=ASUS, Creator Revision=0x31303030 */