Divi Oillo wrote: > Hi, > > I'm new to rtnet and I'm trying to test some functionalities of the rtnet > API. > I have instaled Xenomai-2.5.3 with a 2.6.32.11 vanilla kernel and the latest > version of rtnet (rtnet-0.9.12) on my Debian lenny distribution. > When I run rt_dev_socket it returns me a negative code (-97). > > My Ethernet card : Ethernet controller: Intel Corporation 82566DM-2 Gigabit > Network Connect > > Here is what I have done : > > $ mknod /dev/rtnet c 10 240 > $ ifconfig eth0 down > $ rmmod e1000e > $ /usr/local/rtnet/sbin/rtnet start > Waiting for all slaves... > $ more /proc/xenomai/rtdm/protocol_devices > Hash ProtocolFamily:SocketType Driver /proc > 11 17:2 rtpacket PACKET_DGRAM > 11 17:3 rtpacket PACKET_RAW > $ ./my_test > rt_dev_socket : -97 > socket cannot be created: Success > > /usr/local/rtnet/modules$ ls > examples rtcap.ko rt_e1000.ko rt_igb.ko rt_loopback.ko > rtnet.ko rtudp.ko > rt_8139too.ko rtcfg.ko rt_eepro100.ko rtipv4.ko rtmac.ko > rtpacket.ko tdma.ko > > In my test, I want to display the message I receive from 134.246.151.198 on > the port 15015. > My local IP adress is 134.246.151.130. > I join my code and my rtnet.conf file. > > Can anyone help me?
The rtnet start script of 0.9.12 is not automatically loading rtudp.ko, which became a separate module with that version. You could pick up the fix from latest rtnet.git or patch the script on your own. Jan
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users