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

Bug#278887: initrd-tools: Caused by megaraid2 module using /proc/scsi/megaraid



Package: initrd-tools
Version: 0.1.74
Followup-For: Bug #278887

In the script /usr/sbin/mkinitrd, Line 497, is a find which seems to
search /proc/scsi for modules needed to mount the root device. If one
has the megaraid2 module loaded, there will be a directory called
"megaraid" in /proc/scsi.

This seems to have the effect of making /usr/sbin/mkinitrd add
"megaraid" instead of "megaraid2" to initrd/loadmodules, which in turn
renders the system unbootable on DELL PowerEdge * Servers equipped with
the DELL PERC 4e/Si and others (PowerEdge 1850 for my part).

Workaround is to add "megaraid2" on a line by its own to
/etc/mkinitrd/modules and run dpkg-reconfigure kernel-image-<version>
e.g. dpkg-reconfigure kernel-image-2.4.27-1-686-smp

Regards,
Philipp

(Beware, system information below is from a different host, but that
should have almost the same versions installed. At least initrd-tools is
the same)

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages initrd-tools depends on:
ii  coreutils [fileutils]         5.2.1-2    The GNU core utilities
ii  cpio                          2.5-1.1    GNU cpio -- a program to manage ar
ii  cramfsprogs                   1.1-6      Tools for CramFs (Compressed ROM F
ii  dash                          0.5.1-3    The Debian Almquist Shell
ii  fileutils                     5.2.1-2    The GNU file management utilities 
ii  util-linux                    2.12-10    Miscellaneous system utilities

-- no debconf information



Reply to: