I installed the 3.0.0-12 kernel under Ubuntu 12.04 ("precise"), as per
the KernelBisection instructions.

(I did, however, run into a dependency problem, in that the 'linux-
headers-3.0.0-12-generic' package depended on 'linux-headers-3.0.0-12',
which wasn't listed on the
'https://launchpad.net/ubuntu/oneiric/+source/linux' page to which the
bisection page referred me. I therefore went looking for the missing
package in the old oneiric repository, and found it at 'http://old-
releases.ubuntu.com/ubuntu/pool/main/l/linux/linux-
headers-3.0.0-12_3.0.0-12.20_all.deb'.)

When I subsequently booted Ubuntu 12.04 with this kernel, my computer
successfully shut down, even with a USB medium attached. (In other
words, same behaviour as Ubuntu 11.10 with this kernel version.

So:
o  The 3.0.0-12 kernel is OK;
o  The 3.2.0-23 kernel is NOT OK.

Guess it's time to start bisecting the kernel versions now?

-- 
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

Reply via email to