Subject: kern/36148: USB ral(4) locks up randomly
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Andreas Gustafsson <gson@gson.org>
List: netbsd-bugs
Date: 04/15/2007 19:30:00
>Number:         36148
>Category:       kern
>Synopsis:       USB ral(4) locks up once every few days
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 15 19:30:00 +0000 2007
>Originator:     Andreas Gustafsson
>Release:        NetBSD 4.99.16
>Organization:
>Environment:
System: NetBSD guam.gson.org 4.99.16 NetBSD 4.99.16 (GUAM) #0: Fri Mar 30 17:25:17 EEST 2007 gson@guru.araneus.fi:/usr/src/sys/arch/i386/compile/GUAM i386
Architecture: i386
Machine: i386
>Description:

I have been using a Buffalo AirStation Wireless-G USB WLAN adapter as
the network connection for a Toshiba Libretto L2 laptop that is never
turned off.  A couple of times a week, the laptop loses its network
connection, as evidenced by getting no response when attempting to
ping the local gateway.  Other aspects of the OS still work normally.

If I force an access point scan using "wiconfig -i ral0 -D" while
the interface is in this locked-up state, it starts working again.

Here is the relevant part of the dmesg output:

  ral0 at uhub0 port 2
  ral0: Buffalo WLI-U2-KG54, rev 2.00/0.01, addr 2
  ral0: MAC/BBP RT2570 (rev 0x05), RF RT2526
  ral0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
  ral0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps

>How-To-Repeat:

Try using an USB ral(4) device for a week and see if it locks up.

>Fix:

Please.