Bug 349076

Summary: shutdown ends in restart of the computer
Product: [openSUSE] openSUSE 10.3 Reporter: Paul Richter <paul.richter>
Component: BasesystemAssignee: E-mail List <kernel-maintainers>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: werner
Version: Final   
Target Milestone: ---   
Hardware: i586   
OS: openSUSE 10.3   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Paul Richter 2007-12-16 08:56:05 UTC
Shutting down the computer leads to restart the computer. Shutdown has to be forced by pushing the button for more than 4 seconds

my computer: hp pavilion 6357eu
Comment 1 Mark Gordon 2007-12-17 19:48:24 UTC
How are you trying to shut the machine down? A power button? A menu entry? halt(8)? Do all of these behave the same way?
Comment 2 Paul Richter 2007-12-17 21:51:45 UTC
All these behave the same way. Only cutting the power supply by pushing the power button for more than 4 seconds stops shuts down the machine.
Comment 3 Dr. Werner Fink 2007-12-18 10:49:50 UTC
This is a hardware problem or a configuration problen within the CMOS
... please note that the shutdown(8) command (executed even with the
menu entries with `shutdown -h now') signals the /sbhin/init program
to switch to the runlevel 6 and the last command from the users space
during this runlevel is `halt -p -d -f' at least if poweroff was not
disabled. This signals the kernel to send a poweroff signal to the CMOS
... and this seems not to work with this mainboard.

Beside this: it is a bad idea to call the `halt' comand instead of
`shutdown -h now' due to the fact that the halt command of other
UNIX systems do not know the option `-f' aka `force' like the Linux
version of halt which leads to a halt signal to the CPU.
Comment 4 Paul Richter 2007-12-18 10:54:34 UTC
It is not a hardware problem, since windows vista shuts down the computer without any problem. There is a problem in the shut down menu of opensuse 10.3
Comment 5 Dr. Werner Fink 2007-12-18 11:15:17 UTC
Belive me: it *is* a problem with your hardware regardless if windows vista
overwrites the CMOS settings and the linux kernel does not. You may try out
on the command line within e.g. konsole the commands

         shutdown -h now

or

         shutdown -P now

which is at least the same as done by the menu button (first is halt the
system, the second is power off the system).  You may also set within
/etc/sysconfig/shutdown with the help of the vi editor or with YaST with
the entries `System' > `/etc/sysconfig Editor' > `System' > `Boot' > `Halt'
the value for `HALT' from `auto' to `halt' to if halt works for your (this
does not poweroff but only halt the system).  Or if poweroff with the help
of the ACPI interface of your hardware works for you (which IMHO is broken)
you may force poweroff by choosing `poweroff' for `HALT'.

Beside this with the systems around here `shutdown -h now' works as it
should be even if called with the help of the menu.
Comment 6 Greg Kroah-Hartman 2007-12-18 17:43:48 UTC

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