|
Bugzilla – Full Text Bug Listing |
| Summary: | openSUSE 12.1 system does not shutdown completely | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 12.1 | Reporter: | Philipp Niehues <philippniehues> |
| Component: | Basesystem | Assignee: | Frederic Crozat <fcrozat> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Major | ||
| Priority: | P4 - Low | CC: | a.skembris, avsco, ecsos, f1she4rs, fermishell, forgotten_39_Sx3VmkZ, forgotten_6-bquBoZcb, forgotten_6nWxbLc9cL, hosa.chiguru, info, jdd, jgm, let0, Martin.Seidler, math.eber, melchiaros, mh, ootbs1, per, praise.tazio, t.rother, wolfgang.hahnl |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | 64bit | ||
| OS: | SUSE Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
logs - yast2,kdm,message,warn,xorg
UpdateLog |
||
|
Description
Philipp Niehues
2011-11-19 16:22:24 UTC
I get a similar behaviour. Using the shutdown button starts the shutdown process, but the system halts at some point displaying the green screen with the gecko. While shutting down the eye moves, then a "click" from the HDD is heard and the eye stops moving. The system then freezes. If i switch to the command console prior to the halt, the final message is "System halted". I am using OpenSUSE 12.1 x64 after a distribution upgrade from 11.4. Using sysconfig editor to add options to shutdown or change the halt behaviour led me nowhere, though I am not sure I used the tool correctly. As a workaround, I created a script called "shutdown.sh" containing the following line: sudo /sbin/shutdown -h now and placed it in /home/Saverios/.kde4/shutdown/ with the password option for sudo disabled (yes, I know, security risks blah blah blah - just get the darn thing working and I will re-enable the password!). Never had this problem with previous versions of OpenSUSE. Using an Gigabyte GA-MA790FXT-UD5P Motherboard with an AMD Phenom II X4 810. Have you update to 12.1 or new install? When you has update then it is the same failure that i have. In /usr/share/kde4/config/kdm/kdmrc is default /sbin/halt But in /usr/share/kde4/config/kdm/kdmrc.rpmnew it is default /sbin/shutdown -h -P now So suse 12.1 (new kde version from 12.1) need shutdown not halt. Delete kdrmrc and rename kdmrc.rpmnew in kdmrc and restart. For developers. For update this should be done automatic. I did a new install. Of course no second file and in the first there is no "/sbin/halt" so should not be the cause of the problem on my netbook. I confirm this bug. After updating to 12.1 I have the same symptoms. I edited /usr/share/kde4/config/kdm/kdmrc, changed /sbin/halt to sbin/shutdown -h -P now. In addition to the advice of Eric Schirra: my kdmrc.rpmnew only contains an empty lines. [Shutdown] # The command (subject to word splitting) to run to halt the system. # Default is "/sbin/shutdown -h -P now" #HaltCmd= # The command (subject to word splitting) to run to reboot the system. # Default is "/sbin/shutdown -r now" #RebootCmd= # Whether it is allowed to shut down the system via the global command socket. # Default is false #AllowFifo=true # Whether it is allowed to abort active sessions when shutting down the # system via the global command socket. # Default is true #AllowFifoNow=false # The boot manager KDM should use for offering boot options in the # shutdown dialog. # "None" - no boot manager # "Grub" - Grub boot manager # "Grub2" - Grub2 boot manager # "Lilo" - Lilo boot manager (Linux on i386 & x86-64 only) # Default is Grub #BootManager=Grub So you can just comment out the line HaltCmd. If this fails - add HaltCmd=/sbin/shutdown -h -P now Confirmed. I have the same problems here on an customized AMD T1100 system. -> So, it is not so dependent on which hardware we are using. I remove "acer aspire one 531 h from the summary. Logs of my system will be added. Created attachment 464199 [details]
logs - yast2,kdm,message,warn,xorg
*** Bug 732327 has been marked as a duplicate of this bug. *** I had the following experience: I tried to upgrade my system from 11.4 to 12.1 via DVD iso, downloaded from openSUSE. 64 bit version KDE. The installation went well untill the system said something like: I restart now. The PC began to shut down and suddenly the screen froze and became distorted, the whole system froze. Within >10 min nothing happened. I removed the DVD, pressed the reset button and started the system. Now the boot time of the whole system was always more then 6 minutes. I also got no access to kmail. My system: CPU AMD Athlon 64 X2 Dual Core Processor 6000+ Grafic: C77 [GeForce 8100 / nForce 720a] Is this a new bug? I have similar problem on my Macbook Pro 7.1 laptop with NIVIDIA graphic cards. After upgrading from 11.4 to 12.1 KDE 64bit, I can not able to shutdown unless I hard press the shutdown for long. The screen flickers hundreds of times and does not stop and does not shutdown. In 11.4 also, I had this problem of screen flickering before shutting down. This problem was not there in the earlier versions. Now, with 12.1 it is worse. PS : When I give 'shutdown -r now' command from the non-graphical mode (without starting X), then it shuts down neatly and swiftly. Has any of you found a fix ? Thanks, Same problem here : /sbin/halt doesn't work. Regards, Olivier Confirming the same error for my recent update from 11.4 to 12.1 on a laptop. The change in kdmrc described in # 2 helps. This error is critical, especially for "normal" users, it should be fixed asap. Another four confirms... Anybody working on that bug? KDE 4.7.2 "release 5", opensuse 12.1 from NET-installer x64, btrfs with lzo. similar behaviour on some Z68 m/b with internal graphics. Using sysVinit and failsafe options doesn't help. ( If reboot was chosen as an action, additional Ctrl-Alt-Del does the job.) (In reply to comment #1) > I get a similar behaviour. Using the shutdown button starts the shutdown > process, but the system halts at some point displaying the green screen with > the gecko. While shutting down the eye moves, then a "click" from the HDD is > heard and the eye stops moving. The system then freezes. If i switch to the > command console prior to the halt, the final message is "System halted". I am > using OpenSUSE 12.1 x64 after a distribution upgrade from 11.4. Using sysconfig > editor to add options to shutdown or change the halt behaviour led me nowhere, > though I am not sure I used the tool correctly. > > As a workaround, I created a script called "shutdown.sh" containing the > following line: > > sudo /sbin/shutdown -h now > > and placed it in /home/Saverios/.kde4/shutdown/ > > with the password option for sudo disabled (yes, I know, security risks blah > blah blah - just get the darn thing working and I will re-enable the > password!). > > Never had this problem with previous versions of OpenSUSE. Using an Gigabyte > GA-MA790FXT-UD5P Motherboard with an AMD Phenom II X4 810. Yes.. This is exactly whats happening on my Notebook too... Unfortunately, the /sbin/shutdown -h now command does the same See also on the forums, for example: - http://forums.opensuse.org/english/get-technical-help-here/tumbleweed/468169-12-1-stuck-boot-screen-shutdown.html - http://forums.opensuse.org/forums/english/get-technical-help-here/install-boot-login/470382-opensuse-12-1-will-not-shut-down.html - http://forums.opensuse.org/forums/english/get-technical-help-here/install-boot-login/470370-my-12-1-opensuse-does-not-shut-down-properly.html - http://forums.opensuse.org/forums/english/get-technical-help-here/install-boot-login/469187-opensuse-12-1-dont-shutdown.html - http://forums.opensuse.org/forums/english/get-technical-help-here/install-boot-login/469017-12-1-computer-does-not-power-down-upon-shutdown.html - http://forums.opensuse.org/forums/english/get-technical-help-here/install-boot-login/468367-boot-up-shutdown-issue-one-more.html - http://forums.opensuse.org/forums/english/get-technical-help-here/laptop/468447-problem-acpi.html Also confirming this bug as described above. OpenSUSE upgraded from 11.4 to 12.1 (KDE). Nvidia GeForce 8500 graphics, AMD Phenom 9500 in a MCP61 motherboard. Shutdown leaves green gecko screen on and front panel power light on. /sbin/shutdown -h does fully shutdown. dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart work fine. Same problem for me with Intel G630, Asus P8H61-MX motherboard, Opensuse 12.1 running Gnome3 (all updates installed). When I power off the system appears to shutdown completely but the power button stays lit (and the keyboard). I have a dual-boot with Win7 and that OS shuts down properly (which disappoints me more than I can say). Same problem here on IBM Thinkcentre and HP desktop machines. Installations are both 12.1+updates. Please check first if this also happens with sysvinit. See http://en.opensuse.org/openSUSE:Most_annoying_bugs_12.1 section Bug #725917 Problem: System is switched from sysvinit to systemd during upgrade. Workaround: is to install the sysvinit-init package. As soon as its install gets acknowledged the removal of the systemd-sysvinit package will be suggested. About how to accomplish this. I often have his behavior since several years, but may be caused by different sources. Anyway I could never get a solution. Last time it was last week, with 12.1. went away yesterday (update?) I also have a kde error bumping sometime at halt time and fogiving the halt, so next day I find the computer still running. seems pretty ramdom (In reply to comment #20) > Please check first if this also happens with sysvinit. See > http://en.opensuse.org/openSUSE:Most_annoying_bugs_12.1 section > I switched a 12.1 system to sysvinit - "halt" nows works as expected and also powers off the system. While using systemd please ensure to use /sbin/poweroff As I'm running several openSUSE 12.1 system driven by systemd I can confirm: a) /sbin/poweroff works b) independent of a fresh 12.1 install or an upgrade from 11.4 shutdown via my desktop environment (KDE) works too. Do we need to document this better? Or is this already part of one of the many - hint alert! the community should consider to merge the different articles about systems in the openSUSE wiki into one! - documents available? Passing to Frederic to have this on his radar and to close with works for me, invalid, or who cares about systemd. ;) my problems always come with kde, not tested recently from terminal (and can't as I don't have the problem anymore). and I care about systemd, because I use it in my new servers (we no problem other than my lack of knowledge :-() jdd I've now exhaustively checked all combinations of the commands "halt", "poweroff" and "shutdown" with my 12.1 system running first systemd and then sysvinit. No combination will make the system shutdown to the point where the power button light goes out. This must be a software issue as Win7 is able to achieve a full power-off. to do a poweroff, make sure to use "halt -p", not just "halt", it will not power off the system. As of yesterday this bug is now gone from my system. I ran a bunch of updates which were mainly to do with Tumbleweed upgrading to KDE4.8 and now my system shuts down to a full OFF! I have this as my shutdown "/sbin/shutdown -h now" which is default, I think. Anyway, hopefully that's the end for me. Since noticeing this bug I have done a fresh install of 12.1. I now get a full shutdown - hardware is the same, so I assume this bug is related to upgrading from 11.4 to 12.1. However I did the same upgrade on two other machines and did not see this bug on them- so not sure what to make of it. I also encountered this after upgrading from 11.4 to 12.1 a few days ago. The solution was to change the kdmrc file as specified above so that it read HaltCmd=/sbin/shutdown -h -P now Otherwise the system wouldn't power off when shutting down or hibernating. I have the same problem. I installed "sysvinit-init" instead of "systemd-sysvinit", and updated system, but it doesn't work. In "/usr/share/kde4/config/kdm/kdmrc" shutdown section halt command is set to HaltCmd=/sbin/shutdown -h -P now But it still won't turn off. Only shutdown scrpt in "/home/user/.kde4/shutdown/" helps as in first comment. But I don't like that I have to disable sudo pass for it. if you have system not shutting down when not using systemd, it is a different bug. Oh, sorry, I was confused. It didn't work with systemd at first, that was the reason I installed sysvinit-init. Now I put systemd back, HaltCmd is set to "/sbin/shutdown -h -P now", and it's working. Thank You Here, I have this behaviour on a Dell laptop (32 bit) since some update of 11.4, and it stays with 12.1. I tried every possible combination of systemd / sysvinit with shutdown and all its parameters, with poweroff and halt. My /usr/share/kde4/config/kdm/kdmrc is ok. All the settings about shutdown are ok. The BIOS is updated. There is no way to power off the machine, even if I try all those commands as root in a terminal. There must have been a change to the shutdown scripts and programs somewhere in 11.4. Is there a way to get a version history of those changes, and see the old files? Maybe this would be a way to find out what causes the bug, comparing the old and new versions. Thinking about a still running process that might block the power-off, I tried some things and finally succeeded: In /etc/sysconfig I changed System/Boot/HALT_NETWORK to 'yes'. Now, the system is powered down on shutdown and s2disk like before. No, sometimes it works, sometimes it doesn't. It is better than before, but this is not the solution. I have been upgrading to OpenSUSE 12.2 and I have the same issue (which was observed with OpenSUSE 12.1 as well). My laptop is a Precision M6500. I am using systemd. do you have the issue when sysvinit is used. I'm pretty sure you have a kernel bug. It isn't also very clear what are the last lines displayed when the system doesn't shutdown. Created attachment 506188 [details]
UpdateLog
Sorry, the attachment went without the comment. Here, this bug has gone (I really hope so!) since last week after some of the usual updates of Suse 12.1. The system is now shutting down correctly for 7 days. The UpdateLog shows what has been changed last week. Maybe someone can guess if there is a process that might affect the shutdown... Only a vague idea: Last week, there was an update of the nVidia graphics driver. And, if I remember correctly, there was a nVidia update around the time this trouble started, too. But I#m not sure. closing as fixed then. (In reply to comment #29) > I also encountered this after upgrading from 11.4 to 12.1 a few days ago. The > solution was to change the kdmrc file as specified above so that it read > > HaltCmd=/sbin/shutdown -h -P now > > Otherwise the system wouldn't power off when shutting down or hibernating. I had there: HaltCmd=/sbin/halt I commented it. Currently it is default. # Default is "/sbin/shutdown -h -P now" #HaltCmd=/sbin/halt After one reboot. It works. Thank you all for your tips. |