public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
From: reinette chatre <reinette.chatre@intel.com>
To: "Mathias Burén" <mathias.buren@gmail.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: iwlagn preventing hibernation with TuxOnIce
Date: Tue, 07 Apr 2009 16:14:10 -0700	[thread overview]
Message-ID: <1239146050.29937.11.camel@rc-desk> (raw)
In-Reply-To: <8ccc1dbe0904071409k61daaf47t2261e3cfc48615be@mail.gmail.com>

Hi Mathias,

(please cc mailing list on your response)

On Tue, 2009-04-07 at 14:09 -0700, Mathias Bur=C3=A9n wrote:
>=20
>=20
> 2009/4/7 reinette chatre <reinette.chatre@intel.com>
>         Mathias,
>        =20
>         On Mon, 2009-04-06 at 12:16 -0700, Mathias Bur=C3=A9n wrote:
>         > 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, TuxOnIc=
e
>         causes a
>         > kernel panic
>        =20
>        =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 o=
r
>         when you
>         resume?
>        =20
>=20
> Yes, if I ifdown wlan0 before hibernation all goes well. It does not
> matter if iwlagn is loaded or not. This is only during hibernation,
> resume works fine (although I have to hibernate with wlan0 down first
> of course in order to resume from anything).
>=20
> I tried to hibernate from gnome just now, and it seemingly stops at
> the same step as before (writing kernel and process data). I can see
> the SSD work (probably writes the image) for a while, then all goes
> silent. However, TuxOnIce responds to the keyboard because if I press
> escape it changes the text to "aborting hibernation", but nothing
> happens, just sits there with the text.
>=20
> This time I didn't get a panic (that I could see), but the computer
> shut itself off after about a minute (normal hibernation takes about =
4
> seconds), and just before the poweroff I saw this: received netlink
> error: invalid argument. I have no idea if it's related.
> =20
>=20
>        =20
>         > 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) -> IR=
Q
>         17
>         > iwlagn 0000:0c:00.0: setting latency timer to 64
>         > iwlagn 0000:0c:00.0: Detected Intel Wireless WiFi Link
>         4965AGN REV=3D0x4
>         > 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].
>        =20
>        =20
>         The dmesg does not contain any panic or errors related to
>         iwlagn that I
>         can see.
>        =20
>=20
> I thought about that, how can I provide a logfile for a system crash?
> Nothing gets written in any logs what I can see. I don't have another
> machine to debug with unfortunately. (was thinking logging to serial
> or whatever)

You can try serial console (if you have one) or netconsole. You can als=
o
try to get syslog to log things for you with a request that it syncs
after every write (you surely do not want this enabled always).
Something like this in your syslog.conf:
kern.*		/var/log/kern.log

Reinette

>=20

--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      parent reply	other threads:[~2009-04-07 23:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <8ccc1dbe0904061150w18d38193v772492e480f0aa15@mail.gmail.com>
2009-04-06 19:16 ` iwlagn preventing hibernation with TuxOnIce Mathias Burén
2009-04-07 17:23   ` reinette chatre
     [not found]     ` <8ccc1dbe0904071409k61daaf47t2261e3cfc48615be@mail.gmail.com>
2009-04-07 23:14       ` reinette chatre [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1239146050.29937.11.camel@rc-desk \
    --to=reinette.chatre@intel.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mathias.buren@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox