Date: Thu, 10 Jul 2003 09:34:44 -0500 From: "Cagle, John (ISS-Houston)" <john.cagle@hp.com> To: <nycvelo@earthlink.net>, <freebsd-smp@freebsd.org> Subject: RE: extended tabled hosed on Proliant Message-ID: <C50AB9511EE59B49B2A503CB7AE1ABD10476C781@cceexc19.americas.cpqcorp.net>
next in thread | raw e-mail | index | archive | help
Take a close look at the source for mptable. It is poorly written and makes a lot of assumptions as to the placement of the various structures in the mp table. If the kernel doesn't complain about the MP table, then you should be fine. However, I recently discovered that even the kernel does not validate the checksum of the MP table - it just uses what it finds. Regards, John -------------------------------- John Cagle john.cagle@hp.com Principal Member Technical Staff Industry Standard Servers Hewlett-Packard Company > -----Original Message----- > From: nycvelo@earthlink.net [mailto:nycvelo@earthlink.net]=20 > Sent: Thursday, July 10, 2003 9:25 AM > To: freebsd-smp@freebsd.org > Subject: extended tabled hosed on Proliant >=20 >=20 >=20 > Apologies if this has been asked before. I've installed 4.8=20 > on a Compaq Proliant 1850 6-550 and built a kernel with MP=20 > support. The system boots the MP kernel OK, but mptable=20 > reports "Extended Table HOSED!" >=20 > I don't see anything unusual in dmesg, but I may be missing=20 > something. Output of dmesg and mptable below. >=20 > Thanks very much for any ideas on how to fix this.=20 >=20 > Regards, > David Newman >=20 >=20 > dnewman@moser ~ 81$ dmesg > Copyright (c) 1992-2003 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992,=20 > 1993, 1994 > The Regents of the University of California. All=20 > rights reserved. > FreeBSD 4.8-STABLE #1: Fri Jul 4 11:51:56 PDT 2003 > root@moser.int.networktest.com:/usr/obj/usr/src/sys/SMPKERN > Timecounter "i8254" frequency 1193182 Hz > CPU: Pentium III/Pentium III Xeon/Celeron (548.34-MHz 686-class CPU) > Origin =3D "GenuineIntel" Id =3D 0x673 Stepping =3D 3 > =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 536854528 (524272K bytes) > avail memory =3D 517677056 (505544K bytes) > Changing APIC ID for IO APIC #0 from 0 to 8 on chip > Programming 35 pins in IOAPIC #0 > IOAPIC #0 intpin 2 -> irq 0 > FreeBSD/SMP: Multiprocessor motherboard > cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000 > cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000 > io0 (APIC): apic id: 8, version: 0x00220011, at 0xfec00000 > Preloaded elf kernel "kernel" at 0xc0490000. > Pentium Pro MTRR support enabled > md0: Malloc disk > npx0: <math processor> on motherboard > npx0: INT 16 interface > pcib0: <Intel 82443BX host to PCI bridge (AGP disabled)> on=20 > motherboard > pci0: <PCI bus> on pcib0 > sym0: <875> port 0x2000-0x20ff mem=20 > 0xc6eff000-0xc6efffff,0xc6efcf00-0xc6efcfff irq 10 at device=20 > 6.0 on pci0 > sym0: No NVRAM, ID 7, Fast-20, SE, parity checking > sym1: <875> port 0x2400-0x24ff mem=20 > 0xc6efe000-0xc6efefff,0xc6efce00-0xc6efceff irq 11 at device=20 > 6.1 on pci0 > sym1: No NVRAM, ID 7, Fast-20, SE, parity checking > tl0: <Compaq Netelligent 10/100 Proliant> port 0x2c20-0x2c2f=20 > mem 0xc6efccf0-0xc6efccff irq 15 at device 7.0 on pci0 > tl0: Ethernet address: 00:50:8b:8f:b9:f1 > miibus0: <MII bus> on tl0 > lxtphy0: <LXT970 10/100 media interface> on miibus0 > lxtphy0: 100baseFX, 100baseFX-FDX, 10baseT, 10baseT-FDX,=20 > 100baseTX, 100baseTX-FDX, auto > tlphy0: <ThunderLAN 10baseT media interface> on miibus0 > tlphy0: 10base2/BNC, 10base5/AUI > pci0: <ATI Mach64-GV graphics accelerator> at 8.0 > pci0: <unknown card> (vendor=3D0x0e11, dev=3D0xa0f0) at 9.0 > fxp0: <Intel 82557/8/9 EtherExpress Pro/100(B) Ethernet> port=20 > 0x2c00-0x2c1f mem 0xc6f00000-0xc6ffffff,0xc4fff000-0xc4ffffff=20 > irq 5 at device 15.0 on pci0 > fxp0: Ethernet address 00:50:8b:6a:93:cf > inphy0: <i82555 10/100 media interface> on miibus1 > inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > isab0: <Intel 82371AB PCI to ISA bridge> at device 20.0 on pci0 > isa0: <ISA bus> on isab0 > atapci0: <Intel PIIX4 ATA33 controller> port 0xf100-0xf10f at=20 > device 20.1 on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 20.2 irq 0 > piix0: <Intel 82371AB Power management controller> at device=20 > 20.3 on pci0 > eisa0: <EISA bus> on motherboard > mainboard0: <CPQ0679 (System Board)> on eisa0 slot 0 > orm0: <Option ROMs> at iomem=20 > 0xc0000-0xc7fff,0xe8000-0xedfff,0xee000-0xeffff on isa0 > fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6=20 > 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 > vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem=20 > 0xa0000-0xbffff on isa0 > sc0: <System console> at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=3D0x300> > 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: cannot reserve I/O port range > APIC_IO: Testing 8254 interrupt delivery > APIC_IO: routing 8254 via IOAPIC #0 intpin 2 > ata0-slave: ATAPI identify retries exceeded > SMP: AP CPU #1 Launched! > acd0: CDROM <CD-224E> at ata0-master PIO4 > Waiting 15 seconds for SCSI devices to settle > Mounting root from ufs:/dev/da0s1a > da0 at sym0 bus 0 target 0 lun 0 > da0: <COMPAQ BD009122BA 3B07> Fixed Direct Access SCSI-2 device=20 > da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit),=20 > Tagged Queueing Enabled > da0: 8678MB (17773524 512 byte sectors: 255H 63S/T 1106C) > da1 at sym0 bus 0 target 1 lun 0 > da1: <COMPAQ BD009122BA 3B07> Fixed Direct Access SCSI-2 device=20 > da1: 40.000MB/s transfers (20.000MHz, offset 15, 16bit),=20 > Tagged Queueing Enabled > da1: 8678MB (17773524 512 byte sectors: 255H 63S/T 1106C) >=20 > dnewman@moser ~ 82$ sudo mptable >=20 > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > MPTable, version 2.0.15 >=20 > -------------------------------------------------------------- > ----------------- >=20 > MP Floating Pointer Structure: >=20 > location: BIOS > physical address: 0x000f4ff0 > signature: '_MP_' > length: 16 bytes > version: 1.4 > checksum: 0x17 > mode: Virtual Wire >=20 > -------------------------------------------------------------- > ----------------- >=20 > MP Config Table Header: >=20 > physical address: 0x000f2c4e > signature: 'PCMP' > base table length: 252 > version: 1.4 > checksum: 0x17 > OEM ID: 'COMPAQ ' > Product ID: 'PROLIANT ' > OEM table pointer: 0x00000000 > OEM table size: 0 > entry count: 23 > local APIC address: 0xfee00000 > extended table length: 76 > extended table checksum: 86 >=20 > -------------------------------------------------------------- > ----------------- >=20 > MP Config Base Table Entries: >=20 > -- > Processors: APIC ID Version State Family Model=20 > Step Flags > 1 0x10 BSP, usable 6 7 =20 > 3 0x383fbff > 0 0x10 AP, usable 6 7 =20 > 3 0x383fbff > -- > Bus: Bus ID Type > 0 PCI =20 > 9 ISA =20 > -- > I/O APICs: APIC ID Version State Address > 8 0x11 usable 0xfec00000 > -- > I/O Ints: Type Polarity Trigger Bus ID IRQ =20 > APIC ID PIN# > INT active-hi edge 9 1 =20 > 8 1 > INT active-hi edge 9 0 =20 > 8 2 > INT active-hi edge 9 3 =20 > 8 3 > INT active-hi edge 9 4 =20 > 8 4 > INT active-hi level 9 5 =20 > 8 5 > INT active-hi edge 9 6 =20 > 8 6 > INT active-hi edge 9 7 =20 > 8 7 > INT active-hi edge 9 8 =20 > 8 8 > INT active-hi level 9 9 =20 > 8 9 > INT active-hi level 9 10 =20 > 8 10 > INT active-hi level 9 11 =20 > 8 11 > INT active-hi edge 9 12 =20 > 8 12 > INT active-lo edge 9 13 =20 > 8 13 > INT active-hi edge 9 14 =20 > 8 14 > INT active-hi level 9 15 =20 > 8 15 > -- > Local Ints: Type Polarity Trigger Bus ID IRQ =20 > APIC ID PIN# > ExtINT conforms conforms 9 0 =20 > 255 0 > NMI conforms conforms 9 0 =20 > 255 1 >=20 > -------------------------------------------------------------- > ----------------- >=20 > MP Config Extended Table Entries: >=20 > Extended Table HOSED! >=20 > _______________________________________________ > freebsd-smp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-smp > To unsubscribe, send any mail to "freebsd-smp-unsubscribe@freebsd.org" >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C50AB9511EE59B49B2A503CB7AE1ABD10476C781>