lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.61.0610210114170.10103@yvahk01.tjqt.qr>
Date:	Sat, 21 Oct 2006 01:17:28 +0200 (MEST)
From:	Jan Engelhardt <jengelh@...ux01.gwdg.de>
To:	Jim <yh@...mail.com.au>
cc:	linux-kernel@...r.kernel.org
Subject: Re: kernel internal built in module loading order


> 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 majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ