[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] lvm-1.0-2.4.10.patch - Critical??



Good evening,

i aplied the lvm-1.0-2.4.10.patch to my kernel (2.4.10) and tried to
compile. The result was :

/usr/src/linux-2.4.10/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux
drivers/md/mddev.o: In function `lvm_blk_ioctl':
drivers/md/mddev.o(.text+0xc27): undefined reference to
`get_hardblocksize'
drivers/md/mddev.o: In function `__update_hardsectsize':
drivers/md/mddev.o(.text+0x2701): undefined reference to
`get_hardblocksize'
drivers/md/mddev.o(.text+0x274d): undefined reference to
`get_hardblocksize'
make: *** [vmlinux] Error 1

i replaced the 3 get_hardblocksize() with get_hardsect_size()

So it compiles smoothly now. But was that the right solution?

The system is going to run in production enviroment with a large amount
of data, which i cannot backup whole. I habe only one try.

The current LVM was build with 2.4.9 and runs well.

But i have to switch to 2.4.10 because of the bad memory management of
2.4.9 as soon as possible.

I'll be glad for comments. Thanks

Henk Birkholz




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]