Re: laptop reboots right after hibernation



On Thursday, 22 of November 2007, Tomas Carnecky wrote:
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

Well, I suspect so. We've already had a similar report and there are some
problems that seem to be related to it with some boxes. Still, nobody knows
what the problem really is so far.

or are users supposed to unload ehci_hcd each time before hibernation?

As a (hopefully temporary) workaround.

In the former case, I'd be willing to help debug.

We have yet to figure out how to do that. :-)

Greetings,
Rafael
-
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

  • Re: wifi question
    ... you see I have the exact same laptop. ... If your kernel is x86_64 then you need to use the Windows XP 64-bit driver. ... have an 3a27 BIOS I have already done the custom DSDT. ...
    (comp.os.linux.misc)
  • Re: Fedora on DELL/HP laptops
    ... that the M90 does too. ... TwinView features of the driver to use the laptop with a digital ... Dell Inspiron which took 2-3 minutes to hibernate. ...
    (Fedora)
  • Re: various laptop nagles - any suggestions? (note: 2.6.19-rc2-mm1 but applies to mult
    ... Setting the internal clock to 100 Hz stablizes the laptop - and the ... My suspicion is a timing problem in the synaptic USB driver ... read actually so I haven't been entirely sure it's a kernel problem... ...
    (Linux-Kernel)
  • Re: Wifi Card for laptop
    ... Maybe the driver is crashing because the device ... If you think you can grab a kernel dump from this, ... Fn+F2 he switch to bluetooth and my laptop crash... ...
    (freebsd-questions)
  • Re: problems with wifi
    ... > yes, i can load if_ath, wireless card is found and i can set it up as ... with the NDISulator any better than it will with the athdriver. ... in implementation depending on the laptop. ... loaded generated kernel module, but no ndis0 ...
    (freebsd-current)