Kernel version downgrade: any caveats in Slackware?
SlackwareThis 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.
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.
Kernel version downgrade: any caveats in Slackware?
Hello, Slackers
I have installed and configured Slackware 13.1 and it works perfectly. Now I'm going(actually forced) to downgrade kernel version down to 2.6.32. Is there any caveats? Do I need rebuild any other packages from sources?
(In case of 13.37 the same questions)
Even running custom kernels the install kernel is always present
on my Slackware boxen. This kernel rebuild guide has proper steps.
Thanks, but I know how to build kernels(have 20-30 installations with successfully updated kernels). I do not fair kernel upgrade because of positive experience, but have not downgrade experience.
For now I do not care about video drivers and other stuff targeted for Desktop uses of Linux.
Quote:
Can you share why you are forced to downgrade your kernel?
Quote:
Now, out of curiosity, what forces you to go back to 2.6.32?
Because of OpenVZ. I did not found any ready-made solutions based on Slackware so decided to create my own(or to try). It requires to install their own patched kernel. Latest one they have which is closest to kernel in Slackware is 2.6.32 and it is in development branch. So I want be sure if my system fails, it fails only because of kernel, but not incorrect work of other stuff(like glibc) with it.
Because of OpenVZ. I did not found any ready-made solutions based on Slackware so decided to create my own(or to try). It requires to install their own patched kernel. Latest one they have which is closest to kernel in Slackware is 2.6.32 and it is in development branch. So I want be sure if my system fails, it fails only because of kernel, but not incorrect work of other stuff(like glibc) with it.
If you like to play with Slackware and that type of virtualization, how about Linux Containers, which is the native Slackware (13.37) solution?
Quote:
Linux Containers (LXC) are an operating system-level virtualization method for running multiple isolated server installs (containers) on a single control host. LXC does not provide a virtual machine, but rather provides a virtual environment that has its own process and network space. It is similar to a chroot, but offers much more isolation.
Last edited by Darth Vader; 03-23-2011 at 07:36 AM.
Darth Vader
Thanks for tip, I shall try it a bit letter.
I wonder if it stable enough? I have read linked article, and found some configuration options which must be turned on are marked as Experimental. In my experience systems which intensively use experimental stuff are offten crashed.
Don't forget about linux-vserver -> http://linux-vserver.org
always served me well, but maybe this LXC thing is cooler because it is shipped with slack
because that Linux Containers, aka LXC, are shipped by Slackware 13.37
Just checked source/k/config-generic-2.6.37.4 and found some options needed by LXC(from list in LXC HOWTO) are not enabled, and there is no userspace tools to manage LXC shipped in current. So you was a bit hasty stating "the native Slackware (13.37) solution".
hotchili
As far as I understood, LVS is more like openvz. For now I have configured openvz successfully(there some boot tunings left).
Just checked source/k/config-generic-2.6.37.4 and found some options needed by LXC(from list in LXC HOWTO) are not enabled, and there is no userspace tools to manage LXC shipped in current. So you was a bit hasty stating "the native Slackware (13.37) solution".
ap/lxc-0.7.4-i486-2.txz
Quote:
lxc: lxc (Linux Containers)
lxc:
lxc: Linux Containers (LXC) are an operating system-level virtualization
lxc: method for running multiple isolated server installs (containers) on
lxc: a single control host. LXC does not provide a virtual machine, but
lxc: rather provides a virtual environment that has its own process and
lxc: network space. It is similar to a chroot, but offers more isolation.
lxc:
lxc: Daniel Lezcano is the primary developer of lxc.
lxc: Homepage: http://lxc.sourceforge.net/
lxc:
And if we talk about a possible incorrect kernel configuration, from LXC p.o.v., how about a little bug report to Mr. Volkerding (known as volkerdi in our little forum)?
Last edited by Darth Vader; 03-24-2011 at 06:27 AM.
Darth Vader, oops, I have missed it(buggy search or I probably viewed list of packages from 13.1).
I think I will hold any bug-report until I try it(for now I have only one 13.37 installation updated from 13.1 and I do not trust myself enough to be sure I did not broke anything).
I have installed and configured Slackware 13.1 and it works perfectly. Now I'm going(actually forced) to downgrade kernel version down to 2.6.32. Is there any caveats? Do I need rebuild any other packages from sources?
(In case of 13.37 the same questions)
From the 13.1 RELEASE_NOTES file:
Quote:
I'll mention a few technical items here. Slackware's userspace does
require a recent 2.6.x kernel (I believe 2.6.27.x is a minimum for
udev),
And if we talk about a possible incorrect kernel configuration, from LXC p.o.v., how about a little bug report to Mr. Volkerding (known as volkerdi in our little forum)?
It seems I made mistake again. Configuration seems to be ok. But still, it is easier to use openvz than lxc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.