Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 May 1998 23:28:16 -0600
From:      vanmaren@fast.cs.utah.edu (Kevin Van Maren)
To:        freebsd-smp@FreeBSD.ORG
Subject:   Re:  FreeBSD on Quad SMP
Message-ID:  <199805060528.XAA03942@fast.cs.utah.edu>

next in thread | raw e-mail | index | archive | help
I installed NT Server 4.0 today to see if it had any problems running.
Workstation only found 2 processors, but server found and used all 4 CPUs.
The BIOS did have 1.4 selected; mptable likes the BIOS set on 1.1 better,
though.  I've included the latest output, although the SMP kernel
still doesn't work.

====
mptable -verbose -dmesg

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

MPTable, version 2.0.15

 looking for EBDA pointer @ 0x040e, found, searching EBDA @ 0x0009f400
 searching CMOS 'top of mem' @ 0x0009f000 (636K)
 searching default 'top of mem' @ 0x0009fc00 (639K)
 searching BIOS @ 0x000f0000

 MP FPS found in BIOS @ physical addr: 0x000fc040

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

MP Floating Pointer Structure:

  location:                     BIOS
  physical address:             0x000fc040
  signature:                    '_MP_'
  length:                       16 bytes
  version:                      1.1
  checksum:                     0x2f
  mode:                         Virtual Wire

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

MP Config Table Header:

  physical address:             0x000f75f0
  signature:                    'PCMP'
  base table length:            292
  version:                      1.1
  checksum:                     0x88
  OEM ID:                       'AMI     '
  Product ID:                   'SERIES-751  '
  OEM table pointer:            0x00000000
  OEM table size:               0
  entry count:                  25
  local APIC address:           0xfee00000
  extended table length:        0
  extended table checksum:      0

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

MP Config Base Table Entries:

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

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

# SMP kernel config file options:


# Required:
options         SMP                     # Symmetric MultiProcessor Kernel
options         APIC_IO                 # Symmetric (APIC) I/O

# Optional (built-in defaults will work in most cases):
#options                NCPU=4                  # number of CPUs
#options                NBUS=3                  # number of busses
#options                NAPIC=1                 # number of IO APICs
#options                NINTR=24                # number of INTs

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

dmesg output:

Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.0-980426-SNAP #0: Fri May  1 13:46:33 MDT 1998
    root@mish.cs.utah.edu:/usr/src/sys/compile/GENERIC
Timecounter "i8254"  frequency 1193182 Hz  cost 5058 ns
Timecounter "TSC"  frequency 199433253 Hz  cost 291 ns
CPU: Pentium Pro (199.43-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x619  Stepping=9
  Features=0xfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV>
real memory  = 268435456 (262144K bytes)
avail memory = 258977792 (252908K bytes)
eisa0: <AMI7501 (System Board)>
Probing for devices on the EISA bus
Probing for devices on PCI bus 0:
chip0: <Intel 82375EB PCI-EISA bridge> rev 0x15 on pci0.2.0
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x02 int a irq 9 on pci0.5.0
fxp0: Ethernet address 00:a0:c9:86:04:f5
ahc0: <Adaptec 2940 SCSI host adapter> rev 0x03 int a irq 11 on pci0.6.0
ahc0: aic7870 Single Channel, SCSI Id=7, 16 SCBs
scbus0 at ahc0 bus 0
sd0 at scbus0 target 0 lun 0
sd0: <iomega jaz 1GB J^77> type 0 removable SCSI 2
sd0: Direct-Access 
sd0: ILLEGAL REQUEST asc:24,0 Invalid field in CDB
sd0 could not mode sense (4). Using ficticious geometry
1021MB (2091050 512 byte sectors)
ncr0: <ncr 53c825 fast10 wide scsi> rev 0x02 int a irq 10 on pci0.7.0
scbus1 at ncr0 bus 0
vga0: <ATI Mach64-GT graphics accelerator> rev 0x41 on pci0.9.0
chip1: <Intel 82453KX/GX (Orion) PCI memory controller> rev 0x05 on pci0.20.0
chip2: <Intel 82454KX/GX (Orion) host to PCI bridge> rev 0x06 on pci0.25.0
chip3: <Intel 82454KX/GX (Orion) host to PCI bridge> rev 0x06 on pci0.26.0
Probing for devices on PCI bus 1:
ncr1: <ncr 53c875 fast20 wide scsi> rev 0x04 int a irq 5 on pci1.10.0
scbus2 at ncr1 bus 0
sd1 at scbus2 target 0 lun 0
sd1: <SEAGATE ST34501W 0018> type 0 fixed SCSI 2
sd1: Direct-Access 
sd1: WIDE SCSI (16 bit) enabled
sd1: 40.0 MB/s (50 ns, offset 15)
4339MB (8887200 512 byte sectors)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 not found at 0x280
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A, console
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
psm0: failed to get data.
psm0 at 0x60-0x64 irq 12 on motherboard
psm0: model Generic PS/2 mouse, device ID 0
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (atapi): <TOSHIBA CD-ROM XM-6102B/1106>, removable, accel, ovlap, dma, iordy
wcd0: 4133/4134Kb/sec, 256Kb cache, audio play, 255 volume levels, ejectable tray
wcd0: no disc inside, unlocked
wdc1 not found at 0x170
bt0 not found at 0x330
aha0 not found at 0x330
aic0 not found at 0x340
le0 not found at 0x300
npx0 on motherboard
npx0: INT 16 interface

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

====

boot: kernel.SMP
Booting 0:sd(0,a)kernel.SMP @ 0x100000
text=0x11f000 data=0x13000 bss=0x1ca54 symbols=[+0x5ac+0x4+0x146f4+0x4+0x1c433]
Can't find file kernel.SMP.config
total=0x27fb2f entry point=0x100000
BIOS basemem (637K) != RTC basemem (640K), setting to BIOS value
Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.0-980426-SNAP #0: Mon May  4 15:29:26 MDT 1998
    root@mish.cs.utah.edu:/usr/src/sys/compile/SMP2
Timecounter "i8254"  frequency 1193182 Hz  cost 5044 ns
CPU: Pentium Pro (686-class CPU)
  Origin = "GenuineIntel"  Id = 0x619  Stepping=9
  Features=0xfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV>
real memory  = 268435456 (262144K bytes)
avail memory = 258928640 (252860K bytes)
EISA INTCONTROL = 00000e20
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
 cpu2 (AP):  apic id:  2, version: 0x00040011, at 0xfee00000
 cpu3 (AP):  apic id:  3, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x000f0011, at 0xfec00000
eisa0: <AMI7501 (System Board)>
Probing for devices on the EISA bus
Probing for devices on PCI bus 0:
chip0: <Intel 82375EB PCI-EISA bridge> rev 0x15 on pci0.2.0
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x02 int a irq 9 on pci0.5.0
fxp0: Ethernet address 00:a0:c9:86:04:f5
ahc0: <Adaptec 2940 SCSI host adapter> rev 0x03 int a irq 11 on pci0.6.0
ahc0: aic7870 Single Channel, SCSI Id=7, 16 SCBs
scbus0 at ahc0 bus 0
sd0 at scbus0 target 0 lun 0
sd0: <iomega jaz 1GB J^77> type 0 removable SCSI 2
sd0: Direct-Access 
sd0: ILLEGAL REQUEST asc:24,0 Invalid field in CDB
sd0 could not mode sense (4). Using ficticious geometry
1021MB (2091050 512 byte sectors)
ncr0: <ncr 53c825 fast10 wide scsi> rev 0x02 int a irq 10 on pci0.7.0
scbus1 at ncr0 bus 0
vga0: <ATI Mach64-GT graphics accelerator> rev 0x41 on pci0.9.0
chip1: <Intel 82453KX/GX (Orion) PCI memory controller> rev 0x05 on pci0.20.0
chip2: <Intel 82454KX/GX (Orion) host to PCI bridge> rev 0x06 on pci0.25.0
chip3: <Intel 82454KX/GX (Orion) host to PCI bridge> rev 0x06 on pci0.26.0
Probing for devices on PCI bus 1:
ncr1: <ncr 53c875 fast20 wide scsi> rev 0x04 int a irq 5 on pci1.10.0
scbus2 at ncr1 bus 0
sd1 at scbus2 target 0 lun 0
sd1: <SEAGATE ST34501W 0018> type 0 fixed SCSI 2
sd1: Direct-Access 
sd1: WIDE SCSI (16 bit) enabled
sd1: 40.0 MB/s (50 ns, offset 15)
4339MB (8887200 512 byte sectors)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 not found at 0x280
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A, console
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
psm0: failed to get data.
psm0 at 0x60-0x64 irq 12 on motherboard
psm0: model Generic PS/2 mouse, device ID 0
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (atapi): <TOSHIBA CD-ROM XM-6102B/1106>, removable, accel, ovlap, dma, iordy
wcd0: 4133/4134Kb/sec, 256Kb cache, audio play, 255 volume levels, ejectable tray
wcd0: no disc inside, unlocked
wdc1 not found at 0x170
bt0 not found at 0x330
aha0 not found at 0x330
aic0 not found at 0x340
le0 not found at 0x300
npx0 on motherboard
npx0: INT 16 interface
APIC_IO: routing 8254 via pin 2
SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
SMP: cpuid = 2
SMP: apic_id = 0
PTD[MPPTDI] = 00993023
panic: cpuid mismatch! boom!!
mp_lock = 02000001; cpuid = 2; lapic.id = 02000000
boot() called on cpu#2
I'm on cpu#2, I need to be on cpu#0, sleeping..


Fatal trap 12: page fault while in kernel mode
mp_lock = 02000002; cpuid = 2; lapic.id = 02000000
fault virtual address   = 0xb8
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xf0117d9f
stack pointer           = 0x10:0xff804f74
frame pointer           = 0x10:0xff804f88
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = resume, IOPL = 0
current process         = Idle
interrupt mask          =  <- SMP: XXX
trap number             = 12
panic: page fault
mp_lock = 02000002; cpuid = 2; lapic.id = 02000000
Automatic reboot in 15 seconds - press a key on the console to abort

===

npx0 on motherboard
npx0: INT 16 interface
APIC_IO: routing 8254 via pin 2
SMP: AP CPU #1 Launched!
SMP: AP CPU #3 Launched!
forward_statclock: checkstate 3
panic: apic_ipi was stuck
mp_lock = 03000002; cpuid = 3; lapic.id = 03000000
boot() called on cpu#3
I'm on cpu#3, I need to be on cpu#0, sleeping..
I'm on cpu#3, I need to be on cpu#0, sleeping..
I'm on cpu#3, I need to be on cpu#0, sleeping..
I'm on cpu#3, I need to be on cpu#0, sleeping..
I'm on cpu#3, I need to be on cpu#0, sleeping..
[...]
I'm on cpu#3, I need to be on cpu#0, sleeping..
timeout waiting for cpu #0!

syncing disks... done
Automatic reboot in 15 seconds - press a key on the console to abort
Rebooting...

===

Any feedback on what the problem is and/or what to do?
I'd call AMI in a heartbeet if NT had failed, but it seemed to work.

Kevin

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?199805060528.XAA03942>