USB bus crashes when using Razer Kiyo Pro webcam, xhci_pci crash

Bug #2061177 reported by Bartosz Woronicz
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux-signed-hwe-6.5 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When using camera I got often freezes of the camera input which are fixed after a while (2-3min) when having the videoconference with Google Meet (currently running Firefox from snap 125.0.2-1 ) .
But sometimes it crashes the whole bus and all usb devices are disconnected.

[25678.046793] usb 2-9.1: current rate 16000 is different from the runtime rate 48000
[42784.602640] usb 2-9.1: current rate 16000 is different from the runtime rate 48000
[44426.198611] loop40: detected capacity change from 0 to 58432
[48209.516942] usb 2-9.1: current rate 16000 is different from the runtime rate 48000
[56137.044859] usb 2-9.1: current rate 16000 is different from the runtime rate 48000
[56342.242010] xhci_hcd 0000:00:14.0: xHCI host not responding to stop endpoint command
[56342.242037] xhci_hcd 0000:00:14.0: xHCI host controller not responding, assume dead
[56342.242093] xhci_hcd 0000:00:14.0: HC died; cleaning up
[56342.242149] usb 1-2: USB disconnect, device number 2
[56342.242381] usb 2-9: USB disconnect, device number 2
[56342.242385] usb 2-9.1: USB disconnect, device number 3
[56342.242389] uvcvideo 2-9.1:1.1: Failed to set UVC commit control : -110 (exp. 26).
[56342.244294] usb 2-9.3: USB disconnect, device number 4
[56342.318435] usb 1-6: USB disconnect, device number 3
[56342.318439] usb 1-6.2: USB disconnect, device number 5
[56342.318818] usb 1-6.3: USB disconnect, device number 7
[56342.318819] usb 1-6.3.1: USB disconnect, device number 10
[56342.834579] usb 1-6.3.2: USB disconnect, device number 18
[56343.343380] usb 1-6.3.5: USB disconnect, device number 14
[56343.402226] usb 1-6.3.6: USB disconnect, device number 15
[56343.402443] usb 1-6.4: USB disconnect, device number 9
[56344.099416] usb 1-10: USB disconnect, device number 4
[56344.630587] usb 1-11: USB disconnect, device number 17
[56344.630731] suunto ttyUSB0: suunto converter now disconnected from ttyUSB0
[56344.630745] usb_serial_simple 1-11:1.0: device disconnected
[56344.630867] usb 1-12: USB disconnect, device number 8
[56344.702585] usb 1-13: USB disconnect, device number 11
[56344.771041] usb 1-14: USB disconnect, device number 13

Only thing I can see then via lsusb is

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

The workaround is to login to the machine via SSH (as I don't have keyboard or mouse working)
and reload the xhci_pci module.

$ sudo rmmod xhci_pci xhci_pci_renesas
$ sudo modprobe xhci_pci xhci_pci_renesas

Then all starts working back again

The running kernel is:
Linux drakkar 6.5.0-25-generic #25~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Feb 20 16:09:15 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-6.5.0-25-generic 6.5.0-25.25~22.04.1
ProcVersionSignature: Ubuntu 6.5.0-25.25~22.04.1-generic 6.5.13
Uname: Linux 6.5.0-25-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Fri Apr 12 20:26:26 2024
ProcEnviron:
 TERM=linux
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 SHELL=/bin/bash
SourcePackage: linux-signed-hwe-6.5
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.logrotate.d.apport: 2023-08-24T03:09:53.125138

Revision history for this message
Bartosz Woronicz (mastier1) wrote :
Revision history for this message
Bartosz Woronicz (mastier1) wrote :

It happened, again

The current kernel
Linux drakkar 6.5.0-28-generic #29~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr 4 14:39:20 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Again removing xhci_pci and modprobing again helps as workaround

Attached sosreport

summary: - USB bus crashes when using Razer Kiyo Pro webcam
+ USB bus crashes when using Razer Kiyo Pro webcam, xhci_pci crash
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-signed-hwe-6.5 (Ubuntu):
status: New → Confirmed
Revision history for this message
Bartosz Woronicz (mastier1) wrote :
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.