linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Jesus Manuel NAVARRO LOPEZ <jesus_navarro@promofinarsa.es>
To: linux-lvm@sistina.com
Subject: [linux-lvm] Problem compiling LVM on 2.2.19
Date: Wed, 03 Oct 2001 14:02:43 +0200	[thread overview]
Message-ID: <3BBAFE63.1A5D0631@promofinarsa.es> (raw)

Hi, list:

This is my first post, but I didn't see nothing regarding this issue at
the list digests, so I send here:
ENVIRONMENT:
Red Hat 6.2
Kernel 2.2.19 (stock, directly downloaded from linuxkernel.org)
LVM 1.0.1-rc3

I applied the LVM included patch for raw-io: linux-2.2.18-rawio.patch
(as suggested for 2.2.19 somewhere else)
	command I used to patch was `patch -s -p1 < linux-2.2.18-rawio.patch`
	It seemed to apply cleanly.
Then I run `./configure` from base directory for LVM 1.0.1-rc3, and
seemed to run properly (LVM 1.0.1-rc2 had an error on some keywork
substitution)
Then I run `make` from the PATCHES directory, and there appeared the
"lvm-1.0.1-rc3-2.2.19-LVM-Nav01.patch", which I applied to linux sources
the same way than the previous one.
I configured then the kernel, marking LVM support as a module (support
for /proc filesystem was already added to the kernel; the same goes with
linnear support).
Then I run:
make dep
make clean
make bzImage
This seemed to go all well and good
Then, when `make modules`, the compilation stops.  This seems to be the
relevant part:

lvm.c: In function `lvm_do_lv_create':
lvm.c:2192: structure has no member named `de'
lvm.c: In function `lvm_do_lv_remove':
lvm.c:2277: structure has no member named `de'
lvm.c: At top level:
lvm.c:326: warning: `__update_hardsectsize' declared `static' but never
defined
lvm.c:1891: warning: `__update_hardblocksize' defined but not used
make[2]: *** [lvm.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.2.19/drivers/block'
make[1]: *** [_modsubdir_block] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.19/drivers'
make: *** [_mod_drivers] Error 2

That line 2192, is this one:

lvm_gendisk.part[MINOR(lv_ptr->lv_dev)].de = lvm_fs_create_lv(vg_ptr,
lv_ptr);

So, it seems, lvm_gendisk.part structure array lacks of that member "de"
Any hints? Is this a known bug?
TIA
-- 
SALUD,
Jes�s
***
jesus_navarro@promofinarsa.es
***

             reply	other threads:[~2001-10-03 12:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-03 12:02 Jesus Manuel NAVARRO LOPEZ [this message]
2001-10-03 15:55 ` [linux-lvm] Problem compiling LVM on 2.2.19 Jesus Manuel NAVARRO LOPEZ

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=3BBAFE63.1A5D0631@promofinarsa.es \
    --to=jesus_navarro@promofinarsa.es \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).