2009-04-06 19:16:15

by Mathias Burén

[permalink] [raw]
Subject: iwlagn preventing hibernation with TuxOnIce

Hi,

I think I've found a bug. Either it's iwlagn or it's TuxOnIce, I'll
try here first. Whenever my wlan0 interfaces is up, TuxOnIce causes a
kernel panic when it's 'writing kernel and process information', after
a while I get a backtrace (?) about something with sda (my SSD). I was
first using iwlagn from 2.6.29 but I just installed
compat-wireless-2009-04-06 and it made no difference.

Hardware being used:
Dell Inspiron 1520

iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks
iwlagn: Copyright(c) 2003-2009 Intel Corporation
iwlagn 0000:0c:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
iwlagn 0000:0c:00.0: setting latency timer to 64
iwlagn 0000:0c:00.0: Detected Intel Wireless WiFi Link 4965AGN REV=0x4
iwlagn 0000:0c:00.0: Tunable channels: 13 802.11bg, 19 802.11a channels
iwlagn 0000:0c:00.0: irq 29 for MSI/MSI-X
phy0: Selected rate control algorithm 'iwl-agn-rs'
iwlagn 0000:0c:00.0: firmware: requesting iwlwifi-4965-2.ucode
iwlagn 0000:0c:00.0: loaded firmware version 228.57.2.23
Registered led device: iwl-phy0::radio
Registered led device: iwl-phy0::assoc
Registered led device: iwl-phy0::RX
Registered led device: iwl-phy0::TX

Vanilla 2.6.29.1 kernel with TuxOnIce patch, fs for / is ext4, using
the deadline scheduler. Kernel configuration at [1]. dmesg at [2].

Is there any way you could help me debug this? Thanks,

Mathias


[1] http://rafb.net/p/qWvmzl19.html
[2] http://rafb.net/p/3c2Nuw14.html


2009-04-07 17:17:56

by Reinette Chatre

[permalink] [raw]
Subject: Re: iwlagn preventing hibernation with TuxOnIce

Mathias,

On Mon, 2009-04-06 at 12:16 -0700, Mathias Bur=C3=A9n wrote:
> Hi,
>=20
> I think I've found a bug. Either it's iwlagn or it's TuxOnIce, I'll
> try here first. Whenever my wlan0 interfaces is up, TuxOnIce causes a
> kernel panic=20

Does this mean you do not get a kernel panic if your wlan0 interface is
down? Does it matter whether iwlagn module is loaded or not, or just
interface being up or down? Does it happen during hibernate or when you
resume?

> when it's 'writing kernel and process information', after
> a while I get a backtrace (?) about something with sda (my SSD). I wa=
s
> first using iwlagn from 2.6.29 but I just installed
> compat-wireless-2009-04-06 and it made no difference.
>=20
> Hardware being used:
> Dell Inspiron 1520
>=20
> iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks
> iwlagn: Copyright(c) 2003-2009 Intel Corporation
> iwlagn 0000:0c:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
> iwlagn 0000:0c:00.0: setting latency timer to 64
> iwlagn 0000:0c:00.0: Detected Intel Wireless WiFi Link 4965AGN REV=3D=
0x4
> iwlagn 0000:0c:00.0: Tunable channels: 13 802.11bg, 19 802.11a channe=
ls
> iwlagn 0000:0c:00.0: irq 29 for MSI/MSI-X
> phy0: Selected rate control algorithm 'iwl-agn-rs'
> iwlagn 0000:0c:00.0: firmware: requesting iwlwifi-4965-2.ucode
> iwlagn 0000:0c:00.0: loaded firmware version 228.57.2.23
> Registered led device: iwl-phy0::radio
> Registered led device: iwl-phy0::assoc
> Registered led device: iwl-phy0::RX
> Registered led device: iwl-phy0::TX
>=20
> Vanilla 2.6.29.1 kernel with TuxOnIce patch, fs for / is ext4, using
> the deadline scheduler. Kernel configuration at [1]. dmesg at [2].

The dmesg does not contain any panic or errors related to iwlagn that I
can see.=20

>=20
> Is there any way you could help me debug this? Thanks,

We can start with iwlagn debugging. Please recompile your driver with
debugging enabled and then load it with "modprobe iwlagn
debug=3D0x43fff".=20

>=20
> Mathias
>=20
>=20
> [1] http://rafb.net/p/qWvmzl19.html
> [2] http://rafb.net/p/3c2Nuw14.html
> --

Reinette