Re: kernel patching

2005-10-15 Thread Jon Dowland
On Sat, Oct 15, 2005 at 09:42:02AM +0530, L.V.Gandhi wrote:
 I already had linux kernel linux-2.6.13.2.tar.bz2. I untaared in
 /usr/src. and sym link to linux. I downloaded patch for 13.3 and 13.3
 gz files and gunzipped.
 I did dry run patch. I got error.

Look at the patch file - you should see a line which modifies
EXTRAVERSION right near the top. For example:

$ bzcat patch-2.6.13.4.bz2 |head
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 VERSION = 2
 PATCHLEVEL = 6
 SUBLEVEL = 13
-EXTRAVERSION =
+EXTRAVERSION = .4
 NAME=Woozy Numbat

The patch files are from the base release, not the last EXTRAVERSION -
so you need linux-2.6.13 to patch rather than linux-2.6.13.2. Sorry!

-- 
Jon Dowland
http://jon.dowland.name/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kernel patching

2005-10-15 Thread L.V.Gandhi
On 10/15/05, Jon Dowland [EMAIL PROTECTED] wrote:

 The patch files are from the base release, not the last EXTRAVERSION -
 so you need linux-2.6.13 to patch rather than linux-2.6.13.2. Sorry!
Thanks for the info.


--
L.V.Gandhi
http://lvgandhi.tripod.com/
linux user No.205042


Re: Kernel patching + compilation for Cobalt RAQ 500....

2004-03-08 Thread Max Lock

 Hi Johnathan,

 I'm confused, are You trying to install a debain patch on a vanilla
 kernel or the other way round? I cannot find a cobalt patch with my
 woody package list, so it's not in the current stable distribution?
 Anyway, debian kernel packages are usually somehow patched and You
 might run into trouble, once You use a vanilla kernel source against a
 debian patch or the other way round.
 Switch both to debian packages (recommended) or the other way round.

 I'm using the testing distribution to compile the kernel upon. There is
no Debian kernel source package for 2.4.23 so it's a vanilla unpatched
kernel source, but the patch package only supports kernel 2.4.23?!

 I think I'll have to contact the patch maintainer...

 -Cheers Max.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Kernel patching + compilation for Cobalt RAQ 500....

2004-03-05 Thread Jonathan Schmitt
Hallo,

 I'm trying to get debian up and running on two of these units, and I
really want to use a 'proper' debian package to install the kernel from.
I've installed the 2.4.23 kernel source (no package available for this)
and the kernel-patch-2.4-cobalt package. 

I'm confused, are You trying to install a debain patch on a vanilla kernel or 
the other way round? I cannot find a cobalt patch with my woody package list, 
so it's not in the current stable distribution?
Anyway, debian kernel packages are usually somehow patched and You might run 
into trouble, once You use a vanilla kernel source against a debian patch or 
the other way round.
Switch both to debian packages (recommended) or the other way round.

[...] seems to apply fine apart from failing to patch
one of the bluetooth drivers.

This is usually either a patch against the wrong kernel version (there were 
some hefty changes during 2.4 developement) or patch against a patched kernel 
source, the second patch was not expecting to find.
Best regards,
   js
-- 
Down with categorical imperative!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Kernel Patching: Updating the debian/changelog

2004-01-05 Thread GCS
On Mon, Jan 05, 2004 at 11:09:09AM -0800, Bill Moseley [EMAIL PROTECTED] wrote:
 I have notes of hand-editing the changelog before, but I can't see to
 get the format correct.  I know there's a tool to update the changelog,
 but can't remember what that is.
 You should use 'dch -i' and add a changelog for your new kernel.

 Anyway, the question is: how do I patch the kernel and correctly update
 the debian/changelog so make-kpkg doesn't puke.
 I think the above will do if you upgrade the version in the changelog
to 2.4.24-whatever.

Cheers,
GCS


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Kernel Patching: Updating the debian/changelog

2004-01-05 Thread Andreas Janssen
Hello

Bill Moseley ([EMAIL PROTECTED]) wrote:

 My notes are not perfect, but I believe on one machine that's running
 2.4.23 the kernel was built from kernel.org sources but make-kpkg was
 used to build the kernel.
 
 I just downloaded and patched the 2.4.23 source tree with the 2.4.24
 patch.  Then I ran
 
 fakeroot make-kpkg --revision=custom.1.0 kernel_image
 
 and the build went ok except for:
 
   The changelog says we are creating 2.4.23-xfs-3ware, but I thought
   the version is 2.4.24-xfs-3ware
 
 I'm a bit confused about how the debian/changelog got there -- does
 make-kpkg add it when building form kernel.org sources?

I think so. Run make-kpgk clean and try again.

best regards
Andreas Janssen

-- 
Andreas Janssen
[EMAIL PROTECTED]
PGP-Key-ID: 0xDC801674
Registered Linux User #267976


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Kernel patching

2000-08-11 Thread dyer
Ronald Castillo wrote:

 Greetings...

 When I apply a patch to my kernel (from 2.2.12 to 2.2.13), do I need to do
 any other step after I do the gzip -cd patchxx.gz | patch -p0?

 Thanks..



The sources are now patched. (assuming you were in the /usr/src directory when 
you
unzipped and patched.) I assume you are using the docs in 
/usr/src/linux/README.  You
now need to rebuild the kernel.

hth

dyer