From mboxrd@z Thu Jan 1 00:00:00 1970 From: brian@rentec.com Subject: WARNING: unexpected IO-APIC Date: Thu, 29 Aug 2002 12:06:06 -0400 Sender: linux-smp-owner@vger.kernel.org Message-ID: <20020829160604.GC16745@rentec.com> 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 I've been having problems getting the IO-APIC working properly. When I use the 'noapic' flag, everything works fine. Without it my on-board ethernet doesn't work (dbecker confirmed it was in interrupt problem, not a driver problem). I've found that 'pirq=9,0,0,11,7,11,5,10' will make irq's match 'noapic', but the ethernet still doesn't work. That double 11 had me a bit concerned, so I also tried 'pirq=9,0,0,0,7,11,5,10', but that didn't help. I'm using a SpaceShuttle SS50 (sis chipset) motherboard. Thanks in advance for any help Brian *************************************************************** PS: here's my dmesg, I didn't use this pirq flag for this boot. Linux version 2.4.18-bf2.4 (root@zombie) (gcc version 2.95.4 20011002 (Debian pr erelease)) #1 Son Apr 14 09:53:28 CEST 2002 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000001bff0000 (usable) BIOS-e820: 000000001bff0000 - 000000001bff3000 (ACPI NVS) BIOS-e820: 000000001bff3000 - 000000001c000000 (ACPI data) BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) found SMP MP-table at 000f4990 hm, page 000f4000 reserved twice. hm, page 000f5000 reserved twice. hm, page 000f1000 reserved twice. hm, page 000f2000 reserved twice. On node 0 totalpages: 114672 zone(0): 4096 pages. zone(1): 110576 pages. zone(2): 0 pages. Intel MultiProcessor Specification v1.4 Virtual Wire compatibility mode. OEM ID: OEM00000 Product ID: PROD00000000 APIC at: 0xFEE00000 Processor #0 Unknown CPU [15:2] APIC version 17 I/O APIC #2 Version 17 at 0xFEC00000. Processors: 1 Kernel command line: BOOT_IMAGE=linux ro root=302 hdc=ide-scsi ide_setup: hdc=ide-scsi Initializing CPU#0 Detected 1992.624 MHz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 3971.48 BogoMIPS Memory: 448168k/458688k available (1783k kernel code, 10132k reserved, 549k data , 280k 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 2.00GHz stepping 04 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. Checking for popad bug... 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-21, 2-22 not connected. ..TIMER: vector=0x31 pin1=2 pin2=0 number of MP IRQ sources: 18. 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 001 01 0 0 0 0 0 1 1 61 0d 001 01 0 0 0 0 0 1 1 69 0e 001 01 0 0 0 0 0 1 1 71 0f 001 01 0 0 0 0 0 1 1 79 10 001 01 1 1 0 1 0 1 1 81 11 001 01 1 1 0 1 0 1 1 89 12 001 01 1 1 0 1 0 1 1 91 13 001 01 1 1 0 1 0 1 1 99 14 001 01 1 1 0 1 0 1 1 A1 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 A9 IRQ to pin mappings: IRQ0 -> 0:2 IRQ1 -> 0:1 IRQ3 -> 0:3 IRQ4 -> 0:4 IRQ6 -> 0:6 IRQ8 -> 0:8 IRQ12 -> 0:12 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 1992.6967 MHz. ..... host bus clock speed is 99.6347 MHz. cpu: 0, clocks: 996347, slice: 498173 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,I15,P0) -> 18 PCI->APIC IRQ transform: (B0,I16,P0) -> 19 PCI->APIC IRQ transform: (B1,I0,P0) -> 16 Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd VFS: Diskquotas version dquot_6.4.0 initialized Journalled Block Device driver loaded vga16fb: initializing vga16fb: mapped to 0xc00a0000 Console: switching to colour frame buffer device 80x30 fb0: VGA16 VGA frame buffer device pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI en abled ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A Real Time Clock Driver v1.10e block: 128 slots per queue, batch=32 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize 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: WDC WD1200JB-75CRA0, ATA DISK drive hdc: PIONEER DVD-RW DVR-104, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: 234375000 sectors (120000 MB) w/8192KiB Cache, CHS=14589/255/63, UDMA(100) ide-floppy driver 0.97.sv Partition check: hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 > FDC 0 is a post-1991 82077 Loading I2O Core - (c) Copyright 1999 Red Hat Software I2O configuration manager v 0.04. (C) Copyright 1999 Red Hat Software loop: loaded (max 8 devices) Compaq CISS Driver (v 2.4.5) 8139cp 10/100 PCI Ethernet driver v0.0.6 (Nov 19, 2001) 8139cp: pci dev 00:0f.0 (id 10ec:8139 rev 10) is not an 8139C+ compatible chip 8139cp: Try the "8139too" driver instead. 8139too Fast Ethernet driver 0.9.24 eth0: RealTek RTL8139 Fast Ethernet at 0xdc81a000, 00:30:1b:10:07:32, IRQ 18 eth0: Identified 8139 chip type 'RTL-8139C' HDLC support module revision 1.02 for Linux 2.4 Cronyx Ltd, Synchronous PPP and CISCO HDLC (c) 1994 Linux port (c) 1998 Building Number Three Ltd & Jan "Yenya" Kasprzak. ide-floppy driver 0.97.sv Promise Fasttrak(tm) Softwareraid driver 0.03beta: No raid array found Highpoint HPT370 Softwareraid driver for linux version 0.01 No raid array found SCSI subsystem driver Revision: 1.00 Red Hat/Adaptec aacraid driver, Apr 14 2002 DC390: 0 adapters found 3ware Storage Controller device driver for Linux v1.02.00.016. 3w-xxxx: No cards with valid units found. request_module[scsi_hostadapter]: Root fs not mounted request_module[scsi_hostadapter]: Root fs not mounted i2o_scsi.c: Version 0.0.1 chain_pool: 0 bytes @ c170edc0 (512 byte buffers X 4 can_queue X 0 i2o controllers) 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: 280k freed Adding Swap: 2000084k swap-space (priority -1) EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,2), internal journal usb.c: registered new driver usbdevfs usb.c: registered new driver hub usb-ohci.c: USB OHCI at membase 0xdc925000, 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 0xdc927000, 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 keyboard usbkbd.c: :USB HID Boot Protocol keyboard driver kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,1), 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 ide0(3,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 ide0(3,6), internal journal EXT3-fs: mounted filesystem with ordered data mode. lp: driver loaded but no devices found cmpci: version $Revision: 5.64 $ time 10:28:18 Apr 14 2002 cmpci: found CM8738 adapter at io 0xe000 irq 17 cmpci: chip version = 055 cmpci: Inverse SPDIF-in cmpci: Enable SPDIF loop scsi0 : SCSI host adapter emulation for IDE ATAPI devices Vendor: PIONEER Model: DVD-RW DVR-104 Rev: 1.20 Type: CD-ROM ANSI SCSI revision: 02 Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray Uniform CD-ROM driver Revision: 3.12 eth0: Setting half-duplex based on auto-negotiated partner ability 0000. 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 half-duplex based on auto-negotiated partner ability 0000.