Score:3

ThinkPad X1 Gen. 9 does not shutdown with 20.04

lc flag

I've got a brand new ThinkPad X1 Carbon Gen. 9 with no pre-installed OS. After checking that Secure Boot is Off and OS Optimized Defaults are Disabled, I installed Ubuntu 20.04.3 LTS. If I try to shutdown the device, it shows a black screen but does not turn off. The only indicator is that the fans keep spinning. Even the power LED is Off. I waited up to one hour and did a force-shutdown several times by pressing the button for 10s. The problem persists on the next shutdown. All updates are installed.

When I first installed it, I set up LVM and encryption during the installation. This resulted in error messages during shutdown:

systemd-shutdown[1]: Could not detach DM /dev/dm-0: Device or resource busy
systemd-shutdown[1]: Failed to finalize DM devices, ignoring

After this, I did a fresh install without LVM and encryption. I don't get the messages anymore, but I still get stuck on the black screen.

I saw several posts about shutdown issues with 20.04, but I couldn't find any solution. Is this device specific? Should I return it and get the same device with the OEM image pre-installed? This would be a complete waste of resources just because Lenovo is not handing out their OEM image and I still don't know if the shutdown is working properly. From my experiences, Ubuntu certifications do not mean a lot in the Lenovo world. The support on the phone keeps telling me I should install Windows. I'm not expecting too much help from their side.

in flag
If the power LED is off, there is no OS running. If the fan is still running that can mean one of two things: (1) the battery is too hot while charging (2) the CPU is too hot despite being off. The fans on the Carbon models are mostly controlled through the UEFI, *not* the OS.
pixelpress avatar
lc flag
I should mention that they're running just very silently. Furthermore, the power button does not work again to turn it on before I do a hard reset. I think this shows that neither (1) nor (2) is the problem in this case.
in flag
If the firmware is fully up to date, then you may have a bum Carbon. There are several hundred of these deployed across the organization I work with, all running 20.04 or 21.04 and I’ve yet to hear of this issue. One way to test whether it’s the OS or not would be to boot into a Live USB session and shut down from there. If the issue repeats itself, then there’s a high probability it’s hardware related
pixelpress avatar
lc flag
And you're also running Ubuntu on **Gen. 9** in your organization? I'm going to do a BIOS reset, reinstall and also trying the live session now.
pixelpress avatar
lc flag
Live USB shutdown seems to work. However, I'm not sure if the procedure is the same, since the Live version asks to remove the USB device before turning off. Also, sometimes shutdown seems to work with the installation (1 of 5 cases).
Marcus avatar
jp flag
I do have the exact same behaviour/issue as well on my X1 Gen9 with a Xubuntu 20.04.3 LTS installation (LVM with encrypted harddisk - not sure if this is relevant). Everything else works flawlessly. The following message is included in the kernel log (as last message before hard shutdown and reboot): xfce4-power-man[1642]: segfault at 20 ip 0000000000000020 sp 00007ffc8e5cab38 error 14 in xfce4-power-manager[5587f9ea3000+a000] Code: Unable to access opcode bytes at RIP 0xfffffffffffffff6.
tworabbits avatar
us flag
Unfortunately not enough reputation to answer. Follow this thread at lenovo: https://forums.lenovo.com/t5/Ubuntu/X1-Carbon-Gen-9-Ubuntu-support-OEM-image-and-instructions/m-p/5096435?page=9 Furthermore track this bug report at launchpad: https://bugs.launchpad.net/ubuntu/+source/linux-oem-5.10/+bug/1940665
cn flag
Seconding tworabbit's comment - I had the same issue and found this to fix it.
Score:3
in flag

You need to activate additional drivers and update the firmware.

First run these commands:

fwupdmgr refresh --force
fwupdmgr get-updates
fwupdmgr update

After this your PC will probably restart. Make sure that it's connected to the power supply.

After that, you need to activate additional drivers and reboot again (check photo):

Ubuntu 20.04 Additional drivers

Score:0
lc flag

I got the Ubuntu 20.04 LTS OEM image from Lenovo and the issue was solved even after updating!

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.