Opened 15 years ago
Closed 15 years ago
#5511 closed bug (fixed)
intel 3945 driver cause an interrupt storm
Reported by: | pulkomandy | Owned by: | colin |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Drivers/Network | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | #5569 | |
Platform: | All |
Description
Hardware is Dell inspiron 1525. Booting Haiku shows a lot of CPU usage. With the driver disabled it is ok. I didn't manage to enter kdl (what were the keys to use already) and I don't really know what to do in there anyway. Please tell me what info you need.
Attachments (2)
Change History (16)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Status: | new → in-progress |
---|
I suppose it is an irq mapping problem. To be absolutely sure I need the following info retrieved with linux running on the same hardware:
- just boot linux, open a terminal and run: cat /proc/interrupts and append the output as interrupts-default-boot-options.txt
- start linux by adding the following kernel boot params to boot loader of your choice: noapic nolapic pci=nomsi and get me the output of cat /proc/interrupts again. Preferably as interrupts-noapic-nolapic-pci-nomsi.txt
This first file will show the default interrupt mapping of linux, which I then can compare to the second file to see
- that it made a difference to use the boot options, at all
- how the interrupt mapping should be in haiku.
by , 15 years ago
Attachment: | interrupts_default_boot_options.txt added |
---|
pulkomandy's interrupts config on linux
by , 15 years ago
Attachment: | interrupts_noapic_nolapic_pci_nomsi.txt added |
---|
pulkomandy's interrupt config on linux, without rerouting. Looks similar to haiku ints command
follow-up: 6 comment:3 by , 15 years ago
Ok, you should use 0x07, instead of the 0x0A you mentioned before. This should make it work for you.
Though note, this is only a hack, as the right way to do it, would be to implement irq routing by using ACPI in Haiku. As far as I know someone is working on that already.
Please report back.
comment:4 by , 15 years ago
FWIW I have a similar problem on my Lenovo T60 - there, LAN, and WLAN are affected (both worked well at some point, but the interrupt mapping is broken ever since I updated to OpenSUSE 11.2).
I can manually alter the interrupt lines (to 3 and 4 in my case), and then everything works as intended. Quite annoying, but something that will be solved once we're using the configuration via ACPI.
comment:5 by , 15 years ago
Blocking: | 5569 added |
---|
Looks like a duplicate of ticket #5511. Even though you aren't reporting interrupt storms, the syslog says "timeout waiting for adapter to initialize" which means that irqs are misrouted. Though as ticket #5511 presents no real solution (which would be implementing acpi irq routing) it contains a work around. If you are running a linux on your machine and retrieve the needed info with it we can, at least, make it work for you.
Thanks. It's not really a problem at the moment, since to be able to use the wireless network I need WPA2 support. For the moment I can just remove the driver, hoping that someone implements ACPI routing soon. Let's close this as dup of #5511 then.
comment:6 by , 15 years ago
Blocked By: | 5 added |
---|
comment:8 by , 15 years ago
Yes, still here. I can confirm that with the workaround of bruteforcing the interrupt, wlan works properly. It's pretty hard to debug as the interrupt storm lets me with no keyboard at all...
comment:9 by , 15 years ago
I thought that Michael's commit could've fixed the problem, that's why I put that note.
comment:10 by , 15 years ago
Axel added the missing bits in #36292 It now works for me ! But not for axel, still.
Waiting for feedback from the other users now...
comment:11 by , 15 years ago
While it doesn't work for me (the device for whatever reason), the interrupt storm is definitely gone.
comment:12 by , 15 years ago
Fixed for me as well; no interrupt storms and no more need for IRQ hacks to get wifi (iprowifi3945) and Ethernet (ipro1000) going.
comment:14 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | in-progress → closed |
Ok, I did some more tests...
In this configuration, i can see two intel interrupts in kdl ints command : an interrupt wrapper in int10 and something else in int11.
Please tell me what you need. I'll do a test with an open network reachable to see if it actually works.