[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] LVM 1.0.1_rc4 with 2.4.12-ac3?

Simply, does anyone have a recent LVM patchset that works on 2.4.12-ac3?

The details:

I'm currently running 2.4.7 + Red Hat patches (from their 2.4.7-10 RPM) +
LVM 1.0.1_rc4.  Everything works, but VM performance is horrendous.  (The
machine has 2GB of RAM and 700GB of disk and kswapd consumes 100% of the
CPU for long periods of time.)  So I'd like to move to a newer kernel.

I've heard that the recent ac kernels have up-to-date LVM, but lvm.h says:

#define LVM_RELEASE_NAME "LVM 0.9.1_beta7(ish)"
#define LVM_RELEASE_DATE "20 June 2001"

which doesn't look up-to-date to me.  I'm afraid of going backwards
(especially since the machine is already running the 1.0.1_rc4 tools) so
I'm afraid to downgrade to that version.

A naive application of the rc4 generated patch works (outside of the usual
reject for drivers/md/Makefile and the fact that lvm-snap.c is already
gone) but the resulting module has unresolved symbols:

depmod: *** Unresolved symbols in /lib/modules/2.4.12-ac3/kernel/drivers/md/lvm-mod.o
depmod:         alloc_kiovec
depmod:         gendisk_head
depmod:         free_kiovec

gendisk handling has been simplified in newer kernels and the kiovec
functions have changed names and sprouted another argument.  Examining the
patch shows that it backs out code in ac3that deals with these changes.  I could
probably do a merge, but I'm new to this level of kernel hacking and don't
want to destroy my data.

Thanks for any advice,
Jason L Tibbitts III - tibbs math uh edu - 713/743-3486 - 660PGH - 94 PC800
     System Manager:  University of Houston Department of Mathematics 
     And your voice is vast and achromatic.  But still so precious...

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]