Description of problem: After upgrading from kernel 4.7.9 to 4.8.6 on Fedora 24 my Dell Latitude E5450 hangs for more than 30 seconds during shutdown/reboot. During the hangs the fan spins up at the maximum speed. After poweroff the machine leds turn on (one stable and two blinking). These work as diagnostic leds and the combination should mean a GPU failure. It is not an hardware failure because Dell diagnostic is happy and shutdown works well with Kernel 4.7.9-200 and with oter OSes/distros. The issue is reproducible on F25 Beta. Version-Release number of selected component (if applicable): F24: kernel-4.8.6-201 F24: kernel-4.8.4-200 F25: kernel-4.8.6-300 How reproducible: Always reproducible Steps to Reproduce: 1. Start Fedora with kernel 4.8 2. Shutdown/reboot the machine Actual results: The machine hangs for ~30 secs during shutdown, the fan speed up, blinking leds after the shutdown. If a reboot is issued no reboot is performed and the machine stays of with diagnostic leds blinking. Expected results: A shutdown/reboot completed within 10 seconds (on a SSD) Additional info: Dell Latitude E5450 bios A13
Some more details: running the kernel in verbose mode shows that the message just before the hang during shutdown/reboot is Synchronizing SCSI cache (sda) Disabling cache before rebooting the machine seems to solve the issue: sudo hdparm -W0 /dev/sda && sudo reboot and the reboot/shutdown works as expected. So, this bug seems related to https://bugzilla.kernel.org/show_bug.cgi?id=151631 and https://bugzilla.kernel.org/show_bug.cgi?id=187061 A temporary workaround is creating /usr/lib/systemd/system-shutdown/cache.shutdown with this content #!/bin/sh /usr/sbin/hdparm -W0 /dev/sda
I've published a set of 4.8.6 kernels for F24 and F25 with the patch mentioned in https://bugzilla.kernel.org/show_bug.cgi?id=187061 applied: - https://daniele.vigano.me/files/5e366c91-41ac-4e43-be8e-15139c0463b1/f24/ - https://daniele.vigano.me/files/5e366c91-41ac-4e43-be8e-15139c0463b1/f25/ Sources are available here: https://github.com/daniviga/latitude5450/tree/master/kernel
Bug is affecting v4.8.7 too
I have the exact same problem with v4.8 kernels (up to 4.8.10 at this moment) for F24 on a Dell Latitude E7450.
The bad commit causing this issue has been reverted in 4.9-rc7: https://bugzilla.kernel.org/show_bug.cgi?id=187061#c16 For the 4.8 tree I think the only solution is to have the patch backported by the Fedora/RedHat maintainers. By the end of the week I will upgrade my builds (see https://bugzilla.redhat.com/show_bug.cgi?id=1393513#c2), with the commit reverted, to 4.8.10 (currently 4.8.8 is available), if you want to try them.
Kernel 4.9 from Rawhide works correctly on F24 and F25 too. You can try it running: sudo dnf install fedora-repos-rawhide sudo dnf --enablerepo=rawhide upgrade kernel*
I now am on 4.8.15-300.fc25.x86_64 and the problem seems to be gone.
4.8.15-200.fc24.x86_64 and 4.8.15-300.fc25.x86_64 works for me too. I think this bug should be mark as resolved now.
*********** 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 25 kernel bugs. Fedora 25 has now been rebased to 4.9.3-200.fc25. 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 26, and are still experiencing this issue, please change the version to Fedora 26. If you experience different issues, please open a new bug report for those.
Works well with kernel 4.9.3. The bad commit causing this issue was reverted before 4.9rc and backported to 4.8.15, thus kernel >= 4.8.15 and >= 4.9.0 are not affected.