Ubuntu 20.04 更新后启动挂起

Ubuntu 20.04 更新后启动挂起

在 Ubuntu 20.04 中运行更新后,我的启动性能严重下降。运行dmesg突出显示了一些有问题的进程。

...
[   21.921354] usb 1-4: device descriptor read/64, error -110
[   22.157236] usb 1-4: new high-speed USB device number 3 using xhci_hcd
[   27.297351] usb 1-4: device descriptor read/64, error -110
[   42.913317] usb 1-4: device descriptor read/64, error -110
[   43.021293] usb usb1-port4: attempt power cycle
[   43.673232] usb 1-4: new high-speed USB device number 4 using xhci_hcd
[   48.929356] usb 1-4: device descriptor read/8, error -110
[   54.305334] usb 1-4: device descriptor read/8, error -110
[   54.541242] usb 1-4: new high-speed USB device number 5 using xhci_hcd
[   59.681384] usb 1-4: device descriptor read/8, error -110
[   65.057363] usb 1-4: device descriptor read/8, error -110
[   65.165292] usb usb1-port4: unable to enumerate USB device
...
[   66.871831] NET: Registered protocol family 38
[  128.664088] usb 1-14: new high-speed USB device number 9 using xhci_hcd
...

运行后systemd-analyze,您会看到启动时间……完全是垃圾。

Startup finished in 29.969s (firmware) + 10.657s (loader) + 1.854s (kernel) + 1min 4.220s (userspace) = 1min 46.701s 
graphical.target reached after 30.301s in userspace

有人知道如何解决这个问题吗?

答案1

事实证明,我连接的 GoPro 从 USB 吸取了过多的电量,导致启动失败。已解决。

相关内容