<div><span style="color: rgb(160, 160, 168); ">On Wednesday 4 January 2012 at 19:23, Ritesh Raj Sarraf wrote:</span></div>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div><div>On 01/04/2012 11:39 PM, Laurent Bigonville wrote:</div><blockquote type="cite"><div><div>Instead of loading all kernel modules, it could maybe be interesting</div><div>to add a config file in /etc/initramfs-tools/conf.d/ to let the user</div><div>select which hardware handler he wants to load before udev?</div></div></blockquote><div><br></div><div>Yup. That'd be the best in this case.</div><div><br></div><div>Looks like we already are doing something like that:</div><div><br></div><div>====8<================8<====================8<===</div><div><br></div><div>maybe_break pre-multipath</div><div>VERBOSITY=0</div><div>MP_MODULES="dm-multipath dm-emc"</div><div><br></div><div>if [ ! -e /sbin/multipath ]; then</div><div>        exit 0</div><div>fi</div><div><br></div><div>verbose && log_begin_msg "Loading multipath modules"</div><div>for module in ${MP_MODULES}; do</div><div>  if modprobe --syslog "$module"; then</div><div>    verbose && log_success_msg "loaded module ${module}."</div><div>  else</div><div>    log_failure_msg "failed to load module ${module}."</div><div>  fi</div><div>done</div><div>verbose && log_end_msg</div><div><br></div><div>====8<================8<====================8<===</div><div><br></div><div><br></div><div>If anyone can try this out, it'll be great.</div><div><br></div><div><br></div><div>-- </div><div>Ritesh Raj Sarraf | <a href="http://people.debian.org/~rrs">http://people.debian.org/~rrs</a></div><div>Debian - The Universal Operating System</div></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div><div><br></div><div><div>Hi,</div><div><br></div><div>I would also like to add that in the first place we are not interested in SAN boot.  The multipath script with MP_MODULES in local-top is included with multipath-tools-boot, so that wouldn't be a solution in our case as it doesn't make sense to install the multipath-tools-boot package in this situation since I don't really need multipath configuration in initramfs.  I only need it after the system has booted from its local disks.</div><div><br></div><div>Since MODULES=most in /etc/initramfs-tools/initramfs.conf this means that our HBA driver (qla2xxx) is already included in initramfs.  Because multipath and scsi_dh_rdac modules are not loaded at this point, the scsi errors cause delays.</div><div><br></div><div>Currently, I worked around this by putting MODULES=deb and load the scsi_dh_rdac driver in /etc/initramfs-tools/modules, so that the scsi_dh_rdac driver is certainly loaded before qla2xxx.  Of course this wouldn't work in a boot-from-san situation.  But configuring it like this works around the whole problem.</div><div><br></div><div>I agree with Laurent that loading the hardware handler in local-top is too late (I tested this), and should be done in init-top to make it work.</div><div><br></div><div>Best regards,</div><div><br></div><div>-- </div><div>Frido Roose</div><div>Sent with <a href="http://www.sparrowmailapp.com/?sig">Sparrow</a></div></div><div><br></div>