On 06-10-06 14:01 Andrew Morton wrote:

> regression?

My tests say no. I can reproduce it on a 2.6.18-rc1, which didn't
include the zd1211rw driver. It seems to be hardware-dependent. I can
reproduce it on a x86/OHCI (SIS USB 1.0 controller rev 07), but
not on a PPC32/EHCI (NEC USB 2.0 controller rev 04)). 

lsusb -v must run as root, because it appears the USB hub will not be accessed
otherwise. A second lsusb -v hangs endlessly. The bug is always triggered on
the "buggy" hardware.

The events around the disconnect look like this:

[  217.532000] usb 1-1: rx_urb_complete() urb d52260a0 error -110
[  217.532000] usb 1-1: rx_urb_complete() urb d5226160 error -110
[  217.536000] hub 1-0:1.0: port 1 disabled by hub (EMI?), re-enabling...
[  217.536000] usb 1-1: USB disconnect, address 20
[  217.536000] usb 1-1: int_urb_complete() resubmit urb d52263a0
[  217.548000] zd1211rw 1-1:1.0: disconnect()
[  217.560000] zd1211rw 1-1:1.0: zd_usb_iowrite16v() error in usb_bulk_msg(). Er
[  217.560000] zd1211rw 1-1:1.0: _zd_iowrite32v_locked() error -22 in zd_usb_wri
[  217.560000] zd1211rw 1-1:1.0: zd_usb_ioread16v() error in usb_bulk_msg(). Err
[  217.560000] zd1211rw 1-1:1.0: zd_ioread32v_locked() error: zd_ioread16v_locke
[  217.560000] zd1211rw 1-1:1.0: error ioread32(CR_REG1): -22
[  217.560000] zd1211rw 1-1:1.0: zd_usb_disable_int() urb d52263a0 killed
[  217.592000] zd1211rw 1-1:1.0: disconnected
[  218.552000] hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[  219.504000] hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?

The USB cable is of course not bad, because unplugging and replugging the
device does work.

Uli

> Begin forwarded message:

>            Summary: lsusb -v kills zd1211rw (USB)
>     Kernel Version: 2.6.18
>             Status: NEW
>           Severity: normal
>              Owner: [EMAIL PROTECTED]
>          Submitter: [EMAIL PROTECTED]
> 
> 
> Most recent kernel where this bug did not occur:
> Distribution:
>   FC5
> Hardware Environment:
>   ZyAIR G-220 (USB)
> Software Environment:
>   Recent 2.6.18-git
> Problem Description:
>   When running "lsusb -v", zd1211rw receives a USB disconnect (lsusb without
> verbose seems okay).  Logs show:
> Oct  1 16:00:20 george kernel: usb 1-6: USB disconnect, address 3
> Oct  1 16:00:20 george kernel: zd1211rw 1-6:1.0: error ioread32(CR_REG1): -22

>   bring up wireless on USB stick
>   lsusb -v

-- 
Uli Kunitz

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to