From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How to nail the order of modules loaded
Date: Sat, 20 Jun 2009 02:42:43 -0500 [thread overview]
Message-ID: <4A3C92F3.8050301@gmail.com> (raw)
In-Reply-To: <200906200925.49727.dirk.heinrichs@online.de>
Dirk Heinrichs wrote:
> Am Samstag 20 Juni 2009 09:06:51 schrieb Konstantinos Agouros:
>
>> Hi,
>>
>> I have a box that serves as a firewall and thus has different NICs.
>> However when booting I run into a problem:
>>
>> One of the NICs needs the de4x5 driver another the tulip one. Udev
>> loads tulip first, which then tries to claim the card the needs de4x5
>> but this does not work. So I have to manually set things straight after-
>> wards. Is there a way to force it to first load de4x5 and then tulip?
>> /etc/modules.autoload.d seems to be used too late.
>>
>
> You can let udev assign persistant names to your network interfaces.
>
> # cat /etc/udev/rules.d/10-local.rules
> KERNEL=="eth*", ATTRS{address}=="00:1c:25:1a:ee:0c", NAME="lan0"
> KERNEL=="wlan*", ATTRS{address}=="00:1e:4c:37:39:41", NAME="wlan0"
>
> Then create the appropriate symlinks for them in /etc/init.d.
>
> HTH...
>
> Dirk
>
Could he not just build the modules into the kernel and then not have to
worry about the loading at all? Heck, the only module I use is nvidia
but it is not a "in kernel" option.
Just a though. He may have a reason for using modules.
Dale
:-) :-)
next prev parent reply other threads:[~2009-06-20 7:42 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-20 7:06 [gentoo-user] How to nail the order of modules loaded Konstantinos Agouros
2009-06-20 7:25 ` Dirk Heinrichs
2009-06-20 7:42 ` Dale [this message]
2009-06-20 9:04 ` Dirk Heinrichs
2009-06-20 8:06 ` Neil Bothwick
2009-06-20 9:06 ` Dirk Heinrichs
2009-06-20 9:12 ` Dirk Heinrichs
2009-06-20 10:48 ` Neil Bothwick
2009-06-20 12:38 ` Dirk Heinrichs
2009-06-20 16:10 ` Konstantinos Agouros
2009-06-20 17:54 ` Dirk Heinrichs
2009-06-21 6:48 ` Konstantinos Agouros
2009-06-20 18:54 ` Neil Bothwick
2009-06-21 6:50 ` Konstantinos Agouros
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A3C92F3.8050301@gmail.com \
--to=rdalek1967@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox