Bug 832218 - Fedora 19 Hangs(crashed) in shutdown processing [NEEDINFO]
Summary: Fedora 19 Hangs(crashed) in shutdown processing
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 19
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-14 22:05 UTC by Joe
Modified: 2014-06-23 14:41 UTC (History)
22 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-23 14:41:31 UTC
Type: Bug
Embargoed:
jforbes: needinfo?


Attachments (Terms of Use)
Shutdown log (70.67 KB, text/plain)
2012-06-15 08:34 UTC, Joe
no flags Details
Hung reboot on F18 3.8.3-203.fc18.x86_64 Dell Optiplex 790 (451.67 KB, image/jpeg)
2013-03-22 19:49 UTC, Colin.Simpson
no flags Details
dmidecode from Optiplex 790 (23.15 KB, text/plain)
2013-11-16 12:04 UTC, Colin.Simpson
no flags Details
result of running acpitool (123 bytes, text/plain)
2013-12-17 16:01 UTC, william.garber
no flags Details
result of running acpi (41 bytes, text/plain)
2013-12-17 16:02 UTC, william.garber
no flags Details
dmesg (68.38 KB, text/plain)
2013-12-17 16:03 UTC, william.garber
no flags Details
/etc/default/grub (1.52 KB, text/plain)
2013-12-17 16:03 UTC, william.garber
no flags Details
/var/log/messages (2.27 MB, text/plain)
2013-12-17 16:04 UTC, william.garber
no flags Details
shutdown log (379.05 KB, text/plain)
2013-12-17 16:07 UTC, william.garber
no flags Details
shutdown log (375.19 KB, text/plain)
2013-12-17 16:09 UTC, william.garber
no flags Details
systemctl dump (398.15 KB, text/plain)
2013-12-17 16:09 UTC, william.garber
no flags Details
/etc/default/halt manpage (973 bytes, application/x-gzip)
2014-02-26 13:12 UTC, william.garber
william.garber: review+
Details
/etc/default/halt (117 bytes, text/plain)
2014-02-26 13:13 UTC, william.garber
no flags Details
result of running command acpidump (99.12 KB, text/plain)
2014-04-08 20:57 UTC, william.garber
no flags Details
result of running journalctl -k -b -l; excerpts of errors and solution to problem (6.70 KB, text/plain)
2014-04-08 20:59 UTC, william.garber
no flags Details
result of running dmesg (75.70 KB, text/plain)
2014-04-08 20:59 UTC, william.garber
no flags Details
result of running dmidecode (11.55 KB, text/plain)
2014-04-08 21:00 UTC, william.garber
no flags Details
result of running lspci (37.60 KB, text/plain)
2014-04-08 21:01 UTC, william.garber
no flags Details

Description Joe 2012-06-14 22:05:30 UTC
Description of problem:
I have MSI U270 (Netbook with APU AMD E 450).
fedora 16 works fine on it
but I new install last version .
Fedora 17 during shutdown hangs on so I forced Shutdown with Power Button.
Please Check it , I dont know this problem , Kernel or acpi or grub
I updated fedora and kernel but fedora crashed in Shutdown.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Joe 2012-06-15 06:16:30 UTC
when fix this bug!?

Comment 2 Lukáš Nykrýn 2012-06-15 07:26:43 UTC
Can you please provide more information according to this howto:
http://fedoraproject.org/wiki/How_to_debug_Systemd_problems#Diagnosing_shutdown_problems

Comment 3 Michal Schmidt 2012-06-15 08:11:39 UTC
Does the machine poweroff using "sync && poweroff -f" ?

Comment 4 Joe 2012-06-15 08:24:41 UTC
sync && poweroff -f , my system with this command , turned off .

I try systemd.log_level=debug systemd.log_target=kmsg log_buf_len=1M enforcing=0

#!/bin/sh
mount -o remount,rw /
dmesg > /shutdown-log.txt
mount -o remount,ro / 
on  /lib/systemd/system-shutdown/debugshutdown.sh
but not found log file!!!

Comment 5 Joe 2012-06-15 08:34:55 UTC
Created attachment 592074 [details]
Shutdown log

Comment 6 Joe 2012-06-15 08:35:38 UTC
Shutdown.sh , create log , i Attached.

Comment 7 Michal Schmidt 2012-06-15 08:56:46 UTC
(In reply to comment #5)
> Created attachment 592074 [details]
> Shutdown log

This log was obtained without the debug parameters on the kernel command line
 systemd.log_level=debug systemd.log_target=kmsg log_buf_len=1M enforcing=0


You say "fedora crashed" - does it mean you can see a stack trace or other error messages? What do you see on the screen when it crashes? Can you take a picture of it and attach it?

Comment 8 Joe 2012-06-15 14:04:47 UTC
hi , i just see fedora logo boot splash .

Comment 9 Michal Schmidt 2012-06-15 14:14:43 UTC
So to get rid of the splash screens, you can boot without "rhgb quiet" and with "plymouth.enable=0" on the command line. That could make the screen contents more useful.

By the way, I replaced the Fedora wiki page with a link to the upstream wiki, which is more up-to-date:
http://freedesktop.org/wiki/Software/systemd/Debugging
Check it out. There are more tips for debugging shutdown problems.

Comment 10 Joe 2012-06-15 20:15:41 UTC
I changed grub config to text mode .last 10 Messege before hang :
Disabling swaps
detaching loop devices
detaching DM devices
Synchronizing SCSI cache
Stopping disk
pceiport : Wake-up capability enabled by ACPI
ACPI: preparing to enter system sleep state S5
[Firmware Bug]: ACPI : BOIS_OSI(linux) query ignored
Disabling non-boot CPUs
Broke Affinity for irq 16
Broke Affinity for irq 19

Then system hanged

Comment 11 Michal Schmidt 2012-06-15 21:15:25 UTC
Those are messages from the kernel shutting down. [Reassigning to kernel.]
Does rebooting work normally?

Comment 12 Joe 2012-06-15 21:19:08 UTC
yes , reboot worked !

Comment 13 Joe 2012-06-16 08:15:07 UTC
I installed kernel 3.4.2 from update-testing , but no solved

Comment 14 cornel panceac 2012-06-16 09:15:22 UTC
it seems to be kernel related. i could reproduce it if i first suspended the notebook. (on x86_64). the last message is "Power down". this is a dell latitude e6400 series.

Comment 15 Joe 2012-06-17 07:55:12 UTC
!!! 
do you have solution ?

Comment 16 Nicolas Berrehouc 2012-07-01 16:17:56 UTC
Same problem with Toshiba Satellite C660D-19X.
Fresh install F17 with update, kernel 3.4.4-3.fc17.
When shuting down last messages are :
pceiport : Wake-up capability enabled by ACPI
ACPI: preparing to enter system sleep state S5
Disabling non-boot CPUs
but no power off, need to use power button to power off laptop.

Comment 17 Justin 2012-09-30 19:12:33 UTC
Hi,

Same result on Dell Optiplex 780. Both for shutdown and restart from GUI, and command line reboot. Blocker for remote restarts.

Comment 18 Justin 2012-09-30 19:13:11 UTC
Was a fresh install, and fully updated.

Comment 19 Josh Boyer 2013-03-14 18:26:44 UTC
Is this still happening with 3.8.2 in updates-testing?

Comment 20 Colin.Simpson 2013-03-19 19:42:04 UTC
I'm still seeing this with F18. This was with a 3.8.1 kernel I think, that system is remote to me. I can test again with latest F18 kernel 3.8.2-206.fc18, 

I assume all you need from this is booting without rhgb, quiet and no GUI. Then initiate a remote reboot and let you know if it hangs and tell you the last lines of output if it does?

Comment 21 Colin.Simpson 2013-03-22 19:46:48 UTC
Okay I have now tried this on a Dell OptiPlex 790 with  3.8.3-203.fc18.x86_64. The behaviour I get is it always performs a shutdown for me it just won't do a reboot, it just hangs.

I have attached a picture of the last few lines.

Comment 22 Colin.Simpson 2013-03-22 19:49:18 UTC
Created attachment 714741 [details]
Hung reboot on F18 3.8.3-203.fc18.x86_64 Dell Optiplex 790

Comment 23 Josh Boyer 2013-04-02 18:41:26 UTC
Can you try passing the various reboot= options and see if one of them work?
They are:

warm, cold, bios, smp, acpi, efi, pci, force, kbd, triple

I would start with acpi, efi, and pci as those are the most common working options.

Comment 24 Colin.Simpson 2013-04-03 18:27:51 UTC
I have tried all these options and the only one that works is reboot=pci . Great. 

So is this considered a fix or should the kernel be detecting this somehow and invoking the correct method for this hardware. Or should other options work on this new(ish) hardware and somehow these are being properly invoked by the kernel for this hardware.

Comment 25 Fedora End Of Life 2013-07-03 23:28:07 UTC
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '17'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 17's end of life.

Bug Reporter:  Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 17 is end of life. If you 
would still like  to see this bug fixed and are able to reproduce it 
against a later version  of Fedora, you are encouraged  change the 
'version' to a later Fedora version prior to Fedora 17's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 26 Colin.Simpson 2013-07-04 11:14:21 UTC
Still an issue in F18 see my testing above, should be reassigned to F18. I'll try F19 when I get it installed.

Comment 27 Jóhann B. Guðmundsson 2013-07-10 20:42:31 UTC
Bumped to 18

Comment 28 Colin.Simpson 2013-07-12 18:27:51 UTC
I repeated my test on F19 on this Dell Optiplex 790 kernel 3.9.9-301.fc19.x86_64. Identical to before. 

Hangs on reboot unless I put reboot=pci on the kernel line. 

So is this considered a fix or should the kernel be detecting this somehow and invoking the correct method for this hardware. Or should other options work on this new(ish) hardware and somehow these are being properly invoked by the kernel for this hardware.

Please bump to F19

Comment 29 Justin M. Forbes 2013-10-18 21:03:24 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 18 kernel bugs.

Fedora 18 has now been rebased to 3.11.4-101.fc18.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you have moved on to Fedora 19, and are still experiencing this issue, please change the version to Fedora 19.

If you experience different issues, please open a new bug report for those.

Comment 30 Colin.Simpson 2013-10-19 11:44:00 UTC
This version needs changed to F19. See my Comment#28. I don't think I can change the version. Can someone else or allow me?

Comment 31 Michele Baldessari 2013-11-11 21:44:44 UTC
Colin,

could you attach the output of dmidecode of the troublesome box to this BZ please?

thanks,
Michele

Comment 32 Colin.Simpson 2013-11-16 12:04:57 UTC
Created attachment 824892 [details]
dmidecode from Optiplex 790

Comment 33 Colin.Simpson 2013-11-16 12:09:16 UTC
Attached the dmidecode from a box that shows the hang on reboot. This machine is a Dell Optiplex 790. Someone else reported that an Optiplex 780 had the same issue, I tried one of these too and it worked fine for me (an update somewhere could have resolved this I guess). My kernel is 3.11.7-200.fc19.x86_64 if that helps, so fully up-to-date.

Comment 34 Michele Baldessari 2013-11-16 12:27:11 UTC
Thanks Colin

I'll see to submit something like the following:
diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c
index da3c599..97e293b 100644
--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -293,6 +293,15 @@ static struct dmi_system_id __initdata reboot_dmi_table[] = {
                        DMI_MATCH(DMI_BOARD_NAME, "0G919G"),
                },
        },
+       {       /* Handle problems with rebooting on Dell OptiPlex 790 with 0HY9JP */
+               .callback = set_pci_reboot,
+               .ident = "Dell OptiPlex 790",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "OptiPlex 790"),
+                       DMI_MATCH(DMI_BOARD_NAME, "0HY9JP"),
+               },
+       },
        {       /* Handle problems with rebooting on the OptiPlex 990. */
                .callback = set_pci_reboot,
                .ident = "Dell OptiPlex 990",

Comment 35 Michele Baldessari 2013-11-16 12:47:00 UTC
Hohum, on rereading the last threads on LKML regarding failed reboots it seems that adding yet another quirk is becoming frowned upon...

Colin, does the reboot work on this Optiplex 790 (without specifying reboot=pci) 
if you disable VT-d?

Comment 36 Colin.Simpson 2013-11-16 14:10:41 UTC
Disabling VT-d in the BIOS , does indeed allow this machine to cleanly reboot.

Comment 37 william.garber 2013-12-17 15:59:34 UTC
my fedora 19 hangs on shutdown 
attached:

    The exact kernel command-line used if not default. Typically from the bootloader configuration file (e.g. /boot/grub2/grub.cfg) or from /proc/cmdline
    A copy of the file /var/log/messages
    The output of the dmesg command: dmesg > dmesg.txt
        ideally after booting with systemd.log_level=debug systemd.log_target=kmsg log_buf_len=1M
    The output of a systemd dump: systemctl dump > systemd-dump.txt
    The output of /usr/bin/systemd --test --system --log-level=debug > systemd-test.txt 2>&1

I tried disabling VT-D on my motherboard I think this is XD technology.
Intel DP35DP, Core 2 quad 6600.
I also tried adding /usr/lib/systemd/system-shutdown/kill-e1000e.sh
which executes 
modprobe -r e1000e
since some had reported a problem with the e1000e driver related to this.

I was getting a message about mei (intel management software)
I also tried adding to /etc/modprobe.d/blacklist.conf the lines
blacklist mei
blacklist mei_me
but I did not do dracut --force
This removed the mei message but it still didn't shutdown.

There was previously a message about GPU Lockup switching to software fbcon.
I also tried using the proprietary nvidia driver. This removed the fbcon error
but it still didn't shutdown.

There was also a message "not all DM devices detatched, 1 left".
but I didn't address this yet.

I think that with kernel option nomodeset it shuts down, it just doesn't
allow me to use the full resolution of my video card (which is useless)
and I tried to reset it in the display settings gui.
There may be a way to specify the modeset manually, but if this is done
incorrectly I will have no graphics.  If someone knows how to do this,
please tell me.


note the command "acpi" reports
No support for device type:  power_supply

kernel options 
apic, noapic, apm=allow_ints, apm=off, apm=power_off, apm=realmode_power_off, reboot=b
were suggested, so far all I have tried is
acpi=force apm=power_off reboot=force

Comment 38 william.garber 2013-12-17 16:01:22 UTC
Created attachment 837747 [details]
result of running acpitool

Comment 39 william.garber 2013-12-17 16:02:30 UTC
Created attachment 837748 [details]
result of running acpi

Comment 40 william.garber 2013-12-17 16:03:12 UTC
Created attachment 837749 [details]
dmesg

Comment 41 william.garber 2013-12-17 16:03:42 UTC
Created attachment 837750 [details]
/etc/default/grub

Comment 42 william.garber 2013-12-17 16:04:20 UTC
Created attachment 837751 [details]
/var/log/messages

Comment 43 william.garber 2013-12-17 16:07:36 UTC
Created attachment 837752 [details]
shutdown log

boot options
systemd.log_level=debug systemd.log_target=kmsg log_buf_len=1M enforcing=0

save the following script as /lib/systemd/system-shutdown/debug.sh and make it executable:

#!/bin/sh
mount -o remount,rw /
dmesg > /shutdown-log.txt
mount -o remount,ro 

/http://freedesktop.org/wiki/Software/systemd/Debugging/#Diagnosing_Shutdown_Problems

Comment 44 william.garber 2013-12-17 16:09:04 UTC
Created attachment 837753 [details]
shutdown log




http://freedesktop.org/wiki/Software/systemd/Debugging/#Diagnosing_Shutdown_Problems

kernel options
systemd.log_level=debug systemd.log_target=kmsg log_buf_len=1M enforcing=0


save the following script as /lib/systemd/system-shutdown/debug.sh and make it executable:

#!/bin/sh
mount -o remount,rw /
dmesg > /shutdown-log.txt
mount -o remount,ro /

Comment 45 william.garber 2013-12-17 16:09:56 UTC
Created attachment 837754 [details]
systemctl dump

Comment 46 Jóhann B. Guðmundsson 2013-12-17 16:57:35 UTC
F17 was end of life on 7/30 thus is no longer maintained by the communtiy so you will need to install F20 ( which got released today ) and retest retry to see if you experience that problem.

Comment 47 Jóhann B. Guðmundsson 2013-12-17 16:59:26 UTC
updating the name of the bug reflecting it affects F19

Comment 48 Michele Baldessari 2013-12-28 19:24:21 UTC
Likely not relevant but with 3.12.6 shutdown issues with Acer laptops were fixed
due to commit 2ab0ff9b179aadf1f30f2dfa9db2b9404324e135
Date:   Wed Nov 27 15:19:25 2013 -0700

    PCI: Disable Bus Master only on kexec reboot
    
    commit 4fc9bbf98fd66f879e628d8537ba7c240be2b58e upstream.
    
    Add a flag to tell the PCI subsystem that kernel is shutting down in
    preparation to kexec a kernel.  Add code in PCI subsystem to use this flag
    to clear Bus Master bit on PCI devices only in case of kexec reboot.

Probably worth trying as 3.12.6 has hit updates-testing for F19 as well

Comment 49 william.garber 2013-12-28 20:29:10 UTC
this also affects fedora 20
note symptoms differ whether you are using nvidia or radeon graphics card.
could it be something to do with plymouth?

Comment 50 william.garber 2014-02-25 20:19:00 UTC
could someone please address this issue?  There are so many people having problems with simply shutting down fedora and other newer distros with new kernels, that this is really important.  For heaven's sake, I can't even shut off my computer.  It may have something to do with the e1000e driver.  I have had some success with

rmmod e1000e
poweroff

but this doesn't ALWAYS work.
I also did:

# yum -y install acpid
# service acpid start
# chkconfig acpid on

and added "acpi=force" to kernel boot options.
I am using uname -a
Linux ****** 3.13.4-200.fc20.x86_64 #1 SMP Thu Feb 20 23:00:47 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux


NOTE THIS STILL APPLIES TO FEDORA 20 current kernel.

Comment 51 william.garber 2014-02-25 20:36:51 UTC
The two hardware devices that could cause problems are:

product: uPD720201 USB 3.0 Host Controller [1912:14]
vendor: Renesas Technology Corp. [1912]
bus info: pci@0000:04:00.0
version: 03
width: 64 bits
clock: 33MHz
capabilities:
	Power Management,
	Message Signalled Interrupts,
	MSI-X,
	PCI Express,
	xhci,
	bus mastering,
	PCI capabilities listing
configuration:
	driver: xhci_hcd
	latency: 0
resources:
	irq: 18
	memory: e0100000-e0101fff
Ethernet interface
/0/100/19


product: 82566DC-2 Gigabit Network Connection [8086:294C]
vendor: Intel Corporation [8086]
bus info: pci@0000:00:19.0
logical name: em1
version: 02
serial: 00:1c:c0:1d:65:d4
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities:
	Power Management,
	Message Signalled Interrupts,
	bus mastering,
	PCI capabilities listing,
	ethernet,
	Physical interface,
	twisted pair,
	10Mbit/s,
	10Mbit/s (full duplex),
	100Mbit/s,
	100Mbit/s (full duplex),
	1Gbit/s (full duplex),
	Auto-negotiation
configuration:
	autonegotiation: on
	broadcast: yes
	driver: e1000e
	driverversion: 2.3.2-k
	duplex: full
	firmware: 1.3-0
	ip: 192.168.11.4
	latency: 0
	link: yes
	multicast: yes
	port: twisted pair
	speed: 1Gbit/s
resources:
	irq: 53
	memory: e0400000-e041ffff
	memory: e0424000-e0424fff
	ioport: 30e0(size=32)

dmesg reports these errors:

[    0.109774] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.109780] acpi PNP0A03:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[    0.109785] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[    0.110799] acpi PNP0A03:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-7f] only partiall\
y covers this bridge



[    5.922225] e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) 00:1c:c0:1d:65:d4
[    5.922230] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
[    5.923724] e1000e 0000:00:19.0 eth0: MAC: 7, PHY: 6, PBA No: FFFFFF-0FF
[    5.923804] ACPI Warning: 0x0000000000000500-0x000000000000052f SystemIO conflicts with Region \\
IGPO 1 (20131115/utaddress-251)
[    5.923812] ACPI: If an ACPI driver is available for this device, you should use it instead of t\
he native driver

[    5.853373] SELinux: initialized (dev sdb1, type ext4), uses xattr
[    5.868493] EXT4-fs (sdc1): warning: maximal mount count reached, running e2fsck is recommended
[    5.869330] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null)
[    5.869340] SELinux: initialized (dev sdc1, type ext3), uses xattr
[ 




when it shuts down it reports
dracut Warning:  Killing all remaining processes
Cannot finalize remaining filesystems and devices, giving up

and then it hangs without shutting power off.
Could it have anything to do with the power supply which is compatible with haswell cpus?  the cpu is intel core 2 quad 6600.  the motherboard is intel dp35dp.

I originally suspected the video card as well.
VGA compatible controller
/0/100/1/0


product: Cape Verde XT [Radeon HD 7770 GHz Edition] [1002:683D]
vendor: Advanced Micro Devices, Inc. [AMD/ATI] [1002]
bus info: pci@0000:01:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities:
	Power Management,
	PCI Express,
	Message Signalled Interrupts,
	vga_controller,
	bus mastering,
	PCI capabilities listing,
	extension ROM
configuration:
	driver: radeon
	latency: 0
resources:
	irq: 51
	memory: d0000000-dfffffff
	memory: e0300000-e033ffff
	ioport: 2000(size=256)
	memory: e0360000-e037ffff

Comment 52 william.garber 2014-02-25 22:24:39 UTC
sync  && shutdown -f

hangs implying it is a kernel problem not systemd.

Comment 53 william.garber 2014-02-26 13:07:56 UTC
Partial solution:

shutdown -h -P now
does NOT work, but I think 
halt -p
always works.
So I can still not shut down the xfce window manager by the standard
shutdown menu, but I can shut down from the console.

I also made the modification:

added /etc/default/halt
garberw@electron> cat /etc/default/halt
# Default behaviour of shutdown -h / halt. Set to "halt" or "poweroff".
HALT=poweroff
INIT_HALT=POWEROFF
NETDOWN=yes
garberw@electron> 

and manpage downloaded from web:
attached

Comment 54 william.garber 2014-02-26 13:12:07 UTC
Created attachment 868007 [details]
/etc/default/halt    manpage

With the /etc/default/halt file as attached, console command "halt -p" solves this problem.
At least I tested it 5 times and it did.

Comment 55 william.garber 2014-02-26 13:13:16 UTC
Created attachment 868008 [details]
/etc/default/halt

/etc/default/halt
should be included as in debian/ubuntu installation.

Comment 56 Ahmad Samir 2014-02-26 14:47:50 UTC
Not a solution to the problem, but note that in Fedora /usr/sbin/halt is a symlink to /usr/bin/systemctl. IINM calling 'halt' is equivalent to 'systemctl halt'.

Comment 57 Justin M. Forbes 2014-03-10 14:48:43 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 19 kernel bugs.

Fedora 19 has now been rebased to 3.13.5-100.fc19.  Please test this kernel update and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you experience different issues, please open a new bug report for those.

Comment 58 william.garber 2014-04-08 20:56:34 UTC
Solved problem with fedora 20 crashing on shutdown, at least in my case.
Solution was to add kernel option pci=nocrs

My best guess as to why this helps was that it has something to do with 
the e1000e driver in fedora, based on the logs / dmesg.

attached:
bug-report.txt (journalctl output)
acpidump
dmesg
dmidecode
etc_default_halt (added the contents of this file as /etc/default/halt; may help)
lspci

Comment 59 william.garber 2014-04-08 20:57:57 UTC
Created attachment 884247 [details]
result of running command acpidump

Comment 60 william.garber 2014-04-08 20:59:12 UTC
Created attachment 884248 [details]
result of running journalctl -k -b -l; excerpts of errors and solution to problem

Comment 61 william.garber 2014-04-08 20:59:46 UTC
Created attachment 884249 [details]
result of running dmesg

Comment 62 william.garber 2014-04-08 21:00:32 UTC
Created attachment 884250 [details]
result of running dmidecode

Comment 63 william.garber 2014-04-08 21:01:17 UTC
Created attachment 884251 [details]
result of running lspci

Comment 64 Justin M. Forbes 2014-05-21 19:31:17 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 19 kernel bugs.

Fedora 19 has now been rebased to 3.14.4-100.fc19.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you have moved on to Fedora 20, and are still experiencing this issue, please change the version to Fedora 20.

If you experience different issues, please open a new bug report for those.

Comment 65 Justin M. Forbes 2014-06-23 14:41:31 UTC
*********** MASS BUG UPDATE **************
This bug is being closed with INSUFFICIENT_DATA as there has not been a response in 4 weeks. If you are still experiencing this issue, please reopen and attach the relevant data from the latest kernel you are running and any data that might have been requested previously.


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