Hi, I have a Lenovo ThinkPad P16s Gen 2 AMD system with Ubuntu 22.04 LTS installed which is a new system (<6 months). About a 6 weeks back, it ran into some segmentation fault while running Python (Matplotlib) and the full system crashed. After that, whenever I would boot the system, it gets stuck just before the password page shows up. Usually, I have to hard reset 7-8 times for the password page to suddenly reappear.
Initially, I tried recovery method and then fully reinstalling Ubuntu. Again as soon as any application runs into error (Zoom crashed or Python error), the whole system crashes, exactly the same way.
Since my laptop is within warranty, I sent it to Lenovo repair depot and got it back. Within 2 days, I run into exactly the same issue. While displaying a graph in Matplotlib, I get segmentation fault and then the system crashes. The service depot has ruled out any hardware issue and they cannot help with Ubuntu software issue. The customer care has noted the following:
“There are two possibilities that may be causing the issue: a problem with the RAM’s space or a problem with the OS trying to access the memory. Currently, I would advise that you try contacting Ubuntu support USA, as this may be an issue with the operating system’s code. They could further assist with trying to find a solution for the issue.”
I am attaching the screenshot of the bootup page where the laptop gets stuck. Any help is appreciated.
Does pressing Esc
while stuck on that screen show messages detailing where it’s getting stuck?
If not, does booting Ubuntu without quiet splash
boot parameters show any related messages during a failing boot? One way to achieve this is to edit /etc/default/grub
(requires root/sudo) and delete quiet splash
from the GRUB_CMDLINE_LINUX_DEFAULT
line, then run sudo update-grub
and reboot to apply the change.
Is this a newer model than the Ubuntu distribution of 22.04? Also have you updated UEFI firmware to latest available. And updated SSD firmware?
Compare firmware versions to vendors support site
sudo dmidecode -s bios-version
udisksctl status
kernel & drivers have to be newer than hardware to have updates included. And it often takes a while before a kernel update for newer hardware is then included in a distribution. They now offer newer kernel a bit faster, but you may need at least 24.04 for better support.
So I hard reset the laptop enough times to boot in finally and changed the grub setting. Now restarted it and its again stuck. This is the message it shows:
[OK] Started Time and Date Service.
[OK] Finished Wait untill snapd is fully seeded.
[OK] Created slice Slice /system/systemd-backlight.
Starting Load/Save Screen Backlight Brightness of backlight:amdgpu_bl1...
[OK] Finished Load/Save Screen Backlight Brightness of backlight:amdgpu_bl1.
-
Then its stuck.
Hi, Yes all firware is upto date. This ThinkPad came with 22.04 LTS itself. I did the following to check and update firmwares and it said no updates available.
fwupdmgr refresh --force
fwupdmgr get-updates
fwupdmgr update
During this issue, before sending it to the repair depot, I had briefly installed 24.04 but that seemed incompatible with my device with many firmware issues (this is supposedly a known thing online).
Vendors do not always update firmware for all models.
Best to check manually with vendors support site for your model & your firmware version (post 2) or go into UEFI settings.
Lenovo has lots of models, but I do not see yours unless same as one shown.
https://fwupd.org/lvfs/devicelist
I also have a new ThinkPad P16s Gen 2 AMD and have the exact same problem. It came with a 256GB SSD with Windows 11 pre-installed. I replaced the SSD and installed Win 11 followed by Ubuntu 22.04. WIn 11 starts up without issue. Ubuntu started up fine after installing, but after updating software and then rebooting it now gets stuck at the same point - at least the same screen.
I updated the firmware before installing Ubuntu.
Presssing the ESC key after it gets stuck does nothing - the laptop is completely unresponsive and the only option is to hold down the power button to switch it off.
If at the GRUB boot menu I select the second option - “Advanced options for Ubuntu”, I’m presented with 4 options:
Ubuntu, with Linux 6.8.0-52-generic
Ubuntu, with Linux 6.8.0-52-generic (recovery mode)
Ubuntu, with Linux 6.8.0-40-generic
Ubuntu, with Linux 6.8.0-40-generic (recovery mode)
The 52-generic option leads to the freeze. The 40-generic option starts without issue.
The screenshot below shows the output of journalctl (apologies for the resolution and bluriness). The bootup froze before 20:45 when I powered off and restarted in recovery mode.
Jon
Updated the title to specify the hardware.