* Re: Boot problems with 2.6.29.1 - cannot smoothly boot on battery [not found] <3d2f29dc0905180125x5e7ef51dqf10955a3d44336e2@mail.gmail.com> @ 2009-05-24 20:36 ` Rafael J. Wysocki 2009-05-24 21:20 ` H. Peter Anvin 0 siblings, 1 reply; 6+ messages in thread From: Rafael J. Wysocki @ 2009-05-24 20:36 UTC (permalink / raw) To: Chris Howie Cc: linux-kernel, ACPI Devel Maling List, Linux PM List, Ingo Molnar, H. Anvin, Greg KH On Monday 18 May 2009, Chris Howie wrote: > Folks: > > I've been running 2.6.29.1 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). Best, Rafael ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Boot problems with 2.6.29.1 - cannot smoothly boot on battery 2009-05-24 20:36 ` Boot problems with 2.6.29.1 - cannot smoothly boot on battery Rafael J. Wysocki @ 2009-05-24 21:20 ` H. Peter Anvin 2009-05-25 0:49 ` yakui_zhao 2009-05-25 1:18 ` Shaohua Li 0 siblings, 2 replies; 6+ messages in thread From: H. Peter Anvin @ 2009-05-24 21:20 UTC (permalink / raw) To: Rafael J. Wysocki Cc: Chris Howie, linux-kernel, ACPI Devel Maling List, Linux PM List, Ingo Molnar, Greg KH Rafael J. Wysocki wrote: > On Monday 18 May 2009, Chris Howie wrote: >> Folks: >> >> I've been running 2.6.29.1 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"? -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Boot problems with 2.6.29.1 - cannot smoothly boot on battery 2009-05-24 21:20 ` H. Peter Anvin @ 2009-05-25 0:49 ` yakui_zhao 2009-05-25 1:18 ` Shaohua Li 1 sibling, 0 replies; 6+ messages in thread From: yakui_zhao @ 2009-05-25 0:49 UTC (permalink / raw) To: H. Peter Anvin Cc: Rafael J. Wysocki, Chris Howie, linux-kernel@vger.kernel.org, ACPI Devel Maling List, Linux PM List, Ingo Molnar, Greg KH 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 2.6.29.1 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 http://bugzilla.kernel.org/enter_bug.cgi?product=ACPI and attach the output of acpidump, lspci -xxx. Thanks. > > -hpa > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Boot problems with 2.6.29.1 - cannot smoothly boot on battery 2009-05-24 21:20 ` H. Peter Anvin 2009-05-25 0:49 ` yakui_zhao @ 2009-05-25 1:18 ` Shaohua Li 2009-05-25 1:53 ` Chris Howie 1 sibling, 1 reply; 6+ messages in thread From: Shaohua Li @ 2009-05-25 1:18 UTC (permalink / raw) To: H. Peter Anvin Cc: Rafael J. Wysocki, Chris Howie, linux-kernel@vger.kernel.org, ACPI Devel Maling List, Linux PM List, Ingo Molnar, Greg KH On Mon, May 25, 2009 at 05:20:09AM +0800, H. Peter Anvin wrote: > Rafael J. Wysocki wrote: > > On Monday 18 May 2009, Chris Howie wrote: > >> Folks: > >> > >> I've been running 2.6.29.1 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"? if this is a AMD CPU, please check http://bugzilla.kernel.org/show_bug.cgi?id=13233 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Boot problems with 2.6.29.1 - cannot smoothly boot on battery 2009-05-25 1:18 ` Shaohua Li @ 2009-05-25 1:53 ` Chris Howie 2009-05-26 19:51 ` Chris Howie 0 siblings, 1 reply; 6+ messages in thread From: Chris Howie @ 2009-05-25 1:53 UTC (permalink / raw) To: Shaohua Li Cc: H. Peter Anvin, Rafael J. Wysocki, linux-kernel@vger.kernel.org, ACPI Devel Maling List, Linux PM List, Ingo Molnar, Greg KH On Sun, May 24, 2009 at 9:18 PM, Shaohua Li <shaohua.li@intel.com> wrote: > if this is a AMD CPU, please check http://bugzilla.kernel.org/show_bug.cgi?id=13233 Ahh, that sounds like it. I first noticed the problem in 2.6.28 after switching from 2.6.26 (but never tried 2.6.27). So the information about versions is indeed consistent. I'm on an amd64 cpu. Thanks everyone for the suggestions, I will try to take a look within the next couple of days and report my findings. -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Boot problems with 2.6.29.1 - cannot smoothly boot on battery 2009-05-25 1:53 ` Chris Howie @ 2009-05-26 19:51 ` Chris Howie 0 siblings, 0 replies; 6+ messages in thread From: Chris Howie @ 2009-05-26 19:51 UTC (permalink / raw) To: Shaohua Li Cc: H. Peter Anvin, Rafael J. Wysocki, linux-kernel@vger.kernel.org, ACPI Devel Maling List, Linux PM List, Ingo Molnar, Greg KH On Sun, May 24, 2009 at 9:53 PM, Chris Howie <cdhowie@gmail.com> wrote: > On Sun, May 24, 2009 at 9:18 PM, Shaohua Li <shaohua.li@intel.com> wrote: >> if this is a AMD CPU, please check http://bugzilla.kernel.org/show_bug.cgi?id=13233 > > Ahh, that sounds like it. I first noticed the problem in 2.6.28 after > switching from 2.6.26 (but never tried 2.6.27). So the information > about versions is indeed consistent. I'm on an amd64 cpu. > > Thanks everyone for the suggestions, I will try to take a look within > the next couple of days and report my findings. The bug linked was in fact my problem, and after forward-porting the patch to 2.6.29.4 (which required manual patching for one hunk -- luckily this was straightforward) my system boots perfectly on battery and AC. Many thanks all, this was the only issue I've had with the latest kernels. I'm very happy that it's out of the way! Cheers, -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-05-26 19:51 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <3d2f29dc0905180125x5e7ef51dqf10955a3d44336e2@mail.gmail.com>
2009-05-24 20:36 ` Boot problems with 2.6.29.1 - cannot smoothly boot on battery Rafael J. Wysocki
2009-05-24 21:20 ` H. Peter Anvin
2009-05-25 0:49 ` yakui_zhao
2009-05-25 1:18 ` Shaohua Li
2009-05-25 1:53 ` Chris Howie
2009-05-26 19:51 ` Chris Howie
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox