From owner-freebsd-current Wed Feb 26 7:37:13 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9DE737B401 for ; Wed, 26 Feb 2003 07:37:02 -0800 (PST) Received: from prioris.mini.pw.edu.pl (prioris.mini.pw.edu.pl [194.29.178.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C12543F93 for ; Wed, 26 Feb 2003 07:37:00 -0800 (PST) (envelope-from zaks@prioris.mini.pw.edu.pl) Received: from localhost (localhost.mini.pw.edu.pl [127.0.0.1]) by prioris.mini.pw.edu.pl (Postfix) with ESMTP id 76C937D25E for ; Wed, 26 Feb 2003 16:36:56 +0100 (CET) Received: by prioris.mini.pw.edu.pl (Postfix, from userid 250) id C89C07CEDF; Wed, 26 Feb 2003 16:36:44 +0100 (CET) Date: Wed, 26 Feb 2003 16:36:44 +0100 From: Slawek Zak To: freebsd-current@freebsd.org Subject: HyperThreading not working? Message-ID: <20030226153644.GA7808@prioris.mini.pw.edu.pl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="4Ckj6UjgE2iN1+kY" Content-Disposition: inline User-Agent: Mutt/1.4i X-Virus-Scanned: by AMaViS (prioris) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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> 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: on motherboard npx0: INT 16 interface acpi0: 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: on acpi0 acpi_cpu1: on acpi0 acpi_cpu2: on acpi0 acpi_cpu3: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 IOAPIC #0 intpin 16 -> irq 2 pcib1: at device 2.0 on pci0 pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.PCI2 - AE_NOT_FOUND pci1: on pcib1 pci1: at device 28.0 (no driver attached) pcib2: at device 29.0 on pci1 pci2: on pcib2 pci1: at device 30.0 (no driver attached) pcib3: at device 31.0 on pci1 pci3: on pcib3 IOAPIC #1 intpin 4 -> irq 5 em0: port 0xece0-0xecff mem 0xfe8c0000-0xfe8dffff,0xfe8e0000-0xfe8fffff irq 5 at device 1.0 on pci3 em0: Speed:100 Mbps Duplex:Full pcib4: at device 3.0 on pci0 pcib4: could not get PCI interrupt routing table for \\_SB_.PCI0.PCI3 - AE_NOT_FOUND pci4: on pcib4 pci4: at device 28.0 (no driver attached) pcib5: at device 29.0 on pci4 pci5: on pcib5 pci4: at device 30.0 (no driver attached) pcib6: at device 31.0 on pci4 pci6: on pcib6 pcib7: at device 4.0 on pci0 pcib7: could not get PCI interrupt routing table for \\_SB_.PCI0.PCI4 - AE_NOT_FOUND pci7: on pcib7 pci7: at device 28.0 (no driver attached) pcib8: at device 29.0 on pci7 pci8: on pcib8 IOAPIC #3 intpin 0 -> irq 7 amr0: mem 0xfebf0000-0xfebfffff irq 7 at device 8.0 on pci8 amr0: Firmware 2.01, BIOS 1.01, 128MB RAM pci7: at device 30.0 (no driver attached) pcib9: at device 31.0 on pci7 pci10: on pcib9 uhci0: port 0xcce0-0xccff irq 2 at device 29.0 on pci0 usb0: 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: at device 30.0 on pci0 pci11: on pcib10 IOAPIC #0 intpin 18 -> irq 11 IOAPIC #0 intpin 19 -> irq 13 IOAPIC #0 intpin 20 -> irq 16 pci11: at device 2.0 (no driver attached) pci11: at device 2.1 (no driver attached) pci11: at device 2.2 (no driver attached) pci11: at device 4.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: 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: 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: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: 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: