DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 21st May 2008
siffland siffland is offline
New User
 
Join Date: May 2008
Posts: 5
Thanked 0 Times in 0 Posts
Default interrupt storm and irq madness

Hey all,

i am running FreeBSD 7 stable i386 on my Toshiba Portege 3110ct. When I plug in my pcmcia Atheros wireless card I get this message a few times:

interrupt storm detected on "irq11:"; throttling interrupt source

This message was really bad when I had APIC compiled in the kernel, I do not know why but since I have taken that out it has mostly gone away. A vmstat -i without the Atheros card shows cbb0 (my cardbus) and uhci0 both using irq11. When I plug in the Atheros card the vmstat -i only shows cbb0 and ath0 on irq11 and does not show the uhci0. Now the cardbus is hard coded in the bios for irq11 and even editing the pccard.conf the Atheros card grabs irq11 also. I am only using 5 or 6 irq's (I am not at my laptop right now), is there anyway to force the uhci0 to another irq. The wireless works fine, i just do not like the interrupt storm errors. Does anyone have any other suggestions to fix this. I have read about the kernel parm to up the interrupt requests, but that just seems like I am supressing the messages of the real problem. Any help would be appreciated.

Sean
Reply With Quote
  #2   (View Single Post)  
Old 21st May 2008
Oliver_H's Avatar
Oliver_H Oliver_H is offline
Real Name: Oliver Herold
UNIX lover
 
Join Date: May 2008
Location: Germany
Posts: 429
Thanked 26 Times in 22 Posts
Default

First try to rise the treshold, sysctl hw.intr_storm_threshold=4000
__________________
use UNIX or die :-)
Reply With Quote
  #3   (View Single Post)  
Old 21st May 2008
kazcor kazcor is offline
Real Name: Registreed Usre
Port Guard
 
Join Date: May 2008
Location: bliner, erg
Posts: 20
Thanked 1 Time in 1 Post
Default

Had the same problem on a Thinkpad T41 with an Atheros 5212 and moved back to 6.3, as everything works fine there. However, maybe you want to have a look at polling(4) whether ath is supported in the meantime.
Even with USB and everything that might cause conflicts disabled, I got this error on 7.0 - even if vmstat -i shows no conflicts. Maybe try this one first - disable everything that is not required and afterwards look at vmstat ...
Reply With Quote
  #4   (View Single Post)  
Old 22nd May 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 446
Thanked 69 Times in 46 Posts
Default

@siffland: keep us posted on how this is going. I also had a very similar problem with FBSD 7.0 on a Dell Latitude CPx w/ pcmcia D-Link (atheros chipset) wireless.
__________________
Kill your t.v.
Reply With Quote
  #5   (View Single Post)  
Old 2nd June 2009
shep shep is offline
ISO Quartermaster
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 631
Thanked 9 Times in 9 Posts
Default

I am also getting an interrupt storm with FBSD 7.1 and tried Oliver-H suggestion to raise the interrupt threshold in /etc/sysctl.conf

My /etc/sysctl.conf:
Quote:
# Uncomment this to prevent users from seeing information about processes that
# are being run under another UID.
#security.bsd.see_other_uids=0
sysctl.hw.intr_storm_threshold=400
My vmstat -i
Quote:
$ vmstat -i
interrupt total rate
irq0: clk 541876 999
irq1: atkbd0 465 0
irq6: fdc0 10 0
irq8: rtc 69341 127
irq11: ath0 rl0++ 12067 22
irq12: psm0 10632 19
irq14: ata0 59 0
irq15: ata1 3547 6
Total 637997 1177
Edited dmesg:

Quote:
ath0: <Atheros 5212> mem 0xe8000000-0xe800ffff irq 11 at device 9.0 on pci0
ath0: [ITHREAD]
ath0: WARNING: using obsoleted if_watchdog interface
ath0: Ethernet address: 00:30:4f:4a:bf:76
ath0: mac 7.9 phy 4.5 radio 5.6
rl0: <RealTek 8139 10/100BaseTX> port 0xe800-0xe8ff mem 0xe8010000-0xe80100ff irq 11 at device 13.0 on pci0
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> PHY 0 on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:01:29:25:10:23
rl0: [ITHREAD]
.....interrupt storm detected on "irq11:"; throttling interrupt source
interrupt storm detected on "irq11:"; throttling interrupt source
interrupt storm detected on "irq11:"; throttling interrupt source
What I am wondering is if I can disable rl and rlphy as I'm not using the NIC card. Can this be done short of compiling a new kernel (/boot/device.hints vs /etc/sysctl.conf ?) or the old BSD way? >ukc
Reply With Quote
  #6   (View Single Post)  
Old 23rd October 2009
khentiamentiu khentiamentiu is offline
New User
 
Join Date: Oct 2009
Posts: 1
Thanked 0 Times in 0 Posts
Default Try pcBSD 7.1.1

I have been unable to get the irq 11 interrupt storm to go away on my laptop. I in general like the atheros chipset cards, use them all the time with my old Linux laptops, not problem, and they worked find with FreeBSD until I decided to upgrade past 7.0. Not the irq11 interrupts lock up my system every time. I have a compaq armada e500 for this configuration, but I doubt that the laptop has anything to do with it.

Anyway, I installed PC-BSD 7.1.1 (based on FreeBSD 7.2-Stable) without a hitch. I don't know what they did, didn't find anything obvious in config files like rc.conf, but it works great. If you have to have FreeBSD but are not a purist about where the directories are, try PC-BSD. Otherwise, I'd recommend netbsd or openbsd. I didn't have that problem there.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
wpa_supplicant: atheros up & down like a yo-yo, interrupt storms too sim FreeBSD General 5 18th June 2008 05:12 AM


All times are GMT. The time now is 12:53 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick