NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/44573: rtk and iwi start failing during high traffic on rtk



>Number:         44573
>Category:       kern
>Synopsis:       rtk0 and iwi0 start failing during high traffic on rtk0
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 14 23:40:01 +0000 2011
>Originator:     Taylor R Campbell <campbell+netbsd%mumble.net@localhost>
>Release:        NetBSD 5.1_STABLE
>Organization:
>Environment:
System: NetBSD smalltalk.local 5.1_STABLE NetBSD 5.1_STABLE (RIADEBUG) #0: Tue 
Feb 1 20:28:45 UTC 2011 
root%smalltalk.local@localhost:/home/riastradh/netbsd/5/obj/sys/arch/i386/compile/RIADEBUG
 i386
Architecture: i386
Machine: i386
>Description:

        On my Acer TravelMate 290 laptop, I have rtk0 and iwi0 both
        configured and associated with networks: that is, rtk0 has a
        carrier, iwi0 is associated with a WPA2 access point using
        wpa_supplicant, and both have IP addresses configured.

        Whenever there is a high volume of traffic on rtk0, incoming or
        outgoing, both interfaces start failing to transmit and timing
        out.  iwi0 loses its configuration -- the driver resets the
        device and reloads the firmware (which usually fails at first),
        and then wpa_supplicant reassociates with the network and
        dhcpcd reconfigures the interface.  rtk0's configuration is
        preserved.  The number of oerrs on each interface increases.

        This is on a netbsd-5 kernel as of a couple of weeks ago
        configured by adding options DIAGNOSTIC, DEBUG, LOCKDEBUG,
        APPLE_UFS, and FFS_EI, and makeoptions DEBUG="-g", to GENERIC.
        Here's the excerpt of dmesg output about iwi0 and rtk0; let me
        know if you'd like to see full dmesg output.

rtk0 at pci2 dev 1 function 0: Realtek 8139 10/100BaseTX (rev. 0x10)
rtk0: interrupting at irq 5
rtk0: Ethernet address ...
iwi0 at pci2 dev 2 function 0: vendor 0x8086 product 0x4220 (rev. 0x05)
iwi0: interrupting at irq 5
iwi0: 802.11 address ...
iwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 
36Mbps 48Mbps 54Mbps

>How-To-Repeat:

        Configure rtk0 and iwi0.  If HOST is some host on rtk0's LAN,
        run

                ssh HOST 'cat > /dev/null' < /dev/zero

        or

                ssh HOST 'cat < /dev/zero' > /dev/null

        and watch the kernel complain of `rtk0: watchdog timeout' and
        `iwi0: device timeout' as the number of oerrs increases on each
        interface.

>Fix:

        Yes, please!



Home | Main Index | Thread Index | Old Index