Re: Boot problems with - cannot smoothly boot on battery

From: yakui_zhao
Date: Sun May 24 2009 - 20:48:45 EST

On Mon, 2009-05-25 at 05:20 +0800, H. Peter Anvin wrote:
> Rafael J. Wysocki wrote:
> > On Monday 18 May 2009, Chris Howie wrote:
> >> Folks:
> >>
> >> I've been running for some time and reported an issue to this
> >> mailing list a while ago about the boot process. I believe I have now
> >> nailed down the one factor that determines whether I see this issue.
> >>
> >> The problem arises only when booting or halting my laptop when there
> >> is no power plugged in, e.g. the system is running on battery.
> >> Sometime after init begins starting services I must hold down a key on
> >> the keyboard to convince it to continue booting, otherwise it just
> >> hangs. If the system is running on AC then it boots fine. This same
> >> problem repeats itself during the halt process if running on battery.
> >>
> >> This also happens when resuming a suspend-to-disk image, after loading
> >> the data from the hard drive, but before control is returned to
> >> userspace. The keyboard has no effect on this hang, presumably
> >> because the kernel is not listening to the keyboard at this point.
> >> When this happens the only solution is to hold the power button and
> >> boot normally instead.
> >>
> >> An issue like this is a serious usability problem for me. I am
> >> neither a kernel developer nor hacker, my coding skills applying
> >> mostly to userspace applications. If there is anything you need from
> >> me to help diagnose this problem please let me know.
> >>
> >> I am not subscribed so please CC me on replies.
> >
> > Let's try to make your report a bit more visible (some CCs added).
> >
> I presume it boots with "acpi=off"?
How about using the following boot option?
a. idle=poll
b. nolapic_timer
c. processor.max_cstate=1

If the box can be booted with the above option, please open a new bug at and attach the
output of acpidump, lspci -xxx.

> -hpa

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at