From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Brandt Subject: I/O APIC: AMD Errata #22 may be present. Date: Mon, 24 Oct 2005 14:47:28 -0700 Message-ID: <435D5670.1070803@ianbrandt.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Sender: linux-smp-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" To: Linux SMP Hi, I have an Appro 1124s server with a Tyan Thunder K7 S2462 motherboard, two AMD Athlon MP 1600 processors, the 760 MP chipset, and a single PCI device that is an Adaptec 2100S SCSI RAID controller (on a PCI riser/adapter of unknown origin). I've just upgraded to 2.6.13, and occasionally my server fails to boot. It seems to hang at this line: I/O APIC: AMD Errata #22 may be present. In the event of instability try booting with the "noapic" option. That line is however present in my kernel messages even on a successful boot. My entire dmesg from a successful boot, /proc/interrupts, and proc/cpuinfo are below. I've read Documentation/i386/IO-APIC.txt and have a vague understanding of what it means. I will certainly try the noapic option to see if things settle down, but is there any real world performance loss in doing so? Should I be looking into using "...the pirq= boot parameter to 'hand-construct' IRQ entries"? Is there anything else I could do to help squash this bug? Thanks! Ian Linux version 2.6.13-gentoo-r3 (root@xxx.yyy.com) (gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)) #5 SMP Wed Oct 19 12:01:24 EDT 2005 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009ec00 (usable) BIOS-e820: 000000000009ec00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000e4800 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000003fff0000 (usable) BIOS-e820: 000000003fff0000 - 000000003fff6c00 (ACPI data) BIOS-e820: 000000003fff6c00 - 0000000040000000 (ACPI NVS) BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved) 127MB HIGHMEM available. 896MB LOWMEM available. found SMP MP-table at 000f74d0 On node 0 totalpages: 262128 DMA zone: 4096 pages, LIFO batch:1 Normal zone: 225280 pages, LIFO batch:31 HighMem zone: 32752 pages, LIFO batch:15 DMI 2.3 present. Intel MultiProcessor Specification v1.4 Virtual Wire compatibility mode. OEM ID: TYAN Product ID: GUINNESS APIC at: 0xFEE00000 Processor #1 6:6 APIC version 16 Processor #0 6:6 APIC version 16 I/O APIC #2 Version 17 at 0xFEC00000. Enabling APIC mode: Flat. Using 1 I/O APICs Processors: 2 Allocating PCI resources starting at 40000000 (gap: 40000000:bec00000) Built 1 zonelists Kernel command line: auto BOOT_IMAGE=2.6.13 ro root=803 mapped APIC to ffffd000 (fee00000) mapped IOAPIC to ffffc000 (fec00000) Initializing CPU#0 PID hash table entries: 4096 (order: 12, 65536 bytes) Detected 1393.888 MHz processor. Using tsc for high-res timesource Console: colour VGA+ 80x25 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 1035500k/1048512k available (1964k kernel code, 12168k reserved, 683k data, 196k init, 131008k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 2791.34 BogoMIPS (lpj=5582684) Mount-cache hash table entries: 512 CPU: After generic identify, caps: 0383fbff c1cbfbff 00000000 00000000 00000000 00000000 00000000 CPU: After vendor identify, caps: 0383fbff c1cbfbff 00000000 00000000 00000000 00000000 00000000 CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 256K (64 bytes/line) CPU: After all inits, caps: 0383fbff c1cbfbff 00000000 00000020 00000000 00000000 00000000 mtrr: v2.0 (20020519) Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. CPU0: AMD Athlon(tm) MP 1600+ stepping 02 Booting processor 1/0 eip 2000 Initializing CPU#1 Calibrating delay using timer specific routine.. 2787.84 BogoMIPS (lpj=5575699) CPU: After generic identify, caps: 0383fbff c1cbfbff 00000000 00000000 00000000 00000000 00000000 CPU: After vendor identify, caps: 0383fbff c1cbfbff 00000000 00000000 00000000 00000000 00000000 CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 256K (64 bytes/line) CPU: After all inits, caps: 0383fbff c1cbfbff 00000000 00000020 00000000 00000000 00000000 CPU1: AMD Athlon(tm) Processor stepping 02 Total of 2 processors activated (5579.19 BogoMIPS). ENABLING IO-APIC IRQs ..TIMER: vector=0x31 pin1=2 pin2=0 checking TSC synchronization across 2 CPUs: passed. Brought up 2 CPUs NET: Registered protocol family 16 PCI: PCI BIOS revision 2.10 entry at 0xfd7c0, last bus=2 PCI: Using configuration type 1 mtrr: your CPUs had inconsistent fixed MTRR settings mtrr: probably your BIOS does not setup all CPUs. mtrr: corrected configuration. SCSI subsystem initialized PCI: Probing PCI hardware PCI: Probing PCI hardware (bus 00) Boot video device is 0000:00:0e.0 PCI: Bridge: 0000:00:01.0 IO window: disabled. MEM window: disabled. PREFETCH window: disabled. PCI: Bridge: 0000:00:08.0 IO window: disabled. MEM window: disabled. PREFETCH window: disabled. highmem bounce pool size: 64 pages VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) Initializing Cryptographic API BIOS failed to enable PCI standards compliance, fixing this error. I/O APIC: AMD Errata #22 may be present. In the event of instability try : booting with the "noapic" option. vesafb: ATI Technologies Inc., MACH64GM, 01.00 (OEM: ATI MACH64) vesafb: VBE version: 2.0 vesafb: protected mode interface info at c000:4cae vesafb: pmi: set display start = c00c4d14, set palette = c00c4d6e vesafb: pmi: ports = 1885 181f 18b4 18b8 1818 1814 18c0 18c3 18c1 vesafb: monitor limits: vf = 0 Hz, hf = 0 kHz, clk = 0 MHz vesafb: scrolling: redraw Console: switching to colour frame buffer device 80x30 vesafb: framebuffer at 0xf5000000, mapped to 0xf8880000, using 4096k, total 4096k fb0: VESA VGA frame buffer device serio: i8042 AUX port at 0x60,0x64 irq 12 serio: i8042 KBD port at 0x60,0x64 irq 1 Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A mice: PS/2 mouse device common for all mice io scheduler noop registered io scheduler deadline registered RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize loop: loaded (max 8 devices) 3c59x: Donald Becker and others. www.scyld.com/network/vortex.html 0000:00:0f.0: 3Com PCI 3c980C Python-T at 0x1c00. Vers LK1.1.19 0000:00:10.0: 3Com PCI 3c980C Python-T at 0x1c80. Vers LK1.1.19 Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx AMD7411: IDE controller at PCI slot 0000:00:07.1 AMD7411: chipset revision 1 AMD7411: not 100% native mode: will probe irqs later AMD7411: 0000:00:07.1 (rev 01) UDMA100 controller ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio Probing IDE interface ide0... input: AT Translated Set 2 keyboard on isa0060/serio0 hda: CD-224E, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 Probing IDE interface ide1... Probing IDE interface ide1... hda: ATAPI 24X CD-ROM drive, 128kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20 Loading Adaptec I2O RAID: Version 2.4 Build 5go Detecting Adaptec I2O RAID controllers... Adaptec I2O RAID controller 0 at f8d00000 size=100000 irq=10 dpti: If you have a lot of devices this could take a few minutes. dpti0: Reading the hardware resource table. TID 008 Vendor: ADAPTEC Device: AIC-7899 Rev: 00000001 TID 515 Vendor: QLogic Device: GEM359 Rev: 1.07 TID 518 Vendor: ADAPTEC Device: RAID-1 Rev: 370F scsi0 : Vendor: Adaptec Model: 2100S FW:370F Vendor: ADAPTEC Model: RAID-1 Rev: 370F Type: Direct-Access ANSI SCSI revision: 02 Vendor: QLogic Model: GEM359 Rev: 1.07 Type: Processor ANSI SCSI revision: 02 scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36 aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs scsi2 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36 aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs SCSI device sda: 71686144 512-byte hdwr sectors (36703 MB) SCSI device sda: drive cache: write back SCSI device sda: 71686144 512-byte hdwr sectors (36703 MB) SCSI device sda: drive cache: write back sda: sda1 sda2 sda3 Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0 Attached scsi generic sg1 at scsi0, channel 0, id 9, lun 0, type 3 NET: Registered protocol family 2 IP route cache hash table entries: 65536 (order: 6, 262144 bytes) TCP established hash table entries: 262144 (order: 9, 2097152 bytes) TCP bind hash table entries: 65536 (order: 7, 524288 bytes) TCP: Hash tables configured (established 262144 bind 65536) TCP reno registered TCP bic registered NET: Registered protocol family 1 NET: Registered protocol family 17 Starting balanced_irq Using IPI Shortcut mode ReiserFS: sda3: found reiserfs format "3.6" with standard journal ReiserFS: sda3: using ordered data mode ReiserFS: sda3: journal params: device sda3, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 ReiserFS: sda3: checking transaction log (sda3) ReiserFS: sda3: Using r5 hash to sort names VFS: Mounted root (reiserfs filesystem) readonly. Freeing unused kernel memory: 196k freed Adding 1052248k swap on /dev/sda2. Priority:-1 extents:1 usbcore: registered new driver usbfs usbcore: registered new driver hub # cat /proc/interrupts CPU0 CPU1 0: 7861038 5665 IO-APIC-edge timer 1: 3 5 IO-APIC-edge i8042 2: 0 0 XT-PIC cascade 3: 44315 1 IO-APIC-level eth0 5: 0 15 IO-APIC-level aic7xxx 10: 106450 32 IO-APIC-level dpti0, aic7xxx 11: 0 0 IO-APIC-level ohci_hcd:usb1 14: 12 14 IO-APIC-edge ide0 NMI: 0 0 LOC: 7866805 7866803 ERR: 0 MIS: 0 # cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 6 model name : AMD Athlon(tm) MP 1600+ stepping : 2 cpu MHz : 1393.888 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow bogomips : 2791.34 processor : 1 vendor_id : AuthenticAMD cpu family : 6 model : 6 model name : AMD Athlon(tm) Processor stepping : 2 cpu MHz : 1393.888 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow bogomips : 2787.84