LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-08-2007, 11:30 PM   #1
daemonkl
LQ Newbie
 
Registered: Aug 2007
Posts: 28

Rep: Reputation: 15
Question Kernel 2.6.22.6 (new) on Slackware


Hi!

anyone getting kernel 2.6.22.6 working on Slackware / Slackware 12.0
please share how you get this done

2. there is kernel patch http://www.kernel.org/pub/linux/kern...h-2.6.22.6.bz2 at kernel website, but i'm not sure how to apply this

currently i'm using kernel 2.6.13 and wanted to compile the new kernel, can i just patch it using the source above?

please shed some light ...thanks
 
Old 09-09-2007, 01:20 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
Try my article:
http://www.informatix.or.id/willy/in...rom-source.php

It works and it's based on Shilo's guidance
 
Old 09-09-2007, 02:42 AM   #3
daemonkl
LQ Newbie
 
Registered: Aug 2007
Posts: 28

Original Poster
Rep: Reputation: 15
Question

Quote:
Originally Posted by willysr View Post
Try my article:
http://www.informatix.or.id/willy/in...rom-source.php

It works and it's based on Shilo's guidance
still, it will give the same error message even i'm using make oldconfig
is this new kernel diffrence from other kernel therefore old guidance won't work on this kernel?

Error msg: http://www.linuxquestions.org/questi...d.php?t=583047
 
Old 09-09-2007, 10:05 AM   #4
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Rep: Reputation: 98
Yep, running 2.6.22.6 as we speak. Just downloaded the full source code, copied my existing .config file from my 2.6.18 kernel, did the usual make mrproper, make oldconfig, then a sudo make menuconfig just to fine tune, followed by make, make modules_install. Then copied the /usr/src/linux-2.6.22.6/arch/i386/boot/bzimage to /boot/vmlinuz-2.6.22.6. Configed lilo.conf to show my new kernel, run lilo then rebooted and everything works as I expected with one exception. I don't have the hibernate function from Klaptop anymore, although it works from the command line, so I suspect a kde fault rather than anything else.
 
Old 09-09-2007, 10:06 AM   #5
rg3
Member
 
Registered: Jul 2007
Distribution: Fedora
Posts: 527

Rep: Reputation: Disabled
I'm sorry I can't give you much more information, but I, as probably many other people, have no problems running the 2.6.22.6 kernel on Slackware. Unfortunately, this is a custom compile with my own configuration.

OTOH, Slackware 12.0 uses kernel 2.6.21. It should be no problem to download the 2.6.22.6 full source (or the 2.6.22 source and then apply the .6 patch), copy the configuration from kernel 2.6.21 to .config and run make oldconfig, followed by make, make modules_install, etc. The differences between 2.6.21 and 2.6.22 are not that big from the kernel configuration perspective.
 
Old 09-09-2007, 10:22 AM   #6
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346

Rep: Reputation: Disabled
You need the 2.6.22 kernel sources.
Apply the patch with the following (in the sources dir): patch -p1 <patch-2.6.22.6 (after bunzip2-ing it.)
 
Old 09-09-2007, 03:59 PM   #7
rg3
Member
 
Registered: Jul 2007
Distribution: Fedora
Posts: 527

Rep: Reputation: Disabled
Or "bzcat patch-2.6.22.6.bz2 | patch -p1"
 
Old 09-09-2007, 04:39 PM   #8
KhaoSlacker
Member
 
Registered: Mar 2006
Location: West Georgia
Distribution: Slackware 12
Posts: 43

Rep: Reputation: 15
Quote:
Originally Posted by daemonkl View Post
Hi!

kernel 2.6.22.6 on Slackware 12.0

http://www.kernel.org/pub/linux/kern...h-2.6.22.6.bz2

currently i'm using kernel 2.6.13....
1. You're not on Slackware 12.0 (but you knew that)
2. You can't apply a patch to a kernel 9 generations older then the patch.
3. Yeah.. just get the full source code as mentioned before, and reuse your old configuration file
( cp /usr/src/linux/.config /usr/src/linux-2.6.22.6/ )
 
Old 09-09-2007, 11:09 PM   #9
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
See $linuxSourceDirectory/Documentation/applying-patches.txt
 
Old 09-10-2007, 03:24 AM   #10
daemonkl
LQ Newbie
 
Registered: Aug 2007
Posts: 28

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by KhaoSlacker View Post
1. You're not on Slackware 12.0 (but you knew that)
2. You can't apply a patch to a kernel 9 generations older then the patch.
3. Yeah.. just get the full source code as mentioned before, and reuse your old configuration file
( cp /usr/src/linux/.config /usr/src/linux-2.6.22.6/ )
i'm on slack & will try to compile again based on advices given by other members
thanks
 
  


Reply

Tags
kernel, slackware


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I install a slackware-current kernel to slackware 11? bijit1709 Slackware 11 06-13-2007 03:24 PM
Errors Compiling Kernel 2.6 on Slackware 10.2 - Old kernel headers required? Dave S. Slackware 8 03-04-2006 12:15 AM
Slackware 10, custom 2.6.7 kernel, lilo, loads kernel very slowly entropyv Slackware 3 08-19-2004 06:06 PM

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

All times are GMT -5. The time now is 08:33 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