Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How i can downgrade kernal to latest stable?

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
Nasreldin
Posts: 5
Joined: 2016-03-07 03:11

How i can downgrade kernal to latest stable?

#1 Post by Nasreldin »

I'm new Linux user and i love Debian mate very much but when i made software update i installed new kernel and i have some problem and i want to make kernel downgrade to latest stable ?
how i can do this in details please?

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: How i can downgrade kernal to latest stable?

#2 Post by stevepusser »

You need to provide more information. Which new kernel did you install? (give the terminal output of "uname -r")

When you install a newer kernel, it does not remove your older kernel version. You have to do that manually. Did you do that?
MX Linux packager and developer

Nasreldin
Posts: 5
Joined: 2016-03-07 03:11

Re: How i can downgrade kernal to latest stable?

#3 Post by Nasreldin »

no i used synaptic update
my output is: 4.9.0-4-amd64

User avatar
roseway
Posts: 1528
Joined: 2007-12-31 22:50
Location: Kent, UK
Has thanked: 3 times
Been thanked: 4 times

Re: How i can downgrade kernal to latest stable?

#4 Post by roseway »

One small point to note here: the command uname -r only gives you the version number of the kernel package, not the actual kernel version. To get the actual kernel version, type:

Code: Select all

apt-cache policy linux-image-4.9.0-4
linux-image-4.9.0-4 is the current kernel package in Stable, the actual kernel version is 4.9.51.
Eric

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: How i can downgrade kernal to latest stable?

#5 Post by Head_on_a_Stick »

If you want to run an older kernel version the select it from the "Advanced Options" GRUB submenu for the Debian entry — this will only appear if Debian is "controlling" the bootloader, you can boot from the symlink at /vmlinuz-old otherwise.

What exactly is the problem with the new kernel version?

Regressions in Debian stable are very rare.
deadbang

Nasreldin
Posts: 5
Joined: 2016-03-07 03:11

Re: How i can downgrade kernal to latest stable?

#6 Post by Nasreldin »

the error is showing message: wait hw ready failed debian

Nasreldin
Posts: 5
Joined: 2016-03-07 03:11

Re: How i can downgrade kernal to latest stable?

#7 Post by Nasreldin »

linux-image-4.9.0-4-rt-amd64:
Installed: (none)
Candidate: 4.9.51-1
Version table:
4.9.51-1 500
500 http://ftp.fr.debian.org/debian stretch/main amd64 Packages
linux-image-4.9.0-4-amd64:
Installed: 4.9.51-1
Candidate: 4.9.51-1
Version table:
*** 4.9.51-1 500
500 http://ftp.fr.debian.org/debian stretch/main amd64 Packages
100 /var/lib/dpkg/status
linux-image-4.9.0-4-amd64-dbg:
Installed: (none)
Candidate: 4.9.51-1
Version table:
4.9.51-1 500
500 http://ftp.fr.debian.org/debian stretch/main amd64 Packages
linux-image-4.9.0-4-rt-amd64-dbg:
Installed: (none)
Candidate: 4.9.51-1
Version table:
4.9.51-1 500
500 http://ftp.fr.debian.org/debian stretch/main amd64 Packages

User avatar
roseway
Posts: 1528
Joined: 2007-12-31 22:50
Location: Kent, UK
Has thanked: 3 times
Been thanked: 4 times

Re: How i can downgrade kernal to latest stable?

#8 Post by roseway »

So you have the latest stable, which is what you said you want to downgrade to.
Eric

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: How i can downgrade kernal to latest stable?

#9 Post by stevepusser »

I just wanted to see what kind of kernel upgrade he was talking about, Debian or some third-party one. "uname -a" will provide more information about the specific kernel version.

So it was a security upgrade of the standard Debian kernel that you mean. The older, vunerable version you wanted to revert to is no longer in the standard repositories. This is more an XY problem, too.
MX Linux packager and developer

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: How i can downgrade kernal to latest stable?

#10 Post by debiman »

Nasreldin wrote:i have some problem
so now you see that the kernel is not the problem.
what is?

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: How i can downgrade kernal to latest stable?

#11 Post by p.H »

stevepusser wrote:So it was a security upgrade of the standard Debian kernel that you mean. The older, vunerable version you wanted to revert to is no longer in the standard repositories.
AFAIK, linux 4.9.0-4/4.9.51-1 is not a security update but was part of the recent 9.2 point release update (with ABI change -3 to -4).
https://www.debian.org/News/2017/20171007
The latest (and earlier) linux security update was 4.9.0-3/4.9.30-2+deb9u5
https://www.debian.org/security/2017/dsa-3981
https://packages.debian.org/stretch/lin ... .0-3-amd64
AFAICS on the Debian site, it is still available (until the next linux security update).

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: How i can downgrade kernal to latest stable?

#12 Post by stevepusser »

p.H wrote:
stevepusser wrote:So it was a security upgrade of the standard Debian kernel that you mean. The older, vunerable version you wanted to revert to is no longer in the standard repositories.
AFAIK, linux 4.9.0-4/4.9.51-1 is not a security update but was part of the recent 9.2 point release update (with ABI change -3 to -4).
https://www.debian.org/News/2017/20171007
The latest (and earlier) linux security update was 4.9.0-3/4.9.30-2+deb9u5
https://www.debian.org/security/2017/dsa-3981
https://packages.debian.org/stretch/lin ... .0-3-amd64
AFAICS on the Debian site, it is still available (until the next linux security update).
But I don't see 4.9.0-3 available in the output of kernels from apt policy above, unless the OP truncated it without letting us know. And of course we don't see exactly what package they are checking, either.
MX Linux packager and developer

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: How i can downgrade kernal to latest stable?

#13 Post by debiman »

before it drowns in noise, i'll repeat one more time:
op just thinks that the kernel is the problem. but since they're already using the standard stretch kernel, it's fair to assume that the real problem is something else.
op needs to tell us about the real problem.

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: How i can downgrade kernal to latest stable?

#14 Post by p.H »

This topic is about downgrading the kernel, not solving the real problem. If the OP wanted us to help solve the real problem, they would have described it instead of asking how to downgrade the kernel.

The OP has the latest stable kernel, which was released very recently and contains an ABI change. So, although it was a stable update, it is reasonable to consider that the problem, whatever it is, may be caused by a regression in the new kernel.

Note to the OP : unless you autoremoved unneeded packages or manually removed the old kernel after the upgrade, the old kernel is still installed and you can select it int the "Advanced options" submenu from the GRUB menu.

User avatar
alan stone
Posts: 269
Joined: 2011-10-22 14:08
Location: In my body.

Re: How i can downgrade kernal to latest stable?

#15 Post by alan stone »

Nasreldin wrote:i have some problem
Image :roll:

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: How i can downgrade kernal to latest stable?

#16 Post by Head_on_a_Stick »

Nasreldin wrote:the error is showing message: wait hw ready failed debian
https://bugs.debian.org/cgi-bin/bugrepo ... bug=717383

Try blacklisting the module that is named before the error message.

If that works and you can confirm that this problem does not exist when booted from /vmlinuz-old (ie, it is a regression) then please report this to Debian as a bug, I'm sure Mr. Hutchings will be very interested.
deadbang

Post Reply