Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2003 16:36:44 +0100
From:      Slawek Zak <zaks@prioris.mini.pw.edu.pl>
To:        freebsd-current@freebsd.org
Subject:   HyperThreading not working?
Message-ID:  <20030226153644.GA7808@prioris.mini.pw.edu.pl>

next in thread | raw e-mail | index | archive | help

--4Ckj6UjgE2iN1+kY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,

I'm in the process of installing 5.0-RELEASE-p3 on a Dell PowerEdge
2600 server. It has two HyperThreading Xeon 2.4Ghz processors, but
HyperThreading is not working in FreeBSD. I guess that four
processors should be visible in the system after boot. Yes - I've
enabled `Logical Processors' in BIOS. BIOS revision is the latest
available.

Any thoughts? I attach full dmesg and mptable output. Kernel
config too.

Thanks, /S

--4Ckj6UjgE2iN1+kY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="kernconf.txt"

machine		i386
cpu		I686_CPU
ident		W3
maxusers	0

#To statically compile in device wiring instead of /boot/device.hints
#hints		"GENERIC.hints"		#Default places to look for devices.

#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols

options 	INET			#InterNETworking
options 	FFS			#Berkeley Fast Filesystem
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	UFS_ACL			#Support for access control lists
options 	UFS_DIRHASH		#Improve performance on big directories
options 	MD_ROOT			#MD is a potential root device
options 	NFSCLIENT		#Network Filesystem Client
options 	MSDOSFS			#MSDOS Filesystem
options 	CD9660			#ISO 9660 Filesystem
options 	PROCFS			#Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		#Pseudo-filesystem framework
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	COMPAT_FREEBSD4		#Compatible with FreeBSD4
options 	SCSI_DELAY=7000		#Delay (in ms) before probing SCSI
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
					# output.  Adds ~215k to driver.

# Debugging for use in -current
#options 	DDB			#Enable the kernel debugger
#options 	INVARIANTS		#Enable calls of extra sanity checking
#options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
#options 	WITNESS			#Enable checks to detect deadlocks and cycles
#options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed

# To make an SMP kernel, the next two are needed
options 	SMP			# Symmetric MultiProcessor Kernel
options 	APIC_IO			# Symmetric (APIC) I/O

device		pci

# Floppy drives
device		fdc

# ATA and ATAPI devices
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
device		atapifd			# ATAPI floppy drives
device		atapist			# ATAPI tape drives
options 	ATA_STATIC_ID		#Static device numbering

# SCSI peripherals
device		scbus		# SCSI bus (required)
device		ch		# SCSI media changers
device		da		# Direct Access (disks)
device		sa		# Sequential Access (tape etc)
device		cd		# CD
device		pass		# Passthrough device (direct SCSI access)
device		ses		# SCSI Environmental Services (and SAF-TE)

# RAID controllers
device		amr		# AMI MegaRAID

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc		# AT keyboard controller
device		atkbd		# AT keyboard
device		psm		# PS/2 mouse

device		vga		# VGA video card driver

device		splash		# Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device		sc

# Enable this for the pcvt (VT220 compatible) console driver
#device		vt
#options 	XSERVER			# support for X server on a vt console
#options 	FAT_CURSOR		# start with block cursor

device		agp		# support several AGP chipsets

# Floating point support - do not disable.
device		npx

# Serial (COM) ports
device		sio		# 8250, 16[45]50 based serial ports

# PCI Ethernet NICs.
device		em		# Intel PRO/1000 adapter Gigabit Ethernet Card

# Pseudo devices - the number indicates how many units to allocate.
device		random		# Entropy device
device		loop		# Network loopback
device		ether		# Ethernet support
device		pty		# Pseudo-ttys (telnet etc)
device		md		# Memory "disks"

device		bpf		# Berkeley packet filter

options		IPFILTER
options		IPFILTER_LOG

--4Ckj6UjgE2iN1+kY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="mptable.txt"

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

MPTable, version 2.0.15

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

MP Floating Pointer Structure:

  location:			BIOS
  physical address:		0x000fe710
  signature:			'_MP_'
  length:			16 bytes
  version:			1.4
  checksum:			0x91
  mode:				Virtual Wire

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

MP Config Table Header:

  physical address:		0x000f0000
  signature:			'PCMP'
  base table length:		660
  version:			1.4
  checksum:			0x2e
  OEM ID:			'DELL    '
  Product ID:			'PE 0123     '
  OEM table pointer:		0x00000000
  OEM table size:		0
  entry count:			74
  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	 0x14	 BSP, usable	 15	 2	 7	 0xbfebfbff
		 2	 0x14	 AP, usable	 15	 2	 7	 0xbfebfbff
--
Bus:		Bus ID	Type
		 0	 PCI   
		 1	 PCI   
		 2	 PCI   
		 3	 PCI   
		 4	 PCI   
		 5	 PCI   
		 6	 PCI   
		 7	 PCI   
		 8	 PCI   
		 9	 PCI   
		10	 PCI   
		11	 PCI   
		12	 ISA   
--
I/O APICs:	APIC ID	Version	State		Address
		 4	 0x20	 usable		 0xfec00000
		 5	 0x20	 usable		 0xfec80000
		 6	 0x20	 usable		 0xfec81000
		 7	 0x20	 usable		 0xfec82000
		 8	 0x20	 usable		 0xfec82800
--
I/O Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	PIN#
		ExtINT	active-hi        edge	    12	   0	      4	   0
		INT	 conforms    conforms	    12	   1	      4	   1
		INT	 conforms    conforms	    12	   0	      4	   2
		INT	 conforms    conforms	    12	   3	      4	   3
		INT	 conforms    conforms	    12	   4	      4	   4
		INT	 conforms    conforms	    12	   6	      4	   6
		INT	 conforms    conforms	    12	   8	      4	   8
		INT	 conforms    conforms	    12	   9	      4	   9
		INT	 conforms    conforms	    12	  10	      4	  10
		INT	 conforms    conforms	    12	  12	      4	  12
		INT	 conforms    conforms	    12	  14	      4	  14
		INT	 conforms    conforms	    12	  15	      4	  15
		INT	 conforms    conforms	     0	31:A	      4	  16
		INT	 conforms    conforms	     0	29:A	      4	  16
		INT	 conforms    conforms	     0	29:C	      4	  19
		INT	 conforms    conforms	     0	31:C	      4	  18
		INT	 conforms    conforms	    11	 2:A	      4	  18
		INT	 conforms    conforms	    11	 2:B	      4	  19
		INT	 conforms    conforms	    11	 2:C	      4	  20
		INT	 conforms    conforms	     3	 1:A	      5	   4
		INT	 conforms    conforms	     8	 8:A	      7	   0
		INT	 conforms    conforms	     9	13:A	      7	   0
		INT	 conforms    conforms	     8	 8:B	      7	   1
		INT	 conforms    conforms	     9	13:B	      7	   1
		INT	 conforms    conforms	    11	 0:A	      4	  16
		INT	 conforms    conforms	    11	 0:B	      4	  17
		INT	 conforms    conforms	    11	 0:C	      4	  18
		INT	 conforms    conforms	    11	 0:D	      4	  19
		INT	 conforms    conforms	     2	 2:A	      5	   0
		INT	 conforms    conforms	     2	 2:B	      5	   1
		INT	 conforms    conforms	     2	 2:C	      5	   2
		INT	 conforms    conforms	     2	 2:D	      5	   3
		INT	 conforms    conforms	     5	 4:A	      6	   0
		INT	 conforms    conforms	     5	 4:B	      6	   1
		INT	 conforms    conforms	     5	 4:C	      6	   2
		INT	 conforms    conforms	     5	 4:D	      6	   3
		INT	 conforms    conforms	     5	 5:A	      6	   4
		INT	 conforms    conforms	     5	 5:B	      6	   5
		INT	 conforms    conforms	     5	 5:C	      6	   6
		INT	 conforms    conforms	     5	 5:D	      6	   7
		INT	 conforms    conforms	     6	 3:A	      6	   8
		INT	 conforms    conforms	     6	 3:B	      6	   9
		INT	 conforms    conforms	     6	 3:C	      6	  10
		INT	 conforms    conforms	     6	 3:D	      6	  11
		INT	 conforms    conforms	    10	 6:A	      8	   0
		INT	 conforms    conforms	    10	 6:B	      8	   1
		INT	 conforms    conforms	    10	 6:C	      8	   2
		INT	 conforms    conforms	    10	 6:D	      8	   3
		INT	 conforms    conforms	    10	 7:A	      8	   4
		INT	 conforms    conforms	    10	 7:B	      8	   5
		INT	 conforms    conforms	    10	 7:C	      8	   6
		INT	 conforms    conforms	    10	 7:D	      8	   7
--
Local Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	PIN#
		ExtINT	active-hi        edge	    12	   0	    255	   0
		NMI	active-hi        edge	    12	   0	    255	   1

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

--4Ckj6UjgE2iN1+kY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="dmesg.txt"

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 5.0-RELEASE-p3 #1: Tue Feb 25 17:03:32 GMT 2003
    root@w3.era.pl:/usr/src/sys/i386/compile/W3
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0647000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc06470a8.
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium 4 (2392.25-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
  Features=0xffffffffbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,<b31>>
real memory  = 2147352576 (2047 MB)
avail memory = 2083409920 (1986 MB)
Changing APIC ID for IO APIC #0 from 0 to 4 on chip
Changing APIC ID for IO APIC #1 from 0 to 5 on chip
Changing APIC ID for IO APIC #2 from 0 to 6 on chip
Changing APIC ID for IO APIC #3 from 0 to 7 on chip
Changing APIC ID for IO APIC #4 from 0 to 8 on chip
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
Programming 24 pins in IOAPIC #1
Programming 24 pins in IOAPIC #2
Programming 24 pins in IOAPIC #3
Programming 24 pins in IOAPIC #4
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): apic id:  0, version: 0x00050014, at 0xfee00000
 cpu1 (AP):  apic id:  2, version: 0x00050014, at 0xfee00000
 io0 (APIC): apic id:  4, version: 0x00178020, at 0xfec00000
 io1 (APIC): apic id:  5, version: 0x00178020, at 0xfec80000
 io2 (APIC): apic id:  6, version: 0x00178020, at 0xfec81000
 io3 (APIC): apic id:  7, version: 0x00178020, at 0xfec82000
 io4 (APIC): apic id:  8, version: 0x00178020, at 0xfec82800
Initializing GEOMetry subsystem
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <DELL   PE2600  > on motherboard
    ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
Using $PIR table, 12 entries at 0xc00fc160
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
acpi_cpu2: <CPU> on acpi0
acpi_cpu3: <CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
IOAPIC #0 intpin 16 -> irq 2
pcib1: <ACPI PCI-PCI bridge> at device 2.0 on pci0
pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.PCI2 - AE_NOT_FOUND
pci1: <ACPI PCI bus> on pcib1
pci1: <base peripheral, interrupt controller> at device 28.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 29.0 on pci1
pci2: <ACPI PCI bus> on pcib2
pci1: <base peripheral, interrupt controller> at device 30.0 (no driver attached)
pcib3: <ACPI PCI-PCI bridge> at device 31.0 on pci1
pci3: <ACPI PCI bus> on pcib3
IOAPIC #1 intpin 4 -> irq 5
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.4.7> port 0xece0-0xecff mem 0xfe8c0000-0xfe8dffff,0xfe8e0000-0xfe8fffff irq 5 at device 1.0 on pci3
em0:  Speed:100 Mbps  Duplex:Full
pcib4: <ACPI PCI-PCI bridge> at device 3.0 on pci0
pcib4: could not get PCI interrupt routing table for \\_SB_.PCI0.PCI3 - AE_NOT_FOUND
pci4: <ACPI PCI bus> on pcib4
pci4: <base peripheral, interrupt controller> at device 28.0 (no driver attached)
pcib5: <ACPI PCI-PCI bridge> at device 29.0 on pci4
pci5: <ACPI PCI bus> on pcib5
pci4: <base peripheral, interrupt controller> at device 30.0 (no driver attached)
pcib6: <ACPI PCI-PCI bridge> at device 31.0 on pci4
pci6: <ACPI PCI bus> on pcib6
pcib7: <ACPI PCI-PCI bridge> at device 4.0 on pci0
pcib7: could not get PCI interrupt routing table for \\_SB_.PCI0.PCI4 - AE_NOT_FOUND
pci7: <ACPI PCI bus> on pcib7
pci7: <base peripheral, interrupt controller> at device 28.0 (no driver attached)
pcib8: <ACPI PCI-PCI bridge> at device 29.0 on pci7
pci8: <ACPI PCI bus> on pcib8
IOAPIC #3 intpin 0 -> irq 7
amr0: <LSILogic MegaRAID> mem 0xfebf0000-0xfebfffff irq 7 at device 8.0 on pci8
amr0: <LSILogic PERC 4/Di> Firmware 2.01, BIOS 1.01, 128MB RAM
pci7: <base peripheral, interrupt controller> at device 30.0 (no driver attached)
pcib9: <ACPI PCI-PCI bridge> at device 31.0 on pci7
pci10: <ACPI PCI bus> on pcib9
uhci0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> port 0xcce0-0xccff irq 2 at device 29.0 on pci0
usb0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pcib10: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci11: <ACPI PCI bus> on pcib10
IOAPIC #0 intpin 18 -> irq 11
IOAPIC #0 intpin 19 -> irq 13
IOAPIC #0 intpin 20 -> irq 16
pci11: <unknown> at device 2.0 (no driver attached)
pci11: <unknown> at device 2.1 (no driver attached)
pci11: <serial bus> at device 2.2 (no driver attached)
pci11: <display, VGA> at device 4.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH3 ATA100 controller> port 0xfc00-0xfc0f,0-0x3,0-0x7,0-0x3,0-0x7 irq 2 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
orm0: <Option ROMs> at iomem 0xec000-0xeffff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
Timecounters tick every 10.000 msec
ata0-slave: timeout waiting for interrupt
ata0-slave: ATAPI identify failed
acd0: DVD-ROM <HL-DT-STDVD-ROM GDR8081N> at ata0-master PIO4
ses0 at amr0 bus 0 target 6 lun 0
ses0: <PE/PV 2x3 SCSI BP 0.29> Fixed Processor SCSI-2 device 
ses0: SAF-TE Compliant Device
ses1 at amr0 bus 1 target 6 lun 0
ses1: <PE/PV 2x3 SCSI BP 0.29> Fixed Processor SCSI-2 device 
ses1: SAF-TE Compliant Device
amrd0: <LSILogic MegaRAID logical drive> on amr0
amrd0: 34678MB (71020544 sectors) RAID 1 (optimal)
amrd1: <LSILogic MegaRAID logical drive> on amr0
amrd1: 104034MB (213061632 sectors) RAID 5 (optimal)
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/amrd0s1a

--4Ckj6UjgE2iN1+kY--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030226153644.GA7808>