Pressing power button hangs the system with 2.6.15-20-686

Bug #40243 reported by Michal Suchanek
12
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned
linux-source-2.6.15 (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

I tried the new kernel, and it hangs when I press the power button (instead of powering down).

I am not sure what exactly locks up. Sometimes I am still able to log in on the console but X does not work anymore. And I cannot shutdown nor reboot the system.

It used to work with the hoary and breezy kernel, and with 2.6.15-1-686

Revision history for this message
Michal Suchanek (hramrach) wrote : dmidecode output

.

Revision history for this message
Michal Suchanek (hramrach) wrote : /var/log/dmesg

.

Revision history for this message
Chuck Short (zulcss) wrote :

Can you try adding reboot=h or reboot=b.

Thanks
chuck

Revision history for this message
Michal Suchanek (hramrach) wrote :

The problem is that acpi does not start, and apm starts instead. X (or something else) does not work well with APM sleep (which is apparently what the button does then) and things break.
I guess reboot=b (wherever it should be added) would not help me because the system is stuck at a point where something is still running. I can type on the console and even try to run commands.

Adding acpi=force on the kernel command line solves the problem for me completely. The system does the same as the old kernel did.

Thanks

Revision history for this message
TenLeftFingers (tenleftfingers) wrote :

I can confirm this. If I wait long enough, the shutdown dialog does come up. If I cancel, subsequent uses of the shutdown button applet behave normally. So it's just the first time.

Interestingly, Hibernate and Suspend options are not available on the first appearance of the dialog, only on the subsequent ones I mentioned. If I can be of any more help, please say.

Revision history for this message
Gareth Fitzworthington (mapping-gp-deactivatedaccount) wrote :

Jarlath,
Have you tried the kernel boot option specified in the previous comment by Michal?
On older PCs (like Michal's) ACPI is disabled by default because it didn't physically exist in most PCs back around 1999. If a PC from this era does happen to have ACPI functionality then you must force the kernel to use it by using the kernel boot option acpi=force. Gutsy carries a warning about this at boot time if it discovers an older PC.
If you have a modern PC and are having similar trouble then you should consider filing a new bug report.

Changed in linux-source-2.6.15:
status: New → Incomplete
Changed in linux:
status: New → Incomplete
Revision history for this message
TenLeftFingers (tenleftfingers) wrote :

I should have mentioned that my mobo is a Gigabyte DS3 motherboard and ACPI is surely supported.
http://tw.giga-byte.com/Products/Motherboard/Products_Overview.aspx?ProductID=2314

But I will try the boot option and see if it helps.

Revision history for this message
Gareth Fitzworthington (mapping-gp-deactivatedaccount) wrote :

Jarlath,
I would suggest that you do the following:
Check your bios settings. There will likely be a setting which sets the functionality of the power button. Try some different settings here. The usual options are Suspend to RAM or Disk, and "hold for 4 secs for hard power down", "signal to OS for soft power down" (there maybe more options than this).
It maybe that that you are experiencing some sort of bug with regards to ACPI support for your motherboard.
Try the debugging procedures here:
https://wiki.ubuntu.com/DebuggingACPI

If none of the above helps then file a new bug report. File it against the Linux-source-2.6.xx (depending upon which release you are using).
Please include the information as separate attachments:
 * Output of uname -a
 * Output of sudo lspci -vvnn
 * Output of sudo dmidecode
 * Try to suspend/hibernate and then restart the system and attach /var/log/kern.log.0
 * Tarball of /proc/acpi directory. You can't just tar all files because their content sometimes changes etc.
    * cp -r /proc/acpi /tmp
    * tar -cvjf ~/acpi.tar.bz /tmp/acpi
Thanks.

Revision history for this message
Gareth Fitzworthington (mapping-gp-deactivatedaccount) wrote :

This bug is due to be closed as the default behaviour is to disable ACPI support on old motherboards. Gutsy warns about this at boot time and suggests that "acpi=force" be used if the system has some form of ACPI functionality.
Will leave open for a while longer to allow for comment.

Revision history for this message
TenLeftFingers (tenleftfingers) wrote : Re: [Bug 40243] Re: Pressing power button hangs the system with 2.6.15-20-686

You're correct. I had my machines mixed up. The one with the problem
indeed does not support ACPI.

My apologies and thank you for your time.

On Mon, Mar 24, 2008 at 6:22 AM, Gareth Fitzworthington
<email address hidden> wrote:
> This bug is due to be closed as the default behaviour is to disable ACPI support on old motherboards. Gutsy warns about this at boot time and suggests that "acpi=force" be used if the system has some form of ACPI functionality.
> Will leave open for a while longer to allow for comment.
>
>
>
> --
> Pressing power button hangs the system with 2.6.15-20-686
> https://bugs.launchpad.net/bugs/40243
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Gareth Fitzworthington (mapping-gp-deactivatedaccount) wrote :

Closing bug as acpi is disabled by default on older PCs (pre year 2000). ACPI must be forced with kernel option if acpi functionality exists. Please re-mark as NEW if you think referral to INVALID is errant.
Thanks.

Changed in linux-source-2.6.15:
status: Incomplete → Invalid
Changed in linux:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.