Hi Jan,

>>>> Advice would be appreciated.
>>>
>>> That's weird. The /proc output is built from iterating over all 
>>> possible device numbers, looking the structure up via 
>>> rtdev_get_by_index(). So if /proc tells you that there is no rteth0 
>>> anymore while the rest of RTnet still uses it, something must have 
>>> corrupted rtnet_devices[]. Maybe some 
>> Perhaps I have not been entirely clear in my email. But the 
>> application that generally uses rteth0 does not get hold of it either 
>> when it cannot be found in /proc/rtnet/devices.
>> It appears that the application did have hold of rteth0 but lost it. 
>> When checking /proc/rtnet/devices after the application no longer has 
>> access to it, it appears to be gone.
>>
>> The application code has been operational for 7 months on a number of 
>> separate but identical machines and never displayed this behaviour 
>> before. Only one of the machines is now playing up with this.
> 
> Same hardware, specifically same NIC and driver?
100% the same. 101% the same even because all the other hardware is 
identical too. And may I add, exactly the same software as well. From 
operating system to application.



> Maybe you want to check now if someone deregisters the device. You could 
> add a WARN_ON(1); into rt_unregister_rtnetdev(). After the device 
> disappeared, you should either have a stack dump in your kernel log 
I can try this. But it would have to be a process that does this. The 
machine is running embedded and we did not put a "deregister NIC" button 
in the GUI -:). Off hand I can think of no process that could come close 
to deregistering the device.


> or... we really see a memory corruption. :-/
Hmmm...so you think that the chances of this being a hardware fault (in 
the NIC) are slim?


Regards,

Roland.


> 
> Jan
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to