I am trying to make a Lenovo Thinkpad P52 work with an Lenovo USB-C Hybrid Dock (40AF, see docks to avoid ...) on Linux Mint 20.3 Una 64bit Cinnamon (a.k.a. Ubuntu 20.04). What a ... journey ...
The laptop has its /home folder sitting on a ZFS file system (zpool). The operating system itself runs on btrfs. Graphics are switched to dedicated (i.e. Nvidia) in the BIOS and driven by Nvidia's proprietary driver. The laptop's BIOS has been updated to the latest version beforehand to avoid bricking the mainboard in this kind of setup (really impressive BIOS bugs). Thunderbold security has been switched off in the BIOS as well. Interestingly, the dock does not show up when running boltctl list - although I had do disable thunderbold security. I guess this is where the "hybrid" comes in. DisplayLink drivers have been installed from here. I should be ready to go.
When I boot the laptop with the dock disconnected, everything works fine. I can then plug the dock in once the computer is up and network plus USB on the dock are working as expected. (I am not yet far enough down the rabbit hole to trouble-shoot the display connection.)
When I boot with the dock plugged into the laptop, the boot hangs for about two minutes just before the login screen should appear. It usually shows a single line of console output, usually some error, but different ones every time (e.g. ucsi_acpi USBC000:00 con1 failed to register alternate modes or bluetooth hci0 setting interface failed (71)). I figure that those errors also happen without the dock - it's due to the hang that I can see them, I guess. When I wait for some timeout to pass, I am presented with the usual graphical login screen, though login attempts fail. This is when I discovered that my zpool was gone (every time when I booted with the dock connected), hence there was no user folder to log a user into. I switched to the command line (Ctrl+F1) and checked zpool status - nothing. A manual zpool import data, the contents of /home showed up again, back the the login screen (Ctrl+F7) and everything worked fine.
The timeout and the fact that my zpool is gone suggest some sort of error during kernel module loading or initialization, perhaps the order in which things happen - though I am not sure how to debug this or what is going on. Without the dock present during boot, everything works as expected.
---
I am troubleshooting this system for a visually impaired person. The whole point of the docking station is that there are fewer cables to connect/disconnect from the laptop. It's the general difficulty of plugging the cables in and out that has created my scenario. Therefore, it's a tough sell for me to say "just unplug the cable every time before you boot the machine even if you do not carry it with you" even if it's only this one cable.
Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message
Lenovo USB-C "hybrid" dock connected during boot: Boot hangs and zpool does not get loaded
Lenovo USB-C "hybrid" dock connected during boot: Boot hangs and zpool does not get loaded
(Many) Thinkpads with Linux since 2006. Spent most of my time working with T60, R60 and W530 models, literally taking them to their physical limits.
-
- Similar Topics
- Replies
- Views
- Last post
-
-
HELP! I Cant access BIOS menu during windows 11 start
by canonmasta » Mon Dec 04, 2023 5:07 pm » in ThinkPad X230-X280 / X390 Series - 6 Replies
- 4054 Views
-
Last post by onespeedbiker
Sat Apr 27, 2024 5:29 pm
-
-
-
Does the W541 accept an mPCIe-to-USB adapter?
by cultOfThinkpad » Thu Feb 22, 2024 10:41 am » in ThinkPad W530/W540/W541/W550 Series - 1 Replies
- 545 Views
-
Last post by TPFanatic
Thu Feb 22, 2024 1:22 pm
-
-
-
SOLVED - Does T14 Gen2 have a USB-C port with DP Alt Mode?
by Thinkpad2024 » Wed Mar 27, 2024 9:58 am » in Thinkpad T14/T15/T16 - 2 Replies
- 762 Views
-
Last post by Thinkpad2024
Wed Mar 27, 2024 2:16 pm
-
-
-
W520 does not finish shutting down correctly
by crux » Fri Dec 01, 2023 6:43 pm » in ThinkPad W500/W510/W520 and W700/W701 Series - 1 Replies
- 4276 Views
-
Last post by axur-delmeria
Sat Dec 02, 2023 12:41 am
-
Who is online
Users browsing this forum: No registered users and 11 guests