io-apic problems
I'm experiencing problems with Hyperthreading enabled.
On a DUAL xeon processor (IBM) i can just see only 2 cpus, and Hyperthreading is enable with bios.
I'm using RedHat 7.3 with
Linux version 2.4.18-3smp ([email protected]) (gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)) #1 SMP Thu Apr 18 07:27:31 EDT 2002
What should I do?
Many thanks
Alessandro Simula
Below the exact error:
root@neo:/var/log # cat dmesg
Linux version 2.4.18-3smp ([email protected]) (gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)) #1 SMP Thu Apr 18 07:27:31 EDT 2002
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009c800 (usable)
BIOS-e820: 000000000009c800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000007ffb7080 (usable)
BIOS-e820: 000000007ffb7080 - 000000007ffbf800 (ACPI data)
BIOS-e820: 000000007ffbf800 - 0000000080000000 (reserved)
BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
1151MB HIGHMEM available.
found SMP MP-table at 0009c940
hm, page 0009c000 reserved twice.
hm, page 0009d000 reserved twice.
hm, page 0009d000 reserved twice.
hm, page 0009e000 reserved twice.
WARNING: MP table in the EBDA can be UNSAFE, contact [email protected] if you experience SMP problems!
On node 0 totalpages: 524215
zone(0): 4096 pages.
zone(1): 225280 pages.
zone(2): 294839 pages.
ACPI: Searched entire block, no RSDP was found.
ACPI: RSDP located at physical address c00fdba0
RSD PTR v0 [IBM ]__va_range(0x7ffbf780, 0x68): idx=8 mapped at ffff6000
ACPI table found: RSDT v1 [IBM SERVIGIL 0.4096]__va_range(0x7ffbf700, 0x24): idx=8 mapped at ffff6000 __va_range(0x7ffbf700, 0x74): idx=8 mapped at ffff6000
ACPI table found: FACP v1 [IBM SERVIGIL 0.4096]__va_range(0x7ffbf640, 0x24): idx=8 mapped at ffff6000 __va_range(0x7ffbf640, 0x9a): idx=8 mapped at ffff6000
ACPI table found: APIC v1 [IBM SERVIGIL 0.4096]__va_range(0x7ffbf640, 0x9a): idx=8 mapped at ffff6000
LAPIC (acpi_id[0x0000] id[0x0] enabled[1])
CPU 0 (0x0000) enabledProcessor #0 Unknown CPU [15:2] APIC version 16
LAPIC (acpi_id[0x0001] id[0x12] enabled[1])
CPU 1 (0x1200) enabled<4>Processor #18 INVALID - (Max ID: 16). LAPIC (acpi_id[0x0002] id[0x1] enabled[1])
CPU 1 (0x0100) enabledProcessor #1 Unknown CPU [15:2] APIC version 16
LAPIC (acpi_id[0x0003] id[0x13] enabled[1])
CPU 2 (0x1300) enabled<4>Processor #19 INVALID - (Max ID: 16). IOAPIC (id[0xe] address[0xfec00000] global_irq_base[0x0]) IOAPIC (id[0xd] address[0xfec01000] global_irq_base[0x33]) INT_SRC_OVR (bus[0] irq[0x8] global_irq[0x8] polarity[0x3] trigger[0x1]) INT_SRC_OVR (bus[0] irq[0xe] global_irq[0xe] polarity[0x1] trigger[0x0]) INT_SRC_OVR (bus[0] irq[0x9] global_irq[0x24] polarity[0x0] trigger[0x0])LAPIC_NMI (acpi_id[0x0000] polarity[0x0] trigger[0x0] lint[0x1]) LAPIC_NMI (acpi_id[0x0001] polarity[0x0] trigger[0x0] lint[0x1]) LAPIC_NMI (acpi_id[0x0002] polarity[0x0] trigger[0x0] lint[0x1]) LAPIC_NMI (acpi_id[0x0003] polarity[0x0] trigger[0x0] lint[0x1]) 2 CPUs total
Local APIC address fee00000__va_range(0x7ffbf580, 0x24): idx=8 mapped at ffff6000 __va_range(0x7ffbf580, 0x98): idx=8 mapped at ffff6000
ACPI table found: SRAT v1 [IBM SERVIGIL 0.4096]
Enabling the CPU's according to the ACPI table
Intel MultiProcessor Specification v1.4
Virtual Wire compatibility mode.
OEM ID: IBM ENSW Product ID: VIGIL SMP APIC at: 0xFEE00000
I/O APIC #14 Version 17 at 0xFEC00000.
I/O APIC #13 Version 17 at 0xFEC01000.
Processors: 2
IBM machine detected. Enabling interrupts during APM calls. Kernel command line: ro root=/dev/sda1
Initializing CPU#0
Detected 2395.257 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 4771.02 BogoMIPS
Memory: 2064348k/2096860k available (1232k kernel code, 32112k reserved, 842k data, 304k init, 1179356k highmem)
Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes) Inode cache hash table entries: 131072 (order: 8, 1048576 bytes) Mount-cache hash table entries: 32768 (order: 6, 262144 bytes) Buffer cache hash table entries: 131072 (order: 7, 524288 bytes) Page-cache hash table entries: 524288 (order: 9, 2097152 bytes)
CPU: Before vendor init, caps: bfebfbff 00000000 00000000, vendor = 0
CPU: L1 I cache: 12K, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Physical Processor ID: 0
CPU: After vendor init, caps: bfebfbff 00000000 00000000 00000000 Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: bfebfbff 00000000 00000000 00000000 CPU: Common caps: bfebfbff 00000000 00000000 00000000
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch ([email protected])
mtrr: detected mtrr type: Intel
CPU: Before vendor init, caps: bfebfbff 00000000 00000000, vendor = 0
CPU: L1 I cache: 12K, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Physical Processor ID: 0
CPU: After vendor init, caps: bfebfbff 00000000 00000000 00000000 Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: bfebfbff 00000000 00000000 00000000 CPU: Common caps: bfebfbff 00000000 00000000 00000000 CPU0: Intel(R) Xeon(TM) CPU 2.40GHz stepping 07 per-CPU timeslice cutoff: 1462.93 usecs.
task migration cache decay timeout: 10 msecs.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Booting processor 1/1 eip 2000
Initializing CPU#1
masked ExtINT on CPU#1
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Calibrating delay loop... 4784.12 BogoMIPS
CPU: Before vendor init, caps: bfebfbff 00000000 00000000, vendor = 0
CPU: L1 I cache: 12K, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Physical Processor ID: 0
CPU: After vendor init, caps: bfebfbff 00000000 00000000 00000000 Intel machine check reporting enabled on CPU#1.
CPU: After generic, caps: bfebfbff 00000000 00000000 00000000 CPU: Common caps: bfebfbff 00000000 00000000 00000000 CPU1: Intel(R) Xeon(TM) CPU 2.40GHz stepping 07
Total of 2 processors activated (9555.14 BogoMIPS). cpu_sibling_map[0] = 1
cpu_sibling_map[1] = 0
ENABLING IO-APIC IRQs
Setting 14 in the phys_id_present_map
...changing IO-APIC physical APIC ID to 14 ... ok.
Setting 13 in the phys_id_present_map
...changing IO-APIC physical APIC ID to 13 ... ok.
init IO_APIC IRQs
IO-APIC (apicid-pin) 14-2, 14-3, 14-5, 14-7, 14-9, 14-10, 14-11, 14-15,
14-17, 14-20, 14-21, 14-22, 14-23, 14-24, 14-25, 14-26, 14-27, 14-28, 14-29, 14-30, 14-31, 14-32, 14-33, 14-34, 14-35, 14-36, 14-37, 14-38, 14-43, 14-44, 14-45, 14-46, 14-47, 14-48, 14-49, 14-50, 13-24, 13-25, 13-26, 13-27, 13-28, 13-29, 13-30, 13-31, 13-32, 13-33, 13-34, 13-35, 13-36, 13-37, 13-38, 13-39, 13-40, 13-41, 13-42, 13-43, 13-44, 13-45, 13-46, 13-47, 13-48, 13-49, 13-50 not connected.
..TIMER: vector=0x31 pin1=0 pin2=-1
number of MP IRQ sources: 39.
number of IO-APIC #14 registers: 51.
number of IO-APIC #13 registers: 51.
testing the IO APIC.......................
IO APIC #14......
.... register #00: 0E000000
....... : physical APIC id: 0E
.... register #01: 00320011
....... : max redirection entries: 0032
WARNING: unexpected IO-APIC, please mail
to [email protected]
....... : PRQ implemented: 0
....... : IO APIC version: 0011
.... register #02: 00000000
....... : arbitration: 00
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 003 03 0 0 0 0 0 1 1 31 01 003 03 0 0 0 0 0 1 1 39 02 000 00 1 0 0 0 0 0 0 00 03 000 00 1 0 0 0 0 0 0 00 04 003 03 0 0 0 0 0 1 1 41 05 000 00 1 0 0 0 0 0 0 00 06 003 03 0 0 0 0 0 1 1 49 07 000 00 1 0 0 0 0 0 0 00 08 003 03 0 0 0 1 0 1 1 51 09 000 00 1 0 0 0 0 0 0 00 0a 000 00 1 0 0 0 0 0 0 00 0b 000 00 1 0 0 0 0 0 0 00 0c 003 03 0 0 0 0 0 1 1 59 0d 003 03 0 0 0 0 0 1 1 61 0e 003 03 0 0 0 0 0 1 1 69 0f 000 00 1 0 0 0 0 0 0 00 10 003 03 1 1 0 1 0 1 1 71 11 000 00 1 0 0 0 0 0 0 00 12 003 03 1 1 0 1 0 1 1 79 13 003 03 1 1 0 1 0 1 1 81 14 000 00 1 0 0 0 0 0 0 00 15 000 00 1 0 0 0 0 0 0 00 16 000 00 1 0 0 0 0 0 0 00 17 000 00 1 0 0 0 0 0 0 00 18 000 00 1 0 0 0 0 0 0 00 19 000 00 1 0 0 0 0 0 0 00 1a 000 00 1 0 0 0 0 0 0 00 1b 000 00 1 0 0 0 0 0 0 00 1c 000 00 1 0 0 0 0 0 0 00 1d 000 00 1 0 0 0 0 0 0 00 1e 000 00 1 0 0 0 0 0 0 00 1f 000 00 1 0 0 0 0 0 0 00 20 000 00 1 0 0 0 0 0 0 00 21 000 00 1 0 0 0 0 0 0 00 22 000 00 1 0 0 0 0 0 0 00 23 000 00 1 0 0 0 0 0 0 00 24 000 00 1 0 0 0 0 0 0 00 25 000 00 1 0 0 0 0 0 0 00 26 000 00 1 0 0 0 0 0 0 00 27 003 03 1 1 0 1 0 1 1 89 28 003 03 1 1 0 1 0 1 1 91 29 003 03 1 1 0 1 0 1 1 99 2a 003 03 1 1 0 1 0 1 1 A1 2b 000 00 1 0 0 0 0 0 0 00 2c 000 00 1 0 0 0 0 0 0 00 2d 000 00 1 0 0 0 0 0 0 00 2e 000 00 1 0 0 0 0 0 0 00 2f 000 00 1 0 0 0 0 0 0 00 30 000 00 1 0 0 0 0 0 0 00 31 000 00 1 0 0 0 0 0 0 00 32 000 00 1 0 0 0 0 0 0 00
IO APIC #13......
.... register #00: 0D000000
....... : physical APIC id: 0D
.... register #01: 00320011
....... : max redirection entries: 0032
WARNING: unexpected IO-APIC, please mail
to [email protected]
....... : PRQ implemented: 0
....... : IO APIC version: 0011
.... register #02: 00000000
....... : arbitration: 00
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 003 03 1 1 0 1 0 1 1 A9 01 003 03 1 1 0 1 0 1 1 B1 02 003 03 1 1 0 1 0 1 1 B9 03 003 03 1 1 0 1 0 1 1 C1 04 003 03 1 1 0 1 0 1 1 C9 05 003 03 1 1 0 1 0 1 1 D1 06 003 03 1 1 0 1 0 1 1 D9 07 003 03 1 1 0 1 0 1 1 E1 08 003 03 1 1 0 1 0 1 1 E9 09 003 03 1 1 0 1 0 1 1 32 0a 003 03 1 1 0 1 0 1 1 3A 0b 003 03 1 1 0 1 0 1 1 42 0c 003 03 1 1 0 1 0 1 1 4A 0d 003 03 1 1 0 1 0 1 1 52 0e 003 03 1 1 0 1 0 1 1 5A 0f 003 03 1 1 0 1 0 1 1 62 10 003 03 1 1 0 1 0 1 1 6A 11 003 03 1 1 0 1 0 1 1 72 12 003 03 1 1 0 1 0 1 1 7A 13 003 03 1 1 0 1 0 1 1 82 14 003 03 1 1 0 1 0 1 1 8A 15 003 03 1 1 0 1 0 1 1 92 16 003 03 1 1 0 1 0 1 1 9A 17 003 03 1 1 0 1 0 1 1 A2 18 000 00 1 0 0 0 0 0 0 00 19 000 00 1 0 0 0 0 0 0 00 1a 000 00 1 0 0 0 0 0 0 00 1b 000 00 1 0 0 0 0 0 0 00 1c 000 00 1 0 0 0 0 0 0 00 1d 000 00 1 0 0 0 0 0 0 00 1e 000 00 1 0 0 0 0 0 0 00 1f 000 00 1 0 0 0 0 0 0 00 20 000 00 1 0 0 0 0 0 0 00 21 000 00 1 0 0 0 0 0 0 00 22 000 00 1 0 0 0 0 0 0 00 23 000 00 1 0 0 0 0 0 0 00 24 000 00 1 0 0 0 0 0 0 00 25 000 00 1 0 0 0 0 0 0 00 26 000 00 1 0 0 0 0 0 0 00 27 000 00 1 0 0 0 0 0 0 00 28 000 00 1 0 0 0 0 0 0 00 29 000 00 1 0 0 0 0 0 0 00 2a 000 00 1 0 0 0 0 0 0 00 2b 000 00 1 0 0 0 0 0 0 00 2c 000 00 1 0 0 0 0 0 0 00 2d 000 00 1 0 0 0 0 0 0 00 2e 000 00 1 0 0 0 0 0 0 00 2f 000 00 1 0 0 0 0 0 0 00 30 000 00 1 0 0 0 0 0 0 00 31 000 00 1 0 0 0 0 0 0 00 32 000 00 1 0 0 0 0 0 0 00
IRQ to pin mappings:
IRQ0 -> 0:0
IRQ1 -> 0:1
IRQ4 -> 0:4
IRQ6 -> 0:6
IRQ8 -> 0:8
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ16 -> 0:16
IRQ18 -> 0:18
IRQ19 -> 0:19
IRQ39 -> 0:39
IRQ40 -> 0:40
IRQ41 -> 0:41
IRQ42 -> 0:42
IRQ51 -> 1:0
IRQ52 -> 1:1
IRQ53 -> 1:2
IRQ54 -> 1:3
IRQ55 -> 1:4
IRQ56 -> 1:5
IRQ57 -> 1:6
IRQ58 -> 1:7
IRQ59 -> 1:8
IRQ60 -> 1:9
IRQ61 -> 1:10
IRQ62 -> 1:11
IRQ63 -> 1:12
IRQ64 -> 1:13
IRQ65 -> 1:14
IRQ66 -> 1:15
IRQ67 -> 1:16
IRQ68 -> 1:17
IRQ69 -> 1:18
IRQ70 -> 1:19
IRQ71 -> 1:20
IRQ72 -> 1:21
IRQ73 -> 1:22
IRQ74 -> 1:23
.................................... done.
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 2395.4670 MHz.
..... host bus clock speed is 99.8110 MHz.
cpu: 0, clocks: 998110, slice: 332703 CPU0<T0:998096,T1:665392,D:1,S:332703,C:998110>
cpu: 1, clocks: 998110, slice: 332703 CPU1<T0:998096,T1:332688,D:2,S:332703,C:998110>
checking TSC synchronization across CPUs: passed.
PCI: PCI BIOS revision 2.10 entry at 0xfd30d, last bus=11
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Discovered peer bus 01
PCI: Discovered peer bus 02
PCI: Discovered peer bus 05
PCI: Discovered peer bus 07
PCI: Discovered peer bus 09PCI->APIC IRQ transform: (B0,I3,P0) -> 39PCI->APIC IRQ transform: (B0,I4,P0) -> 16PCI->APIC IRQ transform: (B0,I5,P3) -> 18PCI->APIC IRQ transform: (B0,I5,P3) -> 18PCI->APIC IRQ transform: (B1,I3,P0) -> 40PCI->APIC IRQ transform: (B1,I3,P1) -> 41PCI->APIC IRQ transform: (B1,I4,P0) -> 42PCI->APIC IRQ transform: (B2,I2,P0) -> 55PCI->APIC IRQ transform: (B9,I1,P0) -> 59PCI->APIC IRQ transform: (B9,I2,P0) -> 63
PCI: Enabling Via external APIC routing
PCI: Via IRQ fixup for 00:05.2, from 11 to 2
PCI: Via IRQ fixup for 00:05.3, from 11 to 2
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket
apm: BIOS not found.
Starting kswapd
allocated 64 pages and 64 bhs reserved for the highmem bounces
VFS: Diskquotas version dquot_6.5.0 initialized
pty: 2048 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
Real Time Clock Driver v1.10e
block: 1024 slots per queue, batch=256
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xxVP_IDE: IDE controller on PCI bus 00 dev 29VP_IDE: chipset revision 6VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xxVP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci00:05.1
ide0: BM-DMA at 0x0700-0x0707, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0x0708-0x070f, BIOS settings: hdc:pio, hdd:piohda: LG CD-ROM CRN-8245B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide-floppy driver 0.99.newide
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize ide-floppy driver 0.99.newide
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.pci_hotplug: PCI Hot Plug PCI Core version: 0.4
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 16384 buckets, 128Kbytes
TCP: Hash tables configured (established 262144 bind 65536) Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 265k freed
VFS: Mounted root (ext2 filesystem).
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.5
<Adaptec aic7899 Ultra160 SCSI adapter>
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.5
<Adaptec aic7899 Ultra160 SCSI adapter>
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
scsi2 : IBM PCI ServeRAID 4.90.18 <ServeRAID 4Lx>
Vendor: IBM Model: SERVERAID Rev: 1.00 Type: Direct-Access ANSI SCSI revision: 02 Vendor: IBM Model: SERVERAID Rev: 1.00 Type: Processor ANSI SCSI revision: 02 Vendor: IBM Model: GNHv1 S2 Rev: 0 Type: Processor ANSI SCSI revision: 02
Attached scsi disk sda at scsi2, channel 0, id 0, lun 0 SCSI device sda: 71096320 512-byte hdwr sectors (36401 MB) Partition check:
sda: sda1 sda2 sda3 sda4 < sda5 >
Journalled Block Device driver loaded
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode. Freeing unused kernel memory: 304k freed
Adding Swap: 1048120k swap-space (priority -1)usb.c: registered new driver usbdevfsusb.c: registered new driver hubusb-uhci.c: $Revision: 1.275 $ time 07:32:55 Apr 18 2002 usb-uhci.c: High bandwidth mode enabledusb-uhci.c: USB UHCI at I/O 0x1880, IRQ 18usb-uhci.c: Detected 2 portsusb.c: new USB bus registered, assigned bus number 1 hub.c: USB hub foundhub.c: 2 ports detectedusb-uhci.c: USB UHCI at I/O 0x18a0, IRQ 18usb-uhci.c: Detected 2 portsusb.c: new USB bus registered, assigned bus number 2 hub.c: USB hub foundhub.c: 2 ports detectedusb-uhci.c: v1.275:USB Universal Host Controller Interface driver EXT3 FS 2.4-0.9.17, 10 Jan 2002 on sd(8,1), internal journal kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.17, 10 Jan 2002 on sd(8,5), internal journal
EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.17, 10 Jan 2002 on sd(8,3), internal journal
EXT3-fs: mounted filesystem with ordered data mode. root@neo:/var/log #