You are not logged in.

#1 2022-03-21 08:07:18

masca
Member
Registered: 2022-03-12
Posts: 8

Issues with reboot and suspension

Hi,

I have installed Arch Linux (via archinstall) on a Lenovo Thinkbook a couple of days ago and I am experiencing some issues with both reboot and suspension/hibernation.

In particular, if I reboot the system, I get what I assume to be some sort of kernel panic. Namely, after systemd-boot prompts me to decide whether to boot into arch or to go to the firmware settings, I get a black screen and the light of the caps lock key begins blinking.

Moreover, whenever my laptop goes into what I assume to be suspension mode, then it is impossible to resume working. I again get a black screen. I can see the computer is still running, but I have no access to it. In this case, however, I do not get the blinking caps lock thing.

I am unsure what output / log I should be looking into, but just to give some general information, I am running kernerl 5.16.15, using GNOME 41.4 (with Wayland underneath). My CPU is an AMD Ryzen 5 and the GPU is an AMD ATI.

I am using btrfs, with encryption, both set up via arch install, using the automatic mode.

I would appreciate any help in this sense.

Offline

#2 2022-03-21 09:40:55

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,285

Re: Issues with reboot and suspension

Chances are a kernel panic doesn't land in any log. Try the LTS and/or a newer kernel via the linux-mainline package or so https://aur.archlinux.org/packages/linux-mainline (note the first comment for a repository if you don't want to compile the thing)

Offline

#3 2022-03-21 10:55:49

masca
Member
Registered: 2022-03-12
Posts: 8

Re: Issues with reboot and suspension

I will give it a go with the LTS first and then see with linux-mainline. Only thing is I am unsure how to add the option to systemd-boot. I am reading on the wiki (https://wiki.archlinux.org/title/Systemd-boot), I see that the option I have at `/boot/loader/entries` is the file created by archinstall on the installation date. It doesn't specify a kernel version though.

I guess the steps should be to install linux-lts and then regenerate this file somehow. Am I suppose to manually write a new conf or is there an automatic way? I am asking because I remember that GRUB would update the options automatically

Offline

#4 2022-03-21 11:09:31

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,285

Re: Issues with reboot and suspension

For systemd-boot you normally create them manually: https://wiki.archlinux.org/title/System … ng_loaders but this shouldn't be too hard and you can look at the existing entry to see what the format should look like.

Offline

#5 2022-03-21 13:06:50

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,740

Re: Issues with reboot and suspension

I have no access to it. In this case, however, I do not get the blinking caps lock thing.

Do you also have no ssh access to it?

ceterum censeo: if there's a parallel windows, see the 3rd link below.

Offline

#6 2022-03-23 15:26:59

masca
Member
Registered: 2022-03-12
Posts: 8

Re: Issues with reboot and suspension

V1del wrote:

For systemd-boot you normally create them manually: https://wiki.archlinux.org/title/System … ng_loaders but this shouldn't be too hard and you can look at the existing entry to see what the format should look like.

So, I have tried but to no effect to create a conf file made like this:

`
title Arch Linux (linux)
version linux-lts
linux /vmlinuz-linux
initrd /amd-ucode.img
initrd /initramfs-linux.img
options root=PARTUUID=9dd82dc7-8445-48c4-8006-0941cc5b0cb5 rootflags=subvol=/@ rw intel_pstate=no_hwp rootfstype=btrfs
`
but to no effect. I still get the same kernel loaded. I might try adding the number, but I am unsure as to how to format it and I am a bit wary of going trial and error because I don't want systemd-boot to get stuck. Maybe I could try again creating a fallback config file as in the wiki.

However, as I had seen an update of the kernel, I tried again. What I get is that everything freezes up during boot up when it is going through "Flush Journal to Persistent Storage...". I don't know if this helps...

Offline

#7 2022-03-23 15:48:25

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Issues with reboot and suspension

Right, because that's what you're telling it to load. Look at the files you specified.

Offline

#8 2022-03-23 15:53:34

masca
Member
Registered: 2022-03-12
Posts: 8

Re: Issues with reboot and suspension

Scimmia wrote:

Right, because that's what you're telling it to load. Look at the files you specified.

Would you mind elaborating? I am not sure I understand. You mean the files I am telling systemd-boot to load?

Offline

#9 2022-03-23 16:44:33

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,285

Re: Issues with reboot and suspension

your linux and the second initrd lines are still referencing the normal kernel, you need to adjust those to load the relevant LTS versions, aptly named vmlinuz-linux-lts and initramfs-linux-lts.img

Offline

#10 2022-03-28 19:46:26

masca
Member
Registered: 2022-03-12
Posts: 8

Re: Issues with reboot and suspension

Reboot works fine with the LTS kernel. Thanks!

What still bugs is me, however, is that if I close the lid of my laptop and open it up again things go weird. I get a black screen and I have to force a shutdown. I am not sure what goes wrong. I can try to write some stupid programme that logs on a file after a couple of minutes of suspensions to see if the issues is that the computer doesn't get out of suspension or if the issue is somewhere else.

For the time being, the workaround is to disable suspension for this scenario. I did so by simply setting it in GNOME Tweak

Last edited by masca (2022-03-28 19:50:53)

Offline

Board footer

Powered by FluxBB