LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
LinkBack Search this Thread
Old 01-11-2011, 02:09 AM   #1
neo3matrix
LQ Newbie
 
Registered: Nov 2009
Posts: 8

Rep: Reputation: 0
RHEL 6 : module load order changed in initramfs


Hi all,
I want to find out what are the modules get loaded from initrd image in RHEL 6.

Upto RHEL5, we can directly see "insmod" and "modprobe" calls in "init" file from initrd.img.

But now, in RHEL 6, initramfs (initrd name changed to initramfs) doesn't have direct calls to "insmod" or "modprobe" inside init file.

I "grep"ed complete initramfs for insmod/modprobe, got very few of the module names then actual loaded modules.

I tried to see in /etc/modprobe..., /etc/rcX.d.... ,etc etc. directories, but couldn't find out anything.

Can anybody of you tell me how and which modules are loaded from initramfs????

Thanks in advance.........................
 
Old 01-13-2011, 05:22 AM   #2
btindie
LQ Newbie
 
Registered: Jan 2011
Posts: 1

Rep: Reputation: 0
Why is it you want to know the module load order?

I had a problem when installing RHEL6 on a server that's got 4 onboard NICs (bnx2), 2 port cxgb3 NIC and 2 port myri10ge NIC. It was loading them so the onboard NICs were appearing as eth[4-7].

I'd previously installed an identical server with SLES and it got the module order the correct way around.

I managed to get around it by modifying the UDEV rules in
/etc/udev/rules.d/70-persistent-net.rules
and also updating the ifcfg-eth? scripts in
/etc/sysconfig/network-scripts/

It now assigns the eth interfaces correctly.

-Indie
 
Old 11-08-2011, 02:25 AM   #3
harveyliu
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Rep: Reputation: 0
Wink

Quote:
Originally Posted by neo3matrix View Post
Hi all,
I want to find out what are the modules get loaded from initrd image in RHEL 6.

Upto RHEL5, we can directly see "insmod" and "modprobe" calls in "init" file from initrd.img.

But now, in RHEL 6, initramfs (initrd name changed to initramfs) doesn't have direct calls to "insmod" or "modprobe" inside init file.

I "grep"ed complete initramfs for insmod/modprobe, got very few of the module names then actual loaded modules.

I tried to see in /etc/modprobe..., /etc/rcX.d.... ,etc etc. directories, but couldn't find out anything.

Can anybody of you tell me how and which modules are loaded from initramfs????

Thanks in advance.........................
i find the user installed module loaded from /etc/sysconfig/module directory ,so just to see it
 
Old 09-12-2012, 10:00 AM   #4
Magnusg
LQ Newbie
 
Registered: Sep 2009
Posts: 3

Rep: Reputation: 0
Quote:
Originally Posted by neo3matrix View Post
Hi all,
I want to find out what are the modules get loaded from initrd image in RHEL 6.

Upto RHEL5, we can directly see "insmod" and "modprobe" calls in "init" file from initrd.img.

But now, in RHEL 6, initramfs (initrd name changed to initramfs) doesn't have direct calls to "insmod" or "modprobe" inside init file.

I "grep"ed complete initramfs for insmod/modprobe, got very few of the module names then actual loaded modules.

I tried to see in /etc/modprobe..., /etc/rcX.d.... ,etc etc. directories, but couldn't find out anything.

Can anybody of you tell me how and which modules are loaded from initramfs????

Thanks in advance.........................
This might be what you want: http://blog.hacka.net/#post67

Use the driverload cmdline param to control the order that modules load in RHEL6.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
fstab.order alternative in RHEL 5.x jkboys Linux - Software 3 07-14-2008 10:18 PM
Module load order. Dark666 Linux - General 6 07-04-2008 12:47 PM
Drive Order changed: freaky crash alar Fedora 2 02-24-2007 06:18 PM
Can the disk order be changed after installation in Solaris? saikee Solaris / OpenSolaris 12 01-13-2007 04:36 PM
I'm multibooting and something has changed about disk order in GRUB, I think, help... brjoon1021 Linux - Distributions 13 12-09-2006 02:05 AM


All times are GMT -5. The time now is 02:37 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration