APIC problems .. AMD MPX chipset

From: Patrick Finnegan (pat@purdueriots.com)
Date: Fri Feb 28 2003 - 13:31:28 EST


I've had this promblem since 2.4.x, and have just used the 'noapic' kernel
argument as a work around. I've decided that it might be nice to find out
if a fix for this exists.

Hardware: ASUS K7M266-D Dual processor motherboard, amd 760mpx chipset,
  pair of AMD Athlon MP 1700+ CPU's.

----

[1] One liner: APIC support hangs machine on APIC init

[2] Description of them problem:

On Boot, the machine hangs after these lines are displayed on the console:

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

[3] Keywords: APIC, lockup, freeze, IO-APIC

[4] Kernel version

Linux version 2.5.63 (root@dualie) (gcc version 3.2.3 20030210 (Debian prerelease)) #2 SMP Thu Feb 27 19:22:30 EST 2003

[5] No oops.

[6] Example occurs during boot

[7.1] Software

Linux dualie 2.5.63 #2 SMP Thu Feb 27 19:22:30 EST 2003 i686 unknown unknown GNU/Linux

Gnu C 3.2.3 Gnu make 3.80 util-linux 2.11y mount 2.11y module-init-tools 0.9.9 e2fsprogs 1.32 Linux C Library 3.1.so* awk: run time error: negative field index $-1 FILENAME="-" FNR=2 NR=2 Dynamic linker (ldd) 2.3.1 Linux C++ Library .. Procps 3.1.5 Net-tools 1.60 Console-tools 0.2.3 Sh-utils 4.5.7 Modules Loaded vfat fat smbfs ntfs usb_storage ohci_hcd usbcore sd_mod sg scsi_mod reiserfs 8139too crc32 snd_cmipci snd_pcm snd_opl3_lib snd_timer snd_hwdep snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore nfs lockd sunrpc mousedev dm_mod ide_floppy ide_cd cdrom

[7.2] /proc/cpuinfo

processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 6 model name : AMD Athlon(TM) MP 1700+ stepping : 2 cpu MHz : 1466.401 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 : 2883.58

processor : 1 vendor_id : AuthenticAMD cpu family : 6 model : 6 model name : AMD Athlon(TM) MP 1700+ stepping : 2 cpu MHz : 1466.401 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 : 2924.54

[7.3] /proc/modules:

vfat 9984 0 - Live 0xf894c000 fat 36256 1 vfat, Live 0xf89cc000 smbfs 55280 0 - Live 0xf89e0000 ntfs 90704 1 - Live 0xf899b000 usb_storage 26176 0 - Live 0xf8924000 ohci_hcd 13120 0 - Live 0xf8935000 usbcore 75124 4 usb_storage,ohci_hcd, Live 0xf89b8000 sd_mod 11424 0 - Live 0xf8931000 sg 30412 0 - Live 0xf893d000 scsi_mod 89444 3 usb_storage,sd_mod,sg, Live 0xf8953000 reiserfs 188784 0 - Live 0xf896b000 8139too 15232 1 - Live 0xf892c000 crc32 3072 1 8139too, Live 0xf88c5000 snd_cmipci 17496 2 - Live 0xf88bf000 snd_pcm 64512 1 snd_cmipci, Live 0xf88fd000 snd_opl3_lib 6720 1 snd_cmipci, Live 0xf88bc000 snd_timer 12160 2 snd_pcm,snd_opl3_lib, Live 0xf8895000 snd_hwdep 3904 1 snd_opl3_lib, Live 0xf88b6000 snd_mpu401_uart 3648 1 snd_cmipci, Live 0xf88b4000 snd_rawmidi 14976 1 snd_mpu401_uart, Live 0xf88a6000 snd_seq_device 3844 2 snd_opl3_lib,snd_rawmidi, Live 0xf88a4000 snd 33988 10 snd_cmipci,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device, Live 0xf88f3000 soundcore 4288 1 snd, Live 0xf88a1000 nfs 78124 4 - Live 0xf890f000 lockd 51536 2 nfs,[unsafe], Live 0xf88c8000 sunrpc 100100 8 nfs,lockd,[unsafe], Live 0xf88d9000 mousedev 5404 1 - Live 0xf8899000 dm_mod 25604 5 - Live 0xf88ac000 ide_floppy 13824 0 - Live 0xf889c000 ide_cd 32640 0 - Live 0xf8881000 cdrom 29408 1 ide_cd, Live 0xf888c000

[7.4] /proc/ioports, /proc/iomem:

0000-001f : dma1 0020-003f : pic1 0040-005f : timer 0060-006f : keyboard 0070-007f : rtc 0080-008f : dma page reg 00a0-00bf : pic2 00c0-00df : dma2 00f0-00ff : fpu 0170-0177 : ide1 01f0-01f7 : ide0 02f8-02ff : serial 0330-0331 : MPU401 UART 0376-0376 : ide1 03c0-03df : vga+ 03f6-03f6 : ide0 03f8-03ff : serial 0cf8-0cff : PCI conf1 a000-afff : PCI Bus #02 a400-a4ff : Realtek Semiconducto RTL-8139/8139C/8139C a400-a4ff : 8139too a800-a8ff : C-Media Electronics CM8738 a800-a8ff : CMI8738-MC6 b800-b80f : Advanced Micro Devic AMD-768 [Opus] IDE b800-b807 : ide0 b808-b80f : ide1 d000-dfff : PCI Bus #01 d800-d8ff : ATI Technologies Inc Radeon RV200 QW [Rad e800-e803 : Advanced Micro Devic AMD-760 MP [IGD4-2P]

00000000-0009fbff : System RAM 0009fc00-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000c7fff : Video ROM 000f0000-000fffff : System ROM 00100000-5ffebfff : System RAM 00100000-0029188f : Kernel code 00291890-002e4407 : Kernel data 5ffec000-5ffeefff : ACPI Tables 5ffef000-5fffefff : reserved 5ffff000-5fffffff : ACPI Non-volatile Storage dd800000-deffffff : PCI Bus #02 dd800000-dd8000ff : Realtek Semiconducto RTL-8139/8139C/8139C dd800000-dd8000ff : 8139too de000000-de000fff : Lucent Microelectron USS-312 USB Controll de000000-de000fff : ohci-hcd df000000-dfdfffff : PCI Bus #01 df000000-df00ffff : ATI Technologies Inc Radeon RV200 QW [Rad dfe00000-dfefffff : PCI Bus #02 dff00000-ef7fffff : PCI Bus #01 e0000000-e7ffffff : ATI Technologies Inc Radeon RV200 QW [Rad ef800000-ef800fff : Advanced Micro Devic AMD-760 MP [IGD4-2P] f0000000-f7ffffff : Advanced Micro Devic AMD-760 MP [IGD4-2P] fec00000-fec00fff : reserved fee00000-fee00fff : reserved ffff0000-ffffffff : reserved

[7.5] lspci -vvv

00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-760 MP [IGD4-2P] System Controller (rev 11) Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- Latency: 32 Region 0: Memory at f0000000 (32-bit, prefetchable) [size=128M] Region 1: Memory at ef800000 (32-bit, prefetchable) [size=4K] Region 2: I/O ports at e800 [disabled] [size=4] Capabilities: [a0] AGP version 2.0 Status: RQ=15 SBA+ 64bit- FW+ Rate=x1,x2,x4 Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>

00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-760 MP [IGD4-2P] AGP Bridge (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 0000d000-0000dfff Memory behind bridge: df000000-dfdfffff Prefetchable memory behind bridge: dff00000-ef7fffff BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- >Reset- FastB2B-

00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-768 [Opus] ISA (rev 04) Subsystem: Asustek Computer, Inc. A7M-D Mainboard Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0

00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-768 [Opus] IDE (rev 04) (prog-if 8a [Master SecP PriP]) Subsystem: Advanced Micro Devices [AMD] AMD-768 [Opus] IDE Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32 Region 4: I/O ports at b800 [size=16]

00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-768 [Opus] ACPI (rev 03) Subsystem: Asustek Computer, Inc. A7M-D Mainboard Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-

00:10.0 PCI bridge: Advanced Micro Devices [AMD] AMD-768 [Opus] PCI (rev 04) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- Latency: 32 Bus: primary=00, secondary=02, subordinate=02, sec-latency=32 I/O behind bridge: 0000a000-0000afff Memory behind bridge: dd800000-deffffff Prefetchable memory behind bridge: dfe00000-dfefffff BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-

01:05.0 VGA compatible controller: ATI Technologies Inc Radeon RV200 QW [Radeon 7500] (prog-if 00 [VGA]) Subsystem: ATI Technologies Inc Radeon 7500 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 64 (2000ns min), cache line size 08 Interrupt: pin A routed to IRQ 16 Region 0: Memory at e0000000 (32-bit, prefetchable) [size=128M] Region 1: I/O ports at d800 [size=256] Region 2: Memory at df000000 (32-bit, non-prefetchable) [size=64K] Expansion ROM at dffe0000 [disabled] [size=128K] Capabilities: [58] AGP version 2.0 Status: RQ=47 SBA+ 64bit- FW- Rate=x1,x2,x4 Command: RQ=0 SBA+ AGP- 64bit- FW- Rate=<none> Capabilities: [50] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME-

02:04.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10) Subsystem: Asustek Computer, Inc. CMI8738 6-channel audio controller Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32 (500ns min, 6000ns max) Interrupt: pin A routed to IRQ 17 Region 0: I/O ports at a800 [size=256] Capabilities: [c0] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME-

02:06.0 USB Controller: Lucent Microelectronics USS-312 USB Controller (rev 10) (prog-if 10 [OHCI]) Subsystem: Lucent Microelectronics USS-312 USB Controller Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32 (750ns min, 21500ns max) Interrupt: pin A routed to IRQ 17 Region 0: Memory at de000000 (32-bit, non-prefetchable) [size=4K]

02:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) Subsystem: Realtek Semiconductor Co., Ltd. RT8139 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32 (8000ns min, 16000ns max) Interrupt: pin A routed to IRQ 19 Region 0: I/O ports at a400 [size=256] Region 1: Memory at dd800000 (32-bit, non-prefetchable) [size=256] Capabilities: [50] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0-,D1+,D2+,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=0 PME-

[7.6] no scsi

[X.] my .config is attached

Pat -- Purdue Universtiy ITAP/RCS Information Technology at Purdue Research Computing and Storage http://www-rcd.cc.purdue.edu


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 28 2003 - 22:00:49 EST