Roland Tollenaar wrote:
Hi,I have the following problem. For no apparent reason a rtnet device that is succesfully loaded dissappears after a while.In /proc/rtnet/devices there are generally two devices. The loopback device and rteth0.The device that gets lost is the latter. Its a recent problem and we have exchanged the network card (we are using the realtek 8139 chip) but although the problem has not occurred again (in the last 30 minutes) I was wondering whether there were any other possible causes of this happening that are worth investigating?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 component runs amok, you should instrument the code carefully (changing offsets can make the bug move around) to watch the state of this array.
Jan
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users