Aaron Krowne wrote: > > On Fri, 08 Jun 2001 01:57:40 -0400, Jeff Garzik said: > > > Aaron Krowne wrote: > > > 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. > > > > I'm curious if the attached patch helps anything. > > > > Also, note that I fixed some Via-mobo-related issues in the following > > patch: > > ftp://ftp.us.kernel.org/pub/linux/kernel/people/jgarzik/patches/2.4.6/via-fixup-2.4.6.1.patch.gz > > Ok, I applied both patches and rebooted. Some error messages slightly changed > regarding the USB, some devices were stubborn about accepting addresses > (scanner and mouse still worked, digital cam didn't (as before)). Network and > sound card both went to IRQ 11 again. Still PIRQ routing errors. Ok, here's another patch for you to play with. The previous patch did dumb things because I forgot about pirq_penalty's reason for existence. You still want the 'via-fixup' patch, along with the attached one to try. This patch makes IRQ allocation even more likely to be spread, by preferring to re-assign irqs to the one we selected. This is untested, so flyer beware... It also adds better information to these warnings, to make dmesg more helpful, and turns on PCI debugging, so you don't have to do so manually. For the most part, the kernel doing exactly what the BIOS is telling it to do. So, if the BIOS thinks its a good idea to put all the devices on one IRQ, then the kernel will go right ahead and do so... -- Jeff Garzik | Andre the Giant has a posse. Building 1024 | MandrakeSoft |