Re: Reliable unreliability with D-Link DWL-122 USB

Dave Jenkins <[email protected]>
Newsgroups gmane.linux.linux-wlan.user
Message-ID <[email protected]>
--- Holger Wansing <[email protected]> wrote:
> The only problem I know about is, that the stick
> fails to work,
> if any process (as hal for example) scans the
> /proc/bus/usb/devices
> file. In this case the stick hangs up with many
> problems for
> getting it to work again.

Thanks for the reply, Holger. I've just experimented
with reading /proc/bus/usb/devices a few times while
using the network and it reproduces the error that I
described, i.e. wlan stops working and I get:

kernel: hfa384x_usbin_ctlx: Could not match IN
URB(0x8001,0) to CTLX - ignored

Sometimes I also get further errors - details at the
bottom of this mail.

I am able to recover from this error as I described in
my previous mail, by ifdown wlan0 and modprobe -r
wlan0 followed by either modprobe wlan0 or unplugging
and replugging the adaptor.

I have hald running, so maybe it is reading
/proc/bus/usb/devices during boot and causing the
once-per-boot problem that I'm seeing.

That seems like progress! Where do we go from here?
Are there any developers on the list who can suggest
where a solution might lie - if it's a hardware issue,
might there be a workaround?

Cheers,

Dave

Details of the further errors that I sometimes get:
This is on Fedora Core 3 with kernel 2.6.11-1.27_FC3,
Via KM400 chipset.
------8<------
May 28 20:20:00 bagpuss kernel: NETDEV WATCHDOG:
wlan0: transmit timed out
May 28 20:20:00 bagpuss kernel: usb_unlink_urb() is
deprecated for synchronous unlinks.  Use
usb_kill_urb() instead.
May 28 20:20:00 bagpuss kernel: Badness in
usb_unlink_urb at drivers/usb/core/urb.c:457 (Not
tainted)
May 28 20:20:00 bagpuss kernel:  [<c02c0730>]
usb_unlink_urb+0x98/0x9a
May 28 20:20:00 bagpuss kernel:  [<de903604>]
hfa384x_usb_defer+0x174/0x2f7 [prism2_usb]
May 28 20:20:00 bagpuss kernel:  [<c01357e2>]
worker_thread+0x1c4/0x415
May 28 20:20:00 bagpuss kernel:  [<de903490>]
hfa384x_usb_defer+0x0/0x2f7 [prism2_usb]
May 28 20:20:00 bagpuss kernel:  [<c011aac8>]
default_wake_function+0x0/0xc
May 28 20:20:00 bagpuss kernel:  [<c011aac8>]
default_wake_function+0x0/0xc
May 28 20:20:00 bagpuss kernel:  [<c013561e>]
worker_thread+0x0/0x415
May 28 20:20:00 bagpuss kernel:  [<c013b930>]
kthread+0x7c/0xa4
May 28 20:20:00 bagpuss kernel:  [<c013b8b4>]
kthread+0x0/0xa4
May 28 20:20:00 bagpuss kernel:  [<c0101291>]
kernel_thread_helper+0x5/0xb
May 28 20:20:00 bagpuss kernel: wlan0 rx pipe reset
complete.
------8<------


		
___________________________________________________________ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.