LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-12-2005, 02:02 PM   #1
AxXium
Zenwalk Admin
 
Registered: May 2005
Location: Louisiana, U.S.A.
Distribution: Zenwalk Gnu/Linux
Posts: 258

Rep: Reputation: 31
Kernel or Patch?


At kernel.org they state the 2.6.11.9 is the latest stable kernel.
In my ignorrance I ask is 2.6.11.9 a patch for 2.6 or a complete kernel?
I ask because in my address bar it is listed as:
http://www.kernel.org/pub/linux/kern...h-2.6.11.9.bz2
 
Old 05-12-2005, 02:08 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You can download the patch or the full kernel if you browse though the ftp directories. Here is a link to the 2.6 kernel directory. To download the full kernel, download the package called "linux".
 
Old 05-12-2005, 02:11 PM   #3
alexrait1
Member
 
Registered: Jul 2003
Location: Israel
Distribution: slackware current kernel 2.6.9
Posts: 70

Rep: Reputation: 15
On what kernel do we have to apply the patch?
Is there any website that explains how to apply kernel patches?
 
Old 05-12-2005, 02:15 PM   #4
AxXium
Zenwalk Admin
 
Registered: May 2005
Location: Louisiana, U.S.A.
Distribution: Zenwalk Gnu/Linux
Posts: 258

Original Poster
Rep: Reputation: 31
I'm a bonehead.
I don't see a package called linux,
but I do see a package called "linux-2.6.11.9.tar.gz"
Is that what you are refering to?
 
Old 05-12-2005, 02:24 PM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
That is a package called linux isn't it?
 
Old 05-12-2005, 02:34 PM   #6
db391
Member
 
Registered: Jun 2004
Location: Britain
Distribution: Slackware
Posts: 186

Rep: Reputation: 31
I do believe you need to apply 2.6.11.9 patch to a 2.6.11.8 kernel tree.

(I have never used kernel upgrade patches on Linux (except con kolivas and thinkpad patches....) so I'm unsure )
 
Old 05-12-2005, 02:37 PM   #7
AxXium
Zenwalk Admin
 
Registered: May 2005
Location: Louisiana, U.S.A.
Distribution: Zenwalk Gnu/Linux
Posts: 258

Original Poster
Rep: Reputation: 31
Now I'm really confused.
All I have installed is the default 2.4xxx kernel that comes with Slackware 10.1. and I want to upgrade to the most recent kernel.

Oh what do I do, what do I do?

Which is which?

Who am I?

What is my purpose in life?
 
Old 05-12-2005, 03:03 PM   #8
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
This is the full kernel source (what you need):
http://kernel.org/pub/linux/kernel/v...6.11.9.tar.bz2

If you click the "F" on kernel.org's listing for the latest kernel, you will be taken to the source.
 
Old 05-12-2005, 03:26 PM   #9
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
If you have never compiled a 2.6 kernel before, then take a look at this article at kerneltrap.
 
Old 05-12-2005, 05:24 PM   #10
corelover
Member
 
Registered: Jan 2005
Location: punjab,India
Distribution: core1,3, suse personal9.1,mandarke10.1
Posts: 43

Rep: Reputation: 15
hi can anyone tell me whats the problem here??

bash-3.00# make oldconfig
make: *** No rule to make target `oldconfig'. Stop.
bash-3.00#

thnx in advance
 
Old 05-12-2005, 05:33 PM   #11
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Do "make menuconfig" or if you want to use a gui do "make xconfig". I think "make oldconfig" is only used when you have a .config fie from an older 2.6 kernel.
 
Old 05-12-2005, 05:37 PM   #12
corelover
Member
 
Registered: Jan 2005
Location: punjab,India
Distribution: core1,3, suse personal9.1,mandarke10.1
Posts: 43

Rep: Reputation: 15
hi i treid these out with the same result

ash-3.00# make oldconfig
make: *** No rule to make target `oldconfig'. Stop.
bash-3.00# make xconfig
make: *** No rule to make target `xconfig'. Stop.
bash-3.00# make menuconfig
make: *** No rule to make target `menuconfig'. Stop.
bash-3.00#

cant get ahead with the patching procedure
please help
 
Old 05-12-2005, 05:39 PM   #13
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Are you in the same directory where your kernel source is?
 
Old 05-12-2005, 05:41 PM   #14
corelover
Member
 
Registered: Jan 2005
Location: punjab,India
Distribution: core1,3, suse personal9.1,mandarke10.1
Posts: 43

Rep: Reputation: 15
bash-3.00# patch -p1 < /usr/src/linux-2.4.29/bootsplash-3.0.7-2.4.29.diff
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.29/drivers/char/console.c linux-2.4.29-bootsplash/drivers/char/console.c
|--- linux-2.4.29/drivers/char/console.c 2005-01-19 15:09:44.000000000 +0100
|+++ linux-2.4.29-bootsplash/drivers/char/console.c 2005-03-17 09:16:49.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 39
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.29/drivers/char/keyboard.c linux-2.4.29-bootsplash/drivers/char/keyboard.c
|--- linux-2.4.29/drivers/char/keyboard.c 2003-11-28 19:26:20.000000000 +0100
|+++ linux-2.4.29-bootsplash/drivers/char/keyboard.c 2005-03-17 09:16:49.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 58
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.29/drivers/char/n_tty.c linux-2.4.29-bootsplash/drivers/char/n_tty.c
|--- linux-2.4.29/drivers/char/n_tty.c 2005-01-19 15:09:47.000000000 +0100
|+++ linux-2.4.29-bootsplash/drivers/char/n_tty.c 2005-03-17 09:16:49.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 87
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.29/drivers/video/Config.in linux-2.4.29-bootsplash/drivers/video/Config.in
|--- linux-2.4.29/drivers/video/Config.in 2004-02-18 14:36:31.000000000 +0100
|+++ linux-2.4.29-bootsplash/drivers/video/Config.in 2005-03-17 09:16:49.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 134
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.29/drivers/video/fbcon.c linux-2.4.29-bootsplash/drivers/video/fbcon.c
|--- linux-2.4.29/drivers/video/fbcon.c 2004-11-17 12:54:21.000000000 +0100
|+++ linux-2.4.29-bootsplash/drivers/video/fbcon.c 2005-03-17 09:16:49.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
16 out of 16 hunks ignored
The next patch would create the file drivers/video/fbcon-jpegdec.c,
which already exists! Assume -R? [n] y
patching file drivers/video/fbcon-jpegdec.c
The next patch would create the file drivers/video/fbcon-jpegdec.h,
which already exists! Assume -R? [n] y
patching file drivers/video/fbcon-jpegdec.h
The next patch would create the file drivers/video/fbcon-splash16.c,
which already exists! Assume -R? [n] y
patching file drivers/video/fbcon-splash16.c
The next patch would create the file drivers/video/fbcon-splash.c,
which already exists! Assume -R? [n] y
patching file drivers/video/fbcon-splash.c
The next patch would create the file drivers/video/fbcon-splash.h,
which already exists! Assume -R? [n] y
patching file drivers/video/fbcon-splash.h
can't find file to patch at input line 2786
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.29/drivers/video/Makefile linux-2.4.29-bootsplash/drivers/video/Makefile
|--- linux-2.4.29/drivers/video/Makefile 2004-02-18 14:36:31.000000000 +0100
|+++ linux-2.4.29-bootsplash/drivers/video/Makefile 2005-03-17 09:16:49.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 2809
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.29/include/video/fbcon.h linux-2.4.29-bootsplash/include/video/fbcon.h
|--- linux-2.4.29/include/video/fbcon.h 2003-08-25 13:44:44.000000000 +0200
|+++ linux-2.4.29-bootsplash/include/video/fbcon.h 2005-03-17 09:16:49.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 2859
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.4.29/kernel/panic.c linux-2.4.29-bootsplash/kernel/panic.c
|--- linux-2.4.29/kernel/panic.c 2004-11-17 12:54:22.000000000 +0100
|+++ linux-2.4.29-bootsplash/kernel/panic.c 2005-03-17 09:16:49.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
bash-3.00#
bash-3.00# make oldconfig
make: *** No rule to make target `oldconfig'. Stop.
bash-3.00# make xconfig
make: *** No rule to make target `xconfig'. Stop.
bash-3.00# make menuconfig
make: *** No rule to make target `menuconfig'. Stop.

this is the procedure i carried out to patch the slackware kernel 2.4.29
 
Old 05-12-2005, 05:42 PM   #15
corelover
Member
 
Registered: Jan 2005
Location: punjab,India
Distribution: core1,3, suse personal9.1,mandarke10.1
Posts: 43

Rep: Reputation: 15
yes i am in the directory /usr/src/linux-2.4.29
 
  


Reply



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
Kernel Patch (Patch-2.6.13) ukez Linux - Hardware 4 08-30-2005 03:40 PM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 03:59 AM
Unable to patch 2.6.11.7 kernel with Reiser4 mm patch SlackwareInAZ Slackware 9 04-26-2005 06:33 AM
debian-patch-debianlogo w/2.6.5 kernel-patch-lpp Outabux Debian 11 05-20-2004 01:21 PM
YaST Online Update + AMD kernel patch = kernel panic THX1138 Linux - General 3 10-26-2003 04:25 PM

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

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