From: Tomas Carnecky <tom@dbservice.com>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Pavel Machek <pavel@ucw.cz>, linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: laptop reboots right after hibernation
Date: Thu, 22 Nov 2007 12:59:36 +0100 [thread overview]
Message-ID: <47456F28.3070307@dbservice.com> (raw)
In-Reply-To: <200711182333.52669.rjw@sisk.pl>
Rafael J. Wysocki wrote:
> On Sunday, 18 of November 2007, Tomas Carnecky wrote:
>> Pavel Machek wrote:
>>> Hi!
>>>
>>>> echo disk > /sys/power/state
>>>>
>>>> successfully saves that state to the disk, but just as the laptop is
>>>> about to turn itself off, it reboots (successfully, so the
>>>> hibernation/resume process works well, even with X running! which is
>>>> awesome :) ). But I'd rather like the computer turned off after I
>>>> hibernate it. Where could the problem be?
>>>>
>>>> It's a new laptop, TP X61 tablet, I tried ubuntu (7.10, gutsy) for a few
>>>> days, both suspend and hibernate worked there (with one or two crashes,
>>>> probably due to X, I've read that the intel driver got some
>>>> suspend/resume improvements recently). Now I'm running gentoo, kernel
>>>> 2.6.24-rc2. I'm using newer versions of almost all software now compared
>>>> to the ubuntu system.
>>> If it works in older ubuntu, you can probably do bisect. Does normal
>>> shutdown work? You can try platform vs. shutdown mode...
>> I forgot, normal shutdown (init 0) works, the 'shutdown' command fails
>> somewhere in the gentoo init scripts, but that has nothing to do with
>> the kernel. 'init 6' also works. Both regardless of where the notebook
>> is (dock or outside).
>
> Please verify if you have the ehci_hcd driver loaded when the box is in the
> dock. If so, please try to unload it before hibernation and see if the box
> will reboot.
I had to recompile the kernel because I have a monolithic kernel with as
many components as possible compiled in. But after I disabled the whole
USB subsystem, the laptop doesn't reboot anymore after hibernation. Is
that a bug in the usb driver or are users supposed to unload ehci_hcd
each time before hibernation? In the former case, I'd be willing to help
debug.
tom
next prev parent reply other threads:[~2007-11-22 11:59 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-11 16:42 laptop reboots right after hibernation Tomas Carnecky
2007-11-18 10:52 ` Pavel Machek
2007-11-18 16:32 ` Tomas Carnecky
2007-11-18 16:40 ` Tomas Carnecky
2007-11-18 20:16 ` Tomas Carnecky
2007-11-20 9:32 ` Kjartan Maraas
2007-11-28 1:09 ` Tejun Heo
2007-11-28 12:35 ` Kjartan Maraas
2007-11-28 13:35 ` Tejun Heo
2007-11-28 13:47 ` Jeff Garzik
2007-11-28 14:11 ` Mark Lord
2007-11-30 10:39 ` Tejun Heo
2007-11-30 21:37 ` Kjartan Maraas
2007-12-05 7:46 ` Tejun Heo
2007-12-05 8:27 ` Kjartan Maraas
2007-12-05 17:09 ` Kjartan Maraas
2007-12-06 2:38 ` Tejun Heo
2007-12-06 16:47 ` Kjartan Maraas
2007-12-09 6:46 ` Tejun Heo
2007-12-09 21:43 ` Kjartan Maraas
2007-12-10 1:03 ` Tejun Heo
2007-12-10 14:05 ` Kjartan Maraas
2007-12-10 14:10 ` Tejun Heo
2007-11-28 8:06 ` Tejun Heo
2007-11-28 10:45 ` Tomas Carnecky
2007-11-18 16:49 ` Tomas Carnecky
2007-11-18 22:33 ` Rafael J. Wysocki
2007-11-22 11:59 ` Tomas Carnecky [this message]
2007-11-22 16:43 ` Rafael J. Wysocki
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=47456F28.3070307@dbservice.com \
--to=tom@dbservice.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.