Skip to contentSkip to conversation

RH 6.2 kernel problem with 0.8i

linux-lvm Eric M. Hopper 1 participant 2 messages May 2, 2000 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

I figured out my problem. It's the RAID patches that RH adds.

RH adds a LOT of patches to the stock kernel. Someone suggested
grabbing a stock kernel and using that, but a lot of the RH patches are ones I really want, and I don't want to sift through them carefully figuring out which ones.

So, I grabbed the kernel source RPM, used rpm2cpio on it,
unpacked the cpio, and then used patch -R (what a wonderful tool) to reverse the patches I didn't want out of the kernel source tree RH ships.

After that, the LVM patches applied just fine. I only wanted
RAID0 anyway, and LVM does that just fine by itself. :-)

It works beautifully!

The only thing I could ask for (and it is something that would
be complicated to dp) is to allow the root filesystem to be a logical volume.

A graphical (say tk or Python based) manager might be nice to,
but there are already several people working on that.

Thanks a LOT for providing such a neat, useful tool. Virtual
memory for hard drives. It's great!

One question...

Is the warning about moving the physical extents of a mounted
logical volume based on hard evidence, or uneasiness?

As I recall from Hans's talk, there shouldn't be any problem. I
think I remember that the blocks are locked from being read or written to while they're being moved. And besides, the buffer cache entries point at the logical volume anyway.

Have fun (if at all possible),

Signature · 4 lines
Its name is Public Opinion.  It is held in reverence. It settles everything.
Some think it is the voice of God.  Loyalty to petrified opinion never yet
broke a chain or freed a human soul.     ---Mark Twain
-- Eric Hopper ([email protected]  http://omnifarious.mn.org/~hopper) --

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 9 lines · Heinz Mauelshagen
Quoted 7 lines · Eric M. Hopper

I figured out my problem. It's the RAID patches that RH adds.

RH adds a LOT of patches to the stock kernel. Someone suggested
grabbing a stock kernel and using that, but a lot of the RH patches are ones I really want, and I don't want to sift through them carefully figuring out which ones.

Quoted 7 lines
Quoted 7 lines

So, I grabbed the kernel source RPM, used rpm2cpio on it,
unpacked the cpio, and then used patch -R (what a wonderful tool) to reverse the patches I didn't want out of the kernel source tree RH ships.

After that, the LVM patches applied just fine. I only wanted
RAID0 anyway, and LVM does that just fine by itself. :-)

BTW, I should've mentioned the patches I had to back out. These
are what they were named in the kernel SRPM.

linux-2.2.12-PIII-xor.patch
linux-2.2.14-sparc-raid.patch
raid-2.2.14-B1.gz

I believe the patches have to be reverse applied in the given
order.

Have fun (if at all possible),

Signature · 4 lines
Its name is Public Opinion.  It is held in reverence. It settles everything.
Some think it is the voice of God.  Loyalty to petrified opinion never yet
broke a chain or freed a human soul.     ---Mark Twain
-- Eric Hopper ([email protected]  http://omnifarious.mn.org/~hopper) --