I installed updates to my 14.04 system about once a week, including any new kernel versions that came along (I always did "apt-get dist- upgrade"). In other words, there wasn't really one specific kernel version that I was using.
My dad's computer, which has pretty much the same hardware as mine (same model motherboard and CPU, I even bought the hardware for both computers at the same time), is still running 14.04 ("Ubuntu 14.04.5 LTS", according to the 'lsb_release' command). The kernel version that it currently reports (with 'uname -a') is: Linux wkst0 3.13.0-93-generic #140-Ubuntu SMP Mon Jul 18 21:21:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux As far as I can remember, his computer has been having the issue ever since I first installed 14.04 on it: if there are no USB media present upon shutdown, then the computer will successfully power off, but if any USB medium is still connected, then it will reboot. I refrained from upgrading his computer to 16.04 because under that release, the computer will reboot, instead of powering off, even without any USB media present. Now that I have at least a workaround for this issue, I was considering upgrading his computer after all, but I hadn't gotten around to it just yet. -- 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