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

Re: [linux-lvm] LVM2 for kernels 2.4.20



On Sun, Jan 26, 2003 at 07:03:22AM -0500, Maximo Ramos wrote:
Hi!

sorry to bother you but I am trying to use LVM2 in my 2.4.20 kernel ...

the current device-mapper doesn't have a path for 2.4.20 so ...

I've got 2.4.20-dm-7.tar.bz2 but that's a lot of patch files with no README
in it ...

I patch my kernel with those files, one-by-one (there are 40) but after the
modules building, I've got:
for the hassle of patching i use this
#!/bin/sh
set -e
pname=`basename $1`
for i in $1/*.patch
do
       pnum=`basename $i`
       pnum=${pnum%.patch}
       patch -p1 -s -N -E -b -z .$pname.$pnum.orig < $i
       for j in `find . -name \*.$pname.$pnum.orig`
       do
               if [ -f ${j%.$pnum.orig}.orig ]
               then
                       rm -f $j
               else
                       mv $j ${j%.$pnum.orig}.orig
               fi
       done
done

to use cd into kernel source dir and run it vs /path/to/2.4.20-dm-7


[~]$modprobe dm-mod /lib/modules/2.4.20/kernel/drivers/md/dm-mod.o: unresolved symbol mempool_destroy_Raf572a67

can you confirm you were running from a clean kernel source tree (i.e. you just untarred or made mrproper)

L.

--
Luca Berra -- bluca comedia it
       Communication Media & Services S.r.l.
/"\
\ /     ASCII RIBBON CAMPAIGN
 X        AGAINST HTML MAIL
/ \



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