Re: [RTnet-developers] Kernel module for smc91111
Brought to you by:
bet-frogger,
kiszka
From: Hinko K. <hin...@i-...> - 2011-09-21 12:02:38
|
On 09/14/2011 12:18 PM, Hinko Kocevar wrote: > Hi all, > > I'm trying to use smc91111 RT driver provided in RTnet package (git > sources) on my ARM PXA253 board. The modules compiles against linux > 2.6.35.9 and Xenomai 2.5.6, but when it is loaded it produces oops. > Success at porting the smc91x kernel driver at last!! root@xcep:~# /usr/local/rtnet/sbin/rtping 127.0.0.1 Real-time PING 127.0.0.1 56(84) bytes of data. 64 bytes from 127.0.0.1: icmp_seq=1 time=86.0 us 64 bytes from 127.0.0.1: icmp_seq=2 time=87.6 us 64 bytes from 127.0.0.1: icmp_seq=3 time=78.7 us 64 bytes from 127.0.0.1: icmp_seq=4 time=76.5 us The story continues .. While rtping does seem to work to 127.0.0.1, I can't seem to persuade the neighboring PC to reply to pings. PC is using e100 eth driver, and is running Linux 2.6.35.9 with Xenomai 2.5.6. I can confirm that on the PC rtping to 127.0.0.1 works, too. Also when using regular network driver modules on both systems, ping from one to another does work. There are only these two nodes interconnected over the hub on a dedicated subnet. What happens is that the nodes do not seem to discover each other .. Attached are both rtnet.conf files, and some sh -x output of the rtnet start. In this setup I'm trying to use my embedded target (xcep) as RTnet master, and PC as slave. I've tried the other way around to no avail. Here are outputs of rtifconfig too. root@xcep:~# /usr/local/rtnet/sbin/rtifconfig rteth0 Medium: Ethernet Hardware address: 00:D0:50:31:11:87 IP address: 192.168.2.2 Broadcast address: 192.168.2.255 UP BROADCAST RUNNING MTU: 1500 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:184100 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 RX bytes:0 (0.0 b) TX bytes:7778916 (7.4 Mb) rtlo Medium: Local Loopback IP address: 127.0.0.1 UP LOOPBACK RUNNING MTU: 1500 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) workshop@workshop-Compaq-EVO:~$ sudo /usr/local/rtnet/sbin/rtifconfig rteth0 Medium: Ethernet Hardware address: 00:04:23:34:09:59 IP address: 192.168.2.1 Broadcast address: 192.168.2.255 UP BROADCAST RUNNING MTU: 1500 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) rtlo Medium: Local Loopback IP address: 127.0.0.1 UP LOOPBACK RUNNING MTU: 1500 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Thank you! -- Hinko Kocevar Technical support software engineer Instrumentation Technologies d.d. Velika pot 22, SI-5250 Solkan - Slovenia T:+386 5 3352600, F:+386 5 3352601 mailto: hin...@i-... http://www.i-tech.si - When your users demand stability |