Skip to contentSkip to conversation

vgscan -- LVM driver/module not loaded?

linux-lvm Abu @ Trabas Dot Com 3 participants 6 messages Nov 14, 2001

lore
Share & tools
lore
#0 lore raw

I am only monitoring this mailing, but now i have a few question. after I did a patch kernel with lvm 1.0.1-rc4, and compile and build with rpm, the kernel config like:

CONFIG_BLK_DEV_LVM=y
CONFIG_LVM_PROC_FS=y

succeed. but when i try following INSTALL file and vgscan result said vgscan -- LVM driver/module not loaded?

why the vgscan said that, I did compile lvm not be module, any explanation. and how to fix it?

thanks.

Signature · 5 lines
   __   
  (oo)  
 / \/ \ GnuPg public information         pub 1024/EBD26280 
 `V__V' A9A9 8F57 9E9D 14E3 05B4  3EDB C241 A313 EBD2 6280
You will pass away very quickly.
#1 lore raw
Quoted 1 line · On Wed, Nov 14, 2001 at 03:25:58PM +0700, Abu @ Trabas Dot Com wrote:

CONFIG_LVM_PROC_FS=y

This option disappeared about 9 months ago. Are you sure you patched the kernel correctly ?

- Joe

#2 lore raw

Joe Thornber([email protected])@Wed, Nov 14, 2001 at 07:51:48AM +0000:

Quoted 2 lines · On Wed, Nov 14, 2001 at 03:25:58PM +0700, Abu @ Trabas Dot Com wrote:
Quoted 1 line

CONFIG_LVM_PROC_FS=y

I got src.rpm from redhat :(
ok this option is off now

#CONFIG_LVM_PROC_FS=y

Quoted 2 lines

This option disappeared about 9 months ago. Are you sure you patched the kernel correctly ?

yup. i am sure.

[abu@yusril] ~/rpm/BUILD > /usr/bin/bunzip2 linux-2.4.9.tar.bz2

[abu@yusril] ~/rpm/BUILD/linux > uname -a
Linux yusril.com 2.4.9-6 #1 Fri Oct 26 12:01:42 JAVT 2001 i686 unknown

[abu@yusril] ~/rpm/BUILD > cd linux

[abu@yusril] ~/rpm/BUILD/linux > patch -p1 < ~/sw/lvm/LVM/1.0.1-rc4/PATCHES/linux-2.4.9-VFS-lock.patch patching file drivers/md/lvm.c
Hunk #1 succeeded at 161 with fuzz 2 (offset -58 lines).
patching file fs/buffer.c
Hunk #1 succeeded at 372 (offset 22 lines).
patching file fs/reiserfs/super.c
Hunk #1 succeeded at 80 (offset 14 lines).
patching file fs/super.c
Hunk #1 succeeded at 681 (offset 44 lines).
patching file include/linux/fs.h
Hunk #1 succeeded at 1161 (offset -62 lines).
patching file kernel/ksyms.c
Hunk #1 succeeded@177 (offset -1 lines).

then build.

Signature · 5 lines
   __   
  (oo)  Open Solution Provider visit http://www.trabas.com
 / \/ \ GnuPg public information         pub 1024/EBD26280 
 `V__V' A9A9 8F57 9E9D 14E3 05B4  3EDB C241 A313 EBD2 6280
You teach best what you most need to learn.
#3 lore raw
Quoted 15 lines · On Wed, Nov 14, 2001 at 04:26:17PM +0700, Abu @ Trabas Dot Com wrote:

Joe Thornber([email protected])@Wed, Nov 14, 2001 at 07:51:48AM +0000:

Quoted 2 lines · On Wed, Nov 14, 2001 at 03:25:58PM +0700, Abu @ Trabas Dot Com wrote:
Quoted 1 line

CONFIG_LVM_PROC_FS=y

I got src.rpm from redhat :(
ok this option is off now

#CONFIG_LVM_PROC_FS=y

Quoted 2 lines

This option disappeared about 9 months ago. Are you sure you patched the kernel correctly ?

yup. i am sure.

Quoted 8 lines

[abu@yusril] ~/rpm/BUILD > /usr/bin/bunzip2 linux-2.4.9.tar.bz2

[abu@yusril] ~/rpm/BUILD/linux > uname -a
Linux yusril.com 2.4.9-6 #1 Fri Oct 26 12:01:42 JAVT 2001 i686 unknown

[abu@yusril] ~/rpm/BUILD > cd linux

[abu@yusril] ~/rpm/BUILD/linux > patch -p1 < ~/sw/lvm/LVM/1.0.1-rc4/PATCHES/linux-2.4.9-VFS-lock.patch

This is an extra patch that you only need if you're using reiserfs with snapshots. Read the README in PATCHES for instructions on how to generate the real patch, which should be called something like lvm-1.0.1-rc-2.4.9.patch

- Joe

author
#4 lore raw

Sorry, I am lvm newbie.

Where is lvm-1.0.1-rc-2.4.9.patch?

[abu@yusril] /tmp/LVM/1.0.1-rc4 > find ./ -iname lvm-1* nothing

lvm filename only lvm-0.8final-2.4.0.patch

[abu@yusril] /tmp/LVM/1.0.1-rc4/PATCHES > ls

fragments                          linux-2.4.1-VFS-lock.patch
fragments-2.2.18                   linux-2.4.2-VFS-lock.patch
fragments-2.4.0                    linux-2.4.4-VFS-lock.patch
fragments-2.4.1                    linux-2.4.9-VFS-lock.patch
fragments-2.4.7                    lvm-0.8final-2.4.0.patch
linux-2.2.17-rawio.patch           Makefile
linux-2.2.18-rawio.patch           Makefile.in
linux-2.2.18-sparc64.patch         README

linux-2.4.0-test10-VFS-lock.patch

Joe Thornber([email protected])@Wed, Nov 14, 2001 at 09:40:09AM +0000:

Quoted 14 lines · On Wed, Nov 14, 2001 at 04:26:17PM +0700, Abu @ Trabas Dot Com wrote:

This is an extra patch that you only need if you're using reiserfs with snapshots. Read the README in PATCHES for instructions on how to generate the real patch, which should be called something like lvm-1.0.1-rc-2.4.9.patch

- Joe

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

Signature · 5 lines
   __   
  (oo)  Open Solution Provider visit http://www.trabas.com
 / \/ \ GnuPg public information         pub 1024/EBD26280 
 `V__V' A9A9 8F57 9E9D 14E3 05B4  3EDB C241 A313 EBD2 6280
Don't relax!  It's only your tension that's holding you together.
#5 lore raw
Quoted 6 lines

Sorry, I am lvm newbie.

Where is lvm-1.0.1-rc-2.4.9.patch?

have you read the INSTALL and README's

in your case go to /tmp/LVM/1.0.1-rc4
run " ./configure "
go to /tmp/LVM/1.0.1-rc4/PATCHES
run " make "
" ls "
you have it

Quoted 37 lines

[abu@yusril] /tmp/LVM/1.0.1-rc4 > find ./ -iname lvm-1* nothing

lvm filename only lvm-0.8final-2.4.0.patch

[abu@yusril] /tmp/LVM/1.0.1-rc4/PATCHES > ls

fragments                          linux-2.4.1-VFS-lock.patch
fragments-2.2.18                   linux-2.4.2-VFS-lock.patch
fragments-2.4.0                    linux-2.4.4-VFS-lock.patch
fragments-2.4.1                    linux-2.4.9-VFS-lock.patch
fragments-2.4.7                    lvm-0.8final-2.4.0.patch
linux-2.2.17-rawio.patch           Makefile
linux-2.2.18-rawio.patch           Makefile.in
linux-2.2.18-sparc64.patch         README

linux-2.4.0-test10-VFS-lock.patch

Joe Thornber([email protected])@Wed, Nov 14, 2001 at 09:40:09AM +0000:

Quoted 15 lines · On Wed, Nov 14, 2001 at 04:26:17PM +0700, Abu @ Trabas Dot Com wrote:

This is an extra patch that you only need if you're using reiserfs with snapshots. Read the README in PATCHES for instructions on how to generate the real patch, which should be called something like lvm-1.0.1-rc-2.4.9.patch

- Joe

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html