kern/119696: ral device causes massive interrupt storm sometimes

Sven Berkvens-Matthijsse sven at berkvens.net
Tue Jan 15 19:30:02 UTC 2008


>Number:         119696
>Category:       kern
>Synopsis:       ral device causes massive interrupt storm sometimes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 15 19:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Sven Berkvens-Matthijsse
>Release:        FreeBSD 7.0-PRERELEASE #5: Thu Jan 10 18:27:04 CET 2008 amd64
>Organization:
De Kattenfabriek
>Environment:
FreeBSD paws.berkvens.net 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #5: Thu Jan 10 18:27:04 CET 2008     sven at paws.berkvens.net:/usr/obj/usr/src/sys/PAWS  amd64

>Description:
In some environments, like my home, my ral WiFi device works like a charm. No problems whatsoever.

But in some environments, like my office, it causes a massive interrupt storm (in the order of 70000 interrupts per second) to occur.

I have the following device in my laptop (output of pciconf -l -v):

ral0 at pci0:5:9:0: class=0x028000 card=0xb8331462 chip=0x03021814 rev=0x00 hdr=0x00
    vendor     = 'Ralink Technology, Corp'
    device     = 'RT2525 2.4GHz transceiver + RT2560 MAC/BBP wireless a/b'
    class      = network

In my office environment, the device does not detect any networks at all. My colleague's laptop, which has a recent Intel chipset-based WiFi card (and also runs the same version of FreeBSD), has no problems with the environment, and in fact it detects more than ten networks.

Stopping the interface with "/etc/rc.d/netif stop ral0" causes the interrupt storm to stop. Starting the interface again (it's configured for DHCP and WPA by the way in /etc/rc.conf) causes the interrupt storm to resume as before. But even if the device is not up, it produces around 30 interrupts per second. No idea is that's normal or not, though.
>How-To-Repeat:
I don't know how other people could reproduce the problem. I know how to reproduce it in my two described environments, though, so if anyone wants me to test anything (custom patches, etc are no problem) in either environment, that's certainly possible.
>Fix:
I'm not sure what the problem is, let alone a solution.

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list