LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-23-2008, 05:38 PM   #1
newtovanilla
Member
 
Registered: Apr 2008
Posts: 267

Rep: Reputation: 30
Question How to find module dependencies for initrd? depmod?


Linux 2.6.22

From the man pages for the command "depmod", "These dependencies can get quite complex." What I am trying to figure out, is if there is a command that I can run to tell me what dependencies a module has, one at a time. For example, if I want to find out what dependencies the module "mymodule.ko" has, what command can I use to find out?

Second question, how can I find out what order to load modules so that the dependencies get worked out? Or, does it not matter what order I load modules in, because Linux can figure it out?
 
Old 11-23-2008, 06:42 PM   #2
jcliburn
Member
 
Registered: Dec 2003
Location: Mississippi, USA
Distribution: Fedora
Posts: 435

Rep: Reputation: 33
The command "modinfo" will provide *some* dependency information, but it won't produce a handy dependency chain, if that's what you're looking for.

The few times I spun my own initrd, the module order didn't seem to matter.

Last edited by jcliburn; 11-23-2008 at 06:45 PM.
 
  


Reply

Tags
load, modules


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Depmod not finding ndiswrapper module ifeatu Linux - Newbie 13 10-10-2008 07:37 AM
removing a module from initrd tomazN Linux - Software 2 05-28-2006 03:31 PM
Depmod not working for my driver module bhuvanmital Fedora 3 04-24-2006 05:05 AM
how does depmod find dependency saajii Linux - General 2 09-19-2004 09:34 PM
compiling a kernel: module-init-tools conflict, depmod problem, modules sterrenkijker Debian 3 03-08-2004 10:07 PM


All times are GMT -5. The time now is 11:12 PM.

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