Skip to contentSkip to conversation

rh kernel patches

linux-lvm Pierre Lamb 5 participants 9 messages Sep 4, 2001

lore
Share & tools
lore
#0 lore raw

Is there a correct way to patch RH kernels. I have tried using the "final path" to update 2.4.7 rh kernel but just get errors. Is there a work around for this problem.

Pierre

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

#1 lore raw

Red Hat uses Alan Cox kernel, i think you can not aply the patches from 1.0.1rc1 and rc2 to -ac kernel at least it didn't worked for me with 2.4.9-ac5 but i think you should be able to aply the lvm-1.0 release it worked for me

Quoted 18 lines · Pierre Lamb

Is there a correct way to patch RH kernels. I have tried using the "final path" to update 2.4.7 rh kernel but just get errors. Is there a work around for this problem.

Pierre

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

#2 lore raw

I quess I don't understand the whole picture. From the /PATCHES/readme file I was lead to believe all I need to to id use the patch file labeled "lvm-0.8final-2.4.0.patch" and apply it to the rh kernel 2.4.7. Am I mistaken???? PLease provide guidance..

Pierre
--- svetljo <[email protected]>

Quoted 35 lines · wrote:

Red Hat uses Alan Cox kernel, i think you can not aply the patches from
1.0.1rc1 and rc2 to -ac kernel
at least it didn't worked for me with 2.4.9-ac5 but i think you should
be able to aply the lvm-1.0 release
it worked for me

Quoted 2 lines · Pierre Lamb

Is there a correct way to patch RH kernels. I have tried using the "final path" to update 2.4.7 rh

kernel

Quoted 1 line

but just get errors. Is there a work around for

this

Quoted 7 lines

problem.

Pierre

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant

messaging with Yahoo! Messenger

Quoted 7 lines

http://im.yahoo.com

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at

http://www.sistina.com/lvm/Pages/howto.html

Quoted 1 line
Quoted 5 lines

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at

http://www.sistina.com/lvm/Pages/howto.html

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

#3 lore raw
Quoted 6 lines · you

I quess I don't understand the whole picture. From the /PATCHES/readme file I was lead to believe all I need to to id use the patch file labeled "lvm-0.8final-2.4.0.patch" and apply it to the rh kernel 2.4.7. Am I mistaken???? PLease provide guidance..

RedHat kernel? I didn't think there was such a thing. Especially not 2.4.7. Read the README again and you'll see you must run make to generate a kernel specific patch.

Signature · 5 lines
Lewis Bergman
Texas Communications
4309 Maple St.
Abilene, TX 79602-8044
915-695-6962
#4 lore raw
In reply to Pierre Lamb
Quoted 6 lines · Pierre Lamb

I quess I don't understand the whole picture. From the /PATCHES/readme file I was lead to believe all I need to to id use the patch file labeled "lvm-0.8final-2.4.0.patch" and apply it to the rh kernel 2.4.7. Am I mistaken???? PLease provide guidance..

Which release of the tools are you looking at ? 1.0.1-rc2 I hope ?

- Joe

#5 lore raw

Yes I am I thought the "lvm-0.8..." could be applied with the patch command to the kernel, I gues I am incorrect.

Pierre

Quoted 14 lines · --- Joe Thornber
Quoted 1 line · Pierre Lamb

I quess I don't understand the whole picture. From

the

Quoted 1 line

/PATCHES/readme file I was lead to believe all I

need

Quoted 4 lines

to to id use the patch file labeled
"lvm-0.8final-2.4.0.patch" and apply it to the rh
kernel 2.4.7. Am I mistaken???? PLease provide
guidance..

Which release of the tools are you looking at ?
1.0.1-rc2 I hope ?

Quoted 7 lines

- Joe

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at

http://www.sistina.com/lvm/Pages/howto.html

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

#6 lore raw

you alredy have lvm-0.9beta2 wich comes with kernel-2.4
you shouldn't downgrade to 0.8 try the LVM-1.0-release
untar it, run configure in the toplevel LVM directory , than go to PATCHES and do make you should have lvm-1.0.patch for your kernel in the directory
and patch the kernel
cat linux-2.4.7rh-lvm-1.0.patch | patch -p1 -d /usr/src/linux

                |                                                       
          |
    here is your kernel patch                           and that's the 

path to your kernel

rebuild the kernel and it should be allright
if duiring the rebuild you have some problems with building the lvm part of the kernel

run ones more configure , in PATCHES make ,
cat linux-2.4.7rh-lvm-1.0.patch | patch -p1 -d /usr/src/linux

and that's it
you shouldn't have more troubles

make the lvm library and binaries and install them

Quoted 47 lines · Pierre Lamb

Yes I am I thought the "lvm-0.8..." could be applied with the patch command to the kernel, I gues I am incorrect.

Pierre

Quoted 18 lines · --- Joe Thornber
Quoted 2 lines · Pierre Lamb

I quess I don't understand the whole picture. From

the

Quoted 2 lines

/PATCHES/readme file I was lead to believe all I

need

Quoted 5 lines

to to id use the patch file labeled
"lvm-0.8final-2.4.0.patch" and apply it to the rh
kernel 2.4.7. Am I mistaken???? PLease provide
guidance..

Which release of the tools are you looking at ? 1.0.1-rc2 I hope ?

Quoted 8 lines

- Joe

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at

http://www.sistina.com/lvm/Pages/howto.html

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

#7 lore raw
In reply to Pierre Lamb
Quoted 2 lines · Pierre Lamb

Is there a correct way to patch RH kernels. I have tried using the "final path" to update 2.4.7 rh kernel

What's the "final path" ?

Quoted 2 lines

but just get errors. Is there a work around for this problem.

You built the patch correctly using LVM/PATCHES/Makefile ?

If so what were the errors ?

- Joe

#8 lore raw
In reply to Pierre Lamb

Pierre,

I'd like to pass on some very useful advice I received from this list.

the LVM patches are made against Linus' kernel (which you can find at kernel.org). RedHat makes modifications to the kernel (to add device drivers and god knows what else) and so the LVM patches may or may not work against the RH-modified kernel, depending on whether RH modified some piece that LVM patches.

The simplest thing to do is to just get the latest Linus kernel. I struggled with the RH 2.4.7 kernel until I decided it was not worth the time and went and got the Linus kernel. Make sure to get the LVM rc1 (at least) since the 1.0 release had some problems with changes that Linus made.

I'm now happily running RH 7.0 with the 2.4.9 kernel.

- e

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Pierre Lamb
Sent: Tuesday, September 04, 2001 10:56 AM
To: [email protected]
Subject: [linux-lvm] rh kernel patches

Is there a correct way to patch RH kernels. I have tried using the "final path" to update 2.4.7 rh kernel but just get errors. Is there a work around for this problem.