regression - suspend to mem stops working somewhere between 5.4.0-29.33 and 5.4.0-66.74
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I have one system where I use rtcwake in a cron job to have it sleep and wake up at certain times of day. I upgraded from linux-image-
From dmesg, the reason for this is the inability to suspend a usb device:
[240303.355471] PM: dpm_run_callback(): usb_dev_
[240303.355475] PM: Device usb4 failed to suspend async: error -16
usb4 appears to be the xhci controller?
# ls -l /sys/bus/
lrwxrwxrwx 1 root root 0 Mar 1 09:36 /sys/bus/
# lspci -s 00:14.0
00:14.0 USB controller: Intel Corporation 9 Series Chipset Family USB xHCI Controller
System is an older ASRock H97M-ITX/ac board. It does have a quirk which may be relevant - it reports what I think is every port as having an over-current condition on boot:
# dmesg |grep over-current
[ 1.083073] usb 1-1-port3: over-current condition
[ 1.115054] usb 2-1-port5: over-current condition
[ 1.138911] usb usb3-port7: over-current condition
[ 1.299066] usb 1-1-port4: over-current condition
[ 1.331053] usb 2-1-port6: over-current condition
[ 1.354886] usb usb3-port8: over-current condition
[ 1.570911] usb usb3-port9: over-current condition
[ 1.786908] usb usb3-port10: over-current condition
This occurs even when _no_ usb devices (or even internal cables!) are plugged into it (including removing the internal wifi/bluetooth card). It occurs on both the older (working) and newer (failing) kernel.
Based on a couple of random internet posts I tried adding usbcore.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-
ProcVersionSign
Uname: Linux 5.4.0-66-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version k5.4.0-66-generic.
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.11-
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/
Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer'
Card0.Amixer.
Card1.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer'
Card1.Amixer.
CasperMD5CheckR
Date: Mon Mar 1 10:26:21 2021
InstallationDate: Installed on 2020-05-03 (301 days ago)
InstallationMedia: Ubuntu-Server 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB:
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.187.9
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/13/2016
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P1.90
dmi.board.name: H97M-ITX/ac
dmi.board.vendor: ASRock
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: To Be Filled By O.E.M.
dmi.product.name: To Be Filled By O.E.M.
dmi.product.sku: To Be Filled By O.E.M.
dmi.product.
dmi.sys.vendor: To Be Filled By O.E.M.
This change was made by a bot.