LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 11-21-2020, 10:59 AM   #1
nkamp
LQ Newbie
 
Registered: Aug 2008
Posts: 25

Rep: Reputation: 0
Fedora: how to downgrade (remove) the newest kernel because of a bad update?


Hello,

I have an kernel version: kernel-5.8.18-300.fc33.x86_64.. This one is still working.

This week shutdown and the kernel has been updated/or new kernel has been installed: kernel-5.9.8-200.fc33.x86_64

Next day I boot my system and I got the message: "Oeps there went something wrong... ask you're system administrator", when I boot from the new kernel version.

But now, what is the best way to solve this:
  • Must I try to install the the version 5.9.8-200 again? But how? And without damaging the "kernel-5.8.18-300.fc33.x86_64" version, which is still working.
  • Or can I remove the new kernel, so that I downgrade to the version which is still working. And try to update again?
  • Or... is there another solution, what I don't know?

Nico
 
Old 11-21-2020, 12:13 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,489

Rep: Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361
Hmmm. I used solve that sort of thing by ignoring yum/dnf/whatever, and using rpm. Read man rpm.
They have all sorts of useful options: --nodeps, --force --ignore-this, --ignore-that, etc.

I had to use -ignorearch or somesuch because at the time I had an AMD 80586-133-P75 cpu which went in a 486 boartd, ran at 133Mhz, and roughly equalled a P75. But it read it as a '486
 
Old 11-21-2020, 04:39 PM   #3
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
The package manager can remove the newer kernel if that's what you want. Boot from the older one and just remove the new one. You can try reinstalling the newer kernel and the firmware and see if that helps. I would suspect utdated firmware, which can happen if the kernel is put into the repo without all the firmware being updated to match. That should be resolved soon, though. This won't affect the older kernel, it will remain available and working unless you do something truly strange to it.
 
Old 12-01-2020, 02:05 AM   #4
nkamp
LQ Newbie
 
Registered: Aug 2008
Posts: 25

Original Poster
Rep: Reputation: 0
But... I'm not so familiar with Linux. I use to learn working with Linux.

I'm booting from the older working version. Now I'm searching how can SAVE remove the new ones, by the package manager?

In the meantime a second new kernel is 'installed' which is not working.
Is there a way to find the issue why the kernel is not working? Is there an advanced way to see the core dump maybe?
 
Old 12-03-2020, 07:30 AM   #5
nkamp
LQ Newbie
 
Registered: Aug 2008
Posts: 25

Original Poster
Rep: Reputation: 0
I don't know if it is good or not, but I found this:
Quote:
sudo yum remove kernel-5.9.8-200.fc33.x86_64
. Or is this dangerous that will also modify my working version?

When I do this, than my current version is not touched and stay working?

And to disable updating the kernell for now is this enough:
Quote:
sudo yum update --exclude=kernel
? And saw also that I have to add at the /etc/yum.conf the [main] section: exclude=kernel*. But I don't have a /etc/yum.conf!
 
Old 12-03-2020, 11:25 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,489

Rep: Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361
I'd say the laziest way to downgrade is not to, but to upgrade again. Fedora often do that, and bugfix it fairly fast when the kernel pukes and everybody starts bellyaching.
 
Old 01-17-2021, 03:29 AM   #7
nkamp
LQ Newbie
 
Registered: Aug 2008
Posts: 25

Original Poster
Rep: Reputation: 0
I have found the issue: It is the NVIDIA card which I have: VGA controller NVIDIA GT215M - GeForce GTS 360M (rev a2) in my Thosiba Qosmio laptop.
My version of the driver was Nvidia driver 340.108 which I had installed a year ago when I started with Linux. I have installed Nvidia driver because I had little issue's on the screen when I switch with a window or moving a window than kind pixels were twinkeling. (I hope that you have an idea what I mean)

So I thought I need to replace the Nouveau driver. I found this:
That guy 'JR' did for me at least a very good job and the site is maintained till 15 january 2021. Now I can startup fedora version 5.9.11-200.fc33.x86_64 (and version 5.9.10-200.fc33.x86_64 as well).

The only thing were I'm afraid for, do I have to this after every fedora update now? I don't think that Nvidia is maintaining this driver...

Or does somebody have a better idea to maintain this?
 
Old 01-17-2021, 05:20 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,489

Rep: Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361
Quote:
Originally Posted by nkamp
The only thing were I'm afraid for, do I have to this after every fedora update now? I don't think that Nvidia is maintaining this driver...
I have used previous Nvidia drivers, and if you run an update, usually you don't have to update.

If you update Mesa, or the kernel modules, then you do. Now I know Nvidia had a habit or releasing new kernel very regularly, half of which ended in catastrophe, box not booting, etc. Perhaps they have improved. It's rare to need a kernel update anyhow, unless it's some important security fix.
 
Old 01-17-2021, 07:08 AM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,160

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
Quote:
Originally Posted by business_kid View Post
It's rare to need a kernel update anyhow, unless it's some important security fix.
Say what ?. Aren't we talking Fedora here ?.

In similar situations I simply boot the previous kernel rather than the latest - I have one machine that I don't allow to upgrade at all, but I enforce manual upgrades. Each to their own.
 
Old 01-17-2021, 11:44 AM   #10
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,489

Rep: Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361
Fedora and I parted ways some time back.
 
Old 01-18-2021, 03:50 AM   #11
Honest Abe
Member
 
Registered: May 2018
Distribution: CentOS 7, OpenSUSE 15
Posts: 420
Blog Entries: 1

Rep: Reputation: 202Reputation: 202Reputation: 202
Quote:
Originally Posted by nkamp View Post
Hello,

I have an kernel version: kernel-5.8.18-300.fc33.x86_64.. This one is still working.

This week shutdown and the kernel has been updated/or new kernel has been installed: kernel-5.9.8-200.fc33.x86_64

Next day I boot my system and I got the message: "Oeps there went something wrong... ask you're system administrator", when I boot from the new kernel version.

But now, what is the best way to solve this:
  • Must I try to install the the version 5.9.8-200 again? But how? And without damaging the "kernel-5.8.18-300.fc33.x86_64" version, which is still working.
  • Or can I remove the new kernel, so that I downgrade to the version which is still working. And try to update again?
  • Or... is there another solution, what I don't know?

Nico
The issue is likely sorted at this point, however this is a typical example of rolling/bleeding-edge distros disrupting work. Since no other member has posted anything about avoiding such a scenario in future, here's my two cents on preventing/limiting a recurrence.

1. Use a stable distro as host and move the experimental/rolling/bleeding edge OS as Guest OS. Choose your poison wisely (vmware/virtualbox/kvm/xen etc)
2. Assign as much of resources (cpu/disk/ram) as you can so the guest does not choke when you are using it. This depends on the use case though.
3. Turn off automatic updates and run them manually periodically (unless of course, its a spctre/meltdown type of scenario from few years back!).
4. For critical machines/workflows, test the kernel first, before putting it in action full time.
5. Frequent Backups of data.
 
Old 01-18-2021, 12:11 PM   #12
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,155

Rep: Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318
It's a long time since I used Fedora, but normally when a new kernel is installed the old one is left in place just in case you have to boot from it. I did hear recently of Nvidia drivers having problem with a specific kernel, and the solution is obviously to stick with the previous one and await a new one. There's no rush to remove the difficult kernel if you aren't using it — it might just get re-installed in your next update!
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Fedora 18 Spherical Cow review - Bad bad bad LXer Syndicated Linux News 0 01-20-2013 03:11 PM
[Ubuntu 8.04] Tried to downgrade to Xorg 7.1... Bad idea -.- LittleKoy Linux - Desktop 1 05-13-2008 08:30 AM
libc6 is bad and files missing need to downgrade HELP!!! hisnumber666 Linux - Software 0 05-01-2006 12:24 AM
Kernel Update Caused Panic, Howto Downgrade hategiants Linux - Software 6 04-22-2006 07:10 PM
cannot login because file system check fails because of bad magic number trutnev Linux - Newbie 1 03-23-2004 06:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 01:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration