Bug 231216 - init 0 does not power-off in apm mode
Summary: init 0 does not power-off in apm mode
Status: RESOLVED DUPLICATE of bug 221667
Alias: None
Product: openSUSE 10.2
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Final
Hardware: x86 Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on: 231215
Blocks:
  Show dependency treegraph
 
Reported: 2007-01-01 15:02 UTC by m. bracher
Modified: 2007-01-10 10:16 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description m. bracher 2007-01-01 15:02:59 UTC
OS: System upgraded from 10.1 to 10.2
Hadware: Laptop IBM T40
Boot-options: acpi=off apm=on
(using acpi is not an option, because susp-to-ram consumes approx. 10W, with apm 1.5W)

init 0 does not power-off the laptop 
(with Suse 10.1 it worked)
Comment 1 Matej Horvath 2007-01-04 13:48:29 UTC
Please attach your /var/log/messages.
Comment 2 m. bracher 2007-01-04 22:57:51 UTC
Additional info:
On the screen, at the end you can see something like:
umount proc
The system will be (stopped/powerded off/halted/???) immediately
  --> then nothing happens, system still running 

Maybe it is related to bug 231215


Jan  4 23:42:33 ltmnb2 init: Switching to runlevel: 0
Jan  4 23:42:34 ltmnb2 kernel: bootsplash: status on console 0 changed to on
Jan  4 23:42:34 ltmnb2 auditd[6824]: The audit daemon is exiting.
Jan  4 23:42:34 ltmnb2 kernel: audit(1167950554.967:7): audit_pid=0 old=6824 by auid=4294967295
Jan  4 23:42:36 ltmnb2 smpppd[7208]: terminating on signal 15
Jan  4 23:42:36 ltmnb2 sshd[7244]: Received signal 15; terminating.
Jan  4 23:42:37 ltmnb2 kernel: /dev/vmmon[8794]: Module vmmon: unloaded
Jan  4 23:42:37 ltmnb2 kernel: bridge-eth0: down
Jan  4 23:42:37 ltmnb2 kernel: bridge-eth0: detached
Jan  4 23:42:38 ltmnb2 xinetd[7355]: Exiting...
Jan  4 23:42:39 ltmnb2 ifdown:     vmnet1    
Jan  4 23:42:39 ltmnb2 ifdown: Interface not available and no configuration found.
Jan  4 23:42:42 ltmnb2 ifdown:     vmnet8    
Jan  4 23:42:42 ltmnb2 ifdown: Interface not available and no configuration found.
Jan  4 23:42:58 ltmnb2 kernel: Kernel logging (proc) stopped.
Jan  4 23:42:58 ltmnb2 kernel: Kernel log daemon terminating.
Jan  4 23:42:59 ltmnb2 syslog-ng[3270]: syslog-ng version 1.6.11 going down
Comment 3 Matej Horvath 2007-01-05 13:00:18 UTC
Could you please try to change the boot apm parameter to apm=power_off and report if you are successful? 

It seems to be a duplicate of the bug 221667
Comment 4 m. bracher 2007-01-07 09:25:36 UTC
Yes, that works.

In the above mentioned bug it is proposed to fix it via installer/boot-option.
I think, that's the wrong way. Most people want to power off the machine, so the default should be to power off, and the few people that don't want to power off can set an option like apm=no_power_off ?!
It is not very user friendly to have longer and longer kernel parameter lines.
Comment 5 Matej Horvath 2007-01-10 10:16:13 UTC

*** This bug has been marked as a duplicate of bug 221667 ***