Ask Your Question
2

Kernel panic on boot

asked 2016-08-17 04:34:43 -0600

valvy gravatar image

Today I updated my laptop running fedora 24 workstation. It seems that it updated my kernel. Sadly now it kernel panics right after grub. (I never see welcome to fedora workstation)

Luckily I can select an older version of the kernel from grub that works. The kernel that works: 4.5.5-300.fc24.x86_64 The kernel(s) that doesn't work: 4.6.5-300.fc24.x86_64 4.6.6-300.fc24.x86_64

I've reinstalled the latest kernel but the problem persists. My question is if it's possible to restore the 4.5.5 kernel as main version and black list any new kernels?

Or is there a really easy way to fix this issue?

edit retag flag offensive close merge delete

Comments

You can do set the default kernel to be the one that works and ignore kernel updates. Look here https://fedoraproject.org/wiki/GRUB_2

aeperezt gravatar imageaeperezt ( 2016-08-17 10:30:15 -0600 )edit

You don't say what your laptop is, so I wonder if you are hitting this issue: https://www.happyassassin.net/2016/07...

ssieb gravatar imagessieb ( 2016-08-17 18:33:42 -0600 )edit

3 Answers

Sort by ยป oldest newest most voted
2

answered 2016-08-17 14:48:08 -0600

ssieb gravatar image

Do rpm -q kernel-core to get the list of installed kernels. Then dnf remove the ones you don't want. Edit /etc/dnf/dnf.conf and add exclude=kernel* to the [main] section at the top. Hopefully the 4.7 kernel will work better when it's available soon.

If you edit the grub boot entry and remove quiet and rhgb from the kernel command line, you might be able to get more info on what's happening. Can you get a picture of the kernel panic? I expect the kernel developers would like to know about it.

edit flag offensive delete link more
0

answered 2018-02-23 14:50:35 -0600

I have the same sort of problem with Fedora 27. When I install /boot/vmlinuz-4.13.9-300.fc27.x86_64 from Fedora Live I get a good installation and a good boot. But all subsequent dnf update operations which install a later version of the kernel fail to complete the boot process. Instead, I see that the boot process has encountered a kernel panic alert.

But Windows 10 installs on the same computer without a hitch! I ran memory diagnostics and disk diagnostics on my HP Elite 8000 SFF 8GB RAM to no avail. I exchanged the 160GB disk for a 2TB version and nothing changed. Win 10 continued to install trouble free, but Fedora 27 only boots with /boot/vmlinuz-4.13.9-300.fc27.x86_64 --- all later versions fail with a kernel panic alert.

I have another HP Elite 8000 SFF 8GB RAM which installs trouble free with every version of the kernel tried by me. Ditto for an HP Elite 8000 USF 4GB RAM. This is a tough nut to crack! One fact to note---all three of these computers were purchased as 'Refurbished' computers. I wonder if the problems might be related to some changes which might have been made to the BIOS. Hmmmm...

edit flag offensive delete link more

Comments

1

This is a really old question, I suggest that you start a new one. It would help if you can include some information about the kernel panic message you are getting.

ssieb gravatar imagessieb ( 2018-03-06 17:38:32 -0600 )edit
0

answered 2018-09-10 01:05:00 -0600

All my problems disappeared after I updated the BIOS in my HP 8000 Elite SFF computer. The main difficulty in updating the BIOS was that the support from HP required running Windows. I built a disk for the sole purpose of booting into win10 and installing the BIOS update. I then reinstalled my Fedora disk, and I can now boot with the lastest Fedora kernels fine.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2016-08-17 04:34:43 -0600

Seen: 947 times

Last updated: Sep 10 '18