I tried to apply this patch myself and it "almost" patches cleanly. It fails because include/linux/mempool.h and mm/mempool.c already exist. I tried to do the merges into these two files by hand but had some problems. I would be REALLY interested in having LVM2 support in the 2.4 gentoo-sources tree. If anyone could see it within there heart to see if they can get this to apply properly and any code changes necissary look good, then I'll be happy to test it. Here is a link to the combined patch, but the FTP directory also has the individual patches needed as well. ftp://ftp.sistina.com/pub/LVM2/device-mapper/patches/combined-linux-2.4.20-devmapper-ioctl.patch Reproducible: Always Steps to Reproduce: 1. 2. 3.
*** Bug 22769 has been marked as a duplicate of this bug. ***
Created attachment 13235 [details, diff] Patch for linux-2.4.20-gentoo-r5 to add support for LVM2 and the new Device Mapper This patch should apply clealy to linux-2.4.20-gentoo-r5. I have compiled it fine and am about to reboot with the new kernel and then emerge the programs from bugs 19744, 19745, and 21908 (updated to the most current releases). To create the patch I ran: diff -urN linux-2.4.20-gentoo-r5 linux-2.4.20-gentoo-r5-lvm2 > lvm2-linux-2.4.20-gentoo-r5.patch on the clean sources (pre-compiled, etc.)
*** This bug has been marked as a duplicate of 14085 ***