我正面临缓慢的启动在这里的一个新的18.04.4 LTS安装。这种缓慢的启动似乎是由于USB内核基础结构在尝试初始化时遇到了一些超时。
我已经拔出所有外部USB设备,试图隔离罪魁祸首,但没有运气。唯一剩下的是内部调情模块,它也连接到USB总线上,所以这是不太可能的,因为它以前在Xenial上工作.
不幸的是,我不知道如何正确地解释dmesg输出。有人能告诉我到底是哪种设备引起了麻烦吗?例如,哇哦,我应该读这行usb 3-11: device descriptor read/64, error -110
吗?
$ dmesg
[...]
[ 18.840539] usb 3-11: device descriptor read/64, error -110
[ 34.456541] usb 3-11: device descriptor read/64, error -110
[ 34.720461] usb 3-11: new full-speed USB device number 4 using xhci_hcd
[ 50.328537] usb 3-11: device descriptor read/64, error -110
[ 65.944535] usb 3-11: device descriptor read/64, error -110
[ 66.080494] usb usb3-port11: attempt power cycle
[ 66.760460] usb 3-11: new full-speed USB device number 5 using xhci_hcd
[ 71.960551] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[ 72.196598] usb 3-11: Device not responding to setup address.
[ 72.432460] usb 3-11: device not accepting address 5, error -71
[ 72.588460] usb 3-11: new full-speed USB device number 6 using xhci_hcd
[ 77.848555] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[ 78.084597] usb 3-11: Device not responding to setup address.
[ 78.320457] usb 3-11: device not accepting address 6, error -71
[ 78.350687] usb usb3-port11: unable to enumerate USB device
[ 78.383974] hidraw: raw HID events driver (C) Jiri Kosina
[ 78.423149] usbcore: registered new interface driver usbhid
[ 78.453215] usbhid: USB HID core driver
[ 78.484704] input: flirc.tv flirc Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-6/3-6:1.0/0003:20A0:0001.0001/input/input3
[ 78.572642] input: flirc.tv flirc Consumer Control as /devices/pci0000:00/0000:00:14.0/usb3/3-6/3-6:1.0/0003:20A0:0001.0001/input/input4
[ 78.604675] input: flirc.tv flirc System Control as /devices/pci0000:00/0000:00:14.0/usb3/3-6/3-6:1.0/0003:20A0:0001.0001/input/input5
[ 78.636707] hid-generic 0003:20A0:0001.0001: input,hidraw0: USB HID v1.01 Keyboard [flirc.tv flirc] on usb-0000:00:14.0-6/input0
[...]
$ hwinfo
36: USB 00.1: 0000 Unclassified device
[Created at usb.122]
Unique ID: zGic.dZ7C1EsCH66
Parent ID: uIhY.2DFUsyrieMD
SysFS ID: /devices/pci0000:00/0000:00:14.0/usb3/3-6/3-6:1.1
SysFS BusID: 3-6:1.1
Hardware Class: unknown
Model: "Clay Logic flirc"
Hotplug: USB
Vendor: usb 0x20a0 "Clay Logic"
Device: usb 0x0001 "flirc"
Revision: "1.00"
Speed: 1.5 Mbps
Module Alias: "usb:v20A0p0001d0100dc00dsc00dp00icFFiscFFipFFin01"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #35 (Hub)
$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8009 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 8087:8001 Intel Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 20a0:0001 Clay Logic
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
编辑打开我的HTPC大小写并拔掉调情模块之后,它就可以很好地快速启动,而不会出现任何内核错误。所以这个USB设备引起了麻烦。然而,我仍然不明白为什么这是突然开始的,从来不是Xenial的问题。如果有人能澄清这件事,我还是会很高兴的。
发布于 2020-06-21 10:18:22
这应该会有帮助:https://askubuntu.com/a/1239249/326048
这个人给出的答案是一个关于诊断与USB硬件相关的内核问题的教育答案。
发布于 2023-02-24 02:50:58
从描述这里判断,USB错误使用我们习惯的老的规则errno值,其中110个表示超时(ETIMEDOUT)。
https://askubuntu.com/questions/1252288
复制相似问题