* [gentoo-user] can't remove device-mapper can't install it either
@ 2009-11-21 18:48 Maxim Wexler
2009-11-21 21:03 ` Steffen Loos
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Maxim Wexler @ 2009-11-21 18:48 UTC (permalink / raw
To: gentoo-user
Hi group,
Going through a rough patch after a world update. The SD card on my
netbook doesn't get mounted, ext2 filesytem not found etc. I've had
this problem before which I traced to the lack of support for SD cards
in the kernel. This time it's something else. Nothing wrong with the
fs, it can be checked and mounted manually. Device-mapper is not in
the world file but does exist in /etc/init.d and can be started and
stopped OK. When I use it I get messages in the boot console of being
incompatible with my baselayout-1.
So, I try to unmerge it, but of course portage claims I don't have it.
And if I try to emerge it, the new version is blocked by the version
I'm supposed ot have?!
In an earlier post 'device-mapper', somebody suggested installing lvm2
and not using device-mapper but this doesn't work for me -- assuming
my problem has anything to do with device-mapper.
Maxim
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] can't remove device-mapper can't install it either
2009-11-21 18:48 [gentoo-user] can't remove device-mapper can't install it either Maxim Wexler
@ 2009-11-21 21:03 ` Steffen Loos
2009-11-21 21:49 ` Alan McKinnon
2009-11-22 22:19 ` Urs Schuetz
2 siblings, 0 replies; 11+ messages in thread
From: Steffen Loos @ 2009-11-21 21:03 UTC (permalink / raw
To: gentoo-user
Maxim Wexler schrieb:
> Hi group,
>
> Going through a rough patch after a world update. The SD card on my
> netbook doesn't get mounted, ext2 filesytem not found etc. I've had
> this problem before which I traced to the lack of support for SD cards
> in the kernel. This time it's something else. Nothing wrong with the
> fs, it can be checked and mounted manually. Device-mapper is not in
> the world file but does exist in /etc/init.d and can be started and
> stopped OK. When I use it I get messages in the boot console of being
> incompatible with my baselayout-1.
>
> So, I try to unmerge it, but of course portage claims I don't have it.
> And if I try to emerge it, the new version is blocked by the version
> I'm supposed ot have?!
I assume emerge can't install because of some files lying arround from an earlier install?
Then you can just remove/rename these files.
A quick word of advice: If you send some related messages (e.g. from emerge) within your mail it's easier to help.
Steffen
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] can't remove device-mapper can't install it either
2009-11-21 18:48 [gentoo-user] can't remove device-mapper can't install it either Maxim Wexler
2009-11-21 21:03 ` Steffen Loos
@ 2009-11-21 21:49 ` Alan McKinnon
2009-11-22 1:40 ` Maxim Wexler
2009-11-22 22:19 ` Urs Schuetz
2 siblings, 1 reply; 11+ messages in thread
From: Alan McKinnon @ 2009-11-21 21:49 UTC (permalink / raw
To: gentoo-user
On Saturday 21 November 2009 20:48:04 Maxim Wexler wrote:
> Hi group,
>
> Going through a rough patch after a world update. The SD card
on my
> netbook doesn't get mounted, ext2 filesytem not found etc. I've
had
> this problem before which I traced to the lack of support for
SD cards
> in the kernel. This time it's something else. Nothing wrong
with the
> fs, it can be checked and mounted manually. Device-mapper is
not in
> the world file but does exist in /etc/init.d and can be started
and
> stopped OK. When I use it I get messages in the boot console of
being
> incompatible with my baselayout-1.
There's your problem right there. Your device-mapper can't work
with baselayout-1. So, your options:
Upgrade to baselayout-2 and openrc. You'll have to do it sooner
or later, and right now seems to be to be a very good time to do
it.
device-mapper has moved into lvm2 (as lvm is the primary consumer
of device-mapper). If device-mapper is not installed according to
portage, and you have files left, then they are orphans left over
because of CONFIG_PROTECT and can be deleted. Then emerge lvm2
>
> So, I try to unmerge it, but of course portage claims I don't
have it.
> And if I try to emerge it, the new version is blocked by the
version
> I'm supposed ot have?!
>
> In an earlier post 'device-mapper', somebody suggested
installing lvm2
> and not using device-mapper but this doesn't work for me --
assuming
> my problem has anything to do with device-mapper.
>
> Maxim
>
--
alan dot mckinnon at gmail dot com
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] can't remove device-mapper can't install it either
2009-11-21 21:49 ` Alan McKinnon
@ 2009-11-22 1:40 ` Maxim Wexler
2009-11-22 2:30 ` Alan McKinnon
0 siblings, 1 reply; 11+ messages in thread
From: Maxim Wexler @ 2009-11-22 1:40 UTC (permalink / raw
To: gentoo-user
> There's your problem right there. Your device-mapper can't work
> with baselayout-1. So, your options:
>
> Upgrade to baselayout-2 and openrc.
Done, following
http://www.gentoo.org/doc/en/openrc-migration.xml
No joy.
After '*Autoloaded 24 module(s)' in the boot console there's the bit
'*lvm uses addon code which is deprecated' followed by '*Setting up
the LVM...*Checking local filesystems...' /dev/sda1 passes but
fsck.ext2 can't find /dev/sdb1,2 so /var and /home don't get mounted
and the system is crippled, although I can still login and mount by
hand.
> device-mapper has moved into lvm2 (as lvm is the primary consumer
> of device-mapper). If device-mapper is not installed according to
> portage, and you have files left, then they are orphans left over
> because of CONFIG_PROTECT and can be deleted. Then emerge lvm2
>
I removed /etc/conf.d/device-mapper and /etc/init.d/device-mapper. I
emerged lvm2 and lvm is 'started', according to '/etc/init.d/lvm
status'. Question: Is there supposed to be an lvm2 in init.d? I just
have lvm.
IIRC in a thread from a few months ago there was a tip about putting
the 'pause <secs>' command into a certain config file, which I can't
recall. Or was it 'delay <secs>' or 'time <secs>' ? This was meant for
the hardware to catch its breath so to speak and allow the system to
find the SD card. This was about the same time I noticed that SD
support was missing from the kernel. So maybe it was the the delay I
added to that script, which may have disappeared in an etc-update
session, and not the SD support after all. Grabbing straws here ;(
mw
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] can't remove device-mapper can't install it either
2009-11-22 1:40 ` Maxim Wexler
@ 2009-11-22 2:30 ` Alan McKinnon
2009-11-22 18:18 ` Maxim Wexler
0 siblings, 1 reply; 11+ messages in thread
From: Alan McKinnon @ 2009-11-22 2:30 UTC (permalink / raw
To: gentoo-user
On Sunday 22 November 2009 03:40:50 Maxim Wexler wrote:
> > There's your problem right there. Your device-mapper can't work
> > with baselayout-1. So, your options:
> >
> > Upgrade to baselayout-2 and openrc.
>
> Done, following
>
> http://www.gentoo.org/doc/en/openrc-migration.xml
>
> No joy.
>
> After '*Autoloaded 24 module(s)' in the boot console there's the bit
> '*lvm uses addon code which is deprecated' followed by '*Setting up
> the LVM...*Checking local filesystems...' /dev/sda1 passes but
> fsck.ext2 can't find /dev/sdb1,2 so /var and /home don't get mounted
> and the system is crippled, although I can still login and mount by
> hand.
What does that have to do with device-mapper and lvm?
/dev/sd* are physical block devices, not lvm's problem. Check you have support
built for whatever those drives are
> > device-mapper has moved into lvm2 (as lvm is the primary consumer
> > of device-mapper). If device-mapper is not installed according to
> > portage, and you have files left, then they are orphans left over
> > because of CONFIG_PROTECT and can be deleted. Then emerge lvm2
>
> I removed /etc/conf.d/device-mapper and /etc/init.d/device-mapper. I
> emerged lvm2 and lvm is 'started', according to '/etc/init.d/lvm
> status'. Question: Is there supposed to be an lvm2 in init.d? I just
> have lvm.
The package is called lvm2.
The script it installs is lvm
> IIRC in a thread from a few months ago there was a tip about putting
> the 'pause <secs>' command into a certain config file, which I can't
> recall. Or was it 'delay <secs>' or 'time <secs>' ? This was meant for
> the hardware to catch its breath so to speak and allow the system to
> find the SD card. This was about the same time I noticed that SD
> support was missing from the kernel. So maybe it was the the delay I
> added to that script, which may have disappeared in an etc-update
> session, and not the SD support after all. Grabbing straws here ;(
Is sdb an SD device? Is the module loaded?
And if you let such an important thing get trashed by etc-update, then you
only have yourself to blame. That'll teach you :-)
--
alan dot mckinnon at gmail dot com
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] can't remove device-mapper can't install it either
2009-11-21 18:48 [gentoo-user] can't remove device-mapper can't install it either Maxim Wexler
2009-11-21 21:03 ` Steffen Loos
2009-11-21 21:49 ` Alan McKinnon
@ 2009-11-22 22:19 ` Urs Schuetz
2 siblings, 0 replies; 11+ messages in thread
From: Urs Schuetz @ 2009-11-22 22:19 UTC (permalink / raw
To: gentoo-user
Could be baselayout-1. Please take a look at bug #291916 [1]
[1] http://bugs.gentoo.org/291916
Urs
^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <dJ4ro-754-15@gated-at.bofh.it>]
end of thread, other threads:[~2009-11-23 20:18 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-21 18:48 [gentoo-user] can't remove device-mapper can't install it either Maxim Wexler
2009-11-21 21:03 ` Steffen Loos
2009-11-21 21:49 ` Alan McKinnon
2009-11-22 1:40 ` Maxim Wexler
2009-11-22 2:30 ` Alan McKinnon
2009-11-22 18:18 ` Maxim Wexler
2009-11-22 20:31 ` Alan McKinnon
2009-11-23 19:20 ` Maxim Wexler
2009-11-22 22:19 ` Urs Schuetz
[not found] <dJ4ro-754-15@gated-at.bofh.it>
2009-11-21 22:17 ` David W Noon
2009-11-21 22:27 ` Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox