Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172167 - sys-boot/lilo-22.8: No entry for device-mapper found
Summary: sys-boot/lilo-22.8: No entry for device-mapper found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-25 13:52 UTC by Ulrich Müller
Modified: 2007-04-28 22:05 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed changes for lilo-22.8.ebuild (diff,913 bytes, patch)
2007-03-26 09:14 UTC, Ulrich Müller
Details | Diff
lilo-22.8-nodevmapper.patch (patch,437 bytes, patch)
2007-04-28 20:41 UTC, Ulrich Müller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2007-03-25 13:52:18 UTC
/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 Ulrich Müller gentoo-dev 2007-03-26 09:14:34 UTC
Created attachment 114466 [details, diff]
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 Ulrich Müller gentoo-dev 2007-04-28 05:53:51 UTC
*dah-dit-dah*
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2007-04-28 15:03:40 UTC
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 Ulrich Müller gentoo-dev 2007-04-28 20:41:36 UTC
Created attachment 117582 [details, diff]
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 Ulrich Müller gentoo-dev 2007-04-28 22:05:11 UTC
Fixed in -r1.