You are not logged in.

#1 2020-05-08 07:44:09

surrealistic
Member
Registered: 2011-07-24
Posts: 102

[SOLVED] Boot hangs since linux upgrade

Hi!

I just upgrade my packages and one of them were the linux package.

I tried to reboot the system after that update and just after choosing Arch on GRUB menu it shows the message

loading linux linux...
loading inital ramdisk...

After that Dell logo appears since I'm using a Dell Vostro 15 3000 and that logo hangs in there, the laptop gets stuck.

I did an arch-chroot from a USB and I saw that vmlinuz files disappeared from /boot since I got an error that couldn't find those files trying to re-generate grub and running mkinitcpio again. I reainstalled linux, linux-headers and linux-firmware and then the files appeared again, so I ran grub-install and grub-mkconfig again with no errors at all, I ran mkinitcpio -p I checked /etc/fstab and compared it with the output of lsblk and blkid and everything seem to be fine.

I unmounted the partitions after quitting the arch-root I turned off the laptop and I removed the USB to start my Arch again, but I got exactly the same, it keeps getting stuck on that logo.

I don't know if someone else is experiencing these issues after the last linux update or if there's any way to see why it gets stuck in there or if it would be better to just do a rollback installing the previous packages of linux, linux-headers and linux-firmware.

Does anyone know why this may be happening?

Thanks!

PS. I posted this issue on this section because I think it's a kernel problem or at least I'm experiencing this issue since I updated linux package. If not, please tell me to delete it and re-open it in the right section of move it to the right section.

Last edited by surrealistic (2020-05-08 16:19:22)

Offline

#2 2020-05-08 07:54:43

Awebb
Member
Registered: 2010-05-06
Posts: 6,273

Re: [SOLVED] Boot hangs since linux upgrade

I experience the same problem on one of my laptops. Did you encounter any error messages during the update, anything that's out of place?

Offline

#3 2020-05-08 08:03:38

surrealistic
Member
Registered: 2011-07-24
Posts: 102

Re: [SOLVED] Boot hangs since linux upgrade

I don't think so, I ran pacman -Syyu I typed y and when I came back to the laptop that update finished and as far as I remember there was not error message, but I'm not sure about it now because of this issue.

I have that update pending on my main laptop now and I'm not updating to avoid this issue. I hope there's an update soon to fix it or someone can help us with that issue. That happened on the laptop I use for work and I'm working with a Live USB right now.

EDIT: I just checked pacman.log file and it seems like the update went well, there are no error messages. The only error message I have is the one saying that it couldn't find the kernel image vmlinuz-linux when I ran mkinitcpio -p linux before I re-installed linux package to see if it generates those images and I got those files again when I reinstalled linux package.

Last edited by surrealistic (2020-05-08 08:25:08)

Offline

#4 2020-05-08 12:27:53

Carfax
Member
Registered: 2013-10-30
Posts: 30

Re: [SOLVED] Boot hangs since linux upgrade

Don't wanna start a new topic so i'll add mine here
I'm currently experiencing the same issue on my Sony Vaio. There are no error messages in the pacman.log. I already tried chrooting and downgrading the kernel to 5.5.9 and it's still the same. I'm at lost for how to proceed with troubleshooting, but like OP i believe it's a kernel issue

Offline

#5 2020-05-08 13:11:48

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: [SOLVED] Boot hangs since linux upgrade

Remove the quiet parameter that's probably lingering around in your kernel commandline, raise the debug level and try to boot "nomodeset".
Does this get us any more output to work with?

Edit: in case you're late to the party - the dhcpcd 8.x - 9.0x update broke the booting process for some people.

Last edited by seth (2020-05-08 13:12:49)

Offline

#6 2020-05-08 14:04:42

Carfax
Member
Registered: 2013-10-30
Posts: 30

Re: [SOLVED] Boot hangs since linux upgrade

seth wrote:

Remove the quiet parameter that's probably lingering around in your kernel commandline, raise the debug level and try to boot "nomodeset".
Does this get us any more output to work with?


I already tried both options, no tangible error messages there.

Offline

#7 2020-05-08 15:51:39

surrealistic
Member
Registered: 2011-07-24
Posts: 102

Re: [SOLVED] Boot hangs since linux upgrade

Thank you so much @seth!

At least I can see the issue now. I changed the debug level to 4 and I changed quiet for nomodeset and I could see that there's a kernel panic.

Kernel panic

I'm going to try to look for that issue now and see how can I fix it.

Thank you so much!

EDIT: It seems like if I move /usr/lib32 to /root/lib32 for example I can boot the system normally, but I don't know how to keep or recover that lib32 folder on /usr because I just can make it boot without that folder in there.

EDIT2: I just tried to move that folder back to /usr and reboot the system and it seems to work now. so I'll mark it as SOLVED.

Thank you so much for your help!

Last edited by surrealistic (2020-05-08 16:19:03)

Offline

#8 2020-05-08 18:18:25

Awebb
Member
Registered: 2010-05-06
Posts: 6,273

Re: [SOLVED] Boot hangs since linux upgrade

I seem to have a different issue, but I'm trying to understand yours. All files in my /usr/lib32 are owned by  the gcc package. What about yours? Can you "pacman -Qo /usr/lib32/* for science?

Offline

#9 2020-05-10 18:21:27

stefano
Member
Registered: 2011-04-09
Posts: 258

Re: [SOLVED] Boot hangs since linux upgrade

Same, or similar issue here today. After the update (which included the linux package), the system does not boot anymore. in my case, it stops even earlier. Grub loads and then panics. It cannot find the kernel to load (vmlinuz, that is).

There were no error messages during the update, BTW. Pacman did take a very long time for the post-install linux build, though

Last edited by stefano (2020-05-10 18:22:29)

Offline

#10 2020-05-10 18:24:31

Awebb
Member
Registered: 2010-05-06
Posts: 6,273

Re: [SOLVED] Boot hangs since linux upgrade

This is exactly what I had. Something is odd with grub. After reinstalling the bootloader and mkconfig'ing, it works again.

Offline

#11 2020-05-10 18:25:29

stefano
Member
Registered: 2011-04-09
Posts: 258

Re: [SOLVED] Boot hangs since linux upgrade

Thanks for the quick reply. I'll try your solution



Edit: Unfortunately my problem seems more serious. After booting into an emergency drive and chrrooting to the old one, I cannot (re-)install anything. pacman fails silently with no output, I am not sure why .

Last edited by stefano (2020-05-10 18:43:25)

Offline

#12 2020-05-10 19:41:23

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: [SOLVED] Boot hangs since linux upgrade

Open a new thread and try "pacman -Sv whatever" for a more verbose output.

Offline

#13 2020-05-16 01:20:39

bearoso
Member
Registered: 2018-03-12
Posts: 4

Re: [SOLVED] Boot hangs since linux upgrade

I’m seeing similar hangs with kernels compiled with gcc 10. Leave the kernel on for a bit and it corrupts some of the boot files, necessitating a grub reinstall.

Offline

#14 2020-08-06 17:58:03

sagonzal
Member
From: Mar del Plata
Registered: 2020-08-06
Posts: 13

Re: [SOLVED] Boot hangs since linux upgrade

Since two days ago I'm experiencing exactly the same issue. But, I re-install grub from arch iso and nothing happens:

    pacman -Syyu
    pacman -S grub linux

    Regenerate initramfs using:

    mkinitcpio -p linux

    and since I use grub in that specific mobo I use:

    grub-mkconfig -o /boot/grub/grub.cfg

    grub-install --target=i386-pc /dev/sda

    Restart.

I added verbose output I also obtain an output and goes to:  KERNEL panic - not syncing: VFS: Unable to mount root on unlock(0,0) saying samething similar to other user.

Any help is appreciated!

Offline

#15 2020-08-06 19:35:14

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: [SOLVED] Boot hangs since linux upgrade

Please open your own thread instead of bumping a solved thread and post some more information and use [ code ] [ /code ] tags without spaces for  outputs.

Stab in the dark from the error message, adjust your config to use UUIDs instead of normal identifiers. Maybe post the generated grub.cfg when making your own post .

Closing this solved topic.

Offline

Board footer

Powered by FluxBB