Re: Initrd and bootup issue

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

 



On 02/08/2012 01:39 PM, Dan Track wrote:
Hi,

I need to load a kernel on my system but I've got a raid device which
needs a new driver added to initrd in order for it to be picked on
bootup when the kernel loads.

I've created the initrd by placing the module in a directory I created
in the initrd filesystem under: "/lib/modules/`uname
-r`/mydriver/mega.ko"

My problem is that when the kernel boots I get an error similar to

finding /dev/sda1 ....

It then fails and drops me to a shell, which I gather is the initrd
filesystem shell. Inside there if I issue the command modprobe mega.ko
the system finds the raid card, I then exit the shell and the server
boots up fine normally using the new kernel. My question is why does
this happen? I've added the module entry to the modules.dep file in
the initrd filesystem under: "/lib/modules/`uname -r`/modules.dep" and
running "modpobe -l" under teh initrd shell correctly shows this.

I must be missing a step, can someone please help me fix this?

You need to either have the driver built into the kernel or have it
stuffed into the initrd ramdisk image if it's a loadable module.  See
the man pages for dracut and grubby for more info.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-   You possess a mind not merely twisted, but actually sprained.    -
----------------------------------------------------------------------
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux