[GUFSC] RTlinux

Emílio Wuerges wuerges em gmail.com
Segunda Junho 25 18:22:36 BRT 2007


Primeiramente, acredito q esta nao e' a lista adequada para receber essa
mensagem. A descricao do problema esta ate' em ingles! Isso e' uma falta de
consideracao com muitos membros da lista, provavelmente.

Mas agora o seu problema:
Devido a mensagem de erro:

//--
 jordiRTLinux:/opt/rtldk-2.2/rtlinuxpro/lnet/bin # ./ping.rtl target=
138.100.76.1

dev0: PING (138.100.76.1)
ERROR: dev0 rtl_sendmsg() returned -301



The error information on the documentation says: 'Destination IP4 Address
not found in table'. But we don't know how to solve this problem.
//--

O erro provavelmente se deve a uma tabela de rotas mal configurada.
Poderia postar a tabela de rotas?


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


-- 
Emilio Wuerges
LAPS - Laboratorio de Automacao de Projeto de Sistemas
UFSC - Universidade Federal de Santa Catarina
Brasil
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://www.softwarelivre.ufsc.br/pipermail/gufsc/attachments/20070625/5c44c185/attachment.html 


Mais detalhes sobre a lista de discussão GUFSC