Re: kernel internal built in module loading order

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

 



> Does the kernel load internal built in modules (obj-y) in a certain 
> order,

Yes. As far as I can tell:

- special ordering (when you find __define_initcall in the 
kernel source, you know)

and

- linking order

play a role.

> or
> in a random order? Does the kernel internal module loading based on a
> configuration file?

/etc/modprobe.conf, but the proper answer would be "no".

> I am running an ARM system, is there a way to delay the Ethernet 
> module loading
> until some other internal modules are loaded?

I am sure you can use some modprobe magic, such as:

  install 8139too /usr/local/bin/my-8139-loader

And your 8139-loader contains:

  #!/bin/bash

  while ! condition; do
	sleep 1;
  done;
  modprobe 8139too;

I just don't know how well that fares when you are trying to modprobe 
from within modprobe.


	-`J'
-- 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux