2009-07-26 08:22:10

by Lukas Hejtmanek

[permalink] [raw]
Subject: iwlwifi (4965) regression since 2.6.30

Hello,

I noticed regression in 2.6.31-rc{3,4}. iwlagn driver does not work for me.
I got:
ifconfig wlan0 up
SIOCSIFFLAGS: Unknown error 132

dmesg shows:
[ 1812.806813] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux,
1.3.27kds
[ 1812.806820] iwlagn: Copyright(c) 2003-2009 Intel Corporation
[ 1812.806996] iwlagn 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 1812.807024] iwlagn 0000:03:00.0: setting latency timer to 64
[ 1812.807699] iwlagn 0000:03:00.0: Detected Intel Wireless WiFi Link 4965AGN
REV=0x4
[ 1812.860879] iwlagn 0000:03:00.0: Tunable channels: 11 802.11bg, 13 802.11a
channels
[ 1812.861012] alloc irq_desc for 32 on node -1
[ 1812.861017] alloc kstat_irqs on node -1
[ 1812.861069] iwlagn 0000:03:00.0: irq 32 for MSI/MSI-X
[ 1812.882796] phy0: Selected rate control algorithm 'iwl-agn-rs'

I definitely have rfkill on. I tried to even toggle rfkill, no success. The HW
is Lenovo T61 (thus acer/hp rfkill patches do not work for me).

--
Luk?? Hejtm?nek


2009-07-27 16:03:39

by Reinette Chatre

[permalink] [raw]
Subject: Re: iwlwifi (4965) regression since 2.6.30

Hi Lukas,

On Sun, 2009-07-26 at 00:57 -0700, Lukas Hejtmanek wrote:
> Hello,
>
> I noticed regression in 2.6.31-rc{3,4}. iwlagn driver does not work for me.
> I got:
> ifconfig wlan0 up
> SIOCSIFFLAGS: Unknown error 132

yes - this is a rfkill error

>
> dmesg shows:
> [ 1812.806813] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux,
> 1.3.27kds
> [ 1812.806820] iwlagn: Copyright(c) 2003-2009 Intel Corporation
> [ 1812.806996] iwlagn 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
> [ 1812.807024] iwlagn 0000:03:00.0: setting latency timer to 64
> [ 1812.807699] iwlagn 0000:03:00.0: Detected Intel Wireless WiFi Link 4965AGN
> REV=0x4
> [ 1812.860879] iwlagn 0000:03:00.0: Tunable channels: 11 802.11bg, 13 802.11a
> channels
> [ 1812.861012] alloc irq_desc for 32 on node -1
> [ 1812.861017] alloc kstat_irqs on node -1
> [ 1812.861069] iwlagn 0000:03:00.0: irq 32 for MSI/MSI-X
> [ 1812.882796] phy0: Selected rate control algorithm 'iwl-agn-rs'
>
> I definitely have rfkill on. I tried to even toggle rfkill, no success. The HW
> is Lenovo T61 (thus acer/hp rfkill patches do not work for me).

Maybe Johannes knows if there is something that you need for thinkpad.

Reinette

2009-07-27 16:06:51

by Johannes Berg

[permalink] [raw]
Subject: Re: iwlwifi (4965) regression since 2.6.30

On Mon, 2009-07-27 at 09:03 -0700, reinette chatre wrote:

> > I definitely have rfkill on. I tried to even toggle rfkill, no success. The HW
> > is Lenovo T61 (thus acer/hp rfkill patches do not work for me).
>
> Maybe Johannes knows if there is something that you need for thinkpad.

I'm not aware of any thinkpad-acpi rfkill problems, can you get the
rfkill tool and dump the status/list?

http://wireless.kernel.org/en/users/Documentation/rfkill

johannes


Attachments:
signature.asc (801.00 B)
This is a digitally signed message part

2009-07-27 16:08:38

by Marcel Holtmann

[permalink] [raw]
Subject: Re: iwlwifi (4965) regression since 2.6.30

Hi Reinette,

> > I noticed regression in 2.6.31-rc{3,4}. iwlagn driver does not work for me.
> > I got:
> > ifconfig wlan0 up
> > SIOCSIFFLAGS: Unknown error 132
>
> yes - this is a rfkill error
>
> >
> > dmesg shows:
> > [ 1812.806813] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux,
> > 1.3.27kds
> > [ 1812.806820] iwlagn: Copyright(c) 2003-2009 Intel Corporation
> > [ 1812.806996] iwlagn 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
> > [ 1812.807024] iwlagn 0000:03:00.0: setting latency timer to 64
> > [ 1812.807699] iwlagn 0000:03:00.0: Detected Intel Wireless WiFi Link 4965AGN
> > REV=0x4
> > [ 1812.860879] iwlagn 0000:03:00.0: Tunable channels: 11 802.11bg, 13 802.11a
> > channels
> > [ 1812.861012] alloc irq_desc for 32 on node -1
> > [ 1812.861017] alloc kstat_irqs on node -1
> > [ 1812.861069] iwlagn 0000:03:00.0: irq 32 for MSI/MSI-X
> > [ 1812.882796] phy0: Selected rate control algorithm 'iwl-agn-rs'
> >
> > I definitely have rfkill on. I tried to even toggle rfkill, no success. The HW
> > is Lenovo T61 (thus acer/hp rfkill patches do not work for me).
>
> Maybe Johannes knows if there is something that you need for thinkpad.

it works fine with my X200 and a 5350 card, but it could be that the
code inside the thinkpad driver is different for a T61.

Regards

Marcel

2009-07-28 11:21:13

by Lukas Hejtmanek

[permalink] [raw]
Subject: Re: iwlwifi (4965) regression since 2.6.30

On Mon, Jul 27, 2009 at 06:06:15PM +0200, Johannes Berg wrote:
> I'm not aware of any thinkpad-acpi rfkill problems, can you get the
> rfkill tool and dump the status/list?
>
> http://wireless.kernel.org/en/users/Documentation/rfkill

I figured it out.

I disable bluetooth usually just after system startup.

I disable bt using Fn+F5 which generates ACPI event:
ibm/hotkey HKEY 00000080 00001005

Which is OK.

But now (sinc 2.6.31-rcX), it silently toggles Soft block of WIFI. I have
separate HW rfkill switch, it is only soft blocked.

--
Luk?? Hejtm?nek

2009-07-28 12:55:28

by Johannes Berg

[permalink] [raw]
Subject: Re: iwlwifi (4965) regression since 2.6.30

Henrique, any ideas on this?

On Tue, 2009-07-28 at 13:21 +0200, Lukas Hejtmanek wrote:
> On Mon, Jul 27, 2009 at 06:06:15PM +0200, Johannes Berg wrote:
> > I'm not aware of any thinkpad-acpi rfkill problems, can you get the
> > rfkill tool and dump the status/list?
> >
> > http://wireless.kernel.org/en/users/Documentation/rfkill
>
> I figured it out.
>
> I disable bluetooth usually just after system startup.
>
> I disable bt using Fn+F5 which generates ACPI event:
> ibm/hotkey HKEY 00000080 00001005
>
> Which is OK.
>
> But now (sinc 2.6.31-rcX), it silently toggles Soft block of WIFI. I have
> separate HW rfkill switch, it is only soft blocked.
>


Attachments:
signature.asc (801.00 B)
This is a digitally signed message part