Gentoo Archives: gentoo-user

From: Dirk Heinrichs <ext-dirk.heinrichs@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started)
Date: Wed, 06 Sep 2006 12:04:16
Message-Id: 200609061357.46219.ext-dirk.heinrichs@nokia.com
In Reply to: Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started) by Stephen Liu
1 Am Mittwoch, 6. September 2006 11:16 schrieb ext Stephen Liu:
2
3 > > Am Mittwoch, 6. September 2006 03:12 schrieb ext Stephen Liu:
4 > > > I think following warning is critical;
5 > > > device-mapper : dm-linear : Device lookup failed
6 > > > device-mapper : error adding target to table
7 > >
8 > > Did you compile dm into the kernel (or: Is the dm-mod modules
9 > > loaded?)?
10 >
11 > At time of installation I ran;
12 > # modprobe dm-mod
13 > No printout
14 >
15 > Afterwards I found it for "Loading the LVM2 module". I ran LVM not
16 > LVM2 so I did not care it further.
17
18 There is no LVM2 module.
19
20 > I think following warning is a major problem;
21 > device-mapper : dm-linear : Device lookup failed
22 > device-mapper : error adding target to table
23
24 From the EVMS FAQ:
25
26 "Q. I'm running on a 2.6 kernel and some or all of my volumes fail to get
27 activated. The volumes don't show up in the /dev/evms/ directory and I get
28 the following errors in my kernel log:
29 device-mapper: dm-linear: Device lookup failed
30 device-mapper: error adding target to table
31
32 A. You probably need to apply the bd-claim patch to your kernel. See
33 http://evms.sf.net/install/kernel.html#bdclaim for more details about this
34 patch and other possible options."
35
36 The problem is that beginning with kernel 2.6 it is no longer allowed to
37 talk to devices via different paths (i.e. /dev/hda1 and /dev/evms/hda1). So
38 evms_activate (or: the device-mapper) will have problems creating a mapping
39 when the device is allready used via a different path. However, from the
40 other mails in this thread, I don't see where this is happening.
41
42 Are you using both lvm2 tools _and_ EVMS? Then it is clear that the latter
43 will fail.
44
45 Bye...
46
47 Dirk
48 --
49 Dirk Heinrichs | Tel: +49 (0)162 234 3408
50 Configuration Manager | Fax: +49 (0)211 47068 111
51 Capgemini Deutschland | Mail: dirk.heinrichs@×××××××××.com
52 Hambornerstraße 55 | Web: http://www.capgemini.com
53 D-40472 Düsseldorf | ICQ#: 110037733
54 GPG Public Key C2E467BB | Keyserver: www.keyserver.net

Replies

Subject Author
Re: [gentoo-user] Re: Again - problem on installing Gentoo (Gentoo started) Stephen Liu <satimis@×××××.com>