mkinitrd complains modules.dep is not updated
Lonni J Friedman
netllama at gmail.com
Tue Nov 6 10:35:08 PST 2007
On 11/6/07, Vu Pham <vu at sivell.com> wrote:
> I am trying to load the driver rr2310_00 ( raid controller ) when the
> system boots, using mkinird but it keeps telling me it cannot find
> dependencies of this module although I run depmod already. Below is the
> output of depmod and mkinitrd.
>
> So right now I have to let the system load the driver after that but
> then the system uses its other driver to map this device into /dev/sdb
> and when the right module rr2310_00 is loaded, the same device is mapped
> to /dev/sdc.
>
> Any advice is greatly appreciated.
>
> Vu
>
> sun-photo:/lib/modules/2.6.18.2-34-default # depmod 2.6.18.2-34-default
> sun-photo:/lib/modules/2.6.18.2-34-default # mkinitrd
> Root device: /dev/sda4 (mounted on / as ext3)
> Module list: processor thermal ahci ata_piix rr2310_00 aic7xxx fan
> jbd ext3 edd (xennet xenblk)
>
> Kernel image: /boot/vmlinuz-2.6.18.2-34-default
> Initrd image: /boot/initrd-2.6.18.2-34-default
> Shared libs: lib64/ld-2.5.so lib64/libacl.so.1.1.0
> lib64/libattr.so.1.1.0 lib64/libblkid.so.1.0 lib64/libc-2.5.so
> lib64/libcom_err.so.2.1 lib64/libdl-2.5.so lib64/libext2fs.so.2.4
> lib64/libhistory.so.5.1 lib64/libncurses.so.5.5 lib64/libpthread-2.5.so
> lib64/libreadline.so.5.1 lib64/librt-2.5.so lib64/libutil-2.5.so
> lib64/libuuid.so.1.2 lib64/libvolume_id.so.0.73.0
> lib64/libnss_files-2.5.so lib64/libnss_files.so.2 lib64/libgcc_s.so.1
> Cannot determine dependencies of module rr2310_00. Is modules.dep up to
> date?
> Cannot determine dependencies of module rr2310_00. Is modules.dep up to
> date?
> Driver modules: scsi_mod sd_mod processor thermal libata ahci ata_piix
> scsi_transport_spi aic7xxx fan edd
> Filesystem modules: jbd mbcache ext3
> Including: initramfs fsck.ext3
> 17903 blocks
> sun-photo:/lib/modules/2.6.18.2-34-default #
How did you build the kernel module? Did you build it as part of the
entire kernel build or separately?
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman netllama at gmail.com
LlamaLand https://netllama.linux-sxs.org
More information about the Linux-users
mailing list