Thanks for reporting this, and your help is needed to identify the patch
that causes this regression.

There are 260 patches between 5.3.0-61 & 5.3.0-62, and it requires some
testing with bisects (see below).

$ git bisect start
$ git bisect good Ubuntu-5.3.0-61.55
$ git bisect bad Ubuntu-5.3.0-62.56
Bisecting: 260 revisions left to test after this (roughly 8 steps)
[19357b3b0835b96039e907f65ae203f7adc48ef6] epoll: atomically remove wait entry 
on wake up


A test kernel is available @ https://people.canonical.com/~alexhung/LP1888570/. 
Let me know whether it is pass or fail so I can build a next version.

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

Title:
  poweroff not working after apt upgrade

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  System-Information:
  Description:  Ubuntu 18.04.4 LTS
  Release:      18.04
  ######################################
  Working packages:
  - Kernel 5.3.0.61.114
  - linux-firmware 1.173.18

  Problem occurs when upgrading (anyone of) these packages
  - Kernel 5.3.0-62.56
  - linux-firmware 1.173.19

  I use an Acer Aspire E5-771G Notebook with a fresh installation of Ubuntu 
18.04.
  Till the last upgrade everything works as expected.
  The last upgrade brings two new kernel versions (as mentioned above).
  Now the system stucks at the very end of the power down sequence.
  Even SysReq-O will not work (only SysReq-B will work).

  Because I use Systemback, I time shift to the previous system and then 
install package by package to see what will bring in the problem.
  If I install any of the mentioned kernel updates the problem will show up.

  I had ask the above question on "askubuntu.com".
  I was directed to upgrade the BIOS, But even after doing so the problem still 
persist.

  I am not sure if I do it right (APT pinning).
  I currently create a file /etc/apt/prefereces.d/kernel.

  I add an entry for every of the following packages to block the
  version mentioned above (Pin: version: <see above> Pin-Priority: -1):

  linux-generic-hwe-18.04
  linux-headers-generic-hwe-18.04
  linux-image-generic-hwe-18.04
  linux-modules-nvidia-440-generic-hwe-18.04
  linux-firmware

  After doing so "apt list --upgradeable" will not list the packages in
  question and the PC will power down normally (and SysReq-O WILL work).

  In the meanwhile there are newer versions of the kernel online, so the above 
mentioned pinning will allow the newer kernels to get installed and the problem 
will show up again.
  So I block these versions too.

  BTW: Due to the stuck I am able to see some other error messages that are not 
reported in the journal. The very last 3-5 lines show:
  shutdown [1]: Failed to wait for process: Protocol error
  These lines are present although in the working kernels, but hard to see, 
because the system powers down some ms after these lines are displayed!
  This problem seams to be solved more than one year ago in the upstream kernel!
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.9-0ubuntu7.15
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  gneiss     1929 F.... pulseaudio
   /dev/snd/controlC0:  gneiss     1929 F.... pulseaudio
  CurrentDesktop: ubuntu:GNOME
  DistroRelease: Ubuntu 18.04
  InstallationDate: Installed on 2019-05-02 (448 days ago)
  InstallationMedia:
   
  MachineType: Acer Aspire E5-771G
  NonfreeKernelModules: nvidia_modeset nvidia
  Package: linux (not installed)
  ProcEnviron:
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
   PATH=(custom, no user)
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-61-generic 
root=UUID=0b245afe-758b-4e45-a473-ad2077260d8f ro noplymouth 
resume=UUID=79a9e809-6ba1-491b-acfc-1816057c2dee
  ProcVersionSignature: Ubuntu 5.3.0-61.55~18.04.1-generic 5.3.18
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-61-generic N/A
   linux-backports-modules-5.3.0-61-generic  N/A
   linux-firmware                            1.173.18
  Tags:  bionic
  Uname: Linux 5.3.0-61-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip input lpadmin plugdev sambashare sudo video
  _MarkForUpload: True
  dmi.bios.date: 09/02/2015
  dmi.bios.vendor: Insyde Corp.
  dmi.bios.version: V1.23
  dmi.board.asset.tag: Type2 - Board Asset Tag
  dmi.board.name: EA70_HB
  dmi.board.vendor: Acer
  dmi.board.version: Type2 - A01 Board Version
  dmi.chassis.type: 10
  dmi.chassis.vendor: Chassis Manufacturer
  dmi.chassis.version: Chassis Version
  dmi.modalias: 
dmi:bvnInsydeCorp.:bvrV1.23:bd09/02/2015:svnAcer:pnAspireE5-771G:pvrV3.72:rvnAcer:rnEA70_HB:rvrType2-A01BoardVersion:cvnChassisManufacturer:ct10:cvrChassisVersion:
  dmi.product.family: BDW
  dmi.product.name: Aspire E5-771G
  dmi.product.sku: Aspire E5-771G_0884_1_23
  dmi.product.version: V3.72
  dmi.sys.vendor: Acer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1888570/+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