LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-23-2011, 05:18 AM   #1
FeyFre
Member
 
Registered: Jun 2010
Location: Ukraine, Vinnitsa
Distribution: Slackware
Posts: 351

Rep: Reputation: 30
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)
 
Old 03-23-2011, 06:41 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Build a new kernel and leave a symlink to your present kernel.

Even running custom kernels the install kernel is always present
on my Slackware boxen. This kernel rebuild guide has proper steps.

NB: Using your present kernel .config file is probably not a good
idea, as many options have changed or been added since 2.6.32.

Can you share why you are forced to downgrade your kernel?
 
Old 03-23-2011, 06:42 AM   #3
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 91
Many thing will work, some things might not...

Especially non-standard kernel modules you will need to rebuild for each kernel.
Also the nvidia driver, if you use that.

Now, out of curiosity, what forces you to go back to 2.6.32?
 
Old 03-23-2011, 07:14 AM   #4
ottavio
Member
 
Registered: Nov 2007
Posts: 312

Rep: Reputation: 46
All you have to do is install the kernel modules for that version.
 
Old 03-23-2011, 07:18 AM   #5
FeyFre
Member
 
Registered: Jun 2010
Location: Ukraine, Vinnitsa
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
Quote:
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.
 
Old 03-23-2011, 07:34 AM   #6
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by FeyFre View Post
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.
 
Old 03-23-2011, 12:06 PM   #7
FeyFre
Member
 
Registered: Jun 2010
Location: Ukraine, Vinnitsa
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
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.
 
Old 03-23-2011, 01:05 PM   #8
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by FeyFre View Post
I wonder if it stable enough?
Ummm... I have no idea. Probably, yes.

But, because that Linux Containers, aka LXC, are shipped by Slackware 13.37, I think we could raise this question to the First Slacker ...

Then, it's an experimental stuff for geeks or a production ready solution?

Last edited by Darth Vader; 03-23-2011 at 01:17 PM.
 
Old 03-23-2011, 05:59 PM   #9
hotchili
Member
 
Registered: Sep 2009
Location: Germany
Distribution: slackware64-current
Posts: 89

Rep: Reputation: 32
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
 
Old 03-24-2011, 05:52 AM   #10
FeyFre
Member
 
Registered: Jun 2010
Location: Ukraine, Vinnitsa
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Darth Vader View Post
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).

But we a bit offtopic.
 
Old 03-24-2011, 06:13 AM   #11
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by FeyFre View Post
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.
 
Old 03-24-2011, 07:43 AM   #12
FeyFre
Member
 
Registered: Jun 2010
Location: Ukraine, Vinnitsa
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
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).
 
Old 03-24-2011, 08:42 AM   #13
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by FeyFre View Post
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)
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),
So I think you'll be OK.
 
Old 03-25-2011, 10:28 AM   #14
FeyFre
Member
 
Registered: Jun 2010
Location: Ukraine, Vinnitsa
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Darth Vader View Post
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.
 
  


Reply

Tags
downgrade, kernel



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
how can I downgrade Perl version on redhat 9.0 ? rainvory Linux - Software 8 05-02-2017 10:09 PM
How do you downgrade your kernel version? cletcher Fedora 1 09-07-2007 09:40 PM
Slackware 12.0 problems with 2.4.35 kernel downgrade michaelnz Slackware 10 09-03-2007 06:09 AM
Is it possible to downgrade a linux kernel to a lower version? bhornet11 Fedora 7 12-22-2006 12:35 AM
downgrade of GCC version nelnel Linux - Software 7 06-29-2005 01:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:02 PM.

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