Bug 706765 - sometimes fedora doesn't shutdown correctly
Summary: sometimes fedora doesn't shutdown correctly
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-22 20:35 UTC by Rolle
Modified: 2011-07-18 09:54 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-18 09:54:14 UTC
Type: ---


Attachments (Terms of Use)
messages.bz2 (198.53 KB, application/x-bzip)
2011-05-22 20:37 UTC, Rolle
no flags Details
dmesg (70.17 KB, text/plain)
2011-05-22 20:38 UTC, Rolle
no flags Details
"messages" of another Computer (1.20 MB, application/octet-stream)
2011-05-23 06:28 UTC, Rolle
no flags Details
dmesg of another Computer (55.41 KB, text/plain)
2011-05-23 06:29 UTC, Rolle
no flags Details

Description Rolle 2011-05-22 20:35:39 UTC
Description of problem:
I will shutdown the computer (not suspend or so). But sometimes it failed.

Version-Release number of selected component (if applicable):
Fedora 15 Beta, Kernel 2.6.38

How reproducible:
Sometimes on various computers (installed with fedora 15)

Steps to Reproduce:
1. Boot Fedora
2a. open a terminal and execute "halt" or "shutdown"
2b. logout and with menu "shutdown" shutdown the computer
3. the computer begins to shutdown (light blue screen appears with the fedora-logo in the middle)
4. wait, if the computer doesn't shutdown (I'm waiting 5 min.)
  
Actual results:
computer doesn't shutdown (light blue screen stays with the fedora-logo in the middle)

Expected results:
computer shutdown and all components turn off

Additional info:

Comment 1 Rolle 2011-05-22 20:37:21 UTC
Created attachment 500303 [details]
messages.bz2

Comment 2 Rolle 2011-05-22 20:38:09 UTC
Created attachment 500304 [details]
dmesg

Comment 3 Rolle 2011-05-23 06:28:59 UTC
Created attachment 500337 [details]
"messages" of another Computer

This is another computer that didn't shutdown always.

Comment 4 Rolle 2011-05-23 06:29:37 UTC
Created attachment 500338 [details]
dmesg of another Computer

This is another computer that didn't shutdown always.

Comment 5 Klaas Vantournhout 2011-05-23 14:40:51 UTC
I noticed a similar thing.

Typing 'halt' in an xterm does not halt the system, but hangs it.

Shutting down using the shutdown menu in KDE halts the system properly.

I find this a bit disturbing as halt is the way i mostly shut down my system. It is much quicker then taking the mouse and moving it to some place to click and click again.

Comment 6 Cesar Eduardo Barros 2011-07-11 00:07:17 UTC
(In reply to comment #5)
> I noticed a similar thing.
> 
> Typing 'halt' in an xterm does not halt the system, but hangs it.
> 
> Shutting down using the shutdown menu in KDE halts the system properly.
> 
> I find this a bit disturbing as halt is the way i mostly shut down my system.
> It is much quicker then taking the mouse and moving it to some place to click
> and click again.

Try "poweroff" instead of "halt" and see if it works.

Your problem is not the one reported in this bug report, because for you the shutdown menu item (which should do a "poweroff") works.

Comment 7 Rolle 2011-07-11 07:41:36 UTC
This bug report is for me resolved and can now be closed, because:

On 2011-05-22 when I reported this bug I didn't know that the behaviour of "halt" is changed to "halt" the system but leave the "power on". Until that time I used "halt" or "shutdown" randomly, cause for me there these commands the same. I didn't recognized that every time when I used "halt" the system doesn't power off, but when I used "shutdown" or I used the shutdown-command from the GUI-menu it powered off the system properly.

But now I know that systemd changed the behaviour:

halt              ->  halts the system but not power off the system

poweroff          ->  shutdown the system and power off
halt -p           ->  shutdown the system and power off
init 0            ->  shutdown the system and power off
shutdown -P now   ->  shutdown the system and power off

see the release notes of Fedora 15 section 3.2.1.:
http://docs.fedoraproject.org/en-US/Fedora/15/html/Release_Notes/sect-Release_Notes-Changes_for_SysAdmin.html

Sorry for the noise.
Thanks.


Note You need to log in before you can comment on or make changes to this bug.