From: Frans Pop <elendil@planet.nl>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [BUG] Suspend tries to suspend devices already in D3
Date: Tue, 3 Feb 2009 18:42:43 +0100 [thread overview]
Message-ID: <200902031842.44186.elendil@planet.nl> (raw)
In-Reply-To: <200902031833.12777.elendil@planet.nl>
On Tuesday 03 February 2009, Frans Pop wrote:
> Looking at iwl-agn.c the cause could be that iwl_pci_suspend() depends
> on iwl_mac_stop() to call pci_save_state(). I added some debug
> statements in iwl_pci_suspend() that showed priv->is_open is false, so
> iwl_mac_stop does indeed *not* get called when the interface is down.
However, iwl_mac_stop() had been called when I ran ifdown just before
suspending the system:
# Here I run 'ifdown wlan0':
Feb 3 18:25:30 aragorn kernel: wlan0: deauthenticating by local choice (reason=3)
Feb 3 18:25:30 aragorn kernel: iwlagn: MAC is in deep sleep!
# The next debug statement is from iwl_mac_stop():
Feb 3 18:25:30 aragorn kernel: iwlagn FJP: state saved and device disabled
Feb 3 18:25:30 aragorn kernel: wlan0: deauthenticating by local choice (reason=3)
# Start of suspend:
Feb 3 18:25:54 aragorn kernel: PM: Syncing filesystems ... done.
Feb 3 18:25:54 aragorn kernel: Freezing user space processes ... (elapsed 0.00 seconds) done.
Feb 3 18:25:54 aragorn kernel: Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
Feb 3 18:25:54 aragorn kernel: Suspending console(s) (use no_console_suspend to debug)
Feb 3 18:25:54 aragorn kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
Feb 3 18:25:54 aragorn kernel: sd 0:0:0:0: [sda] Stopping disk
Feb 3 18:25:54 aragorn kernel: ACPI handle has no context!
Feb 3 18:25:54 aragorn kernel: ACPI handle has no context!
Feb 3 18:25:54 aragorn kernel: sdhci-pci 0000:02:06.2: PME# disabled
Feb 3 18:25:54 aragorn kernel: ACPI handle has no context!
Feb 3 18:25:54 aragorn acpid: client 4081[0:0] has disconnected
Feb 3 18:25:54 aragorn kernel: ACPI handle has no context!
# The next debug statement is from iwl_pci_suspend() and shows priv->is_open is false:
Feb 3 18:25:54 aragorn kernel: iwlagn FJP: not calling iwl_mac_stop
Feb 3 18:25:54 aragorn kernel: ------------[ cut here ]------------
Feb 3 18:25:54 aragorn kernel: WARNING: at drivers/pci/pci-driver.c:375 pci_legacy_suspend+0xd4/0x11a()
Feb 3 18:25:54 aragorn kernel: Hardware name: HP Compaq 2510p Notebook PC
Feb 3 18:25:54 aragorn kernel: PCI PM: Device state not saved by iwl_pci_suspend+0x0/0x6a [iwlagn], state is D3hot
[...]
next prev parent reply other threads:[~2009-02-03 17:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-03 8:49 [BUG] Suspend tries to suspend devices already in D3 Frans Pop
2009-02-03 9:34 ` Rafael J. Wysocki
2009-02-03 9:59 ` Frans Pop
2009-02-03 17:33 ` Frans Pop
2009-02-03 17:42 ` Frans Pop [this message]
2009-02-04 1:25 ` Rafael J. Wysocki
2009-02-04 11:58 ` Frans Pop
2009-02-04 12:17 ` Rafael J. Wysocki
2009-02-14 0:48 ` Frans Pop
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=200902031842.44186.elendil@planet.nl \
--to=elendil@planet.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=rjw@sisk.pl \
/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