Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 101535

Summary: Genkernel changes device mapper support in .config file from y to m
Product: Gentoo Hosted Projects Reporter: M.J. Prinsen <lists>
Component: genkernelAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: RESOLVED FIXED    
Severity: normal CC: gerald.schneider
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description M.J. Prinsen 2005-08-06 04:10:15 UTC
When the option "device mapper support" (Device drivers, Multi-device support
(RAID and LVM)) is set to 'y' with for instance make menuconfig then genkernel
changes this option to 'm' when running the genkernel command.
I run the genkernel command with different options:
genkernel --no-clean --no-mrproper --menuconfig --dmraid all
genkernel --no-mrproper --oldconfig --menuconfig --dmraid all

I also did a manual 'make menuconfig' and run 'genkernel --no-clean
--no-mrproper --dmraid all'

When I check the .config file after running the genkernel command I see the
option CONFIG_BLK_DEV_DM=y has changed to CONFIG_BLK_DEV_DM=m

Reproducible: Always
Steps to Reproduce:
1. Do a manual 'make menuconfig' and change the option "device mapper support"
(Device drivers, Multi-device support (RAID and LVM))to 'y'
2. Check if the option CONFIG_BLK_DEV_DM=y in the .config file is set after step 
3. Run the genkernel command
4. Check that now the option CONFIG_BLK_DEV_DM=m is set in the .config file
Actual Results:  
Device-mapper support is not included in the main-kernel

Expected Results:  
Device-mapper should be included in the main-kernel, not as module
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2005-08-06 05:10:54 UTC
Hrrrmn.... it should only set it to m if it is set to n, not y.  That's probably my mistake.

I fixed it in genkernel's CVS, so when the next version comes out, it will be fixed.
Comment 2 Gerald Schneider 2005-08-19 00:34:46 UTC
*** Bug 102999 has been marked as a duplicate of this bug. ***
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2005-09-08 09:03:29 UTC
genkernel 3.3.6 is now in CVS