zd1211rw tries to load firmware from wrong file

Bug #60222 reported by Mikko Virkkilä
26
Affects Status Importance Assigned to Milestone
linux-source-2.6.17 (Ubuntu)
Fix Released
Medium
Ben Collins

Bug Description

Seems the zd1211rw module is expecting the firmware to be loaded from the directory /lib/firmware/zd1211 which doesn't exist.

Having the symlinks
/lib/firmware/zd1211/zd1211b_ub -> /lib/firmware/2.6.17-7-generic/zd1211b-WS11Ub.fw
and
/lib/firmware/zd1211/zd1211b_uphr -> /lib/firmware/2.6.17-7-generic/zd1211b-WS11UPhR.fw
seemed to get the driver properly loaded in my case (zd1211b chip).

Revision history for this message
Mikko Virkkilä (virkkila) wrote :

After this fix I'm able to see my AP with `iwlist scan` and even iwconfig would suggest everything is fine.

Unfortunately I'm unable to get an ip-address using dhcp and it would seem that no packages are sent out as dhcp claims it is broadcasting. I draw this conclusion from the fact that neither the wlan dongle's light nor the AP:s wlan light is blinking.

I'll be glad to try any remedy or to give more information. I'm best reached through irc (as mvirkkil).

Chuck Short (zulcss)
Changed in linux-source-2.6.17:
assignee: nobody → zulcss
Revision history for this message
Ben Collins (ben-collins) wrote :

Fixed in repo. If you need to, please open another bug report about the non-working issue.

Changed in linux-source-2.6.17:
assignee: zulcss → ben-collins
status: Unconfirmed → Fix Committed
Revision history for this message
Caroline Ford (secretlondon) wrote :

Bug #61990 says that this is broken again.

Revision history for this message
Caroline Ford (secretlondon) wrote :

This is broken in Edgy beta.

Revision history for this message
Caroline Ford (secretlondon) wrote :

Sep 30 10:48:29 eser kernel: [17179654.528000] usb 3-5: USB disconnect, address 3
Sep 30 10:48:36 eser kernel: [17179662.076000] usb 3-5: new high speed USB device using ehci_hcd and address 5
Sep 30 10:48:36 eser kernel: [17179662.208000] usb 3-5: configuration #1 chosen from 1 choice
Sep 30 10:48:36 eser kernel: [17179662.232000] usb 3-5: Could not load firmware file zd1211/zd1211_ub. Error number -2
Sep 30 10:48:36 eser kernel: [17179662.232000] zd1211rw 3-5:1.0: couldn't load firmware. Error number -2
Sep 30 10:48:36 eser firmware_helper[4530]: main: error loading '/lib/firmware/zd1211/zd1211_ub' for device '/class/firmware/3-5' with driver 'usb'
Sep 30 10:48:36 eser kernel: [17179662.344000] usb 3-5: reset high speed USB device using ehci_hcd and address 5
Sep 30 10:48:36 eser kernel: [17179662.476000] zd1211rw: probe of 3-5:1.0 failed with error -2

Revision history for this message
Caroline Ford (secretlondon) wrote :

I can confirm the non-working issue with the symlinks in place, duplicate bug #58259 also confirms that.

Revision history for this message
peter76 (pf-moll) wrote :

For me it works with the symlinks in place ( sort of ). Although my /etc/network/interfaces has this setting, it doesn't work before I do a manual

iwconfig eth1 essid myessid

and then a manual dhclient.

But I think this is another bug...

Revision history for this message
Caroline Ford (secretlondon) wrote :

In Edgy beta the files have the correct name (zd1211b_ub rather than zd1211b-WS11Ub.fw as previously) but they are still in /lib/firmware/2.6.17-7-generic and it is looking for them in /lib/firmware/zd1211/.

Revision history for this message
Matt Zimmerman (mdz) wrote :

It sounds like there are two issues here; if you have a problem with the driver even when the firmware is loaded, then please file a separate bug if it is not already filed.

Changed in linux-source-2.6.17:
importance: Undecided → Medium
Changed in linux-source-2.6.17:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.