The problem started happening as soon as I did the (fresh) Ubuntu 16.04 install.
Previously, the computer had been running 14.04, and the computer would properly shut down as long as no USB medium (stick or disk) was connected when I initiated the shutdown. I got into the habit of disconnecting all USB media before shutting down, and never paid further attention to the issue. I saw this very same behaviour under a Debian release (could be 7 or 8) that was installed on the computer for a short while. Before 14.04, the computer had 10.04, and I don't remember having seen the problem in those days. I have already tested with v4.8-rc2 mainline build, and the problem persisted. Will try '-rc3' when I find the time. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1618001 Title: My computer reboots instead of shutting down Status in linux package in Ubuntu: Incomplete Bug description: See also: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1579542 When I try to shutdown my computer, it seems as though it is trying to power off, but it immediately reboots instead. I can circumvent the problem by unbinding the EHCI drivers right before power off. I created a systemd service to do this automatically. First, I created a script, '/usr/local/sbin/unbind- ehci-drivers' that the service will execute: -----</usr/local/sbin/unbind-ehci-drivers>----- #!/bin/sh DRIVER_DIRECTORY='/sys/bus/pci/drivers/ehci-pci' cd "${DRIVER_DIRECTORY}" find -mindepth 1 -maxdepth 1 -name '*:*:*.*' -type l -printf '%f\0' | xargs -I '{}' --null echo '{}' > unbind -----<srevird-iche-dnibnu/nibs/lacol/rsu/>----- Next, the '/etc/systemd/system/unbind-ehci-drivers.service' systemd service file: -----</etc/systemd/system/unbind-ehci-drivers.service>----- [Unit] Description=Unbind EHCI drivers upon system shutdown DefaultDependencies=no Before=halt.target [Service] Type=oneshot ExecStart=/usr/local/sbin/unbind-ehci-drivers [Install] WantedBy=shutdown.target -----<ecivres.srevird-iche-dnibnu/metsys/dmetsys/cte/>----- With these files in place, the following command will enable the service: root@localhost# systemctl enable unbind-ehci-drivers Shutdown works now. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.4.0-34-generic 4.4.0-34.53 ProcVersionSignature: Ubuntu 4.4.0-34.53-generic 4.4.15 Uname: Linux 4.4.0-34-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.1 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: luvr 2872 F.... pulseaudio /dev/snd/controlC1: luvr 2872 F.... pulseaudio CurrentDesktop: XFCE Date: Mon Aug 29 14:04:15 2016 HibernationDevice: RESUME=UUID=d7daa6c6-cf48-4498-8abf-144837e1a26b InstallationDate: Installed on 2016-08-09 (19 days ago) InstallationMedia: Xubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719) IwConfig: enp2s0 no wireless extensions. lo no wireless extensions. MachineType: Gigabyte Technology Co., Ltd. GA-MA78G-DS3H ProcFB: 0 radeondrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-34-generic root=UUID=4b189e9a-d377-49c2-a527-2fc432a51f4f ro quiet splash vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-4.4.0-34-generic N/A linux-backports-modules-4.4.0-34-generic N/A linux-firmware 1.157.3 RfKill: SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 04/03/2008 dmi.bios.vendor: Award Software International, Inc. dmi.bios.version: F2 dmi.board.name: GA-MA78G-DS3H dmi.board.vendor: Gigabyte Technology Co., Ltd. dmi.board.version: x.x dmi.chassis.type: 3 dmi.chassis.vendor: Gigabyte Technology Co., Ltd. dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF2:bd04/03/2008:svnGigabyteTechnologyCo.,Ltd.:pnGA-MA78G-DS3H:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-MA78G-DS3H:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr: dmi.product.name: GA-MA78G-DS3H dmi.sys.vendor: Gigabyte Technology Co., Ltd. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1618001/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp