[linux-lvm] Re: Help! Upgrade 2.2.18 -> 2.4.4 killed a PV

Jesse Stockall jesse at cryptocard.com
Wed May 30 20:52:44 UTC 2001


On 30 May 2001 15:17:50 -0500, Austin Gonyou wrote:
> Recompiling an XFS 2.4.5 tree, after patching with LVM 0.9.1b7, which went
> fine except for the drivers/md/Makefile( stuff already exists in this
> tree), no other changes, checked the .rej file, I get the following
> failure when trying to make the kernel:
> 
> drivers/md/mddev.o: In function `__update_hardblocksize':
> drivers/md/mddev.o(.text+0xaba1): undefined reference to
> `get_hardblocksize'
> drivers/md/mddev.o(.text+0xabed): undefined reference to
> `get_hardblocksize'
> make[1]: *** [kallsyms] Error 1
> make[1]: Leaving directory `/usr/src/linux-2.4-xfs/linux'
> make: *** [vmlinux] Error 2
> 
> Any ideas?
> 
> -- 
> Austin Gonyou
> Systems Architect, CCNA
> Coremetrics, Inc.
> Phone: 512-796-9023
> email: austin at coremetrics.com
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

I had the same problem a couple of nights ago.

Replace `get_hardblocksize` with `get_hardsect_size` there should be 2
instances of it in lvm.c 

Enjoy

-- 
 Jesse Stockall                 |       Tel: 1+ 613.599.2441 ext. 243
 CRYPTOCard Corporation         |       Fax: 1+ 613.599.2442            
 Suite 304, 300 March Rd.       |       email: jesse at cryptocard.com
 Ottawa, ON, Canada K2K 2E2     |       web: www.cryptocard.com 
---------------------------------------------------------------------
-------------- Debian - The Choice of a GNU Generation --------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20010530/23ce5936/attachment.sig>


More information about the linux-lvm mailing list