[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [MirageOS-devel] mirage-net-unix problems
Ok, I modified mirage-net-unix to output a reasonable error message and apparently tun0 is being considered "disconnected" during a read operation. I have the tests for it at least printing out just one "got packet of len [length]" now and then the interface gets "disconnected". This is the code that detects the disconnection: Lwt_cstruct.read t.dev buf
>>= function
|(-1) -> (* EAGAIN or EWOULDBLOCK *)
read t page
|0 -> (* EOF *)
return (`Error `Disconnected)
Is 0 really an EOF? Should it be considered a disconnect? Anyway, I got the tests for mirage-net-unixÂfullyÂworking with Ubuntu 12.04.5, and I assume I'll be able to get Mirage OS proper working now. Should I submit a pull request for the modifications I made to mirage-net-unix? Thanks for all your help! -Robert On Fri, May 1, 2015 at 8:40 AM, Robert Ream <robertream@xxxxxxxxx> wrote:
_______________________________________________ MirageOS-devel mailing list MirageOS-devel@xxxxxxxxxxxxxxxxxxxx http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |