mkinitrd error - Mandriva

This is a discussion on mkinitrd error - Mandriva ; Hi all, Since sometime I can't install any new kernel. The error- message is the following: Looking for deps of module scsi_wait_scan No module scsi_wait_scan found for kernel 2.6.17.14-mm-desktop-9mdv, aborting. mkinitrd failed: (mkinitrd -v -f /boot/initrd-2.6.17.14-mm-desktop-9mdv.img --ifneeded 2.6.17.14-mm-desktop-9mdv)) at /usr/lib/libDrakX/bootloader.pm ...

+ Reply to Thread
Results 1 to 8 of 8

Thread: mkinitrd error

  1. mkinitrd error

    Hi all,

    Since sometime I can't install any new kernel. The error- message is
    the following:

    Looking for deps of module scsi_wait_scan
    No module scsi_wait_scan found for kernel 2.6.17.14-mm-desktop-9mdv,
    aborting.
    mkinitrd failed:
    (mkinitrd -v -f /boot/initrd-2.6.17.14-mm-desktop-9mdv.img --ifneeded
    2.6.17.14-mm-desktop-9mdv)) at /usr/lib/libDrakX/bootloader.pm line 116.

    Line 116 is the last one:

    my @options = (
    "-v", "-f", $initrd, "--ifneeded", $kernel_version,
    if_($entry->{initrd_options}, split(' ', $entry->{initrd_options})),
    );
    if (!run_program::rooted($:refix, 'mkinitrd', @options)) {
    unlink("$:refix/$initrd");
    die "mkinitrd failed:\n(mkinitrd @options))";
    }

    It looks all good exept that no intitrd will be created. Even by doing
    an upgrade with the DVD or generating a new intitrd "by hand" the error
    occurs.

    Indeed there is no module scsi_wait_scan in my actual sources. It seems
    to be in the kernel up from 2.6.19. Google brings some posts with people
    having that problem too but without a solution.

    Kernel-2.6.17.14-mm-desktop-8mdv and all other's before worked fine.


    Ist there anyone out there who has an Idea?

    Greetings
    Johannes

  2. Re: mkinitrd error

    On Wed, 05 Sep 2007 13:39:03 -0400, Johannes wrote:

    > No module scsi_wait_scan found for kernel 2.6.17.14-mm-desktop-9mdv,
    > aborting.
    > mkinitrd failed:


    What are the contents of /etc/modprobe.conf and /etc/modprobe.preload?

    Regards, Dave Hodgins

    --
    Change nomail.afraid.org to ody.ca to reply by email.
    (nomail.afraid.org has been set up specifically for
    use in usenet. Feel free to use it yourself.)

  3. Re: mkinitrd error

    David W. Hodgins schrieb:
    > On Wed, 05 Sep 2007 13:39:03 -0400, Johannes wrote:
    >
    >> No module scsi_wait_scan found for kernel 2.6.17.14-mm-desktop-9mdv,
    >> aborting.
    >> mkinitrd failed:

    >
    > What are the contents of /etc/modprobe.conf and /etc/modprobe.preload?
    >
    > Regards, Dave Hodgins
    >

    Hi Dave,

    thanks for reply. Here are the contents:


    modprobe.conf:

    alias ieee1394-controller ohci1394
    alias eth0 forcedeth
    alias eth1 ne2k-pci
    alias eth2 ne2k-pci
    alias eth3 eth1394

    alias sound-slot-0 snd-intel8x0
    remove snd-intel8x0 /sbin/modprobe -r snd-pcm-oss; /sbin/modprobe
    --first-time -r --ignore-remove snd-intel8x0
    install snd-intel8x0 /sbin/modprobe --first-time --ignore-install
    snd-intel8x0 && { /sbin/modprobe snd-pcm-oss; /bin/true; }

    alias sound-slot-1 es1371
    remove es1371 /sbin/modprobe -r snd-pcm-oss; /sbin/modprobe --first-time
    -r --ignore-remove es1371
    install es1371 /sbin/modprobe --first-time --ignore-install es1371 && {
    /sbin/modprobe snd-pcm-oss; /bin/true; }

    install scsi_hostadapter /sbin/modprobe aic7xxx; /sbin/modprobe
    sata_sil; /bin/true
    install usb-interface /sbin/modprobe ohci-hcd; /sbin/modprobe ehci-hcd;
    /bin/true

    options kqemu major=0


    modprobe.preload:

    dazuko
    psmouse
    pcspkr
    #capability
    realtime
    cdemu
    evdev
    kqemu
    fuse
    #tun
    vboxdrv
    realmagic84xx
    budget-av
    nvidia-agp


    Greetings
    Johannes

  4. Re: mkinitrd error

    On Wed, 05 Sep 2007 17:40:19 -0400, Johannes wrote:

    > modprobe.conf:
    > install scsi_hostadapter /sbin/modprobe aic7xxx; /sbin/modprobe


    Do you actually have an adaptec aic7 whatever, scsi host adapter?
    Is the root filesystem on the scsi drive?

    If not, try temporarily removing the above line.

    Regards, Dave Hodgins

    --
    Change nomail.afraid.org to ody.ca to reply by email.
    (nomail.afraid.org has been set up specifically for
    use in usenet. Feel free to use it yourself.)

  5. Re: mkinitrd error

    Johannes wrote:
    > Hi all,
    >
    > Since sometime I can't install any new kernel. The error- message is the
    > following:
    >
    > Looking for deps of module scsi_wait_scan
    > No module scsi_wait_scan found for kernel 2.6.17.14-mm-desktop-9mdv,
    > aborting.
    > mkinitrd failed:
    > (mkinitrd -v -f /boot/initrd-2.6.17.14-mm-desktop-9mdv.img --ifneeded
    > 2.6.17.14-mm-desktop-9mdv)) at /usr/lib/libDrakX/bootloader.pm line 116.
    >
    > Line 116 is the last one:
    >
    > my @options = (
    > "-v", "-f", $initrd, "--ifneeded", $kernel_version,
    > if_($entry->{initrd_options}, split(' ',
    > $entry->{initrd_options})),
    > );
    > if (!run_program::rooted($:refix, 'mkinitrd', @options)) {
    > unlink("$:refix/$initrd");
    > die "mkinitrd failed:\n(mkinitrd @options))";
    > }
    >
    > It looks all good exept that no intitrd will be created. Even by doing
    > an upgrade with the DVD or generating a new intitrd "by hand" the error
    > occurs.
    >
    > Indeed there is no module scsi_wait_scan in my actual sources. It seems
    > to be in the kernel up from 2.6.19. Google brings some posts with people
    > having that problem too but without a solution.
    >
    > Kernel-2.6.17.14-mm-desktop-8mdv and all other's before worked fine.


    My first idea is that playing with cooker kernels is likely to run into
    problems now and then.

    Second, does your system boot from a SCSI drive? If not, I would go
    into your source .config and omit all scsi drivers, or maybe just create
    them as modules rather than built into the kernel. If you do boot
    from a scsi drive, make sure to compile the scsi drivers into the kernel,
    because modules will not be loaded until after initrd has run.

    Third, I personally would wait for 2.6.17.15-mm-desktop-5mdv to appear.
    I am hoping it will be out shortly, so I can upgrade from
    2.6.17.14-mm-desktop-5mdvsmp

    Cheers!

    jim b.

    --
    UNIX is not user-unfriendly; it merely
    expects users to be computer-friendly.

  6. Re: mkinitrd error

    Thanks Dave and Jim,

    I followed the tip from Dave and removed the aic7- line from
    modprobe.conf. The error ist the same:


    [root@oma-rheinholz
    kernel-multimedia-desktop-2.6.17.14-9mdv-1-1mdv2007.0]# rpm
    -ivh *
    Vorbereiten... ###########################################
    [100%]
    1:kernel-multimedia-deskt###########################################
    [ 17%]
    2:kernel-multimedia-deskt###########################################
    [ 33%]
    /dev/hda2: unknown volume type
    /dev/hda3: unknown volume type
    Looking for deps of module initramfs
    Looking for deps of module atkbd
    Looking for deps of module i8042
    Looking for deps of module sata_sil
    libata scsi_mod
    Looking for deps of module libata
    scsi_mod
    Looking for deps of module scsi_mod
    Looking for deps of module sd_mod
    scsi_mod
    Looking for deps of module scsi_wait_scan
    No module scsi_wait_scan found for kernel 2.6.17.14-mm-desktop-9mdv,
    aborting.
    mkinitrd failed:
    (mkinitrd -v -f /boot/initrd-2.6.17.14-mm-desktop-9mdv.img --ifneeded
    2.6.17.14-
    mm-desktop-9mdv)) at /usr/lib/libDrakX/bootloader.pm line 116.
    3:kernel-multimedia-sourc###########################################
    [ 50%]
    4:kernel-multimedia-deskt###########################################
    [ 67%]
    5:kernel-multimedia-deskt###########################################
    [ 83%]
    6:kernel-multimedia-sourc###########################################
    [100%]
    [root@oma-rheinholz kernel-multimedia-desktop-2.6.17.14-9mdv-1-1mdv2007.0]#


    The problem is, that I can't install any kernel for now. Even
    downgrading doesn't work. The root-system is on the sata-sil drive.

    Unfortionatly, I'm not sure which scsi-modules have to be deactivated in
    the sources so that the sata-sil will still work.

    Could it be possible that there is an incompability with my
    mkintrd-version. I hat to upgrade that before installing the actual kernel.


    Greetings
    Johannes

  7. Re: mkinitrd error

    Johannes wrote:
    > I followed the tip from Dave and removed the aic7- line from
    > modprobe.conf. The error ist the same:


    > The problem is, that I can't install any kernel for now. Even
    > downgrading doesn't work. The root-system is on the sata-sil drive.
    >
    > Unfortionatly, I'm not sure which scsi-modules have to be deactivated in
    > the sources so that the sata-sil will still work.
    >
    > Could it be possible that there is an incompability with my
    > mkintrd-version. I hat to upgrade that before installing the actual kernel.


    If / is on the sata-sil drive, you have to compile all the sata
    stuff needed in to the kernel. If something required is missing,
    you are out of luck. And yes, maybe the problem is with the
    mkinitrd-version. But not to give up yet.

    On the Install disk, there is a file called INSTALL.txt that says,
    inter alia:

    3. Other installation methods
    If for any reason the previous methods do not fit your needs (you
    want to perform a network install, an install from pcmcia devices
    or ...), you will also need to make a boot floppy:

    * Under Linux (or other modern UNIX systems) type at prompt:
    $ dd if=xxxxx.img of=/dev/fd0
    * Under Windows, follow the method described in point 2, but
    using xxxxx.img (see below) instead of
    cdrom.img.
    * Under DOS, assuming your CD is drive D:, type:
    D:\> dosutils\rawrite.exe -f install\images\xxxxx.img -d A

    Here the list of boot images:

    +-----------------+------------------------------------------------------+
    | cdrom.img | install from CD-ROM |
    +-----------------+------------------------------------------------------+
    | hd_grub.img | install from hard-disk (from a Linux, |
    | | Windows, or ReiserFS filesystem) |
    | | you can configure it for your system at: |
    | | http://qa.mandriva.com/hd_grub.cgi |
    +-----------------+------------------------------------------------------+
    | network.img | install from ftp/nfs/http |
    | | NOTE: you will need to insert network_drivers.img |
    | | in your floppy drive when prompted |
    +-----------------+------------------------------------------------------+
    | pcmcia.img | install from pcmcia devices (warning, most pcmcia |
    | | network adapters are now directly supported |
    | | from network.img) |
    +-----------------+------------------------------------------------------+

    You may also burn boot.iso on a CDROM and boot from it. It supports
    all installations methods, cdrom, network, and hard-disk.

    ================================================== ==========================$

    You can also use a text mode installation if, for any reason,
    you have trouble with the default graphical installation. To use it,
    press [F1] at Mandriva Linux welcome screen, then type
    text at the prompt.

    If you need to rescue your existing Mandriva Linux system,
    insert your Installation CDROM (or any relevant boot floppy), press
    [F1] at Mandriva Linux welcome screen, then type
    rescue at the prompt.

    See http://www.mandrivalinux.com/drakx/README
    for more technical information.

    ================================================== ==========================$

    Below are the main stages of installation:

    1. Insert your Installation CDROM (or Installation Floppy disk if
    necessary) and restart your machine.
    2. Press [Enter] when the Mandriva Linux welcome screen
    appears and carefully follow the instructions.
    3. When the installation is complete take out the CD-ROM when
    ejected (and any floppy disk if present in drive); your machine
    will restart. If it does not, restart it manually.
    4. Mandriva Linux will start. After bootup, you can login on your
    machine under the user account setup during install, or as
    "root".

    You might try copying the boot.iso file from your install disk to a
    cdrom, and see if you can boot from that. Even if successful (and it
    may not be), if your system requires the module scsi_wait_scan, you
    may still be out of luck.

    Can you boot a standard kernel? Official install DVD?

    Cheers!

    jim b.

    --
    UNIX is not user-unfriendly; it merely
    expects users to be computer-friendly.

  8. Re: mkinitrd error

    On Thu, 06 Sep 2007 03:57:32 -0400, Johannes wrote:

    > I followed the tip from Dave and removed the aic7- line from
    > modprobe.conf. The error ist the same:
    > kernel-multimedia-desktop-2.6.17.14-9mdv-1-1mdv2007.0]# rpm


    Try a regular kernel such as kernel-2.6.17.15mdv (with the
    source, kernel-source-2.6.17.15mdv). I'm suspecting that their
    may be a problem with the .config for the mulitimedia kernels.

    Regards, Dave Hodgins

    --
    Change nomail.afraid.org to ody.ca to reply by email.
    (nomail.afraid.org has been set up specifically for
    use in usenet. Feel free to use it yourself.)

+ Reply to Thread