[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: MD device not found on boot



On 3/2/2012 3:37 AM, Daniel Bareiro wrote:
> 
> Hi all!
> 
> Currently I have a host with Debian GNU/Linux Lenny on which I've
> compiled a 2.6.32 kernel (using the Backports source code) to add
> support of Layer7 and IMQ.
> 
> The package with the Backports kernel binary works well, but when I boot
> my compiled kernel, MD device on / is not found. The configuration file
> that I took as a reference is the provided by the installed Backports
> kernel binary, so I think it should include modules for MD, and then I
> could confirm this in the configuration file used to compile my kernel.
> 
> Perhaps it is a problem in generating the initrd file? The process I
> used to compile and install the kernel is the Debian way, creating a
> package then installed with dpkg.

How often do unload the md module while your system is running?  Never?

Then build md directly into your kernel, not as a module.  Problem
solved.  In fact, if you're building a custom kernel for use on a single
machine, remove module support entirely, and build all of your drivers
directly into the kernel.  I've done this for many many years.  It makes
many things much easier.

-- 
Stan


Reply to: