FLIPS issue

Tiago Jorge tjpj at lasige.di.fc.ul.pt
Tue Apr 12 15:08:38 CEST 2005


errr...
Its strange...
I've gaven up of broadcast... setsockopt works out fine. I've debugged 
the errors that came from the calls of socket_linux (after our mail i 
went to follow all the path that you describe in this email :) ) and 
stuff... and if i broadcast it says "network unreachable" and if i try 
to multicast it says "no such device".

It's strange because i've configured the NIC to work both with multicast 
and broadcast(i think...) and it works fine peer to peer. I've set his 
address, netmask and broadaddr and flags to UP RUNNING BROADCAST 
MULTICAST... so i'm out of solutions. I'm converting now my program to 
unicast. But if you have any solution on this i would apreciate it much.

thanks for the help

Tiago

>Hi,
>
>just a brief reply because I'm really busy until next Monday...
>
>... oops, it's Tueasday and I did not finish the email - shame on me. I
>hope it still helps you.
>
>On Wed, Apr 06, 2005 at 10:14:10AM +0100, Tiago Jorge wrote:
>  
>
>>first issue:
>>
>>i've been "investigating" the code and following the calls that all 
>>procedures do during their execution. And i cannot find where setsockopt 
>>in l4vfs is implemented :(. I don't see anyware the method 
>>l4vfs_net_io_setsockopt_component(...) implemented. Just its template.
>>    
>>
>
>A grep brought up:
>
>flips/lib/server/libflips_server.c:324:l4_int32_t l4vfs_net_io_setsockopt_component(CORBA_Object _dice_corba_obj,
>
>As this is a library linked to the Flips server it calls setsockopt() of
>libsocket_linux, which in turn calls sock_setsockopt() or
>sock->ops->setsockopt() - in your case sock_setsockopt() in
>net/core/sock.c:174 from original Linux 2.4 sources.
>
>On client side it's:
>
>1. l4vfs/lib/libc_backends/socket_io/socket.c:671:int setsockopt(int s, int * level, int optname, const void *optval,
>2. l4vfs/lib/client/net_io.c:284:int l4vfs_setsockopt(l4_threadid_t server,
>3. l4vfs/idl/OBJ-x86-l4v2/net_io-client.c:1363:l4vfs_net_io_setsockopt_call(const_CORBA_Object _dice_corba_obj,
>
>I don't see why your call to setsockopt() should not end up in Flips.
>
>Any progress with this issue in the last week?
>
>  
>
>>second issue:
>>
>>i've managed to get a serial cable to redirect output  to another 
>>terminal, and i saw something i thought i saw earlier but didn't managed 
>>to figured it out. During flips boot it gives a strange error that i 
>>can't figure it out...
>>    
>>
>[...]
>  
>
>>###################################################
>>
>>*flips-0 |  Error: call failed (ret -8 "item not found", exc 0) --- 
>>maybe this 
>>i                                                                           
>>
>>*flips-0 : s okay for you!
>>
>>I don't know what this means, but my menu.lst looks like this... is it 
>>something missing?
>>    
>>
>
>In this case, this is no error and "okay for you". Sorry for ambiguity of
>the message.
>
>Regards
>  
>





More information about the l4-hackers mailing list