From: Bill Nottingham <notting@redhat.com>
To: linux-kernel@vger.kernel.org
Subject: Problems with suspend and USB storage
Date: Thu, 15 May 2008 12:33:15 -0400 [thread overview]
Message-ID: <20080515163315.GA17779@nostromo.devel.redhat.com> (raw)
I've been testing suspend/hibernate with various USB devices under
2.6.25.2. Test box is a Thinkpad T60 (uhci, ehci).
The results are somewhat dismal.
Using USB as a hibernate device:
- A directly connected USB stick works OK as a hibernate device
- A directly connected USB hard drive works OK as a hibernate device
- A USB stick connected via an ExpressCard reader does not - it appears
to just not be there when the hibernate code attemps to write
the data.
On resume (from either hibernate or suspend from RAM):
- Any 'in use' USB storage, whether it be as swap (a hibernate device),
or a mounted filesystem, immediately generates errors on resume. It
appears the filesystem and/or swap tasks are woken up before the
actual USB device - it enumerates the disks after the errors have
already been thrown.
- As a consequence, the USB devices shift their device names
- Using USB_PERSIST has no effect on this problem
- This appears to happen for all USB connection types (hard drive,
stick, via ExpressCard reader.)
Is there any way to get sane behavior out of suspend/resume with
USB storage?
Bill
next reply other threads:[~2008-05-15 16:33 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-15 16:33 Bill Nottingham [this message]
2008-05-15 17:54 ` Tino Keitel
2008-05-15 18:03 ` Bill Nottingham
2008-05-15 19:40 ` Rafael J. Wysocki
2008-05-15 19:42 ` Bill Nottingham
2008-05-15 20:04 ` Rafael J. Wysocki
2008-05-15 19:55 ` Alan Stern
2008-05-16 12:04 ` Pavel Machek
2008-05-16 7:29 ` Greg KH
2008-05-22 20:59 ` Bill Nottingham
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=20080515163315.GA17779@nostromo.devel.redhat.com \
--to=notting@redhat.com \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®