Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-07-2013, 11:40 AM
|
#1
|
Member
Registered: May 2012
Distribution: Slackware 64 14.2
Posts: 213
Rep:
|
Best way to revert to an older kernel on Slackware-current?
I apologize for the newbie question, but I just want to know what the easiest way to do this would be. We're now at 3.10.9 on Slackware64-current, and my laptop fan seems to be running a lot more than it used to a few weeks ago, especially after coming out of suspend. So I am thinking it would be a good idea to change back. I am trying to figure out what version to go back to, and how to do it.
I think my issue started two or three weeks ago, so looking at the Slackware changelog, maybe it was around when we upgraded to 3.10.7. Therefore I wanted to see what changes happened in the kernel between 3.10.7 and 3.10.9. However, when I look at the kernel changelog for these three versions, there is so much low-level information there that it is hard to see what if anything could have to do with power. Can anyone recommend a good place to look that might have the kernel changelog information in a summarized or somewhat more interpreted form?
Then, when I find this information, what would be the best way to go back? Should I follow the information in AlienBob's guide here: http://alien.slackbook.org/dokuwiki/...kernelbuilding, or do something else?
Thanks in advance for any advice.
Last edited by Miranden; 09-07-2013 at 11:43 AM.
|
|
|
09-07-2013, 02:02 PM
|
#2
|
Member
Registered: Jul 2012
Distribution: Slackware
Posts: 95
Rep:
|
this is a good place to see changes between versions http://kernelnewbies.org/LinuxChanges
and im not really sure about kernel building, i never did it, maybe i will revert from 3.10.9 in a few weeks, im having problems with the official ati driver myself.
|
|
1 members found this post helpful.
|
09-07-2013, 02:42 PM
|
#3
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
I hope the more experienced members will correct me if I'm wrong but I wouldn't go back from, say, 3.10.9 to 3.10.7 as you're just going back bugfixes and security updates. If you must go back go to a bugfixed currently-supported kernel such as 3.4.60 then you'll get a currently supported kernel.
|
|
|
09-08-2013, 06:24 AM
|
#4
|
Member
Registered: Aug 2011
Posts: 295
Rep: 
|
The problem is that, by going back, you reject the security and bug fixes for the new versions.
Going back with the kernel potentially breaks compatibility with userspace software, such as X11 -that is, changing the kernel could mean no graphic output in the screen!
My advice is to learn how to compile and install a kernel (there are lots of information around), then install the one you like in addition to the one you have. That way, if things don't work, you have the old one to fall back into.
|
|
1 members found this post helpful.
|
09-08-2013, 06:39 AM
|
#5
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
I would not recommend to go back to older kernels. Instead go to newer kernels and see if that problem persists. If it does then file a bug report. Going back to older kernels may fix your problems, but will only be a temporary fix, until the kernel you use is obsolete and you have to switch back to a newer one. Reporting the bug will fix your problems in a better way.
|
|
1 members found this post helpful.
|
09-08-2013, 09:27 AM
|
#6
|
Member
Registered: May 2012
Distribution: Slackware 64 14.2
Posts: 213
Original Poster
Rep:
|
Thanks everyone for responding. I have no problem filing a bug report, but before the bug gets fixed I still need to run a different kernel. I don't like having to reboot my laptop every time I want the fan to turn off. I am worried about all the extra wear on the fan.
I appreciate the information about kernel versioning. I did some reading, and now I understand what the different numbers mean. I guess then I should use 3.4.61 because it is the newest of the longterm releases.
@BlackRider: I'm not quite clear on what you mean by breaking my system by going back to an old kernel vs. compiling a new (older) kernel. Aren't they the same thing? I will go back to an old kernel version by compiling it and then using it, right?
I am curious what other -current users do in regard to upgrading the kernel. I think most of us probably just use what Pat gives us, but there must be some people (like me) who have tricky hardware and don't want to take a chance on a different kernel all the time. Is it common to blacklist the kernel in Slackpkg and just upgrade the kernel manually?
|
|
|
09-08-2013, 10:47 AM
|
#7
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,878
|
i always compile my own kernel since i wanted to test compatibility between my NVidia driver and also VMWare Workstation against newer kernel
|
|
|
09-08-2013, 01:23 PM
|
#8
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
Quote:
Originally Posted by Miranden
I am curious what other -current users do in regard to upgrading the kernel. I think most of us probably just use what Pat gives us, but there must be some people (like me) who have tricky hardware and don't want to take a chance on a different kernel all the time. Is it common to blacklist the kernel in Slackpkg and just upgrade the kernel manually?
|
I closely follow the development of the radeon drivers, so most of the time I use the newest stable version from kernel.org or a development kernel from Alex Deucher. I don't blacklist the kernel in slackpkg, so that I always have the latest supported kernel installed for emergency/recovery boots when something went wrong.
|
|
1 members found this post helpful.
|
09-08-2013, 05:59 PM
|
#9
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
If you use a Laptop, it's probably recommended you use this package also:
http://slackbuilds.org/repository/14...op-mode-tools/
|
|
2 members found this post helpful.
|
09-09-2013, 09:31 AM
|
#10
|
Member
Registered: May 2012
Distribution: Slackware 64 14.2
Posts: 213
Original Poster
Rep:
|
I am not using laptop-mode-tools because it conflicts with pm-utils, and I have not had the time to go through the process of dealing with duplicate hooks in the configuration to stop the conflict. I may make the time, though, to see if it helps.
I am going to take a stab at compiling the 3.4.61 kernel, and also keep the stock one as suggested. In the future I will do as Tobi does and run my custom kernel while allowing the tested one to update as usual. Thanks everybody for their input.
|
|
2 members found this post helpful.
|
09-20-2013, 10:05 AM
|
#11
|
Member
Registered: Aug 2011
Posts: 295
Rep: 
|
Quote:
@BlackRider: I'm not quite clear on what you mean by breaking my system by going back to an old kernel vs. compiling a new (older) kernel. Aren't they the same thing? I will go back to an old kernel version by compiling it and then using it, right?
|
My answer comes late, but here it goes.
You can break your system by switching to an older kernel more or less the same way you would break it by using a newer kernel. I have not claimed the opposite.
What I was saying is that you should install a kernel you think will solve your problem, while keeping the current one. That way, if things go wrong, you can point the bootloader back to the working kernel again.
Having an old 90% working kernel is surely better than having a 60% working current kernel, but it is still subobtimal for all the reasons already given in the thread.
I hope your solution is working for you.
Last edited by BlackRider; 09-20-2013 at 10:07 AM.
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 06:12 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|