Re: [RTnet-users] Problem with e1000e driver

2014-06-30 Thread Wojciech Domski
I have found similar solution to the one presented at https://www.mail-archive.com/rtnet-users@.../msg01326.html In my case, it was required to edit the rtnet script. I have added 5 seconds of delay in submit_cfg() function, just after bringing rteth0 device up. Does anyone know why the rt_e1

[RTnet-users] Problem with e1000e driver

2014-04-01 Thread Wojciech Domski
Dear all, I am experiencing some problems using the rt_e1000e driver for RTnet. What I am doing is pretty simple, however not everything is working as it supposed to. After I start the rtnet service I'm keep getting such communicates from syslog: TDMA: Failed to transmit sync frame! and occasio

Re: [RTnet-users] Problem with new Version

2011-05-09 Thread Jan Kiszka
On 2011-05-07 19:43, Franz Engel wrote: > Hi all, > > I have a little problem with the installation of rtnet and my new RT-System. > I use Xenomai 2.5.6 with a 2.6.37.6 Linux kernel. > I tried to configure rtnet with it's script: > ./configure --with-linux=/usr/src/linux > --with-rtext-config=/u

[RTnet-users] Problem with new Version

2011-05-07 Thread Franz Engel
Hi all, I have a little problem with the installation of rtnet and my new RT-System. I use Xenomai 2.5.6 with a 2.6.37.6 Linux kernel. I tried to configure rtnet with it's script: ./configure --with-linux=/usr/src/linux --with-rtext-config=/usr/xenomai/bin/xeno-config --enable-examples --enable

Re: [RTnet-users] Problem while using Intel pro/1000 GT 82541PI as Master

2011-03-23 Thread Jan Kiszka
On 2011-03-22 08:44, Sebastian Haupt wrote: > Dear Mailing List, > > > System: > > OpenSuse 11.2 > > => Kernel: 2.6.31.8 > > => Real Time Extension: RTAI 3.8 > > => Rtnet 0.9.12 > > > Hardware: > > Computer1 > > Network Controller: Realtek RTL-8169 > > Computer2 > > Network Controller:

[RTnet-users] Problem while using Intel pro/1000 GT 82541PI as Master

2011-03-22 Thread Sebastian Haupt
  Dear Mailing List, System: OpenSuse 11.2 =>   Kernel: 2.6.31.8 =>   Real Time Extension: RTAI 3.8 =>   Rtnet 0.9.12 Hardware: Computer1 Network Controller: Realtek RTL-8169 Computer2 Network Controller: Intel pro/1000 GT 82541PI My problem is while the startup. If I use the Networ

Re: [RTnet-users] problem driver ethernet dm9000

2010-09-20 Thread Michel He
Hello Jan, I've managed to make ethernet packets incoming and outgoing between 2 nodes. As far as I could find out, the interface number (local_addr.sll_ifindex = local_if) depend on 1 for loopback (rtlo), 2 for dm9000 (rteth0). My question is, is there another identification poss

Re: [RTnet-users] problem driver ethernet dm9000

2010-09-20 Thread Michel He
Hi Jan, Actually, blocked = sometimes whole system freezes, but sometimes only the shell is affected. So it's very confusing. This only happens by using tdmacfg, the slave is waiting for something never received, so maybe the timeout is not configured ? With Wireshark, I did some m

Re: [RTnet-users] problem driver ethernet dm9000

2010-09-17 Thread Jan Kiszka
Am 17.09.2010 09:38, Michel He wrote: > Ok, actually I try to decompose rtnet script. so I load step by step > modules and make initialization of rtroute. the tdma configuration in > slave has blocked the entire system. in the master side it seems ok. > > in slave side: > cd /usr/rtnet/modules

Re: [RTnet-users] problem driver ethernet dm9000

2010-09-17 Thread Michel He
Yes ok, the TDMA sync frame is probably missing. - #10.0.0.1 master side $rtcfg rteth0 server $rtcfg rteth0 add 10.0.0.2 -stage1 - $tdmacfg rteth0 master 5000 $tdmacfg rteth0 slot 0 200 $rtcfg rteth0 wait ^C (break, because the program is blocked) $rtping 10.0.0.2 RT

Re: [RTnet-users] problem driver ethernet dm9000

2010-09-17 Thread Michel He
I've just found out a post: http://www.mail-archive.com/rtnet-users@lists.sourceforge.net/msg01126.html it is to "insmod tdma.ko start_timer=1" however start_timer is no longer used. insmod: error inserting 'tdma.ko': -1 Unknown symbol in module I don't have Wireshark on both embedded systems

Re: [RTnet-users] problem driver ethernet dm9000

2010-09-17 Thread Jan Kiszka
Am 17.09.2010 09:38, Michel He wrote: > Ok, actually I try to decompose rtnet script. so I load step by step > modules and make initialization of rtroute. the tdma configuration in > slave has blocked the entire system. in the master side it seems ok. > > in slave side: > cd /usr/rtnet/modules/ >

Re: [RTnet-users] problem driver ethernet dm9000

2010-09-17 Thread Michel He
Ok, actually I try to decompose rtnet script. so I load step by step modules and make initialization of rtroute. the tdma configuration in slave has blocked the entire system. in the master side it seems ok. in slave side: cd /usr/rtnet/modules/ insmod rtnet.ko insmod rtipv4.ko insmod rtpacket

Re: [RTnet-users] problem driver ethernet dm9000

2010-09-16 Thread Jan Kiszka
Am 16.09.2010 17:05, Michel He wrote: > Hello, > > I have to continue debugging the RTnet dm9000 driver which was > under development previously. It's about the chip aside the PXA270 on > Toradex & Mobisense platform. The threads were inside > http://thread.gmane.org/gmane.linux.real-tim

[RTnet-users] problem driver ethernet dm9000

2010-09-16 Thread Michel He
Hello, I have to continue debugging the RTnet dm9000 driver which was under development previously. It's about the chip aside the PXA270 on Toradex & Mobisense platform. The threads were inside http://thread.gmane.org/gmane.linux.real-time.rtnet.user Most parts of the works have been do

Re: [RTnet-users] Problem with raw

2010-09-14 Thread Franz Engel
Hi Jan, The packages I build are o.k. Because I use the same buildmethode for the nonRTnet Raw Packages. On the receiver side it's no problem, because I'm use Matlab xPC Target. xPC is measuring the incoming stream, whatever protocol that use. Forthermore the sending method works fine if I dele

Re: [RTnet-users] Problem with raw

2010-09-13 Thread Jan Kiszka
Am 13.09.2010 16:30, Franz Engel wrote: > Hello, > > I have an problem and after one week I'm at one's wits' end. I wrote a client > that send a raw message to a second system. That works. Now I want to wait > for a > request form the second system befor I send my message. The second system >

[RTnet-users] Problem with raw

2010-09-13 Thread Franz Engel
Hello, I have an problem and after one week I'm at one's wits' end. I wrote a client that send a raw message to a second system. That works. Now I want to wait for a request form the second system befor I send my message. The second system sends an broadcast, but my program isn't able to recei

Re: [RTnet-users] Problem in running rttcp-server/client ap plication

2010-07-23 Thread prakash srinivasan
On Thu, 22 Jul 2010 21:49:55 +0530 wrote >prakash srinivasan wrote: >> Hi, >> Now I am trying to execute the sample programs given in >> examples/xenomai/posix/ folder. I am trying to execute the rttcp-server and >> rttcp-client program. >> rttcp-server usage is ::./rttcp-server

Re: [RTnet-users] Problem in running rttcp-server/client application

2010-07-22 Thread Jan Kiszka
prakash srinivasan wrote: > Hi, > >Now I am trying to execute the sample programs given in > examples/xenomai/posix/ folder. I am trying to execute the rttcp-server and > rttcp-client program. > > rttcp-server usage is :: ./rttcp-server > > ./rttcp-server -l 192.168.0.10 (I used rteth0 d

[RTnet-users] Problem in running rttcp-server/client ap plication

2010-07-22 Thread prakash srinivasan
Hi, Now I am trying to execute the sample programs given in examples/xenomai/posix/ folder. I am trying to execute the rttcp-server and rttcp-client program. rttcp-server usage is :: ./rttcp-server ./rttcp-server -l 192.168.0.10 (I used rteth0 device here) Its waiting for client.. On

Re: [RTnet-users] Problem with 0.9.12

2010-05-01 Thread Franz Engel
endet: Samstag, 1. Mai 2010 15:29 An: mantega...@aero.polimi.it Cc: Franz Engel; rtnet-users@lists.sourceforge.net Betreff: Re: [RTnet-users] Problem with 0.9.12 mantega...@aero.polimi.it wrote: >> Franz Engel wrote: >>> Hi, >>> >>> I download the 0.9.12, yesterday.

Re: [RTnet-users] Problem with 0.9.12

2010-05-01 Thread mantegazza
> Franz Engel wrote: >> Hi, >> >> I download the 0.9.12, yesterday. But the Client and the Server example >> doesn't work. I get always the message "Error opening socket: >> -1215891508" (the number changes because it is an uninitialized >> integer). Does anyone has the same problem? > > I just mer

Re: [RTnet-users] Problem with 0.9.12

2010-05-01 Thread Jan Kiszka
mantega...@aero.polimi.it wrote: >> Franz Engel wrote: >>> Hi, >>> >>> I download the 0.9.12, yesterday. But the Client and the Server example >>> doesn't work. I get always the message "Error opening socket: >>> -1215891508" (the number changes because it is an uninitialized >>> integer). Does any

Re: [RTnet-users] Problem with 0.9.12

2010-05-01 Thread Jan Kiszka
Franz Engel wrote: > Hi, > > I download the 0.9.12, yesterday. But the Client and the Server example > doesn't work. I get always the message "Error opening socket: -1215891508" > (the number changes because it is an uninitialized integer). Does anyone has > the same problem? I just merged som

Re: [RTnet-users] Problem with 0.9.12

2010-04-27 Thread Franz Engel
Hi, I try to run a really simple example. But it doesn't work and I'm very despaired. #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include static struct sockaddr_in local_addr; static struct sock

Re: [RTnet-users] Problem with 0.9.12

2010-04-26 Thread Jan Kiszka
Franz Engel wrote: > Nobody use RTnet with RTAI? I thought that is the normal way to design a > realtime system, isn't it? > I don't know precisely how many people use RTnet with RTAI these days. Based on the feedback, I would say it's a moderate number. I'm doing RTnet development over Xenomai

Re: [RTnet-users] Problem with 0.9.12

2010-04-26 Thread Franz Engel
Nobody use RTnet with RTAI? I thought that is the normal way to design a realtime system, isn't it? Von: Jan Kiszka An: Franz Engel CC: "rtnet-users@lists.sourceforge.net" Gesendet: Montag, den 26. April 2010, 12:24:18 Uhr Betreff: Re: AW: Problem with 0.9

Re: [RTnet-users] Problem with 0.9.12

2010-04-26 Thread Jan Kiszka
Franz Engel wrote: > I get the same error for simpleclient and for rtnet_ifs. The excample > simpleserver show me this message: "CANNOT INIT MASTER TASK". > > I use Ubuntu 9.10 with the 2.6.31.8 Kernel and the vulcano release of RTAI. I > have an dual core processor and two ethernet interfaces.

Re: [RTnet-users] Problem with 0.9.12

2010-04-26 Thread Franz Engel
I get the same error for simpleclient and for rtnet_ifs. The excample simpleserver show me this message: "CANNOT INIT MASTER TASK". I use Ubuntu 9.10 with the 2.6.31.8 Kernel and the vulcano release of RTAI. I have an dual core processor and two ethernet interfaces. Is it what you want to know?

Re: [RTnet-users] Problem with 0.9.12

2010-04-26 Thread Jan Kiszka
Franz Engel wrote: > Hi, > > I download the 0.9.12, yesterday. But the Client and the Server example > doesn't work. I get always the message "Error opening socket: -1215891508" > (the number changes because it is an uninitialized integer). Does anyone has > the same problem? > Which example

[RTnet-users] Problem with 0.9.12

2010-04-26 Thread Franz Engel
Hi, I download the 0.9.12, yesterday. But the Client and the Server example doesn't work. I get always the message "Error opening socket: -1215891508" (the number changes because it is an uninitialized integer). Does anyone has the same problem? Regards, Franz -

Re: [RTnet-users] Problem Installing RTnet

2009-12-09 Thread Jan Kiszka
Benjamin Kramer wrote: > Dear Community, > > I wanted to install RTnet on my Ubuntu System but after "make" this error > appeared: > > checking for RTDM skin... configure: error: *** Please enable RTDM skin > make: *** [config.status] Fehler 1 > > My System: > > RTAI 3.7.1 patched 2.6.24 Kerne

[RTnet-users] Problem Installing RTnet

2009-12-09 Thread Benjamin Kramer
Dear Community, I wanted to install RTnet on my Ubuntu System but after "make" this error appeared: checking for RTDM skin... configure: error: *** Please enable RTDM skin make: *** [config.status] Fehler 1 My System: RTAI 3.7.1 patched 2.6.24 Kernel on Ubuntu 8.04 I would be very thankful fo

Re: [RTnet-users] Problem with rtifconfig rteth0 up 10.2.12.149

2008-09-01 Thread Jan Kiszka
Tuan Minh Nguyen wrote: > Hi all, > > I am newbee to RTnet trying to install it on Ubuntu 8.0.4 mit kernel 2.6.23 > und RTAI 3.6 > After doing all steps described on the website www.rtnet.org i executed the > following scripts: > > 1. load_rtai: > > #!/bin/sh > MOD_DIR=/usr/realtime/mo

[RTnet-users] Problem with rtifconfig rteth0 up 10.2.12.149

2008-08-28 Thread Tuan Minh Nguyen
Hi all, I am newbee to RTnet trying to install it on Ubuntu 8.0.4 mit kernel 2.6.23 und RTAI 3.6 After doing all steps described on the website www.rtnet.org i executed the following scripts: 1. load_rtai: #!/bin/sh MOD_DIR=/usr/realtime/modules sync # make -f /usr/src/rtai/GNUmakef

Re: [RTnet-users] Problem with rt_serv module loading in rtnet-0.9.10+rtfirewire svn 110+xenomai-2.4.2

2008-03-03 Thread Jan Kiszka
sss yyy wrote: > > Hi friends, > how are you all? > Today i tried to install rtnet-0.9.10 on my pc with xenomai-2.4.2. > It got installed fine but iam not able to install rt-firewire successfully. > All require modules are created but when i tried to insmod rtpkbuff i didnt > get any pr

[RTnet-users] Problem with rt_serv module loading in rtnet-0.9.10+rtfirewire svn 110+xenomai-2.4.2

2008-03-03 Thread sss yyy
Hi friends, how are you all? Today i tried to install rtnet-0.9.10 on my pc with xenomai-2.4.2. It got installed fine but iam not able to install rt-firewire successfully. All require modules are created but when i tried to insmod rtpkbuff i didnt get any problem but when i tried to in

Re: [RTnet-users] Problem using SOCK_STREAM/SOCK_RAW with rt_dev_open()

2007-11-01 Thread Jan Kiszka
Spiller, Alexander wrote: > Hello community, > > as mentioned in my mail from 05.09.2007 (see [1]) we want to use > rtnet for a realtime communication with a robot-controller (VMWare). (think I already expressed my confusion about the setup) > We want to write a program, which uses the rtnet-API

[RTnet-users] Problem using SOCK_STREAM/SOCK_RAW with rt_dev_open()

2007-10-31 Thread Spiller, Alexander
Hello community, as mentioned in my mail from 05.09.2007 (see [1]) we want to use rtnet for a realtime communication with a robot-controller (VMWare). We want to write a program, which uses the rtnet-API to create a TCP/IP-socket-connection in RTAI. We are getting into trouble when calling rt_dev_

Re: [RTnet-users] problem in generate GNUmakefile

2007-05-04 Thread Jan Kiszka
To Yap Tse [EIE] wrote: > Hi experts, > > I get a LAN card driver and I try to put it into a "realtime" driver. > After code modifications, I don't know how to generate the > "GNUmakefile.in" but I know how to create configure.in using aclocal, > autoconf and automake. The resultant install file

[RTnet-users] problem in generate GNUmakefile

2007-05-04 Thread To Yap Tse [EIE]
Hi experts, I get a LAN card driver and I try to put it into a "realtime" driver. After code modifications, I don't know how to generate the "GNUmakefile.in" but I know how to create configure.in using aclocal, autoconf and automake. The resultant install files do not compatitable with the one u

Re: [RTnet-users] problem with backup-master

2007-03-18 Thread Jan Kiszka
francesco iannone wrote: > Hi > > I work with rtnet 0.94 on RTAI 3.3 with linux kernel2.6.15 con patch > hal-linux-2.6.15-i386-1.2-00.patch. > > It works fine with default setup and tdma.conf configuration with no > backup-master. > > The problem rises whit insert of backup-master configuration

[RTnet-users] problem with backup-master

2007-03-15 Thread francesco iannone
Hi I work with rtnet 0.94 on RTAI 3.3 with linux kernel2.6.15 con patch hal-linux-2.6.15-i386-1.2-00.patch. It works fine with default setup and tdma.conf configuration with no backup-master. The problem rises whit insert of backup-master configuration such as: #Examplary TDMA configuration f

Re: [RTnet-users] problem

2007-02-19 Thread Jan Kiszka
ahmad zamani wrote: > hello all. > i have a small network with 10 node. and translate information with length > 60 bytes but with speed 1200 on second this nodes communication with other. Sorry, I didn't understand this requirement yet. 10 node, each is transmitting 60-byte payload packets (or m

[RTnet-users] problem

2007-02-19 Thread ahmad zamani
hello all. i have a small network with 10 node. and translate information with length 60 bytes but with speed 1200 on second this nodes communication with other. for nodes very important that data send and receive reliability and on time. now how get this ability by RTnet. thanks. --

Re: [RTnet-users] Problem with rt_dev_recvfrom with a UDP socket (Was "Problem with raw socket")

2007-01-15 Thread Jan Kiszka
Marcelo Coelho wrote: >> Possible solutions: leave that context before socket(), set >> rtskb_cache_size on rtnet.ko loading, or already open the raw socket >> during application startup in non-RT context. > > Creating the socket in soft_real_time solved that situation, but now i > have a differen

Re: [RTnet-users] Problem with rt_dev_recvfrom with a UDP socket (Was "Problem with raw socket")

2007-01-15 Thread Marcelo Coelho
> Possible solutions: leave that context before socket(), set > rtskb_cache_size on rtnet.ko loading, or already open the raw socket > during application startup in non-RT context. Creating the socket in soft_real_time solved that situation, but now i have a different problem with the UDP socket.

Re: [RTnet-users] Problem with raw socket

2007-01-15 Thread Jan Kiszka
Marcelo Coelho wrote: > Hi! > > > I'm developing an application that uses rtai-3.4 (closure version) and > rtnet 0.9.8 (I've also tested rtnet 0.9.8), that uses two sockets of > different type: first, when the application is started, an UDP socket is > opened. Then, when a request of a certain ty

[RTnet-users] Problem with raw socket

2007-01-15 Thread Marcelo Coelho
Hi! I'm developing an application that uses rtai-3.4 (closure version) and rtnet 0.9.8 (I've also tested rtnet 0.9.8), that uses two sockets of different type: first, when the application is started, an UDP socket is opened. Then, when a request of a certain type is received, an RAW socket is ope

Re: [RTnet-users] Problem compiling RTnet svn

2006-09-25 Thread Jorge Almeida
Hello to all. I update RTAI to magma and RTnet to svn today. I compile both the applications without any problem. I think all the changes can be commited for the principal trrunk with no problems. Thanks to all. Jorge Em Sexta, 22 de Setembro de 2006 21:53, o Paolo Mantegazza escreveu: > Jo

Re: [RTnet-users] Problem compiling RTnet svn

2006-09-22 Thread Paolo Mantegazza
Jan Kiszka wrote: > Jorge Almeida wrote: > >>I'm using RTAI 3.4 and RTnet SVN >> >>The following error appears compiling Rtnet SVN >> >> CC [M] /home/jorge/nfs_mount/rtnet/stack/iovec.o >> CC [M] /home/jorge/nfs_mount/rtnet/stack/rtdev.o >> CC [M] /home/jorge/nfs_mount/rtnet/stack/rtdev_mgr.

Re: [RTnet-users] Problem compiling RTnet svn

2006-09-22 Thread Jan Kiszka
Jorge Almeida wrote: > I'm using RTAI 3.4 and RTnet SVN > > The following error appears compiling Rtnet SVN > > CC [M] /home/jorge/nfs_mount/rtnet/stack/iovec.o > CC [M] /home/jorge/nfs_mount/rtnet/stack/rtdev.o > CC [M] /home/jorge/nfs_mount/rtnet/stack/rtdev_mgr.o > In file included fr

[RTnet-users] Problem compiling RTnet svn

2006-09-22 Thread Jorge Almeida
I'm using RTAI 3.4 and RTnet SVN The following error appears compiling Rtnet SVN CC [M] /home/jorge/nfs_mount/rtnet/stack/iovec.o CC [M] /home/jorge/nfs_mount/rtnet/stack/rtdev.o CC [M] /home/jorge/nfs_mount/rtnet/stack/rtdev_mgr.o In file included from /home/jorge/nfs_mount/rtnet/stack

Re: [RTnet-users] Problem with shared IRQ

2006-08-21 Thread Jan Kiszka
Jorge Almeida wrote: > Hi to all. > > I'm starting to work with rtnet 0.9.4 and i have a machine with a SIS900 NIC > and 3 realtek 8139too NICs, eth0 to eth3 respectively, and when i insert > rtnet the 3 realtek will became rteth0 to rteth2 respectively. > The problem is that i also loose the et

[RTnet-users] Problem with shared IRQ

2006-08-21 Thread Jorge Almeida
Hi to all. I'm starting to work with rtnet 0.9.4 and i have a machine with a SIS900 NIC and 3 realtek 8139too NICs, eth0 to eth3 respectively, and when i insert rtnet the 3 realtek will became rteth0 to rteth2 respectively. The problem is that i also loose the eth0 capability. I think the prob

Re: [RTnet-users] Problem using multiple NICs in raw mode

2006-08-04 Thread Jan Kiszka
Jan Kiszka wrote: > Marco Pantaleoni wrote: >> One last thing: as the interface index (for sll_ifindex) I've to use 2 >> for rteth0, 3 for rteth1, ... which seems off by 1. Is there any >> explanation? > > rtlo likely uses index 1 on your box (when being loaded first). There is > no fixed relation

Re: [RTnet-users] Problem using multiple NICs in raw mode

2006-08-03 Thread Marco Pantaleoni
On 8/3/06, Marcelo Coelho <[EMAIL PROTECTED]> wrote: > > ... If I send to eth2 or eth3 I don't see nothing. (ugh, double negation, I intended "I don't see anything") > > You're trying to say "If I send FROM eth2 or eth3 ..." right? > no, here I'm sending from one of the RT NICs (rteth0, rteth1 o

Re: [RTnet-users] Problem using multiple NICs in raw mode

2006-08-03 Thread Jan Kiszka
Marco Pantaleoni wrote: > On 7/29/06, Jan Kiszka <[EMAIL PROTECTED]> wrote: >> Marco Pantaleoni wrote: >> > Hi, >> > I'm writing an application using rtnet 0.9.3 and vulcano CVS (using >> LXRT) >> > that should send and receive raw ethernet frames from multiple NICs. >> I've >> > followed the raw-p

Re: [RTnet-users] Problem using multiple NICs in raw mode

2006-08-03 Thread Marcelo Coelho
> ... If I send to eth2 or eth3 I don't see nothing. You're trying to say "If I send FROM eth2 or eth3 ..." right? What are you using to "see" the packages? You have to use a "special" software like ethereal (nowadays called wireshark) which has support for rtnet. Marco Pantaleoni wrote: >

Re: [RTnet-users] Problem using multiple NICs in raw mode

2006-08-03 Thread Marco Pantaleoni
On 7/29/06, Jan Kiszka <[EMAIL PROTECTED]> wrote: > Marco Pantaleoni wrote: > > Hi, > > I'm writing an application using rtnet 0.9.3 and vulcano CVS (using LXRT) > > that should send and receive raw ethernet frames from multiple NICs. I've > > followed the raw-packet Xenomai example to understand h

Re: [RTnet-users] Problem with rtt-responder

2006-08-02 Thread Jan Kiszka
matrix_df hotmail wrote: > Hello > > With linux 2.6.15.4, xenomai-2.2.0 and rtnet-0.9.3-svn > I have the following problem: > > [EMAIL PROTECTED] posix]# ./rtt-sender -d 10.0.0.2 -l 10.0.0.1 > [EMAIL PROTECTED] posix]# ./rtt-responder -d 10.0.0.1 -l 10.0.0.2 > > I get no rtt-time message and wh

[RTnet-users] Problem with rtt-responder

2006-08-02 Thread matrix_df hotmail
Hello With linux 2.6.15.4, xenomai-2.2.0 and rtnet-0.9.3-svn I have the following problem: [EMAIL PROTECTED] posix]# ./rtt-sender -d 10.0.0.2 -l 10.0.0.1 [EMAIL PROTECTED] posix]# ./rtt-responder -d 10.0.0.1 -l 10.0.0.2 I get no rtt-time message and when I look at node2 with [EMAIL PROTECTED] ~

Re: [RTnet-users] Problem with frag-ip.ko

2006-08-02 Thread Jan Kiszka
matrix_df hotmail wrote: > Hello > > With linux 2.6.15.4, xenomai-2.2.0 and rtnet-0.9.3 (and previous verions > also) > I have the following problem: > > [EMAIL PROTECTED] kernel]# insmod frag-ip.ko dest_ip_s=10.0.0.2 size=64 > destination ip address 10.0.0.2=020a > size 64 > rt_task_set_pe

[RTnet-users] Problem with frag-ip.ko

2006-08-02 Thread matrix_df hotmail
Hello With linux 2.6.15.4, xenomai-2.2.0 and rtnet-0.9.3 (and previous verions also) I have the following problem: [EMAIL PROTECTED] kernel]# insmod frag-ip.ko dest_ip_s=10.0.0.2 size=64 destination ip address 10.0.0.2=020a size 64 rt_task_set_periodic(rt_xmit_task) = 0! source: ret = rt_t

Re: [RTnet-users] Problem using multiple NICs in raw mode

2006-07-30 Thread Marco Pantaleoni
On 7/29/06, Jan Kiszka <[EMAIL PROTECTED]> wrote: Marco Pantaleoni wrote:> Hi,> I'm writing an application using rtnet 0.9.3 and vulcano CVS (using LXRT)> that should send and receive raw ethernet frames from multiple NICs. I'veThe first behaviour is explainable as only one listener can register on

Re: [RTnet-users] Problem using multiple NICs in raw mode

2006-07-29 Thread Jan Kiszka
Marco Pantaleoni wrote: > Hi, > I'm writing an application using rtnet 0.9.3 and vulcano CVS (using LXRT) > that should send and receive raw ethernet frames from multiple NICs. I've > followed the raw-packet Xenomai example to understand how to open the raw > socket and how to use it. All works fla

[RTnet-users] Problem using multiple NICs in raw mode

2006-07-29 Thread Marco Pantaleoni
Hi,I'm writing an application using rtnet 0.9.3 and vulcano CVS (using LXRT) that should send and receive raw ethernet frames from multiple NICs. I've followed the raw-packet Xenomai example to understand how to open the raw socket and how to use it. All works flawlessly when I open a single socket

[RTnet-users] Problem using multiple NICs in raw mode

2006-07-29 Thread Marco Pantaleoni
Hi,I'm writing an application using rtnet 0.9.3 and vulcano CVS (using LXRT) that should send and receive raw ethernet frames from multiple NICs. I've followed the raw-packet Xenomai example to understand how to open the raw socket and how to use it. All works flawlessly when I open a single socket

Re: [RTnet-users] Problem with example

2006-05-04 Thread Marcelo Coelho
> The 3.3 release contains a few but critical issues with respect to RTDM > and thus RTnet. Please test with a recent CVS snapshot first to exclude > those fixed bugs. Picked up the newest rtai cvs snapshot, the newest rtnet from svn and patched my 2.6.15.6 kernel with the patch version 1.3 of rtai

Re: [RTnet-users] Problem with example

2006-05-04 Thread Jan Kiszka
Marcelo Coelho wrote: > Hi! > > >> If you post your ported code, we could a) commit it to the official version > I have to clean it a little. I'll send it to you during this day... > Great! > >> b) try to reproduce your scenario. >> For b) a detailed description of your setup, maybe in form

Re: [RTnet-users] Problem with example

2006-05-04 Thread Marcelo Coelho
Hi! > If you post your ported code, we could a) commit it to the official version I have to clean it a little. I'll send it to you during this day... > b) try to reproduce your scenario. > For b) a detailed description of your setup, maybe in form of a start-up > script, would be very helpful.

Re: [RTnet-users] Problem with example

2006-05-04 Thread Jan Kiszka
Marcelo Coelho wrote: > Hi! > > I've been playing with the examples within the examples folder of rtnet, > specifically the ones inside the Xenomai folder. As i'm not using > xenomai i ported the raw-packet at folder > (..)/rtnet/examples/xenomai/native/kernel to RTAI. If you post your ported cod

[RTnet-users] Problem with example

2006-05-04 Thread Marcelo Coelho
Hi! I've been playing with the examples within the examples folder of rtnet, specifically the ones inside the Xenomai folder. As i'm not using xenomai i ported the raw-packet at folder (..)/rtnet/examples/xenomai/native/kernel to RTAI. At this time i wasn't capable of sending or receiving message

[RTnet-users] Problem with #define uint "i"

2006-01-06 Thread Wolfgang Grandegger
Hallo, when trying to build RTnet with Xenomai and Linux 2.4.25 for PowerPC, I stumbeld over the following problem: In "linuxppc_2_4_devel/include/asm-generic/xenomai/wrappers.h" there is defined: #define ulong "i" #define uint "i" This makes trouble when a driver uses the types uint

Re: [RTnet-users] Problem setup with 2 network cards

2005-12-14 Thread Jan Kiszka
Cédrick ROCHET wrote: > Hi, > well I have two network cards an intel for realtime > (eth1) and a realteck (eth0) for the normal network. > After removing the modules for eth1 in linux and > insmoding the realtime driver for the once-eth1 card. > I can't ping anything on the web but as soon as I >

RE: [RTnet-users] Problem setup with 2 network cards

2005-12-13 Thread Cédrick ROCHET
More details: I run a ping in one term: 64 bytes from www2.vip.ukl.yahoo.com (217.12.3.11): icmp_seq=300 ttl=241 time=25.3 ms 64 bytes from www2.vip.ukl.yahoo.com (217.12.3.11): icmp_seq=301 ttl=241 time=46.9 ms 64 bytes from www2.vip.ukl.yahoo.com (217.12.3.11): icmp_seq=302 ttl=241 time=28.0 ms

[RTnet-users] Problem setup with 2 network cards

2005-12-13 Thread Cédrick ROCHET
Hi, well I have two network cards an intel for realtime (eth1) and a realteck (eth0) for the normal network. After removing the modules for eth1 in linux and insmoding the realtime driver for the once-eth1 card. I can't ping anything on the web but as soon as I remove the reatime driver for once-e

Re: [RTnet-users] Problem with fusion 0.9.1

2005-11-11 Thread Jan Kiszka
Nicola Pezzotti wrote: > Hi, > I tried to install RTNET 0.9.0 on my PC with fusion 0.9.1 . > When I launch "make menuconfig" or "./configure > --whith-rtai=/usr/realtime/" I have the following error message: > "checking for RTAI version... configure: error: *** Unsupported RTAI > version 0.9.1-fusi

[RTnet-users] Problem with fusion 0.9.1

2005-11-11 Thread Nicola Pezzotti
Hi, I tried to install RTNET 0.9.0 on my PC with fusion 0.9.1 . When I launch "make menuconfig" or "./configure --whith-rtai=/usr/realtime/" I have the following error message: "checking for RTAI version... configure: error: *** Unsupported RTAI version 0.9.1-fusion in /usr/realtime" What can I do

[RTnet-users] Problem with Realtek 8169 Gigabit driver - RTnet 0.9.0

2005-09-29 Thread Romain Lenglet
Hi, I have installed RTnet 0.9.0 on a Pentium 4 PC, with Linux 2.6.13.2 kernel (vanilla), the Adeos Ipipe patch 02, and RTAI fusion 0.9.1. I am trying to make two Planex GN-1200TW cards to work with RTnet. Those cards have Realtek 8169S chips, and then should be supported by RTnet's rt_r8169

Re: [RTnet-users] Problem with rtnet lxrt

2005-06-30 Thread Jan Kiszka
[EMAIL PROTECTED] wrote: I get this error message when traying to send message with LXRT socket : BAD: null rt_fun_ext[6] This error message is from RTAI LXRT function , but I don't have any idea about lxrt work. other thing when i load rtnet after the rtai_lxrt module , i have module error

Re: [RTnet-users] Problem with rtnet lxrt

2005-06-30 Thread amine
I get this error message when traying to send message with LXRT socket : BAD: null rt_fun_ext[6] This error message is from RTAI LXRT function , but I don't have any idea about lxrt work. other thing when i load rtnet after the rtai_lxrt module , i have module error (null pointer), but if i lo

Re: [RTnet-users] Problem with rtnet lxrt

2005-06-30 Thread Jan Kiszka
[EMAIL PROTECTED] wrote: Hi jean I always have the same message error when using Rtnet in LRXT mode Error opening socket: -38 The CONFIG_REGPARM is set to off in mu kernel. LXRT work well when i start the RTAI testsuit for user space example. Do you have any idea to resolve that? I use RTnet 0.8.

[RTnet-users] Problem with rtnet lxrt

2005-06-30 Thread amine
Hi jean I always have the same message error when using Rtnet in LRXT mode Error opening socket: -38 The CONFIG_REGPARM is set to off in mu kernel. LXRT work well when i start the RTAI testsuit for user space example. Do you have any idea to resolve that? I use RTnet 0.8.1 & RTAI 3.1. think in adva

Re: [RTnet-users] Problem Round-Trip-Time

2005-06-27 Thread Jan Kiszka
Kolpak Maximilian (ext) wrote: I have the same problem as described here: http://sourceforge.net/mailarchive/message.php?msg_id=11722044 but unfortunately the given link is dead (fozzie.homelinux..) and i would really like to

[RTnet-users] Problem Round-Trip-Time

2005-06-24 Thread Kolpak Maximilian (ext)
I have the same problem as described here: http://sourceforge.net/mailarchive/message.php?msg_id=11722044 but unfortunately the given link is dead (fozzie.homelinux..) and i would really like to fix that problem.   Is there a new link or a different expaination?   Thanks   Max Kolpak   B

Re: [RTnet-users] problem with flag MSG_DONTWAIT

2005-06-14 Thread Jan Kiszka
Qeltaras wrote: > I write a program for sanding and receive packet with 2 ethernet cards > on the same pc. > The program run correctly (if I send much packet I have problem with > rtskb) for a small number of packets, but if I use in the recvfrom the A socket is normally created with a pool of 16

[RTnet-users] problem with flag MSG_DONTWAIT

2005-06-14 Thread Qeltaras
I write a program for sanding and receive packet with 2 ethernet cards on the same pc. The program run correctly (if I send much packet I have problem with rtskb) for a small number of packets, but if I use in the recvfrom the flag MSG_DONTWAIT, the program don't receive anything. Can you help me?

Re: [RTnet-users] Problem with protocol socket

2005-05-26 Thread Jan Kiszka
Qeltaras wrote: transmission and 1 for receive, the error is only during the second creation socket... I don't understend why... You don't need separate sockets for reception and transmission. But if you want to separate them, use different protocol IDs with socket_rt. RTnet does not allow to

Re: [RTnet-users] Problem with protocol socket

2005-05-26 Thread Jan Kiszka
Qeltaras wrote: Jan wrote: the ETH_P_CUST is 0x6006 Oh, I see, ETH_P_CUST is not just some custom protocol, it's officially defined by DEC. So you depend on this value, don't you? in 16bit is 1632. if I increse the MAX_RT_PROTOCOLS I define if 1632? Oky, but for Implementing the ETH_P_CUST

Re: [RTnet-users] Problem with protocol socket

2005-05-26 Thread Jan Kiszka
Qeltaras wrote: You likely ran into a hash key collision with your ETH_P_CUST protocol. RTnet uses a rather simple hash mechanism to demultiplex incoming Ethernet frames to the corresponding protocol handlers: the last n bits of the protocol ID select the slot, where n is currently 6 (there are

Re: [RTnet-users] Problem with protocol socket

2005-05-26 Thread Jan Kiszka
Qeltaras wrote: I create the sochet with the functuin socket_rt sock = socket_rt( PF_PACKET, SOCK_DGRAM, htons( ETH_P_CUST)); the system returne: Socket error: -99 packet_if_rtai.o: init_module: Operation not permitted Hint: insmod errors can be caused by incorrect module parameters, includi

[RTnet-users] Problem with protocol socket

2005-05-26 Thread Qeltaras
I create the sochet with the functuin socket_rt sock = socket_rt( PF_PACKET, SOCK_DGRAM, htons( ETH_P_CUST)); the system returne: Socket error: -99 packet_if_rtai.o: init_module: Operation not permitted Hint: insmod errors can be caused by incorrect module parameters, including invalid IO, or I

[RTnet-users] Problem with sendto

2005-05-24 Thread Qeltaras
I write a code for send message but the sendto retourn the error EINVAL and I don't understand why... tanks Nicol@ #include #include #include #include #include #include /* RTAI */ #include #include #include #include #include #include /* RTnet */ #include #include #include "pack

[RTnet-users] Problem with sendto

2005-05-24 Thread Qeltaras
I write a code for send message my code is: this is my code: #include #include #include #include #include #include /* RTAI */ #include #include #include #include #include #include /* RTnet */ #include #include #include "packet_if.h" MODULE_LICENSE("GPL"); static RT_TASK task

[RTnet-users] Problem with 8139too

2005-05-23 Thread Qeltaras
I've bought a ethernet card: Atlantis A02-S32 this card have realteck 8139 chipset, but if the driver rt_8139too tell me: no such device! Can you help me? Thanks Nicol@ --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to

Re: [RTnet-users] Problem with rtnet lxrt

2005-05-20 Thread Jan Kiszka
Amine El hedadi wrote: The error message code is -38 , exactly when i tray to create socket, I don't have this probelem in the kernel space only with lxrt . I use the rtai version (3.1), . think Then you very likely hit that CONFIG_REGPARM issue. Switch it off in your kernel. Jan ---

Re: [RTnet-users] Problem with rtnet lxrt

2005-05-20 Thread Amine El hedadi
The error message code is -38 , exactly when i tray to create socket, I don't have this probelem in the kernel space only with lxrt . I use the rtai version (3.1), . think On Thursday 19 May 2005 17:31, Jan Kiszka wrote: > Amine El hedadi wrote: > > hi > > I have a problem to open socket in lx

Re: [RTnet-users] Problem with rtnet lxrt

2005-05-19 Thread Jan Kiszka
Amine El hedadi wrote: hi I have a problem to open socket in lxrt space , is there any tick rtnet compilation to activate socket in lxrt; i use rtnet0.8 & 2.6.9 . Please let us know what problem *exactly* you are facing (error messages/codes etc.). Moreover, which RTAI version you are using?

  1   2   >