Ask Your Question
1

Old Kernel install on fedora24

asked 2017-01-23 03:12:32 -0600

cpohl gravatar image

Hi,

there is a problem with my Fedora 24 installation and my Laptop HP ProBook 4540s. I need to downgrade the Kernel to a last known working one (kernel-4.6.6-300.fc24.x8664). Even with the latest kernel installed (kernel-core-4.9.4-100.fc24.x8664) my system keeps freezing after resuming from standby.

I've already tried

sudo rpm -Uvh --oldpackage kernel-core-4.6.6-300.fc24.x86_64

with the error: No such file or directory.

Any idea how to solve this problem? Thank you. Chris

edit retag flag offensive close merge delete

Comments

kernel 4.6.6 is not really advisable. It is not maintained anymore, so you will not receive any security-related patches.

florian gravatar imageflorian ( 2017-01-23 13:35:43 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2017-01-23 11:26:57 -0600

florian gravatar image

updated 2017-01-23 13:29:52 -0600

I would do the following.

Go the Fedora's Package Build System, called Koji, and find the kernel you are looking for here:

https://koji.fedoraproject.org/koji/b...

Then scroll down the the x86-64 architecture that you are looking for. Then you have two options; Either download what you need (kernel, kernel-core, maybe kernel-devel, kernel-headers, kernel-modules) to your local disc, and then use dnf to install the kernel:

It would look something like: dnf install ~/Downloads/kernel-4.6.6-300.fc24.x86_64.rpm

Alternativly, you could try installing the rpm package from online, sudo dnf install https://kojipkgs.fedoraproject.org//packages/kernel/4.6.6/300.fc24/x86_64/kernel-4.6.6-300.fc24.x86_64.rpm, but I am not so sure how dependencies get resolved (kernel-core, kernel-headers, ...).

After that you need to open /etc/dnf/dnf.conf and add a line

exclude=kernel*

Otherwise dnf will soon remove your kernel again. Or increase the number of kernel to be kept

installonly_limit=x

where x is the number of kernels that are kept for your system.

Please also report your bug to the developers, I am sure they want to know about regression in their development.

edit flag offensive delete link more
0

answered 2017-01-23 17:26:04 -0600

cpohl gravatar image

Thank you for the detailed description. It worked just fine. I reported this bug already in November 2016. Now I can at least work properly with the older kernel.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-01-23 03:12:32 -0600

Seen: 427 times

Last updated: Jan 23 '17