Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102006 - genkernel & evms issues with xfs and dm-bbr
Summary: genkernel & evms issues with xfs and dm-bbr
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-08-10 09:53 UTC by Tiziano Müller (RETIRED)
Modified: 2005-11-22 12:07 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tiziano Müller (RETIRED) gentoo-dev 2005-08-10 09:53:45 UTC
I have setup a machine (x86) with EVMS, using lvm2 and dm-bbr.
The installation worked but it didn't boot since evms_activate() failed for two
reasons. One was that the xfs-plugin for EVMS failed, probably because there was
no xfs kernel module around in the initramfs (I can check that, if necessary).
The second problem was the missing dm-bbr module which should have been copied
to the initramfs, but wasn't.


Reproducible: Always
Steps to Reproduce:
xfs issue
1. build kernel with xfs-module and have no xfs-filesystem
2. use the initramfs generated by genkernel
3. reboot

dm-bbr issue
1. build a kernel with dm-bbr
2. use the initramfs built by genkernel
3. reboot

Actual Results:  
xfs issue:
evms_activate will fail with an error when loading the xfs-plugin

dm-bbr issue:
evms_activate will fail with an error in "evms_commit_changes()" and the
device-mapper in longs the kernel: "unknown target type"

Expected Results:  
boot.

I solved the xfs issue by deleting the plugin xfs-1.0.11.so before building the
initramfs with genkernel.

The dm-bbr issue has been solved by adding the following line to
/usr/share/genkernel/x86/modules_load:
MODULES_EVMS2="dm-mod dm-snapshot dm-mirror dm-bbr"

I think that a line 'MODULES_EVMS2="dm-mod"' should be added to the modules_load
file by default, even if the dm-mod module has been loaded automatically.
In addition to that, a configuration-option "ADDITIONAL_EVMS_MODULES" or
"ADDITIONAL_MODULES" should be added to the genkernel configuration file.
Comment 1 Eric Edgar (RETIRED) gentoo-dev 2005-08-11 06:16:43 UTC
the dm-bbr issue is incvs.

We will take your second recommendation into consideration. 

Thank you for your feedback.
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2005-09-08 09:04:52 UTC
genkernel 3.3.6 is now in CVS
Comment 3 Tiziano Müller (RETIRED) gentoo-dev 2005-10-07 15:33:21 UTC
I tested genkernel 3.3.6 today, but the "dm-bbr" bug isn't fixed in this
version, is that correct?
Comment 4 Tiziano Müller (RETIRED) gentoo-dev 2005-10-09 09:50:27 UTC
not fixed in 3.3.6.   
   
"dm-bbr" has been added to MODULES_LVM2, but a MODULES_EVMS2 is needed in the 
modules_load file since the script which loads the modules ignores MODULES_LVM2 
when doevms2 is specified on the commandline. 
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-10 07:28:39 UTC
OK... this is now InCVS... it'll show up in the next version of genkernel.
Comment 6 Eric Edgar (RETIRED) gentoo-dev 2005-11-22 12:07:17 UTC
 fixed in 3.3.7