[opensuse] No ACPI power off with openSuSE 12.2 / kernel 3.4 - SOLVED
Hi all. Some time ago there was a thread about shutdown -p or poweroff not working under oS 12.2, and similarly with shutting down from kde/gnome also not powering off. I dont' recall seeing a resolution on that thread. Recently I upgraded to 12.2 (via a clean install) from 11.4 and hit the same issue. Upgrading the kernel from 3.4.11 to 3.4.28 had no effect, and I checked and upgraded the motherboard bios with no result. Then, I happened to be looking at /etc/default/grub for some reason and noticed that the default kernel parameters in that file (which are copied to /boot/grub2/grub.cfg - the grub2 equivalent of menu.lst) included "apm=off acpi=off"! Guess what happened when I removed those two parameters and re-ran grub2- mkconfig -o /boot/grub2/grub.cfg? That's right - acpi poweroff started working again! Why were these 2 parameters included in the default boot params on a clean install of 12.2? I'd be interested to see if this fixes it for anyone else who is having similar problems. Maybe this should be raised as an install bug? Regards, Rodney. -- ============================================================== Rodney Baker VK5ZTV rodney.baker@iinet.net.au ============================================================== -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Monday, February 25, 2013 09:03:14 AM Rodney Baker wrote:
Hi all. Some time ago there was a thread about shutdown -p or poweroff not working under oS 12.2, and similarly with shutting down from kde/gnome also not powering off. I dont' recall seeing a resolution on that thread.
Recently I upgraded to 12.2 (via a clean install) from 11.4 and hit the same issue. Upgrading the kernel from 3.4.11 to 3.4.28 had no effect, and I checked and upgraded the motherboard bios with no result.
Then, I happened to be looking at /etc/default/grub for some reason and noticed that the default kernel parameters in that file (which are copied to /boot/grub2/grub.cfg - the grub2 equivalent of menu.lst) included "apm=off acpi=off"!
Guess what happened when I removed those two parameters and re-ran grub2- mkconfig -o /boot/grub2/grub.cfg? That's right - acpi poweroff started working again! I have been having am problem but the only reference I see in /etc/default/grub is to APM=off in the GRUB_CMDLINE_LINUX line. No reference to apci at all. Is this the line you meant? I thought that Line only applied to Recovery startup?
Why were these 2 parameters included in the default boot params on a clean install of 12.2?
I'd be interested to see if this fixes it for anyone else who is having similar problems. Maybe this should be raised as an install bug?
Regards, Rodney. See comment above. I'll be glad to test once I sure it that line.
Russ -- openSUSE 12.2(Linux 3.4.28-2.20-desktop x86_64)|KDE 4.10.00 "release 546"|Intel core2duo 2.5 MHZ,|8GB DDR3|GeForce 8400GS(NVIDIA-Linux-x86_64-304.60) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sun, 24 Feb 2013 18:48:04 upscope wrote: [...]
Then, I happened to be looking at /etc/default/grub for some reason and noticed that the default kernel parameters in that file (which are copied to /boot/grub2/grub.cfg - the grub2 equivalent of menu.lst) included "apm=off acpi=off"!
Guess what happened when I removed those two parameters and re-ran grub2- mkconfig -o /boot/grub2/grub.cfg? That's right - acpi poweroff started working again! I have been having am problem but the only reference I see in /etc/default/grub is to APM=off in the GRUB_CMDLINE_LINUX line. No reference to apci at all. Is this the line you meant? I thought that Line only applied to Recovery startup?
In my /etc/default/grub there are 2 parameters: GRUB_CMDLINE_LINUX_DEFAULT GRUB_CMDLINE_LINUX_RECOVERY The second is the command line used for recovery; the first is the default command line used for every regular boot option in grub.cfg. Remove apm=off (and acpi=off it it is in fact there). After saving the file run 'grub2-mkconfig -o /boot/grub2/grub.cfg' (double check the path under /boot before running it) and reboot, then try shutting down again. Mine now works as expected both from kde and from the command line. Rodney. -- ============================================================== Rodney Baker VK5ZTV rodney.baker@iinet.net.au ============================================================== -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sun, 24 Feb 2013 18:48:04 upscope wrote: [...]
Then, I happened to be looking at /etc/default/grub for some reason and noticed that the default kernel parameters in that file (which are copied
to
/boot/grub2/grub.cfg - the grub2 equivalent of menu.lst) included "apm=off acpi=off"!
Guess what happened when I removed those two parameters and re-ran grub2- mkconfig -o /boot/grub2/grub.cfg? That's right - acpi poweroff started working again!
I have been having am problem but the only reference I see in /etc/default/grub is to APM=off in the GRUB_CMDLINE_LINUX line. No reference to apci at all. Is this the line you meant? I thought that Line only applied to Recovery startup?
In my /etc/default/grub there are 2 parameters:
GRUB_CMDLINE_LINUX_DEFAULT GRUB_CMDLINE_LINUX_RECOVERY
The second is the command line used for recovery; the first is the default command line used for every regular boot option in grub.cfg.
Remove apm=off (and acpi=off it it is in fact there). After saving the file run 'grub2-mkconfig -o /boot/grub2/grub.cfg' (double check the path under /boot before running it) and reboot, then try shutting down again. Mine now works as expected both from kde and from the command line.
Rodney. Sorry to say in my system there is no reference to acpi or apm in the default
On Tuesday, February 26, 2013 01:53:37 AM Rodney Baker wrote: line. [CODE] GRUB_CMDLINE_LINUX_DEFAULT=" video=1920x1080x16 resume=/dev/disk/by-id/ata- ST31000528AS_6VPEXG0E-part1 splash=silent quiet showopts" GRUB_CMDLINE_LINUX_RECOVERY="showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe" [/CODE] Guess I can try removing it from the grub cmdline for recovery and see what happens. Thanks for your reply Russ -- openSUSE 12.2(Linux 3.4.28-2.20-desktop x86_64)|KDE 4.10.00 "release 550"|Intel core2duo 2.5 MHZ,|8GB DDR3|GeForce 8400GS(NVIDIA-Linux-x86_64-304.60) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* upscope
Sorry to say in my system there is no reference to acpi or apm in the default line.
[CODE]
GRUB_CMDLINE_LINUX_DEFAULT=" video=1920x1080x16 resume=/dev/disk/by-id/ata- ST31000528AS_6VPEXG0E-part1 splash=silent quiet showopts"
GRUB_CMDLINE_LINUX_RECOVERY="showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe" [/CODE]
Guess I can try removing it from the grub cmdline for recovery and see what happens.
If you don't boot the "RECOVERY" set, changes will not effect, and your "DEFAULT" doesn't contain those settings now so likely you will see no difference. You *might* try adding "acpi=on apm=on", just a stab-in-the-dark. -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 02/25/2013 02:28 PM, Patrick Shanahan wrote:
* upscope
[02-25-13 13:11]: [...] Sorry to say in my system there is no reference to acpi or apm in the default line.
[CODE]
GRUB_CMDLINE_LINUX_DEFAULT=" video=1920x1080x16 resume=/dev/disk/by-id/ata- ST31000528AS_6VPEXG0E-part1 splash=silent quiet showopts"
GRUB_CMDLINE_LINUX_RECOVERY="showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe" [/CODE]
Guess I can try removing it from the grub cmdline for recovery and see what happens. If you don't boot the "RECOVERY" set, changes will not effect, and your "DEFAULT" doesn't contain those settings now so likely you will see no difference.
You *might* try adding "acpi=on apm=on", just a stab-in-the-dark.
This is interesting. Over the past few months I've noticed that my 12.2-64 desktop would go into a suspend/hibernate/? mode overnight. It required lots of pounding on the keyboard, clicking mouse buttons, and a long time to wake the box up. Sometimes it appeared to be hung and required a power-off reboot cycle. Then, a few weeks ago after a zypper dup I noticed that the monitor save-screen thing would turn off the monitor after four minutes regardless of the "Configure Desktop" setting. So I tried Patrick's suggestion of adding "acpi=on apm=on"to /etc/default/grub. There was no mention of acpi/apm in the file initially. That seems to have fixed both of my issues! So this may be a good thing for me to do on all of the openSuSE boxes I manage. Regards, Lew -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Monday 25 Feb 2013 09:03:14 Rodney Baker wrote: Big thank you for this solution.
Hi all. Some time ago there was a thread about shutdown -p or poweroff not working under oS 12.2, and similarly with shutting down from kde/gnome also not powering off. I dont' recall seeing a resolution on that thread.
Recently I upgraded to 12.2 (via a clean install) from 11.4 and hit the same issue. Upgrading the kernel from 3.4.11 to 3.4.28 had no effect, and I checked and upgraded the motherboard bios with no result.
Then, I happened to be looking at /etc/default/grub for some reason and noticed that the default kernel parameters in that file (which are copied to /boot/grub2/grub.cfg - the grub2 equivalent of menu.lst) included "apm=off acpi=off"!
I also had "acpi=off", i've just removed it as per your email and now my machine powers off as it should, its been bugging me for ages. I followed the same upgrade procedure as you. I only had "apm=off" on the Failsafe option so i didn;t touch it.
Guess what happened when I removed those two parameters and re-ran grub2- mkconfig -o /boot/grub2/grub.cfg? That's right - acpi poweroff started working again!
Why were these 2 parameters included in the default boot params on a clean install of 12.2?
I'd be interested to see if this fixes it for anyone else who is having similar problems. Maybe this should be raised as an install bug? it certainly fixed it for me
Regards, Rodney.
regards Ian -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, 25 Feb 2013 16:51:17 ianseeks wrote:
On Monday 25 Feb 2013 09:03:14 Rodney Baker wrote:
Big thank you for this solution.
I have added the suggested solution to https://bugzilla.novell.com/show_bug.cgi?id=794889 Regards, Rodney. -- ============================================================== Rodney Baker VK5ZTV rodney.baker@iinet.net.au ============================================================== -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (5)
-
ianseeks
-
Lew Wolfgang
-
Patrick Shanahan
-
Rodney Baker
-
upscope