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

Re: [linux-lvm] Patching my kernel.



On Wed, May 09, 2001 at 07:43:14AM -0400, Rupert Heesom wrote:
> Joe:  I've untarred a new kernel archive & sorted the linux symlink to
> "kernel-2.4.3", etc.  Copied the .config file to the linux directory.
> 
> Then ran the patch -p1 < <path to patch file> from the linux directory.
> 
> I got a whole lot of errors -
> 
> [root localhost linux]#patch -p1 <
> /usr/src/patch_gen_7/PATCHES/lvm-0.9.1_beta7-2.4.3.patch
> patching file include/linux/lvm.h
> Hunk #1 FAILED at 67.

<snip>

hmmmm... not sure what you've done here.  It looks like the patch
generation has gone astray.  My advice is to start with a fresh LVM dir:

untar clean kernel
untar LVM_beta7
cd LVM
./configure
cd PATCHES
make 
cd /usr/src/linux
patch -p1 < <where ever>/LVM/PATCHES/lvm-0.9.1_beta7-2.4.3.patch

If this doesn't work please send me (off list) the LVM patch so I can
see what has gone wrong.

Also please be aware that beta7 needs an extra little patch to fix the
get_hardblocksize -> hardsectsize name change.  Search this mailing
list for it, or grab code from CVS.

> What a learning curve!!  What next?

Please persevere, it gets easy once you've done it a couple of times.

- Joe


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