problem loading modules

Joost Gevers joost at gevers-4.tmfweb.nl
Fri Sep 24 08:12:03 PDT 2004


Alexander E. Patrakov wrote:
> Nathan Coulson wrote:
> 
>>
>> echo "eth0" >> /etc/sysconfig/modules
> 
> 
> No. Please better list the actual module, e.g. 8139too. The reason is 
> that using /etc/modprobe.conf (where you probably have alias eth0 
> 8139too - please remove that) for specifying the list of your hardware 
> is deprecated.
> 

I tried this and works fine.

There is only 1 thing which I don't like. The order in which the modules 
are listed determine which of the ethernet devices become eth0 and which 
becomes eth1.

/etc/sysconfig/modules:
8139too
tulip


Sep 24 16:46:55 venus kernel: eth0: RealTek RTL8139 at 0xd0822000, 
00:10:a7:06:1c:81, IRQ 10
Sep 24 16:46:55 venus kernel: eth1: ADMtek Comet rev 17 at 0xd000, 
00:0C:F6:04:6F:6C, IRQ 11.

/etc/sysconfig/modules:
tulip
8139too


Sep 24 16:45:35 venus kernel: eth0: ADMtek Comet rev 17 at 0xd000, 
00:0C:F6:04:6F:6C, IRQ 11.
Sep 24 16:45:35 venus kernel: eth1: RealTek RTL8139 at 0xd0822000, 
00:10:a7:06:1c:81, IRQ 10

But according to http://www.reactivated.net/udevrules.php writing udev 
rules, it should be possible to give each ethernet device a unique name, 
depending on its MAC address. I did give it a try but not yet successfully.

Regards,
Joost Gevers




More information about the lfs-dev mailing list