public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] System unusable after updating lvm
@ 2006-04-20 19:10 lgouv
  2006-04-20 19:27 ` [gentoo-user] " Christer Ekholm
  2006-04-21 18:31 ` [gentoo-user] " Alexander Skwar
  0 siblings, 2 replies; 10+ messages in thread
From: lgouv @ 2006-04-20 19:10 UTC (permalink / raw
  To: gentoo-user

After updating  lvm2 from 2.02.02 to 2.02.03, the system mount / which
is on a primary partition but frefus to mount /usr,/var,/home and /tmp.
On the console I see: 
Setting up the logical volume manager
Volume group for uuid not found: m6reV.........(four times)
Any idea?
Thanks
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-user] Re: System unusable after updating lvm
  2006-04-20 19:10 [gentoo-user] System unusable after updating lvm lgouv
@ 2006-04-20 19:27 ` Christer Ekholm
  2006-04-21  8:41   ` Alexander Skwar
  2006-04-21 18:31 ` [gentoo-user] " Alexander Skwar
  1 sibling, 1 reply; 10+ messages in thread
From: Christer Ekholm @ 2006-04-20 19:27 UTC (permalink / raw
  To: gentoo-user

lgouv@tele2.be writes:

> After updating  lvm2 from 2.02.02 to 2.02.03, the system mount / which
> is on a primary partition but frefus to mount /usr,/var,/home and /tmp.
> On the console I see: 
> Setting up the logical volume manager
> Volume group for uuid not found: m6reV.........(four times)
> Any idea?

Happened to me too. I had to boot from livecd to copy lvm and some
libs to get it up again. (I used ldd lvm to see which libs i needed
also).

--
 Christer
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: System unusable after updating lvm
  2006-04-20 19:27 ` [gentoo-user] " Christer Ekholm
@ 2006-04-21  8:41   ` Alexander Skwar
  2006-04-21 10:17     ` Neil Bothwick
  2006-04-21 10:45     ` Christer Ekholm
  0 siblings, 2 replies; 10+ messages in thread
From: Alexander Skwar @ 2006-04-21  8:41 UTC (permalink / raw
  To: gentoo-user

Christer Ekholm wrote:
> lgouv@tele2.be writes:
> 
>> After updating  lvm2 from 2.02.02 to 2.02.03, the system mount / which
>> is on a primary partition but frefus to mount /usr,/var,/home and /tmp.
>> On the console I see: 
>> Setting up the logical volume manager
>> Volume group for uuid not found: m6reV.........(four times)
>> Any idea?
> 
> Happened to me too. I had to boot from livecd to copy lvm and some
> libs to get it up again. (I used ldd lvm to see which libs i needed
> also).

Hm, did yo note the following warning?

WARN: postinst
An old version of an installed library was detected on your system.
In order to avoid breaking packages that link against it, this older version
is not being removed.  In order to make full use of this newer version,
you will need to execute the following command:
   revdep-rebuild --library libdevmapper.so.1.01

After doing that, you can safely remove /lib/libdevmapper.so.1.01
Note: 'emerge gentoolkit' to get revdep-rebuild

Alexander Skwar
-- 
Remember, there's a big difference between kneeling down and bending over.
- Frank Zappa
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: System unusable after updating lvm
  2006-04-21  8:41   ` Alexander Skwar
@ 2006-04-21 10:17     ` Neil Bothwick
  2006-04-21 10:45     ` Christer Ekholm
  1 sibling, 0 replies; 10+ messages in thread
From: Neil Bothwick @ 2006-04-21 10:17 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 951 bytes --]

On Fri, 21 Apr 2006 10:41:09 +0200, Alexander Skwar wrote:

> WARN: postinst
> An old version of an installed library was detected on your system.
> In order to avoid breaking packages that link against it, this older
> version is not being removed.  In order to make full use of this newer
> version, you will need to execute the following command:
>    revdep-rebuild --library libdevmapper.so.1.01

I didn't get this warning, because I have version 1.02 of this library,
but I still ended up with a broken system. My root partition was fine
(Thank $DEITY I tried this on my laptop first) so I could untar the
package from the previous version (the ebuild had been removed from
portage). I got lots of errors about UUIDs with the new version.

There's now a further update to lvm2 and device-mapper in portage, so I'll
see what happens this time.


-- 
Neil Bothwick

Become a computer programmer and never see the the world.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-user]  Re: System unusable after updating lvm
  2006-04-21  8:41   ` Alexander Skwar
  2006-04-21 10:17     ` Neil Bothwick
@ 2006-04-21 10:45     ` Christer Ekholm
  2006-04-21 14:07       ` Rumen Yotov
  1 sibling, 1 reply; 10+ messages in thread
From: Christer Ekholm @ 2006-04-21 10:45 UTC (permalink / raw
  To: gentoo-user

Alexander Skwar <listen@alexander.skwar.name> writes:

> Hm, did yo note the following warning?
>
> WARN: postinst
> An old version of an installed library was detected on your system.
> In order to avoid breaking packages that link against it, this older version
> is not being removed.  In order to make full use of this newer version,
> you will need to execute the following command:
>   revdep-rebuild --library libdevmapper.so.1.01
>
> After doing that, you can safely remove /lib/libdevmapper.so.1.01
> Note: 'emerge gentoolkit' to get revdep-rebuild

No, I did not. And I don't think I did get that warning.

$grep revdep-rebuild /var/log/portage/*lvm*

... nothing.

And I don't have libdevmapper.so.1.01 I have /lib/libdevmapper.so.1.02


$equery l sys-fs/device-mapper
[ Searching for package 'device-mapper' in 'sys-fs' among: ]
 * installed packages
[I--] [ ~] sys-fs/device-mapper-1.02.03 (0)


--
 Christer

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user]  Re: System unusable after updating lvm
  2006-04-21 10:45     ` Christer Ekholm
@ 2006-04-21 14:07       ` Rumen Yotov
  2006-04-21 21:24         ` Neil Bothwick
  0 siblings, 1 reply; 10+ messages in thread
From: Rumen Yotov @ 2006-04-21 14:07 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christer Ekholm wrote:
> Alexander Skwar <listen@alexander.skwar.name> writes:
> 
>> Hm, did yo note the following warning?
>>
>> WARN: postinst
>> An old version of an installed library was detected on your system.
>> In order to avoid breaking packages that link against it, this older version
>> is not being removed.  In order to make full use of this newer version,
>> you will need to execute the following command:
>>   revdep-rebuild --library libdevmapper.so.1.01
>>
>> After doing that, you can safely remove /lib/libdevmapper.so.1.01
>> Note: 'emerge gentoolkit' to get revdep-rebuild
> 
> No, I did not. And I don't think I did get that warning.
> 
> $grep revdep-rebuild /var/log/portage/*lvm*
> 
> ... nothing.
> 
> And I don't have libdevmapper.so.1.01 I have /lib/libdevmapper.so.1.02
> 
> 
> $equery l sys-fs/device-mapper
> [ Searching for package 'device-mapper' in 'sys-fs' among: ]
>  * installed packages
> [I--] [ ~] sys-fs/device-mapper-1.02.03 (0)
> 
> 
> --
>  Christer
> 
Hi,
Something's wrong here, on boot i too receive some messages while
mounting/activating LVMs, but they mount OK.
Checking saw i have both /lib/libdevmapper.so.1.01 and
/lib/libdevmapper.so.1.02. Both belong to "device-mapper":
# qfile /lib/libdevmapper.so.1.01
sys-fs/device-mapper (/lib/libdevmapper.so.1.01)
# qfile /lib/libdevmapper.so.1.02
sys-fs/device-mapper (/lib/libdevmapper.so.1.02)
The sizes are *different* the times are equal:
# ls -l /lib/libdevmapper.so.1.01
- -r-xr-xr-x 1 root root 25056 2006-03-05 10:50 /lib/libdevmapper.so.1.01
# ls -l /lib/libdevmapper.so.1.02
- -r-xr-xr-x 1 root root 58036 2006-03-05 10:50 /lib/libdevmapper.so.1.02
But running "revder-rebuild" gives me nothing to rebuild:
# revdep-rebuild --ignore --library /lib/libdevmapper.so.1.01 -p vv
Configuring search environment for revdep-rebuild

Checking reverse dependencies...

Packages containing binaries and libraries using /lib/libdevmapper.so.1.01
will be emerged.

Collecting system binaries and libraries... done.
  (/root/.revdep-rebuild.1_files)

Checking dynamic linking...
 done.
  (/root/.revdep-rebuild_253e709e.3_rebuild)

Assigning files to ebuilds... Nothing to rebuild

Evaluating package order... done.
  (/root/.revdep-rebuild_253e709e.5_order)

There are no dynamic links to /lib/libdevmapper.so.1.01... All done.
...END...
Running the same but for the other one (02):
# revdep-rebuild --ignore --library /lib/libdevmapper.so.1.02 -p
Configuring search environment for revdep-rebuild

Checking reverse dependencies...

Packages containing binaries and libraries using /lib/libdevmapper.so.1.02
will be emerged.

Collecting system binaries and libraries... done.
  (/root/.revdep-rebuild.1_files)

Checking dynamic linking...
  found /sbin/dmsetup
 done.
  (/root/.revdep-rebuild_b19b1fe1.3_rebuild)

Assigning files to ebuilds... done.
  (/root/.revdep-rebuild_b19b1fe1.4_ebuilds)

Evaluating package order... done.
  (/root/.revdep-rebuild_b19b1fe1.5_order)

All prepared. Starting rebuild...
emerge --oneshot -p vv =sys-fs/device-mapper-1.02.03

These are the packages that would be merged, in order:
...END...
The problem here seems to be that LVM2 (which is build statically, and
no static USE-flag present). sys-fs/lvm2-2.02.03
Checked - is a static binary, but must somehow be build against the
older library (code), so the said messages/warnings.
Will try rebuilding 'device-mapper' then 'lvm2' and rename the minor
version library.
Or some other app is links against the old version (reverse deps):
# dep -L device-mapper
sys-fs/device-mapper:
        app-crypt/truecrypt-4.1              >=sys-fs/device-mapper-1.00.08
        sys-fs/cryptsetup-luks-1.0.1-r2
>=sys-fs/device-mapper-1.00.07-r1
        sys-fs/lvm2-2.02.03                  >=sys-fs/device-mapper-1.02.03
...END...
HTH.Rumen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2-ecc0.1.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFESOcqNbtuTtsWD3wRAte/AJ9EsGJiKwM4oQRRC8QQHtYm5ysgoACfXXEf
jJ0Ir55HpP2RLqguNeWbE1s=
=cbxY
-----END PGP SIGNATURE-----
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] System unusable after updating lvm
  2006-04-20 19:10 [gentoo-user] System unusable after updating lvm lgouv
  2006-04-20 19:27 ` [gentoo-user] " Christer Ekholm
@ 2006-04-21 18:31 ` Alexander Skwar
  1 sibling, 0 replies; 10+ messages in thread
From: Alexander Skwar @ 2006-04-21 18:31 UTC (permalink / raw
  To: gentoo-user

lgouv@tele2.be wrote:

> Volume group for uuid not found: m6reV.........(four times)
> Any idea?

http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/sys-fs/lvm2/ChangeLog

# ChangeLog for sys-fs/lvm2
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/www/www.gentoo.org/raw_cvs/gentoo-x86/sys-fs/lvm2/ChangeLog,v 1.61 2006/04/21 14:56:30 rocket Exp $

   21 Apr 2006; Eric Edgar <rocket@gentoo.org> -lvm2-2.02.03.ebuild,
   -lvm2-2.02.04.ebuild:
   Removed lvm2-2.02.03 and lvm2-2.02.04 as they have issue reading metadata on
   disk. Downgrade to lvm2-2.02.02-r1 until upstream can fix

Alexander Skwar
-- 
Were there fewer fools, knaves would starve.
- Anonymous
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user]  Re: System unusable after updating lvm
  2006-04-21 14:07       ` Rumen Yotov
@ 2006-04-21 21:24         ` Neil Bothwick
  2006-04-22  4:33           ` Rumen Yotov
  0 siblings, 1 reply; 10+ messages in thread
From: Neil Bothwick @ 2006-04-21 21:24 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 611 bytes --]

On Fri, 21 Apr 2006 17:07:38 +0300, Rumen Yotov wrote:

> The problem here seems to be that LVM2 (which is build statically, and
> no static USE-flag present). sys-fs/lvm2-2.02.03
> Checked - is a static binary, but must somehow be build against the
> older library (code), so the said messages/warnings.
> Will try rebuilding 'device-mapper' then 'lvm2' and rename the minor
> version library.

I believe it has nothing to do with the device-mapper version. I already
had 1.02 before I updated lvm2 and had the same problems.


-- 
Neil Bothwick

Walk softly and carry a fully charged phazer.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user]  Re: System unusable after updating lvm
  2006-04-21 21:24         ` Neil Bothwick
@ 2006-04-22  4:33           ` Rumen Yotov
  2006-04-22 19:34             ` Neil Bothwick
  0 siblings, 1 reply; 10+ messages in thread
From: Rumen Yotov @ 2006-04-22  4:33 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Neil Bothwick wrote:
> On Fri, 21 Apr 2006 17:07:38 +0300, Rumen Yotov wrote:
> 
>> The problem here seems to be that LVM2 (which is build statically, and
>> no static USE-flag present). sys-fs/lvm2-2.02.03
>> Checked - is a static binary, but must somehow be build against the
>> older library (code), so the said messages/warnings.
>> Will try rebuilding 'device-mapper' then 'lvm2' and rename the minor
>> version library.
> 
> I believe it has nothing to do with the device-mapper version. I already
> had 1.02 before I updated lvm2 and had the same problems.
> 
> 
Hi,
Same here, still no fix (was to be expected, but had to try).
Now emerging 2.02.04-r1 (03, 04 are gone, 02-r1 is back) have some new
patches. Fixage is expected in 2.02.05 i assume (Changelog).
HTH.Rumen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2-ecc0.1.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFESbIiNbtuTtsWD3wRAuKHAJsGFmmwDSLVWPUKqKqTrHssq7+a3ACgmvF2
u6MOZDhSpIDc41olKsACvoI=
=jPZX
-----END PGP SIGNATURE-----
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user]  Re: System unusable after updating lvm
  2006-04-22  4:33           ` Rumen Yotov
@ 2006-04-22 19:34             ` Neil Bothwick
  0 siblings, 0 replies; 10+ messages in thread
From: Neil Bothwick @ 2006-04-22 19:34 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 324 bytes --]

On Sat, 22 Apr 2006 07:33:38 +0300, Rumen Yotov wrote:

> Same here, still no fix (was to be expected, but had to try).
> Now emerging 2.02.04-r1 (03, 04 are gone, 02-r1 is back) have some new
> patches.

I've just emerged 2.02.04-r1 and it rebooted fine.


-- 
Neil Bothwick

Windows booting: insert CD-ROM 2.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-04-22 19:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-20 19:10 [gentoo-user] System unusable after updating lvm lgouv
2006-04-20 19:27 ` [gentoo-user] " Christer Ekholm
2006-04-21  8:41   ` Alexander Skwar
2006-04-21 10:17     ` Neil Bothwick
2006-04-21 10:45     ` Christer Ekholm
2006-04-21 14:07       ` Rumen Yotov
2006-04-21 21:24         ` Neil Bothwick
2006-04-22  4:33           ` Rumen Yotov
2006-04-22 19:34             ` Neil Bothwick
2006-04-21 18:31 ` [gentoo-user] " Alexander Skwar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox