From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lisa & Eric Malkowski Subject: IBM xSeries 360 4 x Xeon kernel 2.2 problems Date: Sun, 11 Aug 2002 21:29:51 -0400 Sender: linux-smp-owner@vger.kernel.org Message-ID: <3D570F8E.B0B8EE96@charter.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-smp@vger.kernel.org Cc: Eric_Malkowski@adc.com, malk@charter.net Hi- There was an e-mail thread back in march where someone had trouble running kernel 2.2.21 SMP on an IBM xSeries 360 w/ 4 processors in it. I'm trying to get 2.2 running on one of these as we are currently dependent on 2.2. A UP 2.2 kernel runs just fine. I've tried SMP 2.2.21 and 2.2.21-rc4 and get the same results. It behaves as if interrupts just aren't occurring at all. Apparently an APIC table isn't being parsed properly -- the boot messages below can help confirm this. Any 2.4 kernel seems to run just fine on this system -- so the hardware should be OK. Does anyone know of any solution to this?? or forgive me if I missed an already known solution out there -- I've scoured the web and IBM pretty well and only found the earlier thread from march 2002 timeframe. Any help would greatly appreciated / pointers to already known solutions etc. Thanks -- Eric Malkowski Here's the boot messages showing that the box doesn't get beyond SCSI RAID disk detection due to apparent lack of interrupts: Linux version 2.2.21smp (root@ma-linux-cc) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 SMP Wed Aug 7 09:11:57 EDT 2002 BIOS-provided physical RAM map: BIOS-e820: 0009c000 @ 00000000 (usable) BIOS-e820: 7efe8fc0 @ 00100000 (usable) Warning only 1984MB will be used. Intel MultiProcessor Specification v1.4 Virtual Wire compatibility mode. OEM ID: IBM ENSW Product ID: NF 6000R SMP APIC at: 0xFEE00000 Processor #0 Unknown CPU [15:1] APIC version 20 Processor #2 Unknown CPU [15:1] APIC version 20 Processor #4 Unknown CPU [15:1] APIC version 20 Processor #6 Unknown CPU [15:1] APIC version 20 I/O APIC #14 Version 17 at 0xFECA0000. Processors: 4 WARNING: MP table in the EBDA can be UNSAFE, contact linux-smp@vger.kernel.org if you experience SMP problems! mapped APIC to ffffe000 (fee00000) mapped IOAPIC to ffffd000 (feca0000) Detected 1400324 kHz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 2791.83 BogoMIPS Memory: 2009232k/2031616k available (1352k kernel code, 436k reserved, 20516k data, 80k init) Dentry hash table entries: 262144 (order 9, 2048k) Buffer cache hash table entries: 524288 (order 9, 2048k) Page cache hash table entries: 524288 (order 9, 2048k) VFS: Diskquotas version dquot_6.4.0 initialized CPU: L1 I cache: 12K, L1 D cache: 8K CPU: L2 cache: 256K CPU: L3 cache: 512K CPU: Intel(R) Xeon(TM) CPU 1.40GHz Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. Checking 386/387 coupling... OK, FPU using exception 16 error reporting. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX mtrr: v1.35a (19990819) Richard Gooch (rgooch@atnf.csiro.au) CPU: L1 I cache: 12K, L1 D cache: 8K CPU: L2 cache: 256K CPU: L3 cache: 512K CPU: Intel(R) Xeon(TM) CPU 1.40GHz Intel machine check reporting enabled on CPU#0. per-CPU timeslice cutoff: 49.99 usecs. CPU0: Intel(R) Xeon(TM) CPU 1.40GHz stepping 01 calibrating APIC timer ... ..... CPU clock speed is 1400.2495 MHz. ..... system bus clock speed is 100.0176 MHz. Booting processor 2 eip 2000 Calibrating delay loop... 2798.38 BogoMIPS CPU: L1 I cache: 12K, L1 D cache: 8K CPU: L2 cache: 256K CPU: L3 cache: 512K CPU: Intel(R) Xeon(TM) CPU 1.40GHz Intel machine check reporting enabled on CPU#2. OK. CPU2: Intel(R) Xeon(TM) CPU 1.40GHz stepping 01 Booting processor 4 eip 2000 Calibrating delay loop... 2798.38 BogoMIPS CPU: L1 I cache: 12K, L1 D cache: 8K CPU: L2 cache: 256K CPU: L3 cache: 512K CPU: Intel(R) Xeon(TM) CPU 1.40GHz Intel machine check reporting enabled on CPU#4. OK. CPU4: Intel(R) Xeon(TM) CPU 1.40GHz stepping 01 Booting processor 6 eip 2000 Calibrating delay loop... 2798.38 BogoMIPS CPU: L1 I cache: 12K, L1 D cache: 8K CPU: L2 cache: 256K CPU: L3 cache: 512K CPU: Intel(R) Xeon(TM) CPU 1.40GHz Intel machine check reporting enabled on CPU#6. OK. CPU6: Intel(R) Xeon(TM) CPU 1.40GHz stepping 01 Total of 4 processors activated (11186.99 BogoMIPS). enabling symmetric IO mode... ...done. ENABLING IO-APIC IRQs init IO_APIC IRQs IO-APIC (apicid-pin) 14-0, 14-3, 14-5, 14-11, 14-13, 14-15, 14-18WARNING: ASSIGN_IRQ_VECTOR wrapped back to 52 , 14-39, 14-40, 14-41, 14-46, 14-47, 14-48, 14-49, 14-50 not connected. ..MP-BIOS bug: 8254 timer not connected to IO-APIC ...trying to set up timer as ExtINT... failed. ...trying to set up timer as BP IRQ... works. number of MP IRQ sources: 36. number of IO-APIC #14 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 linux-smp@vger.kernel.org ....... : IO APIC version: 0011 .... register #02: 00000000 ....... : arbitration: 00 .... IRQ redirection table: NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect: 00 000 00 1 0 0 0 0 0 0 00 01 0FF 0F 1 0 0 0 0 1 1 59 02 000 00 1 0 0 0 0 0 0 00 03 000 00 1 0 0 0 0 0 0 00 04 0FF 0F 1 0 0 0 0 1 1 61 05 000 00 1 0 0 0 0 0 0 00 06 0FF 0F 1 0 0 0 0 1 1 69 07 0FF 0F 1 1 0 1 0 1 1 71 08 0FF 0F 1 0 0 1 0 1 1 79 09 0FF 0F 1 1 0 1 0 1 1 81 0a 0FF 0F 1 0 0 0 0 1 1 89 0b 000 00 1 0 0 0 0 0 0 00 0c 0FF 0F 1 0 0 0 0 1 1 91 0d 000 00 1 0 0 0 0 0 0 00 0e 0FF 0F 1 0 0 0 0 1 1 99 0f 000 00 1 0 0 0 0 0 0 00 10 0FF 0F 1 1 0 1 0 1 1 A1 11 0FF 0F 1 1 0 1 0 1 1 A9 12 000 00 1 0 0 0 0 0 0 00 13 0FF 0F 1 1 0 1 0 1 1 B1 14 0FF 0F 1 1 0 1 0 1 1 B9 15 0FF 0F 1 1 0 1 0 1 1 C1 16 0FF 0F 1 1 0 1 0 1 1 C9 17 0FF 0F 1 1 0 1 0 1 1 D1 18 0FF 0F 1 1 0 1 0 1 1 D9 19 0FF 0F 1 1 0 1 0 1 1 E1 1a 0FF 0F 1 1 0 1 0 1 1 E9 1b 0FF 0F 1 1 0 1 0 1 1 F1 1c 0FF 0F 1 1 0 1 0 1 1 F9 1d 0FF 0F 1 1 0 1 0 1 1 52 1e 0FF 0F 1 1 0 1 0 1 1 5A 1f 0FF 0F 1 1 0 1 0 1 1 62 20 0FF 0F 1 1 0 1 0 1 1 6A 21 0FF 0F 1 1 0 1 0 1 1 72 22 0FF 0F 1 1 0 1 0 1 1 7A 23 0FF 0F 1 1 0 1 0 1 1 82 24 0FF 0F 1 1 0 1 0 1 1 81 25 0FF 0F 1 1 0 1 0 1 1 8A 26 0FF 0F 1 1 0 1 0 1 1 92 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 0FF 0F 1 1 0 1 0 1 1 9A 2b 0FF 0F 1 1 0 1 0 1 1 A2 2c 0FF 0F 1 1 0 1 0 1 1 AA 2d 0FF 0F 1 1 0 1 0 1 1 B2 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 .................................... done. checking TSC synchronization across CPUs: passed. PCI: PCI BIOS revision 2.10 entry at 0xfd31c PCI: Using configuration type 1 PCI: Probing PCI hardware PCI: Discovered primary peer bus 01 PCI->APIC IRQ transform: (B0,I2,P0) -> 17 PCI->APIC IRQ transform: (B0,I3,P0) -> 42 PCI->APIC IRQ transform: (B0,I15,P0) -> 16 PCI->APIC IRQ transform: (B1,I1,P0) -> 43 PCI: BIOS reporting unknown device 0a:00 Linux NET4.0 for Linux 2.2 Based upon Swansea University Computer Society NET3.039 NET4: Unix domain sockets 1.0 for Linux NET4.0. NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP TCP: Hash tables configured (ehash 524288 bhash 65536) Initializing RT netlink socket Starting kswapd v 1.5 Detected PS/2 Mouse Port. Serial driver version 4.27 with<4>keyboard: Timeout - AT keyboard not present? MANY_PORTS MULTIPORT SHARE_IRQ enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A pty: 256 Unix98 ptys configured Real Time Clock Driver v1.09 RAM disk driver initialized: 16 RAM disks of 4096K size PCI_IDE: unknown IDE controller on PCI bus 00 device 79, VID=1166, DID=0211 PCI_IDE: not 100% native mode: will probe irqs later ide0: BM-DMA at 0x0700-0x0707, BIOS settings: hda:DMA, hdb:DMA ide1: BM-DMA at 0x0708-0x070f, BIOS settings: hdc:pio, hdd:pio hda: IRQ probe failed (0) hda: IRQ probe failed (0) hda: LG CD-ROM CRN-8245B, ATAPI CDROM drive hda: IRQ probe failed (0) hdb: IRQ probe failed (0) hdb: IRQ probe failed (0) ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hda: lost interrupt hda: lost interrupt hda: ATAPI 24X CD-ROM drive, 128kB Cache Uniform CD-ROM driver Revision: 3.11 Floppy drive(s): fd0 is 1.44M floppy0: no floppy controllers found scsi0 : IBM PCI ServeRAID 5.10.21 scsi : 1 host. (ips0) Reset Request - Flushed Cache