extended tabled hosed on Proliant

Cagle, John (ISS-Houston) john.cagle at hp.com
Thu Jul 10 07:34:49 PDT 2003


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 at hp.com
Principal Member Technical Staff
   Industry Standard Servers
    Hewlett-Packard Company

> -----Original Message-----
> From: nycvelo at earthlink.net [mailto:nycvelo at earthlink.net] 
> Sent: Thursday, July 10, 2003 9:25 AM
> To: freebsd-smp at freebsd.org
> Subject: extended tabled hosed on Proliant
> 
> 
> 
> Apologies if this has been asked before. I've installed 4.8 
> on a Compaq Proliant 1850 6-550 and built a kernel with MP 
> support. The system boots the MP kernel OK, but mptable 
> reports "Extended Table HOSED!"
> 
> I don't see anything unusual in dmesg, but I may be missing 
> something. Output of dmesg and mptable below.
> 
> Thanks very much for any ideas on how to fix this. 
> 
> Regards,
> David Newman
> 
> 
> dnewman at moser ~ 81$ dmesg
> 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 4.8-STABLE #1: Fri Jul  4 11:51:56 PDT 2003
>     root at 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 = "GenuineIntel"  Id = 0x673  Stepping = 3
>   
> Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP
> ,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
> real memory  = 536854528 (524272K bytes)
> avail memory = 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 
> motherboard
> pci0: <PCI bus> on pcib0
> sym0: <875> port 0x2000-0x20ff mem 
> 0xc6eff000-0xc6efffff,0xc6efcf00-0xc6efcfff irq 10 at device 
> 6.0 on pci0
> sym0: No NVRAM, ID 7, Fast-20, SE, parity checking
> sym1: <875> port 0x2400-0x24ff mem 
> 0xc6efe000-0xc6efefff,0xc6efce00-0xc6efceff irq 11 at device 
> 6.1 on pci0
> sym1: No NVRAM, ID 7, Fast-20, SE, parity checking
> tl0: <Compaq Netelligent 10/100 Proliant> port 0x2c20-0x2c2f 
> 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, 
> 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=0x0e11, dev=0xa0f0) at 9.0
> fxp0: <Intel 82557/8/9 EtherExpress Pro/100(B) Ethernet> port 
> 0x2c00-0x2c1f mem 0xc6f00000-0xc6ffffff,0xc4fff000-0xc4ffffff 
> 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 
> 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.3 on pci0
> eisa0: <EISA bus> on motherboard
> mainboard0: <CPQ0679 (System Board)> on eisa0 slot 0
> orm0: <Option ROMs> at iomem 
> 0xc0000-0xc7fff,0xe8000-0xedfff,0xee000-0xeffff 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
> 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: 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 
> da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), 
> 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 
> da1: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), 
> Tagged Queueing Enabled
> da1: 8678MB (17773524 512 byte sectors: 255H 63S/T 1106C)
> 
> dnewman at moser ~ 82$ sudo mptable
> 
> ==============================================================
> =================
> 
> MPTable, version 2.0.15
> 
> --------------------------------------------------------------
> -----------------
> 
> MP Floating Pointer Structure:
> 
>   location:                     BIOS
>   physical address:             0x000f4ff0
>   signature:                    '_MP_'
>   length:                       16 bytes
>   version:                      1.4
>   checksum:                     0x17
>   mode:                         Virtual Wire
> 
> --------------------------------------------------------------
> -----------------
> 
> MP Config Table Header:
> 
>   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
> 
> --------------------------------------------------------------
> -----------------
> 
> MP Config Base Table Entries:
> 
> --
> Processors:     APIC ID Version State           Family  Model 
>   Step    Flags
>                  1       0x10    BSP, usable     6       7    
>    3       0x383fbff
>                  0       0x10    AP, usable      6       7    
>    3       0x383fbff
> --
> Bus:            Bus ID  Type
>                  0       PCI   
>                  9       ISA   
> --
> I/O APICs:      APIC ID Version State           Address
>                  8       0x11    usable          0xfec00000
> --
> I/O Ints:       Type    Polarity    Trigger     Bus ID   IRQ  
>   APIC ID PIN#
>                 INT     active-hi        edge        9     1  
>         8    1
>                 INT     active-hi        edge        9     0  
>         8    2
>                 INT     active-hi        edge        9     3  
>         8    3
>                 INT     active-hi        edge        9     4  
>         8    4
>                 INT     active-hi       level        9     5  
>         8    5
>                 INT     active-hi        edge        9     6  
>         8    6
>                 INT     active-hi        edge        9     7  
>         8    7
>                 INT     active-hi        edge        9     8  
>         8    8
>                 INT     active-hi       level        9     9  
>         8    9
>                 INT     active-hi       level        9    10  
>         8   10
>                 INT     active-hi       level        9    11  
>         8   11
>                 INT     active-hi        edge        9    12  
>         8   12
>                 INT     active-lo        edge        9    13  
>         8   13
>                 INT     active-hi        edge        9    14  
>         8   14
>                 INT     active-hi       level        9    15  
>         8   15
> --
> Local Ints:     Type    Polarity    Trigger     Bus ID   IRQ  
>   APIC ID PIN#
>                 ExtINT   conforms    conforms        9     0  
>       255    0
>                 NMI      conforms    conforms        9     0  
>       255    1
> 
> --------------------------------------------------------------
> -----------------
> 
> MP Config Extended Table Entries:
> 
> Extended Table HOSED!
> 
> _______________________________________________
> freebsd-smp at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-smp
> To unsubscribe, send any mail to "freebsd-smp-unsubscribe at freebsd.org"
> 


More information about the freebsd-smp mailing list