Skip to contentSkip to conversation

LVM kernel patch request

linux-lvm Leo Wong 2 participants 2 messages Jun 14, 2001

lore
Share & tools
lore

Leo Wong

author
#0 lore raw

Dear Sir/Madam,

I am using RedHat7.1 with Kernel version 2.4.2-2. I downloaded the binaries patch-generator0.91beta7 rpm. i follow the instructions(i.e. ./configure and then make in PATCHES, then a patch -p1 < /xx/xxx/PATCHES/xxxxx.patch) to patch the kernel and everything wents well when i do a make config in the /usr/src/linux, configuring the LVM as a modules.

But i cannot do a make modules, after i make dep;make clean;make bzlilo, lots of compilation errors jump out.
I then try compile the LVM in the kernel by running make config again. after i build everything, when i run the vgscan, it says "lvmiopversion -- LVM driver/module not loaded?"

Seemingly the LVM module/compilation doesn't work for this kernel.

Could u please help me on it?

Thanks very much in advance.

Best regards
Leo Wong

#1 lore raw
Quoted 1 line · Leo Wong

I am using RedHat7.1 with Kernel version 2.4.2-2. I downloaded the binaries patch-generator0.91beta7 rpm. i follow the instructions(i.e. ./configure and then make in PATCHES, then a patch -p1 < /xx/xxx/PATCHES/xxxxx.patch) to patch the kernel and everything wents well when i do a make config in the /usr/src/linux, configuring the LVM as a modules.

Where is your kernel source located? Did you specify this location when you ran ./configure? (ie, './configure --with-kernel_dir=/usr/src/linux-2.4.2-2')

Quoted 1 line

But i cannot do a make modules, after i make dep;make clean;make bzlilo, lots of compilation errors jump out.

A log of the exact errors would be nice. I really don't have any idea what is going wrong unless I can see those.

Quoted 1 line

I then try compile the LVM in the kernel by running make config again. after i build everything, when i run the vgscan, it says "lvmiopversion -- LVM driver/module not loaded?"

Did you install the new kernel and reboot? It may be possible to get along without rebooting if you are building the kernel modules, but you will definitely need to reboot if LVM is built into the kernel.

Quoted 1 line

Seemingly the LVM module/compilation doesn't work for this kernel.

It should work, but RedHat puts a lot of additional patches into their kernels, and it is possible there is a conflict somewhere. Did the patch apply cleanly?

Regards,

Signature · 14 lines
AJ Lewis
Sistina Software Inc.                  Voice:  612-638-0500
1313 5th St SE, Suite 111              Fax:    612-638-0500
Minneapolis, MN 55414                  E-Mail: [email protected]
http://www.sistina.com

Current GPG fingerprint = 3B5F 6011 5216 76A5 2F6B  52A0 941E 1261 0029 2648
Get my key at: http://www.sistina.com/~lewis/gpgkey
 (Unfortunately, the PKS-type keyservers do not work with multiple sub-keys)

-----Begin Obligatory Humorous Quote----------------------------------------
Hope is NOT a thing with feathers, the thing with feathers is my nephew,
and I have to take him to a specialist in Zurich. - Woody Allen
-----End Obligatory Humorous Quote------------------------------------------