Skip to contentSkip to conversation

Problem installing lvm

linux-lvm Johann Spies 2 participants 2 messages Jun 28, 2001

lore
Share & tools
lore
#0 lore raw

I am trying to install lvm_0.9.1_beta7 on a machine with a 2.4.5 kernel.

After following the instructions in LVM/0.9.1_beta7/PATCHES/README a patch was created: lvm-0.9.1_beta7-2.4.5.patch

I patched the kernel with it and then tried to recompile the kernel. The process ended with:
------------------------
/usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a

/usr/src/linux/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux

drivers/md/mddev.o: In function `__update_hardblocksize':
drivers/md/mddev.o(.text+0xcec1): undefined reference to get_hardblocksize' drivers/md/mddev.o(.text+0xcf0d): undefined reference to get_hardblocksize'
make: *** [vmlinux] Error 1

I hope you can help me to get this right.

Regards.

Johann

Signature · 10 lines
Johann Spies
Informasietegnologie
Universiteit van Stellenbosch

     "The Spirit of the Lord is upon me, because he hath 
      anointed me to preach the gospel to the poor; he hath 
      sent me to heal the brokenhearted, to preach  
      deliverance to the captives, and recovering of sight 
      to the blind, to set at liberty them that are  
      bruised..."         Luke 4:18 
#1 lore raw

Goto the LVM FTP site: ftp.sistina.com
and get to the directory that you grabbed the tarball from:
/pub/LVM/0.9.1_beta

Grab the file: lvm_0.9.1_beta7-get_hardblocksize.patch

Apply this patch the the 0.9.1 Beta7 source tree as per the README.1st in that FTP directory.

This should solve your problem.

Quoted 39 lines · Johann Spies

I am trying to install lvm_0.9.1_beta7 on a machine with a 2.4.5 kernel.

After following the instructions in LVM/0.9.1_beta7/PATCHES/README a patch was created: lvm-0.9.1_beta7-2.4.5.patch

I patched the kernel with it and then tried to recompile the kernel. The process ended with:
------------------------
/usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a

/usr/src/linux/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux

drivers/md/mddev.o: In function `__update_hardblocksize':
drivers/md/mddev.o(.text+0xcec1): undefined reference to get_hardblocksize' drivers/md/mddev.o(.text+0xcf0d): undefined reference to get_hardblocksize'
make: *** [vmlinux] Error 1

I hope you can help me to get this right.

Regards.

Johann

Signature · 15 lines
Johann Spies
Informasietegnologie
Universiteit van Stellenbosch

     "The Spirit of the Lord is upon me, because he hath 
      anointed me to preach the gospel to the poor; he hath 
      sent me to heal the brokenhearted, to preach  
      deliverance to the captives, and recovering of sight 
      to the blind, to set at liberty them that are  
      bruised..."         Luke 4:18 
_______________________________________________
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 · 27 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----------------------------------------
"We succeed because our competitors are idiots" - anonymous
-----End Obligatory Humorous Quote------------------------------------------
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----------------------------------------
Quitters never win, and winners never quit,
but those who never quit AND never win are idiots.
-----End Obligatory Humorous Quote------------------------------------------