Re: HELP! every kernel after 2.1.85 locks solid

mlord (mlord@pobox.com)
Sun, 01 Mar 1998 10:07:40 -0500


Looks like another IO-APIC interaction problem.

Try disabling IO-APIC support.

Jacek Krolikowski wrote:
>
> HELP!
>
> Every kernel after 2.1.85 (even 2.1.89-4) locks solid on my Tomcat II
> motherbord with the last message stuck on smp_invalidate_needed IPI wait (CPU#0)
> no oops or any other messages.
> This is an SMP kernel started with pirq=0, but the same happens without
> the option as well.
> Please help, I am realy puzzled as 2.1.85 works well.
>
> Jacek.
>
> Here is the log from the boot process:
> 1.3-3: restart.
> klogd 1.3-3, log source = /proc/kmsg started.
> Loaded 6742 symbols from /boot/System.map.
> Symbols match kernel version 2.1.89.
> No module symbols loaded.
> Linux version 2.1.89 (root@wroclaw.crosskeys.com) (gcc version 2.7.2.3) #5 Sat Feb 28 16:49:24 EST 1998
> Intel MultiProcessor Specification v1.1
> Virtual Wire compatibility mode.
> OEM ID: OEM00000 Product ID: PROD00000000 APIC at: 0xFEE00000
> Processor #0 Pentium(tm) APIC version 17
> Processor #1 Pentium(tm) APIC version 17
> I/O APIC #2 Version 17 at 0xFEC00000.
> Processors: 2
> INIT IRQ
> PIRQ redirection SETUP, working around broken MP-BIOS.
> ... PIRQ0 -> IRQ 0
> Console: 16 point font, 400 scans
> Console: colour VGA+ 80x25, 1 virtual console (max 63)
> PCI: Using configuration type 1
> Probing PCI hardware.
> PCI->APIC IRQ transform: (B0,I0,P-1) -> -1
> PCI->APIC IRQ transform: (B0,I7,P-1) -> -1
> PCI->APIC IRQ transform: (B0,I7,P-1) -> -1
> PCI->APIC IRQ transform: (B0,I17,P-1) -> -1
> PCI->APIC IRQ transform: (B0,I18,P-1) -> -1
> PCI->APIC IRQ transform: (B0,I19,P0) -> -1
> Calibrating delay loop... 53.04 BogoMIPS
> Memory: 30644k/32768k available (1048k kernel co
> de, 400k reserved, 624k data, 52k init)
> Swansea University Computer Society NET3.039 for Linux 2.1
> NET3: Unix domain sockets 0.16 for Linux NET3.038.
> Swansea University Computer Society TCP/IP for NET3.037
> IP Protocols: ICMP, UDP, TCP
> Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
> Checking 'hlt' instruction... Ok.
> Intel Pentium with F0 0F bug - workaround enabled.
> POSIX conformance testing by UNIFIX
> CPU0: Intel Pentium 75+ stepping 0c
> calibrating APIC timer ...
> ..... CPU clock speed is 132.7755 MHz.
> ..... APIC bus clock speed is 66.3875 MHz.
> Booting processor 1 eip 2000: Calibrating delay loop... 53.04 BogoMIPS
> OK.
> CPU1: Intel Pentium 75+ stepping 0c
> Total of 2 processors activated (106.09 BogoMIPS).
> mapping IO APIC from standard address.
> new virtual address: c2804000.
> enabling Symmetric IO mode ... ...done.
> ENABLING IO-APIC IRQs
> init IO_APIC IRQs
> IO-APIC pin 0, 20, 21, 22, 23 not connected.
> ..MP-BIOS bug: i8254 timer not connected to IO-APIC
> ..falling back to 8259A-based timer interrupt
> nr of MP irq sources: 21.
> nr of IOAPIC registers: 24.
> testing the IO APIC.......................
> .... register #00: 02000000
> ....... : physical APIC id: 02
> .... register #01: 00170011
> ....... : max redirection entries: 0017
> ....... : IO APIC version: 0011
> .... register #02: 04000000
> ....... : arbitration: 04
> .... 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
> 00 000 00 1 0 0 0 0 0 0 00
> 01 0FF 0F 0 0 0 0 0 1 1 59
> 02 0FF 0F 0 0 0 0 0 1 1 51
> 03 0FF 0F 0 0 0 0 0 1 1 69
> 04 0FF 0F 0 0 0 0 0 1 1 71
> 05 0FF 0F 0 0 0 0 0 1 1 79
> 06 0FF 0F 0 0 0 0 0 1 1 81
> 07 0FF 0F 0 0 0 0 0 1 1 89
> 08 0FF 0F 0 0 0 0 0 1 1 91
> 09 0FF 0F 0 0 0 0 0 1 1 99
> 0a 0FF 0F 0 0 0 0 0 1 1 A1
> 0b 0FF 0F 0 0 0 0 0 1 1 A9
> 0c 0FF 0F 0 0 0 0 0 1 1 B1
> 0d 000 00 1 0 0 0 0 0 0 00
> 0e 0FF 0F 0 0 0 0 0 1 1 C1
> 0f 0FF 0F 0 0 0 0 0 1 1 C9
> 10 0FF 0F 0 1 0 1 0 1 1 D1
> 11 0FF 0F 0 1 0 1 0 1 1 D9
> 12 0FF 0F 0 1 0 1 0 1 1 E1
> 13 0FF 0F 0 1 0 1 0 1 1 E9
> 14 000 00 1 0 0 0 0 0 0 00
> 15 000 00 1 0 0 0 0 0 0 00
> 16 000 00 1 0 0 0 0 0 0 00
> 17 000 00 1 0 0 0 0 0 0 00
> .................................... done.
> Starting kswapd v 1.5
> Serial driver version 4.24 with no serial options enabled
> ttyS00 at 0x03f8 (irq = 4) is a 16550A
> ttyS01 at 0x02f8 (irq = 3) is a 16550A
> Sound initialization started
> <GUS MAX (CS4231)> at 0x32c dma 3,1
> <Gravis UltraSound MAX (1024k)> at 0x220 irq 5 dma 1,3
> Sound initialization complete
> Uniform CD-ROM driver Revision: 2.12
> PIIX3: IDE controller on PCI bus 0 function 57
> PCI->APIC IRQ transform: (B0,I7,P-1) -> -1
> PIIX3: not 100% native mode: will probe irqs later
> ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:pio, hdb:pio
> ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
> hda: WDC AC31600H, ATA DISK drive
> hdb: WDC AC2850F, ATA DISK drive
> hdc: IRQ probe failed (0)
> hdc: IRQ probe failed (0)
> hdc: TOSHIBA CD-ROM XM-5402TA, ATAPI CDROM drive
> hdc: IRQ probe failed (0)
> hdd: IRQ probe failed (0)
> hdd: IRQ probe failed (0)
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> hda: WDC AC31600H, 1549MB w/128kB Cache, CHS=787/64/63, DMA
> hdb: WDC AC2850F, 814MB w/64kB Cache, CHS=827/32/63
> hdc: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
> hdc: ATAPI reset complete
> hdc: irq timeout: status=0x48 { DriveReady DataRequest }
> hdc: ATAPI reset complete
> hdc: irq timeout: status=0x48 { DriveReady DataRequest }
> end_request: I/O error, dev 16:00, sector 0
> hdc: ATAPI 152X CDROM drive, 16129kB Cache
> Floppy drive(s): fd0 is 1.44M
> FDC 0 is a post-1991 82077
> ncr53c8xx: at PCI bus 0, device 19, function 0
> PCI->APIC IRQ transform: (B0,I19,P0) -> 17
> ncr53c8xx: 53c875 detected with Symbios NVRAM
> ncr53c875-0: rev=0x03, base=0xe2000000, io_port=0x6100, irq=17
> ncr53c875-0: Symbios format NVRAM, ID 7, Fast-20, Parity Checking
> ncr53c875-0: initial SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 05/0e/a0/01/00/24
> ncr53c875-0: final SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 05/46/a0/00/08/24
> ncr53c875-0: on-board RAM at 0xe2001000
> ncr53c875-0: on-board ram mapped at virtual address 0xc281f000
> ncr53c875-0: requesting shared irq 17 (dev_id=0xc1fe0080)
> ncr53c875-0: resetting, command processing suspended for 2 seconds
> ncr53c875-0: restart (scsi reset).
> ncr53c875-0: enabling clock multiplier
> ncr53c875-0: copying script fragments into the on-board RAM ...
> scsi0 : ncr53c8xx - revision 2.5f
> scsi : 1 host.
> ncr53c875-0: command processing resumed
> ncr53c875-0-<6,0>: using tagged command queueing, up to 8 cmds/lun
> Vendor: QUANTUM Model: XP32275W Rev: LXY4
> Type: Direct-Access ANSI SCSI revision: 02
> Detected scsi disk sda at scsi0, channel 0, id 6, lun 0
> scsi : detected 1 SCSI disk total.
> ncr53c875-0-<6,0>: WIDE SCSI (16 bit) enabled.
> ncr53c875-0-<6,0>: FAST-20 WIDE SCSI 40.0 MB/s (50 ns, offset 16)
> SCSI device sda: hdwr sector= 512 bytes. Sectors= 4445380 [2170 MB] [2.2 GB]
> PPP: version 2.3.3 (demand dialling)
> TCP compression code copyright 1989 Regents of the University of California
> PPP line discipline registered.
> Partition check:
> sda: sda1
> hda: hda1 hda2 hda3
> hdb: hdb1
> VFS: Mounted root (ext2 filesystem) readonly.
> Freeing unused kernel memory: 52k freed
> stuck on smp_invalidate_needed IPI wait (CPU#0)
> Adding Swap: 129020k swap-space (priority -1)
> stuck on smp_invalidate_needed IPI wait (CPU#0)
> Adding Swap: 124988k swap-space (priority -2)
> stuck on smp_invalidate_needed IPI wait (CPU#0)
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu

-- 
mlord@pobox.com
The Linux IDE guy

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu