「リンクの準備ができていません」エラーにより、コンピューターと iPhone 間の USB 接続が失敗する

「リンクの準備ができていません」エラーにより、コンピューターと iPhone 間の USB 接続が失敗する

USB-Lightning コードを介して携帯電話 (iPhone 6s) に接続し、ラップトップ (Ubuntu 18.04 を実行している Lenovo Thinkpad) でインターネットに接続しようとしています。

これは数か月間機能していましたが、ソフトウェア/ファームウェアのアップグレードが原因で突然機能しなくなりました。ログの関連部分と思われる部分は次のとおりです。

[  +0.012080] ipheth 1-3:4.2: Apple iPhone USB Ethernet device attached
[  +0.000012] usbcore: registered new interface driver ipheth
[  +0.009028] ipheth 1-3:4.2 enp0s20f0u3c4i2: renamed from eth0
[  +0.050073] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[  +0.000002] Bluetooth: BNEP filters: protocol multicast
[  +0.000005] Bluetooth: BNEP socket layer initialized
[  +0.319300] IPv6: ADDRCONF(NETDEV_UP): enp0s20f0u3c4i2: link is not ready
[  +0.000606] IPv6: ADDRCONF(NETDEV_UP): enp0s20f0u3c4i2: link is not ready
[  +0.003802] IPv6: ADDRCONF(NETDEV_UP): enp0s31f6: link is not ready
[  +0.186225] IPv6: ADDRCONF(NETDEV_UP): enp0s31f6: link is not ready
[  +0.002091] IPv6: ADDRCONF(NETDEV_UP): wlp0s20f3: link is not ready
[  +0.193558] iwlwifi 0000:00:14.3: BIOS contains WGDS but no WRDS
[  +0.000488] IPv6: ADDRCONF(NETDEV_UP): wlp0s20f3: link is not ready
[  +0.087906] IPv6: ADDRCONF(NETDEV_UP): wlp0s20f3: link is not ready
[  +6.065263] ip6_tables: (C) 2000-2006 Netfilter Core Team
[  +2.736662] Bluetooth: RFCOMM TTY layer initialized
[  +0.000011] Bluetooth: RFCOMM socket layer initialized
[  +0.000009] Bluetooth: RFCOMM ver 1.11
[  +1.081306] thinkpad_acpi: unknown possible thermal alarm or keyboard event received
[  +0.000002] thinkpad_acpi: unhandled HKEY event 0x6032
[  +0.000000] thinkpad_acpi: please report the conditions when this event happened to [email protected]
[  +0.614643] thunderbolt 0000:04:00.0: stopping RX ring 0
[  +0.000011] thunderbolt 0000:04:00.0: disabling interrupt at register 0x38200 bit 12 (0x1001 -> 0x1)
[  +0.000017] thunderbolt 0000:04:00.0: stopping TX ring 0
[  +0.000008] thunderbolt 0000:04:00.0: disabling interrupt at register 0x38200 bit 0 (0x1 -> 0x0)
[  +0.000008] thunderbolt 0000:04:00.0: control channel stopped
[ +10.943627] thinkpad_acpi: unknown possible thermal alarm or keyboard event received
[  +0.000001] thinkpad_acpi: unhandled HKEY event 0x6032
[  +0.000001] thinkpad_acpi: please report the conditions when this event happened to [email protected]
[Dec10 08:14] rfkill: input handler disabled
[ +11.118975] thinkpad_acpi: unknown possible thermal alarm or keyboard event received
[  +0.000004] thinkpad_acpi: unhandled HKEY event 0x6032

おそらく、「リンクの準備ができていません」というエラーが問題の原因でしょうか? これはファームウェア/ドライバーの問題で、アップグレードを元に戻すと問題が解決するのではないかと考えています。その方法を見つけられるかどうか調べてみます。電話をワイヤレス ホットスポットとして使用して接続することはできますが、Bluetooth は使用できません。

最近アップグレードされた項目は次のとおりです。

intel-microcode:amd64 (3.20191115.1ubuntu0.18.04.1, 3.20191115.1ubuntu0.18.04.2)
grub-common:amd64 (2.02-2ubuntu8.13, 2.02-2ubuntu8.14)
grub2-common:amd64 (2.02-2ubuntu8.13, 2.02-2ubuntu8.14)
grub-pc:amd64 (2.02-2ubuntu8.13, 2.02-2ubuntu8.14)
grub-pc-bin:amd64 (2.02-2ubuntu8.13, 2.02-2ubuntu8.14)
grub-efi-amd64-bin:amd64 (2.02-2ubuntu8.13, 2.02-2ubuntu8.14)
grub-efi-amd64-signed:amd64 (1.93.14+2.02-2ubuntu8.13, 1.93.15+2.02-2ubuntu8.14)
unattended-upgrades:amd64 (1.1ubuntu1.18.04.12, 1.1ubuntu1.18.04.13)
libnss3:amd64 (2:3.35-2ubuntu2.5, 2:3.35-2ubuntu2.6)
linux-firmware:amd64 (1.173.12, 1.173.13)

答え1

インストールをやり直すと、この問題は解決したようですapt install --reinstall <list-of-packages>。おそらくこれは、インストールが何らかの形で破損していたことを意味しますが、なぜこれがフラグ付けされなかったのか、または受け取ったエラー メッセージからそれをどのように把握できたのかはまだわかりません。いずれにせよ、問題は解決しました。

関連情報