Bug 8972

Summary: zd1211 device is no longer configured
Product: Drivers Reporter: Oliver Neukum (oliver)
Component: network-wirelessAssignee: Daniel Drake (dsd)
Status: CLOSED CODE_FIX    
Severity: normal CC: bunk, cedric.caron, linville
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.23-rc4 Subsystem:
Regression: Yes Bisected commit-id:
Bug Depends on:    
Bug Blocks: 9056    
Attachments: patch
dmesg with zd1211 debug enabled

Description Oliver Neukum 2007-09-03 04:58:33 UTC
Most recent kernel where this bug did not occur: 2.6.22
Distribution: OpenSuse
Hardware Environment: x86_64
Software Environment:
Problem Description: The device no longer connects to the AP when configured

Steps to reproduce: Plug in and configure
Comment 1 John W. Linville 2007-09-05 06:29:23 UTC
Could you attach the output of dmesg?  And the output of iwconfig?  And ifconfig as well?  Thanks!
Comment 2 John W. Linville 2007-09-05 08:45:52 UTC
I see Daniel is already engaged w/ this on netdev (although linux-wireless@vger.kernel.org would be better)...
Comment 3 Rafael J. Wysocki 2007-09-26 14:26:56 UTC
References      : http://marc.info/?l=linux-usb-devel&m=118854967709322&w=2

Caused-By       : Daniel Drake <dsd@gentoo.org>
                  commit 74553aedd46b3a2cae986f909cf2a3f99369decc
Comment 4 Daniel Drake 2007-12-03 06:07:26 UTC
Created attachment 13837 [details]
patch

The failure is in an odd place, it seems strange that this patch could have caused it. Anyway, please apply this patch on top of a broken kernel and modify it to provide your own MAC address. Then see if the problem still exists. It brings behaviour back closer to what it used to be.
Comment 5 C 2008-01-30 14:48:36 UTC
I probably have the same problem in 32bit mode.

I have the folowings information in the dmesg

zd1211rw 1-4.1:1.0: firmware version 4605
zd1211rw 1-4.1:1.0: zd1211 chip 0ace:1211 v4330 high 00-11-f6 RF2959_RF pa0 -----
zd1211rw 1-4.1:1.0: error ioread32(CR_REG1): -110

the problem stay the same with the patch applied.
Comment 6 C 2008-01-30 15:24:23 UTC
Created attachment 14651 [details]
dmesg with zd1211 debug enabled
Comment 7 C 2008-02-13 17:54:01 UTC
With the driver included in 2.6.25-rc1 my device is back alive.

I don't know if this info can help fixing the driver in 2.6.23/24 (this driver is a port to the news wifi stack)

But, at least in my case, waiting for 2.6.25 will fix the problem.