Re: bug with rtl8139



John Sheahan wrote:
> Hi Henkka
> not quite, the issue appears not directly to be with my NIC.
> 
> the problem is that install_rtlinux_base checks whether modules are 
> loaded, and loads them if not.
> 
> however the 'rtl' part of rtl8139 confuses the script. It sees 
> rtl8139 and thinks: hey, rtl is there, don't bother loading it.
> 
> which breaks the rest of emc.    
> 
> But my NIC keeps working fine :)  The network comes up early. The 
> alias eth0 rtl8139    *is* already there.
> 
> why does emc not use modprobe?  Modules.dep has the needed
> dependencies, but insmod does not use that as far as I understand.
> 
> regards, john
> 
> 
> On Tue, Sep 25, 2001 at 01:49:28AM -0400, Henry Palonen wrote:
> 
>>Hello.
>>
>>You could also handle this like any other linux-module, eg.
>>you could just add
>>
>>alias eth0 rtl8139
>>
>>to your /etc/conf.modules (or /etc/modules.conf in some newer systems)
>>and run "depmod -a" command. That should enable automatic
>>module-loading for your NIC during boot-time.
>>
>>Best regards,
>>
>>Henkka
>>
>>* John Sheahan (jrsheahan-at-optushome.com.au) [25.09.2001 04:24]:
>>
>>>...
>>>Turned out that the different NIC (rtl8139) broke the emc 
>>>module loading startup script    install_rtlinux_base 
>>>...
>>>if ! /sbin/lsmod | grep -v rtl_ | grep -v rtl8139 | grep rtl 1>/dev/null 2> /dev/null ; then
>>>...
>>>
> 

I was going to add the "grep -v rtl8139"  but it looks like someone beat
me to it. In fact the comment next to it implies that Paul Corner fixed 
it on July 5.  I am guessing you don't have the latest BDI release.

I believe that the older version of rtlinux and the current version of 
rtai  don't always install their modules in /lib/modules or modify 
module.conf to  fix that so modprobe wouldn't work. Still, the next time 
someone does  a  major  overhaul of that file  it would probably be a 
good idea to consider using modprobe to clean up some of the 
unnecessarily  verbose checks.

-- Will





Date Index | Thread Index | Back to archive index | Back to Mailing List Page

Problems or questions? Contact