Karl Reichert wrote:
>  Willems, J.J.P.A. wrote:
>> Hi,
>> 
>> I'm trying to set up a direct connection between two notebooks but
>> the don't see each other. The master is waiting for the slaves and
>> the slave hangs at stage 1: searching the master. After stopping the
>> waiting, rtpinging doesn't work either. 
>> 
>> I'm using a IBM T42 notebook as the master with the e1000 module and
>> a Asus A6000 as the slave with the r8169 module.
>> 
>> I'm using linux 2.6.19.7, Xenomai 2.3.1 and Rtnet 0.9.9 on both.
>> Pinging each other non-real time works.
>> 
>> 
>> Some detailed info for the master:
>> 
>> ## rtnet.conf
>> # RT-NIC driver
>> RT_DRIVER="rt_e1000"
>> #RT_DRIVER_OPTIONS="cards=1,0,0,0"
>> RT_DRIVER_OPTIONS=""
>> IPADDR="10.0.0.1"
>> NETMASK=""
>> TDMA_MODE="master"
>> # Master parameters
>> # Simple setup: List of TDMA slaves
>> TDMA_SLAVES="10.0.0.2"
>> 
>> Dmesg in another console returns: "TDMA: Failed to transmit sync
>> frame!" 
>> 
> Then of course your slave is waiting forever. It never get's any Sync
> frame from master. I have the same network card for my master, and
> when it fails to transmit sync frame, because cable is broken or not
> connected, I also get a message from watchdog (Tx_unit hang). Do you
> also get this message? I only get it when working on console
> (Ctrl-Alt-F1). Try it out ...     
> 

I tried it in Ctrl+Alt+F1 but I don't see anything because I only get
'TDMA: Failed to transmit sync frame!' at the master's side.
I'm sure the cable is ok and connected because non-realtime pinging
works.

But I switched the master and slave. They both are again going to
wait/search each other (in ctrl+alt+f1).
When I run dmesg in f2 I get for the master (over and over again during
the wait for slaves) :
"r8169: rt18169_start_xmit: TX len = 60, skb -> len = 42,
eth_proto=9021" 

For the slave I get the message:
e1000: rteth0: e1000_watchdog: NIC link is up 1000 mbps Full duplex
rteth0: no IPv6 routers present
rteth0-mac: no IPv6 routers present.

> 
>> [EMAIL PROTECTED]:/usr/local/rtnet/sbin# ./rtifconfig
>> rteth0    Medium: Ethernet  Hardware address: 00:10:C6:E1:B9:F2
>>           IP address: 10.0.0.1  Broadcast address: 10.255.255.255
>>           UP BROADCAST RUNNING  MTU: 1500
>> 
>> 
>> Some info about the slave
>> 
>> ## rtnet.conf
>> # RT-NIC driver
>> RT_DRIVER="rt_r8169"
>> RT_DRIVER_OPTION=""
>> # RT_DRIVER_OPTIONS="cards=1,0,0,0"
>> IPADDR="10.0.0.2"
>> NETMASK=""
>> TDMA_MODE="slave"
>> 
>> Dmesg returns:
>> *** RTnet 0.9.9 - built on Jul 27 2007 13:13:28 ***
>> 
>> RTnet: initialising real-time networking Initializing rt_r8169
>> driver<6>PCI: Found IRQ 5 for device 0000:00:0b.0
>> PCI: Sharing IRQ 5 with 0000:00:0a.2
>> PCI: Sharing IRQ 5 with 0000:00:0a.3
>> rt_r8169: PCI device 0000:00:0b.0: unknown chip version, assuming
>> RTL-8169 r8169: --------------------------
>> r8169: dev->mtu = 1500
>> r8169: priv->curr_mtu_size = 1500
>> r8169: priv->tx_pkt_len = 1514
>> r8169: priv->rx_pkt_len = 1514
>> r8169: priv->hw_rx_pkt_len = 1522
>> r8169: --------------------------
>> RTnet: registered rteth0
>> rteth0: Identified chip type is 'RTL8169'.
>> rteth0: rt_r8169 RTnet Gigabit Ethernet driver 2.2-04 at 0xd800,
>> 00:15:f2:0f:68:68, IRQ 5 r8169: priv->mcfg=4, priv->pcfg=3
>> r8169: Set MAC Reg C+CR Offset 0x82h = 0x01h
>> rteth0: Auto-negotiation Enabled.
>> r8169: priv->linkstatus = 0x04
>> RTcfg: init real-time configuration distribution protocol
>> RTmac: init realtime media access control
>> RTmac/TDMA: init time division multiple access control mechanism
>> r8169: Set MAC Reg C+CR Offset 0xE0: bit-3.
>> [EMAIL PROTECTED]:~$
>> 
>> [EMAIL PROTECTED]:/usr/local/rtnet/sbin# ./rtifconfig
>> rteth0    Medium: Ethernet  Hardware address: 00:15:F2:0F:68:68
>>           IP address: 10.0.0.2  Broadcast address: 10.255.255.255
>>           UP BROADCAST RUNNING  MTU: 1500 ####
>> 
>> I hope someone can help me with it, I'm not very familiar (newb) with
>> linux and real time networking.
>> 
>> Thanks in advance,
>> Jeroen

Tnx

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to