Re: laptop reboots right after hibernation



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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • BUG? rebooting
    ... I've got a problem with rebooting my linux on laptop hp nx6310 (centrino ... But there is also ms windows on the same laptop. ... And after such reboot from ... I guess it's the problem of the way how linux' kernel reboots. ...
    (Linux-Kernel)
  • Re: prevent yum deleting downloaded updates
    ... Occasionally there'll be a very quick release of a kernel update shortly ... with no problems and just works on first reboot. ... I don't want to own a laptop. ... It'd be quite easy to find that they've dropped support ...
    (Fedora)
  • Re: [Bugme-new] [Bug 8378] New: Averatec 3156X laptop doesnt reboot with kernels > 2.6.13.5 (res
    ... Most recent kernel where this bug did *NOT* occur: ... Averatec 3156X (seemingly identical to the american model ... I noticed that with recent kernels my laptop would reboot when I do an 'init 6', ...
    (Linux-Kernel)
  • RE: BUG? rebooting
    ... I've got a problem with rebooting my linux on laptop hp nx6310 (centrino ... But there is also ms windows on the same laptop. ... And after such reboot from ... I guess it's the problem of the way how linux' kernel reboots. ...
    (Linux-Kernel)
  • Re: problem with a net printer
    ... Yes, I can solve the electrical power, but I can´t solve the software problem. ... Always I reboot XP laptop where is connected the printer, ... If I wan´t print from Millenium computer I must reboot this computer. ...
    (microsoft.public.windowsxp.network_web)