Hi Thinus,

I noticed aswell  that the rt_e1000 takes fairly long to detect the actual line 
state 
(speed, duplex settings...).
Can you load the rt_e1000 a while before initializing the remaining parts of 
your setup?
This can be done by modifying the rtnet script:
Add the delay within the function init_rtnet() after 
    insmod $RTNET_MOD/$RT_DRIVER$MODULE_EXT

This could help to identify if this is actually the e1000 that causes the issue.

Regards

Mathias


----- Original Nachricht ----
Von:     Thinus Viljoen <[EMAIL PROTECTED]>
An:      [EMAIL PROTECTED]
Datum:   15.09.2006 13:06
Betreff: Re: [RTnet-users] rt_e1000 driver loading

> SVN rev. 1055 gave me the same problem, so I didn't try 1056.
> 
> "cat /proc/rtnet/rtcfg/rteth0/state" gives me the following results:
> 
> Slave side state:
> -----------------
> Before master starts: 2 (CLIENT_0)
> After master starts, script hanged: 3 (CLIENT_1)
> After master starts, success: 8 (CLIENT_READY) 
> 
> Master side:
> ------------
> State is always "1 (SERVER_RUNNING)"
> "stations found", "stations ready", and "configured stations" are always 0,
> except when the slave is sucessfully connected. Then it becomes 1.
> 
> 
> Thinus
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 14 September 2006 15:37
> To: Thinus Viljoen
> Cc: rtnet-users
> Subject: Re: [RTnet-users] rt_e1000 driver loading
> 
> 
> Thinus Viljoen wrote:
> > Hi
> > 
> > I use the "rtnet" script to start/stop rtnet. At the moment my (only)
> > slave uses the rt_e1000 driver. The slave only starts sucessfully
> > occasionaly - must of the time it hangs at "Stage 1: searching for
> > master...". It probably starts successfully only 1 out of every 5
> > times.
> > 
> > However, if I put a small delay after "init_rtnet" in the script
> > (line 266), say about 3 seconds, it starts up every time.
> > 
> > Any idea what the issue is? Perhaps a fixed time that the hardware
> > (or driver) need to initialize?
> > 
> 
> Let's exclude my own bugs first :-): Assuming that you are using the
> latest version (release 0.9.5 or SVN head), could you try if SVN rev.
> 1055 also suffers ("svn up -r 1055")? If not, please proceed to 1056.
> 
> If already 1055 has problems: Check the state of the node under
> /proc/rtnet/rtcfg/rteth0/state, does it change after the master starts?
> This would indicate incoming packets. Then do the same the other way
> around, i.e check if the master's idea about the slave changes in
> /proc/rtnet/rtcfg/rteth0/CLIENT_xxx.
> 
> Thanks,
> Jan
> 
> 
> ****************************************************************************
> ***************************
> Disclaimer:  The information contained in this communication is confidential
> and may be legally privileged.  
> It is intended solely for the use of the individual or entity to whom it is
> addressed and others authorised to receive it.  
> Any review, retransmission, dissemination, copying, disclosure or other use
> of, or taking of any action in reliance upon, this information by person or
> entities other then the intended recipient is prohibited.  
> If you have received this message in error, please notify the sender
> immediately by e-mail, facsimile or telephone and return and/or destroy the
> original message and all copies from any computer.  
> 
> Denel (Pty) Ltd exercises no editorial control over e-mail messages
> originating in the organisation and does not accept any responsibility for
> either the contents of the message or any copyright laws that may have been
> violated by the person sending this message.  
> Denel (Pty) Ltd is neither liable for the proper and complete transmission
> of the information contained in this communication nor any delay in its
> receipt.  
> This message should not be copied or used for any purpose other than
> intended, nor should it be disclosed to any other person.
> ****************************************************************************
> ***************************
> 
> 
> -------------------------------------------------------------------------
> 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
> 

-- 
Mathias Koehrer
[EMAIL PROTECTED]


Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig
und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer,
nur  44,85 €  inkl. DSL- und ISDN-Grundgebühr!
http://www.arcor.de/rd/emf-dsl-2

-------------------------------------------------------------------------
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