LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   zd1211rw Cannot Load Firmware (https://www.linuxquestions.org/questions/linux-networking-3/zd1211rw-cannot-load-firmware-786070/)

markjuggles 01-31-2010 07:10 PM

zd1211rw Cannot Load Firmware
 
Hello,

I have an Airlink101 AWLL3026 and the zd1211rw driver. When I insert the USB card, it is recognized but syslog indicates that the firmware wasn't where is was expected.

I am running an updated Linux Mint system (based off of Ubuntu):

Linux hoverfly 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux

Plugging in the USB Wifi adapter results in the following on syslog:

Jan 31 19:04:08 hoverfly kernel: [105617.584051] usb 1-7: new high speed USB device using ehci_hcd and address 9
Jan 31 19:04:08 hoverfly kernel: [105617.740521] usb 1-7: configuration #1 chosen from 1 choice
Jan 31 19:04:08 hoverfly kernel: [105617.876042] usb 1-7: reset high speed USB device using ehci_hcd and address 9
Jan 31 19:04:08 hoverfly kernel: [105618.010434] phy5: Selected rate control algorithm 'minstrel'
Jan 31 19:04:08 hoverfly kernel: [105618.011371] zd1211rw 1-7:1.0: phy5
Jan 31 19:04:08 hoverfly nm-system-settings: SCPlugin-Ifupdown: device added (udi: /org/freedesktop/Hal/devices/net_00_11_a3_01_db_aa, iface: wlan0): not well known
Jan 31 19:04:08 hoverfly NetworkManager: <info> (wlan0): driver supports SSID scans (scan_capa 0x01).
Jan 31 19:04:08 hoverfly NetworkManager: <info> (wlan0): new 802.11 WiFi device (driver: 'zd1211rw')
Jan 31 19:04:08 hoverfly NetworkManager: <info> (wlan0): exported as /org/freedesktop/Hal/devices/net_00_11_a3_01_db_aa
Jan 31 19:04:13 hoverfly NetworkManager: <info> (wlan0): device state change: 1 -> 2
Jan 31 19:04:13 hoverfly NetworkManager: <info> (wlan0): bringing up device.
Jan 31 19:04:13 hoverfly kernel: [105622.272548] usb 1-7: firmware: requesting zd1211/zd1211_ub
Jan 31 19:04:13 hoverfly kernel: [105622.281280] usb 1-7: firmware: requesting zd1211/zd1211_uphr
Jan 31 19:04:13 hoverfly compat_firmware.sh[30046]: udev firmware loader misses sysfs directory
Jan 31 19:04:13 hoverfly kernel: [105622.369085] zd1211rw 1-7:1.0: firmware version 4605
Jan 31 19:04:13 hoverfly kernel: [105622.409086] zd1211rw 1-7:1.0: zd1211 chip 0ace:1211 v4330 high 00-11-a3 AL2230_RF pa0 -----


The basic problem is that "udev firmware loader misses sysfs directory".

The firmware is in /lib/firmware/zd1211 and can be downloaded from Source Forge.

How can I reconfigure so that the firmware is located?

Thank you,

Mark

nimnull22 01-31-2010 07:20 PM

But a little bit later:
kernel: [105622.369085] zd1211rw 1-7:1.0: firmware version 4605
kernel: [105622.409086] zd1211rw 1-7:1.0: zd1211 chip 0ace:1211 v4330 high 00-11-a3 AL2230_RF pa0 -----

Did you post all log or part of it.

Do please:
modprobe -r zd1211rw
modprobe zd1211rw
dmesg | tail -n 30

markjuggles 01-31-2010 09:02 PM

The first post lists all of the syslog events from the USB insertion to the firmware errors. There were subsequent prints if you are interested, but the process seemed to fall apart at the firmware step.

Yes I noticed the discrepancy between not being able to load the firmware but then knowing its version. Weird.

Here are the results of the experiment you requested:

hoverfly ~ # modprobe -r zd1211rw
hoverfly ~ # modprobe zd1211rw
hoverfly ~ # dmesg|tail -n 30
[105622.281280] usb 1-7: firmware: requesting zd1211/zd1211_uphr
[105622.369085] zd1211rw 1-7:1.0: firmware version 4605
[105622.409086] zd1211rw 1-7:1.0: zd1211 chip 0ace:1211 v4330 high 00-11-a3 AL2230_RF pa0 -----
[105622.433387] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[111984.287303] usbcore: deregistering interface driver zd1211rw
[111984.287592] zd1211rw 1-7:1.0: error ioread32(CR_REG1): -2
[111984.432056] usb 1-7: reset high speed USB device using ehci_hcd and address 9
[111993.662818] Generic kernel compatibility enabled based on linux-next next-20100113
[111993.702761] cfg80211: Calling CRDA to update world regulatory domain
[111993.768230] cfg80211: World regulatory domain updated:
[111993.768234] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[111993.768237] (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[111993.768240] (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[111993.768243] (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[111993.768245] (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[111993.768248] (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[111993.884053] usb 1-7: reset high speed USB device using ehci_hcd and address 9
[111994.017865] phy0: Selected rate control algorithm 'minstrel'
[111994.018511] zd1211rw 1-7:1.0: phy0
[111994.018535] usbcore: registered new interface driver zd1211rw
[111998.272274] usb 1-7: firmware: requesting zd1211/zd1211_ub
[111998.290029] usb 1-7: firmware: requesting zd1211/zd1211_uphr
[111998.296511] compat_firmware 1-7: firmware_loading_store: vmap() failed
[111998.296561] usb 1-7: Could not load firmware file zd1211/zd1211_uphr. Error number -2
[111998.296573] zd1211rw 1-7:1.0: couldn't load firmware. Error number -2
[111998.300111] usb 1-7: firmware: requesting zd1211/zd1211_ub
[111998.318806] usb 1-7: firmware version 0x4440 and device bootcode version 0x4330 differ
[111998.318811] usb 1-7: firmware: requesting zd1211/zd1211_ur
[111999.328095] usb 1-7: USB control request for firmware upload failed. Error number -110
[111999.328115] zd1211rw 1-7:1.0: couldn't load firmware. Error number -110

markjuggles 02-02-2010 08:01 PM

Success!

I downloaded the latest stable version of compat-wireless-2.6.30.tar.bz2 from here:

http://wireless.kernel.org/en/users/Download/stable/

After following the instructions and rebooting, Zydas is working with zd1211rw.


All times are GMT -5. The time now is 08:04 PM.