From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolai Haehnle Subject: Elitegroup L7VTA (VIA KT400): Unexpected IO-APIC Date: Sun, 23 Feb 2003 06:17:27 +0100 Sender: linux-smp-owner@vger.kernel.org Message-ID: <200302230617.27384.prefect_@gmx.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-smp@vger.kernel.org Hi, I'm trying to get Linux to run on an Elitegroup L7VTA mainboard with an Athlon XP 2400+ CPU. The mainboard uses the VIA KT400 chipset. I've tried various kernels from the 2.4.x series, up to 2.4.21-pre4. All kernels (it doesn't even matter whether they're SMP or not) complain about an unexpected IO-APIC as long as any form of APIC support is compiled into the kernel. Later, the via-rhine module successfully finds the on-board LAN; however, neither sending nor receiving work. This is probably related to the earlier APIC problem, because the output of cat /proc/interrupts is rather weird (interrupt 16 is assigned when the interface eth0 goes up, i.e. after init has started, so apparently no IRQs get through at all): <----- /proc/interrupts 0: 21395 IO-APIC-edge timer 1: 960 IO-APIC-edge keyboard 2: 0 XT-PIC cascade 14: 11160 IO-APIC-edge ide0 15: 7 IO-APIC-edge ide1 16: 0 none eth0 NMI: 0 LOC: 21348 ERR: 0 MIS: 0 -----> And these are the kernel log messages: <----- boot messages Linux version 2.4.21-pre4 (root@deadlights) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 SMP Sun Feb 23 05:15:44 CET 2003 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 00000000000a0000 (usable) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000001fff0000 (usable) BIOS-e820: 000000001fff0000 - 000000001fff3000 (ACPI NVS) BIOS-e820: 000000001fff3000 - 0000000020000000 (ACPI data) BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) 511MB LOWMEM available. found SMP MP-table at 000f54f0 hm, page 000f5000 reserved twice. hm, page 000f6000 reserved twice. hm, page 000f1000 reserved twice. hm, page 000f2000 reserved twice. On node 0 totalpages: 131056 zone(0): 4096 pages. zone(1): 126960 pages. zone(2): 0 pages. Intel MultiProcessor Specification v1.1 Virtual Wire compatibility mode. OEM ID: OEM00000 Product ID: PROD00000000 APIC at: 0xFEE00000 Processor #0 Pentium(tm) Pro APIC version 17 I/O APIC #2 Version 17 at 0xFEC00000. Enabling APIC mode: Flat.^IUsing 1 I/O APICs Processors: 1 Kernel command line: BOOT_IMAGE=Linux ro root=302 Initializing CPU#0 Detected 1994.361 MHz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 3971.48 BogoMIPS Memory: 514440k/524224k available (1695k kernel code, 9400k reserved, 535k data, 268k 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: 512 (order: 0, 4096 bytes) Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes) Page-cache hash table entries: 131072 (order: 7, 524288 bytes) CPU: CLK_CTL MSR was 60031223. Reprogramming to 20031223 CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 256K (64 bytes/line) Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. 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 (rgooch@atnf.csiro.au) mtrr: detected mtrr type: Intel CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 256K (64 bytes/line) Intel machine check reporting enabled on CPU#0. CPU0: AMD Athlon(tm) XP 2400+ stepping 01 per-CPU timeslice cutoff: 731.32 usecs. 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. ..TIMER: vector=0x31 pin1=2 pin2=0 testing the IO APIC....................... An unexpected IO-APIC was found. If this kernel release is less than three months old please report this to linux-smp@vger.kernel.org .................................... done. Using local APIC timer interrupts. calibrating APIC timer ... ..... CPU clock speed is 1994.2847 MHz. ..... host bus clock speed is 265.9046 MHz. cpu: 0, clocks: 2659046, slice: 1329523 CPU0 Waiting on wait_init_idle (map = 0x0) All processors have done init_idle PCI: PCI BIOS revision 2.10 entry at 0xfb3a0, last bus=1 PCI: Using configuration type 1 PCI: Probing PCI hardware PCI: Using IRQ router VIA [1106/3177] at 00:11.0 PCI->APIC IRQ transform: (B0,I13,P0) -> 17 PCI->APIC IRQ transform: (B0,I16,P0) -> 21 PCI->APIC IRQ transform: (B0,I16,P1) -> 21 PCI->APIC IRQ transform: (B0,I16,P2) -> 21 PCI->APIC IRQ transform: (B0,I16,P3) -> 19 PCI->APIC IRQ transform: (B0,I17,P0) -> 11 PCI->APIC IRQ transform: (B0,I17,P2) -> 22 PCI->APIC IRQ transform: (B0,I18,P0) -> 16 PCI->APIC IRQ transform: (B1,I0,P0) -> 16 PCI: Via IRQ fixup for 00:10.0, from 11 to 5 PCI: Via IRQ fixup for 00:10.1, from 12 to 5 PCI: Via IRQ fixup for 00:10.2, from 10 to 5 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 Starting kswapd Journalled Block Device driver loaded devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au) devfs: boot_options: 0x0 Installing knfsd (copyright (C) 1996 okir@monad.swb.de). NTFS driver v1.1.22 [Flags: R/O] Detected PS/2 Mouse Port. 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 Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize Linux agpgart interface v0.99 (c) Jeff Hartmann agpgart: Maximum main memory to use for agp memory: 439M agpgart: Detected Via Apollo Pro KT400 chipset [drm] Initialized tdfx 1.0.0 20010216 on minor 0 [drm] Initialized radeon 1.1.1 20010405 on minor 1 Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx VP_IDE: IDE controller at PCI slot 00:11.1 VP_IDE: chipset revision 6 VP_IDE: not 100%% native mode: will probe irqs later ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci00:11.1 ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:DMA, hdd:DMA hda: WDC WD800BB-00CAA1, ATA DISK drive hda: DMA disabled blk: queue c03c7300, I/O limit 4095Mb (mask 0xffffffff) hdc: SONY DVD-ROM DDU1612, ATAPI CD/DVD-ROM drive hdd: PHILIPS CDD6911, ATAPI CD/DVD-ROM drive hdc: DMA disabled hdd: DMA disabled ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: host protected area => 1 hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=9729/255/63, UDMA(100) hdc: ATAPI 40X DVD-ROM drive, 512kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.12 hdd: ATAPI 48X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33) Partition check: /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 > SCSI subsystem driver Revision: 1.00 scsi0 : SCSI host adapter emulation for IDE ATAPI devices es1371: version v0.32 time 05:16:34 Feb 23 2003 NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 2048 buckets, 32Kbytes TCP: Hash tables configured (established 16384 bind 21845) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. RAMDISK: Couldn't find valid RAM disk image starting at 0. Freeing initrd memory: 788k freed kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Freeing unused kernel memory: 268k freed Adding Swap: 393552k swap-space (priority -1) EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,2), internal journal -----> Please e-mail me if you need any more information to track down this problem. cu, Nicolai