hyperthreading on 2.0; no way to get it to work with my hardware.
okay_awright <[email protected]> Wed, 29 Dec 2004 23:14:56 +0100
| Newsgroups | gmane.os.netbsd.devel.smp |
|---|---|
| Message-ID | <[email protected]> |
ATT: this message has already been posted on netbsd-help on 12/27/04
w/out any answer yet
hi everyone,
this a relatively common question and i hope easily solvable.
I have a NetBSD 2.0 (release, updated from a 1.6.2) system running on an
Asus P4V8X-X (latest bios) with an Intel Pentium 4 2.40A. This is only a
workstation but I really wanted to get hyperthreading support (and
that's why i moved from 1.6.2 release to 2.0 release).
Back to the problem in itself: no matter which modifications i could
make in my kernel configuration file, i can't get hyper-threading support.
In the enclosed part is my current kernel conf file, everything works as
expected but SMP.
Activating either MPBIOS or MPACPI alone doesn't help (MPBIOS hangs the
kernel).
Just to be sure I used the plain GENERIC.MP file (mine was originally
made for 1.6.1 and updated) just slightly modified (with MPACPI and
acpi0 on) but i get the same result: no usable second "virtual" processor.
My motherboard BIOS is an AMIBIOS; the only options i can customize
regarding hyperthreading support are the MPS (1.1 versus 1.4; 1.4 is
selected) and ACPI (2.0 or not; 2.0 is selected) revisions in use.
Nothing much but dmesg shows me that the processor is already HTT ready.
may someone help me; i'm clueless. If one could take some time analyzing
the configuration file or giving me some advices...
--
Here is a dmesg output of this system:
NetBSD 2.0 ($Revision: 1.5.4 caramel$) #12: Sat Dec 18 23:19:13 UTC 2004
[email protected]:/usr/obj/sys/arch/i386/compile/CUSTOM3S-HT
total memory = 1022 MB
avail memory = 996 MB
BIOS32 rev. 0 found at 0xf0010
mainbus0 (root)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel (686-class), 2502.15 MHz, id 0xf33
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
cpu0: L2 cache 1 MB 64B/line 8-way
cpu0: ITLB 4K/4M: 128 entries
cpu0: DTLB 4K/4M: 64 entries
cpu0: calibrating local timer
cpu0: apic clock running at 138 MHz
cpu0: 32 page colors
cpu0: kstack at 0xcb674000 for 16384 bytes
cpu0: idle pcb at 0xcb674000, idle sp at 0xcb677f98
ioapic0 at mainbus0 apid 1 (I/O APIC)
ioapic0: pa 0xfec00000, virtual wire mode, version 3, 24 pins
ioapic0: misconfigured as apic 13
ioapic0: remapped to apic 1
acpi0 at mainbus0
acpi0: using Intel ACPI CA subsystem version 20040211
acpi0: X/RSDT: OemId <A M I ,OEMXSDT ,08000412>, AslId <MSFT,00000097>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
mpacpi: found root PCI bus 0 at level 1
mpacpi: 1 PCI busses
mpacpi: configuring PCI bus 0 int routing
ioapic0: pin 2 attached to isa0 irq 0 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 1 attached to isa0 irq 1 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 3 attached to isa0 irq 3 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 4 attached to isa0 irq 4 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 5 attached to isa0 irq 5 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 6 attached to isa0 irq 6 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 7 attached to isa0 irq 7 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 8 attached to isa0 irq 8 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 9 attached to isa0 irq 9 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 10 attached to isa0 irq 10 (type 0<type=0> flags
0<pol=0,trig=0>)
ioapic0: pin 11 attached to isa0 irq 11 (type 0<type=0> flags
0<pol=0,trig=0>)
ioapic0: pin 12 attached to isa0 irq 12 (type 0<type=0> flags
0<pol=0,trig=0>)
ioapic0: pin 13 attached to isa0 irq 13 (type 0<type=0> flags
0<pol=0,trig=0>)
ioapic0: pin 14 attached to isa0 irq 14 (type 0<type=0> flags
0<pol=0,trig=0>)
ioapic0: pin 15 attached to isa0 irq 15 (type 0<type=0> flags
0<pol=0,trig=0>)
ioapic0: pin 16 attached to pci0 device 1 INT_A (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 17 attached to pci0 device 1 INT_B (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 22 attached to pci0 device 17 INT_C (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 21 attached to pci0 device 16 INT_A (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 21 attached to pci0 device 16 INT_B (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 21 attached to pci0 device 16 INT_C (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 21 attached to pci0 device 16 INT_D (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 23 attached to pci0 device 18 INT_A (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 23 attached to pci0 device 18 INT_B (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 23 attached to pci0 device 18 INT_C (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 23 attached to pci0 device 18 INT_D (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 20 attached to pci0 device 15 INT_A (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 20 attached to pci0 device 15 INT_B (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 20 attached to pci0 device 15 INT_C (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 20 attached to pci0 device 15 INT_D (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 18 attached to pci0 device 10 INT_A (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 19 attached to pci0 device 10 INT_B (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 16 attached to pci0 device 10 INT_C (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 17 attached to pci0 device 10 INT_D (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 19 attached to pci0 device 11 INT_A (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 16 attached to pci0 device 11 INT_B (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 17 attached to pci0 device 11 INT_C (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 18 attached to pci0 device 11 INT_D (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 16 attached to pci0 device 12 INT_A (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 17 attached to pci0 device 12 INT_B (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 18 attached to pci0 device 12 INT_C (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 19 attached to pci0 device 12 INT_D (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 17 attached to pci0 device 13 INT_A (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 18 attached to pci0 device 13 INT_B (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 19 attached to pci0 device 13 INT_C (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 16 attached to pci0 device 13 INT_D (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 17 attached to pci0 device 9 INT_A (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 18 attached to pci0 device 9 INT_B (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 19 attached to pci0 device 9 INT_C (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 16 attached to pci0 device 9 INT_D (type 0<type=0> flags
f<pol=3=Act Lo,trig=3=Level>)
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
acpi: activated PNP0C0F
acpi: activated PNP0C0F
acpi: activated PNP0C0F
acpi: activated PNP0C0F
acpi: activated PNP0C0F
PNP0A03 at acpi0 not configured
PNP0000 at acpi0 not configured
PNP0200 at acpi0 not configured
PNP0100 at acpi0 not configured
PNP0B00 at acpi0 not configured
PNP0800 at acpi0 not configured
npx0 at acpi0 (PNP0C04)
npx0: io 0xf0-0xff irq 13
npx0: using exception 16
com0 at acpi0 (PNP0501-1)
com0: io 0x3f8-0x3ff irq 4
com0: ns16550a, working fifo
PNP0700 at acpi0 not configured
PNP0C02 at acpi0 not configured
PNP0C02 at acpi0 not configured
PNP0C02 at acpi0 not configured
PNP0C01 at acpi0 not configured
acpibut0 at acpi0 (PNP0C0C-170): ACPI Power Button
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
acpibut1 at acpi0 (PNP0C0E): ACPI Sleep Button
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: VIA Technologies product 0x3168 (rev. 0x82)
agp0 at pchb0: aperture at 0xe0000000, size 0xf900000
ppb0 at pci0 dev 1 function 0: VIA Technologies VT8377CE CPU-AGP Bridge
(KT600) (rev. 0x00)
pci1 at ppb0 bus 1
pci1: memory space enabled
vga1 at pci0 dev 9 function 0: Matrox MGA Mystique 1064SG (rev. 0x03)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
sip0 at pci0 dev 10 function 0: NatSemi DP83815 10/100 Ethernet, rev 00
sip0: interrupting at ioapic0 pin 18 (irq 5)
sip0: Ethernet address 00:40:f4:60:a4:7a
nsphyter0 at sip0 phy 0: DP83815 10/100 media interface, rev. 1
nsphyter0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
viaide0 at pci0 dev 15 function 0
viaide0: VIA Technologies VT8237 SATA Controller (rev. 0x80)
viaide0: bus-master DMA support present
viaide0: primary channel wired to native-PCI mode
viaide0: using ioapic0 pin 20 (irq 11) for native-PCI interrupt
atabus0 at viaide0 channel 0
viaide0: secondary channel wired to native-PCI mode
atabus1 at viaide0 channel 1
viaide1 at pci0 dev 15 function 1
viaide1: VIA Technologies VT8237 ATA133 controller
viaide1: bus-master DMA support present
viaide1: primary channel configured to compatibility mode
viaide1: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus2 at viaide1 channel 0
viaide1: secondary channel configured to compatibility mode
viaide1: secondary channel interrupting at ioapic0 pin 15 (irq 15)
atabus3 at viaide1 channel 1
uhci0 at pci0 dev 16 function 0: VIA Technologies VT83C572 USB
Controller (rev. 0x81)
uhci0: interrupting at ioapic0 pin 21 (irq 10)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1: VIA Technologies VT83C572 USB
Controller (rev. 0x81)
uhci1: interrupting at ioapic0 pin 21 (irq 10)
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2: VIA Technologies VT83C572 USB
Controller (rev. 0x81)
uhci2: interrupting at ioapic0 pin 21 (irq 11)
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 16 function 3: VIA Technologies VT83C572 USB
Controller (rev. 0x81)
uhci3: interrupting at ioapic0 pin 21 (irq 11)
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
VIA Technologies VT8237 EHCI USB Controller (USB serial bus, interface
0x20, revision 0x86) at pci0 dev 16 function 4 not configured
pcib0 at pci0 dev 17 function 0
pcib0: VIA Technologies VT8237 (Apollo KT600) PCI-ISA Bridge (rev. 0x00)
vr0 at pci0 dev 18 function 0: VIA VT6102 (Rhine II) 10/100 Ethernet
vr0: interrupting at ioapic0 pin 23 (irq 10)
vr0: Ethernet address: 00:0e:a6:80:6f:f9
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000004, model 0x0020, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isa0 at pcib0
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
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 1000f<vector=f,delmode=0,masked,dest=0> 0<target=0>
ioapic0: enabling
ioapic0: int1 190<vector=90,delmode=1,dest=0> 0<target=0>
ioapic0: int4 1d0<vector=d0,delmode=1,dest=0> 0<target=0>
ioapic0: int6 164<vector=64,delmode=1,dest=0> 0<target=0>
ioapic0: int9 a1a0<vector=a0,delmode=1,actlo,level,dest=0> 0<target=0>
ioapic0: int14 161<vector=61,delmode=1,dest=0> 0<target=0>
ioapic0: int15 162<vector=62,delmode=1,dest=0> 0<target=0>
ioapic0: int18 a170<vector=70,delmode=1,actlo,level,dest=0> 0<target=0>
ioapic0: int20 a160<vector=60,delmode=1,actlo,level,dest=0> 0<target=0>
ioapic0: int21 a163<vector=63,delmode=1,actlo,level,dest=0> 0<target=0>
ioapic0: int23 a171<vector=71,delmode=1,actlo,level,dest=0> 0<target=0>
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Kernelized RAIDframe activated
atapibus0 at atabus2: 2 targets
cd0 at atapibus0 drive 1: <Hewlett-Packard CD-Writer Plus 9100,
YMVAU3FTAM, 1.0c> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
wd0 at atabus2 drive 0: <IBM-DPTA-372050>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 19574 MB, 39770 cyl, 16 head, 63 sec, 512 bytes/sect x 40088160 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
wd0(viaide1:0:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using
DMA data transfers)
cd0(viaide1:0:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using
DMA data transfers)
wd1 at atabus3 drive 0: <Maxtor 6E040L0>
wd1: drive supports 16-sector PIO transfers, LBA addressing
wd1: 39205 MB, 79656 cyl, 16 head, 63 sec, 512 bytes/sect x 80293248 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd2 at atabus3 drive 1: <IBM-DHEA-38451>
wd2: drive supports 16-sector PIO transfers, LBA addressing
wd2: 8063 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 16514064 sectors
wd2: 32-bit data port
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
wd1(viaide1:1:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using
DMA data transfers)
wd2(viaide1:1:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using
DMA data transfers)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
sip0: transmit FIFO underrun; increasing Tx drain threshold to 1536 bytes
--
best regards,
sincèrement,
okay_awright
<okayawright_AT_gmail.com>
[PGP key on request]
kernel.tar.gz
(application/x-gzip, 13 KB) - not displayed