← Back to team overview

kernel-packages team mailing list archive

[Bug 1457852] Re: Optiplex 9020 reboots rather than shutting down if USB3 enabled


Owen Dunn, the issue you are reporting is an upstream one. Could you
please report this problem to the appropriate mailing list (linux-usb)
by following the instructions verbatim at
https://wiki.ubuntu.com/Bugs/Upstream/kernel ?

Please provide a direct URL to your e-mail to the mailing list once you
have made it so that it may be tracked via http://vger.kernel.org/vger-
lists.html . It can take a day for the new e-mail to show up in the
respective archive.

Thank you for your understanding.

** Tags removed: kernel-bug-exists-upstream-4.1.0-040100rc5
** Tags added: kernel-bug-exists-upstream-4.1-rc5

** Changed in: linux (Ubuntu)
       Status: Confirmed => Triaged

** Summary changed:

- Optiplex 9020 reboots rather than shutting down if USB3 enabled
+ [Dell Optiplex 9020] Shut down causes restart if USB3 enabled

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.

  [Dell Optiplex 9020] Shut down causes restart if USB3 enabled

Status in linux package in Ubuntu:

Bug description:
  Description:    Ubuntu 14.04.2 LTS
  Release:        14.04

  linux-image-3.13.0-49-generic version 3.13.0-49.83

  I have a large number of Dell Optiplex 9020 machines, and when they
  are asked to shutdown with e.g. shutdown -h now, they shut down
  successfully and then approximately four seconds later they start up

  This problem only happens if the system's USB3 ports are enabled.

  If I reinstate the code removed from xhci-pci.c in the diff.gz:

          if (pdev->vendor == PCI_VENDOR_ID_INTEL &&
  -           (pdev->device == PCI_DEVICE_ID_INTEL_LYNXPOINT_XHCI ||
  -            pdev->device == PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_XHCI)) {
  -               /* Workaround for occasional spurious wakeups from S5 (or
  -                * any other sleep) on Haswell machines with LPT and LPT-LP
  -                * with the new Intel BIOS
  -                */
  -               /* Limit the quirk to only known vendors, as this triggers
  -                * yet another BIOS bug on some other machines
  -                * https://bugzilla.kernel.org/show_bug.cgi?id=66171
  -                */
  -               if (pdev->subsystem_vendor == PCI_VENDOR_ID_HP)
  -                       xhci->quirks |= XHCI_SPURIOUS_WAKEUP;
  +               pdev->device == PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_XHCI) {
  +               xhci->quirks |= XHCI_SPURIOUS_REBOOT;

  and add msleep(1000) to xhci.c as suggested at http://www.gossamer-

  ...shutdown shuts the machine down as expected.

  I attach the output of lspci -mnn.

  ApportVersion: 2.14.1-0ubuntu3.10
  Architecture: amd64
   /dev/snd/controlC1:  lightdm    1990 F.... pulseaudio
   /dev/snd/controlC0:  lightdm    1990 F.... pulseaudio
  DistroRelease: Ubuntu 14.04
  HibernationDevice: RESUME=/dev/mapper/CayenneSys00-swap
   eth0      no wireless extensions.
   lo        no wireless extensions.
  MachineType: Dell Inc. OptiPlex 9020
  NonfreeKernelModules: nvidia
  Package: linux (not installed)
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-49-generic root=/dev/mapper/CayenneSys00-root ro biosdevname=0 quiet
  ProcVersionSignature: Ubuntu 3.13.0-49.83-generic 3.13.11-ckt17
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
   linux-restricted-modules-3.13.0-49-generic N/A
   linux-backports-modules-3.13.0-49-generic  N/A
   linux-firmware                             1.127.11
  Tags:  trusty
  Uname: Linux 3.13.0-49-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: wheel
  _MarkForUpload: True
  dmi.bios.date: 11/20/2014
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A09
  dmi.board.name: 06X1TJ
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 6
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: dmi:bvnDellInc.:bvrA09:bd11/20/2014:svnDellInc.:pnOptiPlex9020:pvr01:rvnDellInc.:rn06X1TJ:rvrA00:cvnDellInc.:ct6:cvr:
  dmi.product.name: OptiPlex 9020
  dmi.product.version: 01
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:

Follow ups