From: Ilya Martynov <m_ilya@agava.com>
To: linux-lvm@sistina.com
Cc: linux-LVM-Bug@sistina.com, linux-LVM@sistina.com
Subject: Re: [linux-lvm] LVM problems
Date: 19 Jun 2001 16:14:51 +0400 [thread overview]
Message-ID: <87vglsk6o4.fsf@juil.domain> (raw)
In-Reply-To: <200106191212.f5JCC3j06725@mailgate4.cinetic.de>
[-- Attachment #1: Type: text/plain, Size: 1181 bytes --]
TH> [..skip..]
TH> ld -m elf_i386 -T /tmp/linux/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o \
TH> --start-group \
TH> arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
TH> drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/char/agp/agp.o drivers/isdn/isdn.a drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/video/video.o drivers/md/mddev.o \
TH> net/network.o \
TH> /tmp/linux/arch/i386/lib/lib.a /tmp/linux/lib/lib.a /tmp/linux/arch/i386/lib/lib.a \
TH> --end-group \
TH> -o vmlinux
TH> drivers/md/mddev.o: In function `__update_hardblocksize':
TH> drivers/md/mddev.o(.text+0x7e01): undefined reference to `get_hardblocksize'
TH> drivers/md/mddev.o(.text+0x7e3d): undefined reference to `get_hardblocksize'
TH> make: *** [vmlinux] Error 1
It is known problem and should be fixed in future releases.
For now use attached patch.
I've found it in archives of this maillist when I've faced simular problem.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: lvm-0.9.1_beta7-2.4.5-get_hardblocksize.patch --]
[-- Type: text/x-patch, Size: 680 bytes --]
--- lvm.c~ Wed Jun 13 15:57:06 2001
+++ lvm.c Wed Jun 13 15:58:10 2001
@@ -1791,7 +1791,7 @@
int max_hardblocksize = 0, hardblocksize;
for (le = 0; le < lv->lv_allocated_le; le++) {
- hardblocksize = get_hardblocksize(lv->lv_current_pe[le].dev);
+ hardblocksize = get_hardsect_size(lv->lv_current_pe[le].dev);
if (hardblocksize == 0)
hardblocksize = 512;
if (hardblocksize > max_hardblocksize)
@@ -1801,7 +1801,7 @@
if (lv->lv_access & LV_SNAPSHOT) {
for (e = 0; e < lv->lv_remap_end; e++) {
hardblocksize =
- get_hardblocksize(
+ get_hardsect_size(
lv->lv_block_exception[e].rdev_new);
if (hardblocksize == 0)
hardblocksize = 512;
[-- Attachment #3: Type: text/plain, Size: 382 bytes --]
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| Ilya Martynov (http://martynov.org/) |
| GnuPG 1024D/323BDEE6 D7F7 561E 4C1D 8A15 8E80 E4AE BE1A 53EB 323B DEE6 |
| AGAVA Software Company (http://www.agava.com/) |
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
next prev parent reply other threads:[~2001-06-19 12:14 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-19 12:12 [linux-lvm] LVM problems Tobias Hahn
2001-06-19 12:14 ` Ilya Martynov [this message]
2001-06-19 17:27 ` Andreas Dilger
2001-06-19 19:24 ` AJ Lewis
-- strict thread matches above, loose matches on Subject: below --
2001-06-19 19:28 Gonyou, Austin
2001-06-19 21:19 ` AJ Lewis
2001-06-20 1:11 ` Ed Tomlinson
2001-06-20 13:50 ` Heinz J. Mauelshagen
2001-06-21 0:58 ` Paul Jakma
2001-06-21 9:05 ` Heinz J. Mauelshagen
2001-06-20 1:15 ` Paul Jakma
2001-06-21 8:58 ` Heinz J. Mauelshagen
2001-06-19 22:42 Gonyou, Austin
2004-02-08 17:50 [linux-lvm]LVM Problems David Rohrer
2005-12-07 1:47 [linux-lvm] LVM problems Kelly Harding
2005-12-07 2:06 ` Kelly Harding
2005-12-07 8:06 ` Anil Kumar Sharma
2005-12-07 22:13 ` Alasdair G Kergon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vglsk6o4.fsf@juil.domain \
--to=m_ilya@agava.com \
--cc=linux-LVM-Bug@sistina.com \
--cc=linux-lvm@sistina.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.