My computer reboots instead of shutting down
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
See also: https:/
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/
-----</
#!/bin/sh
DRIVER_
cd "${DRIVER_
find -mindepth 1 -maxdepth 1 -name '*:*:*.*' -type l -printf '%f\0' | xargs -I '{}' --null echo '{}' > unbind
-----<srevird-
Next, the '/etc/systemd/
-----</
[Unit]
Description=Unbind EHCI drivers upon system shutdown
DefaultDependen
Before=halt.target
[Service]
Type=oneshot
ExecStart=
[Install]
WantedBy=
-----<ecivres.
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-
ProcVersionSign
Uname: Linux 4.4.0-34-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
CurrentDesktop: XFCE
Date: Mon Aug 29 14:04:15 2016
HibernationDevice: RESUME=
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=
RelatedPackageV
linux-
linux-
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:bvnAwardSof
dmi.product.name: GA-MA78G-DS3H
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
tags: | added: bios-outdated-f9 |
This change was made by a bot.