Re: [gentoo-user] Re: System unusable after updating lvm
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. signature.asc Description: PGP signature
Re: [gentoo-user] Re: System unusable after updating lvm
Christer Ekholm wrote: [EMAIL PROTECTED] 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
Re: [gentoo-user] Re: System unusable after updating lvm
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. signature.asc Description: PGP signature
Re: [gentoo-user] Re: System unusable after updating lvm
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christer Ekholm wrote: Alexander Skwar [EMAIL PROTECTED] 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
Re: [gentoo-user] Re: System unusable after updating lvm
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. signature.asc Description: PGP signature
Re: [gentoo-user] Re: System unusable after updating lvm
-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