How to find module dependencies for initrd? depmod?
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?