Do you know if solaris has __BYTE_ORDER defined in /usr/include/* ? Can you give us access to this particular machine to inspect a few macros? It seems to be an endian-ness related issue.<br><br>avati<br><br><div class="gmail_quote">
2008/11/9 rhubbell <span dir="ltr"><<a href="mailto:rhubbell@ihubbell.com">rhubbell@ihubbell.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Sat, 2008-11-08 at 17:10 +0530, Anand Avati wrote:<br>
><br>
><br>
>On Fri, 2008-11-07 at 10:26 -0800, rhubbell wrote:<br>
>> > Hello all,<br>
>> ><br>
>> > Is there a version dependency on gcc and gluster?<br>
>> > Is there currently a preference by devs? gcc3 or 4?<br>
>> ><br>
>> ><br>
>><br>
>> I ended up building with gcc4 and I got it built on Solaris10.<br>
>> I also built it on redhat linux from the same tar ball, 1.4pre7<br>
>><br>
>> I started with a simple setup and I am unable to get the linux box to<br>
>> mount the solaris gfs.<br>
>><br>
>> I installed the fuse-gfs and built that and loaded the kernel module<br>
>> fine on the linux client.<br>
>><br>
>> Error on client:<br>
>><br>
>> client: SETVOLUME on remote-host failed: ret=-2 reply=@0x8fcd270<br>
>><br>
>> ls on the mount point produces:<br>
>><br>
>> Transport endpoint is not connected<br>
>><br>
>><br>
>><br>
</div><div><div></div><div class="Wj3C7c">>> server errors (not exact):<br>
>><br>
>> server: socket header validation failed<br>
>> socket.c:492 socket header has incorrect size1=3120562176<br>
>><br>
<br>
><br>
> you are probably running 1.3.x against 1.4.x<br>
><br>
> avati<br>
><br>
</div></div>Not sure why you reached that conclusion as I specifically pointed out<br>
that I built from the same tar ball on solaris and linux.<br>
<br>
I have to guess that something in the error is familiar.<br>
<br>
I confirmed that I'm running the same version on client and server.<br>
<br>
<br>
Here's some additional data, if you have better ideas to troubleshoot or<br>
other data that would help to narrow this down I'm all ears. (^:<br>
<br>
<br>
<br>
Server (running solaris10 - from the log file):<br>
---------------------------<br>
<br>
2008-11-08 13:27:58 E [socket.c:492:__socket_proto_validate_header]<br>
server: socket header has incorrect size1=3120562176<br>
2008-11-08 13:27:58 E [socket.c:588:socket_proto_state_machine] server:<br>
socket header validation failed<br>
2008-11-08 13:27:58 C [server-protocol.c:7176:server_protocol_cleanup]<br>
server: connection private (null) for transport 7dad8<br>
2008-11-08 13:27:58 D [socket.c:1292:fini] server: transport 7dad8<br>
destroyed<br>
<br></blockquote></div><br>