Subject: -current MP kern fails to run on single HT Xeon..
To: None <port-i386@netbsd.org>
From: Jonathan Kay <jpk@panix.com>
List: port-i386
Date: 04/12/2004 11:10:44
Hello all,
I have a Dell server w/ a single Xeon w/ HyperThreading enabled.
It runs perfectly with a UP kernel, though with the exact same
kernel with MPACPI & MULTIPROCESSOR enabled it won't boot. Once
upon a time, (around 1.6O perhaps?) this worked with an MP kernel
until around version 1.6ZD, it stopped working, and I'm not sure
why. I poked at it again recently (2.0C) and it still freezes
tight (can't break to debugger) when it tries to mount the 3ware
disk root.. (the 3ware card purports to have it's own interrupt)
I suppose I'm not too bothered not having HTing, but it's strange
that it did work, and now stopped (without any hardware changes to
the machine)
Thanks!
Jonathan
here is my dmesg:
>> NetBSD/i386 BIOS Boot, Revision 2.16
>> (autobuild@tgm.daemon.org, Wed May 21 16:10:16 UTC 2003)
>> Memory: 637/1702848 k
Press return to boot now, any other key for boot menu
booting hd0a:netbsd - starting in 0
type "?" or "help" for help.
> boot netbsd.mp
booting hd0a:netbsd.mp
4894000+100484+591600 [246592+226259]=0x5c8914
kenter: 0x00001000
acpi: wakecode is installed at 0x1000, size=336
Loaded initial symtab at 0xc0654f74, strtab at 0xc0691540, # entries 14263
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 2.0C (ANEIRIN.MP) #2: Sun Apr 11 16:17:51 EDT 2004
jpk@aneirin:/usr/src/2.0Beta-040409/sys/arch/i386/compile/ANEIRIN.MP
total memory = 1663 MB
avail memory = 1603 MB
BIOS32 rev. 0 found at 0xffe90
mainbus0 (root)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel Xeon (686-class), 1993.52 MHz, id 0xf27
cpu0: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu0: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu0: I-cache 12K uOp cache 8-way, D-cache 8 KB 64b/line 4-way
cpu0: L2 cache 512 KB 64b/line 8-way
cpu0: ITLB 4K/4M: 64 entries
cpu0: DTLB 4K/4M: 64 entries
cpu0: calibrating local timer
cpu0: apic clock running at 132 MHz
cpu0: 16 page colors
cpu0: kstack at 0xcd7e0000 for 16384 bytes
cpu0: idle pcb at 0xcd7e0000, idle sp at 0xcd7e3f98
cpu1 at mainbus0: apid 1 (application processor)
cpu1: starting
cpu1: Intel Xeon (686-class), 1993.37 MHz, id 0xf27
cpu1: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu1: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu1: I-cache 12K uOp cache 8-way, D-cache 8 KB 64b/line 4-way
cpu1: L2 cache 512 KB 64b/line 8-way
cpu1: ITLB 4K/4M: 64 entries
cpu1: DTLB 4K/4M: 64 entries
cpu1: kstack at 0xcd7ec000 for 16384 bytes
cpu1: idle pcb at 0xcd7ec000, idle sp at 0xcd7eff98
ioapic0 at mainbus0 apid 2 (I/O APIC)
ioapic0: pa 0xfec00000, virtual wire mode, version 11, 16 pins
ioapic0: misconfigured as apic 0
ioapic0: remapped to apic 2
ioapic1 at mainbus0 apid 3 (I/O APIC)
ioapic1: pa 0xfec01000, virtual wire mode, version 11, 16 pins
ioapic1: misconfigured as apic 0
ioapic1: remapped to apic 3
ioapic2 at mainbus0 apid 4 (I/O APIC)
ioapic2: pa 0xfec02000, virtual wire mode, version 11, 16 pins
ioapic2: misconfigured as apic 0
ioapic2: remapped to apic 4
acpi0 at mainbus0
acpi0: using Intel ACPI CA subsystem version 20040211
acpi0: X/RSDT: OemId <DELL ,PE1600SC,00000001>, AslId <MSFT,0100000a>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
mpacpi: found root PCI bus 0 at level 1
mpacpi: found root PCI bus 1 at level 1
mpacpi: found root PCI bus 2 at level 1
mpacpi: 3 PCI busses
mpacpi: resolved all PCI buses
mpacpi: configuring PCI bus 0 int routing
mpacpi: configuring PCI bus 1 int routing
mpacpi: configuring PCI bus 2 int routing
ioapic0: int0 attached to pci1 device 0 INT_A (type 0<type=0> flags 0<pol=0,tri)
ioapic0: int1 attached to pci1 device 0 INT_B (type 0<type=0> flags 0<pol=0,tri)
ioapic0: int3 attached to pci1 device 0 INT_D (type 0<type=0> flags 0<pol=0,tri)
ioapic0: int4 attached to pci1 device 1 INT_A (type 0<type=0> flags 0<pol=0,tri)
ioapic0: int5 attached to pci1 device 1 INT_B (type 0<type=0> flags 0<pol=0,tri)
ioapic0: int6 attached to pci1 device 1 INT_C (type 0<type=0> flags 0<pol=0,tri)
ioapic0: int7 attached to pci1 device 1 INT_D (type 0<type=0> flags 0<pol=0,tri)
ioapic0: int8 attached to pci1 device 2 INT_A (type 0<type=0> flags 0<pol=0,tri)
ioapic0: int9 attached to pci1 device 2 INT_B (type 0<type=0> flags 0<pol=0,tri)
ioapic0: int10 attached to pci1 device 2 INT_C (type 0<type=0> flags 0<pol=0,tr)
ioapic0: int11 attached to pci1 device 2 INT_D (type 0<type=0> flags 0<pol=0,tr)
ioapic0: int12 attached to pci1 device 3 INT_A (type 0<type=0> flags 0<pol=0,tr)
ioapic0: int13 attached to pci1 device 3 INT_B (type 0<type=0> flags 0<pol=0,tr)
ioapic0: int14 attached to pci1 device 3 INT_C (type 0<type=0> flags 0<pol=0,tr)
ioapic0: int15 attached to pci1 device 3 INT_D (type 0<type=0> flags 0<pol=0,tr)
local apic: int1 attached to NMI (type 1<type=1=NMI> flags 0<pol=0,trig=0>)
local apic: int1 attached to NMI (type 1<type=1=NMI> flags 0<pol=0,trig=0>)
local apic: int1 attached to NMI (type 1<type=1=NMI> flags 0<pol=0,trig=0>)
local apic: int1 attached to NMI (type 1<type=1=NMI> flags 0<pol=0,trig=0>)
ioapic1: int0 attached to pci0 device 2 INT_A (type 0<type=0> flags f<pol=3=Act)
ioapic1: int9 attached to pci0 device 4 INT_A (type 0<type=0> flags f<pol=3=Act)
ioapic1: int10 attached to pci0 device 4 INT_B (type 0<type=0> flags f<pol=3=Ac)
ioapic1: int11 attached to pci0 device 4 INT_C (type 0<type=0> flags f<pol=3=Ac)
ioapic1: int12 attached to pci0 device 4 INT_D (type 0<type=0> flags f<pol=3=Ac)
ioapic1: int12 attached to pci0 device 6 INT_A (type 0<type=0> flags f<pol=3=Ac)
ioapic1: int11 attached to pci0 device 6 INT_B (type 0<type=0> flags f<pol=3=Ac)
ioapic1: int10 attached to pci0 device 6 INT_C (type 0<type=0> flags f<pol=3=Ac)
ioapic1: int9 attached to pci0 device 6 INT_D (type 0<type=0> flags f<pol=3=Act)
ioapic1: int1 attached to pci1 device 2 INT_A (type 0<type=0> flags f<pol=3=Act)
ioapic1: int2 attached to pci1 device 2 INT_B (type 0<type=0> flags f<pol=3=Act)
ioapic1: int3 attached to pci1 device 2 INT_C (type 0<type=0> flags f<pol=3=Act)
ioapic1: int4 attached to pci1 device 2 INT_D (type 0<type=0> flags f<pol=3=Act)
ioapic1: int4 attached to pci1 device 6 INT_A (type 0<type=0> flags f<pol=3=Act)
ioapic1: int3 attached to pci1 device 6 INT_B (type 0<type=0> flags f<pol=3=Act)
ioapic1: int2 attached to pci1 device 6 INT_C (type 0<type=0> flags f<pol=3=Act)
ioapic1: int1 attached to pci1 device 6 INT_D (type 0<type=0> flags f<pol=3=Act)
ioapic1: int13 attached to pci1 device 4 INT_A (type 0<type=0> flags f<pol=3=Ac)
ioapic1: int5 attached to pci2 device 2 INT_A (type 0<type=0> flags f<pol=3=Act)
ioapic1: int6 attached to pci2 device 2 INT_B (type 0<type=0> flags f<pol=3=Act)
ioapic1: int7 attached to pci2 device 2 INT_C (type 0<type=0> flags f<pol=3=Act)
ioapic1: int8 attached to pci2 device 2 INT_D (type 0<type=0> flags f<pol=3=Act)
ioapic1: int8 attached to pci2 device 4 INT_A (type 0<type=0> flags f<pol=3=Act)
ioapic1: int7 attached to pci2 device 4 INT_B (type 0<type=0> flags f<pol=3=Act)
ioapic1: int6 attached to pci2 device 4 INT_C (type 0<type=0> flags f<pol=3=Act)
ioapic1: int5 attached to pci2 device 4 INT_D (type 0<type=0> flags f<pol=3=Act)
acpi: WARNING: no matching I/O apic for SCI, assuming ioapic2
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
acpi: activated PNP0C0F
<--last message repeated 17 times-->
PNP0A03 at acpi0 not configured
PNP0200 at acpi0 not configured
npx0 at acpi0 (PNP0C04)
npx0: io 0xf0-0xff irq 13
npx0: using exception 16
PNP0000 at acpi0 not configured
PNP0800 at acpi0 not configured
PNP0100 at acpi0 not configured
fdc1 at acpi0 (PNP0700)
fdc1: io 0x3f0-0x3f5,0x3f7 irq 6 drq 2
isa_intr_establish: no MP mapping found
pckbc1 at acpi0 (PNP0303): kbd port
pckbc1: io 0x60,0x64 irq 1
com0 at acpi0 (PNP0501-1)
com0: io 0x3f8-0x3ff irq 4
com0: ns16550a, working fifo
com0: console
isa_intr_establish: no MP mapping found
lpt0 at acpi0 (PNP0401)
lpt0: io 0x378-0x37f,0x778-0x77f irq 7 drq 1
isa_intr_establish: no MP mapping found
PNP0B00 at acpi0 not configured
PNP0C01 at acpi0 not configured
PNP0C01 at acpi0 not configured
PNP0A03 at acpi0 not configured
PNP0A03 at acpi0 not configured
PNP0C0F at acpi0 not configured
<--last message repeated 32 times-->
pckbd0 at pckbc1 (kbd slot)
isa_intr_establish: no MP mapping found
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0 mux 1
pmsprobe: reset error 5
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: ServerWorks CMIC_SL Host (rev. 0x32)
pchb1 at pci0 dev 0 function 1
pchb1: ServerWorks CMIC_SL Host (rev. 0x00)
pci1 at pchb1 bus 1
pci1: no spaces enabled!
wm0 at pci0 dev 2 function 0: Intel i82540EM 1000BASE-T Ethernet, rev. 2
wm0: interrupting at ioapic1 pin 0 (irq 11)
wm0: Ethernet address 00:c0:9f:29:6f:3c
makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-Fo
ex0 at pci0 dev 4 function 0: 3Com 3c900-COMBO Ethernet (rev. 0x0)
ex0: interrupting at ioapic1 pin 9 (irq 14)
ex0: MAC address 00:60:97:7d:20:8e
ex0: 10baseT, 10baseT-FDX, 10base5, 10base2, default 10baseT
fwohci0 at pci0 dev 6 function 0: Lucent Technologies FW322/323 IEEE 1394 OHCI )
fwohci0: interrupting at ioapic1 pin 12 (irq 10)
fwohci0: OHCI 1.0, 00:60:1d:00:00:00:03:57, 400Mb/s, 2048 max_rec, 8 ir_ctx, 8 x
vga1 at pci0 dev 14 function 0: ATI Technologies Rage XL (rev. 0x27)
wsdisplay0 at vga1 kbdmux 1
wsmux1: connecting to wsdisplay0
wskbd0: connecting to wsdisplay0
pchb2 at pci0 dev 15 function 0
pchb2: ServerWorks CSB5 SouthBridge (rev. 0x93)
pci2 at pchb2 bus 1
pci2: i/o space, memory space enabled
mpt0 at pci2 dev 4 function 0: LSI Logic 53c1030 Ultra320 SCSI
mpt0: interrupting at ioapic1 pin 13 (irq 14)
scsibus0 at mpt0: 16 targets, 8 luns per target
twe0 at pci2 dev 6 function 0: 3ware Escalade
twe0: interrupting at ioapic1 pin 4 (irq 3)
twe0: 8 ports, Firmware FE7X 1.05.00.036, BIOS BE7X 1.08.00.044
ld0 at twe0 unit 1: 64K stripe RAID5, status: Normal
ld0: 916 GB, 119578 cyl, 255 head, 63 sec, 512 bytes/sect x 1921026048 sectors
ohci0 at pci0 dev 15 function 2: ServerWorks OSB4/CSB5 USB Host Controller (rev)
pci_intr_map: bus 0 dev 15 func 2 pin 1; line 5
pci_intr_map: no MP mapping found
ohci0: interrupting at irq 5
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: ServerWorks OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pcib0 at pci0 dev 15 function 3
pcib0: ServerWorks product 0x0225 (rev. 0x00)
pchb3 at pci0 dev 16 function 0
pchb3: ServerWorks CIOB-X2 (rev. 0x05)
pci3 at pchb3 bus 1
pci3: i/o space, memory space enabled
mpt1 at pci3 dev 4 function 0: LSI Logic 53c1030 Ultra320 SCSI
mpt1: unable to map device registers
twe1 at pci3 dev 6 function 0: 3ware Escalade
twe1: can't map i/o space
pchb4 at pci0 dev 16 function 2
pchb4: ServerWorks CIOB-X2 (rev. 0x05)
pci4 at pchb4 bus 2
pci4: i/o space, memory space enabled
ex1 at pci4 dev 4 function 0: 3Com 3c905C-TX 10/100 Ethernet with mngmt (rev. 0)
pci_intr_map: bus 2 dev 4 func 0 pin 1; line 14
pci_intr_map: no MP mapping found
failed to allocate interrupt slot for PIC pic0 pin 14
ex1: couldn't establish interrupt at irq 14
isa0 at pcib0
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
isapnp0: no ISA Plug 'n Play devices found
cpu0: prelint0 700<vector=0,delmode=7,dest=0> 0<target=0>
cpu0: prelint1 400<vector=0,delmode=4,dest=0> 0<target=0>
cpu0: timer0 300c0<vector=c0,delmode=0,masked,dest=0> 0<target=0>
cpu0: pcint0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu0: lint0 10700<vector=0,delmode=7,masked,dest=0> 0<target=0>
cpu0: lint1 400<vector=0,delmode=4,dest=0> 0<target=0>
cpu0: err0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
ioapic2: enabling
ioapic2: int9 180a0<vector=a0,delmode=0,level,masked,dest=0> 0<target=0>
ioapic1: enabling
ioapic1: int0 a170<vector=70,delmode=1,actlo,level,dest=0> 0<target=0>
ioapic1: int4 f162<vector=62,delmode=1,pending,actlo,irrpending,level,dest=0> 0>
ioapic1: int9 a171<vector=71,delmode=1,actlo,level,dest=0> 0<target=0>
ioapic1: int12 a160<vector=60,delmode=1,actlo,level,dest=0> 0<target=0>
ioapic1: int13 a161<vector=61,delmode=1,actlo,level,dest=0> 0<target=0>
ioapic0: enabling
twe0: command interrupt
fd0 at fdc1 drive 0: density unknown
IPsec: Initialized Security Association Processing.
fw0 at fwohci0: 00:60:1d:00:00:00:03:57:0a:02:ff:ff:f0:01:00:00
scsibus0: waiting 2 seconds for devices to settle...
st0 at scsibus0 target 3 lun 0: <HP, C1557A, U812> tape removable
st0: density code 37, variable blocks, write-enabled
ch0 at scsibus0 target 3 lun 1: <HP, C1557A, U812> changer removable
ch0: 6 slots, 1 drive, 0 pickers, 0 portals
st0: sync (100.00ns offset 32), 8-bit (10.000MB/s) transfers
ch0: sync (100.00ns offset 32), 8-bit (10.000MB/s) transfers
boot device: ld0
root on ld0a dumps on ld0b
mountroot: trying smbfs...
mountroot: trying msdos...
mountroot: trying cd9660...
mountroot: trying nfs...
mountroot: trying lfs...
mountroot: trying ext2fs...
mountroot: trying ffs...
root file system type: ffs
cpu1: prelint0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu1: prelint1 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu1: timer0 200c0<vector=c0,delmode=0,dest=0> 0<target=0>
cpu1: pcint0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu1: lint0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu1: lint1 400<vector=0,delmode=4,dest=0> 0<target=0>
cpu1: err0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu1: CPU 1 running
init: copying out path `/sbin/init' 11
Sun Apr 11 16:23