Hi,
I'm not subscribed, so please cc me on any reply.
I've built and installed today's -git kernel
(v2.6.33-rc1-225-gc9f937e) and find that my (rt61pci) wireless card no
longer works. All the usual drivers are loaded when I insert the card.
The card works fine with 2.6.32.2 (as long as I disable power saving).
The symptoms are that:
1. The file /proc/net/wireless never appears
2. iwconfig gives "wlan0 no wireless extensions."
3. ifconfig wlan0 up succeeds
4. iwconfig wlan0 essid MYSSID gives
Cannot read /proc/net/wireless
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device wlan0 ; Invalid argument.
5. ifconfig -a gives:
wlan0 Link encap:Ethernet HWaddr 00:11:50:DE:04:F4
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
6. /proc/net/dev contains:
Inter- | Receive
| Transmit
face |bytes packets errs drop fifo frame compressed
multicast|bytes packets errs drop fifo colls carrier compressed
lo: 600 12 0 0 0 0 0 0
600 12 0 0 0 0 0 0
wlan0: 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
7. dmesg shows the following messages triggered by insertion of the card:
pcmcia_socket pcmcia_socket0: pccard: CardBus card inserted into slot 0
pci 0000:03:00.0: reg 10: [mem 0xffff8000-0xffffffff]
pci 0000:03:00.0: BAR 0: assigned [mem 0xf4000000-0xf4007fff]
pci 0000:03:00.0: BAR 0: set to [mem 0xf4000000-0xf4007fff] (PCI
address [0xf4000000-0xf4007fff]
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
(2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
(2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
(5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
(5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
rt61pci 0000:03:00.0: enabling device (0000 -> 0002)
rt61pci 0000:03:00.0: PCI INT A -> Link[LNKD] -> GSI 11 (level, low) -> IRQ 11
rt61pci 0000:03:00.0: setting latency timer to 64
phy0: Selected rate control algorithm 'minstrel'
Registered led device: rt61pci-phy0::radio
Registered led device: rt61pci-phy0::assoc
I'll see if I can find time for a bisect session tomorrow, but let me
know if I can supply any additional diagnostics.
Thanks
Chris
--
No, Sir; there is nothing which has yet been contrived by man, by which
so much happiness is produced as by a good tavern or inn - Doctor Samuel
Johnson
On Wed, 2009-12-23 at 22:48 +0000, Chris Clayton wrote:
> Hi,
>
> I'm not subscribed, so please cc me on any reply.
>
> I've built and installed today's -git kernel
> (v2.6.33-rc1-225-gc9f937e) and find that my (rt61pci) wireless card no
> longer works. All the usual drivers are loaded when I insert the card.
> The card works fine with 2.6.32.2 (as long as I disable power saving).
>
> The symptoms are that:
>
> 1. The file /proc/net/wireless never appears
>
> 2. iwconfig gives "wlan0 no wireless extensions."
Have a closer look at your .config file. I guess CONFIG_CFG80211_WEXT
is not defined there. It's needed to make cfg80211 capable devices
support wireless extensions.
You can try using iw to configure your card. That's the new utility.
[dropping cc to LKML, it's a purely wireless issue]
--
Regards,
Pavel Roskin
Hi Pavel,
2009/12/23 Pavel Roskin <[email protected]>:
> On Wed, 2009-12-23 at 22:48 +0000, Chris Clayton wrote:
>> Hi,
>>
>> I'm not subscribed, so please cc me on any reply.
>>
>> I've built and installed today's -git kernel
>> (v2.6.33-rc1-225-gc9f937e) and find that my (rt61pci) wireless card no
>> longer works. All the usual drivers are loaded when I insert the card.
>> The card works fine with 2.6.32.2 (as long as I disable power saving).
>>
>> The symptoms are that:
>>
>> 1. The file /proc/net/wireless never appears
>>
>> 2. iwconfig gives "wlan0 ? ? no wireless extensions."
>
> Have a closer look at your .config file. ?I guess CONFIG_CFG80211_WEXT
> is not defined there. ?It's needed to make cfg80211 capable devices
> support wireless extensions.
>
Yes, that was the problem. Thanks - I've got the card working again now.
However, I have now noticed a change of behaviour. With 2.6.32.2 and
earlier kernels the line for wlan0 appears in /proc/net/wireless
before my configuration script is run by udev. With 2.6.33 the line
doesn't appear until wpa_supplicant has been started by the script.
I only look for the line as a way of making sure the modules have
loaded. I can't remember now why I do that but I guess there must have
been a time when udev started the script before the driver had
initialised everything. It's not a big deal for me, because I can look
in /proc/net/dev instead, but I thought a heads up on the behaviour
change might be useful to others. I might no longer need the delay or
maybe the script can simply sleep for a second or two - I'll
experiment a bit.
> You can try using iw to configure your card. ?That's the new utility.
>
I looked at that earlier tonight. Unfortunately, the man page is
almost useless and the help text from iw itself is far from clear to
me. I'll have to experiment to find out what works. Thanks for the tip
though.
Regards,
Chris
> [dropping cc to LKML, it's a purely wireless issue]
>
> --
> Regards,
> Pavel Roskin
>
--
No, Sir; there is nothing which has yet been contrived by man, by which
so much happiness is produced as by a good tavern or inn - Doctor Samuel
Johnson