Broken IRQ Probing in 2.1.xxx

Mark Lord (mlord@pobox.com)
Wed, 16 Dec 1998 16:57:40 -0500


The bug is not actually in the IDE driver,
but rather, in the generic 2.1.xxx kernel
interrupt probe code.

Somebody broke it when beefing up SMP support in 2.1.xxx.

-- 
mlord@pobox.com

Luca Nora Giorgio wrote: > > Hi Mark, > I'm using Linux kernel 2.1.131 on my PC and I've noticed some troubles > during kernel booting. > I've a motherboard Freetech Canary P5F88 with VIA Apollo VP3 and attached > to its IDE ports a CD-ROM drive and hd on ide0 and another hd on ide1 > (see my kernel message ring buffer for more info sended as targzipped > attachment). > Sometimes (without any possibility of provision) when I boot my Linux box > after probing of ide and devices attached to it, appear the following > message: > > idex: UNABLE TO GET IRQ -11 (where x stands for 0 or 1) > idex: ERROR, PORTS ALREADY IN USE > > and the kernel enters in panic mode. > > The problem is random ie. it can appear on hard reset or soft reset, it > can appear after use of Windows or DOS before Linux, it can appear on > poweron, etc. > > The problem is related to both ports (ide0, ide1) or only to ide0 (up to > now I've seen or both with this message or only ide0). > One time the problem is appeared with a ZIP drive connected to parallel > port and the only way to get around of it was to disconnect power from > ZIP during probing. > > I've inspected linux/drivers/block/ide-probe.c but I've only found > printk() functions responsable of these messages. I think that failure > raise on functions hwif_init() and probe_hwif(). > > This problem appears also on kernel 2.0.36 but in this one is harmless > ie. the kernel reports "...unable to get irq (-11)..." but continue > booting and it mount partitions of hd attached to ide ports. > > with probing disabled on kernel cmd line options it doesn't appear but > it's very annoying to do so. > > It's possible to fix this or it's a fault of my motherboard, PCI chipset? > > Sorry for my bad English and thanks again for attention. > -- > Luca Nora - Student at Computer Science Dep., University of Milan > "...signature under construction..." - > http://www.silab.dsi.unimi.it/~ln546991 > > > Name: boot.messages.gz > boot.messages.gz Type: unspecified type (APPLICATION/octet-stream) > Encoding: BASE64

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