From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 16570 invoked from network); 17 May 1998 21:26:34 -0000 Received: from varis.cs.tut.fi (HELO cs.tut.fi) (130.230.4.2) by mail2.redhat.com with SMTP; 17 May 1998 21:26:34 -0000 Received: from korppi.cs.tut.fi (romulan@korppi.cs.tut.fi [130.230.4.3]) by cs.tut.fi (8.8.5/8.8.4) with ESMTP id AAA13158 for ; Mon, 18 May 1998 00:26:32 +0300 (EET DST) Received: (from romulan@localhost) by korppi.cs.tut.fi (8.8.5/8.8.4) id AAA09431; Mon, 18 May 1998 00:26:30 +0300 (EET DST) Date: Mon, 18 May 1998 00:26:30 +0300 (EET DST) Message-Id: <199805172126.AAA09431@korppi.cs.tut.fi> From: Kinnunen Kimmo To: axp-list@redhat.com Subject: 2.1.102 and IRQ allocation problem? It seems that 2.1.102 doesn't allocate IRQs properly for the peripherals. Only IRQs for IDE driver gets allocated and that happens quite late in the boot, you can come to this conclusion by looking at the 'Unexpected interrupt'-messages before actual IRQ-allocation in the dmesg-listing. Neither SCSI-driver (ncr53c8xx) nor Tulip driver nor PS/2 mouse driver nor the serial driver show up in /proc/interrupts list, although the drivers do show up in the /proc/ioports list. I have compiled the kernel with gcc and egcs, both giving the same IRQ-problem. I can get the system to boot up by using IDE drive as root and booting the system in single user mode, but if I add the SCSI driver (by using insmod) or try to set the networking up I get screenfulls of device_interrupt: unexpected interrupt xx ..where xx is either 24 (SCSI) or 27 (Tulip) and the machine halts. If I compile the SCSI-driver in the kernel, the system will die to something like: swapper(1): Oops.. unable to handler kernel paging request at virtual address.. I added one printk() in the beginning of request_irq() (arch/alpha/kernel/irq.c) to see when the interrupt handler for IRQ actually gets allocated. They're shown in the dmesg listing like this: Trying to allocate IRQ 14 for device ide0 Has anyone else this kind of problem with 2.1.102? ---- /proc/interrupts -------------------------------------------------- 1: 246 keyboard 8: 44060 timer 14: 10 + ide0 15: 7614 + ide1 ---- end of /proc/interrupts ------------------------------------------- ---- /proc/ioports ----------------------------------------------------- 0060-006f : keyboard 0070-007f : timer 0170-0177 : ide1 01f0-01f7 : ide0 02f8-02ff : serial(auto) 0376-0376 : ide1 03c0-03df : vga+ 03f6-03f6 : ide0 03f8-03ff : serial(auto) 8000-807f : Digital DS21041 Tulip ---- end of /proc/ioports ---------------------------------------------- ---- dmesg ------------------------------------------------------------- Linux version 2.1.102 (root@foo.bar) (gcc version egcs-2.90.27 980315 (egcs-1.0.2 release)) #28 Sun May 17 22:29:39 EEST 1998 Command line: bootdevice=hdc5 bootfile=/vm21102_egcs.gz root=/dev/hdc2 single Trying to allocate IRQ 8 for device timer Console: 16 point font, 400 scans Console: colour VGA+ 80x25, 1 virtual console (max 63) Calibrating delay loop... 528.48 BogoMIPS Memory: 127384k available 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 POSIX conformance testing by UNIFIX Alpha PCI BIOS32 revision 0.04 PCI: Probing PCI hardware. SMC37c669 Super I/O Controller found @ 0x3f0 Starting kswapd v 1.5 Trying to allocate IRQ 1 for device keyboard Serial driver version 4.25 with enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A PS/2 auxiliary pointing device detected -- driver installed. loop: registered device at major 7 device_interrupt: unexpected interrupt 3 device_interrupt: unexpected interrupt 4 device_interrupt: unexpected interrupt 14 hda: ST51080A, ATA DISK drive device_interrupt: unexpected interrupt 14 device_interrupt: unexpected interrupt 15 hdc: QUANTUM BIGFOOT_CY4320A, ATA DISK drive device_interrupt: unexpected interrupt 15 Trying to allocate IRQ 14 for device ide0 ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 Trying to allocate IRQ 15 for device ide1 ide1 at 0x170-0x177,0x376 on irq 15 hda: ST51080A, 1033MB w/128kB Cache, CHS=2100/16/63 hdc: QUANTUM BIGFOOT_CY4320A, 4134MB w/67kB Cache, CHS=8960/15/63 Floppy drive(s): fd0 is 2.88M Trying to allocate IRQ 6 for device floppy FDC 0 is a post-1991 82077 Partition check: hda: hda1 hda2 < hda5 > hdc: hdc1 < hdc5 hdc6 > hdc2 hdc3 VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 48k freed ---- end of dmesg ------------------------------------------------------