Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54535 - sys-fs/lvm2 new version 2.00.19, now 2.00.20
Summary: sys-fs/lvm2 new version 2.00.19, now 2.00.20
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 54201 (view as bug list)
Depends on: 54534
Blocks:
  Show dependency tree
 
Reported: 2004-06-20 09:59 UTC by lison
Modified: 2004-11-14 09:33 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
lvm2.patch (patch,1.41 KB, patch)
2004-06-23 04:01 UTC, Andreas Simon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description lison 2004-06-20 09:59:40 UTC
1) copied old ebuild (2.00.15) to overlay / lvm2-2.00.17.ebuild
2) cretaed digest
3) emerge lvm2
4) works fine on my dual PIII server




Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Andreas Simon 2004-06-23 03:41:18 UTC
Yes, works fine for me too.
I added a dependency on bug 54534, because lvm2 and device-mapper
should be updated together.

The new lvm2 also contains an lvm2create_initrd script.
The ebuild doesn't install this script. It needs modification
for this and this will also add an additional dependency on busybox.
To create the man page for lvm2create_initrd a dependency on perl (pod2man)
is needed.

Here the announcement for the release:
https://www.redhat.com/archives/dm-devel/2004-June/msg00082.html
Comment 2 Andreas Simon 2004-06-23 04:01:10 UTC
Created attachment 33939 [details, diff]
lvm2.patch

Here a patch for the lvm2 ebuild.
It adds a new 'initrd' use variable and depending on it
installs the lvm2create_initrd script and it's man page and README.

I have NOT tested this script but it should be a help for
people with their rootfs on lvm volumes.
Comment 3 ali asad lotia 2004-06-24 09:09:18 UTC
i'm having trouble compiling the lvm2-2.00.08.ebuild and the lvm2-2.00.15.ebuild. i am currently in the process of setting up gentoo on a p4 1.8 and have not been able to get the lvm2  tools to compile.

i have an nptl enabled glibc and have the latest current kernel headers installed (sys-kernel/linux-headers-2.6.7). i think i am installing off the 2004.0 livecd. i have also compiled and installed the linux-2.6.7-gentoo-r5 kernel sources and have compiled a kernel using those sources. i am still running off the kernel on the bootdisk.

In file included from /usr/include/linux/prefetch.h:14,
                 from /usr/include/linux/list.h:5,
                 from /usr/include/linux/wait.h:12,
                 from /usr/include/linux/fs.h:12,
                 from device/dev-io.c:34:
/usr/include/asm/processor.h:406: error: syntax error before numeric constant
/usr/include/asm/processor.h:406: error: `print_log' declared as function returning an array
/usr/include/asm/processor.h:406: error: field `print_log' declared as a function
/usr/include/asm/processor.h:494: error: syntax error before numeric constant
In file included from /usr/include/linux/wait.h:12,
                 from /usr/include/linux/fs.h:12,
                 from device/dev-io.c:34:
/usr/include/linux/list.h:64: error: conflicting types for `list_add'
../include/list.h:33: error: previous declaration of `list_add'
/usr/include/linux/list.h:160: error: conflicting types for `list_del'
../include/list.h:55: error: previous declaration of `list_del'
/usr/include/linux/list.h:234: error: conflicting types for `list_empty'
../include/list.h:61: error: previous declaration of `list_empty'
device/dev-io.c: In function `dev_open_flags':
device/dev-io.c:328: warning: passing arg 1 of `list_add' from incompatible pointer type
device/dev-io.c:328: warning: passing arg 2 of `list_add' from incompatible pointer type
device/dev-io.c: In function `_close':
device/dev-io.c:357: warning: passing arg 1 of `list_del' from incompatible pointer type
make[1]: *** [device/dev-io.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/lvm2-2.00.15/work/LVM2.2.00.15/lib'
make: *** [lib] Error 2

!!! ERROR: sys-fs/lvm2-2.00.15 failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! compile problem

i even tried to follow the last comment in this bugreport and attempted to install the lvm2-2.00.17 but had no luck. i then patched it using the patch in the previous comment, but was still unable to compile it.
Comment 4 Andreas Simon 2004-06-24 09:35:07 UTC
Your compile problem probably comes from the usage of sys-kernel/linux-headers-2.6.7. They are marked -* because
of exactly that reason -- some software doesn't compile with them.

I have no patch for you but here lvm2-2.00.17 and 2.00.15
compile both with sys-kernel/linux-headers-2.6.6-r1.

I think it's a bad idea to always use the latest kernel-headers,
they make things break.
Comment 5 lison 2004-06-25 03:56:03 UTC
2.00.18: Fixes a recently-introduced vgchange bug.
Adds support for clusters over shared storage:
  See also CLVM and usage.txt at 
Comment 6 lison 2004-06-29 16:22:19 UTC
Changes in 2.00.19: 
  Add init_debug to clvmd.
  Reduce severity of setlocale failure message.
  Added --disable-selinux to configure script.
  LD_FLAGS->LDFLAGS & LD_DEPS->LDDEPS in configure script.
  Make -O2 configurable.
  Recognise argv[0] "initrd-lvm" (pld-linux).
Comment 7 lison 2004-07-03 12:37:47 UTC
1) copied old ebuild (2.00.15) to overlay / lvm2-2.00.20.ebuild
2) cretaed digest
3) emerge lvm2
4) works fine on my dual PIII server
Comment 8 Daniel Webert 2004-08-23 18:37:18 UTC
*** Bug 54201 has been marked as a duplicate of this bug. ***
Comment 9 Daniel Webert 2004-08-23 18:40:44 UTC
latest is 2.00.21

#54534 is fixed and closed, the latest dmapper is in cvs - so can we bump the new version?
Comment 10 Daniel Palmer 2004-09-28 01:11:17 UTC
2.00.24 worked fine as a bump of 2.00.15-r1 (with USE="static" on amd64).

Also mostly does away with the need for lvm2create_initrd - I'm using only a slightly modified genkernel initrd - with root on LVM now  :)
Comment 11 Max Kalika (RETIRED) gentoo-dev 2004-11-14 09:33:40 UTC
.25 is committed with a few tweaks (added optional readline support and simplified static support).  I'm not including the initrd stuff for now as the last comment suggests that it's not needed.  If that is not the consensus, open a new one please.  Thanks for the report!