Caros, <br>talvez alguem tenha uma dica para resolver um problema com RTLINUX:<br>Qualquer sugestao é bem-vinda!!<br>abracos,<br>alexandre<br><br><br>We recently, have a WR RTLinuxPro v2.2 Subscription and WR LNet Real Time Networking for RTLinuxPro
v2.2.<br>We have installed the RTLinuxPro successfully and we have check it with the regression scripts, but we have problems setting up the LNet.<br>We have one of the recommended Network Card: INTEL PRO/1000 82541GI.<br>
We can make the './lnet/bin/inslnet' and it works, then we can do ./lnetinfo and we can see the next information.<br><br>jordiRTLinux:/opt/rtldk-2.2/rtlinuxpro/lnet/bin # ./inslnet<br><br>===============================================================================
<br><br>LNet ready! Below are the locations of some useful utilities.<br><br> '/opt/rtldk-2.2/rtlinuxpro/lnet/bin/lnetinfo' : display LNet device info<br> '/opt/rtldk-2.2/rtlinuxpro/lnet/bin/lnetmsglvl.rtl' : change LNet debug-message level
<br> '/opt/rtldk-2.2/rtlinuxpro/lnet/bin/eth_dump.rtl' : display received Ethernet packets<br><br>jordiRTLinux:/opt/rtldk-2.2/rtlinuxpro/lnet/bin # ./lnetinfo<br>LNet Ethernet dev 0<br> Intel Pro/1000 82541GI_LF
<br> IRQ:22 IO:0xc800 GUID:00:0e:0c:dd:15:92<br> IOMEM:0xcdee0000<br><br><br>After that, we configure the IP address of the Lnet device, as you can see below.<br><br>jordiRTLinux:/opt/rtldk-2.2/rtlinuxpro/lnet/bin # ./lnet_ipconfig.rtl idx=0 mac=00:0e:0c:dd:15:92 ip=
<a href="http://138.100.76.211">138.100.76.211</a><br>IPv4 table entry 0 changed:<br> [was] mac=00:02:b3:2a:f6:b1 ip=<a href="http://10.0.53.1">10.0.53.1</a><br> [now] mac=00:0e:0c:dd:15:92 ip=<a href="http://138.100.76.211">
138.100.76.211</a><br><br>Then we think that we can do a ping, to check that the Ethernet works properly, but when we do that, we get the next error:<br><br> jordiRTLinux:/opt/rtldk-2.2/rtlinuxpro/lnet/bin # ./ping.rtl target=
<a href="http://138.100.76.1">138.100.76.1</a><br><br>dev0: PING (<a href="http://138.100.76.1">138.100.76.1</a>)<br>ERROR: dev0 rtl_sendmsg() returned -301<br><br> <br><br>The error information on the documentation says: 'Destination IP4 Address not found in table'. But we don't know how to solve this problem.
<br><br>We have also try to execute the './ethernet_regression' and we get the next unsatisfactory message<br><br>jordiRTLinux:/opt/rtldk-2.2/rtlinuxpro/lnet/regression # ./regression.sh<br><br>*******************************************************************************
<br><br>* Begin LNet 2.2 regression.sh<br><br>* HOST1=lnet1 HOST2=lnet2<br><br>* ROOTDIR=/opt/rtldk-2.2/i386_root DURATION=120 BOARD=on<br><br>* EXTRA_CMDLINE=<br><br>*******************************************************************************
<br><br> <br><br>=============================== Begin Logfile =================================<br><br>++ prepare_hosts<br><br>++ : lnet1 lnet2 /opt/rtldk-2.2/i386_root<br><br>++ echo '###Preparing hosts'<br><br>
###Preparing hosts<br><br>++ '[' '!' -f /opt/rtldk-2.2/i386_root/etc/init.d/rcS.orig ']'<br><br>++ cp /opt/rtldk-2.2/i386_root/etc/init.d/rcS /opt/rtldk-2.2/i386_root/etc/init.d/rcS.orig<br><br>cp: cannot stat `/opt/rtldk-
2.2/i386_root/etc/init.d/rcS': No such file or directory<br><br>++ echo 'cd /rtlinuxpro && ./scripts/rw.sh'<br><br>./lnet_regression_bashlib.sh: line 286: /opt/rtldk-2.2/i386_root/etc/init.d/rcS: No such file or directory
<br><br>++ mkdir -p /opt/rtldk-2.2/i386_root/root/.ssh<br><br>++ filter_file /opt/rtldk-2.2/i386_root/root/.ssh/authorized_keys lnet1<br><br>++ file=/opt/rtldk-2.2/i386_root/root/.ssh/authorized_keys<br><br>++ shift<br><br>
+++ echo lnet1<br><br>+++ sed '{ s,[]/\\$*[],\\&,g }'<br><br>++ x=lnet1<br><br>++ sed -i '{ /lnet1/d }' /opt/rtldk-2.2/i386_root/root/.ssh/authorized_keys<br><br>sed: can't read /opt/rtldk-2.2/i386_root/root/.ssh/authorized_keys: No such file or directory
<br><br>++ error 'filter_file: filtering of file /opt/rtldk-2.2/i386_root/root/.ssh/authorized_keys failed'<br><br>++ : /tmp/lnet2.2_test_failed on lnet1 lnet2 /opt/rtldk-2.2/i386_root/tmp/lnet-2.2_regression_logs/lnet2.2_main_regression.log
<br><br>++ touch /tmp/lnet2.2_test_failed<br><br>++ echo<br><br> <br><br>++ '[' -n '' ']'<br><br>++ set +x<br><br>filter_file: filtering of file /opt/rtldk-2.2/i386_root/root/.ssh/authorized_keys failed
<br><br>================================ End logfile ==================================<br><br>Killed<br><br>jordiRTLinux:/opt/rtldk-2.2/rtlinuxpro/lnet/regression # <br><br> <br><br>Whatever more information that you need I will provide you immediately.
<br><br> <br><br>It seems that the problem is on how to link the new module installed 'lnet' with and Ethernet interface (eth0) o another similar methods that allows to configure properly the Ethernet (Gateway, etc). I think that when I try to do a ping the error message sounds like if the system wasn't able to find the address (gateway problem).
<br><br> <br><br>Thanks in advance for you help,<br><br><br><br>