lkml.org 
[lkml]   [2001]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Greetings.  I've been wondering about the behavior of linux IRQ routing on
certain systems running 2.4.x kernels (particularly .3 and above).

I have an AMD KT133A system. I have two friends with PIII-based laptops (one
toshiba, one thinkpad.) We have all noticed the exact same strange behavior
despite our various hardware. We're all running linux 2.4.4 or 2.4.5. The
strange thing is that, whenever it has the opportunity to set an IRQ, linux
puts the device in question on the same IRQ which seems fixed for the system.
But it gets stranger. This IRQ is always IRQ 11. On all 3 systems. On my
system, I can specify "assign IRQ for USB". When I do this, USB gets its own
IRQ and works (sorta). When I do not, USB goes on IRQ 11 too! And, in this
case, lots of devices on USB refuse their addresses and such, which does not
happen when USB has its own IRQ.

What gives? Shouldn't devices go to whatever IRQs are free, instead of sharing
when there is no need to share? Now, I would just find this a curiosity,
except I think it adversely effects devices in many cases. For example, on the
toshiba, the sound card and ethernet card share an IRQ. This makes the sound
card flakey. Sometimes the driver for the sound card will not load at boot.
Some times the device stops responding when in use (as playing an mp3). On my
desktop AMD machine, I always get "PIRQ routing error" at boot, as my network
card and sound card also share an IRQ. Also, my two USB ports share the same
IRQ, and I think this is causing problems with some devices (for instance, my
digital camera used to respond to my PC in linux, but then this randomly
stopped working).

This would not be so bad if we could somehow manually assign IRQs until this
behavior is fixed. But there is really no way to this via software in linux.
Perhaps I am just uneducated, but setpci has never worked for this purpose
despite my best attempts. I'm fairly sure this is possible, as many devices
can do this under windows. (But.. shouldn't devices be able to share IRQs and
function fine?) At any rate, this appears to be impeding the usefulness of
devices that are otherwise supported.

Any advice/info would be appreciated (I can provide logs for diagnostic
purposes, upon request.)

Aaron Krowne


-
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/

\
 
 \ /
  Last update: 2005-03-22 12:55    [W:0.031 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site