LinuxQuestions.org
Visit Jeremy's Blog.
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
 
LinkBack Search this Thread
Old 06-05-2007, 01:07 PM   #1
bijit1709
Member
 
Registered: Oct 2006
Location: Costa Rica, Escazu
Distribution: Slackware 12.0 (2.6.21.5)
Posts: 67

Rep: Reputation: 15
How can I install a slackware-current kernel to slackware 11?


I am trying to install a precompiles kernel from slackware-current(generic.s, gensmp.s, huge.s, hugesmp.s) but I don't know how or if its possible. Please someone help me with this ..

Thanks in advance.
 
Old 06-05-2007, 01:38 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,114

Rep: Reputation: Disabled
It's not possible.

Eric
 
Old 06-05-2007, 01:58 PM   #3
bijit1709
Member
 
Registered: Oct 2006
Location: Costa Rica, Escazu
Distribution: Slackware 12.0 (2.6.21.5)
Posts: 67

Original Poster
Rep: Reputation: 15
Thanks for letting me know Eric. Do you know where I can get a very good how-to for kernel compilation? Or how can I can properly install Kernel-generic-smp-2.6.17.13..
 
Old 06-05-2007, 02:12 PM   #4
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,904

Rep: Reputation: Disabled
Get the config file here for the kernel:
http://slackware.osuosl.org/slackwar...neric.s/config
(go up a directory for the other kernels if you'd prefer one of the others)
Copy that config file to ".config" in your extracted kernel source directory and build/install the kernel and modules normally.
Note that the same guidelines about making an initrd will apply if you use one of the generic configs.
 
Old 06-05-2007, 02:46 PM   #5
sparc86
Member
 
Registered: Jul 2006
Location: Nuremberg, Germany
Distribution: Debian, Gentoo
Posts: 294
Blog Entries: 1

Rep: Reputation: 31
Quote:
Originally Posted by bijit1709
Thanks for letting me know Eric. Do you know where I can get a very good how-to for kernel compilation? Or how can I can properly install Kernel-generic-smp-2.6.17.13..

http://www.linuxquestions.org/questi...threadid=49035

Check out this guide.


Always select your boot settings stuff (scsi, ide, sata, etc...) as built-in. Therefore you do not need to use the initrd.

By the way, if you have time, I strongly suggest you to use the generic .config as a base and then just take off all the stuff you don't need.
This will make your kernel smaller. Smaller kernels are better/faster kernels.

Last edited by sparc86; 06-05-2007 at 02:50 PM.
 
Old 06-05-2007, 10:24 PM   #6
davimint
Member
 
Registered: Jan 2006
Distribution: Slackware Current
Posts: 272

Rep: Reputation: 33
Eric & Robby

I found this post after I wrote this one.

http://www.linuxquestions.org/questi...d.php?t=559457

I respect you both and wish you would expand on your answer "Eric" as to why it is not possible in either this post or mine. The reason for my question is the "Changes & Hints text" that is found on the installation instructions for current. Me being a novice at linux-Slackware I've learned to pay close attention to details and it say to "INSTALL a 2.6.18 or LATER KERNEL" so the very good 2.6.17.13 kernel does not meet that standard. The Kernel-huge-smp-2.6.21.3-smp actually worked for me although it may have been a fluke or parody of some sorts. I may not have the experience or knowledge to understand the answer you may provide but would like to try. Again, you both are great and I appreciate you taking the time to help us all with your answers.

Thanks David

Last edited by davimint; 06-05-2007 at 10:51 PM.
 
Old 06-05-2007, 11:11 PM   #7
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,904

Rep: Reputation: Disabled
Eric can probably expand on this more than me, but...

Technically, it is *possible* to use the kernel packages from -current on 11.0, which you already know based on your "attention to detail" :-) If it were not possible to boot a -current kernel on an 11.0 system, those upgrade instructions wouldn't be very good, now would they? :-)

It is *strongly* *STRONGLY* discouraged (which is the reason for Eric's answer) to use any packages from -current on an 11.0 system. There are some which can/will work just fine (binary repackagings such as firefox, thunderbird, and java come to mind), but generally speaking, someone who already knows which ones will work doesn't have to ask about installing -current packages on -stable releases. :-) Back to the kernel though -- the biggest issue I can think of at the moment as to *why* the -current kernel should not be used on an 11.0 system is gcc. The -current kernel was compiled with gcc-4.1.2, but 11.0 has gcc-3.4.6. As soon as you decide to build an out-of-kernel module (fuse, nvidia or ati drivers, etcetera), you'll find out that it won't work, as the kenrel module has to be built with the same version of gcc that built the kernel itself. At this point, many users would decide that the proper course of action is to upgrade gcc, and the situation escalates from there.

To make a long story short, it gets very tiresome trying to help users who've gone down this road, so the easiest answer to give is "no, it's not possible."

Note that this is *my* answer - I don't claim to speak for Eric, nor do I make any guarantees that he will agree with me on every point. :-)

Last edited by rworkman; 06-05-2007 at 11:55 PM.
 
Old 06-05-2007, 11:49 PM   #8
davimint
Member
 
Registered: Jan 2006
Distribution: Slackware Current
Posts: 272

Rep: Reputation: 33
Thank you for taking the time to help me understand and I appreciate the points you made. Now,I better understand the course of action that should be taken and the options that are available.
 
Old 06-08-2007, 04:43 PM   #9
bijit1709
Member
 
Registered: Oct 2006
Location: Costa Rica, Escazu
Distribution: Slackware 12.0 (2.6.21.5)
Posts: 67

Original Poster
Rep: Reputation: 15
May be someone can help with this...

The error for the 2.6.# is that the vga doesn't work. In order to see the booting process i have to give vga=normal. But I still have problems When give command:
Code:
# startx
I have tried xorgconfig but I still have errors I have tried also xorgsetup. Does anyone know why this happens? Its gives some error and says it doesn't support my screen depth. Any screen depth I put. And when I do:
Code:
# shutdown -r 0
it says rebooting . and it doesn't do anything after and it doesn't reboot. Do you think its the same problem with the vga?
 
Old 06-10-2007, 02:12 AM   #10
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Edit: post the errors from X. Also, you shouldn't really start X as root, use your regular user account.

Last edited by Nylex; 06-10-2007 at 02:13 AM.
 
Old 06-11-2007, 01:39 AM   #11
Drone4four
Member
 
Registered: Feb 2006
Distribution: Ubuntu, Slackware. Gentoo
Posts: 186

Rep: Reputation: 30
this post is similar to my thread here: http://www.linuxquestions.org/questi...d.php?t=554204
 
Old 06-13-2007, 03:24 PM   #12
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,904

Rep: Reputation: Disabled
A bit more information about kernel package incompatibility with -current on 11.0 (it's a post on alt.os.linux.slackware usenet group):
http://groups.google.com/group/alt.o...6eb2363fbc14c4
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
slackware-current + kernel 2.6.17.7 slackamp Slackware 1 07-29-2006 02:34 PM
[SOLVED] ACPI kernel for slackware-current ajitabhpandey Slackware 5 05-30-2006 10:29 AM
slackware-current kernel question CrEsPo Slackware 8 04-14-2006 06:03 PM
Install From Slackware current AxXium Slackware 5 05-21-2005 03:02 PM
kernel 2.6 and slackware-current jplev22 Slackware 1 01-31-2004 01:36 PM


All times are GMT -5. The time now is 03:11 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration