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

Bug#357980: initramfs-tools: Should include cpqarray module by default?



Package:  initramfs-tools
Version:  0.53c
Severity: important
Tags:     patch

I just upgraded a Compaq ProLiant DL360 with Debian/etch to use the
2.6.15-1-686-smp kernel, and ran into a problem in the process.  The
RAID controller module, cpqarray, was not included in the initrd by
default, and the boot failed as the root file system was missing.

I managed to work around the problem by adding it to
/etc/mkinitramfs/modules, but believe it is better to make sure the
kernel module is installed by default to get it working out of the box
on this hardware.

I tried running update-initramfs with the -v option to get some info
on the kernel modules included by default, but it was rather silent.
Perhaps it should report the list of kernel modules included in the
initrd?  This was all the output I got:

  # update-initramfs -k 2.6.15-1-686-smp -u -v
  Generating /boot/initrd.img-2.6.15-1-686-smp
  #

Here is a patch to add the cpqarray module to the list of SCSI modules
to load.

--- /usr/share/initramfs-tools/hook-functions.orig   2006-02-27 10:50:38.000000000 +0100
+++ /usr/share/initramfs-tools/hook-functions 2006-03-20 17:03:50.000000000 +0100
@@ -153,7 +153,7 @@
                done
        ;;
        scsi)
-               for x in 3w-9xxx 3w-xxxx a100u2x aacraid advansys ahci aic79xx aic7xxx ata_piix atari_scsi atp870u BusLogic cciss ch dc395x dmx3191d dpt_i2o eata fdomain ibmvscsic initio ipr ips isp1020 lpfc max_scsi mac53c94 megaraid megaraid_mbox megaraid_mm mesh mptfc mptscsih mptsas mptspi nsp32 osst qla1280 qla2100 qla2200 qla2300 qla2322 qla2xxx qla6312 qlogicfas408 qlogicfc sata_promise sata_nv sata_qstor sata_sil sata_sis sata_svw sata_sx4 sata_uli sata_via sata_vsc scsi_mod scsi_transport_fc scsi_transport_iscsi scsi_transport_spi sd_mod sym53c8xx tmscsim; do
+               for x in 3w-9xxx 3w-xxxx a100u2x aacraid advansys ahci aic79xx aic7xxx ata_piix atari_scsi atp870u BusLogic cciss ch dc395x dmx3191d dpt_i2o eata fdomain ibmvscsic initio ipr ips isp1020 lpfc max_scsi mac53c94 megaraid megaraid_mbox megaraid_mm mesh mptfc mptscsih mptsas mptspi nsp32 osst qla1280 qla2100 qla2200 qla2300 qla2322 qla2xxx qla6312 qlogicfas408 qlogicfc sata_promise sata_nv sata_qstor sata_sil sata_sis sata_svw sata_sx4 sata_uli sata_via sata_vsc scsi_mod scsi_transport_fc scsi_transport_iscsi scsi_transport_spi sd_mod sym53c8xx tmscsim cpqarray; do
                        manual_add_modules "${x}"
                done
        ;;

Friendly,
-- 
Petter Reinholdtsen



Reply to: