![USB 根集線器無法啟動的問題 (Ubuntu 20.04.05)](https://rvso.com/image/1072887/USB%20%E6%A0%B9%E9%9B%86%E7%B7%9A%E5%99%A8%E7%84%A1%E6%B3%95%E5%95%9F%E5%8B%95%E7%9A%84%E5%95%8F%E9%A1%8C%20(Ubuntu%2020.04.05).png)
幾天前我從 18.04 升級到 20.04。一切都運作良好並且看起來不錯。我在使用 TimeShift 和 Deja-Dup 時遇到了一些問題,我已經解決了。
第二天早上,當我查看電腦以檢查備份狀態時,我無法在密碼框中輸入。我使用 USB 3.0 4K 四埠 KVM,因此有時會遺失滑鼠或鍵盤。我重新啟動 KVM,但仍然無法在框中輸入內容。
我遠端連接並重新啟動,但出現了大量 USB 錯誤,而且它從未到達 Gnome 桌面。
透過 GRUB 進入恢復模式後,我發現問題出在 USB 3-1 上。總線 003 的 lsusb 輸出如下:
Bus 003 Device 007: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 003 Device 006: ID 8087:0029 Intel Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
主機板:技嘉X570 Aorus Master - 更新至BIOS韌體版本F35
經驗:> 40 年,Unix、大型主機、PC、RaspberryPi、Sun、HP、Windows、Linux、...
我可以在沒有任何 USB 2.0 設備的情況下生活 - 如果我將設備插入 2.0 端口,Ubuntu 就無法啟動,所以我懷疑主板上的某些東西出現了故障。我嘗試在 BIOS 中停用傳統 USB 端口,但這不起作用。
我可以購買 USB 2.0 轉接器並安裝它 - 但我需要繞過當前問題才能使用我的電腦。
歡迎提出建議 - 我只有大約兩年的 Ubuntu 經驗(主要使用 GUI 或終端處理 fstab、設備、網路),但已經在許多版本的 Unix 上完成了系統級工作,並且擁有大量的硬體經驗。
dmesg 的輸出:(第一分鐘 - 它永遠重複)
[ 3.009220] usb 3-1: new low-speed USB device number 2 using xhci_hcd
[ 3.145229] usb 3-1: device descriptor read/64, error -71
[ 3.385451] usb 3-1: device descriptor read/64, error -71
[ 3.625429] usb 3-1: new low-speed USB device number 3 using xhci_hcd
[ 3.757337] usb 3-1: device descriptor read/64, error -71
[ 3.997412] usb 3-1: device descriptor read/64, error -71
[ 4.521675] usb 3-1: new low-speed USB device number 4 using xhci_hcd
[ 4.522810] usb 3-1: Device not responding to setup address.
[ 4.730504] usb 3-1: Device not responding to setup address.
[ 4.937650] usb 3-1: device not accepting address 4, error -71
[ 5.065675] usb 3-1: new low-speed USB device number 5 using xhci_hcd
[ 5.066529] usb 3-1: Device not responding to setup address.
[ 5.274437] usb 3-1: Device not responding to setup address.
[ 5.481665] usb 3-1: device not accepting address 5, error -71
[ 36.713240] usb 3-1: new low-speed USB device number 8 using xhci_hcd
[ 36.841253] usb 3-1: device descriptor read/64, error -71
[ 37.081247] usb 3-1: device descriptor read/64, error -71
[ 37.321225] usb 3-1: new low-speed USB device number 9 using xhci_hcd
[ 37.457297] usb 3-1: device descriptor read/64, error -71
[ 37.701250] usb 3-1: device descriptor read/64, error -71
[ 38.221235] usb 3-1: new low-speed USB device number 10 using xhci_hcd
[ 38.221614] usb 3-1: Device not responding to setup address.
[ 38.429611] usb 3-1: Device not responding to setup address.
[ 38.641226] usb 3-1: device not accepting address 10, error -71
[ 38.769233] usb 3-1: new low-speed USB device number 11 using xhci_hcd
[ 38.769705] usb 3-1: Device not responding to setup address.
[ 38.977699] usb 3-1: Device not responding to setup address.
[ 39.185222] usb 3-1: device not accepting address 11, error -71
[ 49.957239] usb 3-1: new low-speed USB device number 12 using xhci_hcd
[ 50.093245] usb 3-1: device descriptor read/64, error -71
[ 50.329250] usb 3-1: device descriptor read/64, error -71
[ 50.565754] usb 3-1: new low-speed USB device number 13 using xhci_hcd
[ 50.693934] usb 3-1: device descriptor read/64, error -71
[ 50.929820] usb 3-1: device descriptor read/64, error -71
[ 51.449760] usb 3-1: new low-speed USB device number 14 using xhci_hcd
[ 51.450764] usb 3-1: Device not responding to setup address.
[ 51.658746] usb 3-1: Device not responding to setup address.
[ 51.865916] usb 3-1: device not accepting address 14, error -71
[ 51.993575] usb 3-1: new low-speed USB device number 15 using xhci_hcd
[ 51.994515] usb 3-1: Device not responding to setup address.
[ 52.202718] usb 3-1: Device not responding to setup address.
[ 52.409419] usb 3-1: device not accepting address 15, error -71
從系統日誌 - 大約 5 秒的輸出:(重複模式開始...)
Jan 6 00:00:01 dug02 rsyslogd: [origin software="rsyslogd" swVersion="8.2001.0" x-pid="1044" x-info="https://www.rsyslog.com"] rsyslogd was HUPed
Jan 6 00:00:01 dug02 systemd[1]: logrotate.service: Succeeded.
Jan 6 00:00:01 dug02 systemd[1]: Finished Rotate log files.
Jan 6 00:00:03 dug02 kernel: [28682.402291] usb 3-1: new low-speed USB device number 88 using xhci_hcd
Jan 6 00:00:03 dug02 kernel: [28682.534744] usb 3-1: device descriptor read/64, error -71
Jan 6 00:00:03 dug02 kernel: [28682.770637] usb 3-1: device descriptor read/64, error -71
Jan 6 00:00:03 dug02 kernel: [28683.006700] usb 3-1: new low-speed USB device number 89 using xhci_hcd
Jan 6 00:00:03 dug02 kernel: [28683.134742] usb 3-1: device descriptor read/64, error -71
Jan 6 00:00:04 dug02 kernel: [28683.370758] usb 3-1: device descriptor read/64, error -71
Jan 6 00:00:04 dug02 kernel: [28683.478513] usb usb3-port1: attempt power cycle
Jan 6 00:00:04 dug02 kernel: [28683.890689] usb 3-1: new low-speed USB device number 90 using xhci_hcd
Jan 6 00:00:04 dug02 kernel: [28683.891578] usb 3-1: Device not responding to setup address.
Jan 6 00:00:04 dug02 kernel: [28684.099911] usb 3-1: Device not responding to setup address.
Jan 6 00:00:05 dug02 kernel: [28684.306707] usb 3-1: device not accepting address 90, error -71
Jan 6 00:00:05 dug02 kernel: [28684.434699] usb 3-1: new low-speed USB device number 91 using xhci_hcd
Jan 6 00:00:05 dug02 kernel: [28684.435641] usb 3-1: Device not responding to setup address.
Jan 6 00:00:05 dug02 kernel: [28684.643346] usb 3-1: Device not responding to setup address.
Jan 6 00:00:05 dug02 kernel: [28684.850699] usb 3-1: device not accepting address 91, error -71
Jan 6 00:00:05 dug02 kernel: [28684.851357] usb usb3-port1: unable to enumerate USB device
Jan 6 00:00:05 dug02 kernel: [28684.994291] usb 3-1: new low-speed USB device number 92 using xhci_hcd
Jan 6 00:00:05 dug02 kernel: [28685.126731] usb 3-1: device descriptor read/64, error -71
我只是想再次使用我的系統 - 但到目前為止我所嘗試的一切都不起作用。我願意禁用“Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub” - 但到目前為止我的嘗試尚未奏效。
從 GRUB 進入“恢復”模式是一個挑戰 - 我會嘗試將其刪除 - 但我並不樂觀。
更新:
我使用 Ubuntu 22.04.1 創建了一個 USB 啟動設備,並在啟動時收到一些相同的訊息,但 Gnome 啟動後訊息停止了。這似乎是 20.04 的基礎版本和更新版本之間的差異。
致力於解除 USB 2.0 根集線器的綁定 - 希望能夠解決這個問題。
啟動舊系統很困難。發送到控制台的訊息不會停止 - 我曾經知道如何重定向它們...
由於 USB 問題 - 進入恢復模式僅在 40 次重新啟動嘗試中的 1 次發生。 (使用 Shift 和 ESC)
使用 Ubuntu 22.04.1 系統確實讓我可以探索並嘗試修復問題 - 我只需要找到靈丹妙藥。
Update2:昨晚升級到22.04 - 仍然有類似的問題。控制台顯示相同的錯誤集,但現在會進入 tty 登入狀態,並且不會啟動 Gnome。 (手動嘗試啟動失敗)
當我的系統啟動時,我沒有網路設置,因此我必須為我的 10GB 適配器手動配置網路。
該系統可以從 rsh/putty 訪問,但我希望 Gnome 再次運行,這樣我就可以訪問我創建的虛擬機器。我複製了驅動器 - 這樣我就可以獲取我的數據,但我的 Windows 10 系統數據無法真正存取。
最終更新:我使用終端升級到 22.04 - 它沒有安裝 Gnome。我這樣做了,現在我可以再次啟動到 Ubuntu 了! :-)
我真的厭倦了僅使用終端來處理所有事情 - 感覺就像我回到了 1980 年代的大型機 - 幾乎。
我的日誌中仍然出現大量錯誤 - 但我的系統已恢復正常。我需要看看是否可以找到一種方法來停用主機板上的 USB 集線器並安裝 USB 2.0 卡。我懷疑這應該可以解決硬體問題。
答案1
大多數血淋淋的細節都在我上面的「問題」中。
我安裝了 22.04 - 使用終端從 20.04.05 升級。如果您這樣做,它會跳過 Gnome 安裝。我需要手動安裝 Gnome 並能夠重新登入我的系統。
我有一些事情需要解決(QEMU 不高興)。我的主機板的 BIOS 更新禁用了虛擬化。我不得不返回並重新啟用它 - 並且我的一些設定丟失了。我無法使用 GUI 更改工作列位置。
Timeshift 不斷佔用我的所有儲存空間 - 我正在釋放一些儲存空間並降低頻率並從備份中刪除 VM 磁碟檔案。
與無法啟動相比,這些都是小問題。我可以用我現在擁有的東西來工作——這比以前好多了。