Thinus Viljoen wrote:
> On 10/16/06, Jan Kiszka <[EMAIL PROTECTED]> wrote:
>>
>> What about delaying after rtifconfig up?
>>
> 
> Doesn't help. Well, not a few seconds, anyway.

That's new.

> 
>>
>> How do you switch? Shutting all nodes down (rtnet stop), changing
>> rtnet.conf files, and restarting them? Could you try to capture the
>> traffic with Ethereal/Wireshark so that I can have look if there are
>> correct TDMA packets exchanged?
>>
> 
> Yes, that is how I switch them. I have attached a capture from a
> successful "rtnet start". The timestamps look a bit funny?

Indeed. How and on which host did you capture? On the slave, right? Is
it possible to use a third station for this instead (to exclude any
weirdness of the involved driver)? Also, the capture file contains a
cooked format without target addresses.

Hmm, it looks like the master fails to patch the transmission timestamp
of outgoing packets into that frames. This may cause quite a lot of
confusion. Wait... there is no timestamping code in rt_e1000 at all!
Argh, my code review failed utterly. Needs to be fixed, hold on.

> 
>>
>> That's very likely some hotplug automatism of your distribution. Watch
>> out for related services/daemons (I don't know Fedora, sorry) and stop
>> them for now.
>>
> 
> I think they use "NetworkManager". The only problem is that it is
> already disabled. For now I just renamed e1000.ko. On a related point
> - I saw that if the Ethernet module is not loaded, and you call
> "ifconfig eth1 down", it actually loads the module and puts eth1 up!
> Took me a while to figure that one out.
> 
> Other behaviour that I saw recently (I am pretty sure that it worked
> better previously):
> 1. "rtping" doesn't work - the master reports "ioctl: No buffer space
> available"

Likely because no packets can be sent (a failing TDMA negotiation would
be a reason).

> 2. When running "rtnet stop" the slave hangs after calling "rtifconfig
> rteth0 down". If I try to manually remove the tdma module, I get an
> error that it is "in use". I must then reboot.

While I'm looking into the timestamp issue, can you do the same tests
with the e100 (thus rt_eepro100) on your box? Just to narrow the issue
down to e1000 and make sure there aren't multiple bugs involved.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to