From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Goode Subject: unexpected IO-APIC on Shuttle FS50 Date: Sat, 8 Jun 2002 11:23:56 -0400 Sender: linux-smp-owner@vger.kernel.org Message-ID: <20020608152355.GA26405@evdebs.org> Mime-Version: 1.0 Return-path: Content-Disposition: inline List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-smp@vger.kernel.org Hi, I have a Shuttle SS50 barebones PC (with Shuttle FS50 motherboard). It is a Pentium 4 uniprocessor with integrated everything. When I boot with apic enabled, I get "unexpected IO-APIC" and most of my devices don't work. (All those reported as "IO-APIC-level" interrupt.) This happens with both MPS 1.1 and 1.4. When I boot with "noapic", the problem goes away (but I share a lot of interrupts). Please let me know if you need more information. Thanks, Adam The board: http://www.shuttleonline.com/spec.php3?model=ss50 /proc/interrupts: CPU0 0: 10317 IO-APIC-edge timer 1: 274 IO-APIC-edge keyboard 2: 0 XT-PIC cascade 8: 3 IO-APIC-edge rtc 14: 1732 IO-APIC-edge ide0 15: 7 IO-APIC-edge ide1 17: 0 IO-APIC-level cmpci 18: 0 IO-APIC-level eth0 19: 0 IO-APIC-level ohci1394, bttv 20: 0 IO-APIC-level usb-ohci 23: 0 IO-APIC-level usb-ohci NMI: 0 LOC: 10271 ERR: 0 MIS: 0 dmesg: Linux version 2.4.19-pre10-ac2 (root@soledad) (gcc version 2.95.4 20011002 (Debian prerelease)) #2 Fri Jun 7 23:00:12 EDT 2002 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 00000000000a0000 (usable) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 0000000015ff0000 (usable) BIOS-e820: 0000000015ff0000 - 0000000015ff3000 (ACPI NVS) BIOS-e820: 0000000015ff3000 - 0000000016000000 (ACPI data) BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) 351MB LOWMEM available. found SMP MP-table at 000f49e0 hm, page 000f4000 reserved twice. hm, page 000f5000 reserved twice. hm, page 000f1000 reserved twice. hm, page 000f2000 reserved twice. On node 0 totalpages: 90096 zone(0): 4096 pages. zone(1): 86000 pages. zone(2): 0 pages. ACPI: Searched entire block, no RSDP was found. ACPI: RSDP located at physical address c00f6420 RSD PTR v0 [AWARD ] __va_range(0x15ff3000, 0x68): idx=8 mapped at ffff6000 ACPI table found: RSDT v1 [AWARD AWRDACPI 16944.11825] __va_range(0x15ff3040, 0x24): idx=8 mapped at ffff6000 __va_range(0x15ff3040, 0x74): idx=8 mapped at ffff6000 ACPI table found: FACP v1 [AWARD AWRDACPI 16944.11825] __va_range(0x15ff6740, 0x24): idx=8 mapped at ffff6000 __va_range(0x15ff6740, 0x54): idx=8 mapped at ffff6000 ACPI table found: APIC v1 [AWARD AWRDACPI 16944.11825] __va_range(0x15ff6740, 0x54): idx=8 mapped at ffff6000 LAPIC (acpi_id[0x0000] id[0x0] enabled[1]) CPU 0 (0x0000) enabledProcessor #0 Pentium 4(tm) XEON(tm) APIC version 16 IOAPIC (id[0x2] address[0xfec00000] global_irq_base[0x0]) INT_SRC_OVR (bus[0] irq[0x0] global_irq[0x2] polarity[0x0] trigger[0x0]) INT_SRC_OVR (bus[0] irq[0x9] global_irq[0x9] polarity[0x0] trigger[0x0]) 1 CPUs total Local APIC address fee00000 Enabling the CPU's according to the ACPI table Intel MultiProcessor Specification v1.4 Virtual Wire compatibility mode. OEM ID: OEM00000 Product ID: PROD00000000 APIC at: 0xFEE00000 I/O APIC #2 Version 17 at 0xFEC00000. Processors: 1 Kernel command line: BOOT_IMAGE=Linux ro root=303 noapic apic single Initializing CPU#0 Detected 1594.101 MHz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 3178.49 BogoMIPS Memory: 353592k/360384k available (1007k kernel code, 6408k reserved, 294k data, 244k init, 0k highmem) Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) Inode cache hash table entries: 32768 (order: 6, 262144 bytes) Mount cache hash table entries: 8192 (order: 4, 65536 bytes) Buffer cache hash table entries: 32768 (order: 5, 131072 bytes) Page-cache hash table entries: 131072 (order: 7, 524288 bytes) CPU: Before vendor init, caps: 3febfbff 00000000 00000000, vendor = 0 CPU: L1 I cache: 12K, L1 D cache: 8K CPU: L2 cache: 512K CPU: After vendor init, caps: 3febfbff 00000000 00000000 00000000 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU: After generic, caps: 3febfbff 00000000 00000000 00000000 CPU: Common caps: 3febfbff 00000000 00000000 00000000 CPU: Intel(R) Pentium(R) 4 CPU 1.60GHz stepping 04 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX enabled ExtINT on CPU#0 ESR value before enabling vector: 00000000 ESR value after enabling vector: 00000000 ENABLING IO-APIC IRQs Setting 2 in the phys_id_present_map ...changing IO-APIC physical APIC ID to 2 ... ok. init IO_APIC IRQs IO-APIC (apicid-pin) 2-0, 2-5, 2-7, 2-9, 2-10, 2-11, 2-12, 2-21, 2-22 not connected. ..TIMER: vector=0x31 pin1=2 pin2=0 number of MP IRQ sources: 20. number of IO-APIC #2 registers: 24. testing the IO APIC....................... IO APIC #2...... .... register #00: 02000000 ....... : physical APIC id: 02 .... register #01: 00178014 ....... : max redirection entries: 0017 ....... : PRQ implemented: 1 ....... : IO APIC version: 0014 WARNING: unexpected IO-APIC, please mail to linux-smp@vger.kernel.org .... 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 001 01 0 0 0 0 0 1 1 39 02 001 01 0 0 0 0 0 1 1 31 03 001 01 0 0 0 0 0 1 1 41 04 001 01 0 0 0 0 0 1 1 49 05 000 00 1 0 0 0 0 0 0 00 06 001 01 0 0 0 0 0 1 1 51 07 000 00 1 0 0 0 0 0 0 00 08 001 01 0 0 0 0 0 1 1 59 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 000 00 1 0 0 0 0 0 0 00 0d 001 01 0 0 0 0 0 1 1 61 0e 001 01 0 0 0 0 0 1 1 69 0f 001 01 0 0 0 0 0 1 1 71 10 001 01 1 1 0 1 0 1 1 79 11 001 01 1 1 0 1 0 1 1 81 12 001 01 1 1 0 1 0 1 1 89 13 001 01 1 1 0 1 0 1 1 91 14 001 01 1 1 0 1 0 1 1 99 15 000 00 1 0 0 0 0 0 0 00 16 000 00 1 0 0 0 0 0 0 00 17 001 01 1 1 0 1 0 1 1 A1 IRQ to pin mappings: IRQ0 -> 0:2 IRQ1 -> 0:1 IRQ3 -> 0:3 IRQ4 -> 0:4 IRQ6 -> 0:6 IRQ8 -> 0:8 IRQ13 -> 0:13 IRQ14 -> 0:14 IRQ15 -> 0:15 IRQ16 -> 0:16 IRQ17 -> 0:17 IRQ18 -> 0:18 IRQ19 -> 0:19 IRQ20 -> 0:20 IRQ23 -> 0:23 .................................... done. Using local APIC timer interrupts. calibrating APIC timer ... ..... CPU clock speed is 1594.2144 MHz. ..... host bus clock speed is 99.6382 MHz. cpu: 0, clocks: 996382, slice: 498191 CPU0 mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au) mtrr: detected mtrr type: Intel PCI: PCI BIOS revision 2.10 entry at 0xfb570, last bus=1 PCI: Using configuration type 1 PCI: Probing PCI hardware PCI: Using IRQ router default [1039/0650] at 00:00.0 PCI->APIC IRQ transform: (B0,I2,P3) -> 20 PCI->APIC IRQ transform: (B0,I2,P0) -> 23 PCI->APIC IRQ transform: (B0,I10,P0) -> 17 PCI->APIC IRQ transform: (B0,I11,P0) -> 18 PCI->APIC IRQ transform: (B0,I12,P0) -> 19 PCI->APIC IRQ transform: (B0,I12,P0) -> 19 PCI->APIC IRQ transform: (B0,I15,P0) -> 18 PCI->APIC IRQ transform: (B0,I16,P0) -> 19 PCI->APIC IRQ transform: (B1,I0,P0) -> 16 isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found PnPBIOS: Found PnP BIOS installation structure at 0xc00fbfa0 PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0xbfd0, dseg 0xf0000 PnPBIOS: 14 nodes reported by PnP BIOS; 14 recorded by driver PnPBIOS: PNP0c02: ioport range 0x1000-0x107f has been reserved PnPBIOS: PNP0c02: ioport range 0x1080-0x109f has been reserved Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16) Starting kswapd VFS: Diskquotas version dquot_6.5.0 initialized Journalled Block Device driver loaded devfs: v1.12a (20020514) Richard Gooch (rgooch@atnf.csiro.au) devfs: boot_options: 0x0 pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A block: 672 slots per queue, batch=168 Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx SIS5513: IDE controller on PCI bus 00 dev 15 SIS5513: chipset revision 208 SIS5513: not 100% native mode: will probe irqs later SiS650 ide0: BM-DMA at 0x4000-0x4007, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0x4008-0x400f, BIOS settings: hdc:DMA, hdd:pio hda: MAXTOR 6L080L4, ATA DISK drive hdc: TDK CDRW241040X, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: host protected area => 1 hda: 156355584 sectors (80054 MB) w/1819KiB Cache, CHS=9732/255/63, UDMA(100) Partition check: /dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 > p3 usb.c: registered new driver usbdevfs usb.c: registered new driver hub usb-ohci.c: USB OHCI at membase 0xd6802000, IRQ 20 usb-ohci.c: usb-00:02.2, Silicon Integrated Systems [SiS] 7001 usb.c: new USB bus registered, assigned bus number 1 hub.c: USB hub found hub.c: 3 ports detected usb-ohci.c: USB OHCI at membase 0xd6804000, IRQ 23 usb-ohci.c: usb-00:02.3, Silicon Integrated Systems [SiS] 7001 (#2) usb.c: new USB bus registered, assigned bus number 2 hub.c: USB hub found hub.c: 3 ports detected usb.c: registered new driver hid hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik hid-core.c: USB HID support drivers mice: PS/2 mouse device common for all mice NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 4096 buckets, 32Kbytes TCP: Hash tables configured (established 32768 bind 32768) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Freeing unused kernel memory: 244k freed hub.c: USB new device connect on bus1/2, assigned device number 2 Adding Swap: 2000052k swap-space (priority -1) EXT3 FS 2.4-0.9.18, 14 May 2002 on ide0(3,3), internal journal Real Time Clock Driver v1.10e usb_control/bulk_msg: timeout usb-ohci.c: unlink URB timeout usb.c: USB device not accepting new address=2 (error=-110) hub.c: USB new device connect on bus1/2, assigned device number 3 8139too Fast Ethernet driver 0.9.24 eth0: RealTek RTL8139 Fast Ethernet at 0xd6906000, 00:30:1b:10:18:15, IRQ 18 eth0: Identified 8139 chip type 'RTL-8139C' cmpci: version $Revision: 5.64 $ time 23:04:52 Jun 7 2002 cmpci: found CM8738 adapter at io 0xe000 irq 17 cmpci: chip version = 055 ohci1394: $Revision: 1.101 $ Ben Collins ohci1394_0: OHCI-1394 1.0 (PCI): IRQ=[19] MMIO=[e1106000-e1107000] Max Packet=[2048] SCSI subsystem driver Revision: 1.00 scsi0 : SCSI host adapter emulation for IDE ATAPI devices Vendor: TDK Model: CDRW241040X Rev: 6v36 Type: CD-ROM ANSI SCSI revision: 02 Linux video capture interface: v1.00 i2c-core.o: i2c core module i2c-algo-bit.o: i2c bit algorithm module bttv: driver version 0.7.91 loaded bttv: using 2 buffers with 2080k (4160k total) for capture bttv: Host bridge is PCI device 1039:0650 (Silicon Integrated Systems [SiS]) bttv: Bt8xx card found (0). bttv0: Bt878 (rev 2) at 00:0c.0, irq: 19, latency: 32, memory: 0xe1103000 bttv0: detected: ATI TV Wonder [card=63], PCI subsystem ID is 1002:0001 bttv0: using: BT878(ATI TV-Wonder) [card=63,autodetected] i2c-core.o: adapter bt848 #0 registered as adapter 0. bttv0: i2c: checking for MSP34xx @ 0x80... found i2c-core.o: driver i2c msp3400 driver registered. msp34xx: init: chip=MSP3430G-A1, has NICAM support msp3410: daemon started bttv0: i2c attach [client=MSP3430G-A1,ok] i2c-core.o: client [MSP3430G-A1] registered to adapter [bt848 #0](pos. 0). bttv0: i2c: checking for TDA9875 @ 0xb0... not found bttv0: i2c: checking for TDA7432 @ 0x8a... not found i2c-core.o: driver i2c TV tuner driver registered. tuner: probing bt848 #0 i2c adapter [id=0x10005] tuner: chip found @ 0xc0 bttv0: i2c attach [client=Temic PAL* auto (4006 FN5),ok] i2c-core.o: client [Temic PAL* auto (4006 FN5)] registered to adapter [bt848 #0](pos. 1). bttv0: registered device video0 bttv0: registered device vbi0 eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 45e1. natsemi.c:v1.07 1/9/2001 Written by Donald Becker http://www.scyld.com/network/natsemi.html (unofficial 2.4.x kernel port, version 1.07+LK1.0.14, Nov 27, 2001 Jeff Garzik, Tjeerd Mulder) eth1: NatSemi DP8381[56] at 0xd697f000, 00:a0:cc:76:2b:69, IRQ 18. inserting floppy driver for 2.4.19-pre10-ac2 Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray Uniform CD-ROM driver Revision: 3.12 NTFS driver v1.1.22 [Flags: R/O MODULE] NTFS: Warning! NTFS volume version is Win2k+: Mounting read-only usb_control/bulk_msg: timeout usb-ohci.c: unlink URB timeout usb.c: USB device not accepting new address=3 (error=-110) NETDEV WATCHDOG: eth0: transmit timed out eth0: Tx queue start entry 4 dirty entry 0. eth0: Tx descriptor 0 is 00002000. (queue head) eth0: Tx descriptor 1 is 00002000. eth0: Tx descriptor 2 is 00002000. eth0: Tx descriptor 3 is 00002000. eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 45e1. NETDEV WATCHDOG: eth0: transmit timed out eth0: Tx queue start entry 4 dirty entry 0. eth0: Tx descriptor 0 is 00002000. (queue head) eth0: Tx descriptor 1 is 00002000. eth0: Tx descriptor 2 is 00002000. eth0: Tx descriptor 3 is 00002000. eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 45e1. lspci -vvv: 00:00.0 Host bridge: Silicon Integrated Systems [SiS]: Unknown device 0650 (rev 01) Subsystem: Silicon Integrated Systems [SiS]: Unknown device 0650 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- 00:01.0 PCI bridge: Silicon Integrated Systems [SiS] 5591/5592 AGP (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Reset- FastB2B- 00:02.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- [disabled] [size=64K] Capabilities: [40] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=320mA PME(D0+,D1+,D2+,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:0c.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 02) Subsystem: ATI Technologies Inc: Unknown device 0001 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR-