CentOS 7 Update will not boot latest kernel

General support questions
User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 7 Update will not boot latest kernel

Post by TrevorH » 2021/05/27 15:19:52

Maybe the panic screen will tell us more.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Grantnoturbus
Posts: 11
Joined: 2021/05/26 15:52:19

Re: CentOS 7 Update will not boot latest kernel

Post by Grantnoturbus » 2021/05/28 13:20:33

Busy morning. Will have to get to the panic screen next week. Will probably be Tuesday. I still want to troubleshoot further, just I have other duties than IT where I am at.

I did do some research into CentOS kernel panics on Hyper-V, there was some issues awhile back with the secure boot causing problems, but my VM is in BIOS mode and secure boot is not available. Maybe the expectation is Secure Boot should be on, not sure, but it would not be easy to change VM generation now.

I am really thinking this is going to be just waiting for a new kernel, hopefully someone else has reported this issue and has more time than me to investigate.

Grantnoturbus
Posts: 11
Joined: 2021/05/26 15:52:19

Re: CentOS 7 Update will not boot latest kernel

Post by Grantnoturbus » 2021/06/01 13:18:09

Tried removing rhgb and quiet from the linux16 line in the grub boot menu.
When I cntrl-x to continue, I do see some text scroll by and then I just get the black screen with red characters. No text stays on the screen and I tried a couple time to try to screen shot the last bit of text before it fails, but it happens too fast and I was not able to capture it.

This is what I get on booting the latest kernel. Seem like something is crashing hard.
Image
http://seljax.com/download/images/CentO ... -error.jpg

Grantnoturbus
Posts: 11
Joined: 2021/05/26 15:52:19

Re: CentOS 7 Update will not boot latest kernel

Post by Grantnoturbus » 2021/06/02 20:13:44

Anyone advise on how I can get more info on this error?
Is there a way to log the kernel panic somewhere so I can view it once I boot to the old kernel?

On another forum I asked and they talked about pushing the output to console, but this seems difficult through a VM.

Really need some help with this, when I loaded Cent OS I never thought I would be stuck troubleshooting a kernel update. Its been golden till now.
Its a generic CentOS 7 install on Hyper-V. I haven't done anything unique which should be giving me kernel trouble. It has a ext4 mount, I mount a smb share to windows in Fstab, its a generation 1 BIOS without secure boot. Not sure what I would have done to cause the kernel to fail.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 7 Update will not boot latest kernel

Post by TrevorH » 2021/06/02 20:37:37

Try again and remove rhgb quiet again and this time add nomodeset and see if that changes anything.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Grantnoturbus
Posts: 11
Joined: 2021/05/26 15:52:19

Re: CentOS 7 Update will not boot latest kernel

Post by Grantnoturbus » 2021/06/07 16:23:53

Not finding the time to keep troubleshooting this. Am hoping a future kernel release will resolve the issue.

To that end, can I safely just uninstall this bad kernel, and it will automatically boot to the last good one?
yum remove kernel-3.10.0-1160.25.1.el7.x86_64

Then I will watch updates for a newer kernel and try again. Appreciate, you help, I will try the nomodeset if I get a chance.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 7 Update will not boot latest kernel

Post by TrevorH » 2021/06/07 16:36:38

Yes.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 7 Update will not boot latest kernel

Post by TrevorH » 2021/06/09 16:09:14

I just saw a bugs.centos.org entry closed, saying fixed in the latest kernel, .21.1 and .25.1 will not boot on hyperv.

https://bugs.centos.org/view.php?id=18117
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Grantnoturbus
Posts: 11
Joined: 2021/05/26 15:52:19

Re: CentOS 7 Update will not boot latest kernel

Post by Grantnoturbus » 2021/06/09 16:13:51

That is good news. I will watch for the next kernel release.

I appreciate all your help and taking the time to let me know about the bug fix!

Post Reply