debian kernel upgrade: mkinitrd: modprobe failed, module raid1 not found

From: Bob (nospam_at_nospam.com)
Date: 05/31/04


Date: Mon, 31 May 2004 20:11:55 +0200

Hi,

I'm attempting to upgrade my debian sarge box from 2.6.2 to kernel 2.6.6,
compiling from the kernel-source package,
make-kpkg --initrd kernel_image modules_image
and trying to install with dpkg -i

This used to work fine, but now I get

Setting up kernel-image-2.6.6-jn040531a (dizzy.1.0) ...
/usr/sbin/mkinitrd: add_modules_dep_2_5: modprobe failed
FATAL: Module raid1 not found.
Failed to create initrd image.

My system is indeed running raid1, but raid1 support is compiled into the
kernel (both the current 2.6.2 and the new 2.6.6).

I must admit that I don't understand the details of using or updating
modules; in the past I just did the above steps and everything worked..

This is an extract of 'grep -R raid1 /etc':

/etc/modutils/raidtools2:alias md-personality-3 raid1
/etc/modules.conf:alias md-personality-3 raid1
/etc/modprobe.d/aliases:alias md-personality-3 raid1

I tried to comment out these lines but I still get the error.

Any help appreciated! I guess the raid1 module is not required since it is
compiled into the kernel? If you have any hints, please let me know. Thanks
a lot!

Bob



Relevant Pages

  • Re: subversion on FreeBSD 4.10
    ... I've upgraded all the ports including perl. ... # CFLAGS controls the compiler settings used when compiling C code. ... # or supported for compiling the world or the kernel - please revert any ... # To avoid running MAKEDEV all on /dev during install: ...
    (freebsd-questions)
  • Re: newest PHP port upgrade broke php5-mbstring-5.0.1 ?
    ... # CFLAGS controls the compiler settings used when compiling C code. ... # or supported for compiling the world or the kernel - please revert any ... # certain ports. ... # To avoid running MAKEDEV all on /dev during install: ...
    (freebsd-questions)
  • Compiling a Kernel - Need ncurses
    ... I am once again giving a whirl at compiling a 2.4.22 kernel; ... I then tried installing ncurses using apt-get install ncurses ...
    (Debian-User)
  • Re: 8139too Module
    ... > modprobe simple reports that it cannot find the module. ... I'm unsure as to how to go about compiling this is ... > introducing it into my kernel. ... > to install a kernel module, you must switch to root, then type: ...
    (Debian-User)
  • Re: Compiling a Kernel - Need ncurses
    ... > I am once again giving a whirl at compiling a 2.4.22 kernel; ... > I then tried installing ncurses using apt-get install ncurses ...
    (Debian-User)