DWL-650 card insert leads to 99% cpu usage

James Hughes <[email protected]> Mon, 10 Oct 2005 13:19:24 -0700
Newsgroups gmane.linux.linux-wlan.user
Message-ID <[email protected]>
Hi

I've given up on the debian packages and tried building from latest
(0.2.2) source, to take advantage of the ram downloading of the
firmware as described in the faq.

I have built the source, edited pcmcia/network.opts, restarted pcmcia
as described in the README. When I insert the card, the cpu jumps to
99% usage, and various wlan.agent processes immediately consume
roughly half available memory. To get a usable system again I have to
pop out the card and then play whack-a-mole with multiple wlan.agent
processes.

Here's the output of 'pgrep -fl wlan' with the card inserted:

28730 /bin/bash /etc/hotplug/wlan.agent wlan
28772 sh -c ./wlan-ng start wlan0 2>&1
28773 /bin/sh ./wlan-ng start wlan0
423 /bin/sh ./wlan-ng start wlan0
441 wlan.agent


Here's what syslog has to say on card insertion:

Oct 10 12:59:07 localhost cardmgr[14446]: socket 0: D-Link DWL-650
11Mbps 802.11b WLAN Card
Oct 10 12:59:07 localhost kernel: prism2cs_init: prism2_cs.o: 0.2.2 Loaded
Oct 10 12:59:07 localhost kernel: prism2cs_init: dev_info is: prism2_cs
Oct 10 12:59:08 localhost kernel: prism2_cs: index 0x01: Vcc 3.3, irq
3, io 0x0100-0x013f
Oct 10 12:59:08 localhost wlan.agent[28761]: WLAN Hotplug bypassed for pcmcia
<end syslog output>

With the debian package I could even get to the point of seeing
'linkstatus=CONNECTED' msgs in syslog, and the IP address listed in
the AP's station list (using ap-config from another PC) but with no
network connectivity.

Any ideas?

thanks.
James


--
James Hughes
Web application developer
Centre for Health Services and Policy Research
Vancouver, BC