Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 172167
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Tony Vroon <chainsaw@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ulrich Müller <ulm@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
diff Proposed changes for lilo-22.8.ebuild patch Ulrich Müller 2007-03-26 09:14 0000 913 bytes Details | Diff
patch lilo-22.8-nodevmapper.patch patch Ulrich Müller 2007-04-28 20:41 0000 437 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 172167 depends on: Show dependency tree
Bug 172167 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-03-25 13:52 0000
/sbin/lilo from sys-boot/lilo-22.8 outputs the following error message:

# lilo
/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel?
Failure to communicate with kernel device-mapper driver.
Added Linux *
[...]

sys-fs/device-mapper-1.02.12 is installed on the system (not needed, but gets
pulled by dependencies of sys-apps/hal -> sys-fs/cryptsetup-luks), but the
kernel is configured without multi-device support (CONFIG_MD).

Lilo does not display the error message anymore after the following sequence of
commands:
# emerge -C device-mapper
# emerge lilo
# emerge device-mapper

Maybe it would be more appropriate to control this via a USE flag?

------- Comment #1 From Ulrich Müller 2007-03-26 09:14:34 0000 -------
Created an attachment (id=114466) [details]
Proposed changes for lilo-22.8.ebuild

Attached changes for lilo-22.8.ebuild work for me.
An "lvm2" local USE flag would already exist.

------- Comment #2 From Ulrich Müller 2007-04-28 05:53:51 0000 -------
*dah-dit-dah*

------- Comment #3 From Tony Vroon 2007-04-28 15:03:40 0000 -------
We use diffs over sed statements as they do not break silently when they no
longer apply. I will commit this on monday (even though I feel that the bug is
in the HAL dependencies).
I do not have access to non-production X86 hardware before monday. However, if
you can rework this into a proper .diff, talk to me on IRC.

------- Comment #4 From Ulrich Müller 2007-04-28 20:41:36 0000 -------
Created an attachment (id=117582) [details]
lilo-22.8-nodevmapper.patch

Attached patch should be applied if the lvm2 USE flag is unset.

Alternatively, one could pass "HDM= DEVMAPPER=" to emake in that case.

------- Comment #5 From Ulrich Müller 2007-04-28 22:05:11 0000 -------
Fixed in -r1.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug