From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josh Wyatt Subject: new IO APIC for 2.4.25? Date: Fri, 27 Feb 2004 21:41:16 -0500 Sender: linux-smp-owner@vger.kernel.org Message-ID: <403FFFCC.2040404@joshua.raleigh.nc.us> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050305070604020305080602" Return-path: List-Id: To: linux-smp@vger.kernel.org This is a multi-part message in MIME format. --------------050305070604020305080602 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit I'm writing to report an "unexpected IO APIC" message when booting 2.4.25. Built 2.4.25 yesterday on one of those little shuttle minisystems (XPC), with version 0.1.3 of the hostap driver (http://hostap.epitest.fi/) . I had been running 2.4.22 previously with version 0.1.0 of the hostap driver. First boot of the new 2.4.25 kernel was about 4pm yesterday. Today the machine crashed twice around 1:30-1:40pm. I do not believe it completed booting the first time it crashed: reboot system boot 2.4.25wiresnap1 Fri Feb 27 14:36 (06:38) reboot system boot 2.4.25wiresnap1 Fri Feb 27 14:34 (06:40) jdwyatt pts/0 192.168.1.3 Fri Feb 27 14:29 - crash (00:05) With 2.4.22 the box had been very stable. I used the same .config for 2.4.25. Reading through the kernel ring buffer I saw: IO APIC #2...... .... register #00: 02000000 ....... : physical APIC id: 02 ....... : Delivery Type: 0 ....... : LTS : 0 .... register #01: 00178014 ....... : max redirection entries: 0017 ....... : PRQ implemented: 1 ....... : IO APIC version: 0014 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 Hence my email reporting this to you. I note that 2.4.22 complained of this as well: Feb 24 21:19:52 localhost kernel: IO APIC #2...... Feb 24 21:19:52 localhost kernel: .... register #00: 02000000 Feb 24 21:19:52 localhost kernel: ....... : physical APIC id: 02 Feb 24 21:19:52 localhost kernel: ....... : Delivery Type: 0 Feb 24 21:19:52 localhost kernel: ....... : LTS : 0 Feb 24 21:19:52 localhost kernel: .... register #01: 00178014 Feb 24 21:19:52 localhost kernel: ....... : max redirection entries: 0017 Feb 24 21:19:52 localhost kernel: ....... : PRQ implemented: 1 Feb 24 21:19:52 localhost kernel: ....... : IO APIC version: 0014 Feb 24 21:19:52 localhost kernel: An unexpected IO-APIC was found. If this kernel release is less than Feb 24 21:19:52 localhost kernel: three months old please report this to linux-smp@vger.kernel.org .... But I never reported it, since nothing drew my attention to it like a crash. Full dmesg output attached. Running gentoo 1.4 with gentoo's gcc3.2.3-r2, gentoo's glibc2.3.2-r1. Let me know if you folks need anymore info for the APIC bit. I'll try and track down additional info on the crash. Probably safe to assume the unexpected APIC bit did not cause the crash, since 2.4.22 did not exhibit this problem...? Thanks, Josh --------------050305070604020305080602 Content-Type: text/plain; name="dmesg" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg" Linux version 2.4.25wiresnap1 (root@protobear) (gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r2, propolice)) #1 Thu Feb 26 14:56:36 EST 2004 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 00000000000a0000 (usable) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000000fc00000 (usable) BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) 252MB LOWMEM available. ACPI: have wakeup address 0xc0001000 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: 64512 zone(0): 4096 pages. zone(1): 60416 pages. zone(2): 0 pages. ACPI: Unable to locate RSDP Intel MultiProcessor Specification v1.4 Virtual Wire compatibility mode. OEM ID: OEM00000 Product ID: PROD00000000 APIC at: 0xFEE00000 Processor #0 Pentium 4(tm) APIC version 17 I/O APIC #2 Version 17 at 0xFEC00000. Enabling APIC mode: Flat. Using 1 I/O APICs Processors: 1 Kernel command line: root=/dev/hda6 Initializing CPU#0 Detected 1693.742 MHz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 3381.65 BogoMIPS Memory: 252496k/258048k available (1450k kernel code, 5168k reserved, 560k data, 124k init, 0k highmem) Dentry cache hash table entries: 32768 (order: 6, 262144 bytes) Inode cache hash table entries: 16384 (order: 5, 131072 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer cache hash table entries: 16384 (order: 4, 65536 bytes) Page-cache hash table entries: 65536 (order: 6, 262144 bytes) CPU: Trace cache: 12K uops, L1 D cache: 8K CPU: L2 cache: 128K 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) Celeron(R) CPU 1.70GHz stepping 03 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-10, 2-11, 2-12, 2-17, 2-21, 2-22 not connected. ..TIMER: vector=0x31 pin1=2 pin2=0 number of MP IRQ sources: 19. number of IO-APIC #2 registers: 24. testing the IO APIC....................... IO APIC #2...... .... register #00: 02000000 ....... : physical APIC id: 02 ....... : Delivery Type: 0 ....... : LTS : 0 .... register #01: 00178014 ....... : max redirection entries: 0017 ....... : PRQ implemented: 1 ....... : IO APIC version: 0014 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 .... 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 001 01 0 0 0 0 0 1 1 61 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 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 000 00 1 0 0 0 0 0 0 00 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 IRQ9 -> 0:9 IRQ13 -> 0:13 IRQ14 -> 0:14 IRQ15 -> 0:15 IRQ16 -> 0:16 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 1693.7519 MHz. ..... host bus clock speed is 99.6323 MHz. cpu: 0, clocks: 996323, slice: 498161 CPU0 mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au) mtrr: detected mtrr type: Intel ACPI: Subsystem revision 20040116 ACPI: Interpreter disabled. PCI: PCI BIOS revision 2.10 entry at 0xfb570, last bus=1 PCI: Using configuration type 1 PCI: Probing PCI hardware PCI: ACPI tables contain no PCI IRQ routing entries PCI: Probing PCI hardware (bus 00) 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,I11,P0) -> 18 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 Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd VFS: Disk quotas vdquot_6.5.1 Journalled Block Device driver loaded devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au) devfs: boot_options: 0x1 pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A NET4: Frame Diverter 0.46 RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx SIS5513: IDE controller at PCI slot 00:02.5 SIS5513: chipset revision 208 SIS5513: not 100% native mode: will probe irqs later SIS5513: SiS 961 MuTIOL IDE UDMA100 controller 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: ST340810A, ATA DISK drive blk: queue c0345e60, I/O limit 4095Mb (mask 0xffffffff) hdc: 56X CD-ROM, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: attached ide-disk driver. hda: host protected area => 1 hda: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=4865/255/63, UDMA(100) Partition check: /dev/ide/host0/bus0/target0/lun0:<7>ldm_validate_partition_table(): Found an MS-DOS partition table, not a dynamic disk. p1 < p5 p6 p7 p8 > p2 p3 Initializing Cryptographic API NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 2048 buckets, 16Kbytes TCP: Hash tables configured (established 16384 bind 32768) Linux IP multicast router 0.06 plus PIM-SM NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. EXT3-fs: INFO: recovery required on readonly filesystem. EXT3-fs: write access will be enabled during recovery. kjournald starting. Commit interval 5 seconds EXT3-fs: recovery complete. EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Mounted devfs on /dev Freeing unused kernel memory: 124k freed Adding Swap: 506036k swap-space (priority -1) EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,6), internal journal 8139too Fast Ethernet driver 0.9.26 divert: allocating divert_blk for eth0 eth0: RealTek RTL8139 at 0xd084a000, 00:04:e2:00:6a:a0, IRQ 19 eth0: Identified 8139 chip type 'RTL-8139C' divert: allocating divert_blk for eth1 eth1: RealTek RTL8139 at 0xd084c000, 00:30:1b:10:2d:70, IRQ 18 eth1: Identified 8139 chip type 'RTL-8100B/8139D' Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky NET4: Ethernet Bridge 008 for NET4.0 kjournald starting. Commit interval 5 seconds EXT3-fs warning: maximal mount count reached, running e2fsck is recommended EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,7), internal journal EXT3-fs: recovery complete. EXT3-fs: mounted filesystem with ordered data mode. usb.c: registered new driver usbdevfs usb.c: registered new driver hub Real Time Clock Driver v1.10f reiserfs: found format "3.6" with standard journal reiserfs: checking transaction log (device ide0(3,8)) ... for (ide0(3,8)) ide0(3,8):Using r5 hash to sort names eth0: link up, 10Mbps, half-duplex, lpa 0x0000 eth1: link down hostap_crypt: registered algorithm 'NULL' hostap_pci: 0.1.3 - 2004-02-08 (Jouni Malinen ) divert: allocating divert_blk for wlan0 hostap_pci: Registered netdevice wlan0 prism2_hw_init: initialized in 200 ms wlan0: NIC: id=0x8013 v1.0.0 wlan0: PRI: id=0x15 v1.0.7 wlan0: STA: id=0x1f v1.3.6 wlan0: defaulting to host-based encryption as a workaround for firmware bug in Host AP mode WEP wlan0: defaulting to bogus WDS frame as a workaround for firmware bug in Host AP mode WDS wlan0: Intersil Prism2.5 PCI: mem=0xe1101000, irq=18 divert: allocating divert_blk for wireless device wlan0 entered promiscuous mode divert: allocating divert_blk for pos eth1: Promiscuous mode enabled. device eth1 entered promiscuous mode divert: allocating divert_blk for vpn pos: port 1(eth1) entering learning state wireless: port 1(wlan0) entering learning state ip_tables: (C) 2000-2002 Netfilter core team ip_conntrack version 2.1 (2016 buckets, 16128 max) - 292 bytes per conntrack pos: port 1(eth1) entering forwarding state pos: topology change detected, propagating wireless: port 1(wlan0) entering forwarding state wireless: topology change detected, propagating wlan0: 00:02:a5:a6:4f:4c auth_cb - STA authenticated wlan0: 00:02:a5:a6:4f:4c assoc_cb - STA associated divert: not allocating divert_blk for non-ethernet device tap0 device tap0 entered promiscuous mode vpn: port 1(tap0) entering learning state vpn: port 1(tap0) entering forwarding state vpn: topology change detected, propagating kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,5), internal journal EXT3-fs: mounted filesystem with ordered data mode. --------------050305070604020305080602--