How does "alias ethX drivername" in modules.conf work?
Quoted 17 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Lets assume that eth0-eth3 are not initialized at boot time and your init scripts attempt to initialize eth4 ...
I gather that I misunderstood what you were saying above, so let me clarify what I now understand by your comments:
1. You are assuming a broken set of init scripts. Specifically, they load the individual modules manually by the name of the module, rather than stating that you wish to initialise a particular interface and letting kmod sort out the correct module.
If this is your assumption, then you've created an artificial situation that by its very nature is broken and unreliable.
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
To avoid such problems one probably should add a lot of pre-install parameters in modules.conf.
What problems?
Described above.
What KERNEL problems then? I don't see any yet.
So not being able to reliable map ethernet devices to names is a feature not a bug ....
It *should* be possible to reliably name devices without having to rely on order dependant initialization.
Signature · 4 lines
__O Lineo - For Embedded Linux Solutions _-\<,_ PGP Fingerprint: 28 E2 A0 15 99 62 9A 00 (_)/ (_) 88 EC A3 EE 2D 1C 15 68 Stuart Lynne <[email protected]> www.lineo.com 604-461-7532
Quoted 2 lines · Stuart Lynne
So not being able to reliable map ethernet devices to names is a feature not a bug ....
With reasonable scriptage and 'nameif', it's doable. Only for ethernet at the moment, however (and I haven't actually implementing something that does this.) But it *is* doable.
Bill
Quoted 7 lines · Bill Nottingham
Quoted 2 lines · Stuart Lynne
So not being able to reliable map ethernet devices to names is a feature not a bug ....
With reasonable scriptage and 'nameif', it's doable. Only for ethernet at the moment, however (and I haven't actually implementing something that does this.) But it *is* doable.
With only adding one line to the current linux-hotplug scripts, a co-worker of mine enabled reliable mapping that isn't dependent on pci scanning, or hotplugging of pci cards. He used nameif and a table of MAC addresses that map to the name he wanted.
greg k-h