Zyd: device timeout after a while.

Zoltán Kéri k.z0lik4 at gmail.com
Sun Mar 11 17:53:07 UTC 2012


Hello!

Zyd driver is not working properly under FreeBSD. After a while I get the
following error: "zyd0: device timeout".
I have to re-plug the USB WLAN stick in order to make it work again, but
the problem is, it happens often.
If I am not downloading anything, this error does not actually happen, as
far I know.

How to re-produce the bug?

1.) Plug in the USB WLAN stick and make sure your internet is working
properly.
2.) Load a few pages or download a file at an average speed.

After all that, if you want to make it work again, you have to re-plug the
USB WLAN stick.
By the way, if I am only using for example "irssi" and not downloading huge
amounts of data, this bug does not occur.

*/var/log/messages:*
*
*
Mar 10 09:25:43 nebula kernel: zyd0: device timeout *<- I was loading a few
pages at the same time.*
Mar 10 09:26:13 nebula last message repeated 3 times
Mar 10 09:28:11 nebula last message repeated 12 times
Mar 10 09:28:20 nebula kernel: zyd0: device timeout
Mar 10 09:28:30 nebula wpa_supplicant[542]: ELOOP: remaining socket: sock=4
eloop_data=0x284091c0 user_data=0x28413080 handler=0x806d620
Mar 10 09:28:30 nebula kernel: ugen4.2: <ZyDAS> at usbus4 (disconnected) *<-
Plugged out the USB stick.*
Mar 10 09:28:30 nebula kernel: zyd0: at uhub4, port 2, addr 2 (disconnected)
Mar 10 09:28:30 nebula dhclient[1481]: connection closed
Mar 10 09:28:30 nebula dhclient[1481]: exiting.
Mar 10 09:28:31 nebula kernel: zyd0: command timeout
Mar 10 09:28:31 nebula kernel: zyd0: could not set multicast hash table
Mar 10 09:28:31 nebula kernel: wlan0: link state changed to DOWN
Mar 10 09:28:33 nebula kernel: ugen4.2: <ZyDAS> at usbus4 *<- Plugged in
the USB stick.*
Mar 10 09:28:33 nebula kernel: zyd0: <ZyDAS USB2.0 WLAN, rev 2.00/48.10,
addr 2> on usbus4
Mar 10 09:28:34 nebula kernel: wlan0: Ethernet address: 00:25:86:f0:33:23
Mar 10 09:28:34 nebula kernel: zyd0: HMAC ZD1211B, FW 47.25, RF MAXIM_NEW
S0, PA0 LED 0 BE0 NP0 Gain0 F1
Mar 10 09:28:36 nebula wpa_supplicant[17737]: Trying to associate with
d8:5d:4c:a5:f3:60 (SSID='Eldiablo' freq=2412 MHz)
Mar 10 09:28:36 nebula wpa_supplicant[17737]: Associated with
d8:5d:4c:a5:f3:60
Mar 10 09:28:36 nebula kernel: wlan0: link state changed to UP *<- Internet
is working again.*
Mar 10 09:28:36 nebula wpa_supplicant[17737]: CTRL-EVENT-CONNECTED -
Connection to d8:5d:4c:a5:f3:60 completed (auth) [id=0 id_str=]
Mar 10 09:28:36 nebula dhclient: New IP Address (wlan0): 192.168.1.102
Mar 10 09:28:36 nebula dhclient: New Subnet Mask (wlan0): 255.255.255.0
Mar 10 09:28:36 nebula dhclient: New Broadcast Address (wlan0):
255.255.255.255
Mar 10 09:28:36 nebula dhclient: New Routers (wlan0): 192.168.1.1

Any ideas?


More information about the freebsd-bugs mailing list