USB system (mouse and keybord) are not working since kernel update to 5.3.0-26 and 5.3.0-28

Bug #1863455 reported by PhilX
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Since the kernel update to 5.3.0-26 it is not possible to use Ubuntu. Keyboard and mouse (both connected via USB) are not working. It looks like everything is frozen, but also ALT+PRINT REISUB is not working, so I guess the new kernel version has problems with the USB system. If I choose in GRUB an older kernel version (e.g. 5.0.0-37) everything is fine.
Same problem with kernel 5.3.0-28.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: xorg 1:7.7+19ubuntu7.1
ProcVersionSignature: Ubuntu 5.0.0-37.40~18.04.1-generic 5.0.21
Uname: Linux 5.0.0-37-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.9
Architecture: amd64
BootLog: Error: [Errno 13] Keine Berechtigung: '/var/log/boot.log'
CompositorRunning: None
CurrentDesktop: KDE
Date: Sun Feb 16 05:14:11 2020
DistUpgraded: Fresh install
DistroCodename: bionic
DistroVariant: ubuntu
DkmsStatus:
 virtualbox, 5.2.34, 5.0.0-37-generic, x86_64: installed
 virtualbox, 5.2.34, 5.3.0-26-generic, x86_64: installed
 virtualbox, 5.2.34, 5.3.0-28-generic, x86_64: installed
EcryptfsInUse: Yes
ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06) (prog-if 00 [VGA controller])
   Subsystem: Micro-Star International Co., Ltd. [MSI] Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [1462:7817]
InstallationDate: Installed on 2019-03-19 (333 days ago)
InstallationMedia: Kubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
MachineType: MSI MS-7817
ProcEnviron:
 LANGUAGE=de
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.0.0-37-generic root=UUID=bd7aadf3-2ec3-43b1-a590-407076e37c31 ro quiet splash vt.handoff=1
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/26/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V4.1
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: B85M-P33 (MS-7817)
dmi.board.vendor: MSI
dmi.board.version: 1.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: MSI
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrV4.1:bd04/26/2013:svnMSI:pnMS-7817:pvr1.0:rvnMSI:rnB85M-P33(MS-7817):rvr1.0:cvnMSI:ct3:cvr1.0:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: MS-7817
dmi.product.sku: To be filled by O.E.M.
dmi.product.version: 1.0
dmi.sys.vendor: MSI
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.99-1ubuntu1~18.04.2
version.libgl1-mesa-dri: libgl1-mesa-dri 19.2.8-0ubuntu0~18.04.2
version.libgl1-mesa-glx: libgl1-mesa-glx 19.2.8-0ubuntu0~18.04.2
version.xserver-xorg-core: xserver-xorg-core N/A
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati N/A
version.xserver-xorg-video-intel: xserver-xorg-video-intel N/A
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau N/A
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.17
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-id', '/dev/snd/controlC2', '/dev/snd/pcmC2D0c', '/dev/snd/by-path', '/dev/snd/controlC1', '/dev/snd/hwC1D0', '/dev/snd/pcmC1D2c', '/dev/snd/pcmC1D0c', '/dev/snd/pcmC1D0p', '/dev/snd/controlC0', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D10p', '/dev/snd/pcmC0D9p', '/dev/snd/pcmC0D8p', '/dev/snd/pcmC0D7p', '/dev/snd/pcmC0D3p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
DistroRelease: Ubuntu 18.04
EcryptfsInUse: Yes
InstallationDate: Installed on 2019-03-19 (541 days ago)
InstallationMedia: Kubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
MachineType: MSI MS-7817
Package: linux (not installed)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-47-generic root=UUID=bd7aadf3-2ec3-43b1-a590-407076e37c31 ro quiet splash vt.handoff=1
ProcVersionSignature: Ubuntu 5.4.0-47.51~18.04.1-generic 5.4.55
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
 No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-5.4.0-47-generic N/A
 linux-backports-modules-5.4.0-47-generic N/A
 linux-firmware 1.173.19
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
Tags: bionic
Uname: Linux 5.4.0-47-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True
dmi.bios.date: 04/26/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V4.1
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: B85M-P33 (MS-7817)
dmi.board.vendor: MSI
dmi.board.version: 1.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: MSI
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrV4.1:bd04/26/2013:svnMSI:pnMS-7817:pvr1.0:rvnMSI:rnB85M-P33(MS-7817):rvr1.0:cvnMSI:ct3:cvr1.0:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: MS-7817
dmi.product.sku: To be filled by O.E.M.
dmi.product.version: 1.0
dmi.sys.vendor: MSI
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.17
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-id', '/dev/snd/controlC2', '/dev/snd/pcmC2D0c', '/dev/snd/by-path', '/dev/snd/controlC1', '/dev/snd/hwC1D0', '/dev/snd/pcmC1D2c', '/dev/snd/pcmC1D0c', '/dev/snd/pcmC1D0p', '/dev/snd/controlC0', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D10p', '/dev/snd/pcmC0D9p', '/dev/snd/pcmC0D8p', '/dev/snd/pcmC0D7p', '/dev/snd/pcmC0D3p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
DistroRelease: Ubuntu 18.04
EcryptfsInUse: Yes
InstallationDate: Installed on 2019-03-19 (541 days ago)
InstallationMedia: Kubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
MachineType: MSI MS-7817
Package: linux (not installed)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-47-generic root=UUID=bd7aadf3-2ec3-43b1-a590-407076e37c31 ro quiet splash vt.handoff=1
ProcVersionSignature: Ubuntu 5.4.0-47.51~18.04.1-generic 5.4.55
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
 No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-5.4.0-47-generic N/A
 linux-backports-modules-5.4.0-47-generic N/A
 linux-firmware 1.173.19
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
Tags: bionic
Uname: Linux 5.4.0-47-generic x86_64
UnreportableReason: In diesem Bericht geht es um ein Paket, welches nicht installiert ist.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: False
dmi.bios.date: 04/26/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V4.1
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: B85M-P33 (MS-7817)
dmi.board.vendor: MSI
dmi.board.version: 1.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: MSI
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrV4.1:bd04/26/2013:svnMSI:pnMS-7817:pvr1.0:rvnMSI:rnB85M-P33(MS-7817):rvr1.0:cvnMSI:ct3:cvr1.0:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: MS-7817
dmi.product.sku: To be filled by O.E.M.
dmi.product.version: 1.0
dmi.sys.vendor: MSI

Revision history for this message
PhilX (philx) wrote :
affects: ubuntu → xorg (Ubuntu)
affects: xorg (Ubuntu) → linux (Ubuntu)
tags: added: regression-update
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
PhilX (philx) wrote :

The bug still exists (with 5.3.0-42)! No login is possible.

Revision history for this message
PhilX (philx) wrote :

The bug still exists with 5.3.0-59 and also with the newest Ubuntu 20.04 LTS (kernel 5.4). No mouse and keyboard is working. Why is no one reacting to such an massive bug, where a lot of people can't use Ubuntu any more?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Sorry to hear. Hopefully a kernel engineer can help you soon...

To answer your question: Because it's not "a lot of people". See the top of this page:

"This bug affects 1 person."

Revision history for this message
You-Sheng Yang (vicamo) wrote :

Hi, we’d need the information for 5.3/5.4 kernels that have malfunctioned usb keyboard/mouse. Is it possible to login that system running affected kernels remotely, e.g. ssh? Then you may run ‘sudo apport-collect 1863455’ again to capture logs when the issue is reproduced.

Or, is it possible to dump journal logs of a previous boot that was running 5.3/5.4 kernels? You may want to try:

  $ journalctl -b -1 | tee journal.log | less

Replace that “-1” with “-2”, “-3”, ... . The simplest way is to boot 5.3 kernel once, reboot to 5.0 kernel and run journalctl as shown above. Attach that journal.log if available.

no longer affects: linux-signed-hwe (Ubuntu)
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
PhilX (philx) wrote :

Thanks for your posts!

I reboot, started 5.3, rebooted again and run "journalctl -b -1 | tee journal.log"
journal.log is in the attachment. I hope it is the correct log.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

What's the output of `modinfo usbhid`?

Revision history for this message
PhilX (philx) wrote :

If I'm logged in with kernel 5.0 'modinfo usbhid' tells:
(with 5.3 I can't log in cause of not working usb and I don't have a ssh possibility)

filename: /lib/modules/5.0.0-37-generic/kernel/drivers/hid/usbhid/usbhid.ko
license: GPL
description: USB HID core driver
author: Jiri Kosina
author: Vojtech Pavlik
author: Andreas Gal
srcversion: F2C66289C8E854CD1866B78
alias: usb:v*p*d*dc*dsc*dp*ic03isc*ip*in*
depends: hid
retpoline: Y
intree: Y
name: usbhid
vermagic: 5.0.0-37-generic SMP mod_unload
signat: PKCS#7
signer:
sig_key:
sig_hashalgo: md4
parm: mousepoll:Polling interval of mice (uint)
parm: jspoll:Polling interval of joysticks (uint)
parm: kbpoll:Polling interval of keyboards (uint)
parm: ignoreled:Autosuspend with active leds (uint)
parm: quirks:Add/modify USB HID quirks by specifying quirks=vendorID:productID:quirks where vendorID, productID, and quirks are all in 0x-prefixed hex (array of charp)

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
PhilX (philx) wrote :

What a pitty! Bug is still there. Ubuntu can't be used. :-/

Changed in linux (Ubuntu):
status: Expired → New
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Can you please upgrade the system and test again? linux package should be 5.4 now.

Revision history for this message
PhilX (philx) wrote :

Unfortunately the same bug also in 5.4.!

The last working kernel is 5.0. Since the update to 5.3.0-26 ubuntu is dead on my computer.
Who did the mistake? It is very frustrating if a whole operating system can't be used any more, especially when u are used to ubuntu/linux since years.

Revision history for this message
PhilX (philx) wrote :

I rebooted, started 5.4, rebooted again with old kernel 5.0 and run "journalctl -b -1 | tee journal.log" journal.log is in the attachment.

Revision history for this message
PhilX (philx) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
PhilX (philx) wrote : CRDA.txt

apport information

Revision history for this message
PhilX (philx) wrote : CurrentDmesg.txt

apport information

Revision history for this message
PhilX (philx) wrote : IwConfig.txt

apport information

Revision history for this message
PhilX (philx) wrote : Lspci.txt

apport information

Revision history for this message
PhilX (philx) wrote : Lsusb.txt

apport information

Revision history for this message
PhilX (philx) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
PhilX (philx) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
PhilX (philx) wrote : ProcInterrupts.txt

apport information

Revision history for this message
PhilX (philx) wrote : ProcModules.txt

apport information

Revision history for this message
PhilX (philx) wrote : UdevDb.txt

apport information

Revision history for this message
PhilX (philx) wrote : WifiSyslog.txt

apport information

description: updated
Revision history for this message
PhilX (philx) wrote : AlsaInfo.txt

apport information

Revision history for this message
PhilX (philx) wrote : CRDA.txt

apport information

Revision history for this message
PhilX (philx) wrote : CurrentDmesg.txt

apport information

Revision history for this message
PhilX (philx) wrote : IwConfig.txt

apport information

Revision history for this message
PhilX (philx) wrote : Lspci.txt

apport information

Revision history for this message
PhilX (philx) wrote : Lsusb.txt

apport information

Revision history for this message
PhilX (philx) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
PhilX (philx) wrote : ProcInterrupts.txt

apport information

Revision history for this message
PhilX (philx) wrote : ProcModules.txt

apport information

Revision history for this message
PhilX (philx) wrote : UdevDb.txt

apport information

Revision history for this message
PhilX (philx) wrote : WifiSyslog.txt

apport information

Revision history for this message
PhilX (philx) wrote :

I know configured an ssh and connect with an other pc. I ran 'sudo apport-collect 1863455' (see above). I also ran 'dmesg' (see attachment).
Hope the bug will be discovered. :-/

Revision history for this message
PhilX (philx) wrote :

Still the same bug in Kernel 5.4.0-48-generic. :-(

Revision history for this message
PhilX (philx) wrote :

If I connect a wired mouse the mouse is working, so USB is not the problem. The new kernels just do not accept the logitech wireless mouse and keyboard (K520 and M310) but the old kernel does. Hopefully the bug can be found and fixed soon.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Would it be possible for you to do a kernel bisection?

First, find the last -rc kernel works and the first -rc kernel doesn’t work from http://kernel.ubuntu.com/~kernel-ppa/mainline/

Then,
$ sudo apt build-dep linux
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
$ cd linux
$ git bisect start
$ git bisect good $(the working version you found)
$ git bisect bad $(the non-working version found)
$ make localmodconfig
$ make -j`nproc` deb-pkg
Install the newly built kernel, then reboot with it.
If it still have the same issue,
$ git bisect bad
Otherwise,
$ git bisect good
Repeat to "make -j`nproc` deb-pkg" until you find the offending commit.

Revision history for this message
PhilX (philx) wrote :

>Install the newly built kernel, then reboot with it.
If it still have the same issue,<
Sorry. Much to complicated for me. I'm not a linux expert and this computer is my only working computer. Every modification which could probably lock me out of my system is a worst case scenario.

I compared kernel dmesg from 5.0 and 5.4 and there are errors in 5.4 with the HID driver which are not in 5.0.

e.g.
[ 2.908901] hid-generic 0003:046D:C52B.0001: input,hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:00:14.0-4/input0
[ 2.909003] hid-generic 0003:046D:C52B.0002: unknown main item tag 0x0
[ 2.909016] hid-generic 0003:046D:C52B.0002: unknown main item tag 0x0
[ 2.909019] hid-generic 0003:046D:C52B.0002: unknown main item tag 0x0
[ 2.909023] hid-generic 0003:046D:C52B.0002: unknown main item tag 0x0
[ 2.909030] hid-generic 0003:046D:C52B.0002: unexpected long global item
[ 2.909038] hid-generic: probe of 0003:046D:C52B.0002 failed with error -22
[ 2.909196] hid-generic 0003:046D:C52B.0003: hiddev0,hidraw1: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-4/input2

Revision history for this message
PhilX (philx) wrote :

dmesg for 5.4 with the errors

To post a comment you must log in.