Re: panic: probing for non-PCI bus

2003-11-20 Thread Morten Rodal
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:
I have the exact same motherboard, only I run with dual Pentium II 300MHz.

However I run a beta bios (to support ata disks larger than 32GB) that I 
got from Asus many years ago.

I am using this system as my workstation at home, and it does have an 
AGP slot (with an nvidia card in).  ACPI has worked before, and it still 
does except is fires off about 4 interrupts (on IRQ20).

However I'll have to wait until I get home to provide acpidumps and 
mptables when I get home.

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?
If I remember correctly I do not have a MADT table either, but ACPI did 
find the CPUs.  We/I'll know more when I get home.

--
Morten Rodal
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: panic: probing for non-PCI bus

2003-11-20 Thread John Baldwin

On 20-Nov-2003 Morten Rodal wrote:
 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:

 
 I have the exact same motherboard, only I run with dual Pentium II 300MHz.
 
 However I run a beta bios (to support ata disks larger than 32GB) that I 
 got from Asus many years ago.
 
 I am using this system as my workstation at home, and it does have an 
 AGP slot (with an nvidia card in).  ACPI has worked before, and it still 
 does except is fires off about 4 interrupts (on IRQ20).
 
 However I'll have to wait until I get home to provide acpidumps and 
 mptables when I get home.
 
 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?
 
 
 If I remember correctly I do not have a MADT table either, but ACPI did 
 find the CPUs.  We/I'll know more when I get home.

acpu_cpu is not the same thing as CPUs listed in the MADT.  If
there is no MADT, then FreeBSD won't find any APICs and won't be
able to trust ACPI PCI interrupt routing.  In fact, ACPI will still
be trying to route interrupts to the ATPICS, and not to the APICs if
the MADT isn't found and used.

-- 

John Baldwin [EMAIL PROTECTED]http://www.FreeBSD.org/~jhb/
Power Users Use the Power to Serve!  -  http://www.FreeBSD.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: panic: probing for non-PCI bus

2003-11-20 Thread Morten Rodal
John Baldwin wrote:
acpu_cpu is not the same thing as CPUs listed in the MADT.  If
there is no MADT, then FreeBSD won't find any APICs and won't be
able to trust ACPI PCI interrupt routing.  In fact, ACPI will still
be trying to route interrupts to the ATPICS, and not to the APICs if
the MADT isn't found and used.
So I *MUST* run without ACPI?  (Not that much of a loss, since I'm not 
using to anything, other than having to push the powerbutton and having 
the computer safely shut down)  Hopefully there isn't many hardware 
vendors that have such a bogus ACPI implementation.

--
Morten Rodal
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: panic: probing for non-PCI bus

2003-11-20 Thread John Baldwin

On 20-Nov-2003 Morten Rodal wrote:
 John Baldwin wrote:
 acpu_cpu is not the same thing as CPUs listed in the MADT.  If
 there is no MADT, then FreeBSD won't find any APICs and won't be
 able to trust ACPI PCI interrupt routing.  In fact, ACPI will still
 be trying to route interrupts to the ATPICS, and not to the APICs if
 the MADT isn't found and used.
 
 
 So I *MUST* run without ACPI?  (Not that much of a loss, since I'm not 
 using to anything, other than having to push the powerbutton and having 
 the computer safely shut down)  Hopefully there isn't many hardware 
 vendors that have such a bogus ACPI implementation.

Well, for now you must.  I intend to fix the priorities of the
drivers so that for your case the mptable PCI bridge drivers
will be used instead of ACPI, and thus you can still use the
rest of ACPI and it will just work out of the box.

-- 

John Baldwin [EMAIL PROTECTED]http://www.FreeBSD.org/~jhb/
Power Users Use the Power to Serve!  -  http://www.FreeBSD.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: panic: probing for non-PCI bus

2003-11-12 Thread John Hay
  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.
  
  pcib1: PCI-PCI bridge at device 1.0 on pci0
  pci1: PCI bus on pcib1
 
 Ok, no AGP bus, but you do have a PCI bus that the MP Table doesn't know about.
 I'll commit a fix.  Note that your system isn't going to work with ACPI.  Perhaps
 there is a BIOS option to set the interrupt model to APIC rather than PIC that
 might fix the ACPI case.

Ok, I opened the machine this morning and it does have an AGP slot.

I also had a look in the BIOS setup, but didn't see anything to change
the interrupt model. The closest I saw was:

MPS 1.4 Support - Enabled/Disabled (Enabled)
PCI 2.1 Support - Enabled/disabled (Enabled)
PNP OS Installed - No/Yes (No)

I built a new kernel with your mptable changes included and with acpi
enabled, it would panic, but the onboard scsi interrupt doesn't work,
so you don't get very far. With acpi disabled, it seems to work fine,
although I haven't done much yet. So it looks like I'm up and running
again, thanks.

John
-- 
John Hay -- [EMAIL PROTECTED] / [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: panic: probing for non-PCI bus

2003-11-12 Thread John Hay
Oops, I missed a not.

On Wed, Nov 12, 2003 at 09:01:25AM +0200, John Hay wrote:
   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.
   
   pcib1: PCI-PCI bridge at device 1.0 on pci0
   pci1: PCI bus on pcib1
  
  Ok, no AGP bus, but you do have a PCI bus that the MP Table doesn't know about.
  I'll commit a fix.  Note that your system isn't going to work with ACPI.  Perhaps
  there is a BIOS option to set the interrupt model to APIC rather than PIC that
  might fix the ACPI case.
 
 Ok, I opened the machine this morning and it does have an AGP slot.
 
 I also had a look in the BIOS setup, but didn't see anything to change
 the interrupt model. The closest I saw was:
 
 MPS 1.4 Support - Enabled/Disabled (Enabled)
 PCI 2.1 Support - Enabled/disabled (Enabled)
 PNP OS Installed - No/Yes (No)
 
 I built a new kernel with your mptable changes included and with acpi
 enabled, it would panic, but the onboard scsi interrupt doesn't work,
  ^^^ not
 so you don't get very far. With acpi disabled, it seems to work fine,
 although I haven't done much yet. So it looks like I'm up and running
 again, thanks.

John
-- 
John Hay -- [EMAIL PROTECTED] / [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: panic: probing for non-PCI bus

2003-11-12 Thread John Baldwin

On 12-Nov-2003 John Hay wrote:
  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.
  
  pcib1: PCI-PCI bridge at device 1.0 on pci0
  pci1: PCI bus on pcib1
 
 Ok, no AGP bus, but you do have a PCI bus that the MP Table doesn't know about.
 I'll commit a fix.  Note that your system isn't going to work with ACPI.  Perhaps
 there is a BIOS option to set the interrupt model to APIC rather than PIC that
 might fix the ACPI case.
 
 Ok, I opened the machine this morning and it does have an AGP slot.
 
 I also had a look in the BIOS setup, but didn't see anything to change
 the interrupt model. The closest I saw was:
 
 MPS 1.4 Support - Enabled/Disabled (Enabled)
 PCI 2.1 Support - Enabled/disabled (Enabled)
 PNP OS Installed - No/Yes (No)
 
 I built a new kernel with your mptable changes included and with acpi
 enabled, it would panic, but the onboard scsi interrupt doesn't work,
 so you don't get very far. With acpi disabled, it seems to work fine,
 although I haven't done much yet. So it looks like I'm up and running
 again, thanks.

Yes, your BIOS doesn't include any interrupt routing information in ACPI
for using APICs, so your machine isn't going to work with ACPI and
'device apic'.

-- 

John Baldwin [EMAIL PROTECTED]http://www.FreeBSD.org/~jhb/
Power Users Use the Power to Serve!  -  http://www.FreeBSD.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: panic: probing for non-PCI bus

2003-11-11 Thread John Baldwin

On 11-Nov-2003 John Hay wrote:
  
  Upgrading a Asus P2L97-DS dual Pentium II 266MHz box, I got this panic
  when booting:
  
 
  Console: serial port
  BIOS drive A: is disk0
  BIOS drive C: is disk1
  BIOS drive D: is disk2
  BIOS drive E: is disk3
  BIOS 640kB/130036kB available memory
  
  FreeBSD/i386 bootstrap loader, Revision 1.1
  ([EMAIL PROTECTED], Sun Nov  2 14:16:55 SAST 2003)
  Loading /boot/defaults/loader.conf 
  /boot/kernel/kernel text=0x23372c data=0x27fcc+0x47494 
  syms=[0x4+0x31690+0x4+0x3de08]
  /boot/kernel/if_vlan.ko text=0x22b0 data=0x1d8+0x5c syms=[0x4+0x620+0x4+0x573]
  /boot/kernel/if_fxp.ko text=0x77c0 data=0xfd4+0xc syms=[0x4+0xc50+0x4+0xceb]
  loading required module 'miibus'
  /boot/kernel/miibus.ko text=0x15940 data=0xc84+0x68 syms=[0x4+0x1a90+0x4+0x2240]
  /boot/kernel/usb.ko text=0x201e8 data=0xb4c+0x148 syms=[0x4+0x2ad0+0x4+0x30bb]
  
  Hit [Enter] to boot immediately, or any other key for command prompt.
  Booting [/boot/kernel/kernel]...   
  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 #50: Mon Nov 10 17:51:13 SAST 2003
  [EMAIL PROTECTED]:/b/src/sys/i386/compile/BEAST
  Preloaded elf kernel /boot/kernel/kernel at 0xc0768000.
  Preloaded elf module /boot/kernel/if_vlan.ko at 0xc076821c.
  Preloaded elf module /boot/kernel/if_fxp.ko at 0xc07682c8.
  Preloaded elf module /boot/kernel/miibus.ko at 0xc0768374.
  Preloaded elf module /boot/kernel/usb.ko at 0xc0768420.
  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=0x80fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,MMX
  real memory  = 134205440 (127 MB)
  avail memory = 125018112 (119 MB)
  MPTable: OEM0 PROD
  FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
   cpu0 (BSP): APIC ID:  1
   cpu1 (AP): APIC ID:  0
  ioapic0: Assuming intbase of 0
  ioapic0 Version 1.1 irqs 0-23 on motherboard
  Pentium Pro MTRR support enabled
  acpi0: ASUS   P2L97-DS 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: CPU on acpi0
  pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
  pci0: ACPI PCI bus 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. 

For now you can try disabling ACPI.

-- 

John Baldwin [EMAIL PROTECTED]http://www.FreeBSD.org/~jhb/
Power Users Use the Power to Serve!  -  http://www.FreeBSD.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: panic: probing for non-PCI bus

2003-11-11 Thread John Hay
   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=0x80fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,MMX
   real memory  = 134205440 (127 MB)
   avail memory = 125018112 (119 MB)
   MPTable: OEM0 PROD
   FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID:  1
cpu1 (AP): APIC ID:  0
   ioapic0: Assuming intbase of 0
   ioapic0 Version 1.1 irqs 0-23 on motherboard
   Pentium Pro MTRR support enabled
   acpi0: ASUS   P2L97-DS 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: CPU on acpi0
   pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
   pci0: ACPI PCI bus 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=0x80fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,MMX
real memory  = 134205440 (127 MB)
avail memory = 125018112 (119 MB)
MPTable: OEM0 PROD
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  1
 cpu1 (AP): APIC ID:  0
ioapic0: Assuming intbase of 0
ioapic0 Version 1.1 irqs 0-23 on motherboard
Pentium Pro MTRR support enabled
acpi0: ASUS   P2L97-DS 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: CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus 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=0x80fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,MMX
real memory  = 134205440 (127 MB)
avail memory = 125026304 (119 MB)
MPTable: OEM0 PROD
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  1
 cpu1 (AP): APIC ID:  0
ioapic0: Assuming intbase of 0
ioapic0 Version 1.1 irqs 0-23 on motherboard
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: math processor 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: MPTable Host-PCI bridge at pcibus 0 on motherboard
pci0: PCI bus 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 -- [EMAIL PROTECTED] / [EMAIL PROTECTED]


/*
  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

Re: panic: probing for non-PCI bus

2003-11-11 Thread John Baldwin

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=0x80fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,MMX
   real memory  = 134205440 (127 MB)
   avail memory = 125018112 (119 MB)
   MPTable: OEM0 PROD
   FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID:  1
cpu1 (AP): APIC ID:  0
   ioapic0: Assuming intbase of 0
   ioapic0 Version 1.1 irqs 0-23 on motherboard
   Pentium Pro MTRR support enabled
   acpi0: ASUS   P2L97-DS 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: CPU on acpi0
   pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
   pci0: ACPI PCI bus 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?

-- 

John Baldwin [EMAIL PROTECTED]http://www.FreeBSD.org/~jhb/
Power Users Use the Power to Serve!  -  http://www.FreeBSD.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: panic: probing for non-PCI bus

2003-11-11 Thread John Hay
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=0x80fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,MMX
real memory  = 134205440 (127 MB)
avail memory = 125018112 (119 MB)
MPTable: OEM0 PROD
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  1
 cpu1 (AP): APIC ID:  0
ioapic0: Assuming intbase of 0
ioapic0 Version 1.1 irqs 0-23 on motherboard
Pentium Pro MTRR support enabled
acpi0: ASUS   P2L97-DS 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: CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus 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 -- [EMAIL PROTECTED] / [EMAIL PROTECTED]

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
[EMAIL PROTECTED]:/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=0x80fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,MMX
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 0xfee0
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee0
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec0
Pentium Pro MTRR support enabled
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: ASUS   P2L97-DS 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: CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus 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: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
isab0: PCI-ISA bridge at device 4.0 on pci0
isa0: ISA bus on isab0
pci0: mass storage, ATA at device 4.1 

Re: panic: probing for non-PCI bus

2003-11-11 Thread John Baldwin

On 11-Nov-2003 John Hay wrote:
 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 -- [EMAIL PROTECTED] / [EMAIL PROTECTED]
 
 pcib1: PCI-PCI bridge at device 1.0 on pci0
 pci1: PCI bus on pcib1

Ok, no AGP bus, but you do have a PCI bus that the MP Table doesn't know about.
I'll commit a fix.  Note that your system isn't going to work with ACPI.  Perhaps
there is a BIOS option to set the interrupt model to APIC rather than PIC that
might fix the ACPI case.

-- 

John Baldwin [EMAIL PROTECTED]http://www.FreeBSD.org/~jhb/
Power Users Use the Power to Serve!  -  http://www.FreeBSD.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: panic: probing for non-PCI bus

2003-11-11 Thread Doug White
On Tue, 11 Nov 2003, John Hay wrote:

 acpi0: ASUS   P2L97-DS on motherboard

Here's the mobo model.

you might check for a BIOS update...

-- 
Doug White|  FreeBSD: The Power to Serve
[EMAIL PROTECTED]  |  www.FreeBSD.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: panic: probing for non-PCI bus

2003-11-11 Thread John Hay
 
  acpi0: ASUS   P2L97-DS on motherboard
 
 Here's the mobo model.
 
 you might check for a BIOS update...

Nope, I'm running the latest - 1008.

John
-- 
John Hay -- [EMAIL PROTECTED] / [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: panic: probing for non-PCI bus

2003-11-10 Thread John Baldwin

On 10-Nov-2003 John Hay wrote:
 Hi,
 
 Upgrading a Asus P2L97-DS dual Pentium II 266MHz box, I got this panic
 when booting:
 

 Console: serial port
 BIOS drive A: is disk0
 BIOS drive C: is disk1
 BIOS drive D: is disk2
 BIOS drive E: is disk3
 BIOS 640kB/130036kB available memory
 
 FreeBSD/i386 bootstrap loader, Revision 1.1
 ([EMAIL PROTECTED], Sun Nov  2 14:16:55 SAST 2003)
 Loading /boot/defaults/loader.conf 
 /boot/kernel/kernel text=0x23372c data=0x27fcc+0x47494 syms=[0x4+0x31690+0x4+0x3de08]
 /boot/kernel/if_vlan.ko text=0x22b0 data=0x1d8+0x5c syms=[0x4+0x620+0x4+0x573]
 /boot/kernel/if_fxp.ko text=0x77c0 data=0xfd4+0xc syms=[0x4+0xc50+0x4+0xceb]
 loading required module 'miibus'
 /boot/kernel/miibus.ko text=0x15940 data=0xc84+0x68 syms=[0x4+0x1a90+0x4+0x2240]
 /boot/kernel/usb.ko text=0x201e8 data=0xb4c+0x148 syms=[0x4+0x2ad0+0x4+0x30bb]
 
 Hit [Enter] to boot immediately, or any other key for command prompt.
 Booting [/boot/kernel/kernel]...   
 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 #50: Mon Nov 10 17:51:13 SAST 2003
 [EMAIL PROTECTED]:/b/src/sys/i386/compile/BEAST
 Preloaded elf kernel /boot/kernel/kernel at 0xc0768000.
 Preloaded elf module /boot/kernel/if_vlan.ko at 0xc076821c.
 Preloaded elf module /boot/kernel/if_fxp.ko at 0xc07682c8.
 Preloaded elf module /boot/kernel/miibus.ko at 0xc0768374.
 Preloaded elf module /boot/kernel/usb.ko at 0xc0768420.
 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=0x80fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,MMX
 real memory  = 134205440 (127 MB)
 avail memory = 125018112 (119 MB)
 MPTable: OEM0 PROD
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  1
  cpu1 (AP): APIC ID:  0
 ioapic0: Assuming intbase of 0
 ioapic0 Version 1.1 irqs 0-23 on motherboard
 Pentium Pro MTRR support enabled
 acpi0: ASUS   P2L97-DS 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: CPU on acpi0
 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
 pci0: ACPI PCI bus 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?

-- 

John Baldwin [EMAIL PROTECTED]http://www.FreeBSD.org/~jhb/
Power Users Use the Power to Serve!  -  http://www.FreeBSD.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: panic: probing for non-PCI bus

2003-11-10 Thread John Hay
  
  Upgrading a Asus P2L97-DS dual Pentium II 266MHz box, I got this panic
  when booting:
  
 
  Console: serial port
  BIOS drive A: is disk0
  BIOS drive C: is disk1
  BIOS drive D: is disk2
  BIOS drive E: is disk3
  BIOS 640kB/130036kB available memory
  
  FreeBSD/i386 bootstrap loader, Revision 1.1
  ([EMAIL PROTECTED], Sun Nov  2 14:16:55 SAST 2003)
  Loading /boot/defaults/loader.conf 
  /boot/kernel/kernel text=0x23372c data=0x27fcc+0x47494 
  syms=[0x4+0x31690+0x4+0x3de08]
  /boot/kernel/if_vlan.ko text=0x22b0 data=0x1d8+0x5c syms=[0x4+0x620+0x4+0x573]
  /boot/kernel/if_fxp.ko text=0x77c0 data=0xfd4+0xc syms=[0x4+0xc50+0x4+0xceb]
  loading required module 'miibus'
  /boot/kernel/miibus.ko text=0x15940 data=0xc84+0x68 syms=[0x4+0x1a90+0x4+0x2240]
  /boot/kernel/usb.ko text=0x201e8 data=0xb4c+0x148 syms=[0x4+0x2ad0+0x4+0x30bb]
  
  Hit [Enter] to boot immediately, or any other key for command prompt.
  Booting [/boot/kernel/kernel]...   
  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 #50: Mon Nov 10 17:51:13 SAST 2003
  [EMAIL PROTECTED]:/b/src/sys/i386/compile/BEAST
  Preloaded elf kernel /boot/kernel/kernel at 0xc0768000.
  Preloaded elf module /boot/kernel/if_vlan.ko at 0xc076821c.
  Preloaded elf module /boot/kernel/if_fxp.ko at 0xc07682c8.
  Preloaded elf module /boot/kernel/miibus.ko at 0xc0768374.
  Preloaded elf module /boot/kernel/usb.ko at 0xc0768420.
  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=0x80fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,MMX
  real memory  = 134205440 (127 MB)
  avail memory = 125018112 (119 MB)
  MPTable: OEM0 PROD
  FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
   cpu0 (BSP): APIC ID:  1
   cpu1 (AP): APIC ID:  0
  ioapic0: Assuming intbase of 0
  ioapic0 Version 1.1 irqs 0-23 on motherboard
  Pentium Pro MTRR support enabled
  acpi0: ASUS   P2L97-DS 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: CPU on acpi0
  pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
  pci0: ACPI PCI bus 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?

Yes, here is the output of mptable -verbose on a kernel built on Nov 3.

John
-- 
John Hay -- [EMAIL PROTECTED] / [EMAIL PROTECTED]


===

MPTable, version 2.0.15

 looking for EBDA pointer @ 0x040e, NOT found
 searching CMOS 'top of mem' @ 0x0009fc00 (639K)
 searching BIOS @ 0x000f

 MP FPS found in BIOS @ physical addr: 0x000f6e30

---

MP Floating Pointer Structure:

  location: BIOS
  physical address: 0x000f6e30
  signature:'_MP_'
  length:   16 bytes
  version:  1.4
  checksum: 0x05
  mode: Virtual Wire

---

MP Config Table Header:

  physical address: 0x000f6a22
  signature:'PCMP'
  base table length:252
  version:  1.4
  checksum: 0xf9
  OEM ID:   'OEM0'
  Product ID:   'PROD'
  OEM table pointer:0x
  OEM table size:   0
  entry count:  23
  local APIC address:   0xfee0
  extended table length:124
  extended table checksum:  179

---

MP Config Base Table Entries:

--
Processors: APIC ID Version State   Family  Model   StepFlags
 1   0x11BSP, usable 6   3   3   0x80fbff
 0   0x11AP, usable  6   3   3   0x80fbff
--
Bus:Bus ID  Type
 0   PCI   
 1   ISA   
--
I/O APICs:  APIC ID Version State   Address
 2   0x11