Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2003 08:04:22 +0530
From:      "M. Giegerich" <migieger@bawue.de>
To:        freebsd-smp@freebsd.org
Subject:   Re: Broken MP table: BIOS or hardware?
Message-ID:  <20030205023422.GA432@luva.home>
In-Reply-To: <20020824154647.A8882@luva.home>
References:  <20020824154647.A8882@luva.home>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 24, 2002 at 03:46:48PM +0530, Michael Giegerich wrote:
> Is it possible to check, if the broken MP table
> is either related to a faulty BIOS or a non exis-
> tent hardware wiring?

Well, waiting patiently didn't yield any answer :-)

So I'll try again giving some more details of my
IBM Netvista 3500-M20 dual P3 system. The archives
and groups@google show that there must be fellow
Netfinity users of FreeBSD...

Dmesg's output (see below for my question):

Copyright (c) 1992-2002 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 4.7-RELEASE-p3 #9: Sat Jan 11 12:41:27 IST 2003
    root@luva.home:/usr/obj/usr/src/sys/LOCAL
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (799.62-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 1207947264 (1179636K bytes)
avail memory = 1169821696 (1142404K bytes)
APIC_IO: MP table broken: 8259->APIC entry missing!
Programming 16 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
Programming 16 pins in IOAPIC #1
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  3, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id: 14, version: 0x000f0011, at 0xfec00000
 io1 (APIC): apic id: 13, version: 0x000f0011, at 0xfec01000
Preloaded elf kernel "kernel" at 0xc0422000.
ccd0-3: Concatenated disk drivers
netsmb_dev: loaded
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard
IOAPIC #1 intpin 11 -> irq 2
IOAPIC #0 intpin 10 -> irq 5
pci0: <PCI bus> on pcib0
pci0: <S3 Savage 4 graphics accelerator> at 1.0
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0x2000-0x203f mem 0xfea00000-0xfeafffff,0xfeb7f000-0xfeb7ffff irq 2 at device 2.0 on pci0
fxp0: Disabling dynamic standby mode in EEPROM
fxp0: New EEPROM ID: 0x4080
fxp0: EEPROM checksum @ 0x3f: 0xd1f8 -> 0xd1f8
fxp0: Ethernet address 00:06:29:13:7a:18
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <ServerWorks IB6566 PCI to ISA bridge> at device 15.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <ServerWorks ROSB4 ATA33 controller> port 0x700-0x70f at device 15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ohci0: <OHCI (generic) USB controller> mem 0xfeb7e000-0xfeb7efff irq 5 at device 15.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
pcib1: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard
IOAPIC #1 intpin 12 -> irq 9
pci1: <PCI bus> on pcib1
ahc0: <Adaptec aic7892 Ultra160 SCSI adapter> port 0x2100-0x21ff mem 0xeffff000-0xefffffff irq 9 at device 3.0 on pci1
aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
orm0: <Option ROM> at iomem 0xc0000-0xc9fff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0 intpin 2
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
         Is this purely a BIOS issue? If not how could it be tested if
         this relates to the BIOS or actually to flawed hardware?

APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0
IPsec: Initialized Security Association Processing.
SMP: AP CPU #1 Launched!
acd0: CDROM <CRD-8400B> at ata0-master PIO4
Waiting 5 seconds for SCSI devices to settle
Mounting root from ufs:/dev/da0s3a
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DPSS-336950N S96H> Fixed Direct Access SCSI-3 device 
da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da0: 35239MB (72170880 512 byte sectors: 255H 63S/T 4492C)
da1 at ahc0 bus 0 target 2 lun 0
da1: <IBM IC35L036UWD210-0 S5BS> Fixed Direct Access SCSI-3 device 
da1: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da1: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C)

Mptable's output (-dmesg):

===============================================================================

MPTable, version 2.0.15

-------------------------------------------------------------------------------

MP Floating Pointer Structure:

  location:			EBDA
  physical address:		0x0009e1d0
  signature:			'_MP_'
  length:			16 bytes
  version:			1.4
  checksum:			0xd6
  mode:				Virtual Wire

-------------------------------------------------------------------------------

MP Config Table Header:

  physical address:		0x0009e1e0
  signature:			'PCMP'
  base table length:		244
  version:			1.4
  checksum:			0xe9
  OEM ID:			'IBM ENSW'
  Product ID:			'NF 6000R SMP'
  OEM table pointer:		0x00000000
  OEM table size:		0
  entry count:			22
  local APIC address:		0xfee00000
  extended table length:	168
  extended table checksum:	117

-------------------------------------------------------------------------------

MP Config Base Table Entries:

--
Processors:	APIC ID	Version	State		Family	Model	Step	Flags
		 3	 0x11	 BSP, usable	 6	 8	 6	 0x0301
		 0	 0x11	 AP, usable	 6	 8	 6	 0x0301
--
Bus:		Bus ID	Type
		 0	 PCI   
		 1	 PCI   
		 2	 ISA   
--
I/O APICs:	APIC ID	Version	State		Address
		14	 0x11	 usable		 0xfec00000
		13	 0x11	 usable		 0xfec01000
--
I/O Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	PIN#
		INT	 conforms    conforms	     2	   1	     14	   1
		INT	 conforms    conforms	     2	   0	     14	   2
		INT	 conforms    conforms	     2	   3	     14	   3
		INT	 conforms    conforms	     2	   4	     14	   4
		INT	 conforms    conforms	     2	   6	     14	   6
		INT	 conforms    conforms	     2	   7	     14	   7
		INT	 conforms    conforms	     2	   8	     14	   8
		INT	 conforms    conforms	     2	  12	     14	  12
		INT	 conforms    conforms	     2	  13	     14	  13
		INT	 conforms    conforms	     2	  14	     14	  14
		INT	 conforms    conforms	     0	 2:A	     13	  11
		INT	 conforms    conforms	     0	15:A	     14	  10
		INT	 conforms    conforms	     1	 3:A	     13	  12
--
Local Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	PIN#
		NMI	 conforms    conforms	     2	   0	    255	   1
		ExtINT	 conforms    conforms	     2	   0	    255	   0

-------------------------------------------------------------------------------

MP Config Extended Table Entries:

--
System Address Space
 bus ID: 0 address type: memory address
 address base: 0xa0000
 address range: 0x20000
--
System Address Space
 bus ID: 0 address type: memory address
 address base: 0xd0000
 address range: 0x10000
--
System Address Space
 bus ID: 0 address type: memory address
 address base: 0xfd000000
 address range: 0x3000000
--
System Address Space
 bus ID: 0 address type: prefetch address
 address base: 0xf0000000
 address range: 0xd000000
--
System Address Space
 bus ID: 1 address type: memory address
 address base: 0xee000000
 address range: 0x2000000
--
System Address Space
 bus ID: 1 address type: prefetch address
 address base: 0x48000000
 address range: 0xa6000000
--
System Address Space
 bus ID: 0 address type: I/O address
 address base: 0x0
 address range: 0x2040
--
System Address Space
 bus ID: 1 address type: I/O address
 address base: 0x2040
 address range: 0xdfc0
--
Bus Heirarchy
 bus ID: 2 bus info: 0x01 parent bus ID: 0

-------------------------------------------------------------------------------

dmesg output:

Copyright (c) 1992-2002 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 4.7-RELEASE-p3 #9: Sat Jan 11 12:41:27 IST 2003
    root@luva.home:/usr/obj/usr/src/sys/LOCAL
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (799.62-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 1207947264 (1179636K bytes)
avail memory = 1169821696 (1142404K bytes)
APIC_IO: MP table broken: 8259->APIC entry missing!
Programming 16 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
Programming 16 pins in IOAPIC #1
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  3, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id: 14, version: 0x000f0011, at 0xfec00000
 io1 (APIC): apic id: 13, version: 0x000f0011, at 0xfec01000
Preloaded elf kernel "kernel" at 0xc0422000.
ccd0-3: Concatenated disk drivers
netsmb_dev: loaded
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard
IOAPIC #1 intpin 11 -> irq 2
IOAPIC #0 intpin 10 -> irq 5
pci0: <PCI bus> on pcib0
pci0: <S3 Savage 4 graphics accelerator> at 1.0
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0x2000-0x203f mem 0xfea00000-0xfeafffff,0xfeb7f000-0xfeb7ffff irq 2 at device 2.0 on pci0
fxp0: Disabling dynamic standby mode in EEPROM
fxp0: New EEPROM ID: 0x4080
fxp0: EEPROM checksum @ 0x3f: 0xd1f8 -> 0xd1f8
fxp0: Ethernet address 00:06:29:13:7a:18
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <ServerWorks IB6566 PCI to ISA bridge> at device 15.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <ServerWorks ROSB4 ATA33 controller> port 0x700-0x70f at device 15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ohci0: <OHCI (generic) USB controller> mem 0xfeb7e000-0xfeb7efff irq 5 at device 15.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
pcib1: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard
IOAPIC #1 intpin 12 -> irq 9
pci1: <PCI bus> on pcib1
ahc0: <Adaptec aic7892 Ultra160 SCSI adapter> port 0x2100-0x21ff mem 0xeffff000-0xefffffff irq 9 at device 3.0 on pci1
aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
orm0: <Option ROM> at iomem 0xc0000-0xc9fff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0 intpin 2
APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0
IPsec: Initialized Security Association Processing.
SMP: AP CPU #1 Launched!
acd0: CDROM <CRD-8400B> at ata0-master PIO4
Waiting 5 seconds for SCSI devices to settle
Mounting root from ufs:/dev/da0s3a
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DPSS-336950N S96H> Fixed Direct Access SCSI-3 device 
da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da0: 35239MB (72170880 512 byte sectors: 255H 63S/T 4492C)
da1 at ahc0 bus 0 target 2 lun 0
da1: <IBM IC35L036UWD210-0 S5BS> Fixed Direct Access SCSI-3 device 
da1: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da1: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C)

===============================================================================


-- 
M. Giegerich, mail: migieger@vsnl.com, phone: +91.(0)80.5530154

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030205023422.GA432>