Jan Kiszka wrote:
> Lauener Nathan wrote:
> 
>>>>Betreff: Re: [RTnet-users] problems running example frag-ip
>>
>>>>Lauener Nathan wrote:
>>>>Hi,
>>>>
>>>>I just installed rtnet 0.9.0 and tried to run the 
>>>>xenomai/native/frag-ip example, but the programm always terminates 
>>>>prematurely. The last line says "rt_dev_sendmsg = -1!", which would 
>>>>mean the operation is not permitted. I run the program as super user,
>>
>>>>so access rights shouldn't be a problem. Browsing the mail archives 
>>>>and analyzing the source code hasn't given me any clues so far. Any
>>
>>hints are welcome.
>>
>>
>>>Unexplainable for now, will have to re-check this as well. Do the
>>
>>kernel examples work?
>>
>>Added my destination computer to rtroute and now it works. :)
> 
> 
> Ah, that's good. I'm just wondering why -1 was the return value - I need
> to check THIS now.
> 

This is what I get when sending a message to an unknown IP (rtnet-SVN,
Xenomai-2.0.x-SVN):

# examples/xenomai/native/frag-ip -d 192.168.1.1
destination ip address 192.168.1.1=0101a8c0
size 65505
start timer 0
Sending message of 65505+2 bytes
 rt_dev_sendmsg() = -113!
...

113 = EHOSTUNREACH, as it should be. So I REALLY don't understand what
happened on your box regarding the error code.

> 
> 
>>different NICs to get it to work correctly.
>>A real problem is the RTmac support. Compilation aborts with comment
>>"rtmac_vnic.c:88: error: structure has no member called 'stamp'!". I
>>sorted through all the includes only to find that 'stamp' is a member! I
>>am new to network driver programming so all the different data
>>structures and functions are still very obscure to me. 
> 
> 
> Hold on, I'm going to post a patch this evening to SVN.
> 

Please check out latest SVN, all 2.6.14-related fixes are online now.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to