Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87673 - genkernel usability: Add dmraid option passing
Summary: genkernel usability: Add dmraid option passing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard: [ <Fixed 3.2.0> ]
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-04-02 07:06 UTC by Matze Braun
Modified: 2005-06-22 09:45 UTC (History)
1 user (show)

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 Matze Braun 2005-04-02 07:06:53 UTC
I constantly produce broken initrds because I forget to specify the --udev parameter. It would be very conentient to add an option in the config file for this, so that the setting is still there when you compile a new kernel.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Eric Edgar (RETIRED) gentoo-dev 2005-04-04 06:30:21 UTC
An undocumented feature of genkernel lets you put
CMD_UDEV="1"
CMD_DMRAID="1"
CMD_LVM2="1"
in /etc/genkernel.conf.  These settings are not supported and may change in the future as they are not an official setting for genkernel.conf.  A different method of turning these on officially has not been worked out yet.

udev, dmraid, and lvm2 would be added with these settings .. 0 is off .. or leave them out.
Comment 2 Eugene Gluzberg 2005-04-22 19:50:29 UTC
Also we need options for dmraid activation. for instance i need to run "dmraid -ay -f sil" because i have 2 raid controllers on the mobo. I had to modify my linuxrc in order to fix it.
Comment 3 Eric Edgar (RETIRED) gentoo-dev 2005-06-21 21:26:54 UTC
for dmraid command lines do you want to supply the whole list of options or 
should "-a y" be assumed and the rest you add on the kernel command line?

Comment 4 Eric Edgar (RETIRED) gentoo-dev 2005-06-22 08:23:26 UTC
to use this set dodmraid= on the cmdline
sets DMRAID_OPTS internally for the linuxrc

this runs /sbin/dmraid -ay ${DMRAID_OPTS}
Comment 5 Tim Yamin (RETIRED) gentoo-dev 2005-06-22 09:45:17 UTC
Fixed in 3.2.0_pre10, thanks!