From mirageos-devel-bounces@lists.xenproject.org Fri May 01 08:18:32 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 01 May 2015 08:18:32 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yo69E-0002Ot-VW; Fri, 01 May 2015 08:18:12 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1Yo69D-0002Oo-H4
	for mirageos-devel@lists.xenproject.org; Fri, 01 May 2015 08:18:11 +0000
Received: from [85.158.139.211] by server-1.bemta-5.messagelabs.com id
	13/7D-20070-2C633455; Fri, 01 May 2015 08:18:10 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-6.tower-206.messagelabs.com!1430468289!12014168!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=HTML_MESSAGE,
  RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 24407 invoked from network); 1 May 2015 08:18:09 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-6.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 1 May 2015 08:18:09 -0000
Received: from [10.0.0.94] (host81-149-102-120.in-addr.btopenworld.com
	[81.149.102.120]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id dc3d04da;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Fri, 1 May 2015 09:18:08 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAERB2H4_5rqFbp-Lg35FBcRGYvApd1P8wtmkcf1qkE3vMVkkPA@mail.gmail.com>
Date: Fri, 1 May 2015 09:18:07 +0100
Message-Id: <A4FF43ED-881F-49DA-86C9-E85D1F89BC7D@recoil.org>
References: <CAERB2H5+pvfKb4_f4mgur7Gspw0fRmL+va6mZwgSb6a2AjDO-g@mail.gmail.com>
	<CAERB2H4_5rqFbp-Lg35FBcRGYvApd1P8wtmkcf1qkE3vMVkkPA@mail.gmail.com>
To: Robert Ream <robertream@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] mirage-net-unix problems
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5854578913976334784=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============5854578913976334784==
Content-Type: multipart/alternative; boundary="Apple-Mail=_1C9C6D29-8E38-4E1D-9F23-13886D73EFF1"


--Apple-Mail=_1C9C6D29-8E38-4E1D-9F23-13886D73EFF1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

This sounds like a problem with persistent vs non-persistent tap =
interfaces.  This functionality is unfortunately very non-portable =
(MacOS X, FreeBSD and Linux) all have different behaviour.  The =
functionality did change between version 2.2.0 and 2.1.0 to support =
persistent interfaces:
https://github.com/mirage/mirage-net-unix/releases =
<https://github.com/mirage/mirage-net-unix/releases>

So I wonder if something needs to be done to keep it around on your =
particular setup.

(This isn't helped by me now using mirage-net-macosx for most of my =
day-to-day dev, which uses a completely different codepath as tuntap no =
longer works usefully on OSX as of Yosemite).

-anil

> On 30 Apr 2015, at 23:49, Robert Ream <robertream@gmail.com> wrote:
>=20
> An update: I just cloned the mirage-net-unix repo and ran the tests. =
This is what I got:
>=20
> sudo ./test.native
> plugging into tap0 with mac c2:9d:56:19:d7:2c..
> Netif: connect tap0
> connected
> Netif: error, terminating listen loop
> .
> Ran: 1 tests in: 0.00 seconds.
> OK
>=20
> And the tun0 interface disappeared as well.
>=20
>=20
>=20
> On Thu, Apr 30, 2015 at 2:55 PM, Robert Ream <robertream@gmail.com =
<mailto:robertream@gmail.com>> wrote:
> Ok, I'm still stumped.
>=20
> Two things happen with pretty much all of the network examples when I =
build and execute them for unix: 1) they promptly exit with a "Netif: =
error, terminating listen loop" and 2) tun0 disappears and must be =
recreated every time.
>=20
> 1) I tracked down the lines of code in mirage-net-unix that cause this =
error message:
>=20
> let page =3D Io_page.get 1 in
>   read t page >>=3D function
>     | `Error _ ->
>       printf "Netif: error, terminating listen loop\n%!";
>       return ()
>=20
> So it is running into an error when reading a page from the network.
> It would be nice to pretty print the _ of `Error _ instead of drop it =
on the floor.
>=20
> 2) I couldn't find anywhere in the code that remotely appeared to be =
messing with or deleting the tun0 interface. But I wonder if the error =
I'm seeing is due to the tun0 disappearing?
>=20
> -Robert
>=20
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


--Apple-Mail=_1C9C6D29-8E38-4E1D-9F23-13886D73EFF1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">This sounds like a problem with persistent vs non-persistent =
tap interfaces. &nbsp;This functionality is unfortunately very =
non-portable (MacOS X, FreeBSD and Linux) all have different behaviour. =
&nbsp;The functionality did change between version 2.2.0 and 2.1.0 to =
support persistent interfaces:<div class=3D""><a =
href=3D"https://github.com/mirage/mirage-net-unix/releases" =
class=3D"">https://github.com/mirage/mirage-net-unix/releases</a></div><di=
v class=3D""><br class=3D""></div><div class=3D"">So I wonder if =
something needs to be done to keep it around on your particular =
setup.</div><div class=3D""><br class=3D""></div><div class=3D"">(This =
isn't helped by me now using mirage-net-macosx for most of my day-to-day =
dev, which uses a completely different codepath as tuntap no longer =
works usefully on OSX as of Yosemite).</div><div class=3D""><br =
class=3D""></div><div class=3D"">-anil</div><div class=3D""><div =
class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">On 30 Apr 2015, at 23:49, Robert Ream &lt;<a =
href=3D"mailto:robertream@gmail.com" =
class=3D"">robertream@gmail.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" =
class=3D""><div class=3D"">An update: I just cloned the mirage-net-unix =
repo and ran the tests. This is what I got:<br class=3D""><br =
class=3D"">sudo ./test.native<br class=3D"">plugging into tap0 with mac =
c2:9d:56:19:d7:2c..<br class=3D"">Netif: connect tap0<br =
class=3D"">connected<br class=3D"">Netif: error, terminating listen =
loop<br class=3D"">.<br class=3D"">Ran: 1 tests in: 0.00 seconds.<br =
class=3D"">OK<br class=3D""><br class=3D""></div>And the tun0 interface =
disappeared as well.<br class=3D""><div class=3D""><div class=3D""><br =
class=3D""></div><div class=3D""><br class=3D""></div></div></div><div =
class=3D"gmail_extra"><br class=3D""><div class=3D"gmail_quote">On Thu, =
Apr 30, 2015 at 2:55 PM, Robert Ream <span dir=3D"ltr" class=3D"">&lt;<a =
href=3D"mailto:robertream@gmail.com" target=3D"_blank" =
class=3D"">robertream@gmail.com</a>&gt;</span> wrote:<br =
class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr" =
class=3D""><div class=3D""><div class=3D""><div class=3D"gmail_extra"><div=
 class=3D"">Ok, I'm still stumped.<br class=3D""><br class=3D""></div>Two =
things happen with pretty much all of the network examples when I build =
and execute them for unix: 1) they promptly exit with a "Netif: error, =
terminating listen loop" and 2) tun0 disappears and must be recreated =
every time.<br class=3D""><br class=3D""></div></div><div class=3D""><div =
class=3D"gmail_extra">1) I tracked down the lines of code in =
mirage-net-unix that cause this error message:</div></div></div><div =
class=3D"gmail_extra"><br class=3D""></div><div class=3D""><span =
style=3D"font-family:Consolas,'Liberation =
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395p=
x;white-space:pre-wrap;color:rgb(167,29,93)" class=3D"">let</span><span =
style=3D"color:rgb(51,51,51);font-family:Consolas,'Liberation =
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395p=
x;white-space:pre-wrap" class=3D""> page </span><span =
style=3D"font-family:Consolas,'Liberation =
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395p=
x;white-space:pre-wrap;color:rgb(167,29,93)" class=3D"">=3D</span><span =
style=3D"color:rgb(51,51,51);font-family:Consolas,'Liberation =
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395p=
x;white-space:pre-wrap" class=3D""> </span><span =
style=3D"font-family:Consolas,'Liberation =
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395p=
x;white-space:pre-wrap;color:rgb(0,134,179)" =
class=3D"">Io_page.</span><span =
style=3D"color:rgb(51,51,51);font-family:Consolas,'Liberation =
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395p=
x;white-space:pre-wrap" class=3D"">get </span><span =
style=3D"font-family:Consolas,'Liberation =
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395p=
x;white-space:pre-wrap;color:rgb(0,134,179)" class=3D"">1</span><span =
style=3D"color:rgb(51,51,51);font-family:Consolas,'Liberation =
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395p=
x;white-space:pre-wrap" class=3D""> </span><span =
style=3D"font-family:Consolas,'Liberation =
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395p=
x;white-space:pre-wrap;color:rgb(167,29,93)" class=3D"">in
<span style=3D"color:rgb(51,51,51);line-height:18.2000007629395px" =
class=3D"">  read t page </span><span =
style=3D"line-height:18.2000007629395px" class=3D"">&gt;&gt;</span><span =
style=3D"line-height:18.2000007629395px" class=3D"">=3D </span><span =
style=3D"line-height:18.2000007629395px" class=3D"">function
</span><span style=3D"line-height:18.2000007629395px" class=3D"">    =
|</span><span style=3D"color:rgb(51,51,51);line-height:18.2000007629395px"=
 class=3D""> </span><span =
style=3D"line-height:18.2000007629395px;color:rgb(121,93,163)" =
class=3D"">`Error</span><span =
style=3D"color:rgb(51,51,51);line-height:18.2000007629395px" class=3D""> =
</span><span style=3D"line-height:18.2000007629395px;color:rgb(0,134,179)"=
 class=3D"">_</span><span =
style=3D"color:rgb(51,51,51);line-height:18.2000007629395px" class=3D""> =
-&gt;
</span><span style=3D"color:rgb(51,51,51);line-height:18.2000007629395px" =
class=3D"">      printf </span><span =
style=3D"line-height:18.2000007629395px;color:rgb(24,54,145)" =
class=3D""><span class=3D"">"</span>Netif: error, terminating listen =
loop<span style=3D"color:rgb(0,134,179)" class=3D"">\n</span>%!<span =
class=3D"">"</span></span><span =
style=3D"color:rgb(51,51,51);line-height:18.2000007629395px" class=3D"">;
</span><span style=3D"color:rgb(51,51,51);line-height:18.2000007629395px" =
class=3D"">      return </span><span =
style=3D"line-height:18.2000007629395px;color:rgb(0,134,179)" =
class=3D"">()</span></span></div><div class=3D""><span =
style=3D"font-family:Consolas,'Liberation =
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395p=
x;white-space:pre-wrap;color:rgb(167,29,93)" class=3D""><span =
style=3D"line-height:18.2000007629395px;color:rgb(0,134,179)" =
class=3D""><br class=3D""></span></span></div><div class=3D""><span =
style=3D"font-family:Consolas,'Liberation =
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395p=
x;white-space:pre-wrap;color:rgb(167,29,93)" class=3D""><span =
style=3D"line-height:18.2000007629395px;color:rgb(0,134,179)" =
class=3D""><span =
style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;=
line-height:normal;white-space:normal" class=3D"">So it is running into =
an error when reading a page from the =
network.</span></span></span></div><div class=3D""><span =
style=3D"font-family:Consolas,'Liberation =
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395p=
x;white-space:pre-wrap;color:rgb(167,29,93)" class=3D""><span =
style=3D"line-height:18.2000007629395px;color:rgb(0,134,179)" =
class=3D""><span =
style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;=
line-height:normal;white-space:normal" class=3D"">It would be nice to =
pretty print the _ of `Error _ instead of drop it on the =
floor.</span></span></span></div><div class=3D""><br class=3D""></div><div=
 class=3D""><span style=3D"font-family:Consolas,'Liberation =
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395p=
x;white-space:pre-wrap;color:rgb(167,29,93)" class=3D""><span =
style=3D"line-height:18.2000007629395px;color:rgb(0,134,179)" =
class=3D""><span =
style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;=
line-height:normal;white-space:normal" class=3D"">2) I couldn't find =
anywhere in the code that remotely appeared to be messing with or =
deleting the tun0 interface. But I wonder if the error I'm seeing is due =
to the tun0 disappearing?</span><span class=3D"HOEnZb"><font =
color=3D"#888888" class=3D""><br =
class=3D""></font></span></span></span></div><span class=3D"HOEnZb"><font =
color=3D"#888888" class=3D""><div class=3D""><span =
style=3D"font-family:Consolas,'Liberation =
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395p=
x;white-space:pre-wrap;color:rgb(167,29,93)" class=3D""><span =
style=3D"line-height:18.2000007629395px;color:rgb(0,134,179)" =
class=3D""><span =
style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;=
line-height:normal;white-space:normal" class=3D""><br =
class=3D""></span></span></span></div><div class=3D""><span =
style=3D"font-family:Consolas,'Liberation =
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395p=
x;white-space:pre-wrap;color:rgb(167,29,93)" class=3D""><span =
style=3D"line-height:18.2000007629395px;color:rgb(0,134,179)" =
class=3D""><span =
style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;=
line-height:normal;white-space:normal" =
class=3D"">-Robert</span></span></span></div></font></span></div>
</blockquote></div><br class=3D""></div>
_______________________________________________<br =
class=3D"">MirageOS-devel mailing list<br class=3D""><a =
href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
class=3D"">MirageOS-devel@lists.xenproject.org</a><br =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel<br class=3D""></div></blockquote></div><br =
class=3D""></div></div></body></html>=

--Apple-Mail=_1C9C6D29-8E38-4E1D-9F23-13886D73EFF1--


--===============5854578913976334784==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============5854578913976334784==--


From mirageos-devel-bounces@lists.xenproject.org Fri May 01 08:18:32 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 01 May 2015 08:18:32 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yo69E-0002Ot-VW; Fri, 01 May 2015 08:18:12 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1Yo69D-0002Oo-H4
	for mirageos-devel@lists.xenproject.org; Fri, 01 May 2015 08:18:11 +0000
Received: from [85.158.139.211] by server-1.bemta-5.messagelabs.com id
	13/7D-20070-2C633455; Fri, 01 May 2015 08:18:10 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-6.tower-206.messagelabs.com!1430468289!12014168!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=HTML_MESSAGE,
  RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 24407 invoked from network); 1 May 2015 08:18:09 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-6.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 1 May 2015 08:18:09 -0000
Received: from [10.0.0.94] (host81-149-102-120.in-addr.btopenworld.com
	[81.149.102.120]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id dc3d04da;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Fri, 1 May 2015 09:18:08 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAERB2H4_5rqFbp-Lg35FBcRGYvApd1P8wtmkcf1qkE3vMVkkPA@mail.gmail.com>
Date: Fri, 1 May 2015 09:18:07 +0100
Message-Id: <A4FF43ED-881F-49DA-86C9-E85D1F89BC7D@recoil.org>
References: <CAERB2H5+pvfKb4_f4mgur7Gspw0fRmL+va6mZwgSb6a2AjDO-g@mail.gmail.com>
	<CAERB2H4_5rqFbp-Lg35FBcRGYvApd1P8wtmkcf1qkE3vMVkkPA@mail.gmail.com>
To: Robert Ream <robertream@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] mirage-net-unix problems
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5854578913976334784=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============5854578913976334784==
Content-Type: multipart/alternative; boundary="Apple-Mail=_1C9C6D29-8E38-4E1D-9F23-13886D73EFF1"


--Apple-Mail=_1C9C6D29-8E38-4E1D-9F23-13886D73EFF1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

This sounds like a problem with persistent vs non-persistent tap =
interfaces.  This functionality is unfortunately very non-portable =
(MacOS X, FreeBSD and Linux) all have different behaviour.  The =
functionality did change between version 2.2.0 and 2.1.0 to support =
persistent interfaces:
https://github.com/mirage/mirage-net-unix/releases =
<https://github.com/mirage/mirage-net-unix/releases>

So I wonder if something needs to be done to keep it around on your =
particular setup.

(This isn't helped by me now using mirage-net-macosx for most of my =
day-to-day dev, which uses a completely different codepath as tuntap no =
longer works usefully on OSX as of Yosemite).

-anil

> On 30 Apr 2015, at 23:49, Robert Ream <robertream@gmail.com> wrote:
>=20
> An update: I just cloned the mirage-net-unix repo and ran the tests. =
This is what I got:
>=20
> sudo ./test.native
> plugging into tap0 with mac c2:9d:56:19:d7:2c..
> Netif: connect tap0
> connected
> Netif: error, terminating listen loop
> .
> Ran: 1 tests in: 0.00 seconds.
> OK
>=20
> And the tun0 interface disappeared as well.
>=20
>=20
>=20
> On Thu, Apr 30, 2015 at 2:55 PM, Robert Ream <robertream@gmail.com =
<mailto:robertream@gmail.com>> wrote:
> Ok, I'm still stumped.
>=20
> Two things happen with pretty much all of the network examples when I =
build and execute them for unix: 1) they promptly exit with a "Netif: =
error, terminating listen loop" and 2) tun0 disappears and must be =
recreated every time.
>=20
> 1) I tracked down the lines of code in mirage-net-unix that cause this =
error message:
>=20
> let page =3D Io_page.get 1 in
>   read t page >>=3D function
>     | `Error _ ->
>       printf "Netif: error, terminating listen loop\n%!";
>       return ()
>=20
> So it is running into an error when reading a page from the network.
> It would be nice to pretty print the _ of `Error _ instead of drop it =
on the floor.
>=20
> 2) I couldn't find anywhere in the code that remotely appeared to be =
messing with or deleting the tun0 interface. But I wonder if the error =
I'm seeing is due to the tun0 disappearing?
>=20
> -Robert
>=20
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


--Apple-Mail=_1C9C6D29-8E38-4E1D-9F23-13886D73EFF1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">This sounds like a problem with persistent vs non-persistent =
tap interfaces. &nbsp;This functionality is unfortunately very =
non-portable (MacOS X, FreeBSD and Linux) all have different behaviour. =
&nbsp;The functionality did change between version 2.2.0 and 2.1.0 to =
support persistent interfaces:<div class=3D""><a =
href=3D"https://github.com/mirage/mirage-net-unix/releases" =
class=3D"">https://github.com/mirage/mirage-net-unix/releases</a></div><di=
v class=3D""><br class=3D""></div><div class=3D"">So I wonder if =
something needs to be done to keep it around on your particular =
setup.</div><div class=3D""><br class=3D""></div><div class=3D"">(This =
isn't helped by me now using mirage-net-macosx for most of my day-to-day =
dev, which uses a completely different codepath as tuntap no longer =
works usefully on OSX as of Yosemite).</div><div class=3D""><br =
class=3D""></div><div class=3D"">-anil</div><div class=3D""><div =
class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">On 30 Apr 2015, at 23:49, Robert Ream &lt;<a =
href=3D"mailto:robertream@gmail.com" =
class=3D"">robertream@gmail.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" =
class=3D""><div class=3D"">An update: I just cloned the mirage-net-unix =
repo and ran the tests. This is what I got:<br class=3D""><br =
class=3D"">sudo ./test.native<br class=3D"">plugging into tap0 with mac =
c2:9d:56:19:d7:2c..<br class=3D"">Netif: connect tap0<br =
class=3D"">connected<br class=3D"">Netif: error, terminating listen =
loop<br class=3D"">.<br class=3D"">Ran: 1 tests in: 0.00 seconds.<br =
class=3D"">OK<br class=3D""><br class=3D""></div>And the tun0 interface =
disappeared as well.<br class=3D""><div class=3D""><div class=3D""><br =
class=3D""></div><div class=3D""><br class=3D""></div></div></div><div =
class=3D"gmail_extra"><br class=3D""><div class=3D"gmail_quote">On Thu, =
Apr 30, 2015 at 2:55 PM, Robert Ream <span dir=3D"ltr" class=3D"">&lt;<a =
href=3D"mailto:robertream@gmail.com" target=3D"_blank" =
class=3D"">robertream@gmail.com</a>&gt;</span> wrote:<br =
class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr" =
class=3D""><div class=3D""><div class=3D""><div class=3D"gmail_extra"><div=
 class=3D"">Ok, I'm still stumped.<br class=3D""><br class=3D""></div>Two =
things happen with pretty much all of the network examples when I build =
and execute them for unix: 1) they promptly exit with a "Netif: error, =
terminating listen loop" and 2) tun0 disappears and must be recreated =
every time.<br class=3D""><br class=3D""></div></div><div class=3D""><div =
class=3D"gmail_extra">1) I tracked down the lines of code in =
mirage-net-unix that cause this error message:</div></div></div><div =
class=3D"gmail_extra"><br class=3D""></div><div class=3D""><span =
style=3D"font-family:Consolas,'Liberation =
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395p=
x;white-space:pre-wrap;color:rgb(167,29,93)" class=3D"">let</span><span =
style=3D"color:rgb(51,51,51);font-family:Consolas,'Liberation =
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395p=
x;white-space:pre-wrap" class=3D""> page </span><span =
style=3D"font-family:Consolas,'Liberation =
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395p=
x;white-space:pre-wrap;color:rgb(167,29,93)" class=3D"">=3D</span><span =
style=3D"color:rgb(51,51,51);font-family:Consolas,'Liberation =
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395p=
x;white-space:pre-wrap" class=3D""> </span><span =
style=3D"font-family:Consolas,'Liberation =
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395p=
x;white-space:pre-wrap;color:rgb(0,134,179)" =
class=3D"">Io_page.</span><span =
style=3D"color:rgb(51,51,51);font-family:Consolas,'Liberation =
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395p=
x;white-space:pre-wrap" class=3D"">get </span><span =
style=3D"font-family:Consolas,'Liberation =
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395p=
x;white-space:pre-wrap;color:rgb(0,134,179)" class=3D"">1</span><span =
style=3D"color:rgb(51,51,51);font-family:Consolas,'Liberation =
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395p=
x;white-space:pre-wrap" class=3D""> </span><span =
style=3D"font-family:Consolas,'Liberation =
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395p=
x;white-space:pre-wrap;color:rgb(167,29,93)" class=3D"">in
<span style=3D"color:rgb(51,51,51);line-height:18.2000007629395px" =
class=3D"">  read t page </span><span =
style=3D"line-height:18.2000007629395px" class=3D"">&gt;&gt;</span><span =
style=3D"line-height:18.2000007629395px" class=3D"">=3D </span><span =
style=3D"line-height:18.2000007629395px" class=3D"">function
</span><span style=3D"line-height:18.2000007629395px" class=3D"">    =
|</span><span style=3D"color:rgb(51,51,51);line-height:18.2000007629395px"=
 class=3D""> </span><span =
style=3D"line-height:18.2000007629395px;color:rgb(121,93,163)" =
class=3D"">`Error</span><span =
style=3D"color:rgb(51,51,51);line-height:18.2000007629395px" class=3D""> =
</span><span style=3D"line-height:18.2000007629395px;color:rgb(0,134,179)"=
 class=3D"">_</span><span =
style=3D"color:rgb(51,51,51);line-height:18.2000007629395px" class=3D""> =
-&gt;
</span><span style=3D"color:rgb(51,51,51);line-height:18.2000007629395px" =
class=3D"">      printf </span><span =
style=3D"line-height:18.2000007629395px;color:rgb(24,54,145)" =
class=3D""><span class=3D"">"</span>Netif: error, terminating listen =
loop<span style=3D"color:rgb(0,134,179)" class=3D"">\n</span>%!<span =
class=3D"">"</span></span><span =
style=3D"color:rgb(51,51,51);line-height:18.2000007629395px" class=3D"">;
</span><span style=3D"color:rgb(51,51,51);line-height:18.2000007629395px" =
class=3D"">      return </span><span =
style=3D"line-height:18.2000007629395px;color:rgb(0,134,179)" =
class=3D"">()</span></span></div><div class=3D""><span =
style=3D"font-family:Consolas,'Liberation =
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395p=
x;white-space:pre-wrap;color:rgb(167,29,93)" class=3D""><span =
style=3D"line-height:18.2000007629395px;color:rgb(0,134,179)" =
class=3D""><br class=3D""></span></span></div><div class=3D""><span =
style=3D"font-family:Consolas,'Liberation =
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395p=
x;white-space:pre-wrap;color:rgb(167,29,93)" class=3D""><span =
style=3D"line-height:18.2000007629395px;color:rgb(0,134,179)" =
class=3D""><span =
style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;=
line-height:normal;white-space:normal" class=3D"">So it is running into =
an error when reading a page from the =
network.</span></span></span></div><div class=3D""><span =
style=3D"font-family:Consolas,'Liberation =
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395p=
x;white-space:pre-wrap;color:rgb(167,29,93)" class=3D""><span =
style=3D"line-height:18.2000007629395px;color:rgb(0,134,179)" =
class=3D""><span =
style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;=
line-height:normal;white-space:normal" class=3D"">It would be nice to =
pretty print the _ of `Error _ instead of drop it on the =
floor.</span></span></span></div><div class=3D""><br class=3D""></div><div=
 class=3D""><span style=3D"font-family:Consolas,'Liberation =
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395p=
x;white-space:pre-wrap;color:rgb(167,29,93)" class=3D""><span =
style=3D"line-height:18.2000007629395px;color:rgb(0,134,179)" =
class=3D""><span =
style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;=
line-height:normal;white-space:normal" class=3D"">2) I couldn't find =
anywhere in the code that remotely appeared to be messing with or =
deleting the tun0 interface. But I wonder if the error I'm seeing is due =
to the tun0 disappearing?</span><span class=3D"HOEnZb"><font =
color=3D"#888888" class=3D""><br =
class=3D""></font></span></span></span></div><span class=3D"HOEnZb"><font =
color=3D"#888888" class=3D""><div class=3D""><span =
style=3D"font-family:Consolas,'Liberation =
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395p=
x;white-space:pre-wrap;color:rgb(167,29,93)" class=3D""><span =
style=3D"line-height:18.2000007629395px;color:rgb(0,134,179)" =
class=3D""><span =
style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;=
line-height:normal;white-space:normal" class=3D""><br =
class=3D""></span></span></span></div><div class=3D""><span =
style=3D"font-family:Consolas,'Liberation =
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395p=
x;white-space:pre-wrap;color:rgb(167,29,93)" class=3D""><span =
style=3D"line-height:18.2000007629395px;color:rgb(0,134,179)" =
class=3D""><span =
style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;=
line-height:normal;white-space:normal" =
class=3D"">-Robert</span></span></span></div></font></span></div>
</blockquote></div><br class=3D""></div>
_______________________________________________<br =
class=3D"">MirageOS-devel mailing list<br class=3D""><a =
href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
class=3D"">MirageOS-devel@lists.xenproject.org</a><br =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel<br class=3D""></div></blockquote></div><br =
class=3D""></div></div></body></html>=

--Apple-Mail=_1C9C6D29-8E38-4E1D-9F23-13886D73EFF1--


--===============5854578913976334784==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============5854578913976334784==--


From mirageos-devel-bounces@lists.xenproject.org Fri May 01 08:43:07 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 01 May 2015 08:43:07 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yo6XD-0003Ju-Di; Fri, 01 May 2015 08:42:59 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1Yo6XB-0003Jp-S7
	for mirageos-devel@lists.xenproject.org; Fri, 01 May 2015 08:42:58 +0000
Received: from [85.158.139.211] by server-6.bemta-5.messagelabs.com id
	94/B1-03284-09C33455; Fri, 01 May 2015 08:42:56 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-9.tower-206.messagelabs.com!1430469775!11999063!1
X-Originating-IP: [209.85.217.177]
X-SpamReason: No, hits=0.8 required=7.0 tests=BODY_RANDOM_LONG,
  RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 5493 invoked from network); 1 May 2015 08:42:56 -0000
Received: from mail-lb0-f177.google.com (HELO mail-lb0-f177.google.com)
	(209.85.217.177)
	by server-9.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	1 May 2015 08:42:56 -0000
Received: by lbbqq2 with SMTP id qq2so61292972lbb.3
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 01 May 2015 01:42:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=PoLQEMlnK/KRWwVQz3ZSk+se5CDIeI+fGzP6Xd3MmDQ=;
	b=z4DFDzT5f8fIjfAZDIJCK6tAcqB5r2p0akdkC21GsLWyXbKhcVHt6IsAgMKSbumlRb
	eYxRiUtJd8TXqCcY4BfV4RJcW0Y+SmZoMnlfqDkh9gPusj7stSYSpSXo2BtUlvdiSlJW
	EaR/E3hPbzC0gZBribcc0avwKzxqgTp2Z/l0e87Mp3hbuRmShW1tn5niemZd+K+3oFM6
	OdRSzg9qxc6HBLVczwMTsGLwKg/ncMaKL3XPXR0Gig97Tt1GGKi6bV1vwrXiMtSFTJsz
	MierFI0Xe79OVLbDF2nh+ZEVaXyO9HpAbsBMNiy8qKsMLP+/tnmpG9PWPAngpI4Yknc9
	6Dzg==
MIME-Version: 1.0
X-Received: by 10.152.23.105 with SMTP id l9mr7392151laf.26.1430469775620;
	Fri, 01 May 2015 01:42:55 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Fri, 1 May 2015 01:42:55 -0700 (PDT)
In-Reply-To: <2016855.E1nK6L3Wx7@joga>
References: <5439782.dmm5bFtT6k@joga> <1677451.N4Lra0Y7og@joga>
	<CAG4opy84PqZ3hLNHXdiF2BOFoQrFK7=XPy4M_3NDrD31WOi6bA@mail.gmail.com>
	<2016855.E1nK6L3Wx7@joga>
Date: Fri, 1 May 2015 09:42:55 +0100
Message-ID: <CAG4opy-c2Cn0KVVRG6cAP68BJ7YnwLrDPPN3T+BxVT4ypOVi5A@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Jos van den Oever <jos@vandenoever.info>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Fwd: cuekeeper
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 29 April 2015 at 11:50, Jos van den Oever <jos@vandenoever.info> wrote:
> On Wednesday 29 April 2015 11:45:06 you wrote:
>> [ forwarding to mirage list ]
>>
>> On Wednesday 29 April 2015 10:34:24 you wrote:
>> > On 29 April 2015 at 08:50, Jos van den Oever <jos@vandenoever.info> wrote:
>> > > On Wednesday 29 April 2015 09:25:04 you wrote:
>> > >> Hello Thomas,
>> > >>
>> > >> Awesome blog post on cuekeeper. I'm very impressed with the extensive
>> > >> description. This project may finally get me to start using GTD. I've
>> > >> been
>> > >> putting it off because, well, no time to write decent software for it
>> > >> and
>> > >> could not find any good software for it.
>> > >>
>> > >> In a quick try I was not yet able to compile it (i'm on NixOS which is
>> > >> eh
>> > >> special).
>> >
>> > I haven't tried it, but expect it should build if you can get a recent
>> > opam version installed, which is usually quite easy. What error did
>> > you get?
>
> NixOS has a rather different way of doing development. Each application and
> library has its own folder in /nix/store. That allows one to switch between
> different version of applications quickly and lets normal users install any
> software that does not need runtime root privileges. But builing can be tricky
> althought the resulting recipy usually looks quite elegant. I'll investigate
> how to build and will report back.

It's a shame every distribution package manager needs to duplicate the
language-specific packaging. opam already puts each program in its own
folder (mostly), allows switching and doesn't grant root privileges to
installed software. Would be good to be able to convert opam packages
to nix automatically (and also to 0install, which has the same
properties again).

>> > >> How do you mean to keep this project going forward? I've just
>> > >> leaned haskell (writing a personal proxy in it atm) and reading on
>> > >> scala
>> > >> now. I guess OCaml should be next. How stable will the file format of
>> > >> cuekeeper be? Will it be compatible with git? I guess it's currently
>> > >> some
>> > >> sort of a JSON dict converted to and fro to nested parenthesis
>> > >> notation.
>> >
>> > I'm already using it for my own todo list, so I'll keep it working and
>> > make sure there's an upgrade path to any new format. The disk format
>> >
>> > is described here (the "type" declarations at the start):
>> >   https://github.com/talex5/cuekeeper/blob/master/lib/ck_disk_node.ml
>> >
>> > The Git backend doesn't currently run in the browser, but it should be
>> > possible (I sometimes make the unit tests use a real Git repository
>> > when debugging, so I can look at the results with gitk).
>> >
>> > Not sure how much more development there is to do, but I'm planning to
>> > get remote sync working at least.
>
> That sound great. I'm looking forward to it.
>
>> >
>> > > small addition: i tested in chromium because firefox 37 gives me this
>> > > warning.>
>> > >
>> > >"This operation is insecure"
>> >
>> > Haven't seen that before, but a Google search suggests you might have
>> > cookies disabled (which in turn disables local storage, which
>> > CueKeeper uses to notify other tabs of changes).
>
> Allowing cookies on http://roscidus.com/blog/cuekeeper/ indeed solves the
> problem.

OK, thanks for the report. I've added a check for this condition so it
can display a better error message:

https://github.com/talex5/cuekeeper/issues/4


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 01 08:43:07 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 01 May 2015 08:43:07 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yo6XD-0003Ju-Di; Fri, 01 May 2015 08:42:59 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1Yo6XB-0003Jp-S7
	for mirageos-devel@lists.xenproject.org; Fri, 01 May 2015 08:42:58 +0000
Received: from [85.158.139.211] by server-6.bemta-5.messagelabs.com id
	94/B1-03284-09C33455; Fri, 01 May 2015 08:42:56 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-9.tower-206.messagelabs.com!1430469775!11999063!1
X-Originating-IP: [209.85.217.177]
X-SpamReason: No, hits=0.8 required=7.0 tests=BODY_RANDOM_LONG,
  RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 5493 invoked from network); 1 May 2015 08:42:56 -0000
Received: from mail-lb0-f177.google.com (HELO mail-lb0-f177.google.com)
	(209.85.217.177)
	by server-9.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	1 May 2015 08:42:56 -0000
Received: by lbbqq2 with SMTP id qq2so61292972lbb.3
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 01 May 2015 01:42:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=PoLQEMlnK/KRWwVQz3ZSk+se5CDIeI+fGzP6Xd3MmDQ=;
	b=z4DFDzT5f8fIjfAZDIJCK6tAcqB5r2p0akdkC21GsLWyXbKhcVHt6IsAgMKSbumlRb
	eYxRiUtJd8TXqCcY4BfV4RJcW0Y+SmZoMnlfqDkh9gPusj7stSYSpSXo2BtUlvdiSlJW
	EaR/E3hPbzC0gZBribcc0avwKzxqgTp2Z/l0e87Mp3hbuRmShW1tn5niemZd+K+3oFM6
	OdRSzg9qxc6HBLVczwMTsGLwKg/ncMaKL3XPXR0Gig97Tt1GGKi6bV1vwrXiMtSFTJsz
	MierFI0Xe79OVLbDF2nh+ZEVaXyO9HpAbsBMNiy8qKsMLP+/tnmpG9PWPAngpI4Yknc9
	6Dzg==
MIME-Version: 1.0
X-Received: by 10.152.23.105 with SMTP id l9mr7392151laf.26.1430469775620;
	Fri, 01 May 2015 01:42:55 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Fri, 1 May 2015 01:42:55 -0700 (PDT)
In-Reply-To: <2016855.E1nK6L3Wx7@joga>
References: <5439782.dmm5bFtT6k@joga> <1677451.N4Lra0Y7og@joga>
	<CAG4opy84PqZ3hLNHXdiF2BOFoQrFK7=XPy4M_3NDrD31WOi6bA@mail.gmail.com>
	<2016855.E1nK6L3Wx7@joga>
Date: Fri, 1 May 2015 09:42:55 +0100
Message-ID: <CAG4opy-c2Cn0KVVRG6cAP68BJ7YnwLrDPPN3T+BxVT4ypOVi5A@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Jos van den Oever <jos@vandenoever.info>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Fwd: cuekeeper
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 29 April 2015 at 11:50, Jos van den Oever <jos@vandenoever.info> wrote:
> On Wednesday 29 April 2015 11:45:06 you wrote:
>> [ forwarding to mirage list ]
>>
>> On Wednesday 29 April 2015 10:34:24 you wrote:
>> > On 29 April 2015 at 08:50, Jos van den Oever <jos@vandenoever.info> wrote:
>> > > On Wednesday 29 April 2015 09:25:04 you wrote:
>> > >> Hello Thomas,
>> > >>
>> > >> Awesome blog post on cuekeeper. I'm very impressed with the extensive
>> > >> description. This project may finally get me to start using GTD. I've
>> > >> been
>> > >> putting it off because, well, no time to write decent software for it
>> > >> and
>> > >> could not find any good software for it.
>> > >>
>> > >> In a quick try I was not yet able to compile it (i'm on NixOS which is
>> > >> eh
>> > >> special).
>> >
>> > I haven't tried it, but expect it should build if you can get a recent
>> > opam version installed, which is usually quite easy. What error did
>> > you get?
>
> NixOS has a rather different way of doing development. Each application and
> library has its own folder in /nix/store. That allows one to switch between
> different version of applications quickly and lets normal users install any
> software that does not need runtime root privileges. But builing can be tricky
> althought the resulting recipy usually looks quite elegant. I'll investigate
> how to build and will report back.

It's a shame every distribution package manager needs to duplicate the
language-specific packaging. opam already puts each program in its own
folder (mostly), allows switching and doesn't grant root privileges to
installed software. Would be good to be able to convert opam packages
to nix automatically (and also to 0install, which has the same
properties again).

>> > >> How do you mean to keep this project going forward? I've just
>> > >> leaned haskell (writing a personal proxy in it atm) and reading on
>> > >> scala
>> > >> now. I guess OCaml should be next. How stable will the file format of
>> > >> cuekeeper be? Will it be compatible with git? I guess it's currently
>> > >> some
>> > >> sort of a JSON dict converted to and fro to nested parenthesis
>> > >> notation.
>> >
>> > I'm already using it for my own todo list, so I'll keep it working and
>> > make sure there's an upgrade path to any new format. The disk format
>> >
>> > is described here (the "type" declarations at the start):
>> >   https://github.com/talex5/cuekeeper/blob/master/lib/ck_disk_node.ml
>> >
>> > The Git backend doesn't currently run in the browser, but it should be
>> > possible (I sometimes make the unit tests use a real Git repository
>> > when debugging, so I can look at the results with gitk).
>> >
>> > Not sure how much more development there is to do, but I'm planning to
>> > get remote sync working at least.
>
> That sound great. I'm looking forward to it.
>
>> >
>> > > small addition: i tested in chromium because firefox 37 gives me this
>> > > warning.>
>> > >
>> > >"This operation is insecure"
>> >
>> > Haven't seen that before, but a Google search suggests you might have
>> > cookies disabled (which in turn disables local storage, which
>> > CueKeeper uses to notify other tabs of changes).
>
> Allowing cookies on http://roscidus.com/blog/cuekeeper/ indeed solves the
> problem.

OK, thanks for the report. I've added a check for this condition so it
can display a better error message:

https://github.com/talex5/cuekeeper/issues/4


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 01 13:00:34 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 01 May 2015 13:00:34 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YoAYH-0004Ms-Le; Fri, 01 May 2015 13:00:21 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <a.m.ismail@aucegypt.edu>) id 1YoAYF-0004MZ-KA
	for mirageos-devel@lists.xenproject.org; Fri, 01 May 2015 13:00:19 +0000
Received: from [193.109.254.147] by server-8.bemta-14.messagelabs.com id
	29/55-27592-2E873455; Fri, 01 May 2015 13:00:18 +0000
X-Env-Sender: a.m.ismail@aucegypt.edu
X-Msg-Ref: server-12.tower-27.messagelabs.com!1430485217!13936433!1
X-Originating-IP: [209.85.212.169]
X-SpamReason: No, hits=1.7 required=7.0 tests=BODY_RANDOM_LONG,
	HTML_10_20,HTML_MESSAGE,RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9032 invoked from network); 1 May 2015 13:00:17 -0000
Received: from mail-wi0-f169.google.com (HELO mail-wi0-f169.google.com)
	(209.85.212.169)
	by server-12.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	1 May 2015 13:00:17 -0000
Received: by widdi4 with SMTP id di4so47588511wid.0
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 01 May 2015 06:00:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aucegypt.edu; s=apps;
	h=mime-version:date:message-id:subject:from:to:content-type;
	bh=PTKfSN+M1kjEw3sz9fgFBOsntyNZEQL+t4WgaucQRb4=;
	b=Gjq5IZAEEElnuwrggl+lOVg2b/F2p652TW00jeMnBopm4o8I55JpNbVnbKkkgnMQWC
	hiDLl58HerxNDcNQqKsldSMl5uaxEM3p2CMmg9h57K8f5pvl7EjxDFZBN/4A5PRWpIIZ
	pl75h2oSb1BOBBBW23a6Jwm6ldY3w0q3kstCU=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:date:message-id:subject:from:to
	:content-type;
	bh=PTKfSN+M1kjEw3sz9fgFBOsntyNZEQL+t4WgaucQRb4=;
	b=GQlZV5BkFcd0m2VtVAPeS6sSIoefQjNadb7kmVrzcvTShh7PecJjafBPGWGJIFxs3T
	ZzcvKCV5fJpLDuVJFVI+mwnWxkM7ho3JPXcJZEq7gsENkJVHfTcS09Y602DkxhcObCH8
	6USIrTovJ6L5olnVqF/OMNL9EsRHT3jOodu8hE12+YKPM4WBcfevZop7Iu+iL+25mW6P
	GnZ+XYwjtv4+HXxJwj2gzV/gWPDhT6zI7APlA5cCQBgdZXy2dHpZZIpBA0EyN+8u5p93
	vKTuVqUszvSg9BVX7axxTp6UhOZqFmxYD1vptT8r2ZYTdUU/uXtrX6oKcGyoWjP/8buG
	9JOQ==
X-Gm-Message-State: ALoCoQlRpL5l09TCKiylK8pjuRADHXSxq+ngSvK4gfq/g8Tv6UxWpK89ksNeQhirzpw1u5E2AwP4
MIME-Version: 1.0
X-Received: by 10.180.37.73 with SMTP id w9mr14186509wij.7.1430485217502; Fri,
	01 May 2015 06:00:17 -0700 (PDT)
Received: by 10.194.174.138 with HTTP; Fri, 1 May 2015 06:00:17 -0700 (PDT)
Date: Fri, 1 May 2015 15:00:17 +0200
Message-ID: <CACUqk8EhPQM7XHpJwJpPdFWoKmJbVWpxeLT=-G2RtFbtjyaCSQ@mail.gmail.com>
From: Ahmed Ismail <a.m.ismail@aucegypt.edu>
To: mirageos-devel@lists.xenproject.org
Subject: [MirageOS-devel] Installing Mirage on Cubietruck
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============7366280040503046615=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============7366280040503046615==
Content-Type: multipart/alternative; boundary=e89a8f502ee83f0874051504cb58

--e89a8f502ee83f0874051504cb58
Content-Type: text/plain; charset=UTF-8

Good day,

To get straight to the point, I've been interested in Mirage over the last
couple of weeks, and would like to continue using it over the coming years.
My target platform is the cubietruck (CT); however, I've been running into
a number of problems in trying to get it up and running.

Currently, the main issue I'm facing is that 'opam install mirage' doesn't
proceed beyond the following point: "Processing  4/17: [ocamlfind: make
all]". I've actually left it overnight, twice, using cleanly built images
sourced from two completely seperate computers for each respective run, but
it always gets stuck here.

Has anyone else faced this issue? If so, how have you gotten past it?

Another point I'd like to bring up concerns the auto-built CB2/3 images. I
think I read earlier that you asked to be informed if anyone was facing any
issues  them. For some reason the CT image doesn't work. The CT
consistently boots into NAND. I went out and got a serial cable to see why,
and it just doesn't recognize that there's anything boot-able on the sd
card. I got past this point by manually building the image.

I took notes on the steps I used diligently. For brevity, I didn't include
them in this email, however, I would be more than happy to share them if
they'll help.

Thank you in advance,
-- 
Ahmed

--e89a8f502ee83f0874051504cb58
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Good day,<div><br></div><div>To get straight to the point,=
 I&#39;ve been interested in Mirage over the last couple of weeks, and woul=
d like to continue using it over the coming years. My target platform is th=
e cubietruck (CT); however, I&#39;ve been running into a number of problems=
 in trying to get it up and running.</div><div><br></div><div>Currently, th=
e main issue I&#39;m facing is that &#39;opam install mirage&#39; doesn&#39=
;t proceed beyond the following point: &quot;Processing =C2=A04/17: [ocamlf=
ind: make all]&quot;. I&#39;ve actually left it overnight, twice, using cle=
anly built images sourced from two completely seperate computers for each r=
espective run, but it always gets stuck here.</div><div><br></div><div>Has =
anyone else faced this issue? If so, how have you gotten past it?</div><div=
><br></div><div>Another point I&#39;d like to bring up concerns the auto-bu=
ilt CB2/3 images. I think I read earlier that you asked to be informed if a=
nyone was facing any issues =C2=A0them. For some reason the CT image doesn&=
#39;t work. The CT consistently boots into NAND. I went out and got a seria=
l cable to see why, and it just doesn&#39;t recognize that there&#39;s anyt=
hing boot-able on the sd card. I got past this point by manually building t=
he image.<br></div><div><br></div><div>I took notes on the steps I used dil=
igently. For brevity, I didn&#39;t include them in this email, however, I w=
ould be more than happy to share them if they&#39;ll help.</div><div><br></=
div><div>Thank you in advance,</div><div>-- <br><div class=3D"gmail_signatu=
re"><div dir=3D"ltr"><div dir=3D"ltr">Ahmed<br></div></div></div>
</div></div>

--e89a8f502ee83f0874051504cb58--


--===============7366280040503046615==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============7366280040503046615==--


From mirageos-devel-bounces@lists.xenproject.org Fri May 01 13:00:34 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 01 May 2015 13:00:34 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YoAYH-0004Ms-Le; Fri, 01 May 2015 13:00:21 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <a.m.ismail@aucegypt.edu>) id 1YoAYF-0004MZ-KA
	for mirageos-devel@lists.xenproject.org; Fri, 01 May 2015 13:00:19 +0000
Received: from [193.109.254.147] by server-8.bemta-14.messagelabs.com id
	29/55-27592-2E873455; Fri, 01 May 2015 13:00:18 +0000
X-Env-Sender: a.m.ismail@aucegypt.edu
X-Msg-Ref: server-12.tower-27.messagelabs.com!1430485217!13936433!1
X-Originating-IP: [209.85.212.169]
X-SpamReason: No, hits=1.7 required=7.0 tests=BODY_RANDOM_LONG,
	HTML_10_20,HTML_MESSAGE,RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9032 invoked from network); 1 May 2015 13:00:17 -0000
Received: from mail-wi0-f169.google.com (HELO mail-wi0-f169.google.com)
	(209.85.212.169)
	by server-12.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	1 May 2015 13:00:17 -0000
Received: by widdi4 with SMTP id di4so47588511wid.0
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 01 May 2015 06:00:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aucegypt.edu; s=apps;
	h=mime-version:date:message-id:subject:from:to:content-type;
	bh=PTKfSN+M1kjEw3sz9fgFBOsntyNZEQL+t4WgaucQRb4=;
	b=Gjq5IZAEEElnuwrggl+lOVg2b/F2p652TW00jeMnBopm4o8I55JpNbVnbKkkgnMQWC
	hiDLl58HerxNDcNQqKsldSMl5uaxEM3p2CMmg9h57K8f5pvl7EjxDFZBN/4A5PRWpIIZ
	pl75h2oSb1BOBBBW23a6Jwm6ldY3w0q3kstCU=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:date:message-id:subject:from:to
	:content-type;
	bh=PTKfSN+M1kjEw3sz9fgFBOsntyNZEQL+t4WgaucQRb4=;
	b=GQlZV5BkFcd0m2VtVAPeS6sSIoefQjNadb7kmVrzcvTShh7PecJjafBPGWGJIFxs3T
	ZzcvKCV5fJpLDuVJFVI+mwnWxkM7ho3JPXcJZEq7gsENkJVHfTcS09Y602DkxhcObCH8
	6USIrTovJ6L5olnVqF/OMNL9EsRHT3jOodu8hE12+YKPM4WBcfevZop7Iu+iL+25mW6P
	GnZ+XYwjtv4+HXxJwj2gzV/gWPDhT6zI7APlA5cCQBgdZXy2dHpZZIpBA0EyN+8u5p93
	vKTuVqUszvSg9BVX7axxTp6UhOZqFmxYD1vptT8r2ZYTdUU/uXtrX6oKcGyoWjP/8buG
	9JOQ==
X-Gm-Message-State: ALoCoQlRpL5l09TCKiylK8pjuRADHXSxq+ngSvK4gfq/g8Tv6UxWpK89ksNeQhirzpw1u5E2AwP4
MIME-Version: 1.0
X-Received: by 10.180.37.73 with SMTP id w9mr14186509wij.7.1430485217502; Fri,
	01 May 2015 06:00:17 -0700 (PDT)
Received: by 10.194.174.138 with HTTP; Fri, 1 May 2015 06:00:17 -0700 (PDT)
Date: Fri, 1 May 2015 15:00:17 +0200
Message-ID: <CACUqk8EhPQM7XHpJwJpPdFWoKmJbVWpxeLT=-G2RtFbtjyaCSQ@mail.gmail.com>
From: Ahmed Ismail <a.m.ismail@aucegypt.edu>
To: mirageos-devel@lists.xenproject.org
Subject: [MirageOS-devel] Installing Mirage on Cubietruck
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============7366280040503046615=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============7366280040503046615==
Content-Type: multipart/alternative; boundary=e89a8f502ee83f0874051504cb58

--e89a8f502ee83f0874051504cb58
Content-Type: text/plain; charset=UTF-8

Good day,

To get straight to the point, I've been interested in Mirage over the last
couple of weeks, and would like to continue using it over the coming years.
My target platform is the cubietruck (CT); however, I've been running into
a number of problems in trying to get it up and running.

Currently, the main issue I'm facing is that 'opam install mirage' doesn't
proceed beyond the following point: "Processing  4/17: [ocamlfind: make
all]". I've actually left it overnight, twice, using cleanly built images
sourced from two completely seperate computers for each respective run, but
it always gets stuck here.

Has anyone else faced this issue? If so, how have you gotten past it?

Another point I'd like to bring up concerns the auto-built CB2/3 images. I
think I read earlier that you asked to be informed if anyone was facing any
issues  them. For some reason the CT image doesn't work. The CT
consistently boots into NAND. I went out and got a serial cable to see why,
and it just doesn't recognize that there's anything boot-able on the sd
card. I got past this point by manually building the image.

I took notes on the steps I used diligently. For brevity, I didn't include
them in this email, however, I would be more than happy to share them if
they'll help.

Thank you in advance,
-- 
Ahmed

--e89a8f502ee83f0874051504cb58
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Good day,<div><br></div><div>To get straight to the point,=
 I&#39;ve been interested in Mirage over the last couple of weeks, and woul=
d like to continue using it over the coming years. My target platform is th=
e cubietruck (CT); however, I&#39;ve been running into a number of problems=
 in trying to get it up and running.</div><div><br></div><div>Currently, th=
e main issue I&#39;m facing is that &#39;opam install mirage&#39; doesn&#39=
;t proceed beyond the following point: &quot;Processing =C2=A04/17: [ocamlf=
ind: make all]&quot;. I&#39;ve actually left it overnight, twice, using cle=
anly built images sourced from two completely seperate computers for each r=
espective run, but it always gets stuck here.</div><div><br></div><div>Has =
anyone else faced this issue? If so, how have you gotten past it?</div><div=
><br></div><div>Another point I&#39;d like to bring up concerns the auto-bu=
ilt CB2/3 images. I think I read earlier that you asked to be informed if a=
nyone was facing any issues =C2=A0them. For some reason the CT image doesn&=
#39;t work. The CT consistently boots into NAND. I went out and got a seria=
l cable to see why, and it just doesn&#39;t recognize that there&#39;s anyt=
hing boot-able on the sd card. I got past this point by manually building t=
he image.<br></div><div><br></div><div>I took notes on the steps I used dil=
igently. For brevity, I didn&#39;t include them in this email, however, I w=
ould be more than happy to share them if they&#39;ll help.</div><div><br></=
div><div>Thank you in advance,</div><div>-- <br><div class=3D"gmail_signatu=
re"><div dir=3D"ltr"><div dir=3D"ltr">Ahmed<br></div></div></div>
</div></div>

--e89a8f502ee83f0874051504cb58--


--===============7366280040503046615==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============7366280040503046615==--


From mirageos-devel-bounces@lists.xenproject.org Fri May 01 13:05:43 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 01 May 2015 13:05:43 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YoAdM-0004sm-Fe; Fri, 01 May 2015 13:05:36 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <magnus@v0.no>) id 1YoAdL-0004sh-2O
	for mirageos-devel@lists.xenproject.org; Fri, 01 May 2015 13:05:35 +0000
Received: from [85.158.137.68] by server-8.bemta-3.messagelabs.com id
	3D/34-09361-E1A73455; Fri, 01 May 2015 13:05:34 +0000
X-Env-Sender: magnus@v0.no
X-Msg-Ref: server-4.tower-31.messagelabs.com!1430485532!11582788!1
X-Originating-IP: [66.111.4.25]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNjYuMTExLjQuMjUgPT4gNDQ5ODE=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 19449 invoked from network); 1 May 2015 13:05:33 -0000
Received: from out1-smtp.messagingengine.com (HELO
	out1-smtp.messagingengine.com) (66.111.4.25)
	by server-4.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 1 May 2015 13:05:33 -0000
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
	by mailout.nyi.internal (Postfix) with ESMTP id BD395205CF
	for <mirageos-devel@lists.xenproject.org>;
	Fri,  1 May 2015 09:05:32 -0400 (EDT)
Received: from web3 ([10.202.2.213])
	by compute4.internal (MEProxy); Fri, 01 May 2015 09:05:32 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=v0.no; h=
	content-transfer-encoding:content-type:date:from:in-reply-to
	:message-id:mime-version:references:subject:to:x-sasl-enc
	:x-sasl-enc; s=mesmtp; bh=EwNQN4DutYvYKMGuJO5ZlTDVP6k=; b=l9wvi2
	utta9X6sBEl6KBjWX8tTMSV8FuJSSOLnSANiyofTUlyJMSFy3zmPK4HU3qqQ5Sg9
	xHWBFdz8AvQJcKCZEraI13kvk3MT2W6JtnaTGhy9G1ON8FZVxC8hU5TAQXhKHxqX
	cEJVciXS/y9yqgyk3lvZsjPUf70Zlh6V7ecpc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
	messagingengine.com; h=content-transfer-encoding:content-type
	:date:from:in-reply-to:message-id:mime-version:references
	:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=EwNQN4DutYvYKMG
	uJO5ZlTDVP6k=; b=VTfd2sJlfGVKCTh3Xc+iy/DJwdlZd5Kw105JsM7f4kZmdP5
	339+6lz7AK/YRZ3NQmbDIqCX/wCy5f3Uvfs1GNJ6+nPEgnBI8ulQw0iT3/70yvjE
	1sfWUaqgl7uQHt7E57fRnhs/SZX/p2BimwNuCD05XSCVWs1TeyMrL3OuG7D4=
Received: by web3.nyi.internal (Postfix, from userid 99)
	id 937561059EE; Fri,  1 May 2015 09:05:32 -0400 (EDT)
Message-Id: <1430485532.1120176.261437445.0B36402C@webmail.messagingengine.com>
X-Sasl-Enc: 9dc7qXUoSElrsxdHLnlsUwMc8aHsQDIhKgYP1CAOqU0M 1430485532
From: Magnus Skjegstad <magnus@v0.no>
To: Ahmed Ismail <a.m.ismail@aucegypt.edu>, mirageos-devel@lists.xenproject.org
MIME-Version: 1.0
X-Mailer: MessagingEngine.com Webmail Interface - ajax-f5f4dd6c
Date: Fri, 01 May 2015 15:05:32 +0200
In-Reply-To: <CACUqk8EhPQM7XHpJwJpPdFWoKmJbVWpxeLT=-G2RtFbtjyaCSQ@mail.gmail.com>
References: <CACUqk8EhPQM7XHpJwJpPdFWoKmJbVWpxeLT=-G2RtFbtjyaCSQ@mail.gmail.com>
Subject: Re: [MirageOS-devel] Installing Mirage on Cubietruck
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============7728151130472007918=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

This is a multi-part message in MIME format.

--===============7728151130472007918==
Content-Transfer-Encoding: 7bit
Content-Type: multipart/alternative; boundary="_----------=_143048553211201760";
 charset="utf-8"

This is a multi-part message in MIME format.

--_----------=_143048553211201760
Content-Transfer-Encoding: 7bit
Content-Type: text/plain

On Fri, 1 May 2015, at 15:00, Ahmed Ismail wrote:
> Good day,
>
> To get straight to the point, I've been interested in Mirage over the
> last couple of weeks, and would like to continue using it over the
> coming years. My target platform is the cubietruck (CT); however, I've
> been running into a number of problems in trying to get it up and
> running.
>
> Currently, the main issue I'm facing is that 'opam install mirage'
> doesn't proceed beyond the following point: "Processing 4/17:
> [ocamlfind: make all]". I've actually left it overnight, twice, using
> cleanly built images sourced from two completely seperate computers
> for each respective run, but it always gets stuck here.

This could be caused by the time not being set correctly. Does it work
if you run "sudo ntpdate pool.ntp.org" ?

The time problem is also discussed here:
https://github.com/mirage/xen-arm-builder/issues/48

Magnus

--_----------=_143048553211201760
Content-Transfer-Encoding: 7bit
Content-Type: text/html

<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div>On Fri, 1 May 2015, at 15:00, Ahmed Ismail wrote:<br></div>
<blockquote type="cite"><div dir="ltr"><div>Good day,<br></div>
<div>&nbsp;</div>
<div>To get straight to the point, I've been interested in Mirage over the last couple of weeks, and would like to continue using it over the coming years. My target platform is the cubietruck (CT); however, I've been running into a number of problems in trying to get it up and running.<br></div>
<div>&nbsp;</div>
<div>Currently, the main issue I'm facing is that 'opam install mirage' doesn't proceed beyond the following point: "Processing &nbsp;4/17: [ocamlfind: make all]". I've actually left it overnight, twice, using cleanly built images sourced from two completely seperate computers for each respective run, but it always gets stuck here.<br></div>
</div>
</blockquote><div>&nbsp;</div>
<div>This could be caused by the time not being set correctly. Does it work if you run "sudo ntpdate pool.ntp.org" ?<br></div>
<div>&nbsp;</div>
<div>The time problem is also discussed here:&nbsp;<a href="https://github.com/mirage/xen-arm-builder/issues/48">https://github.com/mirage/xen-arm-builder/issues/48</a><br></div>
<div>&nbsp;</div>
<div>Magnus</div>
</body>
</html>

--_----------=_143048553211201760--



--===============7728151130472007918==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============7728151130472007918==--



From mirageos-devel-bounces@lists.xenproject.org Fri May 01 13:05:43 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 01 May 2015 13:05:43 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YoAdM-0004sm-Fe; Fri, 01 May 2015 13:05:36 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <magnus@v0.no>) id 1YoAdL-0004sh-2O
	for mirageos-devel@lists.xenproject.org; Fri, 01 May 2015 13:05:35 +0000
Received: from [85.158.137.68] by server-8.bemta-3.messagelabs.com id
	3D/34-09361-E1A73455; Fri, 01 May 2015 13:05:34 +0000
X-Env-Sender: magnus@v0.no
X-Msg-Ref: server-4.tower-31.messagelabs.com!1430485532!11582788!1
X-Originating-IP: [66.111.4.25]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNjYuMTExLjQuMjUgPT4gNDQ5ODE=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 19449 invoked from network); 1 May 2015 13:05:33 -0000
Received: from out1-smtp.messagingengine.com (HELO
	out1-smtp.messagingengine.com) (66.111.4.25)
	by server-4.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 1 May 2015 13:05:33 -0000
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
	by mailout.nyi.internal (Postfix) with ESMTP id BD395205CF
	for <mirageos-devel@lists.xenproject.org>;
	Fri,  1 May 2015 09:05:32 -0400 (EDT)
Received: from web3 ([10.202.2.213])
	by compute4.internal (MEProxy); Fri, 01 May 2015 09:05:32 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=v0.no; h=
	content-transfer-encoding:content-type:date:from:in-reply-to
	:message-id:mime-version:references:subject:to:x-sasl-enc
	:x-sasl-enc; s=mesmtp; bh=EwNQN4DutYvYKMGuJO5ZlTDVP6k=; b=l9wvi2
	utta9X6sBEl6KBjWX8tTMSV8FuJSSOLnSANiyofTUlyJMSFy3zmPK4HU3qqQ5Sg9
	xHWBFdz8AvQJcKCZEraI13kvk3MT2W6JtnaTGhy9G1ON8FZVxC8hU5TAQXhKHxqX
	cEJVciXS/y9yqgyk3lvZsjPUf70Zlh6V7ecpc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
	messagingengine.com; h=content-transfer-encoding:content-type
	:date:from:in-reply-to:message-id:mime-version:references
	:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=EwNQN4DutYvYKMG
	uJO5ZlTDVP6k=; b=VTfd2sJlfGVKCTh3Xc+iy/DJwdlZd5Kw105JsM7f4kZmdP5
	339+6lz7AK/YRZ3NQmbDIqCX/wCy5f3Uvfs1GNJ6+nPEgnBI8ulQw0iT3/70yvjE
	1sfWUaqgl7uQHt7E57fRnhs/SZX/p2BimwNuCD05XSCVWs1TeyMrL3OuG7D4=
Received: by web3.nyi.internal (Postfix, from userid 99)
	id 937561059EE; Fri,  1 May 2015 09:05:32 -0400 (EDT)
Message-Id: <1430485532.1120176.261437445.0B36402C@webmail.messagingengine.com>
X-Sasl-Enc: 9dc7qXUoSElrsxdHLnlsUwMc8aHsQDIhKgYP1CAOqU0M 1430485532
From: Magnus Skjegstad <magnus@v0.no>
To: Ahmed Ismail <a.m.ismail@aucegypt.edu>, mirageos-devel@lists.xenproject.org
MIME-Version: 1.0
X-Mailer: MessagingEngine.com Webmail Interface - ajax-f5f4dd6c
Date: Fri, 01 May 2015 15:05:32 +0200
In-Reply-To: <CACUqk8EhPQM7XHpJwJpPdFWoKmJbVWpxeLT=-G2RtFbtjyaCSQ@mail.gmail.com>
References: <CACUqk8EhPQM7XHpJwJpPdFWoKmJbVWpxeLT=-G2RtFbtjyaCSQ@mail.gmail.com>
Subject: Re: [MirageOS-devel] Installing Mirage on Cubietruck
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============7728151130472007918=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

This is a multi-part message in MIME format.

--===============7728151130472007918==
Content-Transfer-Encoding: 7bit
Content-Type: multipart/alternative; boundary="_----------=_143048553211201760";
 charset="utf-8"

This is a multi-part message in MIME format.

--_----------=_143048553211201760
Content-Transfer-Encoding: 7bit
Content-Type: text/plain

On Fri, 1 May 2015, at 15:00, Ahmed Ismail wrote:
> Good day,
>
> To get straight to the point, I've been interested in Mirage over the
> last couple of weeks, and would like to continue using it over the
> coming years. My target platform is the cubietruck (CT); however, I've
> been running into a number of problems in trying to get it up and
> running.
>
> Currently, the main issue I'm facing is that 'opam install mirage'
> doesn't proceed beyond the following point: "Processing 4/17:
> [ocamlfind: make all]". I've actually left it overnight, twice, using
> cleanly built images sourced from two completely seperate computers
> for each respective run, but it always gets stuck here.

This could be caused by the time not being set correctly. Does it work
if you run "sudo ntpdate pool.ntp.org" ?

The time problem is also discussed here:
https://github.com/mirage/xen-arm-builder/issues/48

Magnus

--_----------=_143048553211201760
Content-Transfer-Encoding: 7bit
Content-Type: text/html

<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div>On Fri, 1 May 2015, at 15:00, Ahmed Ismail wrote:<br></div>
<blockquote type="cite"><div dir="ltr"><div>Good day,<br></div>
<div>&nbsp;</div>
<div>To get straight to the point, I've been interested in Mirage over the last couple of weeks, and would like to continue using it over the coming years. My target platform is the cubietruck (CT); however, I've been running into a number of problems in trying to get it up and running.<br></div>
<div>&nbsp;</div>
<div>Currently, the main issue I'm facing is that 'opam install mirage' doesn't proceed beyond the following point: "Processing &nbsp;4/17: [ocamlfind: make all]". I've actually left it overnight, twice, using cleanly built images sourced from two completely seperate computers for each respective run, but it always gets stuck here.<br></div>
</div>
</blockquote><div>&nbsp;</div>
<div>This could be caused by the time not being set correctly. Does it work if you run "sudo ntpdate pool.ntp.org" ?<br></div>
<div>&nbsp;</div>
<div>The time problem is also discussed here:&nbsp;<a href="https://github.com/mirage/xen-arm-builder/issues/48">https://github.com/mirage/xen-arm-builder/issues/48</a><br></div>
<div>&nbsp;</div>
<div>Magnus</div>
</body>
</html>

--_----------=_143048553211201760--



--===============7728151130472007918==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============7728151130472007918==--



From mirageos-devel-bounces@lists.xenproject.org Fri May 01 13:20:32 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 01 May 2015 13:20:32 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YoArc-0005jn-Cc; Fri, 01 May 2015 13:20:20 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <a.m.ismail@aucegypt.edu>) id 1YoAra-0005ji-Rx
	for mirageos-devel@lists.xenproject.org; Fri, 01 May 2015 13:20:19 +0000
Received: from [85.158.137.68] by server-14.bemta-3.messagelabs.com id
	40/65-07318-19D73455; Fri, 01 May 2015 13:20:17 +0000
X-Env-Sender: a.m.ismail@aucegypt.edu
X-Msg-Ref: server-5.tower-31.messagelabs.com!1430486416!11677341!1
X-Originating-IP: [74.125.82.46]
X-SpamReason: No, hits=0.4 required=7.0 tests=HTML_50_60,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 3968 invoked from network); 1 May 2015 13:20:17 -0000
Received: from mail-wg0-f46.google.com (HELO mail-wg0-f46.google.com)
	(74.125.82.46)
	by server-5.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	1 May 2015 13:20:17 -0000
Received: by wgso17 with SMTP id o17so90752807wgs.1
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 01 May 2015 06:20:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aucegypt.edu; s=apps;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=hEE+oyRkhPmeJsk/m2zCiih5umk/SpOEcr1gDOgaidk=;
	b=edC6S2EF7XTNAZpB1Odo4m4xl0UbDsqbA8pT7FixqUisb2//NJf4CdBJzxs7prE1DA
	sx6HZ1j1HkTWo4qVvdibLmPUtrkKcw+MVgrEA6516v5So8TS+DHy7f8FZQIcgx0Yb4Cn
	bI5q/ZmvqQfH7qDFcsntPTUfWzYMPc377dRw8=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=hEE+oyRkhPmeJsk/m2zCiih5umk/SpOEcr1gDOgaidk=;
	b=Ywj5UNHFXwSLXzePw0yxYtplG8Mvlf2gd13xBrWoCDPqDgr6+nyhPQFP3zEAyxQtXN
	L3rq/kwP/zMp2sXlqtYQolI7xibOFjfG/LQZuOx7+7d5fS3OCFDV074Bi8xHTmT63uzk
	LPCpu+469BevGxa/krpCsYlwK4N/Stu8+6KIGm0Muf9FJV6jjU9+UFZwOuDqY+qnqDJi
	T5ZEvdK3I1PL2zLcuQU/4xQoi0gpBtvfBPaDSSJandk8iOaXMzAvRuElwtSDK4H/5vI4
	EhnyAdM9UDXbQlqIIG6nm+iSY6aGAJ90D5XvMZ09/S5R3iI+1GdhHGtGiAW341advTUx
	fe/Q==
X-Gm-Message-State: ALoCoQmq3Z6VQaI0MmpHd8+jkD5dMiTa8GULXVHW9ajtzmbY2th7iR1svZZrJFva3SMkhW3Tj+Cn
MIME-Version: 1.0
X-Received: by 10.180.188.193 with SMTP id gc1mr14338381wic.7.1430486416800;
	Fri, 01 May 2015 06:20:16 -0700 (PDT)
Received: by 10.194.174.138 with HTTP; Fri, 1 May 2015 06:20:16 -0700 (PDT)
In-Reply-To: <1430485532.1120176.261437445.0B36402C@webmail.messagingengine.com>
References: <CACUqk8EhPQM7XHpJwJpPdFWoKmJbVWpxeLT=-G2RtFbtjyaCSQ@mail.gmail.com>
	<1430485532.1120176.261437445.0B36402C@webmail.messagingengine.com>
Date: Fri, 1 May 2015 15:20:16 +0200
Message-ID: <CACUqk8HvMneKnyx4J+gjU=HO=XQ3fCedCWjxxxB5osi8a-3wbg@mail.gmail.com>
From: Ahmed Ismail <a.m.ismail@aucegypt.edu>
To: Magnus Skjegstad <magnus@v0.no>
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Installing Mirage on Cubietruck
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============4046016573788982914=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============4046016573788982914==
Content-Type: multipart/alternative; boundary=001a11c383e0bace9305150512eb

--001a11c383e0bace9305150512eb
Content-Type: text/plain; charset=UTF-8

Hello Magnus,

Thanks! That got it working.
By the way, I think openmirage.org is down.

Cheers,
Ahmed.

--001a11c383e0bace9305150512eb
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello Magnus,<div><br></div><div>Thanks! That got it worki=
ng.=C2=A0</div><div>By the way, I think <a href=3D"http://openmirage.org">o=
penmirage.org</a> is down.</div><div><br></div><div>Cheers,</div><div>Ahmed=
.</div></div>

--001a11c383e0bace9305150512eb--


--===============4046016573788982914==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============4046016573788982914==--


From mirageos-devel-bounces@lists.xenproject.org Fri May 01 13:20:32 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 01 May 2015 13:20:32 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YoArc-0005jn-Cc; Fri, 01 May 2015 13:20:20 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <a.m.ismail@aucegypt.edu>) id 1YoAra-0005ji-Rx
	for mirageos-devel@lists.xenproject.org; Fri, 01 May 2015 13:20:19 +0000
Received: from [85.158.137.68] by server-14.bemta-3.messagelabs.com id
	40/65-07318-19D73455; Fri, 01 May 2015 13:20:17 +0000
X-Env-Sender: a.m.ismail@aucegypt.edu
X-Msg-Ref: server-5.tower-31.messagelabs.com!1430486416!11677341!1
X-Originating-IP: [74.125.82.46]
X-SpamReason: No, hits=0.4 required=7.0 tests=HTML_50_60,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 3968 invoked from network); 1 May 2015 13:20:17 -0000
Received: from mail-wg0-f46.google.com (HELO mail-wg0-f46.google.com)
	(74.125.82.46)
	by server-5.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	1 May 2015 13:20:17 -0000
Received: by wgso17 with SMTP id o17so90752807wgs.1
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 01 May 2015 06:20:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aucegypt.edu; s=apps;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=hEE+oyRkhPmeJsk/m2zCiih5umk/SpOEcr1gDOgaidk=;
	b=edC6S2EF7XTNAZpB1Odo4m4xl0UbDsqbA8pT7FixqUisb2//NJf4CdBJzxs7prE1DA
	sx6HZ1j1HkTWo4qVvdibLmPUtrkKcw+MVgrEA6516v5So8TS+DHy7f8FZQIcgx0Yb4Cn
	bI5q/ZmvqQfH7qDFcsntPTUfWzYMPc377dRw8=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=hEE+oyRkhPmeJsk/m2zCiih5umk/SpOEcr1gDOgaidk=;
	b=Ywj5UNHFXwSLXzePw0yxYtplG8Mvlf2gd13xBrWoCDPqDgr6+nyhPQFP3zEAyxQtXN
	L3rq/kwP/zMp2sXlqtYQolI7xibOFjfG/LQZuOx7+7d5fS3OCFDV074Bi8xHTmT63uzk
	LPCpu+469BevGxa/krpCsYlwK4N/Stu8+6KIGm0Muf9FJV6jjU9+UFZwOuDqY+qnqDJi
	T5ZEvdK3I1PL2zLcuQU/4xQoi0gpBtvfBPaDSSJandk8iOaXMzAvRuElwtSDK4H/5vI4
	EhnyAdM9UDXbQlqIIG6nm+iSY6aGAJ90D5XvMZ09/S5R3iI+1GdhHGtGiAW341advTUx
	fe/Q==
X-Gm-Message-State: ALoCoQmq3Z6VQaI0MmpHd8+jkD5dMiTa8GULXVHW9ajtzmbY2th7iR1svZZrJFva3SMkhW3Tj+Cn
MIME-Version: 1.0
X-Received: by 10.180.188.193 with SMTP id gc1mr14338381wic.7.1430486416800;
	Fri, 01 May 2015 06:20:16 -0700 (PDT)
Received: by 10.194.174.138 with HTTP; Fri, 1 May 2015 06:20:16 -0700 (PDT)
In-Reply-To: <1430485532.1120176.261437445.0B36402C@webmail.messagingengine.com>
References: <CACUqk8EhPQM7XHpJwJpPdFWoKmJbVWpxeLT=-G2RtFbtjyaCSQ@mail.gmail.com>
	<1430485532.1120176.261437445.0B36402C@webmail.messagingengine.com>
Date: Fri, 1 May 2015 15:20:16 +0200
Message-ID: <CACUqk8HvMneKnyx4J+gjU=HO=XQ3fCedCWjxxxB5osi8a-3wbg@mail.gmail.com>
From: Ahmed Ismail <a.m.ismail@aucegypt.edu>
To: Magnus Skjegstad <magnus@v0.no>
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Installing Mirage on Cubietruck
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============4046016573788982914=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============4046016573788982914==
Content-Type: multipart/alternative; boundary=001a11c383e0bace9305150512eb

--001a11c383e0bace9305150512eb
Content-Type: text/plain; charset=UTF-8

Hello Magnus,

Thanks! That got it working.
By the way, I think openmirage.org is down.

Cheers,
Ahmed.

--001a11c383e0bace9305150512eb
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello Magnus,<div><br></div><div>Thanks! That got it worki=
ng.=C2=A0</div><div>By the way, I think <a href=3D"http://openmirage.org">o=
penmirage.org</a> is down.</div><div><br></div><div>Cheers,</div><div>Ahmed=
.</div></div>

--001a11c383e0bace9305150512eb--


--===============4046016573788982914==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============4046016573788982914==--


From mirageos-devel-bounces@lists.xenproject.org Fri May 01 13:56:01 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 01 May 2015 13:56:01 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YoBPq-0000Ik-W1; Fri, 01 May 2015 13:55:42 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <lukedunstan81@gmail.com>) id 1YoBPq-0000Ia-0T
	for mirageos-devel@lists.xenproject.org; Fri, 01 May 2015 13:55:42 +0000
Received: from [85.158.139.211] by server-16.bemta-5.messagelabs.com id
	91/21-25453-DD583455; Fri, 01 May 2015 13:55:41 +0000
X-Env-Sender: lukedunstan81@gmail.com
X-Msg-Ref: server-10.tower-206.messagelabs.com!1430488539!6760268!1
X-Originating-IP: [209.85.217.181]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 25037 invoked from network); 1 May 2015 13:55:40 -0000
Received: from mail-lb0-f181.google.com (HELO mail-lb0-f181.google.com)
	(209.85.217.181)
	by server-10.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	1 May 2015 13:55:40 -0000
Received: by lbbzk7 with SMTP id zk7so65296004lbb.0
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 01 May 2015 06:55:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=crz18e4zQZraVn/i0d8p0f/EiABRnBbejX4qkJOvA9A=;
	b=M4OCutGrU/cAwH6Py9Hp6TsLgBNnI5w313iUi2ZZFTOcBCR1Bpq5bbbuhPd7SjKNCd
	muCytnzPMkgtfcCqut5NbHLCHWLKxJquQjUbNXCTgoed6WVhs4ZCfgC9TOmI1j2ET1xu
	+hGwHAhaZAZOq9wiGU9Q0Bt5JC0sJOcMRMcEv1vv2SeCCWRK1Wal+3+rTNRcwhqoiq7i
	C16QIn8o6/MZ3G/WBpWLh2lPnXLk8fAvD4Mst8BXCVPCdFd+PhNhgieTax8YT1NENbyR
	FUl+Vqfa8PLubPOa/qcA/Po8Vt5y/pxfTU2E4JXzQPZwoWPlkKVMx6pHNRPP3voXPAbj
	Tlaw==
MIME-Version: 1.0
X-Received: by 10.152.164.193 with SMTP id ys1mr8245175lab.23.1430488539561;
	Fri, 01 May 2015 06:55:39 -0700 (PDT)
Received: by 10.112.119.197 with HTTP; Fri, 1 May 2015 06:55:39 -0700 (PDT)
In-Reply-To: <A4FF43ED-881F-49DA-86C9-E85D1F89BC7D@recoil.org>
References: <CAERB2H5+pvfKb4_f4mgur7Gspw0fRmL+va6mZwgSb6a2AjDO-g@mail.gmail.com>
	<CAERB2H4_5rqFbp-Lg35FBcRGYvApd1P8wtmkcf1qkE3vMVkkPA@mail.gmail.com>
	<A4FF43ED-881F-49DA-86C9-E85D1F89BC7D@recoil.org>
Date: Fri, 1 May 2015 21:55:39 +0800
Message-ID: <CAEui0wXvqD=NBw9+vnYa8gZe4CpiUAyLA-eiJrqb9CykrXivWA@mail.gmail.com>
From: Luke Dunstan <lukedunstan81@gmail.com>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] mirage-net-unix problems
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Actually, I just tried it and I have the same problem with tap0 not
being persistent on Ubuntu 14.04, and this is because
https://github.com/mirage/ocaml-tuntap hasn't been released yet since
PR #9.

However, I don't have any "terminating" problem with tap0, so I think
that problem is most likely unrelated to the persistence.

Luke

On 1 May 2015 at 16:18, Anil Madhavapeddy <anil@recoil.org> wrote:
> This sounds like a problem with persistent vs non-persistent tap interfaces.
> This functionality is unfortunately very non-portable (MacOS X, FreeBSD and
> Linux) all have different behaviour.  The functionality did change between
> version 2.2.0 and 2.1.0 to support persistent interfaces:
> https://github.com/mirage/mirage-net-unix/releases
>
> So I wonder if something needs to be done to keep it around on your
> particular setup.
>
> (This isn't helped by me now using mirage-net-macosx for most of my
> day-to-day dev, which uses a completely different codepath as tuntap no
> longer works usefully on OSX as of Yosemite).
>
> -anil
>
> On 30 Apr 2015, at 23:49, Robert Ream <robertream@gmail.com> wrote:
>
> An update: I just cloned the mirage-net-unix repo and ran the tests. This is
> what I got:
>
> sudo ./test.native
> plugging into tap0 with mac c2:9d:56:19:d7:2c..
> Netif: connect tap0
> connected
> Netif: error, terminating listen loop
> .
> Ran: 1 tests in: 0.00 seconds.
> OK
>
> And the tun0 interface disappeared as well.
>
>
>
> On Thu, Apr 30, 2015 at 2:55 PM, Robert Ream <robertream@gmail.com> wrote:
>>
>> Ok, I'm still stumped.
>>
>> Two things happen with pretty much all of the network examples when I
>> build and execute them for unix: 1) they promptly exit with a "Netif: error,
>> terminating listen loop" and 2) tun0 disappears and must be recreated every
>> time.
>>
>> 1) I tracked down the lines of code in mirage-net-unix that cause this
>> error message:
>>
>> let page = Io_page.get 1 in read t page >>= function | `Error _ -> printf
>> "Netif: error, terminating listen loop\n%!"; return ()
>>
>> So it is running into an error when reading a page from the network.
>> It would be nice to pretty print the _ of `Error _ instead of drop it on
>> the floor.
>>
>> 2) I couldn't find anywhere in the code that remotely appeared to be
>> messing with or deleting the tun0 interface. But I wonder if the error I'm
>> seeing is due to the tun0 disappearing?
>>
>> -Robert
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 01 13:56:01 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 01 May 2015 13:56:01 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YoBPq-0000Ik-W1; Fri, 01 May 2015 13:55:42 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <lukedunstan81@gmail.com>) id 1YoBPq-0000Ia-0T
	for mirageos-devel@lists.xenproject.org; Fri, 01 May 2015 13:55:42 +0000
Received: from [85.158.139.211] by server-16.bemta-5.messagelabs.com id
	91/21-25453-DD583455; Fri, 01 May 2015 13:55:41 +0000
X-Env-Sender: lukedunstan81@gmail.com
X-Msg-Ref: server-10.tower-206.messagelabs.com!1430488539!6760268!1
X-Originating-IP: [209.85.217.181]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 25037 invoked from network); 1 May 2015 13:55:40 -0000
Received: from mail-lb0-f181.google.com (HELO mail-lb0-f181.google.com)
	(209.85.217.181)
	by server-10.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	1 May 2015 13:55:40 -0000
Received: by lbbzk7 with SMTP id zk7so65296004lbb.0
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 01 May 2015 06:55:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=crz18e4zQZraVn/i0d8p0f/EiABRnBbejX4qkJOvA9A=;
	b=M4OCutGrU/cAwH6Py9Hp6TsLgBNnI5w313iUi2ZZFTOcBCR1Bpq5bbbuhPd7SjKNCd
	muCytnzPMkgtfcCqut5NbHLCHWLKxJquQjUbNXCTgoed6WVhs4ZCfgC9TOmI1j2ET1xu
	+hGwHAhaZAZOq9wiGU9Q0Bt5JC0sJOcMRMcEv1vv2SeCCWRK1Wal+3+rTNRcwhqoiq7i
	C16QIn8o6/MZ3G/WBpWLh2lPnXLk8fAvD4Mst8BXCVPCdFd+PhNhgieTax8YT1NENbyR
	FUl+Vqfa8PLubPOa/qcA/Po8Vt5y/pxfTU2E4JXzQPZwoWPlkKVMx6pHNRPP3voXPAbj
	Tlaw==
MIME-Version: 1.0
X-Received: by 10.152.164.193 with SMTP id ys1mr8245175lab.23.1430488539561;
	Fri, 01 May 2015 06:55:39 -0700 (PDT)
Received: by 10.112.119.197 with HTTP; Fri, 1 May 2015 06:55:39 -0700 (PDT)
In-Reply-To: <A4FF43ED-881F-49DA-86C9-E85D1F89BC7D@recoil.org>
References: <CAERB2H5+pvfKb4_f4mgur7Gspw0fRmL+va6mZwgSb6a2AjDO-g@mail.gmail.com>
	<CAERB2H4_5rqFbp-Lg35FBcRGYvApd1P8wtmkcf1qkE3vMVkkPA@mail.gmail.com>
	<A4FF43ED-881F-49DA-86C9-E85D1F89BC7D@recoil.org>
Date: Fri, 1 May 2015 21:55:39 +0800
Message-ID: <CAEui0wXvqD=NBw9+vnYa8gZe4CpiUAyLA-eiJrqb9CykrXivWA@mail.gmail.com>
From: Luke Dunstan <lukedunstan81@gmail.com>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] mirage-net-unix problems
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Actually, I just tried it and I have the same problem with tap0 not
being persistent on Ubuntu 14.04, and this is because
https://github.com/mirage/ocaml-tuntap hasn't been released yet since
PR #9.

However, I don't have any "terminating" problem with tap0, so I think
that problem is most likely unrelated to the persistence.

Luke

On 1 May 2015 at 16:18, Anil Madhavapeddy <anil@recoil.org> wrote:
> This sounds like a problem with persistent vs non-persistent tap interfaces.
> This functionality is unfortunately very non-portable (MacOS X, FreeBSD and
> Linux) all have different behaviour.  The functionality did change between
> version 2.2.0 and 2.1.0 to support persistent interfaces:
> https://github.com/mirage/mirage-net-unix/releases
>
> So I wonder if something needs to be done to keep it around on your
> particular setup.
>
> (This isn't helped by me now using mirage-net-macosx for most of my
> day-to-day dev, which uses a completely different codepath as tuntap no
> longer works usefully on OSX as of Yosemite).
>
> -anil
>
> On 30 Apr 2015, at 23:49, Robert Ream <robertream@gmail.com> wrote:
>
> An update: I just cloned the mirage-net-unix repo and ran the tests. This is
> what I got:
>
> sudo ./test.native
> plugging into tap0 with mac c2:9d:56:19:d7:2c..
> Netif: connect tap0
> connected
> Netif: error, terminating listen loop
> .
> Ran: 1 tests in: 0.00 seconds.
> OK
>
> And the tun0 interface disappeared as well.
>
>
>
> On Thu, Apr 30, 2015 at 2:55 PM, Robert Ream <robertream@gmail.com> wrote:
>>
>> Ok, I'm still stumped.
>>
>> Two things happen with pretty much all of the network examples when I
>> build and execute them for unix: 1) they promptly exit with a "Netif: error,
>> terminating listen loop" and 2) tun0 disappears and must be recreated every
>> time.
>>
>> 1) I tracked down the lines of code in mirage-net-unix that cause this
>> error message:
>>
>> let page = Io_page.get 1 in read t page >>= function | `Error _ -> printf
>> "Netif: error, terminating listen loop\n%!"; return ()
>>
>> So it is running into an error when reading a page from the network.
>> It would be nice to pretty print the _ of `Error _ instead of drop it on
>> the floor.
>>
>> 2) I couldn't find anywhere in the code that remotely appeared to be
>> messing with or deleting the tun0 interface. But I wonder if the error I'm
>> seeing is due to the tun0 disappearing?
>>
>> -Robert
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 01 15:40:27 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 01 May 2015 15:40:27 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YoD2x-0001YA-BH; Fri, 01 May 2015 15:40:11 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <robertream@gmail.com>) id 1YoD2v-0001Xv-Bs
	for mirageos-devel@lists.xenproject.org; Fri, 01 May 2015 15:40:09 +0000
Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id
	E9/F6-09816-85E93455; Fri, 01 May 2015 15:40:08 +0000
X-Env-Sender: robertream@gmail.com
X-Msg-Ref: server-3.tower-27.messagelabs.com!1430494806!13877403!1
X-Originating-IP: [74.125.82.41]
X-SpamReason: No, hits=0.7 required=7.0 tests=HTML_30_40,HTML_MESSAGE,
	MAILTO_TO_SPAM_ADDR,RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 4506 invoked from network); 1 May 2015 15:40:07 -0000
Received: from mail-wg0-f41.google.com (HELO mail-wg0-f41.google.com)
	(74.125.82.41)
	by server-3.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	1 May 2015 15:40:07 -0000
Received: by wgin8 with SMTP id n8so93794556wgi.0
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 01 May 2015 08:40:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=6BrrAMsw22uyCbMJwzSa/8wUiKqeu8z6NG7s7mSobPM=;
	b=k+WUjzoR3yf3+ndMKACP9MZIeG71cro/iaiEWtmtoTFyfNnuUnbRbOvx5yAvtOTTTp
	hLvsnwO+P+TawWfW1ZkcAPAMmoQEI0GUdUCojr+0/uUxE6IL5NUIye+vjBX0xS9oE7A0
	6JDHkMG+jkS9OTyyEykb7z6i/Ka++dOlyTgxFpuo5hbobYOPXF9RrsY6AurFV1jiiyoK
	MIMHgm4wZgssE0MTuPfPQJ7xbT7EaKzLnUbqAkY+KF+EC8bm0n1CPItamKXX8VpN/ba7
	DpHi88Q4mk3gx/X08WmAbkj9zbrwNZAIzbwe0uZF0dyoIzCsQrXASQMms7ZOJ4Me80ZW
	RFHA==
MIME-Version: 1.0
X-Received: by 10.180.73.202 with SMTP id n10mr15765449wiv.0.1430494806562;
	Fri, 01 May 2015 08:40:06 -0700 (PDT)
Received: by 10.194.162.197 with HTTP; Fri, 1 May 2015 08:40:06 -0700 (PDT)
In-Reply-To: <CAEui0wXvqD=NBw9+vnYa8gZe4CpiUAyLA-eiJrqb9CykrXivWA@mail.gmail.com>
References: <CAERB2H5+pvfKb4_f4mgur7Gspw0fRmL+va6mZwgSb6a2AjDO-g@mail.gmail.com>
	<CAERB2H4_5rqFbp-Lg35FBcRGYvApd1P8wtmkcf1qkE3vMVkkPA@mail.gmail.com>
	<A4FF43ED-881F-49DA-86C9-E85D1F89BC7D@recoil.org>
	<CAEui0wXvqD=NBw9+vnYa8gZe4CpiUAyLA-eiJrqb9CykrXivWA@mail.gmail.com>
Date: Fri, 1 May 2015 08:40:06 -0700
Message-ID: <CAERB2H4=y6PqrLTVD95T-H=xWkJUtSf+2Jdq0Qsnuv3_nRxiUA@mail.gmail.com>
From: Robert Ream <robertream@gmail.com>
To: Luke Dunstan <lukedunstan81@gmail.com>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>,
	Anil Madhavapeddy <anil@recoil.org>
Subject: Re: [MirageOS-devel] mirage-net-unix problems
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1042169822326408169=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============1042169822326408169==
Content-Type: multipart/alternative; boundary=f46d0435c0f4cc61b2051507065b

--f46d0435c0f4cc61b2051507065b
Content-Type: text/plain; charset=UTF-8

Hmm, ok I'll try a VM with a different OS to see if I can get it to work,
maybe Ubuntu 15 is a bit too cutting edge... :-/


On Fri, May 1, 2015 at 6:55 AM, Luke Dunstan <lukedunstan81@gmail.com>
wrote:

> Actually, I just tried it and I have the same problem with tap0 not
> being persistent on Ubuntu 14.04, and this is because
> https://github.com/mirage/ocaml-tuntap hasn't been released yet since
> PR #9.
>
> However, I don't have any "terminating" problem with tap0, so I think
> that problem is most likely unrelated to the persistence.
>
> Luke
>
> On 1 May 2015 at 16:18, Anil Madhavapeddy <anil@recoil.org> wrote:
> > This sounds like a problem with persistent vs non-persistent tap
> interfaces.
> > This functionality is unfortunately very non-portable (MacOS X, FreeBSD
> and
> > Linux) all have different behaviour.  The functionality did change
> between
> > version 2.2.0 and 2.1.0 to support persistent interfaces:
> > https://github.com/mirage/mirage-net-unix/releases
> >
> > So I wonder if something needs to be done to keep it around on your
> > particular setup.
> >
> > (This isn't helped by me now using mirage-net-macosx for most of my
> > day-to-day dev, which uses a completely different codepath as tuntap no
> > longer works usefully on OSX as of Yosemite).
> >
> > -anil
> >
> > On 30 Apr 2015, at 23:49, Robert Ream <robertream@gmail.com> wrote:
> >
> > An update: I just cloned the mirage-net-unix repo and ran the tests.
> This is
> > what I got:
> >
> > sudo ./test.native
> > plugging into tap0 with mac c2:9d:56:19:d7:2c..
> > Netif: connect tap0
> > connected
> > Netif: error, terminating listen loop
> > .
> > Ran: 1 tests in: 0.00 seconds.
> > OK
> >
> > And the tun0 interface disappeared as well.
> >
> >
> >
> > On Thu, Apr 30, 2015 at 2:55 PM, Robert Ream <robertream@gmail.com>
> wrote:
> >>
> >> Ok, I'm still stumped.
> >>
> >> Two things happen with pretty much all of the network examples when I
> >> build and execute them for unix: 1) they promptly exit with a "Netif:
> error,
> >> terminating listen loop" and 2) tun0 disappears and must be recreated
> every
> >> time.
> >>
> >> 1) I tracked down the lines of code in mirage-net-unix that cause this
> >> error message:
> >>
> >> let page = Io_page.get 1 in read t page >>= function | `Error _ ->
> printf
> >> "Netif: error, terminating listen loop\n%!"; return ()
> >>
> >> So it is running into an error when reading a page from the network.
> >> It would be nice to pretty print the _ of `Error _ instead of drop it on
> >> the floor.
> >>
> >> 2) I couldn't find anywhere in the code that remotely appeared to be
> >> messing with or deleting the tun0 interface. But I wonder if the error
> I'm
> >> seeing is due to the tun0 disappearing?
> >>
> >> -Robert
> >
> >
> > _______________________________________________
> > MirageOS-devel mailing list
> > MirageOS-devel@lists.xenproject.org
> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> >
> >
> >
> > _______________________________________________
> > MirageOS-devel mailing list
> > MirageOS-devel@lists.xenproject.org
> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> >
>

--f46d0435c0f4cc61b2051507065b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hmm, ok I&#39;ll try a VM with a different OS to see if I =
can get it to work, maybe Ubuntu 15 is a bit too cutting edge... :-/<div><b=
r></div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On =
Fri, May 1, 2015 at 6:55 AM, Luke Dunstan <span dir=3D"ltr">&lt;<a href=3D"=
mailto:lukedunstan81@gmail.com" target=3D"_blank">lukedunstan81@gmail.com</=
a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Actually, I just tri=
ed it and I have the same problem with tap0 not<br>
being persistent on Ubuntu 14.04, and this is because<br>
<a href=3D"https://github.com/mirage/ocaml-tuntap" target=3D"_blank">https:=
//github.com/mirage/ocaml-tuntap</a> hasn&#39;t been released yet since<br>
PR #9.<br>
<br>
However, I don&#39;t have any &quot;terminating&quot; problem with tap0, so=
 I think<br>
that problem is most likely unrelated to the persistence.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Luke<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
On 1 May 2015 at 16:18, Anil Madhavapeddy &lt;<a href=3D"mailto:anil@recoil=
.org">anil@recoil.org</a>&gt; wrote:<br>
&gt; This sounds like a problem with persistent vs non-persistent tap inter=
faces.<br>
&gt; This functionality is unfortunately very non-portable (MacOS X, FreeBS=
D and<br>
&gt; Linux) all have different behaviour.=C2=A0 The functionality did chang=
e between<br>
&gt; version 2.2.0 and 2.1.0 to support persistent interfaces:<br>
&gt; <a href=3D"https://github.com/mirage/mirage-net-unix/releases" target=
=3D"_blank">https://github.com/mirage/mirage-net-unix/releases</a><br>
&gt;<br>
&gt; So I wonder if something needs to be done to keep it around on your<br=
>
&gt; particular setup.<br>
&gt;<br>
&gt; (This isn&#39;t helped by me now using mirage-net-macosx for most of m=
y<br>
&gt; day-to-day dev, which uses a completely different codepath as tuntap n=
o<br>
&gt; longer works usefully on OSX as of Yosemite).<br>
&gt;<br>
&gt; -anil<br>
&gt;<br>
&gt; On 30 Apr 2015, at 23:49, Robert Ream &lt;<a href=3D"mailto:robertream=
@gmail.com">robertream@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; An update: I just cloned the mirage-net-unix repo and ran the tests. T=
his is<br>
&gt; what I got:<br>
&gt;<br>
&gt; sudo ./test.native<br>
&gt; plugging into tap0 with mac c2:9d:56:19:d7:2c..<br>
&gt; Netif: connect tap0<br>
&gt; connected<br>
&gt; Netif: error, terminating listen loop<br>
&gt; .<br>
&gt; Ran: 1 tests in: 0.00 seconds.<br>
&gt; OK<br>
&gt;<br>
&gt; And the tun0 interface disappeared as well.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Apr 30, 2015 at 2:55 PM, Robert Ream &lt;<a href=3D"mailto:rob=
ertream@gmail.com">robertream@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Ok, I&#39;m still stumped.<br>
&gt;&gt;<br>
&gt;&gt; Two things happen with pretty much all of the network examples whe=
n I<br>
&gt;&gt; build and execute them for unix: 1) they promptly exit with a &quo=
t;Netif: error,<br>
&gt;&gt; terminating listen loop&quot; and 2) tun0 disappears and must be r=
ecreated every<br>
&gt;&gt; time.<br>
&gt;&gt;<br>
&gt;&gt; 1) I tracked down the lines of code in mirage-net-unix that cause =
this<br>
&gt;&gt; error message:<br>
&gt;&gt;<br>
&gt;&gt; let page =3D Io_page.get 1 in read t page &gt;&gt;=3D function | `=
Error _ -&gt; printf<br>
&gt;&gt; &quot;Netif: error, terminating listen loop\n%!&quot;; return ()<b=
r>
&gt;&gt;<br>
&gt;&gt; So it is running into an error when reading a page from the networ=
k.<br>
&gt;&gt; It would be nice to pretty print the _ of `Error _ instead of drop=
 it on<br>
&gt;&gt; the floor.<br>
&gt;&gt;<br>
&gt;&gt; 2) I couldn&#39;t find anywhere in the code that remotely appeared=
 to be<br>
&gt;&gt; messing with or deleting the tun0 interface. But I wonder if the e=
rror I&#39;m<br>
&gt;&gt; seeing is due to the tun0 disappearing?<br>
&gt;&gt;<br>
&gt;&gt; -Robert<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; MirageOS-devel mailing list<br>
&gt; <a href=3D"mailto:MirageOS-devel@lists.xenproject.org">MirageOS-devel@=
lists.xenproject.org</a><br>
&gt; <a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirage=
os-devel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/lis=
tinfo/mirageos-devel</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; MirageOS-devel mailing list<br>
&gt; <a href=3D"mailto:MirageOS-devel@lists.xenproject.org">MirageOS-devel@=
lists.xenproject.org</a><br>
&gt; <a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirage=
os-devel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/lis=
tinfo/mirageos-devel</a><br>
&gt;<br>
</div></div></blockquote></div><br></div>

--f46d0435c0f4cc61b2051507065b--


--===============1042169822326408169==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============1042169822326408169==--


From mirageos-devel-bounces@lists.xenproject.org Fri May 01 15:40:27 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 01 May 2015 15:40:27 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YoD2x-0001YA-BH; Fri, 01 May 2015 15:40:11 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <robertream@gmail.com>) id 1YoD2v-0001Xv-Bs
	for mirageos-devel@lists.xenproject.org; Fri, 01 May 2015 15:40:09 +0000
Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id
	E9/F6-09816-85E93455; Fri, 01 May 2015 15:40:08 +0000
X-Env-Sender: robertream@gmail.com
X-Msg-Ref: server-3.tower-27.messagelabs.com!1430494806!13877403!1
X-Originating-IP: [74.125.82.41]
X-SpamReason: No, hits=0.7 required=7.0 tests=HTML_30_40,HTML_MESSAGE,
	MAILTO_TO_SPAM_ADDR,RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 4506 invoked from network); 1 May 2015 15:40:07 -0000
Received: from mail-wg0-f41.google.com (HELO mail-wg0-f41.google.com)
	(74.125.82.41)
	by server-3.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	1 May 2015 15:40:07 -0000
Received: by wgin8 with SMTP id n8so93794556wgi.0
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 01 May 2015 08:40:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=6BrrAMsw22uyCbMJwzSa/8wUiKqeu8z6NG7s7mSobPM=;
	b=k+WUjzoR3yf3+ndMKACP9MZIeG71cro/iaiEWtmtoTFyfNnuUnbRbOvx5yAvtOTTTp
	hLvsnwO+P+TawWfW1ZkcAPAMmoQEI0GUdUCojr+0/uUxE6IL5NUIye+vjBX0xS9oE7A0
	6JDHkMG+jkS9OTyyEykb7z6i/Ka++dOlyTgxFpuo5hbobYOPXF9RrsY6AurFV1jiiyoK
	MIMHgm4wZgssE0MTuPfPQJ7xbT7EaKzLnUbqAkY+KF+EC8bm0n1CPItamKXX8VpN/ba7
	DpHi88Q4mk3gx/X08WmAbkj9zbrwNZAIzbwe0uZF0dyoIzCsQrXASQMms7ZOJ4Me80ZW
	RFHA==
MIME-Version: 1.0
X-Received: by 10.180.73.202 with SMTP id n10mr15765449wiv.0.1430494806562;
	Fri, 01 May 2015 08:40:06 -0700 (PDT)
Received: by 10.194.162.197 with HTTP; Fri, 1 May 2015 08:40:06 -0700 (PDT)
In-Reply-To: <CAEui0wXvqD=NBw9+vnYa8gZe4CpiUAyLA-eiJrqb9CykrXivWA@mail.gmail.com>
References: <CAERB2H5+pvfKb4_f4mgur7Gspw0fRmL+va6mZwgSb6a2AjDO-g@mail.gmail.com>
	<CAERB2H4_5rqFbp-Lg35FBcRGYvApd1P8wtmkcf1qkE3vMVkkPA@mail.gmail.com>
	<A4FF43ED-881F-49DA-86C9-E85D1F89BC7D@recoil.org>
	<CAEui0wXvqD=NBw9+vnYa8gZe4CpiUAyLA-eiJrqb9CykrXivWA@mail.gmail.com>
Date: Fri, 1 May 2015 08:40:06 -0700
Message-ID: <CAERB2H4=y6PqrLTVD95T-H=xWkJUtSf+2Jdq0Qsnuv3_nRxiUA@mail.gmail.com>
From: Robert Ream <robertream@gmail.com>
To: Luke Dunstan <lukedunstan81@gmail.com>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>,
	Anil Madhavapeddy <anil@recoil.org>
Subject: Re: [MirageOS-devel] mirage-net-unix problems
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1042169822326408169=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============1042169822326408169==
Content-Type: multipart/alternative; boundary=f46d0435c0f4cc61b2051507065b

--f46d0435c0f4cc61b2051507065b
Content-Type: text/plain; charset=UTF-8

Hmm, ok I'll try a VM with a different OS to see if I can get it to work,
maybe Ubuntu 15 is a bit too cutting edge... :-/


On Fri, May 1, 2015 at 6:55 AM, Luke Dunstan <lukedunstan81@gmail.com>
wrote:

> Actually, I just tried it and I have the same problem with tap0 not
> being persistent on Ubuntu 14.04, and this is because
> https://github.com/mirage/ocaml-tuntap hasn't been released yet since
> PR #9.
>
> However, I don't have any "terminating" problem with tap0, so I think
> that problem is most likely unrelated to the persistence.
>
> Luke
>
> On 1 May 2015 at 16:18, Anil Madhavapeddy <anil@recoil.org> wrote:
> > This sounds like a problem with persistent vs non-persistent tap
> interfaces.
> > This functionality is unfortunately very non-portable (MacOS X, FreeBSD
> and
> > Linux) all have different behaviour.  The functionality did change
> between
> > version 2.2.0 and 2.1.0 to support persistent interfaces:
> > https://github.com/mirage/mirage-net-unix/releases
> >
> > So I wonder if something needs to be done to keep it around on your
> > particular setup.
> >
> > (This isn't helped by me now using mirage-net-macosx for most of my
> > day-to-day dev, which uses a completely different codepath as tuntap no
> > longer works usefully on OSX as of Yosemite).
> >
> > -anil
> >
> > On 30 Apr 2015, at 23:49, Robert Ream <robertream@gmail.com> wrote:
> >
> > An update: I just cloned the mirage-net-unix repo and ran the tests.
> This is
> > what I got:
> >
> > sudo ./test.native
> > plugging into tap0 with mac c2:9d:56:19:d7:2c..
> > Netif: connect tap0
> > connected
> > Netif: error, terminating listen loop
> > .
> > Ran: 1 tests in: 0.00 seconds.
> > OK
> >
> > And the tun0 interface disappeared as well.
> >
> >
> >
> > On Thu, Apr 30, 2015 at 2:55 PM, Robert Ream <robertream@gmail.com>
> wrote:
> >>
> >> Ok, I'm still stumped.
> >>
> >> Two things happen with pretty much all of the network examples when I
> >> build and execute them for unix: 1) they promptly exit with a "Netif:
> error,
> >> terminating listen loop" and 2) tun0 disappears and must be recreated
> every
> >> time.
> >>
> >> 1) I tracked down the lines of code in mirage-net-unix that cause this
> >> error message:
> >>
> >> let page = Io_page.get 1 in read t page >>= function | `Error _ ->
> printf
> >> "Netif: error, terminating listen loop\n%!"; return ()
> >>
> >> So it is running into an error when reading a page from the network.
> >> It would be nice to pretty print the _ of `Error _ instead of drop it on
> >> the floor.
> >>
> >> 2) I couldn't find anywhere in the code that remotely appeared to be
> >> messing with or deleting the tun0 interface. But I wonder if the error
> I'm
> >> seeing is due to the tun0 disappearing?
> >>
> >> -Robert
> >
> >
> > _______________________________________________
> > MirageOS-devel mailing list
> > MirageOS-devel@lists.xenproject.org
> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> >
> >
> >
> > _______________________________________________
> > MirageOS-devel mailing list
> > MirageOS-devel@lists.xenproject.org
> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> >
>

--f46d0435c0f4cc61b2051507065b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hmm, ok I&#39;ll try a VM with a different OS to see if I =
can get it to work, maybe Ubuntu 15 is a bit too cutting edge... :-/<div><b=
r></div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On =
Fri, May 1, 2015 at 6:55 AM, Luke Dunstan <span dir=3D"ltr">&lt;<a href=3D"=
mailto:lukedunstan81@gmail.com" target=3D"_blank">lukedunstan81@gmail.com</=
a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Actually, I just tri=
ed it and I have the same problem with tap0 not<br>
being persistent on Ubuntu 14.04, and this is because<br>
<a href=3D"https://github.com/mirage/ocaml-tuntap" target=3D"_blank">https:=
//github.com/mirage/ocaml-tuntap</a> hasn&#39;t been released yet since<br>
PR #9.<br>
<br>
However, I don&#39;t have any &quot;terminating&quot; problem with tap0, so=
 I think<br>
that problem is most likely unrelated to the persistence.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Luke<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
On 1 May 2015 at 16:18, Anil Madhavapeddy &lt;<a href=3D"mailto:anil@recoil=
.org">anil@recoil.org</a>&gt; wrote:<br>
&gt; This sounds like a problem with persistent vs non-persistent tap inter=
faces.<br>
&gt; This functionality is unfortunately very non-portable (MacOS X, FreeBS=
D and<br>
&gt; Linux) all have different behaviour.=C2=A0 The functionality did chang=
e between<br>
&gt; version 2.2.0 and 2.1.0 to support persistent interfaces:<br>
&gt; <a href=3D"https://github.com/mirage/mirage-net-unix/releases" target=
=3D"_blank">https://github.com/mirage/mirage-net-unix/releases</a><br>
&gt;<br>
&gt; So I wonder if something needs to be done to keep it around on your<br=
>
&gt; particular setup.<br>
&gt;<br>
&gt; (This isn&#39;t helped by me now using mirage-net-macosx for most of m=
y<br>
&gt; day-to-day dev, which uses a completely different codepath as tuntap n=
o<br>
&gt; longer works usefully on OSX as of Yosemite).<br>
&gt;<br>
&gt; -anil<br>
&gt;<br>
&gt; On 30 Apr 2015, at 23:49, Robert Ream &lt;<a href=3D"mailto:robertream=
@gmail.com">robertream@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; An update: I just cloned the mirage-net-unix repo and ran the tests. T=
his is<br>
&gt; what I got:<br>
&gt;<br>
&gt; sudo ./test.native<br>
&gt; plugging into tap0 with mac c2:9d:56:19:d7:2c..<br>
&gt; Netif: connect tap0<br>
&gt; connected<br>
&gt; Netif: error, terminating listen loop<br>
&gt; .<br>
&gt; Ran: 1 tests in: 0.00 seconds.<br>
&gt; OK<br>
&gt;<br>
&gt; And the tun0 interface disappeared as well.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Apr 30, 2015 at 2:55 PM, Robert Ream &lt;<a href=3D"mailto:rob=
ertream@gmail.com">robertream@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Ok, I&#39;m still stumped.<br>
&gt;&gt;<br>
&gt;&gt; Two things happen with pretty much all of the network examples whe=
n I<br>
&gt;&gt; build and execute them for unix: 1) they promptly exit with a &quo=
t;Netif: error,<br>
&gt;&gt; terminating listen loop&quot; and 2) tun0 disappears and must be r=
ecreated every<br>
&gt;&gt; time.<br>
&gt;&gt;<br>
&gt;&gt; 1) I tracked down the lines of code in mirage-net-unix that cause =
this<br>
&gt;&gt; error message:<br>
&gt;&gt;<br>
&gt;&gt; let page =3D Io_page.get 1 in read t page &gt;&gt;=3D function | `=
Error _ -&gt; printf<br>
&gt;&gt; &quot;Netif: error, terminating listen loop\n%!&quot;; return ()<b=
r>
&gt;&gt;<br>
&gt;&gt; So it is running into an error when reading a page from the networ=
k.<br>
&gt;&gt; It would be nice to pretty print the _ of `Error _ instead of drop=
 it on<br>
&gt;&gt; the floor.<br>
&gt;&gt;<br>
&gt;&gt; 2) I couldn&#39;t find anywhere in the code that remotely appeared=
 to be<br>
&gt;&gt; messing with or deleting the tun0 interface. But I wonder if the e=
rror I&#39;m<br>
&gt;&gt; seeing is due to the tun0 disappearing?<br>
&gt;&gt;<br>
&gt;&gt; -Robert<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; MirageOS-devel mailing list<br>
&gt; <a href=3D"mailto:MirageOS-devel@lists.xenproject.org">MirageOS-devel@=
lists.xenproject.org</a><br>
&gt; <a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirage=
os-devel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/lis=
tinfo/mirageos-devel</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; MirageOS-devel mailing list<br>
&gt; <a href=3D"mailto:MirageOS-devel@lists.xenproject.org">MirageOS-devel@=
lists.xenproject.org</a><br>
&gt; <a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirage=
os-devel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/lis=
tinfo/mirageos-devel</a><br>
&gt;<br>
</div></div></blockquote></div><br></div>

--f46d0435c0f4cc61b2051507065b--


--===============1042169822326408169==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============1042169822326408169==--


From mirageos-devel-bounces@lists.xenproject.org Fri May 01 16:11:29 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 01 May 2015 16:11:29 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YoDX3-0003xM-9m; Fri, 01 May 2015 16:11:17 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <magnus@therning.org>) id 1YoDX2-0003xH-Fg
	for mirageos-devel@lists.xenproject.org; Fri, 01 May 2015 16:11:16 +0000
Received: from [193.109.254.147] by server-11.bemta-14.messagelabs.com id
	7F/48-22533-3A5A3455; Fri, 01 May 2015 16:11:15 +0000
X-Env-Sender: magnus@therning.org
X-Msg-Ref: server-7.tower-27.messagelabs.com!1430496674!13941656!1
X-Originating-IP: [209.85.217.180]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 11057 invoked from network); 1 May 2015 16:11:14 -0000
Received: from mail-lb0-f180.google.com (HELO mail-lb0-f180.google.com)
	(209.85.217.180)
	by server-7.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	1 May 2015 16:11:14 -0000
Received: by lbcga7 with SMTP id ga7so67533743lbc.1
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 01 May 2015 09:11:13 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:date:from:to:subject:message-id:references
	:mime-version:content-type:content-disposition:in-reply-to
	:user-agent;
	bh=R07e6MJaUvcw/0aJaXSKQlraSB7PwsNFPKhvW6DX/ME=;
	b=mzvGh82Lz1rjYZsWQN1VfsrSbqzdGuS57qfQbDsSzNIER9hTvjBRWo6FxcJBGLzh2Z
	bdg+GeMxl6Pdwg85xWLz+uz33Bcjde9rMCIuKS+uetCQpR0b3dkAWpLKzrY4RbOPqqy7
	B5z3qdYB8KVUk3LqEav5aFA73CIcBi52OnV8wCFXXOZM9MR3be7dpLZ5FxHL3cFQOsBE
	ZEWUhPzTBK3X8p5Dl4yfnRDofH2BFDyk6WN8ocA8EzXcOuk+3Am3Jejv5q0SGwR+eF7g
	l/5o3C8EtVTzhPLbS+tFpqURbrGgHt1hTRoo+85j/YYQ+N+IonHs1whF8wSqgXQoeYp/
	Fb0A==
X-Gm-Message-State: ALoCoQnbHeTVqM+dVSjRjLuaQOXJHaU3l3tSwpk/16xZ+UegWq5UMs2tiQUtrI593n2u03W3n/TH
X-Received: by 10.112.135.131 with SMTP id ps3mr8715443lbb.84.1430496673732;
	Fri, 01 May 2015 09:11:13 -0700 (PDT)
Received: from tatooine (78-82-243-206.tn.glocalnet.net. [78.82.243.206])
	by mx.google.com with ESMTPSA id t8sm1414278lby.24.2015.05.01.09.11.11
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Fri, 01 May 2015 09:11:12 -0700 (PDT)
Date: Fri, 1 May 2015 18:11:09 +0200
From: Magnus Therning <magnus@therning.org>
To: mirageos-devel@lists.xenproject.org
Message-ID: <20150501161109.GA25077@tatooine>
References: <CACUqk8EhPQM7XHpJwJpPdFWoKmJbVWpxeLT=-G2RtFbtjyaCSQ@mail.gmail.com>
	<1430485532.1120176.261437445.0B36402C@webmail.messagingengine.com>
MIME-Version: 1.0
In-Reply-To: <1430485532.1120176.261437445.0B36402C@webmail.messagingengine.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Subject: Re: [MirageOS-devel] Installing Mirage on Cubietruck
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============3230200121872236485=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============3230200121872236485==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="4Ckj6UjgE2iN1+kY"
Content-Disposition: inline


--4Ckj6UjgE2iN1+kY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, May 01, 2015 at 03:05:32PM +0200, Magnus Skjegstad wrote:
> On Fri, 1 May 2015, at 15:00, Ahmed Ismail wrote:
> > Good day,
> >
> > To get straight to the point, I've been interested in Mirage over the
> > last couple of weeks, and would like to continue using it over the
> > coming years. My target platform is the cubietruck (CT); however, I've
> > been running into a number of problems in trying to get it up and
> > running.
> >
> > Currently, the main issue I'm facing is that 'opam install mirage'
> > doesn't proceed beyond the following point: "Processing 4/17:
> > [ocamlfind: make all]". I've actually left it overnight, twice, using
> > cleanly built images sourced from two completely seperate computers
> > for each respective run, but it always gets stuck here.
>=20
> This could be caused by the time not being set correctly. Does it work
> if you run "sudo ntpdate pool.ntp.org" ?
>=20
> The time problem is also discussed here:
> https://github.com/mirage/xen-arm-builder/issues/48

If you run `opam` with verbose output it quickly becomes apparent if
it gets stuck due to issues with time.

/M

--=20
Magnus Therning                      OpenPGP: 0xAB4DFBA4=20
email: magnus@therning.org   jabber: magnus@therning.org
twitter: magthe               http://therning.org/magnus

Any fool can write code that a computer can understand.  Good programmers
write code that humans can understand.
     -- Martin Fowler

--4Ckj6UjgE2iN1+kY
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iEYEABECAAYFAlVDpZ0ACgkQiMWTaatN+6QHngCggnIYwNuhiQAqJCK+b3XFyAKA
bKEAn04LSFN6h5y1QGZ5TQzGmHOjRMcP
=za3A
-----END PGP SIGNATURE-----

--4Ckj6UjgE2iN1+kY--


--===============3230200121872236485==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============3230200121872236485==--


From mirageos-devel-bounces@lists.xenproject.org Fri May 01 16:11:29 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 01 May 2015 16:11:29 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YoDX3-0003xM-9m; Fri, 01 May 2015 16:11:17 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <magnus@therning.org>) id 1YoDX2-0003xH-Fg
	for mirageos-devel@lists.xenproject.org; Fri, 01 May 2015 16:11:16 +0000
Received: from [193.109.254.147] by server-11.bemta-14.messagelabs.com id
	7F/48-22533-3A5A3455; Fri, 01 May 2015 16:11:15 +0000
X-Env-Sender: magnus@therning.org
X-Msg-Ref: server-7.tower-27.messagelabs.com!1430496674!13941656!1
X-Originating-IP: [209.85.217.180]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 11057 invoked from network); 1 May 2015 16:11:14 -0000
Received: from mail-lb0-f180.google.com (HELO mail-lb0-f180.google.com)
	(209.85.217.180)
	by server-7.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	1 May 2015 16:11:14 -0000
Received: by lbcga7 with SMTP id ga7so67533743lbc.1
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 01 May 2015 09:11:13 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:date:from:to:subject:message-id:references
	:mime-version:content-type:content-disposition:in-reply-to
	:user-agent;
	bh=R07e6MJaUvcw/0aJaXSKQlraSB7PwsNFPKhvW6DX/ME=;
	b=mzvGh82Lz1rjYZsWQN1VfsrSbqzdGuS57qfQbDsSzNIER9hTvjBRWo6FxcJBGLzh2Z
	bdg+GeMxl6Pdwg85xWLz+uz33Bcjde9rMCIuKS+uetCQpR0b3dkAWpLKzrY4RbOPqqy7
	B5z3qdYB8KVUk3LqEav5aFA73CIcBi52OnV8wCFXXOZM9MR3be7dpLZ5FxHL3cFQOsBE
	ZEWUhPzTBK3X8p5Dl4yfnRDofH2BFDyk6WN8ocA8EzXcOuk+3Am3Jejv5q0SGwR+eF7g
	l/5o3C8EtVTzhPLbS+tFpqURbrGgHt1hTRoo+85j/YYQ+N+IonHs1whF8wSqgXQoeYp/
	Fb0A==
X-Gm-Message-State: ALoCoQnbHeTVqM+dVSjRjLuaQOXJHaU3l3tSwpk/16xZ+UegWq5UMs2tiQUtrI593n2u03W3n/TH
X-Received: by 10.112.135.131 with SMTP id ps3mr8715443lbb.84.1430496673732;
	Fri, 01 May 2015 09:11:13 -0700 (PDT)
Received: from tatooine (78-82-243-206.tn.glocalnet.net. [78.82.243.206])
	by mx.google.com with ESMTPSA id t8sm1414278lby.24.2015.05.01.09.11.11
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Fri, 01 May 2015 09:11:12 -0700 (PDT)
Date: Fri, 1 May 2015 18:11:09 +0200
From: Magnus Therning <magnus@therning.org>
To: mirageos-devel@lists.xenproject.org
Message-ID: <20150501161109.GA25077@tatooine>
References: <CACUqk8EhPQM7XHpJwJpPdFWoKmJbVWpxeLT=-G2RtFbtjyaCSQ@mail.gmail.com>
	<1430485532.1120176.261437445.0B36402C@webmail.messagingengine.com>
MIME-Version: 1.0
In-Reply-To: <1430485532.1120176.261437445.0B36402C@webmail.messagingengine.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Subject: Re: [MirageOS-devel] Installing Mirage on Cubietruck
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============3230200121872236485=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============3230200121872236485==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="4Ckj6UjgE2iN1+kY"
Content-Disposition: inline


--4Ckj6UjgE2iN1+kY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, May 01, 2015 at 03:05:32PM +0200, Magnus Skjegstad wrote:
> On Fri, 1 May 2015, at 15:00, Ahmed Ismail wrote:
> > Good day,
> >
> > To get straight to the point, I've been interested in Mirage over the
> > last couple of weeks, and would like to continue using it over the
> > coming years. My target platform is the cubietruck (CT); however, I've
> > been running into a number of problems in trying to get it up and
> > running.
> >
> > Currently, the main issue I'm facing is that 'opam install mirage'
> > doesn't proceed beyond the following point: "Processing 4/17:
> > [ocamlfind: make all]". I've actually left it overnight, twice, using
> > cleanly built images sourced from two completely seperate computers
> > for each respective run, but it always gets stuck here.
>=20
> This could be caused by the time not being set correctly. Does it work
> if you run "sudo ntpdate pool.ntp.org" ?
>=20
> The time problem is also discussed here:
> https://github.com/mirage/xen-arm-builder/issues/48

If you run `opam` with verbose output it quickly becomes apparent if
it gets stuck due to issues with time.

/M

--=20
Magnus Therning                      OpenPGP: 0xAB4DFBA4=20
email: magnus@therning.org   jabber: magnus@therning.org
twitter: magthe               http://therning.org/magnus

Any fool can write code that a computer can understand.  Good programmers
write code that humans can understand.
     -- Martin Fowler

--4Ckj6UjgE2iN1+kY
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iEYEABECAAYFAlVDpZ0ACgkQiMWTaatN+6QHngCggnIYwNuhiQAqJCK+b3XFyAKA
bKEAn04LSFN6h5y1QGZ5TQzGmHOjRMcP
=za3A
-----END PGP SIGNATURE-----

--4Ckj6UjgE2iN1+kY--


--===============3230200121872236485==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============3230200121872236485==--


From mirageos-devel-bounces@lists.xenproject.org Fri May 01 17:40:58 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 01 May 2015 17:40:58 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YoEvX-0007yx-M5; Fri, 01 May 2015 17:40:39 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YoEvW-0007yo-PY
	for mirageos-devel@lists.xenproject.org; Fri, 01 May 2015 17:40:38 +0000
Received: from [85.158.139.211] by server-12.bemta-5.messagelabs.com id
	F2/75-22236-59AB3455; Fri, 01 May 2015 17:40:37 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-7.tower-206.messagelabs.com!1430502034!12168813!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.5 required=7.0 tests=HTML_60_70,HTML_MESSAGE,
	RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 17324 invoked from network); 1 May 2015 17:40:34 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-7.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 1 May 2015 17:40:34 -0000
Received: from dhcp-172-17-152-185.eduroam.wireless.private.cam.ac.uk
	(global-1-26.nat.csx.cam.ac.uk [131.111.184.26]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 8cec3099;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Fri, 1 May 2015 18:40:33 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CACUqk8HvMneKnyx4J+gjU=HO=XQ3fCedCWjxxxB5osi8a-3wbg@mail.gmail.com>
Date: Fri, 1 May 2015 18:40:35 +0100
Message-Id: <D621DB73-336F-421B-87EF-69D2E4B799D3@recoil.org>
References: <CACUqk8EhPQM7XHpJwJpPdFWoKmJbVWpxeLT=-G2RtFbtjyaCSQ@mail.gmail.com>
	<1430485532.1120176.261437445.0B36402C@webmail.messagingengine.com>
	<CACUqk8HvMneKnyx4J+gjU=HO=XQ3fCedCWjxxxB5osi8a-3wbg@mail.gmail.com>
To: Ahmed Ismail <a.m.ismail@aucegypt.edu>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Installing Mirage on Cubietruck
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5524834611061863634=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============5524834611061863634==
Content-Type: multipart/alternative; boundary="Apple-Mail=_83260968-036B-47DC-A773-A57FEE266B7F"


--Apple-Mail=_83260968-036B-47DC-A773-A57FEE266B7F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 1 May 2015, at 14:20, Ahmed Ismail <a.m.ismail@aucegypt.edu> wrote:
>=20
> Hello Magnus,
>=20
> Thanks! That got it working.=20
> By the way, I think openmirage.org <http://openmirage.org/> is down.
>=20

I found the root cause of the website reboots recently; it's because of =
the huge amount of crunched content we're putting on the live site :)
https://github.com/mirage/mirage/issues/396 =
<https://github.com/mirage/mirage/issues/396>

Should be relatively easy to fix now that we know what the problem is...

-anil


--Apple-Mail=_83260968-036B-47DC-A773-A57FEE266B7F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">On 1 May 2015, at 14:20, Ahmed Ismail &lt;<a =
href=3D"mailto:a.m.ismail@aucegypt.edu" =
class=3D"">a.m.ismail@aucegypt.edu</a>&gt; wrote:<br =
class=3D""><div><blockquote type=3D"cite" class=3D""><br =
class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" =
class=3D"">Hello Magnus,<div class=3D""><br class=3D""></div><div =
class=3D"">Thanks! That got it working.&nbsp;</div><div class=3D"">By =
the way, I think <a href=3D"http://openmirage.org/" =
class=3D"">openmirage.org</a> is down.</div><div class=3D""><br =
class=3D""></div></div></div></blockquote><br class=3D""></div><div>I =
found the root cause of the website reboots recently; it's because of =
the huge amount of crunched content we're putting on the live site =
:)</div><div><a href=3D"https://github.com/mirage/mirage/issues/396" =
class=3D"">https://github.com/mirage/mirage/issues/396</a></div><div><br =
class=3D""></div><div>Should be relatively easy to fix now that we know =
what the problem is...</div><div><br class=3D""></div><div>-anil</div><br =
class=3D""></body></html>=

--Apple-Mail=_83260968-036B-47DC-A773-A57FEE266B7F--


--===============5524834611061863634==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============5524834611061863634==--


From mirageos-devel-bounces@lists.xenproject.org Fri May 01 17:40:58 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 01 May 2015 17:40:58 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YoEvX-0007yx-M5; Fri, 01 May 2015 17:40:39 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YoEvW-0007yo-PY
	for mirageos-devel@lists.xenproject.org; Fri, 01 May 2015 17:40:38 +0000
Received: from [85.158.139.211] by server-12.bemta-5.messagelabs.com id
	F2/75-22236-59AB3455; Fri, 01 May 2015 17:40:37 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-7.tower-206.messagelabs.com!1430502034!12168813!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.5 required=7.0 tests=HTML_60_70,HTML_MESSAGE,
	RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 17324 invoked from network); 1 May 2015 17:40:34 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-7.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 1 May 2015 17:40:34 -0000
Received: from dhcp-172-17-152-185.eduroam.wireless.private.cam.ac.uk
	(global-1-26.nat.csx.cam.ac.uk [131.111.184.26]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 8cec3099;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Fri, 1 May 2015 18:40:33 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CACUqk8HvMneKnyx4J+gjU=HO=XQ3fCedCWjxxxB5osi8a-3wbg@mail.gmail.com>
Date: Fri, 1 May 2015 18:40:35 +0100
Message-Id: <D621DB73-336F-421B-87EF-69D2E4B799D3@recoil.org>
References: <CACUqk8EhPQM7XHpJwJpPdFWoKmJbVWpxeLT=-G2RtFbtjyaCSQ@mail.gmail.com>
	<1430485532.1120176.261437445.0B36402C@webmail.messagingengine.com>
	<CACUqk8HvMneKnyx4J+gjU=HO=XQ3fCedCWjxxxB5osi8a-3wbg@mail.gmail.com>
To: Ahmed Ismail <a.m.ismail@aucegypt.edu>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Installing Mirage on Cubietruck
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5524834611061863634=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============5524834611061863634==
Content-Type: multipart/alternative; boundary="Apple-Mail=_83260968-036B-47DC-A773-A57FEE266B7F"


--Apple-Mail=_83260968-036B-47DC-A773-A57FEE266B7F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 1 May 2015, at 14:20, Ahmed Ismail <a.m.ismail@aucegypt.edu> wrote:
>=20
> Hello Magnus,
>=20
> Thanks! That got it working.=20
> By the way, I think openmirage.org <http://openmirage.org/> is down.
>=20

I found the root cause of the website reboots recently; it's because of =
the huge amount of crunched content we're putting on the live site :)
https://github.com/mirage/mirage/issues/396 =
<https://github.com/mirage/mirage/issues/396>

Should be relatively easy to fix now that we know what the problem is...

-anil


--Apple-Mail=_83260968-036B-47DC-A773-A57FEE266B7F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">On 1 May 2015, at 14:20, Ahmed Ismail &lt;<a =
href=3D"mailto:a.m.ismail@aucegypt.edu" =
class=3D"">a.m.ismail@aucegypt.edu</a>&gt; wrote:<br =
class=3D""><div><blockquote type=3D"cite" class=3D""><br =
class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" =
class=3D"">Hello Magnus,<div class=3D""><br class=3D""></div><div =
class=3D"">Thanks! That got it working.&nbsp;</div><div class=3D"">By =
the way, I think <a href=3D"http://openmirage.org/" =
class=3D"">openmirage.org</a> is down.</div><div class=3D""><br =
class=3D""></div></div></div></blockquote><br class=3D""></div><div>I =
found the root cause of the website reboots recently; it's because of =
the huge amount of crunched content we're putting on the live site =
:)</div><div><a href=3D"https://github.com/mirage/mirage/issues/396" =
class=3D"">https://github.com/mirage/mirage/issues/396</a></div><div><br =
class=3D""></div><div>Should be relatively easy to fix now that we know =
what the problem is...</div><div><br class=3D""></div><div>-anil</div><br =
class=3D""></body></html>=

--Apple-Mail=_83260968-036B-47DC-A773-A57FEE266B7F--


--===============5524834611061863634==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============5524834611061863634==--


From mirageos-devel-bounces@lists.xenproject.org Fri May 01 22:00:16 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 01 May 2015 22:00:16 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YoIyT-0002sc-PK; Fri, 01 May 2015 21:59:57 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <robertream@gmail.com>) id 1YoIyS-0002sX-OB
	for mirageos-devel@lists.xenproject.org; Fri, 01 May 2015 21:59:57 +0000
Received: from [85.158.139.211] by server-1.bemta-5.messagelabs.com id
	C1/9C-20070-B57F3455; Fri, 01 May 2015 21:59:55 +0000
X-Env-Sender: robertream@gmail.com
X-Msg-Ref: server-7.tower-206.messagelabs.com!1430517594!12191776!1
X-Originating-IP: [74.125.82.48]
X-SpamReason: No, hits=0.9 required=7.0 tests=HTML_60_70,HTML_MESSAGE,
	MAILTO_TO_SPAM_ADDR,RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 2187 invoked from network); 1 May 2015 21:59:54 -0000
Received: from mail-wg0-f48.google.com (HELO mail-wg0-f48.google.com)
	(74.125.82.48)
	by server-7.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	1 May 2015 21:59:54 -0000
Received: by wgen6 with SMTP id n6so101378353wge.3
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 01 May 2015 14:59:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:content-type; bh=G0+QA4T7A55IbrBHVfGTJOYoC7cTpqFavnJHkuLz5ek=;
	b=hl47GF0tilneLLxTDYsrgAGZJLVA+NHzbNex5buJTtrMJj/D8xs3+kkHc8XftgS9N/
	EITdwG3pQ5Tess7x2gPmkheCcNwD+C3W+YU1eIGnkfJWiu63w8vWySw8FRV95+Y3BpwN
	kX0+e4EaXGqTdxK1sggqjzGPZtcd8NSfqqNMuFen5ImfivTxBF1ApA3ej1MGEn+UOf+8
	tpMdyW3TEz0IvEXCKCRfe9hcjMH9kgm5/SmlmUYOVNOl5HIdTbEm0hP/mcfJtEfBBq0+
	lQ90glsvia2WtNpgEQMnuFjwoE35ussnR3+Nk2ARe0HI1tylyBU61Vjm67j9NOrCrQgr
	tAIg==
MIME-Version: 1.0
X-Received: by 10.180.73.202 with SMTP id n10mr326308wiv.0.1430517593858; Fri,
	01 May 2015 14:59:53 -0700 (PDT)
Received: by 10.194.162.197 with HTTP; Fri, 1 May 2015 14:59:53 -0700 (PDT)
In-Reply-To: <CAERB2H4=y6PqrLTVD95T-H=xWkJUtSf+2Jdq0Qsnuv3_nRxiUA@mail.gmail.com>
References: <CAERB2H5+pvfKb4_f4mgur7Gspw0fRmL+va6mZwgSb6a2AjDO-g@mail.gmail.com>
	<CAERB2H4_5rqFbp-Lg35FBcRGYvApd1P8wtmkcf1qkE3vMVkkPA@mail.gmail.com>
	<A4FF43ED-881F-49DA-86C9-E85D1F89BC7D@recoil.org>
	<CAEui0wXvqD=NBw9+vnYa8gZe4CpiUAyLA-eiJrqb9CykrXivWA@mail.gmail.com>
	<CAERB2H4=y6PqrLTVD95T-H=xWkJUtSf+2Jdq0Qsnuv3_nRxiUA@mail.gmail.com>
Date: Fri, 1 May 2015 14:59:53 -0700
Message-ID: <CAERB2H6fEzCykg8EBYUaPu0WAAT7xUxn7Ub4g9nSvSHGrRaTEg@mail.gmail.com>
From: Robert Ream <robertream@gmail.com>
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] mirage-net-unix problems
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============2504324515758261870=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============2504324515758261870==
Content-Type: multipart/alternative; boundary=f46d0435c0f406e7d405150c5585

--f46d0435c0f406e7d405150c5585
Content-Type: text/plain; charset=UTF-8

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@gmail.com> wrote:

> Hmm, ok I'll try a VM with a different OS to see if I can get it to work,
> maybe Ubuntu 15 is a bit too cutting edge... :-/
>
>
> On Fri, May 1, 2015 at 6:55 AM, Luke Dunstan <lukedunstan81@gmail.com>
> wrote:
>
>> Actually, I just tried it and I have the same problem with tap0 not
>> being persistent on Ubuntu 14.04, and this is because
>> https://github.com/mirage/ocaml-tuntap hasn't been released yet since
>> PR #9.
>>
>> However, I don't have any "terminating" problem with tap0, so I think
>> that problem is most likely unrelated to the persistence.
>>
>> Luke
>>
>> On 1 May 2015 at 16:18, Anil Madhavapeddy <anil@recoil.org> wrote:
>> > This sounds like a problem with persistent vs non-persistent tap
>> interfaces.
>> > This functionality is unfortunately very non-portable (MacOS X, FreeBSD
>> and
>> > Linux) all have different behaviour.  The functionality did change
>> between
>> > version 2.2.0 and 2.1.0 to support persistent interfaces:
>> > https://github.com/mirage/mirage-net-unix/releases
>> >
>> > So I wonder if something needs to be done to keep it around on your
>> > particular setup.
>> >
>> > (This isn't helped by me now using mirage-net-macosx for most of my
>> > day-to-day dev, which uses a completely different codepath as tuntap no
>> > longer works usefully on OSX as of Yosemite).
>> >
>> > -anil
>> >
>> > On 30 Apr 2015, at 23:49, Robert Ream <robertream@gmail.com> wrote:
>> >
>> > An update: I just cloned the mirage-net-unix repo and ran the tests.
>> This is
>> > what I got:
>> >
>> > sudo ./test.native
>> > plugging into tap0 with mac c2:9d:56:19:d7:2c..
>> > Netif: connect tap0
>> > connected
>> > Netif: error, terminating listen loop
>> > .
>> > Ran: 1 tests in: 0.00 seconds.
>> > OK
>> >
>> > And the tun0 interface disappeared as well.
>> >
>> >
>> >
>> > On Thu, Apr 30, 2015 at 2:55 PM, Robert Ream <robertream@gmail.com>
>> wrote:
>> >>
>> >> Ok, I'm still stumped.
>> >>
>> >> Two things happen with pretty much all of the network examples when I
>> >> build and execute them for unix: 1) they promptly exit with a "Netif:
>> error,
>> >> terminating listen loop" and 2) tun0 disappears and must be recreated
>> every
>> >> time.
>> >>
>> >> 1) I tracked down the lines of code in mirage-net-unix that cause this
>> >> error message:
>> >>
>> >> let page = Io_page.get 1 in read t page >>= function | `Error _ ->
>> printf
>> >> "Netif: error, terminating listen loop\n%!"; return ()
>> >>
>> >> So it is running into an error when reading a page from the network.
>> >> It would be nice to pretty print the _ of `Error _ instead of drop it
>> on
>> >> the floor.
>> >>
>> >> 2) I couldn't find anywhere in the code that remotely appeared to be
>> >> messing with or deleting the tun0 interface. But I wonder if the error
>> I'm
>> >> seeing is due to the tun0 disappearing?
>> >>
>> >> -Robert
>> >
>> >
>> > _______________________________________________
>> > MirageOS-devel mailing list
>> > MirageOS-devel@lists.xenproject.org
>> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>> >
>> >
>> >
>> > _______________________________________________
>> > MirageOS-devel mailing list
>> > MirageOS-devel@lists.xenproject.org
>> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>> >
>>
>
>

--f46d0435c0f406e7d405150c5585
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Ok,=C2=A0<div><br></div><div>I modified mirage-net-unix to=
 output a reasonable error message and apparently tun0 is being considered =
&quot;disconnected&quot; during a read operation.</div><div>I have the test=
s for it at least printing out just one &quot;got packet of len [length]&qu=
ot; now and then the interface gets &quot;disconnected&quot;. This is the c=
ode that detects the disconnection:</div><div><br></div><div><span class=3D=
"" style=3D"font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,mo=
nospace;font-size:12px;line-height:18.2000007629395px;white-space:pre;color=
:rgb(0,134,179)">Lwt_cstruct.</span><span style=3D"color:rgb(51,51,51);font=
-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-siz=
e:12px;line-height:18.2000007629395px;white-space:pre">read t.dev buf
</span><span class=3D"" style=3D"font-family:Consolas,&#39;Liberation Mono&=
#39;,Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395px;=
white-space:pre;color:rgb(167,29,93)">  &gt;&gt;</span><span class=3D"" sty=
le=3D"font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospac=
e;font-size:12px;line-height:18.2000007629395px;white-space:pre;color:rgb(1=
67,29,93)">=3D</span><span style=3D"color:rgb(51,51,51);font-family:Consola=
s,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:12px;line-hei=
ght:18.2000007629395px;white-space:pre"> </span><span class=3D"" style=3D"f=
ont-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-=
size:12px;line-height:18.2000007629395px;white-space:pre;color:rgb(167,29,9=
3)">function
</span><span class=3D"" style=3D"font-family:Consolas,&#39;Liberation Mono&=
#39;,Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395px;=
white-space:pre;color:rgb(167,29,93)">    |</span><span style=3D"color:rgb(=
51,51,51);font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,mono=
space;font-size:12px;line-height:18.2000007629395px;white-space:pre">(</spa=
n><span class=3D"" style=3D"font-family:Consolas,&#39;Liberation Mono&#39;,=
Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395px;white=
-space:pre;color:rgb(167,29,93)">-</span><span class=3D"" style=3D"font-fam=
ily:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:12=
px;line-height:18.2000007629395px;white-space:pre;color:rgb(0,134,179)">1</=
span><span style=3D"color:rgb(51,51,51);font-family:Consolas,&#39;Liberatio=
n Mono&#39;,Menlo,Courier,monospace;font-size:12px;line-height:18.200000762=
9395px;white-space:pre">) -&gt; </span><span class=3D"" style=3D"font-famil=
y:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:12px=
;line-height:18.2000007629395px;white-space:pre;color:rgb(150,152,150)">(* =
EAGAIN or EWOULDBLOCK *)
</span><span style=3D"color:rgb(51,51,51);font-family:Consolas,&#39;Liberat=
ion Mono&#39;,Menlo,Courier,monospace;font-size:12px;line-height:18.2000007=
629395px;white-space:pre">    </span><span style=3D"color:rgb(51,51,51);fon=
t-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-si=
ze:12px;line-height:18.2000007629395px;white-space:pre">  read t page
    </span><span class=3D"" style=3D"font-family:Consolas,&#39;Liberation M=
ono&#39;,Menlo,Courier,monospace;font-size:12px;line-height:18.200000762939=
5px;white-space:pre;color:rgb(167,29,93)">|</span><span class=3D"" style=3D=
"font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;fon=
t-size:12px;line-height:18.2000007629395px;white-space:pre;color:rgb(0,134,=
179)">0</span><span style=3D"color:rgb(51,51,51);font-family:Consolas,&#39;=
Liberation Mono&#39;,Menlo,Courier,monospace;font-size:12px;line-height:18.=
2000007629395px;white-space:pre"> -&gt; </span><span class=3D"" style=3D"fo=
nt-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-s=
ize:12px;line-height:18.2000007629395px;white-space:pre;color:rgb(150,152,1=
50)">(* EOF *)
      </span><span style=3D"color:rgb(51,51,51);font-family:Consolas,&#39;L=
iberation Mono&#39;,Menlo,Courier,monospace;font-size:12px;line-height:18.2=
000007629395px;white-space:pre">return (</span><span class=3D"" style=3D"fo=
nt-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-s=
ize:12px;line-height:18.2000007629395px;white-space:pre;color:rgb(121,93,16=
3)">`Error</span><span style=3D"color:rgb(51,51,51);font-family:Consolas,&#=
39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:12px;line-height:=
18.2000007629395px;white-space:pre"> </span><span class=3D"" style=3D"font-=
family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size=
:12px;line-height:18.2000007629395px;white-space:pre;color:rgb(121,93,163)"=
>`Disconnected</span><span style=3D"color:rgb(51,51,51);font-family:Consola=
s,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:12px;line-hei=
ght:18.2000007629395px;white-space:pre">)
</span></div><div><br></div><div>Is 0 really an EOF? Should it be considere=
d a disconnect?</div><div><br></div><div>Anyway, I got the tests for mirage=
-net-unix=C2=A0fully=C2=A0working with Ubuntu 12.04.5, and I assume I&#39;l=
l be able to get Mirage OS proper working now.</div><div><div><br></div><di=
v>Should I submit a pull request for the modifications I made to mirage-net=
-unix?</div><div><br></div><div>Thanks for all your help!</div><div><br></d=
iv><div>-Robert</div><div><br></div></div></div><div class=3D"gmail_extra">=
<br><div class=3D"gmail_quote">On Fri, May 1, 2015 at 8:40 AM, Robert Ream =
<span dir=3D"ltr">&lt;<a href=3D"mailto:robertream@gmail.com" target=3D"_bl=
ank">robertream@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gma=
il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef=
t:1ex"><div dir=3D"ltr">Hmm, ok I&#39;ll try a VM with a different OS to se=
e if I can get it to work, maybe Ubuntu 15 is a bit too cutting edge... :-/=
<div><br></div></div><div class=3D"HOEnZb"><div class=3D"h5"><div class=3D"=
gmail_extra"><br><div class=3D"gmail_quote">On Fri, May 1, 2015 at 6:55 AM,=
 Luke Dunstan <span dir=3D"ltr">&lt;<a href=3D"mailto:lukedunstan81@gmail.c=
om" target=3D"_blank">lukedunstan81@gmail.com</a>&gt;</span> wrote:<br><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #c=
cc solid;padding-left:1ex">Actually, I just tried it and I have the same pr=
oblem with tap0 not<br>
being persistent on Ubuntu 14.04, and this is because<br>
<a href=3D"https://github.com/mirage/ocaml-tuntap" target=3D"_blank">https:=
//github.com/mirage/ocaml-tuntap</a> hasn&#39;t been released yet since<br>
PR #9.<br>
<br>
However, I don&#39;t have any &quot;terminating&quot; problem with tap0, so=
 I think<br>
that problem is most likely unrelated to the persistence.<br>
<span><font color=3D"#888888"><br>
Luke<br>
</font></span><div><div><br>
On 1 May 2015 at 16:18, Anil Madhavapeddy &lt;<a href=3D"mailto:anil@recoil=
.org" target=3D"_blank">anil@recoil.org</a>&gt; wrote:<br>
&gt; This sounds like a problem with persistent vs non-persistent tap inter=
faces.<br>
&gt; This functionality is unfortunately very non-portable (MacOS X, FreeBS=
D and<br>
&gt; Linux) all have different behaviour.=C2=A0 The functionality did chang=
e between<br>
&gt; version 2.2.0 and 2.1.0 to support persistent interfaces:<br>
&gt; <a href=3D"https://github.com/mirage/mirage-net-unix/releases" target=
=3D"_blank">https://github.com/mirage/mirage-net-unix/releases</a><br>
&gt;<br>
&gt; So I wonder if something needs to be done to keep it around on your<br=
>
&gt; particular setup.<br>
&gt;<br>
&gt; (This isn&#39;t helped by me now using mirage-net-macosx for most of m=
y<br>
&gt; day-to-day dev, which uses a completely different codepath as tuntap n=
o<br>
&gt; longer works usefully on OSX as of Yosemite).<br>
&gt;<br>
&gt; -anil<br>
&gt;<br>
&gt; On 30 Apr 2015, at 23:49, Robert Ream &lt;<a href=3D"mailto:robertream=
@gmail.com" target=3D"_blank">robertream@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; An update: I just cloned the mirage-net-unix repo and ran the tests. T=
his is<br>
&gt; what I got:<br>
&gt;<br>
&gt; sudo ./test.native<br>
&gt; plugging into tap0 with mac c2:9d:56:19:d7:2c..<br>
&gt; Netif: connect tap0<br>
&gt; connected<br>
&gt; Netif: error, terminating listen loop<br>
&gt; .<br>
&gt; Ran: 1 tests in: 0.00 seconds.<br>
&gt; OK<br>
&gt;<br>
&gt; And the tun0 interface disappeared as well.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Apr 30, 2015 at 2:55 PM, Robert Ream &lt;<a href=3D"mailto:rob=
ertream@gmail.com" target=3D"_blank">robertream@gmail.com</a>&gt; wrote:<br=
>
&gt;&gt;<br>
&gt;&gt; Ok, I&#39;m still stumped.<br>
&gt;&gt;<br>
&gt;&gt; Two things happen with pretty much all of the network examples whe=
n I<br>
&gt;&gt; build and execute them for unix: 1) they promptly exit with a &quo=
t;Netif: error,<br>
&gt;&gt; terminating listen loop&quot; and 2) tun0 disappears and must be r=
ecreated every<br>
&gt;&gt; time.<br>
&gt;&gt;<br>
&gt;&gt; 1) I tracked down the lines of code in mirage-net-unix that cause =
this<br>
&gt;&gt; error message:<br>
&gt;&gt;<br>
&gt;&gt; let page =3D Io_page.get 1 in read t page &gt;&gt;=3D function | `=
Error _ -&gt; printf<br>
&gt;&gt; &quot;Netif: error, terminating listen loop\n%!&quot;; return ()<b=
r>
&gt;&gt;<br>
&gt;&gt; So it is running into an error when reading a page from the networ=
k.<br>
&gt;&gt; It would be nice to pretty print the _ of `Error _ instead of drop=
 it on<br>
&gt;&gt; the floor.<br>
&gt;&gt;<br>
&gt;&gt; 2) I couldn&#39;t find anywhere in the code that remotely appeared=
 to be<br>
&gt;&gt; messing with or deleting the tun0 interface. But I wonder if the e=
rror I&#39;m<br>
&gt;&gt; seeing is due to the tun0 disappearing?<br>
&gt;&gt;<br>
&gt;&gt; -Robert<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; MirageOS-devel mailing list<br>
&gt; <a href=3D"mailto:MirageOS-devel@lists.xenproject.org" target=3D"_blan=
k">MirageOS-devel@lists.xenproject.org</a><br>
&gt; <a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirage=
os-devel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/lis=
tinfo/mirageos-devel</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; MirageOS-devel mailing list<br>
&gt; <a href=3D"mailto:MirageOS-devel@lists.xenproject.org" target=3D"_blan=
k">MirageOS-devel@lists.xenproject.org</a><br>
&gt; <a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirage=
os-devel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/lis=
tinfo/mirageos-devel</a><br>
&gt;<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>

--f46d0435c0f406e7d405150c5585--


--===============2504324515758261870==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============2504324515758261870==--


From mirageos-devel-bounces@lists.xenproject.org Fri May 01 22:00:16 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 01 May 2015 22:00:16 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YoIyT-0002sc-PK; Fri, 01 May 2015 21:59:57 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <robertream@gmail.com>) id 1YoIyS-0002sX-OB
	for mirageos-devel@lists.xenproject.org; Fri, 01 May 2015 21:59:57 +0000
Received: from [85.158.139.211] by server-1.bemta-5.messagelabs.com id
	C1/9C-20070-B57F3455; Fri, 01 May 2015 21:59:55 +0000
X-Env-Sender: robertream@gmail.com
X-Msg-Ref: server-7.tower-206.messagelabs.com!1430517594!12191776!1
X-Originating-IP: [74.125.82.48]
X-SpamReason: No, hits=0.9 required=7.0 tests=HTML_60_70,HTML_MESSAGE,
	MAILTO_TO_SPAM_ADDR,RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 2187 invoked from network); 1 May 2015 21:59:54 -0000
Received: from mail-wg0-f48.google.com (HELO mail-wg0-f48.google.com)
	(74.125.82.48)
	by server-7.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	1 May 2015 21:59:54 -0000
Received: by wgen6 with SMTP id n6so101378353wge.3
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 01 May 2015 14:59:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:content-type; bh=G0+QA4T7A55IbrBHVfGTJOYoC7cTpqFavnJHkuLz5ek=;
	b=hl47GF0tilneLLxTDYsrgAGZJLVA+NHzbNex5buJTtrMJj/D8xs3+kkHc8XftgS9N/
	EITdwG3pQ5Tess7x2gPmkheCcNwD+C3W+YU1eIGnkfJWiu63w8vWySw8FRV95+Y3BpwN
	kX0+e4EaXGqTdxK1sggqjzGPZtcd8NSfqqNMuFen5ImfivTxBF1ApA3ej1MGEn+UOf+8
	tpMdyW3TEz0IvEXCKCRfe9hcjMH9kgm5/SmlmUYOVNOl5HIdTbEm0hP/mcfJtEfBBq0+
	lQ90glsvia2WtNpgEQMnuFjwoE35ussnR3+Nk2ARe0HI1tylyBU61Vjm67j9NOrCrQgr
	tAIg==
MIME-Version: 1.0
X-Received: by 10.180.73.202 with SMTP id n10mr326308wiv.0.1430517593858; Fri,
	01 May 2015 14:59:53 -0700 (PDT)
Received: by 10.194.162.197 with HTTP; Fri, 1 May 2015 14:59:53 -0700 (PDT)
In-Reply-To: <CAERB2H4=y6PqrLTVD95T-H=xWkJUtSf+2Jdq0Qsnuv3_nRxiUA@mail.gmail.com>
References: <CAERB2H5+pvfKb4_f4mgur7Gspw0fRmL+va6mZwgSb6a2AjDO-g@mail.gmail.com>
	<CAERB2H4_5rqFbp-Lg35FBcRGYvApd1P8wtmkcf1qkE3vMVkkPA@mail.gmail.com>
	<A4FF43ED-881F-49DA-86C9-E85D1F89BC7D@recoil.org>
	<CAEui0wXvqD=NBw9+vnYa8gZe4CpiUAyLA-eiJrqb9CykrXivWA@mail.gmail.com>
	<CAERB2H4=y6PqrLTVD95T-H=xWkJUtSf+2Jdq0Qsnuv3_nRxiUA@mail.gmail.com>
Date: Fri, 1 May 2015 14:59:53 -0700
Message-ID: <CAERB2H6fEzCykg8EBYUaPu0WAAT7xUxn7Ub4g9nSvSHGrRaTEg@mail.gmail.com>
From: Robert Ream <robertream@gmail.com>
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] mirage-net-unix problems
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============2504324515758261870=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============2504324515758261870==
Content-Type: multipart/alternative; boundary=f46d0435c0f406e7d405150c5585

--f46d0435c0f406e7d405150c5585
Content-Type: text/plain; charset=UTF-8

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@gmail.com> wrote:

> Hmm, ok I'll try a VM with a different OS to see if I can get it to work,
> maybe Ubuntu 15 is a bit too cutting edge... :-/
>
>
> On Fri, May 1, 2015 at 6:55 AM, Luke Dunstan <lukedunstan81@gmail.com>
> wrote:
>
>> Actually, I just tried it and I have the same problem with tap0 not
>> being persistent on Ubuntu 14.04, and this is because
>> https://github.com/mirage/ocaml-tuntap hasn't been released yet since
>> PR #9.
>>
>> However, I don't have any "terminating" problem with tap0, so I think
>> that problem is most likely unrelated to the persistence.
>>
>> Luke
>>
>> On 1 May 2015 at 16:18, Anil Madhavapeddy <anil@recoil.org> wrote:
>> > This sounds like a problem with persistent vs non-persistent tap
>> interfaces.
>> > This functionality is unfortunately very non-portable (MacOS X, FreeBSD
>> and
>> > Linux) all have different behaviour.  The functionality did change
>> between
>> > version 2.2.0 and 2.1.0 to support persistent interfaces:
>> > https://github.com/mirage/mirage-net-unix/releases
>> >
>> > So I wonder if something needs to be done to keep it around on your
>> > particular setup.
>> >
>> > (This isn't helped by me now using mirage-net-macosx for most of my
>> > day-to-day dev, which uses a completely different codepath as tuntap no
>> > longer works usefully on OSX as of Yosemite).
>> >
>> > -anil
>> >
>> > On 30 Apr 2015, at 23:49, Robert Ream <robertream@gmail.com> wrote:
>> >
>> > An update: I just cloned the mirage-net-unix repo and ran the tests.
>> This is
>> > what I got:
>> >
>> > sudo ./test.native
>> > plugging into tap0 with mac c2:9d:56:19:d7:2c..
>> > Netif: connect tap0
>> > connected
>> > Netif: error, terminating listen loop
>> > .
>> > Ran: 1 tests in: 0.00 seconds.
>> > OK
>> >
>> > And the tun0 interface disappeared as well.
>> >
>> >
>> >
>> > On Thu, Apr 30, 2015 at 2:55 PM, Robert Ream <robertream@gmail.com>
>> wrote:
>> >>
>> >> Ok, I'm still stumped.
>> >>
>> >> Two things happen with pretty much all of the network examples when I
>> >> build and execute them for unix: 1) they promptly exit with a "Netif:
>> error,
>> >> terminating listen loop" and 2) tun0 disappears and must be recreated
>> every
>> >> time.
>> >>
>> >> 1) I tracked down the lines of code in mirage-net-unix that cause this
>> >> error message:
>> >>
>> >> let page = Io_page.get 1 in read t page >>= function | `Error _ ->
>> printf
>> >> "Netif: error, terminating listen loop\n%!"; return ()
>> >>
>> >> So it is running into an error when reading a page from the network.
>> >> It would be nice to pretty print the _ of `Error _ instead of drop it
>> on
>> >> the floor.
>> >>
>> >> 2) I couldn't find anywhere in the code that remotely appeared to be
>> >> messing with or deleting the tun0 interface. But I wonder if the error
>> I'm
>> >> seeing is due to the tun0 disappearing?
>> >>
>> >> -Robert
>> >
>> >
>> > _______________________________________________
>> > MirageOS-devel mailing list
>> > MirageOS-devel@lists.xenproject.org
>> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>> >
>> >
>> >
>> > _______________________________________________
>> > MirageOS-devel mailing list
>> > MirageOS-devel@lists.xenproject.org
>> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>> >
>>
>
>

--f46d0435c0f406e7d405150c5585
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Ok,=C2=A0<div><br></div><div>I modified mirage-net-unix to=
 output a reasonable error message and apparently tun0 is being considered =
&quot;disconnected&quot; during a read operation.</div><div>I have the test=
s for it at least printing out just one &quot;got packet of len [length]&qu=
ot; now and then the interface gets &quot;disconnected&quot;. This is the c=
ode that detects the disconnection:</div><div><br></div><div><span class=3D=
"" style=3D"font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,mo=
nospace;font-size:12px;line-height:18.2000007629395px;white-space:pre;color=
:rgb(0,134,179)">Lwt_cstruct.</span><span style=3D"color:rgb(51,51,51);font=
-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-siz=
e:12px;line-height:18.2000007629395px;white-space:pre">read t.dev buf
</span><span class=3D"" style=3D"font-family:Consolas,&#39;Liberation Mono&=
#39;,Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395px;=
white-space:pre;color:rgb(167,29,93)">  &gt;&gt;</span><span class=3D"" sty=
le=3D"font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospac=
e;font-size:12px;line-height:18.2000007629395px;white-space:pre;color:rgb(1=
67,29,93)">=3D</span><span style=3D"color:rgb(51,51,51);font-family:Consola=
s,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:12px;line-hei=
ght:18.2000007629395px;white-space:pre"> </span><span class=3D"" style=3D"f=
ont-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-=
size:12px;line-height:18.2000007629395px;white-space:pre;color:rgb(167,29,9=
3)">function
</span><span class=3D"" style=3D"font-family:Consolas,&#39;Liberation Mono&=
#39;,Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395px;=
white-space:pre;color:rgb(167,29,93)">    |</span><span style=3D"color:rgb(=
51,51,51);font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,mono=
space;font-size:12px;line-height:18.2000007629395px;white-space:pre">(</spa=
n><span class=3D"" style=3D"font-family:Consolas,&#39;Liberation Mono&#39;,=
Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395px;white=
-space:pre;color:rgb(167,29,93)">-</span><span class=3D"" style=3D"font-fam=
ily:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:12=
px;line-height:18.2000007629395px;white-space:pre;color:rgb(0,134,179)">1</=
span><span style=3D"color:rgb(51,51,51);font-family:Consolas,&#39;Liberatio=
n Mono&#39;,Menlo,Courier,monospace;font-size:12px;line-height:18.200000762=
9395px;white-space:pre">) -&gt; </span><span class=3D"" style=3D"font-famil=
y:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:12px=
;line-height:18.2000007629395px;white-space:pre;color:rgb(150,152,150)">(* =
EAGAIN or EWOULDBLOCK *)
</span><span style=3D"color:rgb(51,51,51);font-family:Consolas,&#39;Liberat=
ion Mono&#39;,Menlo,Courier,monospace;font-size:12px;line-height:18.2000007=
629395px;white-space:pre">    </span><span style=3D"color:rgb(51,51,51);fon=
t-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-si=
ze:12px;line-height:18.2000007629395px;white-space:pre">  read t page
    </span><span class=3D"" style=3D"font-family:Consolas,&#39;Liberation M=
ono&#39;,Menlo,Courier,monospace;font-size:12px;line-height:18.200000762939=
5px;white-space:pre;color:rgb(167,29,93)">|</span><span class=3D"" style=3D=
"font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;fon=
t-size:12px;line-height:18.2000007629395px;white-space:pre;color:rgb(0,134,=
179)">0</span><span style=3D"color:rgb(51,51,51);font-family:Consolas,&#39;=
Liberation Mono&#39;,Menlo,Courier,monospace;font-size:12px;line-height:18.=
2000007629395px;white-space:pre"> -&gt; </span><span class=3D"" style=3D"fo=
nt-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-s=
ize:12px;line-height:18.2000007629395px;white-space:pre;color:rgb(150,152,1=
50)">(* EOF *)
      </span><span style=3D"color:rgb(51,51,51);font-family:Consolas,&#39;L=
iberation Mono&#39;,Menlo,Courier,monospace;font-size:12px;line-height:18.2=
000007629395px;white-space:pre">return (</span><span class=3D"" style=3D"fo=
nt-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-s=
ize:12px;line-height:18.2000007629395px;white-space:pre;color:rgb(121,93,16=
3)">`Error</span><span style=3D"color:rgb(51,51,51);font-family:Consolas,&#=
39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:12px;line-height:=
18.2000007629395px;white-space:pre"> </span><span class=3D"" style=3D"font-=
family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size=
:12px;line-height:18.2000007629395px;white-space:pre;color:rgb(121,93,163)"=
>`Disconnected</span><span style=3D"color:rgb(51,51,51);font-family:Consola=
s,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:12px;line-hei=
ght:18.2000007629395px;white-space:pre">)
</span></div><div><br></div><div>Is 0 really an EOF? Should it be considere=
d a disconnect?</div><div><br></div><div>Anyway, I got the tests for mirage=
-net-unix=C2=A0fully=C2=A0working with Ubuntu 12.04.5, and I assume I&#39;l=
l be able to get Mirage OS proper working now.</div><div><div><br></div><di=
v>Should I submit a pull request for the modifications I made to mirage-net=
-unix?</div><div><br></div><div>Thanks for all your help!</div><div><br></d=
iv><div>-Robert</div><div><br></div></div></div><div class=3D"gmail_extra">=
<br><div class=3D"gmail_quote">On Fri, May 1, 2015 at 8:40 AM, Robert Ream =
<span dir=3D"ltr">&lt;<a href=3D"mailto:robertream@gmail.com" target=3D"_bl=
ank">robertream@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gma=
il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef=
t:1ex"><div dir=3D"ltr">Hmm, ok I&#39;ll try a VM with a different OS to se=
e if I can get it to work, maybe Ubuntu 15 is a bit too cutting edge... :-/=
<div><br></div></div><div class=3D"HOEnZb"><div class=3D"h5"><div class=3D"=
gmail_extra"><br><div class=3D"gmail_quote">On Fri, May 1, 2015 at 6:55 AM,=
 Luke Dunstan <span dir=3D"ltr">&lt;<a href=3D"mailto:lukedunstan81@gmail.c=
om" target=3D"_blank">lukedunstan81@gmail.com</a>&gt;</span> wrote:<br><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #c=
cc solid;padding-left:1ex">Actually, I just tried it and I have the same pr=
oblem with tap0 not<br>
being persistent on Ubuntu 14.04, and this is because<br>
<a href=3D"https://github.com/mirage/ocaml-tuntap" target=3D"_blank">https:=
//github.com/mirage/ocaml-tuntap</a> hasn&#39;t been released yet since<br>
PR #9.<br>
<br>
However, I don&#39;t have any &quot;terminating&quot; problem with tap0, so=
 I think<br>
that problem is most likely unrelated to the persistence.<br>
<span><font color=3D"#888888"><br>
Luke<br>
</font></span><div><div><br>
On 1 May 2015 at 16:18, Anil Madhavapeddy &lt;<a href=3D"mailto:anil@recoil=
.org" target=3D"_blank">anil@recoil.org</a>&gt; wrote:<br>
&gt; This sounds like a problem with persistent vs non-persistent tap inter=
faces.<br>
&gt; This functionality is unfortunately very non-portable (MacOS X, FreeBS=
D and<br>
&gt; Linux) all have different behaviour.=C2=A0 The functionality did chang=
e between<br>
&gt; version 2.2.0 and 2.1.0 to support persistent interfaces:<br>
&gt; <a href=3D"https://github.com/mirage/mirage-net-unix/releases" target=
=3D"_blank">https://github.com/mirage/mirage-net-unix/releases</a><br>
&gt;<br>
&gt; So I wonder if something needs to be done to keep it around on your<br=
>
&gt; particular setup.<br>
&gt;<br>
&gt; (This isn&#39;t helped by me now using mirage-net-macosx for most of m=
y<br>
&gt; day-to-day dev, which uses a completely different codepath as tuntap n=
o<br>
&gt; longer works usefully on OSX as of Yosemite).<br>
&gt;<br>
&gt; -anil<br>
&gt;<br>
&gt; On 30 Apr 2015, at 23:49, Robert Ream &lt;<a href=3D"mailto:robertream=
@gmail.com" target=3D"_blank">robertream@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; An update: I just cloned the mirage-net-unix repo and ran the tests. T=
his is<br>
&gt; what I got:<br>
&gt;<br>
&gt; sudo ./test.native<br>
&gt; plugging into tap0 with mac c2:9d:56:19:d7:2c..<br>
&gt; Netif: connect tap0<br>
&gt; connected<br>
&gt; Netif: error, terminating listen loop<br>
&gt; .<br>
&gt; Ran: 1 tests in: 0.00 seconds.<br>
&gt; OK<br>
&gt;<br>
&gt; And the tun0 interface disappeared as well.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Apr 30, 2015 at 2:55 PM, Robert Ream &lt;<a href=3D"mailto:rob=
ertream@gmail.com" target=3D"_blank">robertream@gmail.com</a>&gt; wrote:<br=
>
&gt;&gt;<br>
&gt;&gt; Ok, I&#39;m still stumped.<br>
&gt;&gt;<br>
&gt;&gt; Two things happen with pretty much all of the network examples whe=
n I<br>
&gt;&gt; build and execute them for unix: 1) they promptly exit with a &quo=
t;Netif: error,<br>
&gt;&gt; terminating listen loop&quot; and 2) tun0 disappears and must be r=
ecreated every<br>
&gt;&gt; time.<br>
&gt;&gt;<br>
&gt;&gt; 1) I tracked down the lines of code in mirage-net-unix that cause =
this<br>
&gt;&gt; error message:<br>
&gt;&gt;<br>
&gt;&gt; let page =3D Io_page.get 1 in read t page &gt;&gt;=3D function | `=
Error _ -&gt; printf<br>
&gt;&gt; &quot;Netif: error, terminating listen loop\n%!&quot;; return ()<b=
r>
&gt;&gt;<br>
&gt;&gt; So it is running into an error when reading a page from the networ=
k.<br>
&gt;&gt; It would be nice to pretty print the _ of `Error _ instead of drop=
 it on<br>
&gt;&gt; the floor.<br>
&gt;&gt;<br>
&gt;&gt; 2) I couldn&#39;t find anywhere in the code that remotely appeared=
 to be<br>
&gt;&gt; messing with or deleting the tun0 interface. But I wonder if the e=
rror I&#39;m<br>
&gt;&gt; seeing is due to the tun0 disappearing?<br>
&gt;&gt;<br>
&gt;&gt; -Robert<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; MirageOS-devel mailing list<br>
&gt; <a href=3D"mailto:MirageOS-devel@lists.xenproject.org" target=3D"_blan=
k">MirageOS-devel@lists.xenproject.org</a><br>
&gt; <a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirage=
os-devel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/lis=
tinfo/mirageos-devel</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; MirageOS-devel mailing list<br>
&gt; <a href=3D"mailto:MirageOS-devel@lists.xenproject.org" target=3D"_blan=
k">MirageOS-devel@lists.xenproject.org</a><br>
&gt; <a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirage=
os-devel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/lis=
tinfo/mirageos-devel</a><br>
&gt;<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>

--f46d0435c0f406e7d405150c5585--


--===============2504324515758261870==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============2504324515758261870==--


From mirageos-devel-bounces@lists.xenproject.org Sat May 02 14:46:06 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 02 May 2015 14:46:06 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YoYfs-0006PH-1r; Sat, 02 May 2015 14:45:48 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YoYfq-0006PC-JX
	for mirageos-devel@lists.xenproject.org; Sat, 02 May 2015 14:45:46 +0000
Received: from [85.158.139.211] by server-11.bemta-5.messagelabs.com id
	CA/FA-30672-913E4455; Sat, 02 May 2015 14:45:45 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-16.tower-206.messagelabs.com!1430577944!9334071!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 21467 invoked from network); 2 May 2015 14:45:44 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-16.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 2 May 2015 14:45:44 -0000
Received: from [192.168.1.69] (cpc7-cmbg14-2-0-cust238.5-4.cable.virginm.net
	[86.30.244.239]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 092ea7de;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 2 May 2015 15:45:43 +0100 (BST)
From: Anil Madhavapeddy <anil@recoil.org>
Message-Id: <570F7C92-9F0D-4BB2-9DE3-AA345C039625@recoil.org>
Date: Sat, 2 May 2015 15:45:42 +0100
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Subject: [MirageOS-devel] openmirage.org hosting moved to bytemark
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

I've moved the openmirage.org hosting machine over to a machine running on Bytemark.  This should greatly improve its availability, as a combination of power outages and an ancient version of Xen on the old host caused problems.

The next step for the website is to get it running the TLS stack, which HannesM, DavidK and ThomasG are all working on.  It should also be much easier to run xentropyd on the new machine...

Anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat May 02 14:46:06 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 02 May 2015 14:46:06 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YoYfs-0006PH-1r; Sat, 02 May 2015 14:45:48 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YoYfq-0006PC-JX
	for mirageos-devel@lists.xenproject.org; Sat, 02 May 2015 14:45:46 +0000
Received: from [85.158.139.211] by server-11.bemta-5.messagelabs.com id
	CA/FA-30672-913E4455; Sat, 02 May 2015 14:45:45 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-16.tower-206.messagelabs.com!1430577944!9334071!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 21467 invoked from network); 2 May 2015 14:45:44 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-16.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 2 May 2015 14:45:44 -0000
Received: from [192.168.1.69] (cpc7-cmbg14-2-0-cust238.5-4.cable.virginm.net
	[86.30.244.239]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 092ea7de;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 2 May 2015 15:45:43 +0100 (BST)
From: Anil Madhavapeddy <anil@recoil.org>
Message-Id: <570F7C92-9F0D-4BB2-9DE3-AA345C039625@recoil.org>
Date: Sat, 2 May 2015 15:45:42 +0100
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Subject: [MirageOS-devel] openmirage.org hosting moved to bytemark
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

I've moved the openmirage.org hosting machine over to a machine running on Bytemark.  This should greatly improve its availability, as a combination of power outages and an ancient version of Xen on the old host caused problems.

The next step for the website is to get it running the TLS stack, which HannesM, DavidK and ThomasG are all working on.  It should also be much easier to run xentropyd on the new machine...

Anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat May 02 17:15:20 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 02 May 2015 17:15:20 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yob0K-00027j-6i; Sat, 02 May 2015 17:15:04 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1Yob0I-00027e-Sr
	for mirageos-devel@lists.xenproject.org; Sat, 02 May 2015 17:15:03 +0000
Received: from [85.158.137.68] by server-13.bemta-3.messagelabs.com id
	0C/D9-30165-51605455; Sat, 02 May 2015 17:15:01 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-9.tower-31.messagelabs.com!1430586901!8132798!1
X-Originating-IP: [209.85.212.181]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 1798 invoked from network); 2 May 2015 17:15:01 -0000
Received: from mail-wi0-f181.google.com (HELO mail-wi0-f181.google.com)
	(209.85.212.181)
	by server-9.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	2 May 2015 17:15:01 -0000
Received: by widdi4 with SMTP id di4so73789963wid.0
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 02 May 2015 10:15:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=nh8PhI11ofcKPPIF7305h7nFhyMdt3v5OEUDsdGtp8Q=;
	b=NlAKVR81b1H0mQB9JExcWyjJ+Kxw9qMljLdmkczkYagFyRm2FfdWh3aUk77hgFMkXn
	1oJ1RXODkLvM7Fnx9GOWBVvkAgQDrlg5ju4BcNWVFX7dGXib02y+rrwhgx1+KrrnnKEh
	Rvr5Bd/DzhF2JGwu4yT85B7IISLLF+79ZZ9XVR+DVlZQX+BDvDexHL62Bk+0hRP255ds
	o9GCWwgzr8ydw/XU7IeznxImLS02bDABL04QPYRSuaYFrfXK6plg6hmloWmpF05MtaEm
	k/1HiYSZ62M/ucoGto0JY42yHPFISshvN8znzcF+7ersCHSXHkBl8CZpQpZB3zX8r2Tl
	1uQg==
X-Received: by 10.194.21.8 with SMTP id r8mr702700wje.60.1430586900905;
	Sat, 02 May 2015 10:15:00 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122]) by mx.google.com with ESMTPSA id
	ez19sm3115922wid.19.2015.05.02.10.14.59
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Sat, 02 May 2015 10:14:59 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <CAEui0wXvqD=NBw9+vnYa8gZe4CpiUAyLA-eiJrqb9CykrXivWA@mail.gmail.com>
Date: Sat, 2 May 2015 18:14:57 +0100
Message-Id: <817AF34D-0BFC-4ABD-AE27-721E2354DB3A@gazagnaire.org>
References: <CAERB2H5+pvfKb4_f4mgur7Gspw0fRmL+va6mZwgSb6a2AjDO-g@mail.gmail.com>
	<CAERB2H4_5rqFbp-Lg35FBcRGYvApd1P8wtmkcf1qkE3vMVkkPA@mail.gmail.com>
	<A4FF43ED-881F-49DA-86C9-E85D1F89BC7D@recoil.org>
	<CAEui0wXvqD=NBw9+vnYa8gZe4CpiUAyLA-eiJrqb9CykrXivWA@mail.gmail.com>
To: Luke Dunstan <lukedunstan81@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>,
	Anil Madhavapeddy <anil@recoil.org>
Subject: Re: [MirageOS-devel] mirage-net-unix problems
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

> Actually, I just tried it and I have the same problem with tap0 not
> being persistent on Ubuntu 14.04, and this is because
> https://github.com/mirage/ocaml-tuntap hasn't been released yet since
> PR #9.

I'm happy to cut a new release of ocaml-tuntap if it can helps solving the problems.

This can be tested by doing `opam pin add tuntap --dev`

>> (This isn't helped by me now using mirage-net-macosx for most of my
>> day-to-day dev, which uses a completely different codepath as tuntap no
>> longer works usefully on OSX as of Yosemite).

Same thing here, I don't use ocaml-tuntap at all so it's hard to track if it's broken. If something feels like binding all the basic tests of ocaml-tuntap into an allcotest binary and make it run under Travis CI (if that's possible) that would be great. I'll add it to my todo list anyway.

Thomas


>> 
>> -anil
>> 
>> On 30 Apr 2015, at 23:49, Robert Ream <robertream@gmail.com> wrote:
>> 
>> An update: I just cloned the mirage-net-unix repo and ran the tests. This is
>> what I got:
>> 
>> sudo ./test.native
>> plugging into tap0 with mac c2:9d:56:19:d7:2c..
>> Netif: connect tap0
>> connected
>> Netif: error, terminating listen loop
>> .
>> Ran: 1 tests in: 0.00 seconds.
>> OK
>> 
>> And the tun0 interface disappeared as well.
>> 
>> 
>> 
>> On Thu, Apr 30, 2015 at 2:55 PM, Robert Ream <robertream@gmail.com> wrote:
>>> 
>>> Ok, I'm still stumped.
>>> 
>>> Two things happen with pretty much all of the network examples when I
>>> build and execute them for unix: 1) they promptly exit with a "Netif: error,
>>> terminating listen loop" and 2) tun0 disappears and must be recreated every
>>> time.
>>> 
>>> 1) I tracked down the lines of code in mirage-net-unix that cause this
>>> error message:
>>> 
>>> let page = Io_page.get 1 in read t page >>= function | `Error _ -> printf
>>> "Netif: error, terminating listen loop\n%!"; return ()
>>> 
>>> So it is running into an error when reading a page from the network.
>>> It would be nice to pretty print the _ of `Error _ instead of drop it on
>>> the floor.
>>> 
>>> 2) I couldn't find anywhere in the code that remotely appeared to be
>>> messing with or deleting the tun0 interface. But I wonder if the error I'm
>>> seeing is due to the tun0 disappearing?
>>> 
>>> -Robert
>> 
>> 
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>> 
>> 
>> 
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>> 
> 
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat May 02 17:15:20 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 02 May 2015 17:15:20 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yob0K-00027j-6i; Sat, 02 May 2015 17:15:04 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1Yob0I-00027e-Sr
	for mirageos-devel@lists.xenproject.org; Sat, 02 May 2015 17:15:03 +0000
Received: from [85.158.137.68] by server-13.bemta-3.messagelabs.com id
	0C/D9-30165-51605455; Sat, 02 May 2015 17:15:01 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-9.tower-31.messagelabs.com!1430586901!8132798!1
X-Originating-IP: [209.85.212.181]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 1798 invoked from network); 2 May 2015 17:15:01 -0000
Received: from mail-wi0-f181.google.com (HELO mail-wi0-f181.google.com)
	(209.85.212.181)
	by server-9.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	2 May 2015 17:15:01 -0000
Received: by widdi4 with SMTP id di4so73789963wid.0
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 02 May 2015 10:15:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=nh8PhI11ofcKPPIF7305h7nFhyMdt3v5OEUDsdGtp8Q=;
	b=NlAKVR81b1H0mQB9JExcWyjJ+Kxw9qMljLdmkczkYagFyRm2FfdWh3aUk77hgFMkXn
	1oJ1RXODkLvM7Fnx9GOWBVvkAgQDrlg5ju4BcNWVFX7dGXib02y+rrwhgx1+KrrnnKEh
	Rvr5Bd/DzhF2JGwu4yT85B7IISLLF+79ZZ9XVR+DVlZQX+BDvDexHL62Bk+0hRP255ds
	o9GCWwgzr8ydw/XU7IeznxImLS02bDABL04QPYRSuaYFrfXK6plg6hmloWmpF05MtaEm
	k/1HiYSZ62M/ucoGto0JY42yHPFISshvN8znzcF+7ersCHSXHkBl8CZpQpZB3zX8r2Tl
	1uQg==
X-Received: by 10.194.21.8 with SMTP id r8mr702700wje.60.1430586900905;
	Sat, 02 May 2015 10:15:00 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122]) by mx.google.com with ESMTPSA id
	ez19sm3115922wid.19.2015.05.02.10.14.59
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Sat, 02 May 2015 10:14:59 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <CAEui0wXvqD=NBw9+vnYa8gZe4CpiUAyLA-eiJrqb9CykrXivWA@mail.gmail.com>
Date: Sat, 2 May 2015 18:14:57 +0100
Message-Id: <817AF34D-0BFC-4ABD-AE27-721E2354DB3A@gazagnaire.org>
References: <CAERB2H5+pvfKb4_f4mgur7Gspw0fRmL+va6mZwgSb6a2AjDO-g@mail.gmail.com>
	<CAERB2H4_5rqFbp-Lg35FBcRGYvApd1P8wtmkcf1qkE3vMVkkPA@mail.gmail.com>
	<A4FF43ED-881F-49DA-86C9-E85D1F89BC7D@recoil.org>
	<CAEui0wXvqD=NBw9+vnYa8gZe4CpiUAyLA-eiJrqb9CykrXivWA@mail.gmail.com>
To: Luke Dunstan <lukedunstan81@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>,
	Anil Madhavapeddy <anil@recoil.org>
Subject: Re: [MirageOS-devel] mirage-net-unix problems
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

> Actually, I just tried it and I have the same problem with tap0 not
> being persistent on Ubuntu 14.04, and this is because
> https://github.com/mirage/ocaml-tuntap hasn't been released yet since
> PR #9.

I'm happy to cut a new release of ocaml-tuntap if it can helps solving the problems.

This can be tested by doing `opam pin add tuntap --dev`

>> (This isn't helped by me now using mirage-net-macosx for most of my
>> day-to-day dev, which uses a completely different codepath as tuntap no
>> longer works usefully on OSX as of Yosemite).

Same thing here, I don't use ocaml-tuntap at all so it's hard to track if it's broken. If something feels like binding all the basic tests of ocaml-tuntap into an allcotest binary and make it run under Travis CI (if that's possible) that would be great. I'll add it to my todo list anyway.

Thomas


>> 
>> -anil
>> 
>> On 30 Apr 2015, at 23:49, Robert Ream <robertream@gmail.com> wrote:
>> 
>> An update: I just cloned the mirage-net-unix repo and ran the tests. This is
>> what I got:
>> 
>> sudo ./test.native
>> plugging into tap0 with mac c2:9d:56:19:d7:2c..
>> Netif: connect tap0
>> connected
>> Netif: error, terminating listen loop
>> .
>> Ran: 1 tests in: 0.00 seconds.
>> OK
>> 
>> And the tun0 interface disappeared as well.
>> 
>> 
>> 
>> On Thu, Apr 30, 2015 at 2:55 PM, Robert Ream <robertream@gmail.com> wrote:
>>> 
>>> Ok, I'm still stumped.
>>> 
>>> Two things happen with pretty much all of the network examples when I
>>> build and execute them for unix: 1) they promptly exit with a "Netif: error,
>>> terminating listen loop" and 2) tun0 disappears and must be recreated every
>>> time.
>>> 
>>> 1) I tracked down the lines of code in mirage-net-unix that cause this
>>> error message:
>>> 
>>> let page = Io_page.get 1 in read t page >>= function | `Error _ -> printf
>>> "Netif: error, terminating listen loop\n%!"; return ()
>>> 
>>> So it is running into an error when reading a page from the network.
>>> It would be nice to pretty print the _ of `Error _ instead of drop it on
>>> the floor.
>>> 
>>> 2) I couldn't find anywhere in the code that remotely appeared to be
>>> messing with or deleting the tun0 interface. But I wonder if the error I'm
>>> seeing is due to the tun0 disappearing?
>>> 
>>> -Robert
>> 
>> 
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>> 
>> 
>> 
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>> 
> 
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat May 02 17:17:23 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 02 May 2015 17:17:23 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yob2T-00029t-EQ; Sat, 02 May 2015 17:17:17 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1Yob2R-00029o-OY
	for mirageos-devel@lists.xenproject.org; Sat, 02 May 2015 17:17:15 +0000
Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id
	CD/9C-09816-A9605455; Sat, 02 May 2015 17:17:14 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-16.tower-27.messagelabs.com!1430587032!6547314!1
X-Originating-IP: [209.85.212.178]
X-SpamReason: No, hits=0.4 required=7.0 tests=HTML_50_60,HTML_MESSAGE,
	MAILTO_TO_SPAM_ADDR
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 30066 invoked from network); 2 May 2015 17:17:12 -0000
Received: from mail-wi0-f178.google.com (HELO mail-wi0-f178.google.com)
	(209.85.212.178)
	by server-16.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	2 May 2015 17:17:12 -0000
Received: by wicmx19 with SMTP id mx19so49680137wic.1
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 02 May 2015 10:17:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:message-id:references:to;
	bh=pdUQa3xQIlFMVjwMKpqRUUOzOYNwuFKOsiGBEvZeN5c=;
	b=U9fpJErJEF4Ki5/OhRT97z+RsgZBOuNR0kO0rR+3qdb2IpMV34UFVDVI6MlH3olDnb
	EnqmLWS70MuQHDtSXbxJmAAPl+JpT+m/2pJbna5CdA0ntdKgoP4XTp5ldnzMSA4QZBv6
	MDyLyx3ae6tLD3ahCKu6Lgv8Il6hcZ57QYjsh5oDNpM4qLwl4+vGHQJjIMN63R/4k8Zq
	TJP0hvLAQrQxCKoidpUrG8GlAbp/RJMpq89VlB60guA3LUJ5Xu7IkwNONzZfS/J7UzIS
	Kd4iuwMbdd+nwKJXr0kZg+XwJqNi6lTAeGOPNr3ya/E/tcn529cAYy5z0E9lnpajkTrQ
	jMVQ==
X-Received: by 10.194.189.146 with SMTP id gi18mr3905569wjc.13.1430587032458; 
	Sat, 02 May 2015 10:17:12 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122])
	by mx.google.com with ESMTPSA id fa8sm3137182wib.14.2015.05.02.10.17.11
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Sat, 02 May 2015 10:17:11 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <CAERB2H6fEzCykg8EBYUaPu0WAAT7xUxn7Ub4g9nSvSHGrRaTEg@mail.gmail.com>
Date: Sat, 2 May 2015 18:17:09 +0100
Message-Id: <0B0773EC-8B5E-457B-B526-6F93602F3549@gazagnaire.org>
References: <CAERB2H5+pvfKb4_f4mgur7Gspw0fRmL+va6mZwgSb6a2AjDO-g@mail.gmail.com>
	<CAERB2H4_5rqFbp-Lg35FBcRGYvApd1P8wtmkcf1qkE3vMVkkPA@mail.gmail.com>
	<A4FF43ED-881F-49DA-86C9-E85D1F89BC7D@recoil.org>
	<CAEui0wXvqD=NBw9+vnYa8gZe4CpiUAyLA-eiJrqb9CykrXivWA@mail.gmail.com>
	<CAERB2H4=y6PqrLTVD95T-H=xWkJUtSf+2Jdq0Qsnuv3_nRxiUA@mail.gmail.com>
	<CAERB2H6fEzCykg8EBYUaPu0WAAT7xUxn7Ub4g9nSvSHGrRaTEg@mail.gmail.com>
To: Robert Ream <robertream@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] mirage-net-unix problems
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0069623766686510067=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============0069623766686510067==
Content-Type: multipart/alternative; boundary="Apple-Mail=_5B897334-FC75-448F-B5AF-8885A478CB5F"


--Apple-Mail=_5B897334-FC75-448F-B5AF-8885A478CB5F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

> Should I submit a pull request for the modifications I made to =
mirage-net-unix?

yes pull requests are always very welcome!

Thanks,
Thomas

>=20
> On Fri, May 1, 2015 at 8:40 AM, Robert Ream <robertream@gmail.com =
<mailto:robertream@gmail.com>> wrote:
> Hmm, ok I'll try a VM with a different OS to see if I can get it to =
work, maybe Ubuntu 15 is a bit too cutting edge... :-/
>=20
>=20
> On Fri, May 1, 2015 at 6:55 AM, Luke Dunstan <lukedunstan81@gmail.com =
<mailto:lukedunstan81@gmail.com>> wrote:
> Actually, I just tried it and I have the same problem with tap0 not
> being persistent on Ubuntu 14.04, and this is because
> https://github.com/mirage/ocaml-tuntap =
<https://github.com/mirage/ocaml-tuntap> hasn't been released yet since
> PR #9.
>=20
> However, I don't have any "terminating" problem with tap0, so I think
> that problem is most likely unrelated to the persistence.
>=20
> Luke
>=20
> On 1 May 2015 at 16:18, Anil Madhavapeddy <anil@recoil.org =
<mailto:anil@recoil.org>> wrote:
> > This sounds like a problem with persistent vs non-persistent tap =
interfaces.
> > This functionality is unfortunately very non-portable (MacOS X, =
FreeBSD and
> > Linux) all have different behaviour.  The functionality did change =
between
> > version 2.2.0 and 2.1.0 to support persistent interfaces:
> > https://github.com/mirage/mirage-net-unix/releases =
<https://github.com/mirage/mirage-net-unix/releases>
> >
> > So I wonder if something needs to be done to keep it around on your
> > particular setup.
> >
> > (This isn't helped by me now using mirage-net-macosx for most of my
> > day-to-day dev, which uses a completely different codepath as tuntap =
no
> > longer works usefully on OSX as of Yosemite).
> >
> > -anil
> >
> > On 30 Apr 2015, at 23:49, Robert Ream <robertream@gmail.com =
<mailto:robertream@gmail.com>> wrote:
> >
> > An update: I just cloned the mirage-net-unix repo and ran the tests. =
This is
> > what I got:
> >
> > sudo ./test.native
> > plugging into tap0 with mac c2:9d:56:19:d7:2c..
> > Netif: connect tap0
> > connected
> > Netif: error, terminating listen loop
> > .
> > Ran: 1 tests in: 0.00 seconds.
> > OK
> >
> > And the tun0 interface disappeared as well.
> >
> >
> >
> > On Thu, Apr 30, 2015 at 2:55 PM, Robert Ream <robertream@gmail.com =
<mailto:robertream@gmail.com>> wrote:
> >>
> >> Ok, I'm still stumped.
> >>
> >> Two things happen with pretty much all of the network examples when =
I
> >> build and execute them for unix: 1) they promptly exit with a =
"Netif: error,
> >> terminating listen loop" and 2) tun0 disappears and must be =
recreated every
> >> time.
> >>
> >> 1) I tracked down the lines of code in mirage-net-unix that cause =
this
> >> error message:
> >>
> >> let page =3D Io_page.get 1 in read t page >>=3D function | `Error _ =
-> printf
> >> "Netif: error, terminating listen loop\n%!"; return ()
> >>
> >> So it is running into an error when reading a page from the =
network.
> >> It would be nice to pretty print the _ of `Error _ instead of drop =
it on
> >> the floor.
> >>
> >> 2) I couldn't find anywhere in the code that remotely appeared to =
be
> >> messing with or deleting the tun0 interface. But I wonder if the =
error I'm
> >> seeing is due to the tun0 disappearing?
> >>
> >> -Robert
> >
> >
> > _______________________________________________
> > MirageOS-devel mailing list
> > MirageOS-devel@lists.xenproject.org =
<mailto:MirageOS-devel@lists.xenproject.org>
> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel =
<http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>
> >
> >
> >
> > _______________________________________________
> > MirageOS-devel mailing list
> > MirageOS-devel@lists.xenproject.org =
<mailto:MirageOS-devel@lists.xenproject.org>
> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel =
<http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>
> >
>=20
>=20
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


--Apple-Mail=_5B897334-FC75-448F-B5AF-8885A478CB5F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D""><div =
dir=3D"ltr" class=3D""><div class=3D""><div class=3D"">Should I submit a =
pull request for the modifications I made to =
mirage-net-unix?</div></div></div></div></blockquote><div><br =
class=3D""></div>yes pull requests are always very =
welcome!</div><div><br =
class=3D""></div><div>Thanks,</div><div>Thomas</div><div><br =
class=3D""></div><div><blockquote type=3D"cite" class=3D""><div =
class=3D""><div class=3D"gmail_extra"><br class=3D""><div =
class=3D"gmail_quote">On Fri, May 1, 2015 at 8:40 AM, Robert Ream <span =
dir=3D"ltr" class=3D"">&lt;<a href=3D"mailto:robertream@gmail.com" =
target=3D"_blank" class=3D"">robertream@gmail.com</a>&gt;</span> =
wrote:<br class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr" =
class=3D"">Hmm, ok I'll try a VM with a different OS to see if I can get =
it to work, maybe Ubuntu 15 is a bit too cutting edge... :-/<div =
class=3D""><br class=3D""></div></div><div class=3D"HOEnZb"><div =
class=3D"h5"><div class=3D"gmail_extra"><br class=3D""><div =
class=3D"gmail_quote">On Fri, May 1, 2015 at 6:55 AM, Luke Dunstan <span =
dir=3D"ltr" class=3D"">&lt;<a href=3D"mailto:lukedunstan81@gmail.com" =
target=3D"_blank" class=3D"">lukedunstan81@gmail.com</a>&gt;</span> =
wrote:<br class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Actually, I just =
tried it and I have the same problem with tap0 not<br class=3D"">
being persistent on Ubuntu 14.04, and this is because<br class=3D"">
<a href=3D"https://github.com/mirage/ocaml-tuntap" target=3D"_blank" =
class=3D"">https://github.com/mirage/ocaml-tuntap</a> hasn't been =
released yet since<br class=3D"">
PR #9.<br class=3D"">
<br class=3D"">
However, I don't have any "terminating" problem with tap0, so I think<br =
class=3D"">
that problem is most likely unrelated to the persistence.<br class=3D"">
<span class=3D""><font color=3D"#888888" class=3D""><br class=3D"">
Luke<br class=3D"">
</font></span><div class=3D""><div class=3D""><br class=3D"">
On 1 May 2015 at 16:18, Anil Madhavapeddy &lt;<a =
href=3D"mailto:anil@recoil.org" target=3D"_blank" =
class=3D"">anil@recoil.org</a>&gt; wrote:<br class=3D"">
&gt; This sounds like a problem with persistent vs non-persistent tap =
interfaces.<br class=3D"">
&gt; This functionality is unfortunately very non-portable (MacOS X, =
FreeBSD and<br class=3D"">
&gt; Linux) all have different behaviour.&nbsp; The functionality did =
change between<br class=3D"">
&gt; version 2.2.0 and 2.1.0 to support persistent interfaces:<br =
class=3D"">
&gt; <a href=3D"https://github.com/mirage/mirage-net-unix/releases" =
target=3D"_blank" =
class=3D"">https://github.com/mirage/mirage-net-unix/releases</a><br =
class=3D"">
&gt;<br class=3D"">
&gt; So I wonder if something needs to be done to keep it around on =
your<br class=3D"">
&gt; particular setup.<br class=3D"">
&gt;<br class=3D"">
&gt; (This isn't helped by me now using mirage-net-macosx for most of =
my<br class=3D"">
&gt; day-to-day dev, which uses a completely different codepath as =
tuntap no<br class=3D"">
&gt; longer works usefully on OSX as of Yosemite).<br class=3D"">
&gt;<br class=3D"">
&gt; -anil<br class=3D"">
&gt;<br class=3D"">
&gt; On 30 Apr 2015, at 23:49, Robert Ream &lt;<a =
href=3D"mailto:robertream@gmail.com" target=3D"_blank" =
class=3D"">robertream@gmail.com</a>&gt; wrote:<br class=3D"">
&gt;<br class=3D"">
&gt; An update: I just cloned the mirage-net-unix repo and ran the =
tests. This is<br class=3D"">
&gt; what I got:<br class=3D"">
&gt;<br class=3D"">
&gt; sudo ./test.native<br class=3D"">
&gt; plugging into tap0 with mac c2:9d:56:19:d7:2c..<br class=3D"">
&gt; Netif: connect tap0<br class=3D"">
&gt; connected<br class=3D"">
&gt; Netif: error, terminating listen loop<br class=3D"">
&gt; .<br class=3D"">
&gt; Ran: 1 tests in: 0.00 seconds.<br class=3D"">
&gt; OK<br class=3D"">
&gt;<br class=3D"">
&gt; And the tun0 interface disappeared as well.<br class=3D"">
&gt;<br class=3D"">
&gt;<br class=3D"">
&gt;<br class=3D"">
&gt; On Thu, Apr 30, 2015 at 2:55 PM, Robert Ream &lt;<a =
href=3D"mailto:robertream@gmail.com" target=3D"_blank" =
class=3D"">robertream@gmail.com</a>&gt; wrote:<br class=3D"">
&gt;&gt;<br class=3D"">
&gt;&gt; Ok, I'm still stumped.<br class=3D"">
&gt;&gt;<br class=3D"">
&gt;&gt; Two things happen with pretty much all of the network examples =
when I<br class=3D"">
&gt;&gt; build and execute them for unix: 1) they promptly exit with a =
"Netif: error,<br class=3D"">
&gt;&gt; terminating listen loop" and 2) tun0 disappears and must be =
recreated every<br class=3D"">
&gt;&gt; time.<br class=3D"">
&gt;&gt;<br class=3D"">
&gt;&gt; 1) I tracked down the lines of code in mirage-net-unix that =
cause this<br class=3D"">
&gt;&gt; error message:<br class=3D"">
&gt;&gt;<br class=3D"">
&gt;&gt; let page =3D Io_page.get 1 in read t page &gt;&gt;=3D function =
| `Error _ -&gt; printf<br class=3D"">
&gt;&gt; "Netif: error, terminating listen loop\n%!"; return ()<br =
class=3D"">
&gt;&gt;<br class=3D"">
&gt;&gt; So it is running into an error when reading a page from the =
network.<br class=3D"">
&gt;&gt; It would be nice to pretty print the _ of `Error _ instead of =
drop it on<br class=3D"">
&gt;&gt; the floor.<br class=3D"">
&gt;&gt;<br class=3D"">
&gt;&gt; 2) I couldn't find anywhere in the code that remotely appeared =
to be<br class=3D"">
&gt;&gt; messing with or deleting the tun0 interface. But I wonder if =
the error I'm<br class=3D"">
&gt;&gt; seeing is due to the tun0 disappearing?<br class=3D"">
&gt;&gt;<br class=3D"">
&gt;&gt; -Robert<br class=3D"">
&gt;<br class=3D"">
&gt;<br class=3D"">
&gt; _______________________________________________<br class=3D"">
&gt; MirageOS-devel mailing list<br class=3D"">
&gt; <a href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
target=3D"_blank" class=3D"">MirageOS-devel@lists.xenproject.org</a><br =
class=3D"">
&gt; <a =
href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-deve=
l" target=3D"_blank" =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel</a><br class=3D"">
&gt;<br class=3D"">
&gt;<br class=3D"">
&gt;<br class=3D"">
&gt; _______________________________________________<br class=3D"">
&gt; MirageOS-devel mailing list<br class=3D"">
&gt; <a href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
target=3D"_blank" class=3D"">MirageOS-devel@lists.xenproject.org</a><br =
class=3D"">
&gt; <a =
href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-deve=
l" target=3D"_blank" =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel</a><br class=3D"">
&gt;<br class=3D"">
</div></div></blockquote></div><br class=3D""></div>
</div></div></blockquote></div><br class=3D""></div>
_______________________________________________<br =
class=3D"">MirageOS-devel mailing list<br class=3D""><a =
href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
class=3D"">MirageOS-devel@lists.xenproject.org</a><br =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel<br class=3D""></div></blockquote></div><br class=3D""></body></html>=

--Apple-Mail=_5B897334-FC75-448F-B5AF-8885A478CB5F--


--===============0069623766686510067==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============0069623766686510067==--


From mirageos-devel-bounces@lists.xenproject.org Sat May 02 17:17:23 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 02 May 2015 17:17:23 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yob2T-00029t-EQ; Sat, 02 May 2015 17:17:17 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1Yob2R-00029o-OY
	for mirageos-devel@lists.xenproject.org; Sat, 02 May 2015 17:17:15 +0000
Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id
	CD/9C-09816-A9605455; Sat, 02 May 2015 17:17:14 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-16.tower-27.messagelabs.com!1430587032!6547314!1
X-Originating-IP: [209.85.212.178]
X-SpamReason: No, hits=0.4 required=7.0 tests=HTML_50_60,HTML_MESSAGE,
	MAILTO_TO_SPAM_ADDR
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 30066 invoked from network); 2 May 2015 17:17:12 -0000
Received: from mail-wi0-f178.google.com (HELO mail-wi0-f178.google.com)
	(209.85.212.178)
	by server-16.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	2 May 2015 17:17:12 -0000
Received: by wicmx19 with SMTP id mx19so49680137wic.1
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 02 May 2015 10:17:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:message-id:references:to;
	bh=pdUQa3xQIlFMVjwMKpqRUUOzOYNwuFKOsiGBEvZeN5c=;
	b=U9fpJErJEF4Ki5/OhRT97z+RsgZBOuNR0kO0rR+3qdb2IpMV34UFVDVI6MlH3olDnb
	EnqmLWS70MuQHDtSXbxJmAAPl+JpT+m/2pJbna5CdA0ntdKgoP4XTp5ldnzMSA4QZBv6
	MDyLyx3ae6tLD3ahCKu6Lgv8Il6hcZ57QYjsh5oDNpM4qLwl4+vGHQJjIMN63R/4k8Zq
	TJP0hvLAQrQxCKoidpUrG8GlAbp/RJMpq89VlB60guA3LUJ5Xu7IkwNONzZfS/J7UzIS
	Kd4iuwMbdd+nwKJXr0kZg+XwJqNi6lTAeGOPNr3ya/E/tcn529cAYy5z0E9lnpajkTrQ
	jMVQ==
X-Received: by 10.194.189.146 with SMTP id gi18mr3905569wjc.13.1430587032458; 
	Sat, 02 May 2015 10:17:12 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122])
	by mx.google.com with ESMTPSA id fa8sm3137182wib.14.2015.05.02.10.17.11
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Sat, 02 May 2015 10:17:11 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <CAERB2H6fEzCykg8EBYUaPu0WAAT7xUxn7Ub4g9nSvSHGrRaTEg@mail.gmail.com>
Date: Sat, 2 May 2015 18:17:09 +0100
Message-Id: <0B0773EC-8B5E-457B-B526-6F93602F3549@gazagnaire.org>
References: <CAERB2H5+pvfKb4_f4mgur7Gspw0fRmL+va6mZwgSb6a2AjDO-g@mail.gmail.com>
	<CAERB2H4_5rqFbp-Lg35FBcRGYvApd1P8wtmkcf1qkE3vMVkkPA@mail.gmail.com>
	<A4FF43ED-881F-49DA-86C9-E85D1F89BC7D@recoil.org>
	<CAEui0wXvqD=NBw9+vnYa8gZe4CpiUAyLA-eiJrqb9CykrXivWA@mail.gmail.com>
	<CAERB2H4=y6PqrLTVD95T-H=xWkJUtSf+2Jdq0Qsnuv3_nRxiUA@mail.gmail.com>
	<CAERB2H6fEzCykg8EBYUaPu0WAAT7xUxn7Ub4g9nSvSHGrRaTEg@mail.gmail.com>
To: Robert Ream <robertream@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] mirage-net-unix problems
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0069623766686510067=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============0069623766686510067==
Content-Type: multipart/alternative; boundary="Apple-Mail=_5B897334-FC75-448F-B5AF-8885A478CB5F"


--Apple-Mail=_5B897334-FC75-448F-B5AF-8885A478CB5F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

> Should I submit a pull request for the modifications I made to =
mirage-net-unix?

yes pull requests are always very welcome!

Thanks,
Thomas

>=20
> On Fri, May 1, 2015 at 8:40 AM, Robert Ream <robertream@gmail.com =
<mailto:robertream@gmail.com>> wrote:
> Hmm, ok I'll try a VM with a different OS to see if I can get it to =
work, maybe Ubuntu 15 is a bit too cutting edge... :-/
>=20
>=20
> On Fri, May 1, 2015 at 6:55 AM, Luke Dunstan <lukedunstan81@gmail.com =
<mailto:lukedunstan81@gmail.com>> wrote:
> Actually, I just tried it and I have the same problem with tap0 not
> being persistent on Ubuntu 14.04, and this is because
> https://github.com/mirage/ocaml-tuntap =
<https://github.com/mirage/ocaml-tuntap> hasn't been released yet since
> PR #9.
>=20
> However, I don't have any "terminating" problem with tap0, so I think
> that problem is most likely unrelated to the persistence.
>=20
> Luke
>=20
> On 1 May 2015 at 16:18, Anil Madhavapeddy <anil@recoil.org =
<mailto:anil@recoil.org>> wrote:
> > This sounds like a problem with persistent vs non-persistent tap =
interfaces.
> > This functionality is unfortunately very non-portable (MacOS X, =
FreeBSD and
> > Linux) all have different behaviour.  The functionality did change =
between
> > version 2.2.0 and 2.1.0 to support persistent interfaces:
> > https://github.com/mirage/mirage-net-unix/releases =
<https://github.com/mirage/mirage-net-unix/releases>
> >
> > So I wonder if something needs to be done to keep it around on your
> > particular setup.
> >
> > (This isn't helped by me now using mirage-net-macosx for most of my
> > day-to-day dev, which uses a completely different codepath as tuntap =
no
> > longer works usefully on OSX as of Yosemite).
> >
> > -anil
> >
> > On 30 Apr 2015, at 23:49, Robert Ream <robertream@gmail.com =
<mailto:robertream@gmail.com>> wrote:
> >
> > An update: I just cloned the mirage-net-unix repo and ran the tests. =
This is
> > what I got:
> >
> > sudo ./test.native
> > plugging into tap0 with mac c2:9d:56:19:d7:2c..
> > Netif: connect tap0
> > connected
> > Netif: error, terminating listen loop
> > .
> > Ran: 1 tests in: 0.00 seconds.
> > OK
> >
> > And the tun0 interface disappeared as well.
> >
> >
> >
> > On Thu, Apr 30, 2015 at 2:55 PM, Robert Ream <robertream@gmail.com =
<mailto:robertream@gmail.com>> wrote:
> >>
> >> Ok, I'm still stumped.
> >>
> >> Two things happen with pretty much all of the network examples when =
I
> >> build and execute them for unix: 1) they promptly exit with a =
"Netif: error,
> >> terminating listen loop" and 2) tun0 disappears and must be =
recreated every
> >> time.
> >>
> >> 1) I tracked down the lines of code in mirage-net-unix that cause =
this
> >> error message:
> >>
> >> let page =3D Io_page.get 1 in read t page >>=3D function | `Error _ =
-> printf
> >> "Netif: error, terminating listen loop\n%!"; return ()
> >>
> >> So it is running into an error when reading a page from the =
network.
> >> It would be nice to pretty print the _ of `Error _ instead of drop =
it on
> >> the floor.
> >>
> >> 2) I couldn't find anywhere in the code that remotely appeared to =
be
> >> messing with or deleting the tun0 interface. But I wonder if the =
error I'm
> >> seeing is due to the tun0 disappearing?
> >>
> >> -Robert
> >
> >
> > _______________________________________________
> > MirageOS-devel mailing list
> > MirageOS-devel@lists.xenproject.org =
<mailto:MirageOS-devel@lists.xenproject.org>
> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel =
<http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>
> >
> >
> >
> > _______________________________________________
> > MirageOS-devel mailing list
> > MirageOS-devel@lists.xenproject.org =
<mailto:MirageOS-devel@lists.xenproject.org>
> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel =
<http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>
> >
>=20
>=20
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


--Apple-Mail=_5B897334-FC75-448F-B5AF-8885A478CB5F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D""><div =
dir=3D"ltr" class=3D""><div class=3D""><div class=3D"">Should I submit a =
pull request for the modifications I made to =
mirage-net-unix?</div></div></div></div></blockquote><div><br =
class=3D""></div>yes pull requests are always very =
welcome!</div><div><br =
class=3D""></div><div>Thanks,</div><div>Thomas</div><div><br =
class=3D""></div><div><blockquote type=3D"cite" class=3D""><div =
class=3D""><div class=3D"gmail_extra"><br class=3D""><div =
class=3D"gmail_quote">On Fri, May 1, 2015 at 8:40 AM, Robert Ream <span =
dir=3D"ltr" class=3D"">&lt;<a href=3D"mailto:robertream@gmail.com" =
target=3D"_blank" class=3D"">robertream@gmail.com</a>&gt;</span> =
wrote:<br class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr" =
class=3D"">Hmm, ok I'll try a VM with a different OS to see if I can get =
it to work, maybe Ubuntu 15 is a bit too cutting edge... :-/<div =
class=3D""><br class=3D""></div></div><div class=3D"HOEnZb"><div =
class=3D"h5"><div class=3D"gmail_extra"><br class=3D""><div =
class=3D"gmail_quote">On Fri, May 1, 2015 at 6:55 AM, Luke Dunstan <span =
dir=3D"ltr" class=3D"">&lt;<a href=3D"mailto:lukedunstan81@gmail.com" =
target=3D"_blank" class=3D"">lukedunstan81@gmail.com</a>&gt;</span> =
wrote:<br class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Actually, I just =
tried it and I have the same problem with tap0 not<br class=3D"">
being persistent on Ubuntu 14.04, and this is because<br class=3D"">
<a href=3D"https://github.com/mirage/ocaml-tuntap" target=3D"_blank" =
class=3D"">https://github.com/mirage/ocaml-tuntap</a> hasn't been =
released yet since<br class=3D"">
PR #9.<br class=3D"">
<br class=3D"">
However, I don't have any "terminating" problem with tap0, so I think<br =
class=3D"">
that problem is most likely unrelated to the persistence.<br class=3D"">
<span class=3D""><font color=3D"#888888" class=3D""><br class=3D"">
Luke<br class=3D"">
</font></span><div class=3D""><div class=3D""><br class=3D"">
On 1 May 2015 at 16:18, Anil Madhavapeddy &lt;<a =
href=3D"mailto:anil@recoil.org" target=3D"_blank" =
class=3D"">anil@recoil.org</a>&gt; wrote:<br class=3D"">
&gt; This sounds like a problem with persistent vs non-persistent tap =
interfaces.<br class=3D"">
&gt; This functionality is unfortunately very non-portable (MacOS X, =
FreeBSD and<br class=3D"">
&gt; Linux) all have different behaviour.&nbsp; The functionality did =
change between<br class=3D"">
&gt; version 2.2.0 and 2.1.0 to support persistent interfaces:<br =
class=3D"">
&gt; <a href=3D"https://github.com/mirage/mirage-net-unix/releases" =
target=3D"_blank" =
class=3D"">https://github.com/mirage/mirage-net-unix/releases</a><br =
class=3D"">
&gt;<br class=3D"">
&gt; So I wonder if something needs to be done to keep it around on =
your<br class=3D"">
&gt; particular setup.<br class=3D"">
&gt;<br class=3D"">
&gt; (This isn't helped by me now using mirage-net-macosx for most of =
my<br class=3D"">
&gt; day-to-day dev, which uses a completely different codepath as =
tuntap no<br class=3D"">
&gt; longer works usefully on OSX as of Yosemite).<br class=3D"">
&gt;<br class=3D"">
&gt; -anil<br class=3D"">
&gt;<br class=3D"">
&gt; On 30 Apr 2015, at 23:49, Robert Ream &lt;<a =
href=3D"mailto:robertream@gmail.com" target=3D"_blank" =
class=3D"">robertream@gmail.com</a>&gt; wrote:<br class=3D"">
&gt;<br class=3D"">
&gt; An update: I just cloned the mirage-net-unix repo and ran the =
tests. This is<br class=3D"">
&gt; what I got:<br class=3D"">
&gt;<br class=3D"">
&gt; sudo ./test.native<br class=3D"">
&gt; plugging into tap0 with mac c2:9d:56:19:d7:2c..<br class=3D"">
&gt; Netif: connect tap0<br class=3D"">
&gt; connected<br class=3D"">
&gt; Netif: error, terminating listen loop<br class=3D"">
&gt; .<br class=3D"">
&gt; Ran: 1 tests in: 0.00 seconds.<br class=3D"">
&gt; OK<br class=3D"">
&gt;<br class=3D"">
&gt; And the tun0 interface disappeared as well.<br class=3D"">
&gt;<br class=3D"">
&gt;<br class=3D"">
&gt;<br class=3D"">
&gt; On Thu, Apr 30, 2015 at 2:55 PM, Robert Ream &lt;<a =
href=3D"mailto:robertream@gmail.com" target=3D"_blank" =
class=3D"">robertream@gmail.com</a>&gt; wrote:<br class=3D"">
&gt;&gt;<br class=3D"">
&gt;&gt; Ok, I'm still stumped.<br class=3D"">
&gt;&gt;<br class=3D"">
&gt;&gt; Two things happen with pretty much all of the network examples =
when I<br class=3D"">
&gt;&gt; build and execute them for unix: 1) they promptly exit with a =
"Netif: error,<br class=3D"">
&gt;&gt; terminating listen loop" and 2) tun0 disappears and must be =
recreated every<br class=3D"">
&gt;&gt; time.<br class=3D"">
&gt;&gt;<br class=3D"">
&gt;&gt; 1) I tracked down the lines of code in mirage-net-unix that =
cause this<br class=3D"">
&gt;&gt; error message:<br class=3D"">
&gt;&gt;<br class=3D"">
&gt;&gt; let page =3D Io_page.get 1 in read t page &gt;&gt;=3D function =
| `Error _ -&gt; printf<br class=3D"">
&gt;&gt; "Netif: error, terminating listen loop\n%!"; return ()<br =
class=3D"">
&gt;&gt;<br class=3D"">
&gt;&gt; So it is running into an error when reading a page from the =
network.<br class=3D"">
&gt;&gt; It would be nice to pretty print the _ of `Error _ instead of =
drop it on<br class=3D"">
&gt;&gt; the floor.<br class=3D"">
&gt;&gt;<br class=3D"">
&gt;&gt; 2) I couldn't find anywhere in the code that remotely appeared =
to be<br class=3D"">
&gt;&gt; messing with or deleting the tun0 interface. But I wonder if =
the error I'm<br class=3D"">
&gt;&gt; seeing is due to the tun0 disappearing?<br class=3D"">
&gt;&gt;<br class=3D"">
&gt;&gt; -Robert<br class=3D"">
&gt;<br class=3D"">
&gt;<br class=3D"">
&gt; _______________________________________________<br class=3D"">
&gt; MirageOS-devel mailing list<br class=3D"">
&gt; <a href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
target=3D"_blank" class=3D"">MirageOS-devel@lists.xenproject.org</a><br =
class=3D"">
&gt; <a =
href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-deve=
l" target=3D"_blank" =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel</a><br class=3D"">
&gt;<br class=3D"">
&gt;<br class=3D"">
&gt;<br class=3D"">
&gt; _______________________________________________<br class=3D"">
&gt; MirageOS-devel mailing list<br class=3D"">
&gt; <a href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
target=3D"_blank" class=3D"">MirageOS-devel@lists.xenproject.org</a><br =
class=3D"">
&gt; <a =
href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-deve=
l" target=3D"_blank" =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel</a><br class=3D"">
&gt;<br class=3D"">
</div></div></blockquote></div><br class=3D""></div>
</div></div></blockquote></div><br class=3D""></div>
_______________________________________________<br =
class=3D"">MirageOS-devel mailing list<br class=3D""><a =
href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
class=3D"">MirageOS-devel@lists.xenproject.org</a><br =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel<br class=3D""></div></blockquote></div><br class=3D""></body></html>=

--Apple-Mail=_5B897334-FC75-448F-B5AF-8885A478CB5F--


--===============0069623766686510067==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============0069623766686510067==--


From mirageos-devel-bounces@lists.xenproject.org Sun May 03 09:47:04 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 03 May 2015 09:47:04 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YoqU0-0004Iv-Fg; Sun, 03 May 2015 09:46:44 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YoqTz-0004Io-PQ
	for mirageos-devel@lists.xenproject.org; Sun, 03 May 2015 09:46:43 +0000
Received: from [85.158.139.211] by server-17.bemta-5.messagelabs.com id
	E6/3B-09809-28EE5455; Sun, 03 May 2015 09:46:42 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-3.tower-206.messagelabs.com!1430646402!4696672!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9138 invoked from network); 3 May 2015 09:46:42 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-3.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 3 May 2015 09:46:42 -0000
Received: from [10.12.5.7] (no-dns-yet.convergencegroup.co.uk [37.205.61.206]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 804bf020;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	for <mirageos-devel@lists.xenproject.org>;
	Sun, 3 May 2015 10:46:41 +0100 (BST)
From: Anil Madhavapeddy <anil@recoil.org>
Message-Id: <EBC6FFA4-FF38-4A4A-84F0-8F7DCD34B153@recoil.org>
Date: Sun, 3 May 2015 10:46:44 +0100
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Subject: [MirageOS-devel] Unikernel meetup at Esper in California on May 6th
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

For any West Coast unikernelers, there's going to be a fun meet-up in Redwood City on May 6th (next Wednesday) evening.  

http://www.meetup.com/sv-ocaml/events/222052290/

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sun May 03 09:47:04 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 03 May 2015 09:47:04 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YoqU0-0004Iv-Fg; Sun, 03 May 2015 09:46:44 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YoqTz-0004Io-PQ
	for mirageos-devel@lists.xenproject.org; Sun, 03 May 2015 09:46:43 +0000
Received: from [85.158.139.211] by server-17.bemta-5.messagelabs.com id
	E6/3B-09809-28EE5455; Sun, 03 May 2015 09:46:42 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-3.tower-206.messagelabs.com!1430646402!4696672!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9138 invoked from network); 3 May 2015 09:46:42 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-3.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 3 May 2015 09:46:42 -0000
Received: from [10.12.5.7] (no-dns-yet.convergencegroup.co.uk [37.205.61.206]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 804bf020;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	for <mirageos-devel@lists.xenproject.org>;
	Sun, 3 May 2015 10:46:41 +0100 (BST)
From: Anil Madhavapeddy <anil@recoil.org>
Message-Id: <EBC6FFA4-FF38-4A4A-84F0-8F7DCD34B153@recoil.org>
Date: Sun, 3 May 2015 10:46:44 +0100
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Subject: [MirageOS-devel] Unikernel meetup at Esper in California on May 6th
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

For any West Coast unikernelers, there's going to be a fun meet-up in Redwood City on May 6th (next Wednesday) evening.  

http://www.meetup.com/sv-ocaml/events/222052290/

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sun May 03 22:32:12 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 03 May 2015 22:32:12 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yp2QT-0002eP-G2; Sun, 03 May 2015 22:31:53 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1Yp2QS-0002eK-03
	for mirageos-devel@lists.xenproject.org; Sun, 03 May 2015 22:31:52 +0000
Received: from [193.109.254.147] by server-14.bemta-14.messagelabs.com id
	BE/D7-31676-7D1A6455; Sun, 03 May 2015 22:31:51 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-4.tower-27.messagelabs.com!1430692308!14159934!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=1.4 required=7.0 tests=DATE_IN_PAST_03_06,
	HTML_50_60,HTML_MESSAGE,MAILTO_TO_SPAM_ADDR,RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 13733 invoked from network); 3 May 2015 22:31:48 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-4.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 3 May 2015 22:31:48 -0000
Received: from [172.31.132.119] (216.9.110.2 [216.9.110.2]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id fb64e2ef;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Sun, 3 May 2015 23:31:47 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <0B0773EC-8B5E-457B-B526-6F93602F3549@gazagnaire.org>
Date: Sun, 3 May 2015 19:02:51 +0100
Message-Id: <ED2291B2-747F-46A2-818F-206EE937B519@recoil.org>
References: <CAERB2H5+pvfKb4_f4mgur7Gspw0fRmL+va6mZwgSb6a2AjDO-g@mail.gmail.com>
	<CAERB2H4_5rqFbp-Lg35FBcRGYvApd1P8wtmkcf1qkE3vMVkkPA@mail.gmail.com>
	<A4FF43ED-881F-49DA-86C9-E85D1F89BC7D@recoil.org>
	<CAEui0wXvqD=NBw9+vnYa8gZe4CpiUAyLA-eiJrqb9CykrXivWA@mail.gmail.com>
	<CAERB2H4=y6PqrLTVD95T-H=xWkJUtSf+2Jdq0Qsnuv3_nRxiUA@mail.gmail.com>
	<CAERB2H6fEzCykg8EBYUaPu0WAAT7xUxn7Ub4g9nSvSHGrRaTEg@mail.gmail.com>
	<0B0773EC-8B5E-457B-B526-6F93602F3549@gazagnaire.org>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] mirage-net-unix problems
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8429394968269019846=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============8429394968269019846==
Content-Type: multipart/alternative; boundary="Apple-Mail=_D90986A9-5C5E-4F32-AEC6-EE2587862515"


--Apple-Mail=_D90986A9-5C5E-4F32-AEC6-EE2587862515
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

One way to keep this working is to do a live deployment that uses the =
Unix/tuntap instead of the Xen backend.  In general, I think it's time =
to start load balancing the openmirage.org <http://openmirage.org/> site =
with all of our supported backends (x86/ARM, Unix/Xen) so that we get =
bug reports as easy as possible.  Let's put it on the next call agenda, =
but we need to:

- modify the Travis deployment scripts to build all the variants and not =
just Xen/x86_64
- alter mirage-www to include information on which backend it is using =
and display it in the HTML
- deploy a couple of DNS unikernels that do RR balancing across each of =
the different backends.

-anil=20

> On 2 May 2015, at 18:17, Thomas Gazagnaire <thomas@gazagnaire.org> =
wrote:
>=20
>> Should I submit a pull request for the modifications I made to =
mirage-net-unix?
>=20
> yes pull requests are always very welcome!
>=20
> Thanks,
> Thomas
>=20
>>=20
>> On Fri, May 1, 2015 at 8:40 AM, Robert Ream <robertream@gmail.com =
<mailto:robertream@gmail.com>> wrote:
>> Hmm, ok I'll try a VM with a different OS to see if I can get it to =
work, maybe Ubuntu 15 is a bit too cutting edge... :-/
>>=20
>>=20
>> On Fri, May 1, 2015 at 6:55 AM, Luke Dunstan <lukedunstan81@gmail.com =
<mailto:lukedunstan81@gmail.com>> wrote:
>> Actually, I just tried it and I have the same problem with tap0 not
>> being persistent on Ubuntu 14.04, and this is because
>> https://github.com/mirage/ocaml-tuntap =
<https://github.com/mirage/ocaml-tuntap> hasn't been released yet since
>> PR #9.
>>=20
>> However, I don't have any "terminating" problem with tap0, so I think
>> that problem is most likely unrelated to the persistence.
>>=20
>> Luke
>>=20
>> On 1 May 2015 at 16:18, Anil Madhavapeddy <anil@recoil.org =
<mailto:anil@recoil.org>> wrote:
>> > This sounds like a problem with persistent vs non-persistent tap =
interfaces.
>> > This functionality is unfortunately very non-portable (MacOS X, =
FreeBSD and
>> > Linux) all have different behaviour.  The functionality did change =
between
>> > version 2.2.0 and 2.1.0 to support persistent interfaces:
>> > https://github.com/mirage/mirage-net-unix/releases =
<https://github.com/mirage/mirage-net-unix/releases>
>> >
>> > So I wonder if something needs to be done to keep it around on your
>> > particular setup.
>> >
>> > (This isn't helped by me now using mirage-net-macosx for most of my
>> > day-to-day dev, which uses a completely different codepath as =
tuntap no
>> > longer works usefully on OSX as of Yosemite).
>> >
>> > -anil
>> >
>> > On 30 Apr 2015, at 23:49, Robert Ream <robertream@gmail.com =
<mailto:robertream@gmail.com>> wrote:
>> >
>> > An update: I just cloned the mirage-net-unix repo and ran the =
tests. This is
>> > what I got:
>> >
>> > sudo ./test.native
>> > plugging into tap0 with mac c2:9d:56:19:d7:2c..
>> > Netif: connect tap0
>> > connected
>> > Netif: error, terminating listen loop
>> > .
>> > Ran: 1 tests in: 0.00 seconds.
>> > OK
>> >
>> > And the tun0 interface disappeared as well.
>> >
>> >
>> >
>> > On Thu, Apr 30, 2015 at 2:55 PM, Robert Ream <robertream@gmail.com =
<mailto:robertream@gmail.com>> wrote:
>> >>
>> >> Ok, I'm still stumped.
>> >>
>> >> Two things happen with pretty much all of the network examples =
when I
>> >> build and execute them for unix: 1) they promptly exit with a =
"Netif: error,
>> >> terminating listen loop" and 2) tun0 disappears and must be =
recreated every
>> >> time.
>> >>
>> >> 1) I tracked down the lines of code in mirage-net-unix that cause =
this
>> >> error message:
>> >>
>> >> let page =3D Io_page.get 1 in read t page >>=3D function | `Error =
_ -> printf
>> >> "Netif: error, terminating listen loop\n%!"; return ()
>> >>
>> >> So it is running into an error when reading a page from the =
network.
>> >> It would be nice to pretty print the _ of `Error _ instead of drop =
it on
>> >> the floor.
>> >>
>> >> 2) I couldn't find anywhere in the code that remotely appeared to =
be
>> >> messing with or deleting the tun0 interface. But I wonder if the =
error I'm
>> >> seeing is due to the tun0 disappearing?
>> >>
>> >> -Robert
>> >
>> >
>> > _______________________________________________
>> > MirageOS-devel mailing list
>> > MirageOS-devel@lists.xenproject.org =
<mailto:MirageOS-devel@lists.xenproject.org>
>> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel =
<http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>
>> >
>> >
>> >
>> > _______________________________________________
>> > MirageOS-devel mailing list
>> > MirageOS-devel@lists.xenproject.org =
<mailto:MirageOS-devel@lists.xenproject.org>
>> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel =
<http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>
>> >
>>=20
>>=20
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org =
<mailto:MirageOS-devel@lists.xenproject.org>
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>=20
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


--Apple-Mail=_D90986A9-5C5E-4F32-AEC6-EE2587862515
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">One way to keep this working is to do a live deployment that =
uses the Unix/tuntap instead of the Xen backend. &nbsp;In general, I =
think it's time to start load balancing the <a =
href=3D"http://openmirage.org" class=3D"">openmirage.org</a>&nbsp;site =
with all of our supported backends (x86/ARM, Unix/Xen) so that we get =
bug reports as easy as possible. &nbsp;Let's put it on the next call =
agenda, but we need to:<div class=3D""><br class=3D""><div class=3D"">- =
modify the Travis deployment scripts to build all the variants and not =
just Xen/x86_64</div><div class=3D"">- alter mirage-www to include =
information on which backend it is using and display it in the =
HTML</div><div class=3D"">- deploy a couple of DNS unikernels that do RR =
balancing across each of the different backends.</div><div class=3D""><br =
class=3D""></div><div class=3D"">-anil&nbsp;<br class=3D""><div =
class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">On 2 May 2015, at 18:17, Thomas Gazagnaire &lt;<a =
href=3D"mailto:thomas@gazagnaire.org" =
class=3D"">thomas@gazagnaire.org</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><meta =
http-equiv=3D"Content-Type" content=3D"text/html charset=3Dus-ascii" =
class=3D""><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: =
space; -webkit-line-break: after-white-space;" class=3D""><div =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><div =
dir=3D"ltr" class=3D""><div class=3D""><div class=3D"">Should I submit a =
pull request for the modifications I made to =
mirage-net-unix?</div></div></div></div></blockquote><div class=3D""><br =
class=3D""></div>yes pull requests are always very welcome!</div><div =
class=3D""><br class=3D""></div><div class=3D"">Thanks,</div><div =
class=3D"">Thomas</div><div class=3D""><br class=3D""></div><div =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><div =
class=3D"gmail_extra"><br class=3D""><div class=3D"gmail_quote">On Fri, =
May 1, 2015 at 8:40 AM, Robert Ream <span dir=3D"ltr" class=3D"">&lt;<a =
href=3D"mailto:robertream@gmail.com" target=3D"_blank" =
class=3D"">robertream@gmail.com</a>&gt;</span> wrote:<br =
class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr" =
class=3D"">Hmm, ok I'll try a VM with a different OS to see if I can get =
it to work, maybe Ubuntu 15 is a bit too cutting edge... :-/<div =
class=3D""><br class=3D""></div></div><div class=3D"HOEnZb"><div =
class=3D"h5"><div class=3D"gmail_extra"><br class=3D""><div =
class=3D"gmail_quote">On Fri, May 1, 2015 at 6:55 AM, Luke Dunstan <span =
dir=3D"ltr" class=3D"">&lt;<a href=3D"mailto:lukedunstan81@gmail.com" =
target=3D"_blank" class=3D"">lukedunstan81@gmail.com</a>&gt;</span> =
wrote:<br class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Actually, I just =
tried it and I have the same problem with tap0 not<br class=3D"">
being persistent on Ubuntu 14.04, and this is because<br class=3D"">
<a href=3D"https://github.com/mirage/ocaml-tuntap" target=3D"_blank" =
class=3D"">https://github.com/mirage/ocaml-tuntap</a> hasn't been =
released yet since<br class=3D"">
PR #9.<br class=3D"">
<br class=3D"">
However, I don't have any "terminating" problem with tap0, so I think<br =
class=3D"">
that problem is most likely unrelated to the persistence.<br class=3D"">
<span class=3D""><font color=3D"#888888" class=3D""><br class=3D"">
Luke<br class=3D"">
</font></span><div class=3D""><div class=3D""><br class=3D"">
On 1 May 2015 at 16:18, Anil Madhavapeddy &lt;<a =
href=3D"mailto:anil@recoil.org" target=3D"_blank" =
class=3D"">anil@recoil.org</a>&gt; wrote:<br class=3D"">
&gt; This sounds like a problem with persistent vs non-persistent tap =
interfaces.<br class=3D"">
&gt; This functionality is unfortunately very non-portable (MacOS X, =
FreeBSD and<br class=3D"">
&gt; Linux) all have different behaviour.&nbsp; The functionality did =
change between<br class=3D"">
&gt; version 2.2.0 and 2.1.0 to support persistent interfaces:<br =
class=3D"">
&gt; <a href=3D"https://github.com/mirage/mirage-net-unix/releases" =
target=3D"_blank" =
class=3D"">https://github.com/mirage/mirage-net-unix/releases</a><br =
class=3D"">
&gt;<br class=3D"">
&gt; So I wonder if something needs to be done to keep it around on =
your<br class=3D"">
&gt; particular setup.<br class=3D"">
&gt;<br class=3D"">
&gt; (This isn't helped by me now using mirage-net-macosx for most of =
my<br class=3D"">
&gt; day-to-day dev, which uses a completely different codepath as =
tuntap no<br class=3D"">
&gt; longer works usefully on OSX as of Yosemite).<br class=3D"">
&gt;<br class=3D"">
&gt; -anil<br class=3D"">
&gt;<br class=3D"">
&gt; On 30 Apr 2015, at 23:49, Robert Ream &lt;<a =
href=3D"mailto:robertream@gmail.com" target=3D"_blank" =
class=3D"">robertream@gmail.com</a>&gt; wrote:<br class=3D"">
&gt;<br class=3D"">
&gt; An update: I just cloned the mirage-net-unix repo and ran the =
tests. This is<br class=3D"">
&gt; what I got:<br class=3D"">
&gt;<br class=3D"">
&gt; sudo ./test.native<br class=3D"">
&gt; plugging into tap0 with mac c2:9d:56:19:d7:2c..<br class=3D"">
&gt; Netif: connect tap0<br class=3D"">
&gt; connected<br class=3D"">
&gt; Netif: error, terminating listen loop<br class=3D"">
&gt; .<br class=3D"">
&gt; Ran: 1 tests in: 0.00 seconds.<br class=3D"">
&gt; OK<br class=3D"">
&gt;<br class=3D"">
&gt; And the tun0 interface disappeared as well.<br class=3D"">
&gt;<br class=3D"">
&gt;<br class=3D"">
&gt;<br class=3D"">
&gt; On Thu, Apr 30, 2015 at 2:55 PM, Robert Ream &lt;<a =
href=3D"mailto:robertream@gmail.com" target=3D"_blank" =
class=3D"">robertream@gmail.com</a>&gt; wrote:<br class=3D"">
&gt;&gt;<br class=3D"">
&gt;&gt; Ok, I'm still stumped.<br class=3D"">
&gt;&gt;<br class=3D"">
&gt;&gt; Two things happen with pretty much all of the network examples =
when I<br class=3D"">
&gt;&gt; build and execute them for unix: 1) they promptly exit with a =
"Netif: error,<br class=3D"">
&gt;&gt; terminating listen loop" and 2) tun0 disappears and must be =
recreated every<br class=3D"">
&gt;&gt; time.<br class=3D"">
&gt;&gt;<br class=3D"">
&gt;&gt; 1) I tracked down the lines of code in mirage-net-unix that =
cause this<br class=3D"">
&gt;&gt; error message:<br class=3D"">
&gt;&gt;<br class=3D"">
&gt;&gt; let page =3D Io_page.get 1 in read t page &gt;&gt;=3D function =
| `Error _ -&gt; printf<br class=3D"">
&gt;&gt; "Netif: error, terminating listen loop\n%!"; return ()<br =
class=3D"">
&gt;&gt;<br class=3D"">
&gt;&gt; So it is running into an error when reading a page from the =
network.<br class=3D"">
&gt;&gt; It would be nice to pretty print the _ of `Error _ instead of =
drop it on<br class=3D"">
&gt;&gt; the floor.<br class=3D"">
&gt;&gt;<br class=3D"">
&gt;&gt; 2) I couldn't find anywhere in the code that remotely appeared =
to be<br class=3D"">
&gt;&gt; messing with or deleting the tun0 interface. But I wonder if =
the error I'm<br class=3D"">
&gt;&gt; seeing is due to the tun0 disappearing?<br class=3D"">
&gt;&gt;<br class=3D"">
&gt;&gt; -Robert<br class=3D"">
&gt;<br class=3D"">
&gt;<br class=3D"">
&gt; _______________________________________________<br class=3D"">
&gt; MirageOS-devel mailing list<br class=3D"">
&gt; <a href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
target=3D"_blank" class=3D"">MirageOS-devel@lists.xenproject.org</a><br =
class=3D"">
&gt; <a =
href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-deve=
l" target=3D"_blank" =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel</a><br class=3D"">
&gt;<br class=3D"">
&gt;<br class=3D"">
&gt;<br class=3D"">
&gt; _______________________________________________<br class=3D"">
&gt; MirageOS-devel mailing list<br class=3D"">
&gt; <a href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
target=3D"_blank" class=3D"">MirageOS-devel@lists.xenproject.org</a><br =
class=3D"">
&gt; <a =
href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-deve=
l" target=3D"_blank" =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel</a><br class=3D"">
&gt;<br class=3D"">
</div></div></blockquote></div><br class=3D""></div>
</div></div></blockquote></div><br class=3D""></div>
_______________________________________________<br =
class=3D"">MirageOS-devel mailing list<br class=3D""><a =
href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
class=3D"">MirageOS-devel@lists.xenproject.org</a><br class=3D""><a =
href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-deve=
l" =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel</a><br class=3D""></div></blockquote></div><br =
class=3D""></div>_______________________________________________<br =
class=3D"">MirageOS-devel mailing list<br class=3D""><a =
href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
class=3D"">MirageOS-devel@lists.xenproject.org</a><br =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel<br class=3D""></div></blockquote></div><br =
class=3D""></div></div></div></body></html>=

--Apple-Mail=_D90986A9-5C5E-4F32-AEC6-EE2587862515--


--===============8429394968269019846==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============8429394968269019846==--


From mirageos-devel-bounces@lists.xenproject.org Sun May 03 22:32:12 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 03 May 2015 22:32:12 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yp2QT-0002eP-G2; Sun, 03 May 2015 22:31:53 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1Yp2QS-0002eK-03
	for mirageos-devel@lists.xenproject.org; Sun, 03 May 2015 22:31:52 +0000
Received: from [193.109.254.147] by server-14.bemta-14.messagelabs.com id
	BE/D7-31676-7D1A6455; Sun, 03 May 2015 22:31:51 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-4.tower-27.messagelabs.com!1430692308!14159934!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=1.4 required=7.0 tests=DATE_IN_PAST_03_06,
	HTML_50_60,HTML_MESSAGE,MAILTO_TO_SPAM_ADDR,RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 13733 invoked from network); 3 May 2015 22:31:48 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-4.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 3 May 2015 22:31:48 -0000
Received: from [172.31.132.119] (216.9.110.2 [216.9.110.2]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id fb64e2ef;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Sun, 3 May 2015 23:31:47 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <0B0773EC-8B5E-457B-B526-6F93602F3549@gazagnaire.org>
Date: Sun, 3 May 2015 19:02:51 +0100
Message-Id: <ED2291B2-747F-46A2-818F-206EE937B519@recoil.org>
References: <CAERB2H5+pvfKb4_f4mgur7Gspw0fRmL+va6mZwgSb6a2AjDO-g@mail.gmail.com>
	<CAERB2H4_5rqFbp-Lg35FBcRGYvApd1P8wtmkcf1qkE3vMVkkPA@mail.gmail.com>
	<A4FF43ED-881F-49DA-86C9-E85D1F89BC7D@recoil.org>
	<CAEui0wXvqD=NBw9+vnYa8gZe4CpiUAyLA-eiJrqb9CykrXivWA@mail.gmail.com>
	<CAERB2H4=y6PqrLTVD95T-H=xWkJUtSf+2Jdq0Qsnuv3_nRxiUA@mail.gmail.com>
	<CAERB2H6fEzCykg8EBYUaPu0WAAT7xUxn7Ub4g9nSvSHGrRaTEg@mail.gmail.com>
	<0B0773EC-8B5E-457B-B526-6F93602F3549@gazagnaire.org>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] mirage-net-unix problems
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8429394968269019846=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============8429394968269019846==
Content-Type: multipart/alternative; boundary="Apple-Mail=_D90986A9-5C5E-4F32-AEC6-EE2587862515"


--Apple-Mail=_D90986A9-5C5E-4F32-AEC6-EE2587862515
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

One way to keep this working is to do a live deployment that uses the =
Unix/tuntap instead of the Xen backend.  In general, I think it's time =
to start load balancing the openmirage.org <http://openmirage.org/> site =
with all of our supported backends (x86/ARM, Unix/Xen) so that we get =
bug reports as easy as possible.  Let's put it on the next call agenda, =
but we need to:

- modify the Travis deployment scripts to build all the variants and not =
just Xen/x86_64
- alter mirage-www to include information on which backend it is using =
and display it in the HTML
- deploy a couple of DNS unikernels that do RR balancing across each of =
the different backends.

-anil=20

> On 2 May 2015, at 18:17, Thomas Gazagnaire <thomas@gazagnaire.org> =
wrote:
>=20
>> Should I submit a pull request for the modifications I made to =
mirage-net-unix?
>=20
> yes pull requests are always very welcome!
>=20
> Thanks,
> Thomas
>=20
>>=20
>> On Fri, May 1, 2015 at 8:40 AM, Robert Ream <robertream@gmail.com =
<mailto:robertream@gmail.com>> wrote:
>> Hmm, ok I'll try a VM with a different OS to see if I can get it to =
work, maybe Ubuntu 15 is a bit too cutting edge... :-/
>>=20
>>=20
>> On Fri, May 1, 2015 at 6:55 AM, Luke Dunstan <lukedunstan81@gmail.com =
<mailto:lukedunstan81@gmail.com>> wrote:
>> Actually, I just tried it and I have the same problem with tap0 not
>> being persistent on Ubuntu 14.04, and this is because
>> https://github.com/mirage/ocaml-tuntap =
<https://github.com/mirage/ocaml-tuntap> hasn't been released yet since
>> PR #9.
>>=20
>> However, I don't have any "terminating" problem with tap0, so I think
>> that problem is most likely unrelated to the persistence.
>>=20
>> Luke
>>=20
>> On 1 May 2015 at 16:18, Anil Madhavapeddy <anil@recoil.org =
<mailto:anil@recoil.org>> wrote:
>> > This sounds like a problem with persistent vs non-persistent tap =
interfaces.
>> > This functionality is unfortunately very non-portable (MacOS X, =
FreeBSD and
>> > Linux) all have different behaviour.  The functionality did change =
between
>> > version 2.2.0 and 2.1.0 to support persistent interfaces:
>> > https://github.com/mirage/mirage-net-unix/releases =
<https://github.com/mirage/mirage-net-unix/releases>
>> >
>> > So I wonder if something needs to be done to keep it around on your
>> > particular setup.
>> >
>> > (This isn't helped by me now using mirage-net-macosx for most of my
>> > day-to-day dev, which uses a completely different codepath as =
tuntap no
>> > longer works usefully on OSX as of Yosemite).
>> >
>> > -anil
>> >
>> > On 30 Apr 2015, at 23:49, Robert Ream <robertream@gmail.com =
<mailto:robertream@gmail.com>> wrote:
>> >
>> > An update: I just cloned the mirage-net-unix repo and ran the =
tests. This is
>> > what I got:
>> >
>> > sudo ./test.native
>> > plugging into tap0 with mac c2:9d:56:19:d7:2c..
>> > Netif: connect tap0
>> > connected
>> > Netif: error, terminating listen loop
>> > .
>> > Ran: 1 tests in: 0.00 seconds.
>> > OK
>> >
>> > And the tun0 interface disappeared as well.
>> >
>> >
>> >
>> > On Thu, Apr 30, 2015 at 2:55 PM, Robert Ream <robertream@gmail.com =
<mailto:robertream@gmail.com>> wrote:
>> >>
>> >> Ok, I'm still stumped.
>> >>
>> >> Two things happen with pretty much all of the network examples =
when I
>> >> build and execute them for unix: 1) they promptly exit with a =
"Netif: error,
>> >> terminating listen loop" and 2) tun0 disappears and must be =
recreated every
>> >> time.
>> >>
>> >> 1) I tracked down the lines of code in mirage-net-unix that cause =
this
>> >> error message:
>> >>
>> >> let page =3D Io_page.get 1 in read t page >>=3D function | `Error =
_ -> printf
>> >> "Netif: error, terminating listen loop\n%!"; return ()
>> >>
>> >> So it is running into an error when reading a page from the =
network.
>> >> It would be nice to pretty print the _ of `Error _ instead of drop =
it on
>> >> the floor.
>> >>
>> >> 2) I couldn't find anywhere in the code that remotely appeared to =
be
>> >> messing with or deleting the tun0 interface. But I wonder if the =
error I'm
>> >> seeing is due to the tun0 disappearing?
>> >>
>> >> -Robert
>> >
>> >
>> > _______________________________________________
>> > MirageOS-devel mailing list
>> > MirageOS-devel@lists.xenproject.org =
<mailto:MirageOS-devel@lists.xenproject.org>
>> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel =
<http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>
>> >
>> >
>> >
>> > _______________________________________________
>> > MirageOS-devel mailing list
>> > MirageOS-devel@lists.xenproject.org =
<mailto:MirageOS-devel@lists.xenproject.org>
>> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel =
<http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>
>> >
>>=20
>>=20
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org =
<mailto:MirageOS-devel@lists.xenproject.org>
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>=20
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


--Apple-Mail=_D90986A9-5C5E-4F32-AEC6-EE2587862515
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">One way to keep this working is to do a live deployment that =
uses the Unix/tuntap instead of the Xen backend. &nbsp;In general, I =
think it's time to start load balancing the <a =
href=3D"http://openmirage.org" class=3D"">openmirage.org</a>&nbsp;site =
with all of our supported backends (x86/ARM, Unix/Xen) so that we get =
bug reports as easy as possible. &nbsp;Let's put it on the next call =
agenda, but we need to:<div class=3D""><br class=3D""><div class=3D"">- =
modify the Travis deployment scripts to build all the variants and not =
just Xen/x86_64</div><div class=3D"">- alter mirage-www to include =
information on which backend it is using and display it in the =
HTML</div><div class=3D"">- deploy a couple of DNS unikernels that do RR =
balancing across each of the different backends.</div><div class=3D""><br =
class=3D""></div><div class=3D"">-anil&nbsp;<br class=3D""><div =
class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">On 2 May 2015, at 18:17, Thomas Gazagnaire &lt;<a =
href=3D"mailto:thomas@gazagnaire.org" =
class=3D"">thomas@gazagnaire.org</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><meta =
http-equiv=3D"Content-Type" content=3D"text/html charset=3Dus-ascii" =
class=3D""><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: =
space; -webkit-line-break: after-white-space;" class=3D""><div =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><div =
dir=3D"ltr" class=3D""><div class=3D""><div class=3D"">Should I submit a =
pull request for the modifications I made to =
mirage-net-unix?</div></div></div></div></blockquote><div class=3D""><br =
class=3D""></div>yes pull requests are always very welcome!</div><div =
class=3D""><br class=3D""></div><div class=3D"">Thanks,</div><div =
class=3D"">Thomas</div><div class=3D""><br class=3D""></div><div =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><div =
class=3D"gmail_extra"><br class=3D""><div class=3D"gmail_quote">On Fri, =
May 1, 2015 at 8:40 AM, Robert Ream <span dir=3D"ltr" class=3D"">&lt;<a =
href=3D"mailto:robertream@gmail.com" target=3D"_blank" =
class=3D"">robertream@gmail.com</a>&gt;</span> wrote:<br =
class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr" =
class=3D"">Hmm, ok I'll try a VM with a different OS to see if I can get =
it to work, maybe Ubuntu 15 is a bit too cutting edge... :-/<div =
class=3D""><br class=3D""></div></div><div class=3D"HOEnZb"><div =
class=3D"h5"><div class=3D"gmail_extra"><br class=3D""><div =
class=3D"gmail_quote">On Fri, May 1, 2015 at 6:55 AM, Luke Dunstan <span =
dir=3D"ltr" class=3D"">&lt;<a href=3D"mailto:lukedunstan81@gmail.com" =
target=3D"_blank" class=3D"">lukedunstan81@gmail.com</a>&gt;</span> =
wrote:<br class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Actually, I just =
tried it and I have the same problem with tap0 not<br class=3D"">
being persistent on Ubuntu 14.04, and this is because<br class=3D"">
<a href=3D"https://github.com/mirage/ocaml-tuntap" target=3D"_blank" =
class=3D"">https://github.com/mirage/ocaml-tuntap</a> hasn't been =
released yet since<br class=3D"">
PR #9.<br class=3D"">
<br class=3D"">
However, I don't have any "terminating" problem with tap0, so I think<br =
class=3D"">
that problem is most likely unrelated to the persistence.<br class=3D"">
<span class=3D""><font color=3D"#888888" class=3D""><br class=3D"">
Luke<br class=3D"">
</font></span><div class=3D""><div class=3D""><br class=3D"">
On 1 May 2015 at 16:18, Anil Madhavapeddy &lt;<a =
href=3D"mailto:anil@recoil.org" target=3D"_blank" =
class=3D"">anil@recoil.org</a>&gt; wrote:<br class=3D"">
&gt; This sounds like a problem with persistent vs non-persistent tap =
interfaces.<br class=3D"">
&gt; This functionality is unfortunately very non-portable (MacOS X, =
FreeBSD and<br class=3D"">
&gt; Linux) all have different behaviour.&nbsp; The functionality did =
change between<br class=3D"">
&gt; version 2.2.0 and 2.1.0 to support persistent interfaces:<br =
class=3D"">
&gt; <a href=3D"https://github.com/mirage/mirage-net-unix/releases" =
target=3D"_blank" =
class=3D"">https://github.com/mirage/mirage-net-unix/releases</a><br =
class=3D"">
&gt;<br class=3D"">
&gt; So I wonder if something needs to be done to keep it around on =
your<br class=3D"">
&gt; particular setup.<br class=3D"">
&gt;<br class=3D"">
&gt; (This isn't helped by me now using mirage-net-macosx for most of =
my<br class=3D"">
&gt; day-to-day dev, which uses a completely different codepath as =
tuntap no<br class=3D"">
&gt; longer works usefully on OSX as of Yosemite).<br class=3D"">
&gt;<br class=3D"">
&gt; -anil<br class=3D"">
&gt;<br class=3D"">
&gt; On 30 Apr 2015, at 23:49, Robert Ream &lt;<a =
href=3D"mailto:robertream@gmail.com" target=3D"_blank" =
class=3D"">robertream@gmail.com</a>&gt; wrote:<br class=3D"">
&gt;<br class=3D"">
&gt; An update: I just cloned the mirage-net-unix repo and ran the =
tests. This is<br class=3D"">
&gt; what I got:<br class=3D"">
&gt;<br class=3D"">
&gt; sudo ./test.native<br class=3D"">
&gt; plugging into tap0 with mac c2:9d:56:19:d7:2c..<br class=3D"">
&gt; Netif: connect tap0<br class=3D"">
&gt; connected<br class=3D"">
&gt; Netif: error, terminating listen loop<br class=3D"">
&gt; .<br class=3D"">
&gt; Ran: 1 tests in: 0.00 seconds.<br class=3D"">
&gt; OK<br class=3D"">
&gt;<br class=3D"">
&gt; And the tun0 interface disappeared as well.<br class=3D"">
&gt;<br class=3D"">
&gt;<br class=3D"">
&gt;<br class=3D"">
&gt; On Thu, Apr 30, 2015 at 2:55 PM, Robert Ream &lt;<a =
href=3D"mailto:robertream@gmail.com" target=3D"_blank" =
class=3D"">robertream@gmail.com</a>&gt; wrote:<br class=3D"">
&gt;&gt;<br class=3D"">
&gt;&gt; Ok, I'm still stumped.<br class=3D"">
&gt;&gt;<br class=3D"">
&gt;&gt; Two things happen with pretty much all of the network examples =
when I<br class=3D"">
&gt;&gt; build and execute them for unix: 1) they promptly exit with a =
"Netif: error,<br class=3D"">
&gt;&gt; terminating listen loop" and 2) tun0 disappears and must be =
recreated every<br class=3D"">
&gt;&gt; time.<br class=3D"">
&gt;&gt;<br class=3D"">
&gt;&gt; 1) I tracked down the lines of code in mirage-net-unix that =
cause this<br class=3D"">
&gt;&gt; error message:<br class=3D"">
&gt;&gt;<br class=3D"">
&gt;&gt; let page =3D Io_page.get 1 in read t page &gt;&gt;=3D function =
| `Error _ -&gt; printf<br class=3D"">
&gt;&gt; "Netif: error, terminating listen loop\n%!"; return ()<br =
class=3D"">
&gt;&gt;<br class=3D"">
&gt;&gt; So it is running into an error when reading a page from the =
network.<br class=3D"">
&gt;&gt; It would be nice to pretty print the _ of `Error _ instead of =
drop it on<br class=3D"">
&gt;&gt; the floor.<br class=3D"">
&gt;&gt;<br class=3D"">
&gt;&gt; 2) I couldn't find anywhere in the code that remotely appeared =
to be<br class=3D"">
&gt;&gt; messing with or deleting the tun0 interface. But I wonder if =
the error I'm<br class=3D"">
&gt;&gt; seeing is due to the tun0 disappearing?<br class=3D"">
&gt;&gt;<br class=3D"">
&gt;&gt; -Robert<br class=3D"">
&gt;<br class=3D"">
&gt;<br class=3D"">
&gt; _______________________________________________<br class=3D"">
&gt; MirageOS-devel mailing list<br class=3D"">
&gt; <a href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
target=3D"_blank" class=3D"">MirageOS-devel@lists.xenproject.org</a><br =
class=3D"">
&gt; <a =
href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-deve=
l" target=3D"_blank" =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel</a><br class=3D"">
&gt;<br class=3D"">
&gt;<br class=3D"">
&gt;<br class=3D"">
&gt; _______________________________________________<br class=3D"">
&gt; MirageOS-devel mailing list<br class=3D"">
&gt; <a href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
target=3D"_blank" class=3D"">MirageOS-devel@lists.xenproject.org</a><br =
class=3D"">
&gt; <a =
href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-deve=
l" target=3D"_blank" =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel</a><br class=3D"">
&gt;<br class=3D"">
</div></div></blockquote></div><br class=3D""></div>
</div></div></blockquote></div><br class=3D""></div>
_______________________________________________<br =
class=3D"">MirageOS-devel mailing list<br class=3D""><a =
href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
class=3D"">MirageOS-devel@lists.xenproject.org</a><br class=3D""><a =
href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-deve=
l" =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel</a><br class=3D""></div></blockquote></div><br =
class=3D""></div>_______________________________________________<br =
class=3D"">MirageOS-devel mailing list<br class=3D""><a =
href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
class=3D"">MirageOS-devel@lists.xenproject.org</a><br =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel<br class=3D""></div></blockquote></div><br =
class=3D""></div></div></div></body></html>=

--Apple-Mail=_D90986A9-5C5E-4F32-AEC6-EE2587862515--


--===============8429394968269019846==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============8429394968269019846==--


From mirageos-devel-bounces@lists.xenproject.org Sun May 03 22:34:41 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 03 May 2015 22:34:41 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yp2T4-0002gX-Th; Sun, 03 May 2015 22:34:34 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1Yp2T3-0002gS-G4
	for mirageos-devel@lists.xenproject.org; Sun, 03 May 2015 22:34:33 +0000
Received: from [193.109.254.147] by server-8.bemta-14.messagelabs.com id
	7F/76-27592-872A6455; Sun, 03 May 2015 22:34:32 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-13.tower-27.messagelabs.com!1430692471!14326812!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=1.4 required=7.0 tests=BODY_RANDOM_LONG,
	DATE_IN_PAST_03_06,RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 31728 invoked from network); 3 May 2015 22:34:31 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-13.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 3 May 2015 22:34:31 -0000
Received: from [172.31.132.119] (216.9.110.3 [216.9.110.3]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 4b4747ff;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Sun, 3 May 2015 23:34:31 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAG4opy-c2Cn0KVVRG6cAP68BJ7YnwLrDPPN3T+BxVT4ypOVi5A@mail.gmail.com>
Date: Sun, 3 May 2015 19:10:46 +0100
Message-Id: <D8B5C716-71D7-4438-B80A-CF5C15AC37C7@recoil.org>
References: <5439782.dmm5bFtT6k@joga> <1677451.N4Lra0Y7og@joga>
	<CAG4opy84PqZ3hLNHXdiF2BOFoQrFK7=XPy4M_3NDrD31WOi6bA@mail.gmail.com>
	<2016855.E1nK6L3Wx7@joga>
	<CAG4opy-c2Cn0KVVRG6cAP68BJ7YnwLrDPPN3T+BxVT4ypOVi5A@mail.gmail.com>
To: Thomas Leonard <talex5@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: Jos van den Oever <jos@vandenoever.info>,
	"mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] cuekeeper
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 1 May 2015, at 09:42, Thomas Leonard <talex5@gmail.com> wrote:
> 
> 
> It's a shame every distribution package manager needs to duplicate the
> language-specific packaging. opam already puts each program in its own
> folder (mostly), allows switching and doesn't grant root privileges to
> installed software. Would be good to be able to convert opam packages
> to nix automatically (and also to 0install, which has the same
> properties again).

There is a movement towards making this auto-translation possible.
The depext metadata in OPAM is getting richer, and Edwin Torok posted
an interesting plan on opam-devel@lists.ocaml.org a month or so ago.

If anyone's interested in an OPAM<->Nix translation, it's a good time
to sketch out a design and make sure there are no gotchas.

-anil

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sun May 03 22:34:41 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 03 May 2015 22:34:41 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yp2T4-0002gX-Th; Sun, 03 May 2015 22:34:34 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1Yp2T3-0002gS-G4
	for mirageos-devel@lists.xenproject.org; Sun, 03 May 2015 22:34:33 +0000
Received: from [193.109.254.147] by server-8.bemta-14.messagelabs.com id
	7F/76-27592-872A6455; Sun, 03 May 2015 22:34:32 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-13.tower-27.messagelabs.com!1430692471!14326812!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=1.4 required=7.0 tests=BODY_RANDOM_LONG,
	DATE_IN_PAST_03_06,RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 31728 invoked from network); 3 May 2015 22:34:31 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-13.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 3 May 2015 22:34:31 -0000
Received: from [172.31.132.119] (216.9.110.3 [216.9.110.3]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 4b4747ff;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Sun, 3 May 2015 23:34:31 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAG4opy-c2Cn0KVVRG6cAP68BJ7YnwLrDPPN3T+BxVT4ypOVi5A@mail.gmail.com>
Date: Sun, 3 May 2015 19:10:46 +0100
Message-Id: <D8B5C716-71D7-4438-B80A-CF5C15AC37C7@recoil.org>
References: <5439782.dmm5bFtT6k@joga> <1677451.N4Lra0Y7og@joga>
	<CAG4opy84PqZ3hLNHXdiF2BOFoQrFK7=XPy4M_3NDrD31WOi6bA@mail.gmail.com>
	<2016855.E1nK6L3Wx7@joga>
	<CAG4opy-c2Cn0KVVRG6cAP68BJ7YnwLrDPPN3T+BxVT4ypOVi5A@mail.gmail.com>
To: Thomas Leonard <talex5@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: Jos van den Oever <jos@vandenoever.info>,
	"mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] cuekeeper
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 1 May 2015, at 09:42, Thomas Leonard <talex5@gmail.com> wrote:
> 
> 
> It's a shame every distribution package manager needs to duplicate the
> language-specific packaging. opam already puts each program in its own
> folder (mostly), allows switching and doesn't grant root privileges to
> installed software. Would be good to be able to convert opam packages
> to nix automatically (and also to 0install, which has the same
> properties again).

There is a movement towards making this auto-translation possible.
The depext metadata in OPAM is getting richer, and Edwin Torok posted
an interesting plan on opam-devel@lists.ocaml.org a month or so ago.

If anyone's interested in an OPAM<->Nix translation, it's a good time
to sketch out a design and make sure there are no gotchas.

-anil

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sun May 03 22:35:23 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 03 May 2015 22:35:23 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yp2Tl-0002iT-2c; Sun, 03 May 2015 22:35:17 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1Yp2Tj-0002iO-Sk
	for mirageos-devel@lists.xenproject.org; Sun, 03 May 2015 22:35:16 +0000
Received: from [193.109.254.147] by server-13.bemta-14.messagelabs.com id
	B9/FD-26939-2A2A6455; Sun, 03 May 2015 22:35:14 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-15.tower-27.messagelabs.com!1430692511!14323939!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=1.9 required=7.0 tests=DATE_IN_PAST_03_06,
	HTML_40_50,HTML_MESSAGE,MAILTO_TO_SPAM_ADDR,RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 11771 invoked from network); 3 May 2015 22:35:11 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-15.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 3 May 2015 22:35:11 -0000
Received: from [172.31.132.119] (216.9.110.3 [216.9.110.3]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 1df9e05d;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Sun, 3 May 2015 23:35:11 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAEui0wXqM3JoOz0Tr2G-DK5-w7X3AKeGT1oMDg=SoFwWf_Z0EA@mail.gmail.com>
Date: Sun, 3 May 2015 20:24:23 +0100
Message-Id: <364268A6-CD7E-46EE-A4C1-0F227163D1D3@recoil.org>
References: <CAG_esB35ta00pLfgh79FA8CHVBZoVLRuS7KXoc9avXyAA7kZSw@mail.gmail.com>
	<CAEui0wXqM3JoOz0Tr2G-DK5-w7X3AKeGT1oMDg=SoFwWf_Z0EA@mail.gmail.com>
To: Luke Dunstan <lukedunstan81@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] code coverage testing with Bisect
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8080795762643138408=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============8080795762643138408==
Content-Type: multipart/alternative; boundary="Apple-Mail=_50E37F68-2808-428F-8B22-CF952101F166"


--Apple-Mail=_50E37F68-2808-428F-8B22-CF952101F166
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

I'm just wondering where the best place to document this sort of stuff =
is.  We have all sorts of black magic for OASIS, OPAM, C stub =
compilation and now code coverage.

The medium term plan is for the Assemblage tool to take on all of this, =
but would stashing this stuff on the Mirage wiki help instead?  I'm =
happy to kick off the structure and cut-and-paste the information in.  =
I'm not proposing the OPAM wiki since some of this is Mirage-specific, =
such as how to get C stubs cross-compiling between Xen and Unix.

-anil

> On 12 Mar 2015, at 12:51, Luke Dunstan <lukedunstan81@gmail.com> =
wrote:
>=20
> I had the same idea with sed on _oasis, and coveralls: =
https://github.com/mirage/ocaml-dns/issues/33 =
<https://github.com/mirage/ocaml-dns/issues/33>
>=20
> Then I read this article that Anil tweeted: =
http://www.hammerlab.org/2015/03/04/creating-ocaml-code-coverage-reports-f=
or-ketrew/ =
<http://www.hammerlab.org/2015/03/04/creating-ocaml-code-coverage-reports-=
for-ketrew/>
>=20
> Based on a modified version of that "myocamlbuild.ml =
<http://myocamlbuild.ml/>", I got it working without sed: =
https://github.com/infidel/ocaml-mdns/blob/master/myocamlbuild.ml =
<https://github.com/infidel/ocaml-mdns/blob/master/myocamlbuild.ml>
>=20
>=20
> Luke
>=20
>=20
>=20
> On 12 March 2015 at 17:34, David Scott <scott.dj@gmail.com =
<mailto:scott.dj@gmail.com>> wrote:
> Hi,
>=20
> I've been having a lot of fun with bisect[1] recently-- I've been =
using it to see which parts of the mirage-block-volume[2] and =
shared-block-ring[3] libraries are completely untouched by their unit =
tests. I found the following game to be quite addictive:
>=20
> 1. "make coverage", and load result in web-browser
> 2. spot a big chunk of obvious red (danger, danger, danger)
> 3. (thinking carefully about what could go wrong) devise an =
interesting test to stress the red bits (obviously you could cover it =
with a 'noddy' test but there is probably no point)
> 4. "make coverage", reload in browser and see the red go green!
>=20
> I've hooked it up with coveralls.io <http://coveralls.io/> (admittedly =
in a bit of a hacky way[4]) such that the master branch is firmly in =
"development" mode, linking against bisect, and without checking in the =
oasis autogen rubbish. The .travis.yml runs both the travisci-skeleton =
script and then invokes ocveralls[5] to upload the results.
>=20
> I've added a separate "make release" step which removes bisect and =
checks in the autogen (presumably into a release branch). Perhaps =
eventually this could make a github pull request (with the "hub" tool?) =
and make an opam package?
>=20
> I think the game is made even more addictive when the coveralls badge =
changes colour, see:
>=20
> https://coveralls.io/r/mirage/mirage-block-volume?branch=3Dmaster =
<https://coveralls.io/r/mirage/mirage-block-volume?branch=3Dmaster>
>=20
> Here's an example bisect report (the code is a work-in-progress):
>=20
> http://dave.recoil.org/tmp/report/file0000.html =
<http://dave.recoil.org/tmp/report/file0000.html>
>=20
> If you haven't given bisect a go -- I recommend playing with it.
>=20
> Also, if you can think of a nicer way to integrate this -- I admit =
using 'sed' on the _oasis file is a bit of a hack -- please let me know!
>=20
> Cheers,
> Dave
>=20
> [1] http://bisect.x9c.fr <http://bisect.x9c.fr/>
> [2] https://github.com/mirage/mirage-block-volume =
<https://github.com/mirage/mirage-block-volume>
> [3] https://github.com/mirage/shared-block-ring =
<https://github.com/mirage/shared-block-ring>
> [4] =
https://github.com/mirage/shared-block-ring/commit/67b9f3100be8e4e9732dd79=
b7c1cc5352a61d478 =
<https://github.com/mirage/shared-block-ring/commit/67b9f3100be8e4e9732dd7=
9b7c1cc5352a61d478>
> [5] https://github.com/sagotch/ocveralls =
<https://github.com/sagotch/ocveralls>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org =
<mailto:MirageOS-devel@lists.xenproject.org>
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel =
<http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>
>=20
>=20
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


--Apple-Mail=_50E37F68-2808-428F-8B22-CF952101F166
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">I'm just wondering where the best place to document this sort =
of stuff is. &nbsp;We have all sorts of black magic for OASIS, OPAM, C =
stub compilation and now code coverage.<div class=3D""><br =
class=3D""></div><div class=3D"">The medium term plan is for the =
Assemblage tool to take on all of this, but would stashing this stuff on =
the Mirage wiki help instead? &nbsp;I'm happy to kick off the structure =
and cut-and-paste the information in. &nbsp;I'm not proposing the OPAM =
wiki since some of this is Mirage-specific, such as how to get C stubs =
cross-compiling between Xen and Unix.</div><div class=3D""><br =
class=3D""></div><div class=3D"">-anil</div><div class=3D""><br =
class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D"">On =
12 Mar 2015, at 12:51, Luke Dunstan &lt;<a =
href=3D"mailto:lukedunstan81@gmail.com" =
class=3D"">lukedunstan81@gmail.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" =
class=3D"">I had the same idea with sed on _oasis, and =
coveralls:&nbsp;<a href=3D"https://github.com/mirage/ocaml-dns/issues/33" =
class=3D"">https://github.com/mirage/ocaml-dns/issues/33</a><div =
class=3D""><br class=3D""></div><div class=3D"">Then I read this article =
that Anil tweeted:&nbsp;<a =
href=3D"http://www.hammerlab.org/2015/03/04/creating-ocaml-code-coverage-r=
eports-for-ketrew/" =
class=3D"">http://www.hammerlab.org/2015/03/04/creating-ocaml-code-coverag=
e-reports-for-ketrew/</a></div><div class=3D""><br class=3D""></div><div =
class=3D"">Based on a modified version of that "<a =
href=3D"http://myocamlbuild.ml/" class=3D"">myocamlbuild.ml</a>", I got =
it working without sed:&nbsp;<a =
href=3D"https://github.com/infidel/ocaml-mdns/blob/master/myocamlbuild.ml"=
 =
class=3D"">https://github.com/infidel/ocaml-mdns/blob/master/myocamlbuild.=
ml</a></div><div class=3D""><br class=3D""></div><div class=3D""><br =
class=3D""></div><div class=3D"">Luke</div><div class=3D""><br =
class=3D""></div><div class=3D""><br class=3D""></div></div><div =
class=3D"gmail_extra"><br class=3D""><div class=3D"gmail_quote">On 12 =
March 2015 at 17:34, David Scott <span dir=3D"ltr" class=3D"">&lt;<a =
href=3D"mailto:scott.dj@gmail.com" target=3D"_blank" =
class=3D"">scott.dj@gmail.com</a>&gt;</span> wrote:<br =
class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr" =
class=3D""><div class=3D"">Hi,</div><div class=3D""><br =
class=3D""></div><div class=3D"">I've been having a lot of fun with =
bisect[1] recently-- I've been using it to see which parts of the =
mirage-block-volume[2] and shared-block-ring[3] libraries are completely =
untouched by their unit tests. I found the following game to be quite =
addictive:</div><div class=3D""><br class=3D""></div><div class=3D"">1. =
"make coverage", and load result in web-browser</div><div class=3D"">2. =
spot a big chunk of obvious red (danger, danger, danger)</div><div =
class=3D"">3. (thinking carefully about what could go wrong) devise an =
interesting test to stress the red bits (obviously you could cover it =
with a 'noddy' test but there is probably no point)</div><div =
class=3D"">4. "make coverage", reload in browser and see the red go =
green!</div><div class=3D""><br class=3D""></div><div class=3D"">I've =
hooked it up with <a href=3D"http://coveralls.io/" target=3D"_blank" =
class=3D"">coveralls.io</a> (admittedly in a bit of a hacky way[4]) such =
that the master branch is firmly in "development" mode, linking against =
bisect, and without checking in the oasis autogen rubbish. The =
.travis.yml runs both the travisci-skeleton script and then invokes =
ocveralls[5] to upload the results.</div><div class=3D""><br =
class=3D""></div><div class=3D"">I've added a separate "make release" =
step which removes bisect and checks in the autogen (presumably into a =
release branch). Perhaps eventually this could make a github pull =
request (with the "hub" tool?) and make an opam package?</div><div =
class=3D""><br class=3D""></div><div class=3D"">I think the game is made =
even more addictive when the coveralls badge changes colour, =
see:</div><div class=3D""><br class=3D""></div><div class=3D""><a =
href=3D"https://coveralls.io/r/mirage/mirage-block-volume?branch=3Dmaster"=
 target=3D"_blank" =
class=3D"">https://coveralls.io/r/mirage/mirage-block-volume?branch=3Dmast=
er</a><br class=3D""></div><div class=3D""><br class=3D""></div><div =
class=3D"">Here's an example bisect report (the code is a =
work-in-progress):</div><div class=3D""><br class=3D""></div><div =
class=3D""><a href=3D"http://dave.recoil.org/tmp/report/file0000.html" =
target=3D"_blank" =
class=3D"">http://dave.recoil.org/tmp/report/file0000.html</a><br =
class=3D""></div><div class=3D""><br class=3D""></div><div class=3D"">If =
you haven't given bisect a go -- I recommend playing with it.</div><div =
class=3D""><br class=3D""></div><div class=3D"">Also, if you can think =
of a nicer way to integrate this -- I admit using 'sed' on the _oasis =
file is a bit of a hack -- please let me know!</div><div class=3D""><br =
class=3D""></div><div class=3D"">Cheers,</div><div =
class=3D"">Dave</div><div class=3D""><br class=3D""></div><div =
class=3D"">[1]&nbsp;<a href=3D"http://bisect.x9c.fr/" target=3D"_blank" =
class=3D"">http://bisect.x9c.fr</a></div><div class=3D"">[2]&nbsp;<a =
href=3D"https://github.com/mirage/mirage-block-volume" target=3D"_blank" =
class=3D"">https://github.com/mirage/mirage-block-volume</a></div><div =
class=3D"">[3]&nbsp;<a =
href=3D"https://github.com/mirage/shared-block-ring" target=3D"_blank" =
class=3D"">https://github.com/mirage/shared-block-ring</a></div><div =
class=3D"">[4]&nbsp;<a =
href=3D"https://github.com/mirage/shared-block-ring/commit/67b9f3100be8e4e=
9732dd79b7c1cc5352a61d478" target=3D"_blank" =
class=3D"">https://github.com/mirage/shared-block-ring/commit/67b9f3100be8=
e4e9732dd79b7c1cc5352a61d478</a></div><div class=3D"">[5]&nbsp;<a =
href=3D"https://github.com/sagotch/ocveralls" target=3D"_blank" =
class=3D"">https://github.com/sagotch/ocveralls</a></div>
</div>
<br class=3D"">_______________________________________________<br =
class=3D"">
MirageOS-devel mailing list<br class=3D"">
<a href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
class=3D"">MirageOS-devel@lists.xenproject.org</a><br class=3D"">
<a =
href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-deve=
l" target=3D"_blank" =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel</a><br class=3D"">
<br class=3D""></blockquote></div><br class=3D""></div>
_______________________________________________<br =
class=3D"">MirageOS-devel mailing list<br class=3D""><a =
href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
class=3D"">MirageOS-devel@lists.xenproject.org</a><br =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel<br class=3D""></div></blockquote></div><br =
class=3D""></div></body></html>=

--Apple-Mail=_50E37F68-2808-428F-8B22-CF952101F166--


--===============8080795762643138408==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============8080795762643138408==--


From mirageos-devel-bounces@lists.xenproject.org Sun May 03 22:35:23 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 03 May 2015 22:35:23 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yp2Tl-0002iT-2c; Sun, 03 May 2015 22:35:17 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1Yp2Tj-0002iO-Sk
	for mirageos-devel@lists.xenproject.org; Sun, 03 May 2015 22:35:16 +0000
Received: from [193.109.254.147] by server-13.bemta-14.messagelabs.com id
	B9/FD-26939-2A2A6455; Sun, 03 May 2015 22:35:14 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-15.tower-27.messagelabs.com!1430692511!14323939!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=1.9 required=7.0 tests=DATE_IN_PAST_03_06,
	HTML_40_50,HTML_MESSAGE,MAILTO_TO_SPAM_ADDR,RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 11771 invoked from network); 3 May 2015 22:35:11 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-15.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 3 May 2015 22:35:11 -0000
Received: from [172.31.132.119] (216.9.110.3 [216.9.110.3]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 1df9e05d;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Sun, 3 May 2015 23:35:11 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAEui0wXqM3JoOz0Tr2G-DK5-w7X3AKeGT1oMDg=SoFwWf_Z0EA@mail.gmail.com>
Date: Sun, 3 May 2015 20:24:23 +0100
Message-Id: <364268A6-CD7E-46EE-A4C1-0F227163D1D3@recoil.org>
References: <CAG_esB35ta00pLfgh79FA8CHVBZoVLRuS7KXoc9avXyAA7kZSw@mail.gmail.com>
	<CAEui0wXqM3JoOz0Tr2G-DK5-w7X3AKeGT1oMDg=SoFwWf_Z0EA@mail.gmail.com>
To: Luke Dunstan <lukedunstan81@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] code coverage testing with Bisect
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8080795762643138408=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============8080795762643138408==
Content-Type: multipart/alternative; boundary="Apple-Mail=_50E37F68-2808-428F-8B22-CF952101F166"


--Apple-Mail=_50E37F68-2808-428F-8B22-CF952101F166
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

I'm just wondering where the best place to document this sort of stuff =
is.  We have all sorts of black magic for OASIS, OPAM, C stub =
compilation and now code coverage.

The medium term plan is for the Assemblage tool to take on all of this, =
but would stashing this stuff on the Mirage wiki help instead?  I'm =
happy to kick off the structure and cut-and-paste the information in.  =
I'm not proposing the OPAM wiki since some of this is Mirage-specific, =
such as how to get C stubs cross-compiling between Xen and Unix.

-anil

> On 12 Mar 2015, at 12:51, Luke Dunstan <lukedunstan81@gmail.com> =
wrote:
>=20
> I had the same idea with sed on _oasis, and coveralls: =
https://github.com/mirage/ocaml-dns/issues/33 =
<https://github.com/mirage/ocaml-dns/issues/33>
>=20
> Then I read this article that Anil tweeted: =
http://www.hammerlab.org/2015/03/04/creating-ocaml-code-coverage-reports-f=
or-ketrew/ =
<http://www.hammerlab.org/2015/03/04/creating-ocaml-code-coverage-reports-=
for-ketrew/>
>=20
> Based on a modified version of that "myocamlbuild.ml =
<http://myocamlbuild.ml/>", I got it working without sed: =
https://github.com/infidel/ocaml-mdns/blob/master/myocamlbuild.ml =
<https://github.com/infidel/ocaml-mdns/blob/master/myocamlbuild.ml>
>=20
>=20
> Luke
>=20
>=20
>=20
> On 12 March 2015 at 17:34, David Scott <scott.dj@gmail.com =
<mailto:scott.dj@gmail.com>> wrote:
> Hi,
>=20
> I've been having a lot of fun with bisect[1] recently-- I've been =
using it to see which parts of the mirage-block-volume[2] and =
shared-block-ring[3] libraries are completely untouched by their unit =
tests. I found the following game to be quite addictive:
>=20
> 1. "make coverage", and load result in web-browser
> 2. spot a big chunk of obvious red (danger, danger, danger)
> 3. (thinking carefully about what could go wrong) devise an =
interesting test to stress the red bits (obviously you could cover it =
with a 'noddy' test but there is probably no point)
> 4. "make coverage", reload in browser and see the red go green!
>=20
> I've hooked it up with coveralls.io <http://coveralls.io/> (admittedly =
in a bit of a hacky way[4]) such that the master branch is firmly in =
"development" mode, linking against bisect, and without checking in the =
oasis autogen rubbish. The .travis.yml runs both the travisci-skeleton =
script and then invokes ocveralls[5] to upload the results.
>=20
> I've added a separate "make release" step which removes bisect and =
checks in the autogen (presumably into a release branch). Perhaps =
eventually this could make a github pull request (with the "hub" tool?) =
and make an opam package?
>=20
> I think the game is made even more addictive when the coveralls badge =
changes colour, see:
>=20
> https://coveralls.io/r/mirage/mirage-block-volume?branch=3Dmaster =
<https://coveralls.io/r/mirage/mirage-block-volume?branch=3Dmaster>
>=20
> Here's an example bisect report (the code is a work-in-progress):
>=20
> http://dave.recoil.org/tmp/report/file0000.html =
<http://dave.recoil.org/tmp/report/file0000.html>
>=20
> If you haven't given bisect a go -- I recommend playing with it.
>=20
> Also, if you can think of a nicer way to integrate this -- I admit =
using 'sed' on the _oasis file is a bit of a hack -- please let me know!
>=20
> Cheers,
> Dave
>=20
> [1] http://bisect.x9c.fr <http://bisect.x9c.fr/>
> [2] https://github.com/mirage/mirage-block-volume =
<https://github.com/mirage/mirage-block-volume>
> [3] https://github.com/mirage/shared-block-ring =
<https://github.com/mirage/shared-block-ring>
> [4] =
https://github.com/mirage/shared-block-ring/commit/67b9f3100be8e4e9732dd79=
b7c1cc5352a61d478 =
<https://github.com/mirage/shared-block-ring/commit/67b9f3100be8e4e9732dd7=
9b7c1cc5352a61d478>
> [5] https://github.com/sagotch/ocveralls =
<https://github.com/sagotch/ocveralls>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org =
<mailto:MirageOS-devel@lists.xenproject.org>
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel =
<http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>
>=20
>=20
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


--Apple-Mail=_50E37F68-2808-428F-8B22-CF952101F166
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">I'm just wondering where the best place to document this sort =
of stuff is. &nbsp;We have all sorts of black magic for OASIS, OPAM, C =
stub compilation and now code coverage.<div class=3D""><br =
class=3D""></div><div class=3D"">The medium term plan is for the =
Assemblage tool to take on all of this, but would stashing this stuff on =
the Mirage wiki help instead? &nbsp;I'm happy to kick off the structure =
and cut-and-paste the information in. &nbsp;I'm not proposing the OPAM =
wiki since some of this is Mirage-specific, such as how to get C stubs =
cross-compiling between Xen and Unix.</div><div class=3D""><br =
class=3D""></div><div class=3D"">-anil</div><div class=3D""><br =
class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D"">On =
12 Mar 2015, at 12:51, Luke Dunstan &lt;<a =
href=3D"mailto:lukedunstan81@gmail.com" =
class=3D"">lukedunstan81@gmail.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" =
class=3D"">I had the same idea with sed on _oasis, and =
coveralls:&nbsp;<a href=3D"https://github.com/mirage/ocaml-dns/issues/33" =
class=3D"">https://github.com/mirage/ocaml-dns/issues/33</a><div =
class=3D""><br class=3D""></div><div class=3D"">Then I read this article =
that Anil tweeted:&nbsp;<a =
href=3D"http://www.hammerlab.org/2015/03/04/creating-ocaml-code-coverage-r=
eports-for-ketrew/" =
class=3D"">http://www.hammerlab.org/2015/03/04/creating-ocaml-code-coverag=
e-reports-for-ketrew/</a></div><div class=3D""><br class=3D""></div><div =
class=3D"">Based on a modified version of that "<a =
href=3D"http://myocamlbuild.ml/" class=3D"">myocamlbuild.ml</a>", I got =
it working without sed:&nbsp;<a =
href=3D"https://github.com/infidel/ocaml-mdns/blob/master/myocamlbuild.ml"=
 =
class=3D"">https://github.com/infidel/ocaml-mdns/blob/master/myocamlbuild.=
ml</a></div><div class=3D""><br class=3D""></div><div class=3D""><br =
class=3D""></div><div class=3D"">Luke</div><div class=3D""><br =
class=3D""></div><div class=3D""><br class=3D""></div></div><div =
class=3D"gmail_extra"><br class=3D""><div class=3D"gmail_quote">On 12 =
March 2015 at 17:34, David Scott <span dir=3D"ltr" class=3D"">&lt;<a =
href=3D"mailto:scott.dj@gmail.com" target=3D"_blank" =
class=3D"">scott.dj@gmail.com</a>&gt;</span> wrote:<br =
class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr" =
class=3D""><div class=3D"">Hi,</div><div class=3D""><br =
class=3D""></div><div class=3D"">I've been having a lot of fun with =
bisect[1] recently-- I've been using it to see which parts of the =
mirage-block-volume[2] and shared-block-ring[3] libraries are completely =
untouched by their unit tests. I found the following game to be quite =
addictive:</div><div class=3D""><br class=3D""></div><div class=3D"">1. =
"make coverage", and load result in web-browser</div><div class=3D"">2. =
spot a big chunk of obvious red (danger, danger, danger)</div><div =
class=3D"">3. (thinking carefully about what could go wrong) devise an =
interesting test to stress the red bits (obviously you could cover it =
with a 'noddy' test but there is probably no point)</div><div =
class=3D"">4. "make coverage", reload in browser and see the red go =
green!</div><div class=3D""><br class=3D""></div><div class=3D"">I've =
hooked it up with <a href=3D"http://coveralls.io/" target=3D"_blank" =
class=3D"">coveralls.io</a> (admittedly in a bit of a hacky way[4]) such =
that the master branch is firmly in "development" mode, linking against =
bisect, and without checking in the oasis autogen rubbish. The =
.travis.yml runs both the travisci-skeleton script and then invokes =
ocveralls[5] to upload the results.</div><div class=3D""><br =
class=3D""></div><div class=3D"">I've added a separate "make release" =
step which removes bisect and checks in the autogen (presumably into a =
release branch). Perhaps eventually this could make a github pull =
request (with the "hub" tool?) and make an opam package?</div><div =
class=3D""><br class=3D""></div><div class=3D"">I think the game is made =
even more addictive when the coveralls badge changes colour, =
see:</div><div class=3D""><br class=3D""></div><div class=3D""><a =
href=3D"https://coveralls.io/r/mirage/mirage-block-volume?branch=3Dmaster"=
 target=3D"_blank" =
class=3D"">https://coveralls.io/r/mirage/mirage-block-volume?branch=3Dmast=
er</a><br class=3D""></div><div class=3D""><br class=3D""></div><div =
class=3D"">Here's an example bisect report (the code is a =
work-in-progress):</div><div class=3D""><br class=3D""></div><div =
class=3D""><a href=3D"http://dave.recoil.org/tmp/report/file0000.html" =
target=3D"_blank" =
class=3D"">http://dave.recoil.org/tmp/report/file0000.html</a><br =
class=3D""></div><div class=3D""><br class=3D""></div><div class=3D"">If =
you haven't given bisect a go -- I recommend playing with it.</div><div =
class=3D""><br class=3D""></div><div class=3D"">Also, if you can think =
of a nicer way to integrate this -- I admit using 'sed' on the _oasis =
file is a bit of a hack -- please let me know!</div><div class=3D""><br =
class=3D""></div><div class=3D"">Cheers,</div><div =
class=3D"">Dave</div><div class=3D""><br class=3D""></div><div =
class=3D"">[1]&nbsp;<a href=3D"http://bisect.x9c.fr/" target=3D"_blank" =
class=3D"">http://bisect.x9c.fr</a></div><div class=3D"">[2]&nbsp;<a =
href=3D"https://github.com/mirage/mirage-block-volume" target=3D"_blank" =
class=3D"">https://github.com/mirage/mirage-block-volume</a></div><div =
class=3D"">[3]&nbsp;<a =
href=3D"https://github.com/mirage/shared-block-ring" target=3D"_blank" =
class=3D"">https://github.com/mirage/shared-block-ring</a></div><div =
class=3D"">[4]&nbsp;<a =
href=3D"https://github.com/mirage/shared-block-ring/commit/67b9f3100be8e4e=
9732dd79b7c1cc5352a61d478" target=3D"_blank" =
class=3D"">https://github.com/mirage/shared-block-ring/commit/67b9f3100be8=
e4e9732dd79b7c1cc5352a61d478</a></div><div class=3D"">[5]&nbsp;<a =
href=3D"https://github.com/sagotch/ocveralls" target=3D"_blank" =
class=3D"">https://github.com/sagotch/ocveralls</a></div>
</div>
<br class=3D"">_______________________________________________<br =
class=3D"">
MirageOS-devel mailing list<br class=3D"">
<a href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
class=3D"">MirageOS-devel@lists.xenproject.org</a><br class=3D"">
<a =
href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-deve=
l" target=3D"_blank" =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel</a><br class=3D"">
<br class=3D""></blockquote></div><br class=3D""></div>
_______________________________________________<br =
class=3D"">MirageOS-devel mailing list<br class=3D""><a =
href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
class=3D"">MirageOS-devel@lists.xenproject.org</a><br =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel<br class=3D""></div></blockquote></div><br =
class=3D""></div></body></html>=

--Apple-Mail=_50E37F68-2808-428F-8B22-CF952101F166--


--===============8080795762643138408==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============8080795762643138408==--


From mirageos-devel-bounces@lists.xenproject.org Sun May 03 22:35:26 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 03 May 2015 22:35:26 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yp2Tu-0002jd-9A; Sun, 03 May 2015 22:35:26 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1Yp2Ts-0002jR-JS
	for mirageos-devel@lists.xenproject.org; Sun, 03 May 2015 22:35:24 +0000
Received: from [193.109.254.147] by server-2.bemta-14.messagelabs.com id
	30/C3-14319-BA2A6455; Sun, 03 May 2015 22:35:23 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-15.tower-27.messagelabs.com!1430692522!14323965!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 13370 invoked from network); 3 May 2015 22:35:22 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-15.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 3 May 2015 22:35:22 -0000
Received: from [172.31.132.119] (216.9.110.3 [216.9.110.3]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 728efa56;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Sun, 3 May 2015 23:35:22 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAFrFfuGqPH2b1TnucE6jKxqmBuy+PTaDRaJGVixZmKkU+iHq5w@mail.gmail.com>
Date: Sun, 3 May 2015 20:35:32 +0100
Message-Id: <68E82445-C536-4483-BBD1-84F344E2D522@recoil.org>
References: <CAFrFfuFsXOGt=F+ajnmo-dBoPc6=8DnUw4NkmxoapB9TM4R6AA@mail.gmail.com>
	<66477998-6372-49E1-B669-8DDCA56E0AA8@gazagnaire.org>
	<CAFrFfuGqPH2b1TnucE6jKxqmBuy+PTaDRaJGVixZmKkU+iHq5w@mail.gmail.com>
To: Martin DeMello <martindemello@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] problem with sqlite constraints and orm
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

I'd say the best option for a unikernel database right now is to
choose one that has a remote binary protocol and access it over TCP.
Examples include Redis or PostgreSQL for this (and probably many more
like CouchDB or Mongo do the same).

There's an interesting ongoing effort to port existing databases into
a unikernel by Martin Lucina, so we should be able to run them in a
separate address space shortly.  For now though, a database in a Linux
VM with the frontend as a unikernel client makes most sense.  What
sort of database access patterns do you anticipate?

-anil

> On 1 Apr 2015, at 22:22, Martin DeMello <martindemello@gmail.com> wrote:
> 
> Is there a more current option people are using for working with a
> database? I'd be happy to poke at the orm code in the longer term, but
> I also want to get on with writing my actual app :)
> 
> martin
> 
> On Wed, Apr 1, 2015 at 12:53 AM, Thomas Gazagnaire
> <thomas@gazagnaire.org> wrote:
>> Hi Martin,
>> 
>> I haven't touched at the code of mirage/orm for a very long time (2.5y!) but
>> I'm not very surprised you can still find bugs in it: the code is quite
>> fragile (too much camlp4 for its own good) and (mainly) works only because
>> of the relatively large test-suite. But patches are always very welcome!
>> 
>> Thanks,
>> Thomas
>> 
>> 
>> On 30 Mar 2015, at 12:20, Martin DeMello <martindemello@gmail.com> wrote:
>> 
>> Problem demonstrated below: violating a unique constraint in sqlite3 seems
>> to leave things in an inconsistent state.
>> 
>> Also, tangentially, I discovered this while trying to maintain my own id on
>> a table because my app is serving json objects over a rest api, and I need
>> some sort of unique id for clients to be able to send updates to existing
>> objects. If there were a way to have the autogenerated sql __id__ column be
>> a record field, that would be extremely useful.
>> 
>> martin
>> 
>> $ cat db.ml
>> type item = {
>>  id: int;
>> } with orm (
>>  unique: item<id>
>> )
>> 
>> let db_name = "test.db"
>> 
>> $ cat init_db.ml
>> open Db
>> 
>> let _ =
>>  let db = item_init Db.db_name in
>>  let item = {
>>    id = 1;
>>  } in
>>  item_save db item
>> 
>> 
>> $ ./init_db.native
>> $ ./init_db.native
>> Fatal error: exception Sqlite3.Error("CONSTRAINT")
>> 
>> $ sqlite3 test.db
>> sqlite> select * from item;
>> __id__      id
>> ----------  ----------
>> 1           1
>> 2
>> sqlite> delete from item;
>> Error: no such function: SYNC_CACHE_item
>> 
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>> 
>> 
> 
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> 


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sun May 03 22:35:26 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 03 May 2015 22:35:26 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yp2Tu-0002jd-9A; Sun, 03 May 2015 22:35:26 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1Yp2Ts-0002jR-JS
	for mirageos-devel@lists.xenproject.org; Sun, 03 May 2015 22:35:24 +0000
Received: from [193.109.254.147] by server-2.bemta-14.messagelabs.com id
	30/C3-14319-BA2A6455; Sun, 03 May 2015 22:35:23 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-15.tower-27.messagelabs.com!1430692522!14323965!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 13370 invoked from network); 3 May 2015 22:35:22 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-15.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 3 May 2015 22:35:22 -0000
Received: from [172.31.132.119] (216.9.110.3 [216.9.110.3]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 728efa56;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Sun, 3 May 2015 23:35:22 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAFrFfuGqPH2b1TnucE6jKxqmBuy+PTaDRaJGVixZmKkU+iHq5w@mail.gmail.com>
Date: Sun, 3 May 2015 20:35:32 +0100
Message-Id: <68E82445-C536-4483-BBD1-84F344E2D522@recoil.org>
References: <CAFrFfuFsXOGt=F+ajnmo-dBoPc6=8DnUw4NkmxoapB9TM4R6AA@mail.gmail.com>
	<66477998-6372-49E1-B669-8DDCA56E0AA8@gazagnaire.org>
	<CAFrFfuGqPH2b1TnucE6jKxqmBuy+PTaDRaJGVixZmKkU+iHq5w@mail.gmail.com>
To: Martin DeMello <martindemello@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] problem with sqlite constraints and orm
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

I'd say the best option for a unikernel database right now is to
choose one that has a remote binary protocol and access it over TCP.
Examples include Redis or PostgreSQL for this (and probably many more
like CouchDB or Mongo do the same).

There's an interesting ongoing effort to port existing databases into
a unikernel by Martin Lucina, so we should be able to run them in a
separate address space shortly.  For now though, a database in a Linux
VM with the frontend as a unikernel client makes most sense.  What
sort of database access patterns do you anticipate?

-anil

> On 1 Apr 2015, at 22:22, Martin DeMello <martindemello@gmail.com> wrote:
> 
> Is there a more current option people are using for working with a
> database? I'd be happy to poke at the orm code in the longer term, but
> I also want to get on with writing my actual app :)
> 
> martin
> 
> On Wed, Apr 1, 2015 at 12:53 AM, Thomas Gazagnaire
> <thomas@gazagnaire.org> wrote:
>> Hi Martin,
>> 
>> I haven't touched at the code of mirage/orm for a very long time (2.5y!) but
>> I'm not very surprised you can still find bugs in it: the code is quite
>> fragile (too much camlp4 for its own good) and (mainly) works only because
>> of the relatively large test-suite. But patches are always very welcome!
>> 
>> Thanks,
>> Thomas
>> 
>> 
>> On 30 Mar 2015, at 12:20, Martin DeMello <martindemello@gmail.com> wrote:
>> 
>> Problem demonstrated below: violating a unique constraint in sqlite3 seems
>> to leave things in an inconsistent state.
>> 
>> Also, tangentially, I discovered this while trying to maintain my own id on
>> a table because my app is serving json objects over a rest api, and I need
>> some sort of unique id for clients to be able to send updates to existing
>> objects. If there were a way to have the autogenerated sql __id__ column be
>> a record field, that would be extremely useful.
>> 
>> martin
>> 
>> $ cat db.ml
>> type item = {
>>  id: int;
>> } with orm (
>>  unique: item<id>
>> )
>> 
>> let db_name = "test.db"
>> 
>> $ cat init_db.ml
>> open Db
>> 
>> let _ =
>>  let db = item_init Db.db_name in
>>  let item = {
>>    id = 1;
>>  } in
>>  item_save db item
>> 
>> 
>> $ ./init_db.native
>> $ ./init_db.native
>> Fatal error: exception Sqlite3.Error("CONSTRAINT")
>> 
>> $ sqlite3 test.db
>> sqlite> select * from item;
>> __id__      id
>> ----------  ----------
>> 1           1
>> 2
>> sqlite> delete from item;
>> Error: no such function: SYNC_CACHE_item
>> 
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>> 
>> 
> 
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> 


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sun May 03 22:39:15 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 03 May 2015 22:39:15 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yp2XU-0002uP-HP; Sun, 03 May 2015 22:39:08 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <jos@vandenoever.info>) id 1YnPvS-0004Xm-D8
	for mirageos-devel@lists.xenproject.org; Wed, 29 Apr 2015 11:13:10 +0000
Received: from [85.158.137.68] by server-14.bemta-3.messagelabs.com id
	E1/D3-07318-5CCB0455; Wed, 29 Apr 2015 11:13:09 +0000
X-Env-Sender: jos@vandenoever.info
X-Msg-Ref: server-10.tower-31.messagelabs.com!1430305988!10855327!1
X-Originating-IP: [193.46.215.41]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 23237 invoked from network); 29 Apr 2015 11:13:08 -0000
Received: from mailgw-01.dd24.net (HELO mailgw01.dd24.net) (193.46.215.41)
	by server-10.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 29 Apr 2015 11:13:08 -0000
Received: from mailpolicy-01.live.igb.homer.key-systems.net
	(mailpolicy-02.live.igb.homer.key-systems.net [192.168.1.27])
	by mailgw01.dd24.net (Postfix) with ESMTP id 3164D5FB02
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 29 Apr 2015 11:13:08 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at
	mailpolicy-02.live.igb.homer.key-systems.net
Received: from mailgw01.dd24.net ([192.168.1.35])
	by mailpolicy-01.live.igb.homer.key-systems.net
	(mailpolicy-02.live.igb.homer.key-systems.net [192.168.1.25])
	(amavisd-new, port 10235)
	with ESMTP id Ph_cfqMSwBDv for <mirageos-devel@lists.xenproject.org>;
	Wed, 29 Apr 2015 11:13:06 +0000 (UTC)
Received: from localhost (ip913586c5.adsl-surfen.hetnet.nl [145.53.134.197])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by mailgw01.dd24.net (Postfix) with ESMTPSA
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 29 Apr 2015 11:13:06 +0000 (UTC)
From: Jos van den Oever <jos@vandenoever.info>
To: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Date: Wed, 29 Apr 2015 13:13:05 +0200
Message-ID: <1823401.iHX19pzY8d@joga>
User-Agent: KMail/4.14.3 (Linux/3.18.10; KDE/4.14.3; x86_64; ; )
In-Reply-To: <CAG4opy84PqZ3hLNHXdiF2BOFoQrFK7=XPy4M_3NDrD31WOi6bA@mail.gmail.com>
References: <5439782.dmm5bFtT6k@joga> <1677451.N4Lra0Y7og@joga>
	<CAG4opy84PqZ3hLNHXdiF2BOFoQrFK7=XPy4M_3NDrD31WOi6bA@mail.gmail.com>
MIME-Version: 1.0
X-Mailman-Approved-At: Sun, 03 May 2015 22:39:07 +0000
Subject: Re: [MirageOS-devel] Fwd: cuekeeper
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On Wednesday 29 April 2015 11:45:06 you wrote:
> [ forwarding to mirage list ]
> 
> On Wednesday 29 April 2015 10:34:24 you wrote:
> > On 29 April 2015 at 08:50, Jos van den Oever <jos@vandenoever.info> wrote:
> > > On Wednesday 29 April 2015 09:25:04 you wrote:
> > >> Hello Thomas,
> > >> 
> > >> Awesome blog post on cuekeeper. I'm very impressed with the extensive
> > >> description. This project may finally get me to start using GTD. I've
> > >> been
> > >> putting it off because, well, no time to write decent software for it
> > >> and
> > >> could not find any good software for it.
> > >> 
> > >> In a quick try I was not yet able to compile it (i'm on NixOS which is
> > >> eh
> > >> special).
> > 
> > I haven't tried it, but expect it should build if you can get a recent
> > opam version installed, which is usually quite easy. What error did
> > you get?

NixOS has a rather different way of doing development. Each application and 
library has its own folder in /nix/store. That allows one to switch between 
different version of applications quickly and lets normal users install any 
software that does not need runtime root privileges. But builing can be tricky 
althought the resulting recipy usually looks quite elegant. I'll investigate 
how to build and will report back.

> > 
> > >> How do you mean to keep this project going forward? I've just
> > >> leaned haskell (writing a personal proxy in it atm) and reading on
> > >> scala
> > >> now. I guess OCaml should be next. How stable will the file format of
> > >> cuekeeper be? Will it be compatible with git? I guess it's currently
> > >> some
> > >> sort of a JSON dict converted to and fro to nested parenthesis
> > >> notation.
> > 
> > I'm already using it for my own todo list, so I'll keep it working and
> > make sure there's an upgrade path to any new format. The disk format
> > 
> > is described here (the "type" declarations at the start):
> >   https://github.com/talex5/cuekeeper/blob/master/lib/ck_disk_node.ml
> > 
> > The Git backend doesn't currently run in the browser, but it should be
> > possible (I sometimes make the unit tests use a real Git repository
> > when debugging, so I can look at the results with gitk).
> > 
> > Not sure how much more development there is to do, but I'm planning to
> > get remote sync working at least.

That sound great. I'm looking forward to it.

> > 
> > > small addition: i tested in chromium because firefox 37 gives me this
> > > warning.>
> > >
> > >"This operation is insecure"
> > 
> > Haven't seen that before, but a Google search suggests you might have
> > cookies disabled (which in turn disables local storage, which
> > CueKeeper uses to notify other tabs of changes).

Allowing cookies on http://roscidus.com/blog/cuekeeper/ indeed solves the 
problem.

Cheers,
Jos

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sun May 03 22:39:15 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 03 May 2015 22:39:15 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yp2XU-0002uP-HP; Sun, 03 May 2015 22:39:08 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <jos@vandenoever.info>) id 1YnPvS-0004Xm-D8
	for mirageos-devel@lists.xenproject.org; Wed, 29 Apr 2015 11:13:10 +0000
Received: from [85.158.137.68] by server-14.bemta-3.messagelabs.com id
	E1/D3-07318-5CCB0455; Wed, 29 Apr 2015 11:13:09 +0000
X-Env-Sender: jos@vandenoever.info
X-Msg-Ref: server-10.tower-31.messagelabs.com!1430305988!10855327!1
X-Originating-IP: [193.46.215.41]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 23237 invoked from network); 29 Apr 2015 11:13:08 -0000
Received: from mailgw-01.dd24.net (HELO mailgw01.dd24.net) (193.46.215.41)
	by server-10.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 29 Apr 2015 11:13:08 -0000
Received: from mailpolicy-01.live.igb.homer.key-systems.net
	(mailpolicy-02.live.igb.homer.key-systems.net [192.168.1.27])
	by mailgw01.dd24.net (Postfix) with ESMTP id 3164D5FB02
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 29 Apr 2015 11:13:08 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at
	mailpolicy-02.live.igb.homer.key-systems.net
Received: from mailgw01.dd24.net ([192.168.1.35])
	by mailpolicy-01.live.igb.homer.key-systems.net
	(mailpolicy-02.live.igb.homer.key-systems.net [192.168.1.25])
	(amavisd-new, port 10235)
	with ESMTP id Ph_cfqMSwBDv for <mirageos-devel@lists.xenproject.org>;
	Wed, 29 Apr 2015 11:13:06 +0000 (UTC)
Received: from localhost (ip913586c5.adsl-surfen.hetnet.nl [145.53.134.197])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by mailgw01.dd24.net (Postfix) with ESMTPSA
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 29 Apr 2015 11:13:06 +0000 (UTC)
From: Jos van den Oever <jos@vandenoever.info>
To: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Date: Wed, 29 Apr 2015 13:13:05 +0200
Message-ID: <1823401.iHX19pzY8d@joga>
User-Agent: KMail/4.14.3 (Linux/3.18.10; KDE/4.14.3; x86_64; ; )
In-Reply-To: <CAG4opy84PqZ3hLNHXdiF2BOFoQrFK7=XPy4M_3NDrD31WOi6bA@mail.gmail.com>
References: <5439782.dmm5bFtT6k@joga> <1677451.N4Lra0Y7og@joga>
	<CAG4opy84PqZ3hLNHXdiF2BOFoQrFK7=XPy4M_3NDrD31WOi6bA@mail.gmail.com>
MIME-Version: 1.0
X-Mailman-Approved-At: Sun, 03 May 2015 22:39:07 +0000
Subject: Re: [MirageOS-devel] Fwd: cuekeeper
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On Wednesday 29 April 2015 11:45:06 you wrote:
> [ forwarding to mirage list ]
> 
> On Wednesday 29 April 2015 10:34:24 you wrote:
> > On 29 April 2015 at 08:50, Jos van den Oever <jos@vandenoever.info> wrote:
> > > On Wednesday 29 April 2015 09:25:04 you wrote:
> > >> Hello Thomas,
> > >> 
> > >> Awesome blog post on cuekeeper. I'm very impressed with the extensive
> > >> description. This project may finally get me to start using GTD. I've
> > >> been
> > >> putting it off because, well, no time to write decent software for it
> > >> and
> > >> could not find any good software for it.
> > >> 
> > >> In a quick try I was not yet able to compile it (i'm on NixOS which is
> > >> eh
> > >> special).
> > 
> > I haven't tried it, but expect it should build if you can get a recent
> > opam version installed, which is usually quite easy. What error did
> > you get?

NixOS has a rather different way of doing development. Each application and 
library has its own folder in /nix/store. That allows one to switch between 
different version of applications quickly and lets normal users install any 
software that does not need runtime root privileges. But builing can be tricky 
althought the resulting recipy usually looks quite elegant. I'll investigate 
how to build and will report back.

> > 
> > >> How do you mean to keep this project going forward? I've just
> > >> leaned haskell (writing a personal proxy in it atm) and reading on
> > >> scala
> > >> now. I guess OCaml should be next. How stable will the file format of
> > >> cuekeeper be? Will it be compatible with git? I guess it's currently
> > >> some
> > >> sort of a JSON dict converted to and fro to nested parenthesis
> > >> notation.
> > 
> > I'm already using it for my own todo list, so I'll keep it working and
> > make sure there's an upgrade path to any new format. The disk format
> > 
> > is described here (the "type" declarations at the start):
> >   https://github.com/talex5/cuekeeper/blob/master/lib/ck_disk_node.ml
> > 
> > The Git backend doesn't currently run in the browser, but it should be
> > possible (I sometimes make the unit tests use a real Git repository
> > when debugging, so I can look at the results with gitk).
> > 
> > Not sure how much more development there is to do, but I'm planning to
> > get remote sync working at least.

That sound great. I'm looking forward to it.

> > 
> > > small addition: i tested in chromium because firefox 37 gives me this
> > > warning.>
> > >
> > >"This operation is insecure"
> > 
> > Haven't seen that before, but a Google search suggests you might have
> > cookies disabled (which in turn disables local storage, which
> > CueKeeper uses to notify other tabs of changes).

Allowing cookies on http://roscidus.com/blog/cuekeeper/ indeed solves the 
problem.

Cheers,
Jos

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon May 04 09:16:21 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 04 May 2015 09:16:21 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpCTu-00059o-R6; Mon, 04 May 2015 09:16:06 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1YpCTt-00059i-Ba
	for mirageos-devel@lists.xenproject.org; Mon, 04 May 2015 09:16:05 +0000
Received: from [193.109.254.147] by server-2.bemta-14.messagelabs.com id
	9C/68-14319-4D837455; Mon, 04 May 2015 09:16:04 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-8.tower-27.messagelabs.com!1430730963!14425377!1
X-Originating-IP: [74.125.82.50]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 32565 invoked from network); 4 May 2015 09:16:03 -0000
Received: from mail-wg0-f50.google.com (HELO mail-wg0-f50.google.com)
	(74.125.82.50)
	by server-8.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	4 May 2015 09:16:03 -0000
Received: by wgen6 with SMTP id n6so143701968wge.3
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 04 May 2015 02:16:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:from:content-type:content-transfer-encoding:subject
	:message-id:date:to:mime-version;
	bh=D+44x7p26aOup3uciGA2tADfFtNJl3t5xfS3gflucOg=;
	b=g7T/rXn/LTotIGtsJSUBXyzaAnNPWy0YUvFj8iFKyySfQdv9cS/kmX7jyviNyhNYTs
	JC125DyeVDl3J+fBXiopbDWvwl/Rn7Ivei43NMgROc1BSwnO3Tjg9cIYet4eYJuGTB0K
	pFtvgIbUnHvMeLLH60/8O0M8/uaHY1uiwQ2v9v6Sny5FI1Mna0zRUPIZcSmZQ1U5Nmcc
	VS/pzXRYJ82GQADPO5zvy/1Lcd0q4MV8uIUKBgRYwSAot1nGB8wWn6O36pO0A0RJl48Z
	2XaUlj9m1t2/wZRLF5iXVHB71e9noXpz9W4yrl0z8NzRCwHkWbfFLqLRQflvZp3SRsqp
	Edxg==
X-Received: by 10.180.103.3 with SMTP id fs3mr17810576wib.14.1430730963241;
	Mon, 04 May 2015 02:16:03 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122]) by mx.google.com with ESMTPSA id
	gi17sm19665778wjc.8.2015.05.04.02.16.01
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Mon, 04 May 2015 02:16:02 -0700 (PDT)
From: Thomas Gazagnaire <thomas@gazagnaire.org>
Message-Id: <B6D6CC6D-3C25-4A1D-AEA6-67F5A4E03F9B@gazagnaire.org>
Date: Mon, 4 May 2015 10:16:04 +0100
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Subject: [MirageOS-devel] Irmin demo
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi all,

I've just updated a wiki page explaining how to run the example demos. Hope you find it useful and feedback (and direct edits) are welcome:

https://github.com/mirage/irmin/wiki/Demos

The output of /graph is not very stable and can be improved: if you feel to do so, the javascript code which produces the graph is there:

https://github.com/mirage/irmin/blob/master/lib/http/static/scripts.js

Best,
Thomas
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon May 04 09:16:21 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 04 May 2015 09:16:21 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpCTu-00059o-R6; Mon, 04 May 2015 09:16:06 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1YpCTt-00059i-Ba
	for mirageos-devel@lists.xenproject.org; Mon, 04 May 2015 09:16:05 +0000
Received: from [193.109.254.147] by server-2.bemta-14.messagelabs.com id
	9C/68-14319-4D837455; Mon, 04 May 2015 09:16:04 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-8.tower-27.messagelabs.com!1430730963!14425377!1
X-Originating-IP: [74.125.82.50]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 32565 invoked from network); 4 May 2015 09:16:03 -0000
Received: from mail-wg0-f50.google.com (HELO mail-wg0-f50.google.com)
	(74.125.82.50)
	by server-8.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	4 May 2015 09:16:03 -0000
Received: by wgen6 with SMTP id n6so143701968wge.3
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 04 May 2015 02:16:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:from:content-type:content-transfer-encoding:subject
	:message-id:date:to:mime-version;
	bh=D+44x7p26aOup3uciGA2tADfFtNJl3t5xfS3gflucOg=;
	b=g7T/rXn/LTotIGtsJSUBXyzaAnNPWy0YUvFj8iFKyySfQdv9cS/kmX7jyviNyhNYTs
	JC125DyeVDl3J+fBXiopbDWvwl/Rn7Ivei43NMgROc1BSwnO3Tjg9cIYet4eYJuGTB0K
	pFtvgIbUnHvMeLLH60/8O0M8/uaHY1uiwQ2v9v6Sny5FI1Mna0zRUPIZcSmZQ1U5Nmcc
	VS/pzXRYJ82GQADPO5zvy/1Lcd0q4MV8uIUKBgRYwSAot1nGB8wWn6O36pO0A0RJl48Z
	2XaUlj9m1t2/wZRLF5iXVHB71e9noXpz9W4yrl0z8NzRCwHkWbfFLqLRQflvZp3SRsqp
	Edxg==
X-Received: by 10.180.103.3 with SMTP id fs3mr17810576wib.14.1430730963241;
	Mon, 04 May 2015 02:16:03 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122]) by mx.google.com with ESMTPSA id
	gi17sm19665778wjc.8.2015.05.04.02.16.01
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Mon, 04 May 2015 02:16:02 -0700 (PDT)
From: Thomas Gazagnaire <thomas@gazagnaire.org>
Message-Id: <B6D6CC6D-3C25-4A1D-AEA6-67F5A4E03F9B@gazagnaire.org>
Date: Mon, 4 May 2015 10:16:04 +0100
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Subject: [MirageOS-devel] Irmin demo
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi all,

I've just updated a wiki page explaining how to run the example demos. Hope you find it useful and feedback (and direct edits) are welcome:

https://github.com/mirage/irmin/wiki/Demos

The output of /graph is not very stable and can be improved: if you feel to do so, the javascript code which produces the graph is there:

https://github.com/mirage/irmin/blob/master/lib/http/static/scripts.js

Best,
Thomas
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon May 04 13:54:29 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 04 May 2015 13:54:29 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpGp4-00008P-7N; Mon, 04 May 2015 13:54:14 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YpGp3-00008K-HS
	for mirageos-devel@lists.xenproject.org; Mon, 04 May 2015 13:54:13 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	08/B6-17455-40A77455; Mon, 04 May 2015 13:54:12 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-6.tower-31.messagelabs.com!1430747651!7731178!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 14991 invoked from network); 4 May 2015 13:54:11 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-6.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 4 May 2015 13:54:11 -0000
Received: from [192.168.0.127] (c-98-248-38-18.hsd1.ca.comcast.net
	[98.248.38.18]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 18cce2a5;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Mon, 4 May 2015 14:54:10 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <B6D6CC6D-3C25-4A1D-AEA6-67F5A4E03F9B@gazagnaire.org>
Date: Mon, 4 May 2015 06:54:07 -0700
Message-Id: <B2B9E21B-5A73-4E40-979A-FE5A169BF5C8@recoil.org>
References: <B6D6CC6D-3C25-4A1D-AEA6-67F5A4E03F9B@gazagnaire.org>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Irmin demo
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 4 May 2015, at 02:16, Thomas Gazagnaire <thomas@gazagnaire.org> wrote:
> 
> Hi all,
> 
> I've just updated a wiki page explaining how to run the example demos. Hope you find it useful and feedback (and direct edits) are welcome:
> 
> https://github.com/mirage/irmin/wiki/Demos
> 
> The output of /graph is not very stable and can be improved: if you feel to do so, the javascript code which produces the graph is there:
> 
> https://github.com/mirage/irmin/blob/master/lib/http/static/scripts.js

Works great for me! I sent a pull request with some minor typos.

The custom merge one is particularly nice but hard to see interactively -- would you mind if I added some pauses in between the various operations so that the graph view has a chance to catch up?

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon May 04 13:54:29 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 04 May 2015 13:54:29 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpGp4-00008P-7N; Mon, 04 May 2015 13:54:14 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YpGp3-00008K-HS
	for mirageos-devel@lists.xenproject.org; Mon, 04 May 2015 13:54:13 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	08/B6-17455-40A77455; Mon, 04 May 2015 13:54:12 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-6.tower-31.messagelabs.com!1430747651!7731178!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 14991 invoked from network); 4 May 2015 13:54:11 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-6.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 4 May 2015 13:54:11 -0000
Received: from [192.168.0.127] (c-98-248-38-18.hsd1.ca.comcast.net
	[98.248.38.18]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 18cce2a5;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Mon, 4 May 2015 14:54:10 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <B6D6CC6D-3C25-4A1D-AEA6-67F5A4E03F9B@gazagnaire.org>
Date: Mon, 4 May 2015 06:54:07 -0700
Message-Id: <B2B9E21B-5A73-4E40-979A-FE5A169BF5C8@recoil.org>
References: <B6D6CC6D-3C25-4A1D-AEA6-67F5A4E03F9B@gazagnaire.org>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Irmin demo
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 4 May 2015, at 02:16, Thomas Gazagnaire <thomas@gazagnaire.org> wrote:
> 
> Hi all,
> 
> I've just updated a wiki page explaining how to run the example demos. Hope you find it useful and feedback (and direct edits) are welcome:
> 
> https://github.com/mirage/irmin/wiki/Demos
> 
> The output of /graph is not very stable and can be improved: if you feel to do so, the javascript code which produces the graph is there:
> 
> https://github.com/mirage/irmin/blob/master/lib/http/static/scripts.js

Works great for me! I sent a pull request with some minor typos.

The custom merge one is particularly nice but hard to see interactively -- would you mind if I added some pauses in between the various operations so that the graph view has a chance to catch up?

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon May 04 14:04:02 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 04 May 2015 14:04:02 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpGyR-0000jV-NH; Mon, 04 May 2015 14:03:55 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <gareth@morethanseven.net>) id 1YpGyQ-0000jQ-Hg
	for MirageOS-devel@lists.xenproject.org; Mon, 04 May 2015 14:03:54 +0000
Received: from [193.109.254.147] by server-4.bemta-14.messagelabs.com id
	88/27-23180-94C77455; Mon, 04 May 2015 14:03:53 +0000
X-Env-Sender: gareth@morethanseven.net
X-Msg-Ref: server-2.tower-27.messagelabs.com!1430748232!14473139!1
X-Originating-IP: [209.85.212.174]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 7294 invoked from network); 4 May 2015 14:03:53 -0000
Received: from mail-wi0-f174.google.com (HELO mail-wi0-f174.google.com)
	(209.85.212.174)
	by server-2.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	4 May 2015 14:03:53 -0000
Received: by wizk4 with SMTP id k4so122829621wiz.1
	for <MirageOS-devel@lists.xenproject.org>;
	Mon, 04 May 2015 07:03:52 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:date:message-id:subject:from:to
	:content-type;
	bh=fGWKgR8xUgL0JjcdoO3P5sOJ3NUQrICx5tg36jmNhMA=;
	b=NF/KQ71Fq9FL4CpO1vJgjPM2HBjqd+yGRgel2YvGtB0o1HxbHK90/qP0srdKo+JSwm
	VpDoMLRP5esw2uKzhpeRi5GOdLfVxaboSQPjbBGxhhTOHarfbO0omgasq2H8AxdjkYyw
	EMFULASvRqWV4FtQl8+yjbo37iVb8p2fdFYRDuMwKPNWFMW171/5okewaWdUso/6fIY8
	/vpI87T4UoOCTsLa3+fDOil/fyem8P3+lhGef/6/uQU6Y5GP3sfiMuZZSJ+fJGGcdik/
	7AHMrg8qO4FGZbXEOtd1r5lIvA5wwHZPqgVlz1gPvVhPXPPeqPE6wWoF/sxHAw/adR7u
	LWfQ==
X-Gm-Message-State: ALoCoQnqQa8rDh0ICaAkawkEJWHJp8R4B/nIvl/Mi9+IHV602BRXTPXdjFUxxMibsLtG3iW9bCUS
MIME-Version: 1.0
X-Received: by 10.194.47.231 with SMTP id g7mr41199174wjn.140.1430748232449;
	Mon, 04 May 2015 07:03:52 -0700 (PDT)
Received: by 10.180.65.98 with HTTP; Mon, 4 May 2015 07:03:52 -0700 (PDT)
Date: Mon, 4 May 2015 15:03:52 +0100
Message-ID: <CAFi_6yKN3n-XKFbryUewo++DR_UidFCupocFA5+WaDbsATXZOw@mail.gmail.com>
From: Gareth Rushgrove <gareth@morethanseven.net>
To: MirageOS-devel@lists.xenproject.org
Subject: [MirageOS-devel] Getting started documentation issues
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

I'm tinkering with some automation to make getting started with Mirage
easier and ran into a few issues I thought I'd mention.

While following the docs at: http://openmirage.org/wiki/install

1. The list of supported operating systems (ArchLinux, Debian Wheezy,
Ubuntu Precise/Lucid/Raring/Saucy, CentOS 6.4 and MacOS X 10.8 and
10.9) appears to contain older systems. Is this still up-to-date?

2. The docs state: Note that you require OPAM 1.1 or greater to use
with Mirage. Some distribution packages provide earlier versions.
Running opam init with 1.1.1 on Ubuntu Trusty (14.04) results in the
following error:

[ERROR] Your version of OPAM (1.1.1) is not recent enough to read
~/.opam/repo/default/packages/websocket/websocket.0.9.2/opam. Upgrade
OPAM to a more recent version (at least 1.2) to read this file
correctly.
[WARNING] Errors while parsing websocket.0.9.2 OPAM file, skipping.

3. Information on https://github.com/ocaml/opam/wiki/Quick_Install is
also out of date regarding the above. The PPA mentioned also has
Trusty packages although this isn't mentioned.


I should have a Puppet (disclaimer I work for Puppet Labs in
Cambridge, but this is a pet project rather than work) module released
soon that helps build an Ubuntu Trusty box for building mirage
unikernels.

My vague plan from there is to turn that into zero or more of: a local
compile service, a test harness for testing unikernel
compilation/execution and/or a remote compile service.

I'll post here when I have code to show, but if anyone is particularly
interested let me know. I'm a newbie when it comes to ocaml but I've
lots of experience with automation and infrastructure.

Gareth

-- 
Gareth Rushgrove
@garethr

devopsweekly.com
morethanseven.net
garethrushgrove.com

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon May 04 14:04:02 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 04 May 2015 14:04:02 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpGyR-0000jV-NH; Mon, 04 May 2015 14:03:55 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <gareth@morethanseven.net>) id 1YpGyQ-0000jQ-Hg
	for MirageOS-devel@lists.xenproject.org; Mon, 04 May 2015 14:03:54 +0000
Received: from [193.109.254.147] by server-4.bemta-14.messagelabs.com id
	88/27-23180-94C77455; Mon, 04 May 2015 14:03:53 +0000
X-Env-Sender: gareth@morethanseven.net
X-Msg-Ref: server-2.tower-27.messagelabs.com!1430748232!14473139!1
X-Originating-IP: [209.85.212.174]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 7294 invoked from network); 4 May 2015 14:03:53 -0000
Received: from mail-wi0-f174.google.com (HELO mail-wi0-f174.google.com)
	(209.85.212.174)
	by server-2.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	4 May 2015 14:03:53 -0000
Received: by wizk4 with SMTP id k4so122829621wiz.1
	for <MirageOS-devel@lists.xenproject.org>;
	Mon, 04 May 2015 07:03:52 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:date:message-id:subject:from:to
	:content-type;
	bh=fGWKgR8xUgL0JjcdoO3P5sOJ3NUQrICx5tg36jmNhMA=;
	b=NF/KQ71Fq9FL4CpO1vJgjPM2HBjqd+yGRgel2YvGtB0o1HxbHK90/qP0srdKo+JSwm
	VpDoMLRP5esw2uKzhpeRi5GOdLfVxaboSQPjbBGxhhTOHarfbO0omgasq2H8AxdjkYyw
	EMFULASvRqWV4FtQl8+yjbo37iVb8p2fdFYRDuMwKPNWFMW171/5okewaWdUso/6fIY8
	/vpI87T4UoOCTsLa3+fDOil/fyem8P3+lhGef/6/uQU6Y5GP3sfiMuZZSJ+fJGGcdik/
	7AHMrg8qO4FGZbXEOtd1r5lIvA5wwHZPqgVlz1gPvVhPXPPeqPE6wWoF/sxHAw/adR7u
	LWfQ==
X-Gm-Message-State: ALoCoQnqQa8rDh0ICaAkawkEJWHJp8R4B/nIvl/Mi9+IHV602BRXTPXdjFUxxMibsLtG3iW9bCUS
MIME-Version: 1.0
X-Received: by 10.194.47.231 with SMTP id g7mr41199174wjn.140.1430748232449;
	Mon, 04 May 2015 07:03:52 -0700 (PDT)
Received: by 10.180.65.98 with HTTP; Mon, 4 May 2015 07:03:52 -0700 (PDT)
Date: Mon, 4 May 2015 15:03:52 +0100
Message-ID: <CAFi_6yKN3n-XKFbryUewo++DR_UidFCupocFA5+WaDbsATXZOw@mail.gmail.com>
From: Gareth Rushgrove <gareth@morethanseven.net>
To: MirageOS-devel@lists.xenproject.org
Subject: [MirageOS-devel] Getting started documentation issues
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

I'm tinkering with some automation to make getting started with Mirage
easier and ran into a few issues I thought I'd mention.

While following the docs at: http://openmirage.org/wiki/install

1. The list of supported operating systems (ArchLinux, Debian Wheezy,
Ubuntu Precise/Lucid/Raring/Saucy, CentOS 6.4 and MacOS X 10.8 and
10.9) appears to contain older systems. Is this still up-to-date?

2. The docs state: Note that you require OPAM 1.1 or greater to use
with Mirage. Some distribution packages provide earlier versions.
Running opam init with 1.1.1 on Ubuntu Trusty (14.04) results in the
following error:

[ERROR] Your version of OPAM (1.1.1) is not recent enough to read
~/.opam/repo/default/packages/websocket/websocket.0.9.2/opam. Upgrade
OPAM to a more recent version (at least 1.2) to read this file
correctly.
[WARNING] Errors while parsing websocket.0.9.2 OPAM file, skipping.

3. Information on https://github.com/ocaml/opam/wiki/Quick_Install is
also out of date regarding the above. The PPA mentioned also has
Trusty packages although this isn't mentioned.


I should have a Puppet (disclaimer I work for Puppet Labs in
Cambridge, but this is a pet project rather than work) module released
soon that helps build an Ubuntu Trusty box for building mirage
unikernels.

My vague plan from there is to turn that into zero or more of: a local
compile service, a test harness for testing unikernel
compilation/execution and/or a remote compile service.

I'll post here when I have code to show, but if anyone is particularly
interested let me know. I'm a newbie when it comes to ocaml but I've
lots of experience with automation and infrastructure.

Gareth

-- 
Gareth Rushgrove
@garethr

devopsweekly.com
morethanseven.net
garethrushgrove.com

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon May 04 14:10:29 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 04 May 2015 14:10:29 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpH4R-0000wm-V9; Mon, 04 May 2015 14:10:07 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YpH4R-0000wT-3F
	for MirageOS-devel@lists.xenproject.org; Mon, 04 May 2015 14:10:07 +0000
Received: from [193.109.254.147] by server-10.bemta-14.messagelabs.com id
	6C/87-06062-EBD77455; Mon, 04 May 2015 14:10:06 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-10.tower-27.messagelabs.com!1430748605!14477848!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9133 invoked from network); 4 May 2015 14:10:05 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-10.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 4 May 2015 14:10:05 -0000
Received: from [192.168.0.127] (c-98-248-38-18.hsd1.ca.comcast.net
	[98.248.38.18]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 14312a19;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Mon, 4 May 2015 15:10:04 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAFi_6yKN3n-XKFbryUewo++DR_UidFCupocFA5+WaDbsATXZOw@mail.gmail.com>
Date: Mon, 4 May 2015 07:10:01 -0700
Message-Id: <5CAB559F-EBD5-4A04-90A1-2E7381A95A1E@recoil.org>
References: <CAFi_6yKN3n-XKFbryUewo++DR_UidFCupocFA5+WaDbsATXZOw@mail.gmail.com>
To: Gareth Rushgrove <gareth@morethanseven.net>
X-Mailer: Apple Mail (2.2098)
Cc: MirageOS-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Getting started documentation issues
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 4 May 2015, at 07:03, Gareth Rushgrove <gareth@morethanseven.net> wrote:
> 
> I'm tinkering with some automation to make getting started with Mirage
> easier and ran into a few issues I thought I'd mention.
> 
> While following the docs at: http://openmirage.org/wiki/install
> 
> 1. The list of supported operating systems (ArchLinux, Debian Wheezy,
> Ubuntu Precise/Lucid/Raring/Saucy, CentOS 6.4 and MacOS X 10.8 and
> 10.9) appears to contain older systems. Is this still up-to-date?

This one's out of date.  I maintain a manual set of PPAs that cover
Ubuntu up to Vivid.  Perhaps we should add a date to the entry to 
make it clear when it was last updated!

> 
> 2. The docs state: Note that you require OPAM 1.1 or greater to use
> with Mirage. Some distribution packages provide earlier versions.
> Running opam init with 1.1.1 on Ubuntu Trusty (14.04) results in the
> following error:
> 
> [ERROR] Your version of OPAM (1.1.1) is not recent enough to read
> ~/.opam/repo/default/packages/websocket/websocket.0.9.2/opam. Upgrade
> OPAM to a more recent version (at least 1.2) to read this file
> correctly.
> [WARNING] Errors while parsing websocket.0.9.2 OPAM file, skipping.

Ubuntu Trusty unfortunately installed a broken OPAM package.  There's
an easy fix: if you use this PPA:

https://launchpad.net/~avsm/+archive/ubuntu/ocaml42+opam12

It will include Trusty packages that work.  Vivid is currently compiling
there.

> 
> 3. Information on https://github.com/ocaml/opam/wiki/Quick_Install is
> also out of date regarding the above. The PPA mentioned also has
> Trusty packages although this isn't mentioned.

Ack, I'll fix this shortly.

> 
> 
> I should have a Puppet (disclaimer I work for Puppet Labs in
> Cambridge, but this is a pet project rather than work) module released
> soon that helps build an Ubuntu Trusty box for building mirage
> unikernels.
> 
> My vague plan from there is to turn that into zero or more of: a local
> compile service, a test harness for testing unikernel
> compilation/execution and/or a remote compile service.
> 
> I'll post here when I have code to show, but if anyone is particularly
> interested let me know. I'm a newbie when it comes to ocaml but I've
> lots of experience with automation and infrastructure.

This all sounds fantastically useful for us at this stage!  I'll help
in any way I can.

-anil

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon May 04 14:10:29 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 04 May 2015 14:10:29 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpH4R-0000wm-V9; Mon, 04 May 2015 14:10:07 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YpH4R-0000wT-3F
	for MirageOS-devel@lists.xenproject.org; Mon, 04 May 2015 14:10:07 +0000
Received: from [193.109.254.147] by server-10.bemta-14.messagelabs.com id
	6C/87-06062-EBD77455; Mon, 04 May 2015 14:10:06 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-10.tower-27.messagelabs.com!1430748605!14477848!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9133 invoked from network); 4 May 2015 14:10:05 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-10.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 4 May 2015 14:10:05 -0000
Received: from [192.168.0.127] (c-98-248-38-18.hsd1.ca.comcast.net
	[98.248.38.18]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 14312a19;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Mon, 4 May 2015 15:10:04 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAFi_6yKN3n-XKFbryUewo++DR_UidFCupocFA5+WaDbsATXZOw@mail.gmail.com>
Date: Mon, 4 May 2015 07:10:01 -0700
Message-Id: <5CAB559F-EBD5-4A04-90A1-2E7381A95A1E@recoil.org>
References: <CAFi_6yKN3n-XKFbryUewo++DR_UidFCupocFA5+WaDbsATXZOw@mail.gmail.com>
To: Gareth Rushgrove <gareth@morethanseven.net>
X-Mailer: Apple Mail (2.2098)
Cc: MirageOS-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Getting started documentation issues
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 4 May 2015, at 07:03, Gareth Rushgrove <gareth@morethanseven.net> wrote:
> 
> I'm tinkering with some automation to make getting started with Mirage
> easier and ran into a few issues I thought I'd mention.
> 
> While following the docs at: http://openmirage.org/wiki/install
> 
> 1. The list of supported operating systems (ArchLinux, Debian Wheezy,
> Ubuntu Precise/Lucid/Raring/Saucy, CentOS 6.4 and MacOS X 10.8 and
> 10.9) appears to contain older systems. Is this still up-to-date?

This one's out of date.  I maintain a manual set of PPAs that cover
Ubuntu up to Vivid.  Perhaps we should add a date to the entry to 
make it clear when it was last updated!

> 
> 2. The docs state: Note that you require OPAM 1.1 or greater to use
> with Mirage. Some distribution packages provide earlier versions.
> Running opam init with 1.1.1 on Ubuntu Trusty (14.04) results in the
> following error:
> 
> [ERROR] Your version of OPAM (1.1.1) is not recent enough to read
> ~/.opam/repo/default/packages/websocket/websocket.0.9.2/opam. Upgrade
> OPAM to a more recent version (at least 1.2) to read this file
> correctly.
> [WARNING] Errors while parsing websocket.0.9.2 OPAM file, skipping.

Ubuntu Trusty unfortunately installed a broken OPAM package.  There's
an easy fix: if you use this PPA:

https://launchpad.net/~avsm/+archive/ubuntu/ocaml42+opam12

It will include Trusty packages that work.  Vivid is currently compiling
there.

> 
> 3. Information on https://github.com/ocaml/opam/wiki/Quick_Install is
> also out of date regarding the above. The PPA mentioned also has
> Trusty packages although this isn't mentioned.

Ack, I'll fix this shortly.

> 
> 
> I should have a Puppet (disclaimer I work for Puppet Labs in
> Cambridge, but this is a pet project rather than work) module released
> soon that helps build an Ubuntu Trusty box for building mirage
> unikernels.
> 
> My vague plan from there is to turn that into zero or more of: a local
> compile service, a test harness for testing unikernel
> compilation/execution and/or a remote compile service.
> 
> I'll post here when I have code to show, but if anyone is particularly
> interested let me know. I'm a newbie when it comes to ocaml but I've
> lots of experience with automation and infrastructure.

This all sounds fantastically useful for us at this stage!  I'll help
in any way I can.

-anil

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon May 04 16:01:17 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 04 May 2015 16:01:17 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpIni-0006bx-T8; Mon, 04 May 2015 16:00:58 +0000
Received: from mail6.bemta4.messagelabs.com ([85.158.143.247])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <justin@specialbusservice.com>) id 1YpInh-0006bs-Vr
	for MirageOS-devel@lists.xenproject.org; Mon, 04 May 2015 16:00:58 +0000
Received: from [85.158.143.35] by server-1.bemta-4.messagelabs.com id
	84/96-03033-9B797455; Mon, 04 May 2015 16:00:57 +0000
X-Env-Sender: justin@specialbusservice.com
X-Msg-Ref: server-11.tower-21.messagelabs.com!1430755256!690949!1
X-Originating-IP: [209.85.212.169]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 25220 invoked from network); 4 May 2015 16:00:56 -0000
Received: from mail-wi0-f169.google.com (HELO mail-wi0-f169.google.com)
	(209.85.212.169)
	by server-11.tower-21.messagelabs.com with RC4-SHA encrypted SMTP;
	4 May 2015 16:00:56 -0000
Received: by wicmx19 with SMTP id mx19so80672389wic.1
	for <MirageOS-devel@lists.xenproject.org>;
	Mon, 04 May 2015 09:00:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=specialbusservice.com; s=google;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=7fD23Z9Tzi0A3Tty3hWNdumNWNHSquMrz2ROaOJ4lIQ=;
	b=O2ylZYvcxmBVk43bNKMdx4hx6zKBPIJfeXcCxz5+LKE+7L0KHvMmzxo5ZryoCHGz+2
	NyR7DF83e6+M6ZGAk5ioNoZTkhFBJC0+CQZHxmgJqk+mzD5AF+RyBUHRutpkt4l65tYK
	lWd9Gn+jbkWCtsWNzJlhvXRqIo0xdrmJXeioE=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=7fD23Z9Tzi0A3Tty3hWNdumNWNHSquMrz2ROaOJ4lIQ=;
	b=W0eIWMRfyfW0bu2d/05SELxpFe0oyT1cxdvLDnFG7Gs/MYfAgtyXSaU+t6yTnjZPBY
	MRN+tbnPh883dMfoW7JlaL3Qay7w0NguEHqLlCDzkodoVW6VXJY+4wmgZobF9b81BHjt
	+XAPqyuUdjTvdTKWqArbOHtfINWfpIVDyjUWWKOqKEy8yxRS4AFNudTb/mizxuwuHoIo
	rWCN+p8Dp44XRbdJAya/GtEauGPgi1lTAdrgqYvxyk6l+GAUcwgrmN0SBQUs6Vt3GmD1
	xm4R0kmzkSv+pSWb9CZg6JlznS0GSDUGHfXGR3qj9IhqOFkDoys8GNrxPvi2YDFv0zUf
	+/Xw==
X-Gm-Message-State: ALoCoQky7RofYn9O4goVNID3vW0EYXrXbyaKhesJoT4xflPCeD8mmbaJ6KAnAWMmcyUguXIjlmZl
MIME-Version: 1.0
X-Received: by 10.180.9.78 with SMTP id x14mr20829862wia.69.1430755256338;
	Mon, 04 May 2015 09:00:56 -0700 (PDT)
Received: by 10.28.13.85 with HTTP; Mon, 4 May 2015 09:00:56 -0700 (PDT)
In-Reply-To: <5CAB559F-EBD5-4A04-90A1-2E7381A95A1E@recoil.org>
References: <CAFi_6yKN3n-XKFbryUewo++DR_UidFCupocFA5+WaDbsATXZOw@mail.gmail.com>
	<5CAB559F-EBD5-4A04-90A1-2E7381A95A1E@recoil.org>
Date: Mon, 4 May 2015 17:00:56 +0100
Message-ID: <CAK4o1WzBJs9M3a8DZe8P+yq1GmX5e08HkTTcQCocFbe89Q2beg@mail.gmail.com>
From: Justin Cormack <justin@specialbusservice.com>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: MirageOS-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Getting started documentation issues
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 4 May 2015 at 15:10, Anil Madhavapeddy <anil@recoil.org> wrote:
> On 4 May 2015, at 07:03, Gareth Rushgrove <gareth@morethanseven.net> wrote:
>>
>> I'm tinkering with some automation to make getting started with Mirage
>> easier and ran into a few issues I thought I'd mention.
>>
>> While following the docs at: http://openmirage.org/wiki/install
>>
>> 1. The list of supported operating systems (ArchLinux, Debian Wheezy,
>> Ubuntu Precise/Lucid/Raring/Saucy, CentOS 6.4 and MacOS X 10.8 and
>> 10.9) appears to contain older systems. Is this still up-to-date?
>
> This one's out of date.  I maintain a manual set of PPAs that cover
> Ubuntu up to Vivid.  Perhaps we should add a date to the entry to
> make it clear when it was last updated!

Vivid seems to work fine out of the box with the upstream packages.

Justin

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon May 04 16:01:17 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 04 May 2015 16:01:17 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpIni-0006bx-T8; Mon, 04 May 2015 16:00:58 +0000
Received: from mail6.bemta4.messagelabs.com ([85.158.143.247])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <justin@specialbusservice.com>) id 1YpInh-0006bs-Vr
	for MirageOS-devel@lists.xenproject.org; Mon, 04 May 2015 16:00:58 +0000
Received: from [85.158.143.35] by server-1.bemta-4.messagelabs.com id
	84/96-03033-9B797455; Mon, 04 May 2015 16:00:57 +0000
X-Env-Sender: justin@specialbusservice.com
X-Msg-Ref: server-11.tower-21.messagelabs.com!1430755256!690949!1
X-Originating-IP: [209.85.212.169]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 25220 invoked from network); 4 May 2015 16:00:56 -0000
Received: from mail-wi0-f169.google.com (HELO mail-wi0-f169.google.com)
	(209.85.212.169)
	by server-11.tower-21.messagelabs.com with RC4-SHA encrypted SMTP;
	4 May 2015 16:00:56 -0000
Received: by wicmx19 with SMTP id mx19so80672389wic.1
	for <MirageOS-devel@lists.xenproject.org>;
	Mon, 04 May 2015 09:00:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=specialbusservice.com; s=google;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=7fD23Z9Tzi0A3Tty3hWNdumNWNHSquMrz2ROaOJ4lIQ=;
	b=O2ylZYvcxmBVk43bNKMdx4hx6zKBPIJfeXcCxz5+LKE+7L0KHvMmzxo5ZryoCHGz+2
	NyR7DF83e6+M6ZGAk5ioNoZTkhFBJC0+CQZHxmgJqk+mzD5AF+RyBUHRutpkt4l65tYK
	lWd9Gn+jbkWCtsWNzJlhvXRqIo0xdrmJXeioE=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=7fD23Z9Tzi0A3Tty3hWNdumNWNHSquMrz2ROaOJ4lIQ=;
	b=W0eIWMRfyfW0bu2d/05SELxpFe0oyT1cxdvLDnFG7Gs/MYfAgtyXSaU+t6yTnjZPBY
	MRN+tbnPh883dMfoW7JlaL3Qay7w0NguEHqLlCDzkodoVW6VXJY+4wmgZobF9b81BHjt
	+XAPqyuUdjTvdTKWqArbOHtfINWfpIVDyjUWWKOqKEy8yxRS4AFNudTb/mizxuwuHoIo
	rWCN+p8Dp44XRbdJAya/GtEauGPgi1lTAdrgqYvxyk6l+GAUcwgrmN0SBQUs6Vt3GmD1
	xm4R0kmzkSv+pSWb9CZg6JlznS0GSDUGHfXGR3qj9IhqOFkDoys8GNrxPvi2YDFv0zUf
	+/Xw==
X-Gm-Message-State: ALoCoQky7RofYn9O4goVNID3vW0EYXrXbyaKhesJoT4xflPCeD8mmbaJ6KAnAWMmcyUguXIjlmZl
MIME-Version: 1.0
X-Received: by 10.180.9.78 with SMTP id x14mr20829862wia.69.1430755256338;
	Mon, 04 May 2015 09:00:56 -0700 (PDT)
Received: by 10.28.13.85 with HTTP; Mon, 4 May 2015 09:00:56 -0700 (PDT)
In-Reply-To: <5CAB559F-EBD5-4A04-90A1-2E7381A95A1E@recoil.org>
References: <CAFi_6yKN3n-XKFbryUewo++DR_UidFCupocFA5+WaDbsATXZOw@mail.gmail.com>
	<5CAB559F-EBD5-4A04-90A1-2E7381A95A1E@recoil.org>
Date: Mon, 4 May 2015 17:00:56 +0100
Message-ID: <CAK4o1WzBJs9M3a8DZe8P+yq1GmX5e08HkTTcQCocFbe89Q2beg@mail.gmail.com>
From: Justin Cormack <justin@specialbusservice.com>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: MirageOS-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Getting started documentation issues
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 4 May 2015 at 15:10, Anil Madhavapeddy <anil@recoil.org> wrote:
> On 4 May 2015, at 07:03, Gareth Rushgrove <gareth@morethanseven.net> wrote:
>>
>> I'm tinkering with some automation to make getting started with Mirage
>> easier and ran into a few issues I thought I'd mention.
>>
>> While following the docs at: http://openmirage.org/wiki/install
>>
>> 1. The list of supported operating systems (ArchLinux, Debian Wheezy,
>> Ubuntu Precise/Lucid/Raring/Saucy, CentOS 6.4 and MacOS X 10.8 and
>> 10.9) appears to contain older systems. Is this still up-to-date?
>
> This one's out of date.  I maintain a manual set of PPAs that cover
> Ubuntu up to Vivid.  Perhaps we should add a date to the entry to
> make it clear when it was last updated!

Vivid seems to work fine out of the box with the upstream packages.

Justin

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon May 04 17:42:12 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 04 May 2015 17:42:12 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpKNQ-0001j0-Hp; Mon, 04 May 2015 17:41:56 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1YpKNO-0001iv-Ji
	for mirageos-devel@lists.xenproject.org; Mon, 04 May 2015 17:41:54 +0000
Received: from [193.109.254.147] by server-5.bemta-14.messagelabs.com id
	9F/6F-05046-16FA7455; Mon, 04 May 2015 17:41:53 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-14.tower-27.messagelabs.com!1430761312!14513306!1
X-Originating-IP: [74.125.82.44]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 464 invoked from network); 4 May 2015 17:41:53 -0000
Received: from mail-wg0-f44.google.com (HELO mail-wg0-f44.google.com)
	(74.125.82.44)
	by server-14.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	4 May 2015 17:41:53 -0000
Received: by wgin8 with SMTP id n8so157607412wgi.0
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 04 May 2015 10:41:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=WlYdNNprD0oCf36FdBhcLyPc1kZaeZMRrZg/EMmg3Qs=;
	b=w50Tn7zhZrUhHWJ2ADR7W86pbDbiKjY6eK3IyOlLoZ6LotxLLUBtM5yWHnTrhZnubM
	QQs4SuNkH+9cIE1VzOSebERQP2P5hDb2/Xhh2v73eA+zfky/6uV/0K2PkSGGa2QcEqFE
	bUZE+1H5IhuK1okBDbgXVCjl3YS56AwRxietjZXY8E38YxtnzvraSK2LCLRxeHk+guFN
	Urr5HKer4b2LqsG6q4H3NWH/oRUGTGhid0Oz9Ghusogissuv2DiLPfqFTrlgNPDIhOIa
	iZJcFxrqfYvUBzfMZFV8K+APqnnntnG3tdUmhCdJ8YFlKxeKnySeTj3wJhI3AvvJ0Lqi
	mSfw==
X-Received: by 10.194.187.178 with SMTP id ft18mr3730918wjc.118.1430761312573; 
	Mon, 04 May 2015 10:41:52 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122])
	by mx.google.com with ESMTPSA id ex5sm12206733wib.2.2015.05.04.10.41.51
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Mon, 04 May 2015 10:41:51 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <B2B9E21B-5A73-4E40-979A-FE5A169BF5C8@recoil.org>
Date: Mon, 4 May 2015 18:41:50 +0100
Message-Id: <FC5AC935-6ED9-4525-AC5E-8B760EFD6B67@gazagnaire.org>
References: <B6D6CC6D-3C25-4A1D-AEA6-67F5A4E03F9B@gazagnaire.org>
	<B2B9E21B-5A73-4E40-979A-FE5A169BF5C8@recoil.org>
To: Anil Madhavapeddy <anil@recoil.org>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Irmin demo
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

> The custom merge one is particularly nice but hard to see interactively -- would you mind if I added some pauses in between the various operations so that the graph view has a chance to catch up?

I don't mind at all, any improvement to the examples/demos is welcome!


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon May 04 17:42:12 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 04 May 2015 17:42:12 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpKNQ-0001j0-Hp; Mon, 04 May 2015 17:41:56 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1YpKNO-0001iv-Ji
	for mirageos-devel@lists.xenproject.org; Mon, 04 May 2015 17:41:54 +0000
Received: from [193.109.254.147] by server-5.bemta-14.messagelabs.com id
	9F/6F-05046-16FA7455; Mon, 04 May 2015 17:41:53 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-14.tower-27.messagelabs.com!1430761312!14513306!1
X-Originating-IP: [74.125.82.44]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 464 invoked from network); 4 May 2015 17:41:53 -0000
Received: from mail-wg0-f44.google.com (HELO mail-wg0-f44.google.com)
	(74.125.82.44)
	by server-14.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	4 May 2015 17:41:53 -0000
Received: by wgin8 with SMTP id n8so157607412wgi.0
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 04 May 2015 10:41:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=WlYdNNprD0oCf36FdBhcLyPc1kZaeZMRrZg/EMmg3Qs=;
	b=w50Tn7zhZrUhHWJ2ADR7W86pbDbiKjY6eK3IyOlLoZ6LotxLLUBtM5yWHnTrhZnubM
	QQs4SuNkH+9cIE1VzOSebERQP2P5hDb2/Xhh2v73eA+zfky/6uV/0K2PkSGGa2QcEqFE
	bUZE+1H5IhuK1okBDbgXVCjl3YS56AwRxietjZXY8E38YxtnzvraSK2LCLRxeHk+guFN
	Urr5HKer4b2LqsG6q4H3NWH/oRUGTGhid0Oz9Ghusogissuv2DiLPfqFTrlgNPDIhOIa
	iZJcFxrqfYvUBzfMZFV8K+APqnnntnG3tdUmhCdJ8YFlKxeKnySeTj3wJhI3AvvJ0Lqi
	mSfw==
X-Received: by 10.194.187.178 with SMTP id ft18mr3730918wjc.118.1430761312573; 
	Mon, 04 May 2015 10:41:52 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122])
	by mx.google.com with ESMTPSA id ex5sm12206733wib.2.2015.05.04.10.41.51
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Mon, 04 May 2015 10:41:51 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <B2B9E21B-5A73-4E40-979A-FE5A169BF5C8@recoil.org>
Date: Mon, 4 May 2015 18:41:50 +0100
Message-Id: <FC5AC935-6ED9-4525-AC5E-8B760EFD6B67@gazagnaire.org>
References: <B6D6CC6D-3C25-4A1D-AEA6-67F5A4E03F9B@gazagnaire.org>
	<B2B9E21B-5A73-4E40-979A-FE5A169BF5C8@recoil.org>
To: Anil Madhavapeddy <anil@recoil.org>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Irmin demo
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

> The custom merge one is particularly nice but hard to see interactively -- would you mind if I added some pauses in between the various operations so that the graph view has a chance to catch up?

I don't mind at all, any improvement to the examples/demos is welcome!


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon May 04 18:13:45 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 04 May 2015 18:13:45 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpKrz-0002iB-2N; Mon, 04 May 2015 18:13:31 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <robertream@gmail.com>) id 1YpKrw-0002i6-VE
	for MirageOS-devel@lists.xenproject.org; Mon, 04 May 2015 18:13:29 +0000
Received: from [85.158.137.68] by server-16.bemta-3.messagelabs.com id
	E9/B2-11242-7C6B7455; Mon, 04 May 2015 18:13:27 +0000
X-Env-Sender: robertream@gmail.com
X-Msg-Ref: server-3.tower-31.messagelabs.com!1430763206!12256713!1
X-Originating-IP: [209.85.212.182]
X-SpamReason: No, hits=0.9 required=7.0 tests=HTML_40_50,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 11618 invoked from network); 4 May 2015 18:13:26 -0000
Received: from mail-wi0-f182.google.com (HELO mail-wi0-f182.google.com)
	(209.85.212.182)
	by server-3.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	4 May 2015 18:13:26 -0000
Received: by widdi4 with SMTP id di4so131226932wid.0
	for <MirageOS-devel@lists.xenproject.org>;
	Mon, 04 May 2015 11:13:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=0cc9ASV2ys+XZ9EuB5/uFfWGKhax0D6eXPERIUeCfC8=;
	b=yktWoJ0KFbyhKJZ4PgGRo6pHf+CWcfOLhZS6HYzUQU7Ay5J7oH3M4A6qdtJPOEDrAG
	TM8KHrSTpBlA7fHMq+dtg7No4BgQF8PkzrgVUMWdU70K0t9fTzQQxa5cCt+r2/p0UrjI
	Wn6lMBo/bCg3+C7Q/btaUvD3ntSdHpvGCHEhE+VjEJWuZqddpGM4t8XGmWEGKnW0m65/
	khR01h1twiJP5WaPMtIYe8aekWUAMUyNMCBavXqCFoz6qiNc5APbuozObSgxqcER73jS
	X3mPC3Z9pV+Vi/kt0wDO++9QcC7SvYiLLR2Fz49fcVfWs45z/xgJMC16t5klxTBGCvXg
	hP4Q==
MIME-Version: 1.0
X-Received: by 10.180.74.104 with SMTP id s8mr21939734wiv.40.1430763206710;
	Mon, 04 May 2015 11:13:26 -0700 (PDT)
Received: by 10.194.162.197 with HTTP; Mon, 4 May 2015 11:13:26 -0700 (PDT)
In-Reply-To: <CAK4o1WzBJs9M3a8DZe8P+yq1GmX5e08HkTTcQCocFbe89Q2beg@mail.gmail.com>
References: <CAFi_6yKN3n-XKFbryUewo++DR_UidFCupocFA5+WaDbsATXZOw@mail.gmail.com>
	<5CAB559F-EBD5-4A04-90A1-2E7381A95A1E@recoil.org>
	<CAK4o1WzBJs9M3a8DZe8P+yq1GmX5e08HkTTcQCocFbe89Q2beg@mail.gmail.com>
Date: Mon, 4 May 2015 11:13:26 -0700
Message-ID: <CAERB2H7=oGp_YPMxBU+7xLNektNBVT28fkThSc4GeQ4PjJRPPA@mail.gmail.com>
From: Robert Ream <robertream@gmail.com>
To: Justin Cormack <justin@specialbusservice.com>
Cc: mirageos-devel <MirageOS-devel@lists.xenproject.org>,
	Anil Madhavapeddy <anil@recoil.org>
Subject: Re: [MirageOS-devel] Getting started documentation issues
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============3231939178635192064=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============3231939178635192064==
Content-Type: multipart/alternative; boundary=f46d043c804ab19cd1051545847f

--f46d043c804ab19cd1051545847f
Content-Type: text/plain; charset=UTF-8

As noted in another thread, for some reason I had problems with Vivid so I
went back to Trusty and got it working... but I'm new to this project.

On Mon, May 4, 2015 at 9:00 AM, Justin Cormack <justin@specialbusservice.com
> wrote:

> On 4 May 2015 at 15:10, Anil Madhavapeddy <anil@recoil.org> wrote:
> > On 4 May 2015, at 07:03, Gareth Rushgrove <gareth@morethanseven.net>
> wrote:
> >>
> >> I'm tinkering with some automation to make getting started with Mirage
> >> easier and ran into a few issues I thought I'd mention.
> >>
> >> While following the docs at: http://openmirage.org/wiki/install
> >>
> >> 1. The list of supported operating systems (ArchLinux, Debian Wheezy,
> >> Ubuntu Precise/Lucid/Raring/Saucy, CentOS 6.4 and MacOS X 10.8 and
> >> 10.9) appears to contain older systems. Is this still up-to-date?
> >
> > This one's out of date.  I maintain a manual set of PPAs that cover
> > Ubuntu up to Vivid.  Perhaps we should add a date to the entry to
> > make it clear when it was last updated!
>
> Vivid seems to work fine out of the box with the upstream packages.
>
> Justin
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>

--f46d043c804ab19cd1051545847f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">As noted in another thread, for some reason I had problems=
 with Vivid so I went back to Trusty and got it working... but I&#39;m new =
to this project.</div><div class=3D"gmail_extra"><br><div class=3D"gmail_qu=
ote">On Mon, May 4, 2015 at 9:00 AM, Justin Cormack <span dir=3D"ltr">&lt;<=
a href=3D"mailto:justin@specialbusservice.com" target=3D"_blank">justin@spe=
cialbusservice.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">=
<span class=3D"">On 4 May 2015 at 15:10, Anil Madhavapeddy &lt;<a href=3D"m=
ailto:anil@recoil.org">anil@recoil.org</a>&gt; wrote:<br>
&gt; On 4 May 2015, at 07:03, Gareth Rushgrove &lt;<a href=3D"mailto:gareth=
@morethanseven.net">gareth@morethanseven.net</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m tinkering with some automation to make getting started wit=
h Mirage<br>
&gt;&gt; easier and ran into a few issues I thought I&#39;d mention.<br>
&gt;&gt;<br>
&gt;&gt; While following the docs at: <a href=3D"http://openmirage.org/wiki=
/install" target=3D"_blank">http://openmirage.org/wiki/install</a><br>
&gt;&gt;<br>
&gt;&gt; 1. The list of supported operating systems (ArchLinux, Debian Whee=
zy,<br>
&gt;&gt; Ubuntu Precise/Lucid/Raring/Saucy, CentOS 6.4 and MacOS X 10.8 and=
<br>
&gt;&gt; 10.9) appears to contain older systems. Is this still up-to-date?<=
br>
&gt;<br>
&gt; This one&#39;s out of date.=C2=A0 I maintain a manual set of PPAs that=
 cover<br>
&gt; Ubuntu up to Vivid.=C2=A0 Perhaps we should add a date to the entry to=
<br>
&gt; make it clear when it was last updated!<br>
<br>
</span>Vivid seems to work fine out of the box with the upstream packages.<=
br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Justin<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
_______________________________________________<br>
MirageOS-devel mailing list<br>
<a href=3D"mailto:MirageOS-devel@lists.xenproject.org">MirageOS-devel@lists=
.xenproject.org</a><br>
<a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-de=
vel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/listinfo=
/mirageos-devel</a><br>
</div></div></blockquote></div><br></div>

--f46d043c804ab19cd1051545847f--


--===============3231939178635192064==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============3231939178635192064==--


From mirageos-devel-bounces@lists.xenproject.org Mon May 04 18:13:45 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 04 May 2015 18:13:45 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpKrz-0002iB-2N; Mon, 04 May 2015 18:13:31 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <robertream@gmail.com>) id 1YpKrw-0002i6-VE
	for MirageOS-devel@lists.xenproject.org; Mon, 04 May 2015 18:13:29 +0000
Received: from [85.158.137.68] by server-16.bemta-3.messagelabs.com id
	E9/B2-11242-7C6B7455; Mon, 04 May 2015 18:13:27 +0000
X-Env-Sender: robertream@gmail.com
X-Msg-Ref: server-3.tower-31.messagelabs.com!1430763206!12256713!1
X-Originating-IP: [209.85.212.182]
X-SpamReason: No, hits=0.9 required=7.0 tests=HTML_40_50,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 11618 invoked from network); 4 May 2015 18:13:26 -0000
Received: from mail-wi0-f182.google.com (HELO mail-wi0-f182.google.com)
	(209.85.212.182)
	by server-3.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	4 May 2015 18:13:26 -0000
Received: by widdi4 with SMTP id di4so131226932wid.0
	for <MirageOS-devel@lists.xenproject.org>;
	Mon, 04 May 2015 11:13:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=0cc9ASV2ys+XZ9EuB5/uFfWGKhax0D6eXPERIUeCfC8=;
	b=yktWoJ0KFbyhKJZ4PgGRo6pHf+CWcfOLhZS6HYzUQU7Ay5J7oH3M4A6qdtJPOEDrAG
	TM8KHrSTpBlA7fHMq+dtg7No4BgQF8PkzrgVUMWdU70K0t9fTzQQxa5cCt+r2/p0UrjI
	Wn6lMBo/bCg3+C7Q/btaUvD3ntSdHpvGCHEhE+VjEJWuZqddpGM4t8XGmWEGKnW0m65/
	khR01h1twiJP5WaPMtIYe8aekWUAMUyNMCBavXqCFoz6qiNc5APbuozObSgxqcER73jS
	X3mPC3Z9pV+Vi/kt0wDO++9QcC7SvYiLLR2Fz49fcVfWs45z/xgJMC16t5klxTBGCvXg
	hP4Q==
MIME-Version: 1.0
X-Received: by 10.180.74.104 with SMTP id s8mr21939734wiv.40.1430763206710;
	Mon, 04 May 2015 11:13:26 -0700 (PDT)
Received: by 10.194.162.197 with HTTP; Mon, 4 May 2015 11:13:26 -0700 (PDT)
In-Reply-To: <CAK4o1WzBJs9M3a8DZe8P+yq1GmX5e08HkTTcQCocFbe89Q2beg@mail.gmail.com>
References: <CAFi_6yKN3n-XKFbryUewo++DR_UidFCupocFA5+WaDbsATXZOw@mail.gmail.com>
	<5CAB559F-EBD5-4A04-90A1-2E7381A95A1E@recoil.org>
	<CAK4o1WzBJs9M3a8DZe8P+yq1GmX5e08HkTTcQCocFbe89Q2beg@mail.gmail.com>
Date: Mon, 4 May 2015 11:13:26 -0700
Message-ID: <CAERB2H7=oGp_YPMxBU+7xLNektNBVT28fkThSc4GeQ4PjJRPPA@mail.gmail.com>
From: Robert Ream <robertream@gmail.com>
To: Justin Cormack <justin@specialbusservice.com>
Cc: mirageos-devel <MirageOS-devel@lists.xenproject.org>,
	Anil Madhavapeddy <anil@recoil.org>
Subject: Re: [MirageOS-devel] Getting started documentation issues
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============3231939178635192064=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============3231939178635192064==
Content-Type: multipart/alternative; boundary=f46d043c804ab19cd1051545847f

--f46d043c804ab19cd1051545847f
Content-Type: text/plain; charset=UTF-8

As noted in another thread, for some reason I had problems with Vivid so I
went back to Trusty and got it working... but I'm new to this project.

On Mon, May 4, 2015 at 9:00 AM, Justin Cormack <justin@specialbusservice.com
> wrote:

> On 4 May 2015 at 15:10, Anil Madhavapeddy <anil@recoil.org> wrote:
> > On 4 May 2015, at 07:03, Gareth Rushgrove <gareth@morethanseven.net>
> wrote:
> >>
> >> I'm tinkering with some automation to make getting started with Mirage
> >> easier and ran into a few issues I thought I'd mention.
> >>
> >> While following the docs at: http://openmirage.org/wiki/install
> >>
> >> 1. The list of supported operating systems (ArchLinux, Debian Wheezy,
> >> Ubuntu Precise/Lucid/Raring/Saucy, CentOS 6.4 and MacOS X 10.8 and
> >> 10.9) appears to contain older systems. Is this still up-to-date?
> >
> > This one's out of date.  I maintain a manual set of PPAs that cover
> > Ubuntu up to Vivid.  Perhaps we should add a date to the entry to
> > make it clear when it was last updated!
>
> Vivid seems to work fine out of the box with the upstream packages.
>
> Justin
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>

--f46d043c804ab19cd1051545847f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">As noted in another thread, for some reason I had problems=
 with Vivid so I went back to Trusty and got it working... but I&#39;m new =
to this project.</div><div class=3D"gmail_extra"><br><div class=3D"gmail_qu=
ote">On Mon, May 4, 2015 at 9:00 AM, Justin Cormack <span dir=3D"ltr">&lt;<=
a href=3D"mailto:justin@specialbusservice.com" target=3D"_blank">justin@spe=
cialbusservice.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">=
<span class=3D"">On 4 May 2015 at 15:10, Anil Madhavapeddy &lt;<a href=3D"m=
ailto:anil@recoil.org">anil@recoil.org</a>&gt; wrote:<br>
&gt; On 4 May 2015, at 07:03, Gareth Rushgrove &lt;<a href=3D"mailto:gareth=
@morethanseven.net">gareth@morethanseven.net</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m tinkering with some automation to make getting started wit=
h Mirage<br>
&gt;&gt; easier and ran into a few issues I thought I&#39;d mention.<br>
&gt;&gt;<br>
&gt;&gt; While following the docs at: <a href=3D"http://openmirage.org/wiki=
/install" target=3D"_blank">http://openmirage.org/wiki/install</a><br>
&gt;&gt;<br>
&gt;&gt; 1. The list of supported operating systems (ArchLinux, Debian Whee=
zy,<br>
&gt;&gt; Ubuntu Precise/Lucid/Raring/Saucy, CentOS 6.4 and MacOS X 10.8 and=
<br>
&gt;&gt; 10.9) appears to contain older systems. Is this still up-to-date?<=
br>
&gt;<br>
&gt; This one&#39;s out of date.=C2=A0 I maintain a manual set of PPAs that=
 cover<br>
&gt; Ubuntu up to Vivid.=C2=A0 Perhaps we should add a date to the entry to=
<br>
&gt; make it clear when it was last updated!<br>
<br>
</span>Vivid seems to work fine out of the box with the upstream packages.<=
br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Justin<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
_______________________________________________<br>
MirageOS-devel mailing list<br>
<a href=3D"mailto:MirageOS-devel@lists.xenproject.org">MirageOS-devel@lists=
.xenproject.org</a><br>
<a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-de=
vel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/listinfo=
/mirageos-devel</a><br>
</div></div></blockquote></div><br></div>

--f46d043c804ab19cd1051545847f--


--===============3231939178635192064==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============3231939178635192064==--


From mirageos-devel-bounces@lists.xenproject.org Mon May 04 18:29:00 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 04 May 2015 18:29:00 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpL6m-00033C-8y; Mon, 04 May 2015 18:28:48 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <gareth@morethanseven.net>) id 1YpL6k-000337-Oc
	for MirageOS-devel@lists.xenproject.org; Mon, 04 May 2015 18:28:46 +0000
Received: from [85.158.137.68] by server-4.bemta-3.messagelabs.com id
	6C/C6-18531-D5AB7455; Mon, 04 May 2015 18:28:45 +0000
X-Env-Sender: gareth@morethanseven.net
X-Msg-Ref: server-3.tower-31.messagelabs.com!1430764124!12258810!1
X-Originating-IP: [74.125.82.49]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 22721 invoked from network); 4 May 2015 18:28:44 -0000
Received: from mail-wg0-f49.google.com (HELO mail-wg0-f49.google.com)
	(74.125.82.49)
	by server-3.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	4 May 2015 18:28:44 -0000
Received: by wgin8 with SMTP id n8so158852117wgi.0
	for <MirageOS-devel@lists.xenproject.org>;
	Mon, 04 May 2015 11:28:44 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=pYJrs+RaBcxNdWY1M7xbAhzKaBcjttXaWDTfF1ha9hE=;
	b=AVXXI54GdNGaU7wYahwi53x09t9lD+KRu8US/EwWPIQmTFhDCTC6mKg4MeJSiDglT7
	hvsavkqbX55Lb4zFgd/w/uMMse2U8L5Gr9pp92kk0Xe9LiQG17su7L3+NpXG2NmlZstk
	E3xYHGoG/n6JfX0wsc6RTkgCOXT7voOmCcaAn4mqULpB7eQvy83O9nuLZBPidJMGLI8R
	D2VJ1TaTuyrBYarDqn9ZfEpHKg+MEyuOxOT372c7J+zGlJxkiOMFHr8xqN+Zs+KzqhI5
	3vbXKm8xXX7OJmgqzj9t/SBKwl4xC1bszKMd+ikAkHaQifJwgGBzxeHycvn3mX4O+InS
	h7YA==
X-Gm-Message-State: ALoCoQl1X7dZ9A9hxEbxwonQYy75VNrwr0pN2UaG1QmKehJIXnwllOZxXx9zAt8hGzGPNYqOWUBr
MIME-Version: 1.0
X-Received: by 10.194.189.146 with SMTP id gi18mr20469710wjc.13.1430764124411; 
	Mon, 04 May 2015 11:28:44 -0700 (PDT)
Received: by 10.180.65.98 with HTTP; Mon, 4 May 2015 11:28:44 -0700 (PDT)
In-Reply-To: <CAERB2H7=oGp_YPMxBU+7xLNektNBVT28fkThSc4GeQ4PjJRPPA@mail.gmail.com>
References: <CAFi_6yKN3n-XKFbryUewo++DR_UidFCupocFA5+WaDbsATXZOw@mail.gmail.com>
	<5CAB559F-EBD5-4A04-90A1-2E7381A95A1E@recoil.org>
	<CAK4o1WzBJs9M3a8DZe8P+yq1GmX5e08HkTTcQCocFbe89Q2beg@mail.gmail.com>
	<CAERB2H7=oGp_YPMxBU+7xLNektNBVT28fkThSc4GeQ4PjJRPPA@mail.gmail.com>
Date: Mon, 4 May 2015 19:28:44 +0100
Message-ID: <CAFi_6yKDjEDWTi8PSZyqC4YHPpxfNFMKbffjembj95UrLzmMyA@mail.gmail.com>
From: Gareth Rushgrove <gareth@morethanseven.net>
To: Robert Ream <robertream@gmail.com>
Cc: mirageos-devel <MirageOS-devel@lists.xenproject.org>,
	Anil Madhavapeddy <anil@recoil.org>
Subject: Re: [MirageOS-devel] Getting started documentation issues
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 4 May 2015 at 19:13, Robert Ream <robertream@gmail.com> wrote:
> As noted in another thread, for some reason I had problems with Vivid so I
> went back to Trusty and got it working... but I'm new to this project.
>

That's one of the things I'd like to fix, or at least make it easy to
see whether it's working.

Along with the mentioned Puppet module I'm writing a set of acceptance
tests. These can be set to run periodically, or just be run manually.
They will spin up a virtual machine, run the Puppet code (to install
mirage), build a unix unikernel, build a xen unikernel, run the unix
unikernel and assert that all of that worked (ie. no errors) and that
the unikernel works (probably a simple http server). If you wanted to
run a shell script instead of run Puppet you should be able to drop
that in easily enough.

I have this partially working with Trusty now. Once I've got that
actually working I'll ship it and probably work on verifying Vivid
support.

Gareth

> On Mon, May 4, 2015 at 9:00 AM, Justin Cormack
> <justin@specialbusservice.com> wrote:
>>
>> On 4 May 2015 at 15:10, Anil Madhavapeddy <anil@recoil.org> wrote:
>> > On 4 May 2015, at 07:03, Gareth Rushgrove <gareth@morethanseven.net>
>> > wrote:
>> >>
>> >> I'm tinkering with some automation to make getting started with Mirage
>> >> easier and ran into a few issues I thought I'd mention.
>> >>
>> >> While following the docs at: http://openmirage.org/wiki/install
>> >>
>> >> 1. The list of supported operating systems (ArchLinux, Debian Wheezy,
>> >> Ubuntu Precise/Lucid/Raring/Saucy, CentOS 6.4 and MacOS X 10.8 and
>> >> 10.9) appears to contain older systems. Is this still up-to-date?
>> >
>> > This one's out of date.  I maintain a manual set of PPAs that cover
>> > Ubuntu up to Vivid.  Perhaps we should add a date to the entry to
>> > make it clear when it was last updated!
>>
>> Vivid seems to work fine out of the box with the upstream packages.
>>
>> Justin
>>
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>



-- 
Gareth Rushgrove
@garethr

devopsweekly.com
morethanseven.net
garethrushgrove.com

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon May 04 18:29:00 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 04 May 2015 18:29:00 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpL6m-00033C-8y; Mon, 04 May 2015 18:28:48 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <gareth@morethanseven.net>) id 1YpL6k-000337-Oc
	for MirageOS-devel@lists.xenproject.org; Mon, 04 May 2015 18:28:46 +0000
Received: from [85.158.137.68] by server-4.bemta-3.messagelabs.com id
	6C/C6-18531-D5AB7455; Mon, 04 May 2015 18:28:45 +0000
X-Env-Sender: gareth@morethanseven.net
X-Msg-Ref: server-3.tower-31.messagelabs.com!1430764124!12258810!1
X-Originating-IP: [74.125.82.49]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 22721 invoked from network); 4 May 2015 18:28:44 -0000
Received: from mail-wg0-f49.google.com (HELO mail-wg0-f49.google.com)
	(74.125.82.49)
	by server-3.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	4 May 2015 18:28:44 -0000
Received: by wgin8 with SMTP id n8so158852117wgi.0
	for <MirageOS-devel@lists.xenproject.org>;
	Mon, 04 May 2015 11:28:44 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=pYJrs+RaBcxNdWY1M7xbAhzKaBcjttXaWDTfF1ha9hE=;
	b=AVXXI54GdNGaU7wYahwi53x09t9lD+KRu8US/EwWPIQmTFhDCTC6mKg4MeJSiDglT7
	hvsavkqbX55Lb4zFgd/w/uMMse2U8L5Gr9pp92kk0Xe9LiQG17su7L3+NpXG2NmlZstk
	E3xYHGoG/n6JfX0wsc6RTkgCOXT7voOmCcaAn4mqULpB7eQvy83O9nuLZBPidJMGLI8R
	D2VJ1TaTuyrBYarDqn9ZfEpHKg+MEyuOxOT372c7J+zGlJxkiOMFHr8xqN+Zs+KzqhI5
	3vbXKm8xXX7OJmgqzj9t/SBKwl4xC1bszKMd+ikAkHaQifJwgGBzxeHycvn3mX4O+InS
	h7YA==
X-Gm-Message-State: ALoCoQl1X7dZ9A9hxEbxwonQYy75VNrwr0pN2UaG1QmKehJIXnwllOZxXx9zAt8hGzGPNYqOWUBr
MIME-Version: 1.0
X-Received: by 10.194.189.146 with SMTP id gi18mr20469710wjc.13.1430764124411; 
	Mon, 04 May 2015 11:28:44 -0700 (PDT)
Received: by 10.180.65.98 with HTTP; Mon, 4 May 2015 11:28:44 -0700 (PDT)
In-Reply-To: <CAERB2H7=oGp_YPMxBU+7xLNektNBVT28fkThSc4GeQ4PjJRPPA@mail.gmail.com>
References: <CAFi_6yKN3n-XKFbryUewo++DR_UidFCupocFA5+WaDbsATXZOw@mail.gmail.com>
	<5CAB559F-EBD5-4A04-90A1-2E7381A95A1E@recoil.org>
	<CAK4o1WzBJs9M3a8DZe8P+yq1GmX5e08HkTTcQCocFbe89Q2beg@mail.gmail.com>
	<CAERB2H7=oGp_YPMxBU+7xLNektNBVT28fkThSc4GeQ4PjJRPPA@mail.gmail.com>
Date: Mon, 4 May 2015 19:28:44 +0100
Message-ID: <CAFi_6yKDjEDWTi8PSZyqC4YHPpxfNFMKbffjembj95UrLzmMyA@mail.gmail.com>
From: Gareth Rushgrove <gareth@morethanseven.net>
To: Robert Ream <robertream@gmail.com>
Cc: mirageos-devel <MirageOS-devel@lists.xenproject.org>,
	Anil Madhavapeddy <anil@recoil.org>
Subject: Re: [MirageOS-devel] Getting started documentation issues
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 4 May 2015 at 19:13, Robert Ream <robertream@gmail.com> wrote:
> As noted in another thread, for some reason I had problems with Vivid so I
> went back to Trusty and got it working... but I'm new to this project.
>

That's one of the things I'd like to fix, or at least make it easy to
see whether it's working.

Along with the mentioned Puppet module I'm writing a set of acceptance
tests. These can be set to run periodically, or just be run manually.
They will spin up a virtual machine, run the Puppet code (to install
mirage), build a unix unikernel, build a xen unikernel, run the unix
unikernel and assert that all of that worked (ie. no errors) and that
the unikernel works (probably a simple http server). If you wanted to
run a shell script instead of run Puppet you should be able to drop
that in easily enough.

I have this partially working with Trusty now. Once I've got that
actually working I'll ship it and probably work on verifying Vivid
support.

Gareth

> On Mon, May 4, 2015 at 9:00 AM, Justin Cormack
> <justin@specialbusservice.com> wrote:
>>
>> On 4 May 2015 at 15:10, Anil Madhavapeddy <anil@recoil.org> wrote:
>> > On 4 May 2015, at 07:03, Gareth Rushgrove <gareth@morethanseven.net>
>> > wrote:
>> >>
>> >> I'm tinkering with some automation to make getting started with Mirage
>> >> easier and ran into a few issues I thought I'd mention.
>> >>
>> >> While following the docs at: http://openmirage.org/wiki/install
>> >>
>> >> 1. The list of supported operating systems (ArchLinux, Debian Wheezy,
>> >> Ubuntu Precise/Lucid/Raring/Saucy, CentOS 6.4 and MacOS X 10.8 and
>> >> 10.9) appears to contain older systems. Is this still up-to-date?
>> >
>> > This one's out of date.  I maintain a manual set of PPAs that cover
>> > Ubuntu up to Vivid.  Perhaps we should add a date to the entry to
>> > make it clear when it was last updated!
>>
>> Vivid seems to work fine out of the box with the upstream packages.
>>
>> Justin
>>
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>



-- 
Gareth Rushgrove
@garethr

devopsweekly.com
morethanseven.net
garethrushgrove.com

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon May 04 19:15:04 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 04 May 2015 19:15:04 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpLpG-0004bX-ML; Mon, 04 May 2015 19:14:46 +0000
Received: from mail6.bemta4.messagelabs.com ([85.158.143.247])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <agarwal1975@gmail.com>) id 1YpLpG-0004bS-65
	for mirageos-devel@lists.xenproject.org; Mon, 04 May 2015 19:14:46 +0000
Received: from [85.158.143.35] by server-2.bemta-4.messagelabs.com id
	1D/0D-02760-525C7455; Mon, 04 May 2015 19:14:45 +0000
X-Env-Sender: agarwal1975@gmail.com
X-Msg-Ref: server-2.tower-21.messagelabs.com!1430766883!528413!1
X-Originating-IP: [209.85.212.172]
X-SpamReason: No, hits=0.9 required=7.0 tests=HTML_40_50,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9338 invoked from network); 4 May 2015 19:14:43 -0000
Received: from mail-wi0-f172.google.com (HELO mail-wi0-f172.google.com)
	(209.85.212.172)
	by server-2.tower-21.messagelabs.com with RC4-SHA encrypted SMTP;
	4 May 2015 19:14:43 -0000
Received: by widdi4 with SMTP id di4so120901097wid.0
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 04 May 2015 12:14:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to
	:cc:content-type;
	bh=08k+fZEHFwScKxq8pBG7TMCzlBPXdyOrEJK0rUIt/+Q=;
	b=PMyxG5tT/7yUge1V7Gw9Ui3iEw+gQ//GLAaRrhnTScd7iPT1wHrG0rzVhjW3q3428L
	41rQMWRSrye8BgKtSwzFtrtVeZGktMmTnuQ+LBrkgOlOTyAT/zaY5bpqHX/we38NxZdG
	uyY+y9dGt4QiOCYmOi/s+dGN2ze/7Y5RnpswCa5M0PGXIRS9ryQCJI3nk0c7/PhXLOTZ
	RaX5nMeHuEZO198qIJ2HCtYgPGRPP2Z+PDl0evcKVrU4UPk8exKhCGnNGZCHOzXle+IJ
	cjfHAZCfhbvWc24+Gsj9wIrfD1FMx7+LuyRxB+yolOCy2V7H4Dp6zgHS0/SoB2xPNY9N
	DZtg==
X-Received: by 10.180.187.170 with SMTP id ft10mr47719wic.75.1430766883264;
	Mon, 04 May 2015 12:14:43 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.27.187.136 with HTTP; Mon, 4 May 2015 12:14:22 -0700 (PDT)
In-Reply-To: <CAG_esB35ta00pLfgh79FA8CHVBZoVLRuS7KXoc9avXyAA7kZSw@mail.gmail.com>
References: <CAG_esB35ta00pLfgh79FA8CHVBZoVLRuS7KXoc9avXyAA7kZSw@mail.gmail.com>
From: Ashish Agarwal <agarwal1975@gmail.com>
Date: Mon, 4 May 2015 15:14:22 -0400
Message-ID: <CAMu2m2KWN0dkeq7AYTVHUFPzajV-abbBKV-5CqQC42e-DFtxEw@mail.gmail.com>
To: David Scott <scott.dj@gmail.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] code coverage testing with Bisect
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============2044026265199286799=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============2044026265199286799==
Content-Type: multipart/alternative; boundary=001a11c25ee0d560310515465f42

--001a11c25ee0d560310515465f42
Content-Type: text/plain; charset=UTF-8

Bisect is GPL. Is it compatible with Mirage's license? BTW, what is
Mirage's license? I don't see it in the main repo
<https://github.com/mirage/mirage>.

On Thu, Mar 12, 2015 at 5:34 AM, David Scott <scott.dj@gmail.com> wrote:

> Hi,
>
> I've been having a lot of fun with bisect[1] recently-- I've been using it
> to see which parts of the mirage-block-volume[2] and shared-block-ring[3]
> libraries are completely untouched by their unit tests. I found the
> following game to be quite addictive:
>
> 1. "make coverage", and load result in web-browser
> 2. spot a big chunk of obvious red (danger, danger, danger)
> 3. (thinking carefully about what could go wrong) devise an interesting
> test to stress the red bits (obviously you could cover it with a 'noddy'
> test but there is probably no point)
> 4. "make coverage", reload in browser and see the red go green!
>
> I've hooked it up with coveralls.io (admittedly in a bit of a hacky
> way[4]) such that the master branch is firmly in "development" mode,
> linking against bisect, and without checking in the oasis autogen rubbish.
> The .travis.yml runs both the travisci-skeleton script and then invokes
> ocveralls[5] to upload the results.
>
> I've added a separate "make release" step which removes bisect and checks
> in the autogen (presumably into a release branch). Perhaps eventually this
> could make a github pull request (with the "hub" tool?) and make an opam
> package?
>
> I think the game is made even more addictive when the coveralls badge
> changes colour, see:
>
> https://coveralls.io/r/mirage/mirage-block-volume?branch=master
>
> Here's an example bisect report (the code is a work-in-progress):
>
> http://dave.recoil.org/tmp/report/file0000.html
>
> If you haven't given bisect a go -- I recommend playing with it.
>
> Also, if you can think of a nicer way to integrate this -- I admit using
> 'sed' on the _oasis file is a bit of a hack -- please let me know!
>
> Cheers,
> Dave
>
> [1] http://bisect.x9c.fr
> [2] https://github.com/mirage/mirage-block-volume
> [3] https://github.com/mirage/shared-block-ring
> [4]
> https://github.com/mirage/shared-block-ring/commit/67b9f3100be8e4e9732dd79b7c1cc5352a61d478
> [5] https://github.com/sagotch/ocveralls
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>
>

--001a11c25ee0d560310515465f42
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Bisect is GPL. Is it compatible with Mirage&#39;s license?=
 BTW, what is Mirage&#39;s license? I don&#39;t see it in the <a href=3D"ht=
tps://github.com/mirage/mirage">main repo</a>.</div><div class=3D"gmail_ext=
ra"><br><div class=3D"gmail_quote">On Thu, Mar 12, 2015 at 5:34 AM, David S=
cott <span dir=3D"ltr">&lt;<a href=3D"mailto:scott.dj@gmail.com" target=3D"=
_blank">scott.dj@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex"><div dir=3D"ltr"><div>Hi,</div><div><br></div><div>I&#39;ve been ha=
ving a lot of fun with bisect[1] recently-- I&#39;ve been using it to see w=
hich parts of the mirage-block-volume[2] and shared-block-ring[3] libraries=
 are completely untouched by their unit tests. I found the following game t=
o be quite addictive:</div><div><br></div><div>1. &quot;make coverage&quot;=
, and load result in web-browser</div><div>2. spot a big chunk of obvious r=
ed (danger, danger, danger)</div><div>3. (thinking carefully about what cou=
ld go wrong) devise an interesting test to stress the red bits (obviously y=
ou could cover it with a &#39;noddy&#39; test but there is probably no poin=
t)</div><div>4. &quot;make coverage&quot;, reload in browser and see the re=
d go green!</div><div><br></div><div>I&#39;ve hooked it up with <a href=3D"=
http://coveralls.io" target=3D"_blank">coveralls.io</a> (admittedly in a bi=
t of a hacky way[4]) such that the master branch is firmly in &quot;develop=
ment&quot; mode, linking against bisect, and without checking in the oasis =
autogen rubbish. The .travis.yml runs both the travisci-skeleton script and=
 then invokes ocveralls[5] to upload the results.</div><div><br></div><div>=
I&#39;ve added a separate &quot;make release&quot; step which removes bisec=
t and checks in the autogen (presumably into a release branch). Perhaps eve=
ntually this could make a github pull request (with the &quot;hub&quot; too=
l?) and make an opam package?</div><div><br></div><div>I think the game is =
made even more addictive when the coveralls badge changes colour, see:</div=
><div><br></div><div><a href=3D"https://coveralls.io/r/mirage/mirage-block-=
volume?branch=3Dmaster" target=3D"_blank">https://coveralls.io/r/mirage/mir=
age-block-volume?branch=3Dmaster</a><br></div><div><br></div><div>Here&#39;=
s an example bisect report (the code is a work-in-progress):</div><div><br>=
</div><div><a href=3D"http://dave.recoil.org/tmp/report/file0000.html" targ=
et=3D"_blank">http://dave.recoil.org/tmp/report/file0000.html</a><br></div>=
<div><br></div><div>If you haven&#39;t given bisect a go -- I recommend pla=
ying with it.</div><div><br></div><div>Also, if you can think of a nicer wa=
y to integrate this -- I admit using &#39;sed&#39; on the _oasis file is a =
bit of a hack -- please let me know!</div><div><br></div><div>Cheers,</div>=
<div>Dave</div><div><br></div><div>[1]=C2=A0<a href=3D"http://bisect.x9c.fr=
" target=3D"_blank">http://bisect.x9c.fr</a></div><div>[2]=C2=A0<a href=3D"=
https://github.com/mirage/mirage-block-volume" target=3D"_blank">https://gi=
thub.com/mirage/mirage-block-volume</a></div><div>[3]=C2=A0<a href=3D"https=
://github.com/mirage/shared-block-ring" target=3D"_blank">https://github.co=
m/mirage/shared-block-ring</a></div><div>[4]=C2=A0<a href=3D"https://github=
.com/mirage/shared-block-ring/commit/67b9f3100be8e4e9732dd79b7c1cc5352a61d4=
78" target=3D"_blank">https://github.com/mirage/shared-block-ring/commit/67=
b9f3100be8e4e9732dd79b7c1cc5352a61d478</a></div><div>[5]=C2=A0<a href=3D"ht=
tps://github.com/sagotch/ocveralls" target=3D"_blank">https://github.com/sa=
gotch/ocveralls</a></div>
</div>
<br>_______________________________________________<br>
MirageOS-devel mailing list<br>
<a href=3D"mailto:MirageOS-devel@lists.xenproject.org">MirageOS-devel@lists=
.xenproject.org</a><br>
<a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-de=
vel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/listinfo=
/mirageos-devel</a><br>
<br></blockquote></div><br></div>

--001a11c25ee0d560310515465f42--


--===============2044026265199286799==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============2044026265199286799==--


From mirageos-devel-bounces@lists.xenproject.org Mon May 04 19:15:04 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 04 May 2015 19:15:04 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpLpG-0004bX-ML; Mon, 04 May 2015 19:14:46 +0000
Received: from mail6.bemta4.messagelabs.com ([85.158.143.247])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <agarwal1975@gmail.com>) id 1YpLpG-0004bS-65
	for mirageos-devel@lists.xenproject.org; Mon, 04 May 2015 19:14:46 +0000
Received: from [85.158.143.35] by server-2.bemta-4.messagelabs.com id
	1D/0D-02760-525C7455; Mon, 04 May 2015 19:14:45 +0000
X-Env-Sender: agarwal1975@gmail.com
X-Msg-Ref: server-2.tower-21.messagelabs.com!1430766883!528413!1
X-Originating-IP: [209.85.212.172]
X-SpamReason: No, hits=0.9 required=7.0 tests=HTML_40_50,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9338 invoked from network); 4 May 2015 19:14:43 -0000
Received: from mail-wi0-f172.google.com (HELO mail-wi0-f172.google.com)
	(209.85.212.172)
	by server-2.tower-21.messagelabs.com with RC4-SHA encrypted SMTP;
	4 May 2015 19:14:43 -0000
Received: by widdi4 with SMTP id di4so120901097wid.0
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 04 May 2015 12:14:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to
	:cc:content-type;
	bh=08k+fZEHFwScKxq8pBG7TMCzlBPXdyOrEJK0rUIt/+Q=;
	b=PMyxG5tT/7yUge1V7Gw9Ui3iEw+gQ//GLAaRrhnTScd7iPT1wHrG0rzVhjW3q3428L
	41rQMWRSrye8BgKtSwzFtrtVeZGktMmTnuQ+LBrkgOlOTyAT/zaY5bpqHX/we38NxZdG
	uyY+y9dGt4QiOCYmOi/s+dGN2ze/7Y5RnpswCa5M0PGXIRS9ryQCJI3nk0c7/PhXLOTZ
	RaX5nMeHuEZO198qIJ2HCtYgPGRPP2Z+PDl0evcKVrU4UPk8exKhCGnNGZCHOzXle+IJ
	cjfHAZCfhbvWc24+Gsj9wIrfD1FMx7+LuyRxB+yolOCy2V7H4Dp6zgHS0/SoB2xPNY9N
	DZtg==
X-Received: by 10.180.187.170 with SMTP id ft10mr47719wic.75.1430766883264;
	Mon, 04 May 2015 12:14:43 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.27.187.136 with HTTP; Mon, 4 May 2015 12:14:22 -0700 (PDT)
In-Reply-To: <CAG_esB35ta00pLfgh79FA8CHVBZoVLRuS7KXoc9avXyAA7kZSw@mail.gmail.com>
References: <CAG_esB35ta00pLfgh79FA8CHVBZoVLRuS7KXoc9avXyAA7kZSw@mail.gmail.com>
From: Ashish Agarwal <agarwal1975@gmail.com>
Date: Mon, 4 May 2015 15:14:22 -0400
Message-ID: <CAMu2m2KWN0dkeq7AYTVHUFPzajV-abbBKV-5CqQC42e-DFtxEw@mail.gmail.com>
To: David Scott <scott.dj@gmail.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] code coverage testing with Bisect
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============2044026265199286799=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============2044026265199286799==
Content-Type: multipart/alternative; boundary=001a11c25ee0d560310515465f42

--001a11c25ee0d560310515465f42
Content-Type: text/plain; charset=UTF-8

Bisect is GPL. Is it compatible with Mirage's license? BTW, what is
Mirage's license? I don't see it in the main repo
<https://github.com/mirage/mirage>.

On Thu, Mar 12, 2015 at 5:34 AM, David Scott <scott.dj@gmail.com> wrote:

> Hi,
>
> I've been having a lot of fun with bisect[1] recently-- I've been using it
> to see which parts of the mirage-block-volume[2] and shared-block-ring[3]
> libraries are completely untouched by their unit tests. I found the
> following game to be quite addictive:
>
> 1. "make coverage", and load result in web-browser
> 2. spot a big chunk of obvious red (danger, danger, danger)
> 3. (thinking carefully about what could go wrong) devise an interesting
> test to stress the red bits (obviously you could cover it with a 'noddy'
> test but there is probably no point)
> 4. "make coverage", reload in browser and see the red go green!
>
> I've hooked it up with coveralls.io (admittedly in a bit of a hacky
> way[4]) such that the master branch is firmly in "development" mode,
> linking against bisect, and without checking in the oasis autogen rubbish.
> The .travis.yml runs both the travisci-skeleton script and then invokes
> ocveralls[5] to upload the results.
>
> I've added a separate "make release" step which removes bisect and checks
> in the autogen (presumably into a release branch). Perhaps eventually this
> could make a github pull request (with the "hub" tool?) and make an opam
> package?
>
> I think the game is made even more addictive when the coveralls badge
> changes colour, see:
>
> https://coveralls.io/r/mirage/mirage-block-volume?branch=master
>
> Here's an example bisect report (the code is a work-in-progress):
>
> http://dave.recoil.org/tmp/report/file0000.html
>
> If you haven't given bisect a go -- I recommend playing with it.
>
> Also, if you can think of a nicer way to integrate this -- I admit using
> 'sed' on the _oasis file is a bit of a hack -- please let me know!
>
> Cheers,
> Dave
>
> [1] http://bisect.x9c.fr
> [2] https://github.com/mirage/mirage-block-volume
> [3] https://github.com/mirage/shared-block-ring
> [4]
> https://github.com/mirage/shared-block-ring/commit/67b9f3100be8e4e9732dd79b7c1cc5352a61d478
> [5] https://github.com/sagotch/ocveralls
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>
>

--001a11c25ee0d560310515465f42
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Bisect is GPL. Is it compatible with Mirage&#39;s license?=
 BTW, what is Mirage&#39;s license? I don&#39;t see it in the <a href=3D"ht=
tps://github.com/mirage/mirage">main repo</a>.</div><div class=3D"gmail_ext=
ra"><br><div class=3D"gmail_quote">On Thu, Mar 12, 2015 at 5:34 AM, David S=
cott <span dir=3D"ltr">&lt;<a href=3D"mailto:scott.dj@gmail.com" target=3D"=
_blank">scott.dj@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex"><div dir=3D"ltr"><div>Hi,</div><div><br></div><div>I&#39;ve been ha=
ving a lot of fun with bisect[1] recently-- I&#39;ve been using it to see w=
hich parts of the mirage-block-volume[2] and shared-block-ring[3] libraries=
 are completely untouched by their unit tests. I found the following game t=
o be quite addictive:</div><div><br></div><div>1. &quot;make coverage&quot;=
, and load result in web-browser</div><div>2. spot a big chunk of obvious r=
ed (danger, danger, danger)</div><div>3. (thinking carefully about what cou=
ld go wrong) devise an interesting test to stress the red bits (obviously y=
ou could cover it with a &#39;noddy&#39; test but there is probably no poin=
t)</div><div>4. &quot;make coverage&quot;, reload in browser and see the re=
d go green!</div><div><br></div><div>I&#39;ve hooked it up with <a href=3D"=
http://coveralls.io" target=3D"_blank">coveralls.io</a> (admittedly in a bi=
t of a hacky way[4]) such that the master branch is firmly in &quot;develop=
ment&quot; mode, linking against bisect, and without checking in the oasis =
autogen rubbish. The .travis.yml runs both the travisci-skeleton script and=
 then invokes ocveralls[5] to upload the results.</div><div><br></div><div>=
I&#39;ve added a separate &quot;make release&quot; step which removes bisec=
t and checks in the autogen (presumably into a release branch). Perhaps eve=
ntually this could make a github pull request (with the &quot;hub&quot; too=
l?) and make an opam package?</div><div><br></div><div>I think the game is =
made even more addictive when the coveralls badge changes colour, see:</div=
><div><br></div><div><a href=3D"https://coveralls.io/r/mirage/mirage-block-=
volume?branch=3Dmaster" target=3D"_blank">https://coveralls.io/r/mirage/mir=
age-block-volume?branch=3Dmaster</a><br></div><div><br></div><div>Here&#39;=
s an example bisect report (the code is a work-in-progress):</div><div><br>=
</div><div><a href=3D"http://dave.recoil.org/tmp/report/file0000.html" targ=
et=3D"_blank">http://dave.recoil.org/tmp/report/file0000.html</a><br></div>=
<div><br></div><div>If you haven&#39;t given bisect a go -- I recommend pla=
ying with it.</div><div><br></div><div>Also, if you can think of a nicer wa=
y to integrate this -- I admit using &#39;sed&#39; on the _oasis file is a =
bit of a hack -- please let me know!</div><div><br></div><div>Cheers,</div>=
<div>Dave</div><div><br></div><div>[1]=C2=A0<a href=3D"http://bisect.x9c.fr=
" target=3D"_blank">http://bisect.x9c.fr</a></div><div>[2]=C2=A0<a href=3D"=
https://github.com/mirage/mirage-block-volume" target=3D"_blank">https://gi=
thub.com/mirage/mirage-block-volume</a></div><div>[3]=C2=A0<a href=3D"https=
://github.com/mirage/shared-block-ring" target=3D"_blank">https://github.co=
m/mirage/shared-block-ring</a></div><div>[4]=C2=A0<a href=3D"https://github=
.com/mirage/shared-block-ring/commit/67b9f3100be8e4e9732dd79b7c1cc5352a61d4=
78" target=3D"_blank">https://github.com/mirage/shared-block-ring/commit/67=
b9f3100be8e4e9732dd79b7c1cc5352a61d478</a></div><div>[5]=C2=A0<a href=3D"ht=
tps://github.com/sagotch/ocveralls" target=3D"_blank">https://github.com/sa=
gotch/ocveralls</a></div>
</div>
<br>_______________________________________________<br>
MirageOS-devel mailing list<br>
<a href=3D"mailto:MirageOS-devel@lists.xenproject.org">MirageOS-devel@lists=
.xenproject.org</a><br>
<a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-de=
vel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/listinfo=
/mirageos-devel</a><br>
<br></blockquote></div><br></div>

--001a11c25ee0d560310515465f42--


--===============2044026265199286799==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============2044026265199286799==--


From mirageos-devel-bounces@lists.xenproject.org Mon May 04 21:29:59 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 04 May 2015 21:29:59 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpNvx-0000qh-DW; Mon, 04 May 2015 21:29:49 +0000
Received: from mail6.bemta4.messagelabs.com ([85.158.143.247])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <robertream@gmail.com>) id 1YpNvw-0000qa-09
	for mirageos-devel@lists.xenproject.org; Mon, 04 May 2015 21:29:48 +0000
Received: from [85.158.143.35] by server-1.bemta-4.messagelabs.com id
	36/8F-03033-BC4E7455; Mon, 04 May 2015 21:29:47 +0000
X-Env-Sender: robertream@gmail.com
X-Msg-Ref: server-7.tower-21.messagelabs.com!1430774985!732434!1
X-Originating-IP: [209.85.212.173]
X-SpamReason: No, hits=0.4 required=7.0 tests=HTML_30_40,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 12965 invoked from network); 4 May 2015 21:29:45 -0000
Received: from mail-wi0-f173.google.com (HELO mail-wi0-f173.google.com)
	(209.85.212.173)
	by server-7.tower-21.messagelabs.com with RC4-SHA encrypted SMTP;
	4 May 2015 21:29:45 -0000
Received: by wiun10 with SMTP id n10so124438988wiu.1
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 04 May 2015 14:29:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:content-type; bh=IDZDIoygi7Jt+w8FOKtjZN4ai/W6+6z/rbu54eUwjpU=;
	b=qqt6e0ea7pyw9ulF5TQYufOe3WhidHoqdVCdsV+cHv1+uEdYEy+PHfpmyBkkocsmdC
	xX/rv+952abyK70iFYc//Gm06E/NGBnPA9mhjMFb4aVBQMxjzRG77LULWCUQLfYXXBMs
	1X6Ud0klpRPxyxS2l+diDo1zaOQUX1K90pnhAoFKiFfA23rbkHXAWquN8pxX4rjJXdP9
	fA9lQrSuyxU6l4R6NjmKhrj82nQxGwV4NKq5KZXuQQeI4ry1QS5ZNoFMbaCNKzSGorg2
	VROlfaKcJT+TuN9Je2MFXBevBvOD+WfG0GDY/azuPzY/l9XCWDwgN0YOVG/4ChRy0Dtx
	lpng==
MIME-Version: 1.0
X-Received: by 10.194.85.116 with SMTP id g20mr45472157wjz.154.1430774984884; 
	Mon, 04 May 2015 14:29:44 -0700 (PDT)
Received: by 10.194.162.197 with HTTP; Mon, 4 May 2015 14:29:44 -0700 (PDT)
In-Reply-To: <68E82445-C536-4483-BBD1-84F344E2D522@recoil.org>
References: <CAFrFfuFsXOGt=F+ajnmo-dBoPc6=8DnUw4NkmxoapB9TM4R6AA@mail.gmail.com>
	<66477998-6372-49E1-B669-8DDCA56E0AA8@gazagnaire.org>
	<CAFrFfuGqPH2b1TnucE6jKxqmBuy+PTaDRaJGVixZmKkU+iHq5w@mail.gmail.com>
	<68E82445-C536-4483-BBD1-84F344E2D522@recoil.org>
Date: Mon, 4 May 2015 14:29:44 -0700
Message-ID: <CAERB2H4QRBg6q5Sh45m9Ruaa3BsiQAfURmvz_8hzJOZ6kCiEtg@mail.gmail.com>
From: Robert Ream <robertream@gmail.com>
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] problem with sqlite constraints and orm
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0235546242279649553=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============0235546242279649553==
Content-Type: multipart/alternative; boundary=047d7bfcfd50ba488105154842e6

--047d7bfcfd50ba488105154842e6
Content-Type: text/plain; charset=UTF-8

Yeah, while researching Mirage OS I'm also looking into the Rump Kernels
<http://rumpkernel.org/> and OSv <http://osv.io/> projects, in particular
for scenarios where I may need more than Mirage OS currently provides, like
transactional databases. Even though I've had troubles with Mirage OS,
neither projects seems as easy as Mirage OS has been to get up and going
with a Unikernel, at least not so far.


On Sun, May 3, 2015 at 12:35 PM, Anil Madhavapeddy <anil@recoil.org> wrote:

> I'd say the best option for a unikernel database right now is to
> choose one that has a remote binary protocol and access it over TCP.
> Examples include Redis or PostgreSQL for this (and probably many more
> like CouchDB or Mongo do the same).
>
> There's an interesting ongoing effort to port existing databases into
> a unikernel by Martin Lucina, so we should be able to run them in a
> separate address space shortly.  For now though, a database in a Linux
> VM with the frontend as a unikernel client makes most sense.  What
> sort of database access patterns do you anticipate?
>
> -anil
>
> > On 1 Apr 2015, at 22:22, Martin DeMello <martindemello@gmail.com> wrote:
> >
> > Is there a more current option people are using for working with a
> > database? I'd be happy to poke at the orm code in the longer term, but
> > I also want to get on with writing my actual app :)
> >
> > martin
> >
> > On Wed, Apr 1, 2015 at 12:53 AM, Thomas Gazagnaire
> > <thomas@gazagnaire.org> wrote:
> >> Hi Martin,
> >>
> >> I haven't touched at the code of mirage/orm for a very long time
> (2.5y!) but
> >> I'm not very surprised you can still find bugs in it: the code is quite
> >> fragile (too much camlp4 for its own good) and (mainly) works only
> because
> >> of the relatively large test-suite. But patches are always very welcome!
> >>
> >> Thanks,
> >> Thomas
> >>
> >>
> >> On 30 Mar 2015, at 12:20, Martin DeMello <martindemello@gmail.com>
> wrote:
> >>
> >> Problem demonstrated below: violating a unique constraint in sqlite3
> seems
> >> to leave things in an inconsistent state.
> >>
> >> Also, tangentially, I discovered this while trying to maintain my own
> id on
> >> a table because my app is serving json objects over a rest api, and I
> need
> >> some sort of unique id for clients to be able to send updates to
> existing
> >> objects. If there were a way to have the autogenerated sql __id__
> column be
> >> a record field, that would be extremely useful.
> >>
> >> martin
> >>
> >> $ cat db.ml
> >> type item = {
> >>  id: int;
> >> } with orm (
> >>  unique: item<id>
> >> )
> >>
> >> let db_name = "test.db"
> >>
> >> $ cat init_db.ml
> >> open Db
> >>
> >> let _ =
> >>  let db = item_init Db.db_name in
> >>  let item = {
> >>    id = 1;
> >>  } in
> >>  item_save db item
> >>
> >>
> >> $ ./init_db.native
> >> $ ./init_db.native
> >> Fatal error: exception Sqlite3.Error("CONSTRAINT")
> >>
> >> $ sqlite3 test.db
> >> sqlite> select * from item;
> >> __id__      id
> >> ----------  ----------
> >> 1           1
> >> 2
> >> sqlite> delete from item;
> >> Error: no such function: SYNC_CACHE_item
> >>
> >> _______________________________________________
> >> MirageOS-devel mailing list
> >> MirageOS-devel@lists.xenproject.org
> >> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> >>
> >>
> >
> > _______________________________________________
> > MirageOS-devel mailing list
> > MirageOS-devel@lists.xenproject.org
> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> >
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>

--047d7bfcfd50ba488105154842e6
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Yeah, while researching Mirage OS I&#39;m also looking int=
o the <a href=3D"http://rumpkernel.org/">Rump Kernels</a> and <a href=3D"ht=
tp://osv.io/">OSv</a> projects, in particular for scenarios where I may nee=
d more than Mirage OS currently provides, like transactional databases. Eve=
n though I&#39;ve had troubles with Mirage OS, neither projects seems as ea=
sy as Mirage OS has been to get up and going with a Unikernel, at least not=
 so far.<div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra=
"><br><div class=3D"gmail_quote">On Sun, May 3, 2015 at 12:35 PM, Anil Madh=
avapeddy <span dir=3D"ltr">&lt;<a href=3D"mailto:anil@recoil.org" target=3D=
"_blank">anil@recoil.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmai=
l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-lef=
t-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I&#39;d =
say the best option for a unikernel database right now is to<br>
choose one that has a remote binary protocol and access it over TCP.<br>
Examples include Redis or PostgreSQL for this (and probably many more<br>
like CouchDB or Mongo do the same).<br>
<br>
There&#39;s an interesting ongoing effort to port existing databases into<b=
r>
a unikernel by Martin Lucina, so we should be able to run them in a<br>
separate address space shortly.=C2=A0 For now though, a database in a Linux=
<br>
VM with the frontend as a unikernel client makes most sense.=C2=A0 What<br>
sort of database access patterns do you anticipate?<br>
<br>
-anil<br>
<br>
&gt; On 1 Apr 2015, at 22:22, Martin DeMello &lt;<a href=3D"mailto:martinde=
mello@gmail.com" target=3D"_blank">martindemello@gmail.com</a>&gt; wrote:<b=
r>
&gt;<br>
&gt; Is there a more current option people are using for working with a<br>
&gt; database? I&#39;d be happy to poke at the orm code in the longer term,=
 but<br>
&gt; I also want to get on with writing my actual app :)<br>
&gt;<br>
&gt; martin<br>
&gt;<br>
&gt; On Wed, Apr 1, 2015 at 12:53 AM, Thomas Gazagnaire<br>
&gt; &lt;<a href=3D"mailto:thomas@gazagnaire.org" target=3D"_blank">thomas@=
gazagnaire.org</a>&gt; wrote:<br>
&gt;&gt; Hi Martin,<br>
&gt;&gt;<br>
&gt;&gt; I haven&#39;t touched at the code of mirage/orm for a very long ti=
me (2.5y!) but<br>
&gt;&gt; I&#39;m not very surprised you can still find bugs in it: the code=
 is quite<br>
&gt;&gt; fragile (too much camlp4 for its own good) and (mainly) works only=
 because<br>
&gt;&gt; of the relatively large test-suite. But patches are always very we=
lcome!<br>
&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt; Thomas<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On 30 Mar 2015, at 12:20, Martin DeMello &lt;<a href=3D"mailto:mar=
tindemello@gmail.com" target=3D"_blank">martindemello@gmail.com</a>&gt; wro=
te:<br>
&gt;&gt;<br>
&gt;&gt; Problem demonstrated below: violating a unique constraint in sqlit=
e3 seems<br>
&gt;&gt; to leave things in an inconsistent state.<br>
&gt;&gt;<br>
&gt;&gt; Also, tangentially, I discovered this while trying to maintain my =
own id on<br>
&gt;&gt; a table because my app is serving json objects over a rest api, an=
d I need<br>
&gt;&gt; some sort of unique id for clients to be able to send updates to e=
xisting<br>
&gt;&gt; objects. If there were a way to have the autogenerated sql __id__ =
column be<br>
&gt;&gt; a record field, that would be extremely useful.<br>
&gt;&gt;<br>
&gt;&gt; martin<br>
&gt;&gt;<br>
&gt;&gt; $ cat <a href=3D"http://db.ml" target=3D"_blank">db.ml</a><br>
&gt;&gt; type item =3D {<br>
&gt;&gt;=C2=A0 id: int;<br>
&gt;&gt; } with orm (<br>
&gt;&gt;=C2=A0 unique: item&lt;id&gt;<br>
&gt;&gt; )<br>
&gt;&gt;<br>
&gt;&gt; let db_name =3D &quot;test.db&quot;<br>
&gt;&gt;<br>
&gt;&gt; $ cat <a href=3D"http://init_db.ml" target=3D"_blank">init_db.ml</=
a><br>
&gt;&gt; open Db<br>
&gt;&gt;<br>
&gt;&gt; let _ =3D<br>
&gt;&gt;=C2=A0 let db =3D item_init Db.db_name in<br>
&gt;&gt;=C2=A0 let item =3D {<br>
&gt;&gt;=C2=A0 =C2=A0 id =3D 1;<br>
&gt;&gt;=C2=A0 } in<br>
&gt;&gt;=C2=A0 item_save db item<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; $ ./init_db.native<br>
&gt;&gt; $ ./init_db.native<br>
&gt;&gt; Fatal error: exception Sqlite3.Error(&quot;CONSTRAINT&quot;)<br>
&gt;&gt;<br>
&gt;&gt; $ sqlite3 test.db<br>
&gt;&gt; sqlite&gt; select * from item;<br>
&gt;&gt; __id__=C2=A0 =C2=A0 =C2=A0 id<br>
&gt;&gt; ----------=C2=A0 ----------<br>
&gt;&gt; 1=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A01<br>
&gt;&gt; 2<br>
&gt;&gt; sqlite&gt; delete from item;<br>
&gt;&gt; Error: no such function: SYNC_CACHE_item<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; MirageOS-devel mailing list<br>
&gt;&gt; <a href=3D"mailto:MirageOS-devel@lists.xenproject.org" target=3D"_=
blank">MirageOS-devel@lists.xenproject.org</a><br>
&gt;&gt; <a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mi=
rageos-devel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman=
/listinfo/mirageos-devel</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; MirageOS-devel mailing list<br>
&gt; <a href=3D"mailto:MirageOS-devel@lists.xenproject.org" target=3D"_blan=
k">MirageOS-devel@lists.xenproject.org</a><br>
&gt; <a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirage=
os-devel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/lis=
tinfo/mirageos-devel</a><br>
&gt;<br>
<br>
<br>
_______________________________________________<br>
MirageOS-devel mailing list<br>
<a href=3D"mailto:MirageOS-devel@lists.xenproject.org" target=3D"_blank">Mi=
rageOS-devel@lists.xenproject.org</a><br>
<a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-de=
vel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/listinfo=
/mirageos-devel</a><br>
</blockquote></div><br></div></div></div>

--047d7bfcfd50ba488105154842e6--


--===============0235546242279649553==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============0235546242279649553==--


From mirageos-devel-bounces@lists.xenproject.org Mon May 04 21:29:59 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 04 May 2015 21:29:59 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpNvx-0000qh-DW; Mon, 04 May 2015 21:29:49 +0000
Received: from mail6.bemta4.messagelabs.com ([85.158.143.247])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <robertream@gmail.com>) id 1YpNvw-0000qa-09
	for mirageos-devel@lists.xenproject.org; Mon, 04 May 2015 21:29:48 +0000
Received: from [85.158.143.35] by server-1.bemta-4.messagelabs.com id
	36/8F-03033-BC4E7455; Mon, 04 May 2015 21:29:47 +0000
X-Env-Sender: robertream@gmail.com
X-Msg-Ref: server-7.tower-21.messagelabs.com!1430774985!732434!1
X-Originating-IP: [209.85.212.173]
X-SpamReason: No, hits=0.4 required=7.0 tests=HTML_30_40,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 12965 invoked from network); 4 May 2015 21:29:45 -0000
Received: from mail-wi0-f173.google.com (HELO mail-wi0-f173.google.com)
	(209.85.212.173)
	by server-7.tower-21.messagelabs.com with RC4-SHA encrypted SMTP;
	4 May 2015 21:29:45 -0000
Received: by wiun10 with SMTP id n10so124438988wiu.1
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 04 May 2015 14:29:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:content-type; bh=IDZDIoygi7Jt+w8FOKtjZN4ai/W6+6z/rbu54eUwjpU=;
	b=qqt6e0ea7pyw9ulF5TQYufOe3WhidHoqdVCdsV+cHv1+uEdYEy+PHfpmyBkkocsmdC
	xX/rv+952abyK70iFYc//Gm06E/NGBnPA9mhjMFb4aVBQMxjzRG77LULWCUQLfYXXBMs
	1X6Ud0klpRPxyxS2l+diDo1zaOQUX1K90pnhAoFKiFfA23rbkHXAWquN8pxX4rjJXdP9
	fA9lQrSuyxU6l4R6NjmKhrj82nQxGwV4NKq5KZXuQQeI4ry1QS5ZNoFMbaCNKzSGorg2
	VROlfaKcJT+TuN9Je2MFXBevBvOD+WfG0GDY/azuPzY/l9XCWDwgN0YOVG/4ChRy0Dtx
	lpng==
MIME-Version: 1.0
X-Received: by 10.194.85.116 with SMTP id g20mr45472157wjz.154.1430774984884; 
	Mon, 04 May 2015 14:29:44 -0700 (PDT)
Received: by 10.194.162.197 with HTTP; Mon, 4 May 2015 14:29:44 -0700 (PDT)
In-Reply-To: <68E82445-C536-4483-BBD1-84F344E2D522@recoil.org>
References: <CAFrFfuFsXOGt=F+ajnmo-dBoPc6=8DnUw4NkmxoapB9TM4R6AA@mail.gmail.com>
	<66477998-6372-49E1-B669-8DDCA56E0AA8@gazagnaire.org>
	<CAFrFfuGqPH2b1TnucE6jKxqmBuy+PTaDRaJGVixZmKkU+iHq5w@mail.gmail.com>
	<68E82445-C536-4483-BBD1-84F344E2D522@recoil.org>
Date: Mon, 4 May 2015 14:29:44 -0700
Message-ID: <CAERB2H4QRBg6q5Sh45m9Ruaa3BsiQAfURmvz_8hzJOZ6kCiEtg@mail.gmail.com>
From: Robert Ream <robertream@gmail.com>
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] problem with sqlite constraints and orm
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0235546242279649553=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============0235546242279649553==
Content-Type: multipart/alternative; boundary=047d7bfcfd50ba488105154842e6

--047d7bfcfd50ba488105154842e6
Content-Type: text/plain; charset=UTF-8

Yeah, while researching Mirage OS I'm also looking into the Rump Kernels
<http://rumpkernel.org/> and OSv <http://osv.io/> projects, in particular
for scenarios where I may need more than Mirage OS currently provides, like
transactional databases. Even though I've had troubles with Mirage OS,
neither projects seems as easy as Mirage OS has been to get up and going
with a Unikernel, at least not so far.


On Sun, May 3, 2015 at 12:35 PM, Anil Madhavapeddy <anil@recoil.org> wrote:

> I'd say the best option for a unikernel database right now is to
> choose one that has a remote binary protocol and access it over TCP.
> Examples include Redis or PostgreSQL for this (and probably many more
> like CouchDB or Mongo do the same).
>
> There's an interesting ongoing effort to port existing databases into
> a unikernel by Martin Lucina, so we should be able to run them in a
> separate address space shortly.  For now though, a database in a Linux
> VM with the frontend as a unikernel client makes most sense.  What
> sort of database access patterns do you anticipate?
>
> -anil
>
> > On 1 Apr 2015, at 22:22, Martin DeMello <martindemello@gmail.com> wrote:
> >
> > Is there a more current option people are using for working with a
> > database? I'd be happy to poke at the orm code in the longer term, but
> > I also want to get on with writing my actual app :)
> >
> > martin
> >
> > On Wed, Apr 1, 2015 at 12:53 AM, Thomas Gazagnaire
> > <thomas@gazagnaire.org> wrote:
> >> Hi Martin,
> >>
> >> I haven't touched at the code of mirage/orm for a very long time
> (2.5y!) but
> >> I'm not very surprised you can still find bugs in it: the code is quite
> >> fragile (too much camlp4 for its own good) and (mainly) works only
> because
> >> of the relatively large test-suite. But patches are always very welcome!
> >>
> >> Thanks,
> >> Thomas
> >>
> >>
> >> On 30 Mar 2015, at 12:20, Martin DeMello <martindemello@gmail.com>
> wrote:
> >>
> >> Problem demonstrated below: violating a unique constraint in sqlite3
> seems
> >> to leave things in an inconsistent state.
> >>
> >> Also, tangentially, I discovered this while trying to maintain my own
> id on
> >> a table because my app is serving json objects over a rest api, and I
> need
> >> some sort of unique id for clients to be able to send updates to
> existing
> >> objects. If there were a way to have the autogenerated sql __id__
> column be
> >> a record field, that would be extremely useful.
> >>
> >> martin
> >>
> >> $ cat db.ml
> >> type item = {
> >>  id: int;
> >> } with orm (
> >>  unique: item<id>
> >> )
> >>
> >> let db_name = "test.db"
> >>
> >> $ cat init_db.ml
> >> open Db
> >>
> >> let _ =
> >>  let db = item_init Db.db_name in
> >>  let item = {
> >>    id = 1;
> >>  } in
> >>  item_save db item
> >>
> >>
> >> $ ./init_db.native
> >> $ ./init_db.native
> >> Fatal error: exception Sqlite3.Error("CONSTRAINT")
> >>
> >> $ sqlite3 test.db
> >> sqlite> select * from item;
> >> __id__      id
> >> ----------  ----------
> >> 1           1
> >> 2
> >> sqlite> delete from item;
> >> Error: no such function: SYNC_CACHE_item
> >>
> >> _______________________________________________
> >> MirageOS-devel mailing list
> >> MirageOS-devel@lists.xenproject.org
> >> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> >>
> >>
> >
> > _______________________________________________
> > MirageOS-devel mailing list
> > MirageOS-devel@lists.xenproject.org
> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> >
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>

--047d7bfcfd50ba488105154842e6
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Yeah, while researching Mirage OS I&#39;m also looking int=
o the <a href=3D"http://rumpkernel.org/">Rump Kernels</a> and <a href=3D"ht=
tp://osv.io/">OSv</a> projects, in particular for scenarios where I may nee=
d more than Mirage OS currently provides, like transactional databases. Eve=
n though I&#39;ve had troubles with Mirage OS, neither projects seems as ea=
sy as Mirage OS has been to get up and going with a Unikernel, at least not=
 so far.<div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra=
"><br><div class=3D"gmail_quote">On Sun, May 3, 2015 at 12:35 PM, Anil Madh=
avapeddy <span dir=3D"ltr">&lt;<a href=3D"mailto:anil@recoil.org" target=3D=
"_blank">anil@recoil.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmai=
l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-lef=
t-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I&#39;d =
say the best option for a unikernel database right now is to<br>
choose one that has a remote binary protocol and access it over TCP.<br>
Examples include Redis or PostgreSQL for this (and probably many more<br>
like CouchDB or Mongo do the same).<br>
<br>
There&#39;s an interesting ongoing effort to port existing databases into<b=
r>
a unikernel by Martin Lucina, so we should be able to run them in a<br>
separate address space shortly.=C2=A0 For now though, a database in a Linux=
<br>
VM with the frontend as a unikernel client makes most sense.=C2=A0 What<br>
sort of database access patterns do you anticipate?<br>
<br>
-anil<br>
<br>
&gt; On 1 Apr 2015, at 22:22, Martin DeMello &lt;<a href=3D"mailto:martinde=
mello@gmail.com" target=3D"_blank">martindemello@gmail.com</a>&gt; wrote:<b=
r>
&gt;<br>
&gt; Is there a more current option people are using for working with a<br>
&gt; database? I&#39;d be happy to poke at the orm code in the longer term,=
 but<br>
&gt; I also want to get on with writing my actual app :)<br>
&gt;<br>
&gt; martin<br>
&gt;<br>
&gt; On Wed, Apr 1, 2015 at 12:53 AM, Thomas Gazagnaire<br>
&gt; &lt;<a href=3D"mailto:thomas@gazagnaire.org" target=3D"_blank">thomas@=
gazagnaire.org</a>&gt; wrote:<br>
&gt;&gt; Hi Martin,<br>
&gt;&gt;<br>
&gt;&gt; I haven&#39;t touched at the code of mirage/orm for a very long ti=
me (2.5y!) but<br>
&gt;&gt; I&#39;m not very surprised you can still find bugs in it: the code=
 is quite<br>
&gt;&gt; fragile (too much camlp4 for its own good) and (mainly) works only=
 because<br>
&gt;&gt; of the relatively large test-suite. But patches are always very we=
lcome!<br>
&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt; Thomas<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On 30 Mar 2015, at 12:20, Martin DeMello &lt;<a href=3D"mailto:mar=
tindemello@gmail.com" target=3D"_blank">martindemello@gmail.com</a>&gt; wro=
te:<br>
&gt;&gt;<br>
&gt;&gt; Problem demonstrated below: violating a unique constraint in sqlit=
e3 seems<br>
&gt;&gt; to leave things in an inconsistent state.<br>
&gt;&gt;<br>
&gt;&gt; Also, tangentially, I discovered this while trying to maintain my =
own id on<br>
&gt;&gt; a table because my app is serving json objects over a rest api, an=
d I need<br>
&gt;&gt; some sort of unique id for clients to be able to send updates to e=
xisting<br>
&gt;&gt; objects. If there were a way to have the autogenerated sql __id__ =
column be<br>
&gt;&gt; a record field, that would be extremely useful.<br>
&gt;&gt;<br>
&gt;&gt; martin<br>
&gt;&gt;<br>
&gt;&gt; $ cat <a href=3D"http://db.ml" target=3D"_blank">db.ml</a><br>
&gt;&gt; type item =3D {<br>
&gt;&gt;=C2=A0 id: int;<br>
&gt;&gt; } with orm (<br>
&gt;&gt;=C2=A0 unique: item&lt;id&gt;<br>
&gt;&gt; )<br>
&gt;&gt;<br>
&gt;&gt; let db_name =3D &quot;test.db&quot;<br>
&gt;&gt;<br>
&gt;&gt; $ cat <a href=3D"http://init_db.ml" target=3D"_blank">init_db.ml</=
a><br>
&gt;&gt; open Db<br>
&gt;&gt;<br>
&gt;&gt; let _ =3D<br>
&gt;&gt;=C2=A0 let db =3D item_init Db.db_name in<br>
&gt;&gt;=C2=A0 let item =3D {<br>
&gt;&gt;=C2=A0 =C2=A0 id =3D 1;<br>
&gt;&gt;=C2=A0 } in<br>
&gt;&gt;=C2=A0 item_save db item<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; $ ./init_db.native<br>
&gt;&gt; $ ./init_db.native<br>
&gt;&gt; Fatal error: exception Sqlite3.Error(&quot;CONSTRAINT&quot;)<br>
&gt;&gt;<br>
&gt;&gt; $ sqlite3 test.db<br>
&gt;&gt; sqlite&gt; select * from item;<br>
&gt;&gt; __id__=C2=A0 =C2=A0 =C2=A0 id<br>
&gt;&gt; ----------=C2=A0 ----------<br>
&gt;&gt; 1=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A01<br>
&gt;&gt; 2<br>
&gt;&gt; sqlite&gt; delete from item;<br>
&gt;&gt; Error: no such function: SYNC_CACHE_item<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; MirageOS-devel mailing list<br>
&gt;&gt; <a href=3D"mailto:MirageOS-devel@lists.xenproject.org" target=3D"_=
blank">MirageOS-devel@lists.xenproject.org</a><br>
&gt;&gt; <a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mi=
rageos-devel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman=
/listinfo/mirageos-devel</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; MirageOS-devel mailing list<br>
&gt; <a href=3D"mailto:MirageOS-devel@lists.xenproject.org" target=3D"_blan=
k">MirageOS-devel@lists.xenproject.org</a><br>
&gt; <a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirage=
os-devel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/lis=
tinfo/mirageos-devel</a><br>
&gt;<br>
<br>
<br>
_______________________________________________<br>
MirageOS-devel mailing list<br>
<a href=3D"mailto:MirageOS-devel@lists.xenproject.org" target=3D"_blank">Mi=
rageOS-devel@lists.xenproject.org</a><br>
<a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-de=
vel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/listinfo=
/mirageos-devel</a><br>
</blockquote></div><br></div></div></div>

--047d7bfcfd50ba488105154842e6--


--===============0235546242279649553==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============0235546242279649553==--


From mirageos-devel-bounces@lists.xenproject.org Mon May 04 21:37:00 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 04 May 2015 21:37:00 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpO2s-0000tG-0v; Mon, 04 May 2015 21:36:58 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <robertream@gmail.com>) id 1YpO2r-0000tB-1p
	for MirageOS-devel@lists.xenproject.org; Mon, 04 May 2015 21:36:57 +0000
Received: from [85.158.137.68] by server-16.bemta-3.messagelabs.com id
	4A/7C-11242-876E7455; Mon, 04 May 2015 21:36:56 +0000
X-Env-Sender: robertream@gmail.com
X-Msg-Ref: server-4.tower-31.messagelabs.com!1430775413!12182999!1
X-Originating-IP: [209.85.212.178]
X-SpamReason: No, hits=0.4 required=7.0 tests=HTML_30_40,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 25757 invoked from network); 4 May 2015 21:36:53 -0000
Received: from mail-wi0-f178.google.com (HELO mail-wi0-f178.google.com)
	(209.85.212.178)
	by server-4.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	4 May 2015 21:36:53 -0000
Received: by wicmx19 with SMTP id mx19so86748260wic.1
	for <MirageOS-devel@lists.xenproject.org>;
	Mon, 04 May 2015 14:36:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=0a5WllhdZmmISie2UpRKA3Wbd8Zb9A1tdgM76N0GiEM=;
	b=nEjvPpkXuPnpOFB9Zvi6XGRtUHaECTNFTWgv0DH8ovdfjCYHsTkNwW4riaDNx56vy8
	e4K/DdP9GhGIKDUEFYNjT89iIBcUTRtbSEM4ijFANzH+so8xHh8XPnZKMWQtWo8QXiop
	tzyqBoHisqHObX8uGZN2jV9pGFsEAJDqEYF9k51Ks5HiI2MlZhnYTHpINrc0IXwqyNg3
	VKa4BEzm/4mwYzB8rgbBmkAFy6u+NU4WXiEi+PikpizV03cdDMmTuYz+iciQmUVTp64q
	KtaFozdQT23a6iKHfPreatcPR7mzDuf022aP28dU91Lcb7SU/hOeZrDu9zkLp7suaoHt
	D32Q==
MIME-Version: 1.0
X-Received: by 10.180.187.12 with SMTP id fo12mr989331wic.40.1430775412801;
	Mon, 04 May 2015 14:36:52 -0700 (PDT)
Received: by 10.194.162.197 with HTTP; Mon, 4 May 2015 14:36:52 -0700 (PDT)
In-Reply-To: <CAFi_6yKDjEDWTi8PSZyqC4YHPpxfNFMKbffjembj95UrLzmMyA@mail.gmail.com>
References: <CAFi_6yKN3n-XKFbryUewo++DR_UidFCupocFA5+WaDbsATXZOw@mail.gmail.com>
	<5CAB559F-EBD5-4A04-90A1-2E7381A95A1E@recoil.org>
	<CAK4o1WzBJs9M3a8DZe8P+yq1GmX5e08HkTTcQCocFbe89Q2beg@mail.gmail.com>
	<CAERB2H7=oGp_YPMxBU+7xLNektNBVT28fkThSc4GeQ4PjJRPPA@mail.gmail.com>
	<CAFi_6yKDjEDWTi8PSZyqC4YHPpxfNFMKbffjembj95UrLzmMyA@mail.gmail.com>
Date: Mon, 4 May 2015 14:36:52 -0700
Message-ID: <CAERB2H4-+y1PeMaxHPm8eRm2KKH90FU4oa8f88o-9mzrqqM+Ng@mail.gmail.com>
From: Robert Ream <robertream@gmail.com>
To: Gareth Rushgrove <gareth@morethanseven.net>
Cc: mirageos-devel <MirageOS-devel@lists.xenproject.org>,
	Anil Madhavapeddy <anil@recoil.org>
Subject: Re: [MirageOS-devel] Getting started documentation issues
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============2959073726672598153=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============2959073726672598153==
Content-Type: multipart/alternative; boundary=001a11c2693e3bc5830515485ce6

--001a11c2693e3bc5830515485ce6
Content-Type: text/plain; charset=UTF-8

Awsome! Being a longtime practitioner of XP style development by day,
automated testing is second nature so as I was going through all the
installation steps, and some of them broke, I was thinking "why couldn't
this be automated into a development and release build test process...". I
haven't used Puppet before but I can imagine a shell, python, or even OCaml
script might be more compatible with the common tools of the Mirage OS
project? I'd happy to help add more test cases after you ship the first
draft.

On Mon, May 4, 2015 at 11:28 AM, Gareth Rushgrove <gareth@morethanseven.net>
wrote:

> On 4 May 2015 at 19:13, Robert Ream <robertream@gmail.com> wrote:
> > As noted in another thread, for some reason I had problems with Vivid so
> I
> > went back to Trusty and got it working... but I'm new to this project.
> >
>
> That's one of the things I'd like to fix, or at least make it easy to
> see whether it's working.
>
> Along with the mentioned Puppet module I'm writing a set of acceptance
> tests. These can be set to run periodically, or just be run manually.
> They will spin up a virtual machine, run the Puppet code (to install
> mirage), build a unix unikernel, build a xen unikernel, run the unix
> unikernel and assert that all of that worked (ie. no errors) and that
> the unikernel works (probably a simple http server). If you wanted to
> run a shell script instead of run Puppet you should be able to drop
> that in easily enough.
>
> I have this partially working with Trusty now. Once I've got that
> actually working I'll ship it and probably work on verifying Vivid
> support.
>
> Gareth
>
> > On Mon, May 4, 2015 at 9:00 AM, Justin Cormack
> > <justin@specialbusservice.com> wrote:
> >>
> >> On 4 May 2015 at 15:10, Anil Madhavapeddy <anil@recoil.org> wrote:
> >> > On 4 May 2015, at 07:03, Gareth Rushgrove <gareth@morethanseven.net>
> >> > wrote:
> >> >>
> >> >> I'm tinkering with some automation to make getting started with
> Mirage
> >> >> easier and ran into a few issues I thought I'd mention.
> >> >>
> >> >> While following the docs at: http://openmirage.org/wiki/install
> >> >>
> >> >> 1. The list of supported operating systems (ArchLinux, Debian Wheezy,
> >> >> Ubuntu Precise/Lucid/Raring/Saucy, CentOS 6.4 and MacOS X 10.8 and
> >> >> 10.9) appears to contain older systems. Is this still up-to-date?
> >> >
> >> > This one's out of date.  I maintain a manual set of PPAs that cover
> >> > Ubuntu up to Vivid.  Perhaps we should add a date to the entry to
> >> > make it clear when it was last updated!
> >>
> >> Vivid seems to work fine out of the box with the upstream packages.
> >>
> >> Justin
> >>
> >> _______________________________________________
> >> MirageOS-devel mailing list
> >> MirageOS-devel@lists.xenproject.org
> >> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> >
> >
> >
> > _______________________________________________
> > MirageOS-devel mailing list
> > MirageOS-devel@lists.xenproject.org
> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> >
>
>
>
> --
> Gareth Rushgrove
> @garethr
>
> devopsweekly.com
> morethanseven.net
> garethrushgrove.com
>

--001a11c2693e3bc5830515485ce6
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Awsome! Being a longtime practitioner of XP style developm=
ent by day, automated testing is second nature so as I was going through al=
l the installation steps, and some of them broke, I was thinking &quot;why =
couldn&#39;t this be automated into a development and release=C2=A0build=C2=
=A0test=C2=A0process...&quot;. I haven&#39;t used Puppet before but I can i=
magine a shell, python, or even OCaml script might be more compatible with =
the common tools of the Mirage OS project? I&#39;d happy to help add more t=
est cases after you ship the first draft.</div><div class=3D"gmail_extra"><=
br><div class=3D"gmail_quote">On Mon, May 4, 2015 at 11:28 AM, Gareth Rushg=
rove <span dir=3D"ltr">&lt;<a href=3D"mailto:gareth@morethanseven.net" targ=
et=3D"_blank">gareth@morethanseven.net</a>&gt;</span> wrote:<br><blockquote=
 class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc soli=
d;padding-left:1ex"><span class=3D"">On 4 May 2015 at 19:13, Robert Ream &l=
t;<a href=3D"mailto:robertream@gmail.com">robertream@gmail.com</a>&gt; wrot=
e:<br>
&gt; As noted in another thread, for some reason I had problems with Vivid =
so I<br>
&gt; went back to Trusty and got it working... but I&#39;m new to this proj=
ect.<br>
&gt;<br>
<br>
</span>That&#39;s one of the things I&#39;d like to fix, or at least make i=
t easy to<br>
see whether it&#39;s working.<br>
<br>
Along with the mentioned Puppet module I&#39;m writing a set of acceptance<=
br>
tests. These can be set to run periodically, or just be run manually.<br>
They will spin up a virtual machine, run the Puppet code (to install<br>
mirage), build a unix unikernel, build a xen unikernel, run the unix<br>
unikernel and assert that all of that worked (ie. no errors) and that<br>
the unikernel works (probably a simple http server). If you wanted to<br>
run a shell script instead of run Puppet you should be able to drop<br>
that in easily enough.<br>
<br>
I have this partially working with Trusty now. Once I&#39;ve got that<br>
actually working I&#39;ll ship it and probably work on verifying Vivid<br>
support.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Gareth<br>
</font></span><span class=3D"im HOEnZb"><br>
&gt; On Mon, May 4, 2015 at 9:00 AM, Justin Cormack<br>
&gt; &lt;<a href=3D"mailto:justin@specialbusservice.com">justin@specialbuss=
ervice.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On 4 May 2015 at 15:10, Anil Madhavapeddy &lt;<a href=3D"mailto:an=
il@recoil.org">anil@recoil.org</a>&gt; wrote:<br>
&gt;&gt; &gt; On 4 May 2015, at 07:03, Gareth Rushgrove &lt;<a href=3D"mail=
to:gareth@morethanseven.net">gareth@morethanseven.net</a>&gt;<br>
&gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; I&#39;m tinkering with some automation to make getting st=
arted with Mirage<br>
&gt;&gt; &gt;&gt; easier and ran into a few issues I thought I&#39;d mentio=
n.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; While following the docs at: <a href=3D"http://openmirage=
.org/wiki/install" target=3D"_blank">http://openmirage.org/wiki/install</a>=
<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; 1. The list of supported operating systems (ArchLinux, De=
bian Wheezy,<br>
&gt;&gt; &gt;&gt; Ubuntu Precise/Lucid/Raring/Saucy, CentOS 6.4 and MacOS X=
 10.8 and<br>
&gt;&gt; &gt;&gt; 10.9) appears to contain older systems. Is this still up-=
to-date?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; This one&#39;s out of date.=C2=A0 I maintain a manual set of =
PPAs that cover<br>
&gt;&gt; &gt; Ubuntu up to Vivid.=C2=A0 Perhaps we should add a date to the=
 entry to<br>
&gt;&gt; &gt; make it clear when it was last updated!<br>
&gt;&gt;<br>
&gt;&gt; Vivid seems to work fine out of the box with the upstream packages=
.<br>
&gt;&gt;<br>
&gt;&gt; Justin<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; MirageOS-devel mailing list<br>
&gt;&gt; <a href=3D"mailto:MirageOS-devel@lists.xenproject.org">MirageOS-de=
vel@lists.xenproject.org</a><br>
&gt;&gt; <a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mi=
rageos-devel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman=
/listinfo/mirageos-devel</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; MirageOS-devel mailing list<br>
&gt; <a href=3D"mailto:MirageOS-devel@lists.xenproject.org">MirageOS-devel@=
lists.xenproject.org</a><br>
&gt; <a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirage=
os-devel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/lis=
tinfo/mirageos-devel</a><br>
&gt;<br>
<br>
<br>
<br>
</span><div class=3D"HOEnZb"><div class=3D"h5">--<br>
Gareth Rushgrove<br>
@garethr<br>
<br>
<a href=3D"http://devopsweekly.com" target=3D"_blank">devopsweekly.com</a><=
br>
<a href=3D"http://morethanseven.net" target=3D"_blank">morethanseven.net</a=
><br>
<a href=3D"http://garethrushgrove.com" target=3D"_blank">garethrushgrove.co=
m</a><br>
</div></div></blockquote></div><br></div>

--001a11c2693e3bc5830515485ce6--


--===============2959073726672598153==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============2959073726672598153==--


From mirageos-devel-bounces@lists.xenproject.org Mon May 04 21:37:00 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 04 May 2015 21:37:00 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpO2s-0000tG-0v; Mon, 04 May 2015 21:36:58 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <robertream@gmail.com>) id 1YpO2r-0000tB-1p
	for MirageOS-devel@lists.xenproject.org; Mon, 04 May 2015 21:36:57 +0000
Received: from [85.158.137.68] by server-16.bemta-3.messagelabs.com id
	4A/7C-11242-876E7455; Mon, 04 May 2015 21:36:56 +0000
X-Env-Sender: robertream@gmail.com
X-Msg-Ref: server-4.tower-31.messagelabs.com!1430775413!12182999!1
X-Originating-IP: [209.85.212.178]
X-SpamReason: No, hits=0.4 required=7.0 tests=HTML_30_40,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 25757 invoked from network); 4 May 2015 21:36:53 -0000
Received: from mail-wi0-f178.google.com (HELO mail-wi0-f178.google.com)
	(209.85.212.178)
	by server-4.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	4 May 2015 21:36:53 -0000
Received: by wicmx19 with SMTP id mx19so86748260wic.1
	for <MirageOS-devel@lists.xenproject.org>;
	Mon, 04 May 2015 14:36:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=0a5WllhdZmmISie2UpRKA3Wbd8Zb9A1tdgM76N0GiEM=;
	b=nEjvPpkXuPnpOFB9Zvi6XGRtUHaECTNFTWgv0DH8ovdfjCYHsTkNwW4riaDNx56vy8
	e4K/DdP9GhGIKDUEFYNjT89iIBcUTRtbSEM4ijFANzH+so8xHh8XPnZKMWQtWo8QXiop
	tzyqBoHisqHObX8uGZN2jV9pGFsEAJDqEYF9k51Ks5HiI2MlZhnYTHpINrc0IXwqyNg3
	VKa4BEzm/4mwYzB8rgbBmkAFy6u+NU4WXiEi+PikpizV03cdDMmTuYz+iciQmUVTp64q
	KtaFozdQT23a6iKHfPreatcPR7mzDuf022aP28dU91Lcb7SU/hOeZrDu9zkLp7suaoHt
	D32Q==
MIME-Version: 1.0
X-Received: by 10.180.187.12 with SMTP id fo12mr989331wic.40.1430775412801;
	Mon, 04 May 2015 14:36:52 -0700 (PDT)
Received: by 10.194.162.197 with HTTP; Mon, 4 May 2015 14:36:52 -0700 (PDT)
In-Reply-To: <CAFi_6yKDjEDWTi8PSZyqC4YHPpxfNFMKbffjembj95UrLzmMyA@mail.gmail.com>
References: <CAFi_6yKN3n-XKFbryUewo++DR_UidFCupocFA5+WaDbsATXZOw@mail.gmail.com>
	<5CAB559F-EBD5-4A04-90A1-2E7381A95A1E@recoil.org>
	<CAK4o1WzBJs9M3a8DZe8P+yq1GmX5e08HkTTcQCocFbe89Q2beg@mail.gmail.com>
	<CAERB2H7=oGp_YPMxBU+7xLNektNBVT28fkThSc4GeQ4PjJRPPA@mail.gmail.com>
	<CAFi_6yKDjEDWTi8PSZyqC4YHPpxfNFMKbffjembj95UrLzmMyA@mail.gmail.com>
Date: Mon, 4 May 2015 14:36:52 -0700
Message-ID: <CAERB2H4-+y1PeMaxHPm8eRm2KKH90FU4oa8f88o-9mzrqqM+Ng@mail.gmail.com>
From: Robert Ream <robertream@gmail.com>
To: Gareth Rushgrove <gareth@morethanseven.net>
Cc: mirageos-devel <MirageOS-devel@lists.xenproject.org>,
	Anil Madhavapeddy <anil@recoil.org>
Subject: Re: [MirageOS-devel] Getting started documentation issues
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============2959073726672598153=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============2959073726672598153==
Content-Type: multipart/alternative; boundary=001a11c2693e3bc5830515485ce6

--001a11c2693e3bc5830515485ce6
Content-Type: text/plain; charset=UTF-8

Awsome! Being a longtime practitioner of XP style development by day,
automated testing is second nature so as I was going through all the
installation steps, and some of them broke, I was thinking "why couldn't
this be automated into a development and release build test process...". I
haven't used Puppet before but I can imagine a shell, python, or even OCaml
script might be more compatible with the common tools of the Mirage OS
project? I'd happy to help add more test cases after you ship the first
draft.

On Mon, May 4, 2015 at 11:28 AM, Gareth Rushgrove <gareth@morethanseven.net>
wrote:

> On 4 May 2015 at 19:13, Robert Ream <robertream@gmail.com> wrote:
> > As noted in another thread, for some reason I had problems with Vivid so
> I
> > went back to Trusty and got it working... but I'm new to this project.
> >
>
> That's one of the things I'd like to fix, or at least make it easy to
> see whether it's working.
>
> Along with the mentioned Puppet module I'm writing a set of acceptance
> tests. These can be set to run periodically, or just be run manually.
> They will spin up a virtual machine, run the Puppet code (to install
> mirage), build a unix unikernel, build a xen unikernel, run the unix
> unikernel and assert that all of that worked (ie. no errors) and that
> the unikernel works (probably a simple http server). If you wanted to
> run a shell script instead of run Puppet you should be able to drop
> that in easily enough.
>
> I have this partially working with Trusty now. Once I've got that
> actually working I'll ship it and probably work on verifying Vivid
> support.
>
> Gareth
>
> > On Mon, May 4, 2015 at 9:00 AM, Justin Cormack
> > <justin@specialbusservice.com> wrote:
> >>
> >> On 4 May 2015 at 15:10, Anil Madhavapeddy <anil@recoil.org> wrote:
> >> > On 4 May 2015, at 07:03, Gareth Rushgrove <gareth@morethanseven.net>
> >> > wrote:
> >> >>
> >> >> I'm tinkering with some automation to make getting started with
> Mirage
> >> >> easier and ran into a few issues I thought I'd mention.
> >> >>
> >> >> While following the docs at: http://openmirage.org/wiki/install
> >> >>
> >> >> 1. The list of supported operating systems (ArchLinux, Debian Wheezy,
> >> >> Ubuntu Precise/Lucid/Raring/Saucy, CentOS 6.4 and MacOS X 10.8 and
> >> >> 10.9) appears to contain older systems. Is this still up-to-date?
> >> >
> >> > This one's out of date.  I maintain a manual set of PPAs that cover
> >> > Ubuntu up to Vivid.  Perhaps we should add a date to the entry to
> >> > make it clear when it was last updated!
> >>
> >> Vivid seems to work fine out of the box with the upstream packages.
> >>
> >> Justin
> >>
> >> _______________________________________________
> >> MirageOS-devel mailing list
> >> MirageOS-devel@lists.xenproject.org
> >> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> >
> >
> >
> > _______________________________________________
> > MirageOS-devel mailing list
> > MirageOS-devel@lists.xenproject.org
> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> >
>
>
>
> --
> Gareth Rushgrove
> @garethr
>
> devopsweekly.com
> morethanseven.net
> garethrushgrove.com
>

--001a11c2693e3bc5830515485ce6
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Awsome! Being a longtime practitioner of XP style developm=
ent by day, automated testing is second nature so as I was going through al=
l the installation steps, and some of them broke, I was thinking &quot;why =
couldn&#39;t this be automated into a development and release=C2=A0build=C2=
=A0test=C2=A0process...&quot;. I haven&#39;t used Puppet before but I can i=
magine a shell, python, or even OCaml script might be more compatible with =
the common tools of the Mirage OS project? I&#39;d happy to help add more t=
est cases after you ship the first draft.</div><div class=3D"gmail_extra"><=
br><div class=3D"gmail_quote">On Mon, May 4, 2015 at 11:28 AM, Gareth Rushg=
rove <span dir=3D"ltr">&lt;<a href=3D"mailto:gareth@morethanseven.net" targ=
et=3D"_blank">gareth@morethanseven.net</a>&gt;</span> wrote:<br><blockquote=
 class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc soli=
d;padding-left:1ex"><span class=3D"">On 4 May 2015 at 19:13, Robert Ream &l=
t;<a href=3D"mailto:robertream@gmail.com">robertream@gmail.com</a>&gt; wrot=
e:<br>
&gt; As noted in another thread, for some reason I had problems with Vivid =
so I<br>
&gt; went back to Trusty and got it working... but I&#39;m new to this proj=
ect.<br>
&gt;<br>
<br>
</span>That&#39;s one of the things I&#39;d like to fix, or at least make i=
t easy to<br>
see whether it&#39;s working.<br>
<br>
Along with the mentioned Puppet module I&#39;m writing a set of acceptance<=
br>
tests. These can be set to run periodically, or just be run manually.<br>
They will spin up a virtual machine, run the Puppet code (to install<br>
mirage), build a unix unikernel, build a xen unikernel, run the unix<br>
unikernel and assert that all of that worked (ie. no errors) and that<br>
the unikernel works (probably a simple http server). If you wanted to<br>
run a shell script instead of run Puppet you should be able to drop<br>
that in easily enough.<br>
<br>
I have this partially working with Trusty now. Once I&#39;ve got that<br>
actually working I&#39;ll ship it and probably work on verifying Vivid<br>
support.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Gareth<br>
</font></span><span class=3D"im HOEnZb"><br>
&gt; On Mon, May 4, 2015 at 9:00 AM, Justin Cormack<br>
&gt; &lt;<a href=3D"mailto:justin@specialbusservice.com">justin@specialbuss=
ervice.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On 4 May 2015 at 15:10, Anil Madhavapeddy &lt;<a href=3D"mailto:an=
il@recoil.org">anil@recoil.org</a>&gt; wrote:<br>
&gt;&gt; &gt; On 4 May 2015, at 07:03, Gareth Rushgrove &lt;<a href=3D"mail=
to:gareth@morethanseven.net">gareth@morethanseven.net</a>&gt;<br>
&gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; I&#39;m tinkering with some automation to make getting st=
arted with Mirage<br>
&gt;&gt; &gt;&gt; easier and ran into a few issues I thought I&#39;d mentio=
n.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; While following the docs at: <a href=3D"http://openmirage=
.org/wiki/install" target=3D"_blank">http://openmirage.org/wiki/install</a>=
<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; 1. The list of supported operating systems (ArchLinux, De=
bian Wheezy,<br>
&gt;&gt; &gt;&gt; Ubuntu Precise/Lucid/Raring/Saucy, CentOS 6.4 and MacOS X=
 10.8 and<br>
&gt;&gt; &gt;&gt; 10.9) appears to contain older systems. Is this still up-=
to-date?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; This one&#39;s out of date.=C2=A0 I maintain a manual set of =
PPAs that cover<br>
&gt;&gt; &gt; Ubuntu up to Vivid.=C2=A0 Perhaps we should add a date to the=
 entry to<br>
&gt;&gt; &gt; make it clear when it was last updated!<br>
&gt;&gt;<br>
&gt;&gt; Vivid seems to work fine out of the box with the upstream packages=
.<br>
&gt;&gt;<br>
&gt;&gt; Justin<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; MirageOS-devel mailing list<br>
&gt;&gt; <a href=3D"mailto:MirageOS-devel@lists.xenproject.org">MirageOS-de=
vel@lists.xenproject.org</a><br>
&gt;&gt; <a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mi=
rageos-devel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman=
/listinfo/mirageos-devel</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; MirageOS-devel mailing list<br>
&gt; <a href=3D"mailto:MirageOS-devel@lists.xenproject.org">MirageOS-devel@=
lists.xenproject.org</a><br>
&gt; <a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirage=
os-devel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/lis=
tinfo/mirageos-devel</a><br>
&gt;<br>
<br>
<br>
<br>
</span><div class=3D"HOEnZb"><div class=3D"h5">--<br>
Gareth Rushgrove<br>
@garethr<br>
<br>
<a href=3D"http://devopsweekly.com" target=3D"_blank">devopsweekly.com</a><=
br>
<a href=3D"http://morethanseven.net" target=3D"_blank">morethanseven.net</a=
><br>
<a href=3D"http://garethrushgrove.com" target=3D"_blank">garethrushgrove.co=
m</a><br>
</div></div></blockquote></div><br></div>

--001a11c2693e3bc5830515485ce6--


--===============2959073726672598153==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============2959073726672598153==--


From mirageos-devel-bounces@lists.xenproject.org Mon May 04 21:50:27 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 04 May 2015 21:50:27 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpOFt-0001TC-5v; Mon, 04 May 2015 21:50:25 +0000
Received: from mail6.bemta4.messagelabs.com ([85.158.143.247])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <justin@specialbusservice.com>) id 1YpOFr-0001T7-IM
	for mirageos-devel@lists.xenproject.org; Mon, 04 May 2015 21:50:24 +0000
Received: from [85.158.143.35] by server-2.bemta-4.messagelabs.com id
	2A/11-02760-E99E7455; Mon, 04 May 2015 21:50:22 +0000
X-Env-Sender: justin@specialbusservice.com
X-Msg-Ref: server-3.tower-21.messagelabs.com!1430776221!734536!1
X-Originating-IP: [74.125.82.47]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 23641 invoked from network); 4 May 2015 21:50:21 -0000
Received: from mail-wg0-f47.google.com (HELO mail-wg0-f47.google.com)
	(74.125.82.47)
	by server-3.tower-21.messagelabs.com with RC4-SHA encrypted SMTP;
	4 May 2015 21:50:21 -0000
Received: by wgso17 with SMTP id o17so164124395wgs.1
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 04 May 2015 14:50:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=specialbusservice.com; s=google;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=aCYnF3zJXAqi/kpCJG01sTPAW0o0ZBlts3w2tFO8eFk=;
	b=HKAngNESCSEW0bATWBnr+3+k4kC0Wrf8vXhv6ViX7B2H4kyvbP6J/gLqHaVr4gHrhS
	wWv4Z9IcRDuvOeO2MpdsyPT7yci/CBHWgWrsngVVOdrQY1IrNCdWuiuYfpxk4BTCJYax
	i/hD3Hp98QGo1M0t+6fnhaTQv421MEYjDBarw=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=aCYnF3zJXAqi/kpCJG01sTPAW0o0ZBlts3w2tFO8eFk=;
	b=VMqQSm5+4awsRd1AVT+v5+k6ke9iulZ2gpiwms/suMiXkyFcYkSgaKLFx6logkOMBS
	CYF7XalqwwRQrSx1Y50NBRZLgJgxESQJ7WTJ22G1940l5FppyUSYIyZMeo8lpIJewTLm
	BsT3u1Gr8pNGtJC/rSKcyITFo77t7uiX53xwyi3w3n4jlo+aLyV9l/EZjDN+N26Hi6Bw
	MY2BdiazSolrzadYtsutmTszv8HNDezVu86KtNMEjLn+IjgEwBbxYRYNIW3ly15cdJ87
	0URukqzJRDR0ey0pTmUQ6bJNXpOoUYSMoxOBrFit7i5WyEZm4RHB5bmeKzNvHolTjCiP
	Iymw==
X-Gm-Message-State: ALoCoQmMNoCUgdWh1fW+UjgjkVDe+blbT22yoioouI4EFW5L4+VMsN9shy6NXXoQH6x78URtPsuP
MIME-Version: 1.0
X-Received: by 10.194.216.196 with SMTP id os4mr11199389wjc.117.1430776220773; 
	Mon, 04 May 2015 14:50:20 -0700 (PDT)
Received: by 10.28.13.85 with HTTP; Mon, 4 May 2015 14:50:20 -0700 (PDT)
In-Reply-To: <5540F108.2030004@somerandomidiot.com>
References: <CAERB2H4WzUoKZ_Woga0j0jMXfjy=ouxc1ZZ7BOZFtj+Pke3b3A@mail.gmail.com>
	<07CD6C17-3703-4888-A0D7-0C78FFADB14E@gazagnaire.org>
	<CAK4o1WxzZcyJF69RQ5tc=4C1TXoU7kHPS4yd3LSRVW-wo2eKdw@mail.gmail.com>
	<5540F108.2030004@somerandomidiot.com>
Date: Mon, 4 May 2015 22:50:20 +0100
Message-ID: <CAK4o1WwoLWZxruURoHmhCOMCbVOzj01FkO3vBG0Y9j1Xd_2ftw@mail.gmail.com>
From: Justin Cormack <justin@specialbusservice.com>
To: Mindy <mindy@somerandomidiot.com>
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Mirage OS 2.4 errors on install and
 mirage-skeleton build
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 29 April 2015 at 15:56, Mindy <mindy@somerandomidiot.com> wrote:
>>> Third, when I managed to get one of the network samples building, for
>>> example "ping", I couldn't get the unikernel running locally with a
>>> tun/tap
>>> device I created. Even though I use tapctl to create a tap0 device owned
>>> by
>>> my user account, just like the tutorial advises, when I go to execute the
>>> unikernel I still get this error:
>>>
>>> Fatal error: exception Failure("net_tap0")
>>> Raised at file "src/core/lwt.ml", line 788, characters 22-23
>>> Called from file "src/unix/lwt_main.ml", line 34, characters 8-18
>>> Called from file "main.ml", line 47, characters 2-28
>>>
>>>
>>> This is rather cryptic but might indicate that you need to run the
>>> command
>>> using sudo.
>>
>> What does strace show here? It might be permissions but if you made
>> the device owned by your user account it shouldnt be. You may need to
>> make /dev/net/tun world read and write (which is safe to do).
>
> On 14.04.2, I need to run with sudo even if the device is owned by my user,
> I've made it with tunctl -u me, and the mode is u+rwx, otherwise strace
> shows
>
> open("/dev/net/tun", O_RDWR)            = 4
> ioctl(4, TUNSETIFF, 0x7fffb7dd0a20)     = 0
> ioctl(4, TUNSETPERSIST, 0)              = 0
> fcntl(4, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
> fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK|O_LARGEFILE) = 0
> socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 5
> ioctl(5, SIOCGIFFLAGS, {ifr_name="tap0",
> ifr_flags=IFF_BROADCAST|IFF_MULTICAST}) = 0
> ioctl(5, SIOCSIFFLAGS, {ifr_name="tap0", ???}) = -1 EPERM (Operation not
> permitted)
>
> So you may need to run it with elevated privileges even if it seems like you
> should be able to get away with running it as yourself.
>
> (Thanks for the bug report; attempting to reproduce it got me to actually
> use the tap interface for the first time.)

I have sent a pull request to fix the requires root issue - it was
trying to bring the interface up which requires root, so long as it is
already up this is fine, I use:

sudo ip tuntap add dev tap0 mode tap user justin && sudo ip link set dev tap0 up

to create interfaces. The disappearing thing is the interface going
down again, it is not a persistence thing, as it is not actually
removed.

In addition it seems that some types of Linux tap devices return 0
when there is nothing to read, rather than EAGAIN as you would expect,
will send another pull request to work around this...

Justin

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon May 04 21:50:27 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 04 May 2015 21:50:27 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpOFt-0001TC-5v; Mon, 04 May 2015 21:50:25 +0000
Received: from mail6.bemta4.messagelabs.com ([85.158.143.247])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <justin@specialbusservice.com>) id 1YpOFr-0001T7-IM
	for mirageos-devel@lists.xenproject.org; Mon, 04 May 2015 21:50:24 +0000
Received: from [85.158.143.35] by server-2.bemta-4.messagelabs.com id
	2A/11-02760-E99E7455; Mon, 04 May 2015 21:50:22 +0000
X-Env-Sender: justin@specialbusservice.com
X-Msg-Ref: server-3.tower-21.messagelabs.com!1430776221!734536!1
X-Originating-IP: [74.125.82.47]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 23641 invoked from network); 4 May 2015 21:50:21 -0000
Received: from mail-wg0-f47.google.com (HELO mail-wg0-f47.google.com)
	(74.125.82.47)
	by server-3.tower-21.messagelabs.com with RC4-SHA encrypted SMTP;
	4 May 2015 21:50:21 -0000
Received: by wgso17 with SMTP id o17so164124395wgs.1
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 04 May 2015 14:50:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=specialbusservice.com; s=google;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=aCYnF3zJXAqi/kpCJG01sTPAW0o0ZBlts3w2tFO8eFk=;
	b=HKAngNESCSEW0bATWBnr+3+k4kC0Wrf8vXhv6ViX7B2H4kyvbP6J/gLqHaVr4gHrhS
	wWv4Z9IcRDuvOeO2MpdsyPT7yci/CBHWgWrsngVVOdrQY1IrNCdWuiuYfpxk4BTCJYax
	i/hD3Hp98QGo1M0t+6fnhaTQv421MEYjDBarw=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=aCYnF3zJXAqi/kpCJG01sTPAW0o0ZBlts3w2tFO8eFk=;
	b=VMqQSm5+4awsRd1AVT+v5+k6ke9iulZ2gpiwms/suMiXkyFcYkSgaKLFx6logkOMBS
	CYF7XalqwwRQrSx1Y50NBRZLgJgxESQJ7WTJ22G1940l5FppyUSYIyZMeo8lpIJewTLm
	BsT3u1Gr8pNGtJC/rSKcyITFo77t7uiX53xwyi3w3n4jlo+aLyV9l/EZjDN+N26Hi6Bw
	MY2BdiazSolrzadYtsutmTszv8HNDezVu86KtNMEjLn+IjgEwBbxYRYNIW3ly15cdJ87
	0URukqzJRDR0ey0pTmUQ6bJNXpOoUYSMoxOBrFit7i5WyEZm4RHB5bmeKzNvHolTjCiP
	Iymw==
X-Gm-Message-State: ALoCoQmMNoCUgdWh1fW+UjgjkVDe+blbT22yoioouI4EFW5L4+VMsN9shy6NXXoQH6x78URtPsuP
MIME-Version: 1.0
X-Received: by 10.194.216.196 with SMTP id os4mr11199389wjc.117.1430776220773; 
	Mon, 04 May 2015 14:50:20 -0700 (PDT)
Received: by 10.28.13.85 with HTTP; Mon, 4 May 2015 14:50:20 -0700 (PDT)
In-Reply-To: <5540F108.2030004@somerandomidiot.com>
References: <CAERB2H4WzUoKZ_Woga0j0jMXfjy=ouxc1ZZ7BOZFtj+Pke3b3A@mail.gmail.com>
	<07CD6C17-3703-4888-A0D7-0C78FFADB14E@gazagnaire.org>
	<CAK4o1WxzZcyJF69RQ5tc=4C1TXoU7kHPS4yd3LSRVW-wo2eKdw@mail.gmail.com>
	<5540F108.2030004@somerandomidiot.com>
Date: Mon, 4 May 2015 22:50:20 +0100
Message-ID: <CAK4o1WwoLWZxruURoHmhCOMCbVOzj01FkO3vBG0Y9j1Xd_2ftw@mail.gmail.com>
From: Justin Cormack <justin@specialbusservice.com>
To: Mindy <mindy@somerandomidiot.com>
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Mirage OS 2.4 errors on install and
 mirage-skeleton build
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 29 April 2015 at 15:56, Mindy <mindy@somerandomidiot.com> wrote:
>>> Third, when I managed to get one of the network samples building, for
>>> example "ping", I couldn't get the unikernel running locally with a
>>> tun/tap
>>> device I created. Even though I use tapctl to create a tap0 device owned
>>> by
>>> my user account, just like the tutorial advises, when I go to execute the
>>> unikernel I still get this error:
>>>
>>> Fatal error: exception Failure("net_tap0")
>>> Raised at file "src/core/lwt.ml", line 788, characters 22-23
>>> Called from file "src/unix/lwt_main.ml", line 34, characters 8-18
>>> Called from file "main.ml", line 47, characters 2-28
>>>
>>>
>>> This is rather cryptic but might indicate that you need to run the
>>> command
>>> using sudo.
>>
>> What does strace show here? It might be permissions but if you made
>> the device owned by your user account it shouldnt be. You may need to
>> make /dev/net/tun world read and write (which is safe to do).
>
> On 14.04.2, I need to run with sudo even if the device is owned by my user,
> I've made it with tunctl -u me, and the mode is u+rwx, otherwise strace
> shows
>
> open("/dev/net/tun", O_RDWR)            = 4
> ioctl(4, TUNSETIFF, 0x7fffb7dd0a20)     = 0
> ioctl(4, TUNSETPERSIST, 0)              = 0
> fcntl(4, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
> fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK|O_LARGEFILE) = 0
> socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 5
> ioctl(5, SIOCGIFFLAGS, {ifr_name="tap0",
> ifr_flags=IFF_BROADCAST|IFF_MULTICAST}) = 0
> ioctl(5, SIOCSIFFLAGS, {ifr_name="tap0", ???}) = -1 EPERM (Operation not
> permitted)
>
> So you may need to run it with elevated privileges even if it seems like you
> should be able to get away with running it as yourself.
>
> (Thanks for the bug report; attempting to reproduce it got me to actually
> use the tap interface for the first time.)

I have sent a pull request to fix the requires root issue - it was
trying to bring the interface up which requires root, so long as it is
already up this is fine, I use:

sudo ip tuntap add dev tap0 mode tap user justin && sudo ip link set dev tap0 up

to create interfaces. The disappearing thing is the interface going
down again, it is not a persistence thing, as it is not actually
removed.

In addition it seems that some types of Linux tap devices return 0
when there is nothing to read, rather than EAGAIN as you would expect,
will send another pull request to work around this...

Justin

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 05 05:44:36 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 05 May 2015 05:44:36 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpVea-0004Li-Te; Tue, 05 May 2015 05:44:24 +0000
Received: from mail6.bemta4.messagelabs.com ([85.158.143.247])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YpVeZ-0004Ld-Kr
	for MirageOS-devel@lists.xenproject.org; Tue, 05 May 2015 05:44:23 +0000
Received: from [85.158.143.35] by server-3.bemta-4.messagelabs.com id
	C7/26-02784-6B858455; Tue, 05 May 2015 05:44:22 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-7.tower-21.messagelabs.com!1430804661!781503!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9083 invoked from network); 5 May 2015 05:44:21 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-7.tower-21.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 5 May 2015 05:44:21 -0000
Received: from [192.168.0.127] (c-98-248-38-18.hsd1.ca.comcast.net
	[98.248.38.18]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 1797b425;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 5 May 2015 06:44:21 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAFi_6yKDjEDWTi8PSZyqC4YHPpxfNFMKbffjembj95UrLzmMyA@mail.gmail.com>
Date: Mon, 4 May 2015 22:44:19 -0700
Message-Id: <17A12FF8-0CCF-420B-A227-1AC8B8067E23@recoil.org>
References: <CAFi_6yKN3n-XKFbryUewo++DR_UidFCupocFA5+WaDbsATXZOw@mail.gmail.com>
	<5CAB559F-EBD5-4A04-90A1-2E7381A95A1E@recoil.org>
	<CAK4o1WzBJs9M3a8DZe8P+yq1GmX5e08HkTTcQCocFbe89Q2beg@mail.gmail.com>
	<CAERB2H7=oGp_YPMxBU+7xLNektNBVT28fkThSc4GeQ4PjJRPPA@mail.gmail.com>
	<CAFi_6yKDjEDWTi8PSZyqC4YHPpxfNFMKbffjembj95UrLzmMyA@mail.gmail.com>
To: Gareth Rushgrove <gareth@morethanseven.net>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <MirageOS-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Getting started documentation issues
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 4 May 2015, at 11:28, Gareth Rushgrove <gareth@morethanseven.net> wrote:
> 
> On 4 May 2015 at 19:13, Robert Ream <robertream@gmail.com> wrote:
>> As noted in another thread, for some reason I had problems with Vivid so I
>> went back to Trusty and got it working... but I'm new to this project.
>> 
> 
> That's one of the things I'd like to fix, or at least make it easy to
> see whether it's working.
> 
> Along with the mentioned Puppet module I'm writing a set of acceptance
> tests. These can be set to run periodically, or just be run manually.
> They will spin up a virtual machine, run the Puppet code (to install
> mirage), build a unix unikernel, build a xen unikernel, run the unix
> unikernel and assert that all of that worked (ie. no errors) and that
> the unikernel works (probably a simple http server). If you wanted to
> run a shell script instead of run Puppet you should be able to drop
> that in easily enough.
> 
> I have this partially working with Trusty now. Once I've got that
> actually working I'll ship it and probably work on verifying Vivid
> support.

Sounds like exactly what we need to get some acceptance tests in for
release testing. Is there a standard Puppet module used for the virtual
machine spinup (i.e. does it use libxl, or xm, or something else
for Xen?).  Should be able to set this up on one of our Bytemark
hosted machines in order to be triggered from a GitHub push.

Anil

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 05 05:44:36 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 05 May 2015 05:44:36 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpVea-0004Li-Te; Tue, 05 May 2015 05:44:24 +0000
Received: from mail6.bemta4.messagelabs.com ([85.158.143.247])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YpVeZ-0004Ld-Kr
	for MirageOS-devel@lists.xenproject.org; Tue, 05 May 2015 05:44:23 +0000
Received: from [85.158.143.35] by server-3.bemta-4.messagelabs.com id
	C7/26-02784-6B858455; Tue, 05 May 2015 05:44:22 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-7.tower-21.messagelabs.com!1430804661!781503!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9083 invoked from network); 5 May 2015 05:44:21 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-7.tower-21.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 5 May 2015 05:44:21 -0000
Received: from [192.168.0.127] (c-98-248-38-18.hsd1.ca.comcast.net
	[98.248.38.18]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 1797b425;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 5 May 2015 06:44:21 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAFi_6yKDjEDWTi8PSZyqC4YHPpxfNFMKbffjembj95UrLzmMyA@mail.gmail.com>
Date: Mon, 4 May 2015 22:44:19 -0700
Message-Id: <17A12FF8-0CCF-420B-A227-1AC8B8067E23@recoil.org>
References: <CAFi_6yKN3n-XKFbryUewo++DR_UidFCupocFA5+WaDbsATXZOw@mail.gmail.com>
	<5CAB559F-EBD5-4A04-90A1-2E7381A95A1E@recoil.org>
	<CAK4o1WzBJs9M3a8DZe8P+yq1GmX5e08HkTTcQCocFbe89Q2beg@mail.gmail.com>
	<CAERB2H7=oGp_YPMxBU+7xLNektNBVT28fkThSc4GeQ4PjJRPPA@mail.gmail.com>
	<CAFi_6yKDjEDWTi8PSZyqC4YHPpxfNFMKbffjembj95UrLzmMyA@mail.gmail.com>
To: Gareth Rushgrove <gareth@morethanseven.net>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <MirageOS-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Getting started documentation issues
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 4 May 2015, at 11:28, Gareth Rushgrove <gareth@morethanseven.net> wrote:
> 
> On 4 May 2015 at 19:13, Robert Ream <robertream@gmail.com> wrote:
>> As noted in another thread, for some reason I had problems with Vivid so I
>> went back to Trusty and got it working... but I'm new to this project.
>> 
> 
> That's one of the things I'd like to fix, or at least make it easy to
> see whether it's working.
> 
> Along with the mentioned Puppet module I'm writing a set of acceptance
> tests. These can be set to run periodically, or just be run manually.
> They will spin up a virtual machine, run the Puppet code (to install
> mirage), build a unix unikernel, build a xen unikernel, run the unix
> unikernel and assert that all of that worked (ie. no errors) and that
> the unikernel works (probably a simple http server). If you wanted to
> run a shell script instead of run Puppet you should be able to drop
> that in easily enough.
> 
> I have this partially working with Trusty now. Once I've got that
> actually working I'll ship it and probably work on verifying Vivid
> support.

Sounds like exactly what we need to get some acceptance tests in for
release testing. Is there a standard Puppet module used for the virtual
machine spinup (i.e. does it use libxl, or xm, or something else
for Xen?).  Should be able to set this up on one of our Bytemark
hosted machines in order to be triggered from a GitHub push.

Anil

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 05 07:12:13 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 05 May 2015 07:12:13 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpX1R-0007Lz-E9; Tue, 05 May 2015 07:12:05 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YpX1P-0007Lu-Hn
	for mirageos-devel@lists.xenproject.org; Tue, 05 May 2015 07:12:03 +0000
Received: from [85.158.137.68] by server-13.bemta-3.messagelabs.com id
	23/D5-30165-24D68455; Tue, 05 May 2015 07:12:02 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-10.tower-31.messagelabs.com!1430809921!12283878!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 32145 invoked from network); 5 May 2015 07:12:01 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-10.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 5 May 2015 07:12:01 -0000
Received: from [192.168.0.127] (c-98-248-38-18.hsd1.ca.comcast.net
	[98.248.38.18]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id e75a88a5;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 5 May 2015 08:12:00 +0100 (BST)
From: Anil Madhavapeddy <anil@recoil.org>
Message-Id: <05070872-3D06-4455-B39D-07EF9F74FA1D@recoil.org>
Date: Tue, 5 May 2015 00:11:58 -0700
To: CL Multicore <cl-ocamllabs-multicore@lists.cam.ac.uk>,
	mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Subject: [MirageOS-devel] interesting cohttp benchmarking thread
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

See:
https://github.com/mirage/ocaml-cohttp/issues/328

If anyone gets a chance to reproduce the setup, please let me know (I'm travelling this week). I think an Lwt version would be useful anyway for Mirage, and possibly simpler to integrate with the multicore branch soon to try and run a few domains in parallel.

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 05 07:12:13 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 05 May 2015 07:12:13 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpX1R-0007Lz-E9; Tue, 05 May 2015 07:12:05 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YpX1P-0007Lu-Hn
	for mirageos-devel@lists.xenproject.org; Tue, 05 May 2015 07:12:03 +0000
Received: from [85.158.137.68] by server-13.bemta-3.messagelabs.com id
	23/D5-30165-24D68455; Tue, 05 May 2015 07:12:02 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-10.tower-31.messagelabs.com!1430809921!12283878!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 32145 invoked from network); 5 May 2015 07:12:01 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-10.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 5 May 2015 07:12:01 -0000
Received: from [192.168.0.127] (c-98-248-38-18.hsd1.ca.comcast.net
	[98.248.38.18]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id e75a88a5;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 5 May 2015 08:12:00 +0100 (BST)
From: Anil Madhavapeddy <anil@recoil.org>
Message-Id: <05070872-3D06-4455-B39D-07EF9F74FA1D@recoil.org>
Date: Tue, 5 May 2015 00:11:58 -0700
To: CL Multicore <cl-ocamllabs-multicore@lists.cam.ac.uk>,
	mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Subject: [MirageOS-devel] interesting cohttp benchmarking thread
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

See:
https://github.com/mirage/ocaml-cohttp/issues/328

If anyone gets a chance to reproduce the setup, please let me know (I'm travelling this week). I think an Lwt version would be useful anyway for Mirage, and possibly simpler to integrate with the multicore branch soon to try and run a few domains in parallel.

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 05 08:05:46 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 05 May 2015 08:05:46 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpXrG-0001Yn-DX; Tue, 05 May 2015 08:05:38 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YpXrF-0001Yi-5J
	for mirageos-devel@lists.xenproject.org; Tue, 05 May 2015 08:05:37 +0000
Received: from [85.158.137.68] by server-14.bemta-3.messagelabs.com id
	5B/93-07318-0D978455; Tue, 05 May 2015 08:05:36 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-5.tower-31.messagelabs.com!1430813132!12365334!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=1.1 required=7.0 tests=HTML_40_50,HTML_MESSAGE,
	MAILTO_TO_SPAM_ADDR,RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 3759 invoked from network); 5 May 2015 08:05:32 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-5.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 5 May 2015 08:05:32 -0000
Received: from [192.168.0.127] (c-98-248-38-18.hsd1.ca.comcast.net
	[98.248.38.18]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 329f2234;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 5 May 2015 09:05:31 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAMu2m2KWN0dkeq7AYTVHUFPzajV-abbBKV-5CqQC42e-DFtxEw@mail.gmail.com>
Date: Tue, 5 May 2015 01:05:29 -0700
Message-Id: <581FD3F7-6062-45CA-8079-606EB36DE11F@recoil.org>
References: <CAG_esB35ta00pLfgh79FA8CHVBZoVLRuS7KXoc9avXyAA7kZSw@mail.gmail.com>
	<CAMu2m2KWN0dkeq7AYTVHUFPzajV-abbBKV-5CqQC42e-DFtxEw@mail.gmail.com>
To: Ashish Agarwal <agarwal1975@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] code coverage testing with Bisect
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============4148952352621588171=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============4148952352621588171==
Content-Type: multipart/alternative; boundary="Apple-Mail=_27E149B4-5311-4E73-B00B-00DA85FEDB55"


--Apple-Mail=_27E149B4-5311-4E73-B00B-00DA85FEDB55
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Mirage itself is ISC licensed (I've created an issue to add it to the =
main tool repository).  I don't believe there are any licensing issues =
since we only run Bisect at build time to generate a report, and it's =
not otherwise linked or distributed with the library that it is =
bisecting.

-anil

> On 4 May 2015, at 12:14, Ashish Agarwal <agarwal1975@gmail.com> wrote:
>=20
> Bisect is GPL. Is it compatible with Mirage's license? BTW, what is =
Mirage's license? I don't see it in the main repo =
<https://github.com/mirage/mirage>.
>=20
> On Thu, Mar 12, 2015 at 5:34 AM, David Scott <scott.dj@gmail.com =
<mailto:scott.dj@gmail.com>> wrote:
> Hi,
>=20
> I've been having a lot of fun with bisect[1] recently-- I've been =
using it to see which parts of the mirage-block-volume[2] and =
shared-block-ring[3] libraries are completely untouched by their unit =
tests. I found the following game to be quite addictive:
>=20
> 1. "make coverage", and load result in web-browser
> 2. spot a big chunk of obvious red (danger, danger, danger)
> 3. (thinking carefully about what could go wrong) devise an =
interesting test to stress the red bits (obviously you could cover it =
with a 'noddy' test but there is probably no point)
> 4. "make coverage", reload in browser and see the red go green!
>=20
> I've hooked it up with coveralls.io <http://coveralls.io/> (admittedly =
in a bit of a hacky way[4]) such that the master branch is firmly in =
"development" mode, linking against bisect, and without checking in the =
oasis autogen rubbish. The .travis.yml runs both the travisci-skeleton =
script and then invokes ocveralls[5] to upload the results.
>=20
> I've added a separate "make release" step which removes bisect and =
checks in the autogen (presumably into a release branch). Perhaps =
eventually this could make a github pull request (with the "hub" tool?) =
and make an opam package?
>=20
> I think the game is made even more addictive when the coveralls badge =
changes colour, see:
>=20
> https://coveralls.io/r/mirage/mirage-block-volume?branch=3Dmaster =
<https://coveralls.io/r/mirage/mirage-block-volume?branch=3Dmaster>
>=20
> Here's an example bisect report (the code is a work-in-progress):
>=20
> http://dave.recoil.org/tmp/report/file0000.html =
<http://dave.recoil.org/tmp/report/file0000.html>
>=20
> If you haven't given bisect a go -- I recommend playing with it.
>=20
> Also, if you can think of a nicer way to integrate this -- I admit =
using 'sed' on the _oasis file is a bit of a hack -- please let me know!
>=20
> Cheers,
> Dave
>=20
> [1] http://bisect.x9c.fr <http://bisect.x9c.fr/>
> [2] https://github.com/mirage/mirage-block-volume =
<https://github.com/mirage/mirage-block-volume>
> [3] https://github.com/mirage/shared-block-ring =
<https://github.com/mirage/shared-block-ring>
> [4] =
https://github.com/mirage/shared-block-ring/commit/67b9f3100be8e4e9732dd79=
b7c1cc5352a61d478 =
<https://github.com/mirage/shared-block-ring/commit/67b9f3100be8e4e9732dd7=
9b7c1cc5352a61d478>
> [5] https://github.com/sagotch/ocveralls =
<https://github.com/sagotch/ocveralls>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org =
<mailto:MirageOS-devel@lists.xenproject.org>
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel =
<http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>
>=20
>=20
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


--Apple-Mail=_27E149B4-5311-4E73-B00B-00DA85FEDB55
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Mirage itself is ISC licensed (I've created an issue to add =
it to the main tool repository). &nbsp;I don't believe there are any =
licensing issues since we only run Bisect at build time to generate a =
report, and it's not otherwise linked or distributed with the library =
that it is bisecting.<div class=3D""><br class=3D""></div><div =
class=3D"">-anil<br class=3D""><div class=3D""><br =
class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D"">On =
4 May 2015, at 12:14, Ashish Agarwal &lt;<a =
href=3D"mailto:agarwal1975@gmail.com" =
class=3D"">agarwal1975@gmail.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" =
class=3D"">Bisect is GPL. Is it compatible with Mirage's license? BTW, =
what is Mirage's license? I don't see it in the <a =
href=3D"https://github.com/mirage/mirage" class=3D"">main =
repo</a>.</div><div class=3D"gmail_extra"><br class=3D""><div =
class=3D"gmail_quote">On Thu, Mar 12, 2015 at 5:34 AM, David Scott <span =
dir=3D"ltr" class=3D"">&lt;<a href=3D"mailto:scott.dj@gmail.com" =
target=3D"_blank" class=3D"">scott.dj@gmail.com</a>&gt;</span> wrote:<br =
class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr" =
class=3D""><div class=3D"">Hi,</div><div class=3D""><br =
class=3D""></div><div class=3D"">I've been having a lot of fun with =
bisect[1] recently-- I've been using it to see which parts of the =
mirage-block-volume[2] and shared-block-ring[3] libraries are completely =
untouched by their unit tests. I found the following game to be quite =
addictive:</div><div class=3D""><br class=3D""></div><div class=3D"">1. =
"make coverage", and load result in web-browser</div><div class=3D"">2. =
spot a big chunk of obvious red (danger, danger, danger)</div><div =
class=3D"">3. (thinking carefully about what could go wrong) devise an =
interesting test to stress the red bits (obviously you could cover it =
with a 'noddy' test but there is probably no point)</div><div =
class=3D"">4. "make coverage", reload in browser and see the red go =
green!</div><div class=3D""><br class=3D""></div><div class=3D"">I've =
hooked it up with <a href=3D"http://coveralls.io/" target=3D"_blank" =
class=3D"">coveralls.io</a> (admittedly in a bit of a hacky way[4]) such =
that the master branch is firmly in "development" mode, linking against =
bisect, and without checking in the oasis autogen rubbish. The =
.travis.yml runs both the travisci-skeleton script and then invokes =
ocveralls[5] to upload the results.</div><div class=3D""><br =
class=3D""></div><div class=3D"">I've added a separate "make release" =
step which removes bisect and checks in the autogen (presumably into a =
release branch). Perhaps eventually this could make a github pull =
request (with the "hub" tool?) and make an opam package?</div><div =
class=3D""><br class=3D""></div><div class=3D"">I think the game is made =
even more addictive when the coveralls badge changes colour, =
see:</div><div class=3D""><br class=3D""></div><div class=3D""><a =
href=3D"https://coveralls.io/r/mirage/mirage-block-volume?branch=3Dmaster"=
 target=3D"_blank" =
class=3D"">https://coveralls.io/r/mirage/mirage-block-volume?branch=3Dmast=
er</a><br class=3D""></div><div class=3D""><br class=3D""></div><div =
class=3D"">Here's an example bisect report (the code is a =
work-in-progress):</div><div class=3D""><br class=3D""></div><div =
class=3D""><a href=3D"http://dave.recoil.org/tmp/report/file0000.html" =
target=3D"_blank" =
class=3D"">http://dave.recoil.org/tmp/report/file0000.html</a><br =
class=3D""></div><div class=3D""><br class=3D""></div><div class=3D"">If =
you haven't given bisect a go -- I recommend playing with it.</div><div =
class=3D""><br class=3D""></div><div class=3D"">Also, if you can think =
of a nicer way to integrate this -- I admit using 'sed' on the _oasis =
file is a bit of a hack -- please let me know!</div><div class=3D""><br =
class=3D""></div><div class=3D"">Cheers,</div><div =
class=3D"">Dave</div><div class=3D""><br class=3D""></div><div =
class=3D"">[1]&nbsp;<a href=3D"http://bisect.x9c.fr/" target=3D"_blank" =
class=3D"">http://bisect.x9c.fr</a></div><div class=3D"">[2]&nbsp;<a =
href=3D"https://github.com/mirage/mirage-block-volume" target=3D"_blank" =
class=3D"">https://github.com/mirage/mirage-block-volume</a></div><div =
class=3D"">[3]&nbsp;<a =
href=3D"https://github.com/mirage/shared-block-ring" target=3D"_blank" =
class=3D"">https://github.com/mirage/shared-block-ring</a></div><div =
class=3D"">[4]&nbsp;<a =
href=3D"https://github.com/mirage/shared-block-ring/commit/67b9f3100be8e4e=
9732dd79b7c1cc5352a61d478" target=3D"_blank" =
class=3D"">https://github.com/mirage/shared-block-ring/commit/67b9f3100be8=
e4e9732dd79b7c1cc5352a61d478</a></div><div class=3D"">[5]&nbsp;<a =
href=3D"https://github.com/sagotch/ocveralls" target=3D"_blank" =
class=3D"">https://github.com/sagotch/ocveralls</a></div>
</div>
<br class=3D"">_______________________________________________<br =
class=3D"">
MirageOS-devel mailing list<br class=3D"">
<a href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
class=3D"">MirageOS-devel@lists.xenproject.org</a><br class=3D"">
<a =
href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-deve=
l" target=3D"_blank" =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel</a><br class=3D"">
<br class=3D""></blockquote></div><br class=3D""></div>
_______________________________________________<br =
class=3D"">MirageOS-devel mailing list<br class=3D""><a =
href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
class=3D"">MirageOS-devel@lists.xenproject.org</a><br =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel<br class=3D""></div></blockquote></div><br =
class=3D""></div></div></body></html>=

--Apple-Mail=_27E149B4-5311-4E73-B00B-00DA85FEDB55--


--===============4148952352621588171==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============4148952352621588171==--


From mirageos-devel-bounces@lists.xenproject.org Tue May 05 08:05:46 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 05 May 2015 08:05:46 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpXrG-0001Yn-DX; Tue, 05 May 2015 08:05:38 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YpXrF-0001Yi-5J
	for mirageos-devel@lists.xenproject.org; Tue, 05 May 2015 08:05:37 +0000
Received: from [85.158.137.68] by server-14.bemta-3.messagelabs.com id
	5B/93-07318-0D978455; Tue, 05 May 2015 08:05:36 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-5.tower-31.messagelabs.com!1430813132!12365334!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=1.1 required=7.0 tests=HTML_40_50,HTML_MESSAGE,
	MAILTO_TO_SPAM_ADDR,RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 3759 invoked from network); 5 May 2015 08:05:32 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-5.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 5 May 2015 08:05:32 -0000
Received: from [192.168.0.127] (c-98-248-38-18.hsd1.ca.comcast.net
	[98.248.38.18]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 329f2234;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 5 May 2015 09:05:31 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAMu2m2KWN0dkeq7AYTVHUFPzajV-abbBKV-5CqQC42e-DFtxEw@mail.gmail.com>
Date: Tue, 5 May 2015 01:05:29 -0700
Message-Id: <581FD3F7-6062-45CA-8079-606EB36DE11F@recoil.org>
References: <CAG_esB35ta00pLfgh79FA8CHVBZoVLRuS7KXoc9avXyAA7kZSw@mail.gmail.com>
	<CAMu2m2KWN0dkeq7AYTVHUFPzajV-abbBKV-5CqQC42e-DFtxEw@mail.gmail.com>
To: Ashish Agarwal <agarwal1975@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] code coverage testing with Bisect
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============4148952352621588171=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============4148952352621588171==
Content-Type: multipart/alternative; boundary="Apple-Mail=_27E149B4-5311-4E73-B00B-00DA85FEDB55"


--Apple-Mail=_27E149B4-5311-4E73-B00B-00DA85FEDB55
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Mirage itself is ISC licensed (I've created an issue to add it to the =
main tool repository).  I don't believe there are any licensing issues =
since we only run Bisect at build time to generate a report, and it's =
not otherwise linked or distributed with the library that it is =
bisecting.

-anil

> On 4 May 2015, at 12:14, Ashish Agarwal <agarwal1975@gmail.com> wrote:
>=20
> Bisect is GPL. Is it compatible with Mirage's license? BTW, what is =
Mirage's license? I don't see it in the main repo =
<https://github.com/mirage/mirage>.
>=20
> On Thu, Mar 12, 2015 at 5:34 AM, David Scott <scott.dj@gmail.com =
<mailto:scott.dj@gmail.com>> wrote:
> Hi,
>=20
> I've been having a lot of fun with bisect[1] recently-- I've been =
using it to see which parts of the mirage-block-volume[2] and =
shared-block-ring[3] libraries are completely untouched by their unit =
tests. I found the following game to be quite addictive:
>=20
> 1. "make coverage", and load result in web-browser
> 2. spot a big chunk of obvious red (danger, danger, danger)
> 3. (thinking carefully about what could go wrong) devise an =
interesting test to stress the red bits (obviously you could cover it =
with a 'noddy' test but there is probably no point)
> 4. "make coverage", reload in browser and see the red go green!
>=20
> I've hooked it up with coveralls.io <http://coveralls.io/> (admittedly =
in a bit of a hacky way[4]) such that the master branch is firmly in =
"development" mode, linking against bisect, and without checking in the =
oasis autogen rubbish. The .travis.yml runs both the travisci-skeleton =
script and then invokes ocveralls[5] to upload the results.
>=20
> I've added a separate "make release" step which removes bisect and =
checks in the autogen (presumably into a release branch). Perhaps =
eventually this could make a github pull request (with the "hub" tool?) =
and make an opam package?
>=20
> I think the game is made even more addictive when the coveralls badge =
changes colour, see:
>=20
> https://coveralls.io/r/mirage/mirage-block-volume?branch=3Dmaster =
<https://coveralls.io/r/mirage/mirage-block-volume?branch=3Dmaster>
>=20
> Here's an example bisect report (the code is a work-in-progress):
>=20
> http://dave.recoil.org/tmp/report/file0000.html =
<http://dave.recoil.org/tmp/report/file0000.html>
>=20
> If you haven't given bisect a go -- I recommend playing with it.
>=20
> Also, if you can think of a nicer way to integrate this -- I admit =
using 'sed' on the _oasis file is a bit of a hack -- please let me know!
>=20
> Cheers,
> Dave
>=20
> [1] http://bisect.x9c.fr <http://bisect.x9c.fr/>
> [2] https://github.com/mirage/mirage-block-volume =
<https://github.com/mirage/mirage-block-volume>
> [3] https://github.com/mirage/shared-block-ring =
<https://github.com/mirage/shared-block-ring>
> [4] =
https://github.com/mirage/shared-block-ring/commit/67b9f3100be8e4e9732dd79=
b7c1cc5352a61d478 =
<https://github.com/mirage/shared-block-ring/commit/67b9f3100be8e4e9732dd7=
9b7c1cc5352a61d478>
> [5] https://github.com/sagotch/ocveralls =
<https://github.com/sagotch/ocveralls>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org =
<mailto:MirageOS-devel@lists.xenproject.org>
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel =
<http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>
>=20
>=20
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


--Apple-Mail=_27E149B4-5311-4E73-B00B-00DA85FEDB55
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Mirage itself is ISC licensed (I've created an issue to add =
it to the main tool repository). &nbsp;I don't believe there are any =
licensing issues since we only run Bisect at build time to generate a =
report, and it's not otherwise linked or distributed with the library =
that it is bisecting.<div class=3D""><br class=3D""></div><div =
class=3D"">-anil<br class=3D""><div class=3D""><br =
class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D"">On =
4 May 2015, at 12:14, Ashish Agarwal &lt;<a =
href=3D"mailto:agarwal1975@gmail.com" =
class=3D"">agarwal1975@gmail.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" =
class=3D"">Bisect is GPL. Is it compatible with Mirage's license? BTW, =
what is Mirage's license? I don't see it in the <a =
href=3D"https://github.com/mirage/mirage" class=3D"">main =
repo</a>.</div><div class=3D"gmail_extra"><br class=3D""><div =
class=3D"gmail_quote">On Thu, Mar 12, 2015 at 5:34 AM, David Scott <span =
dir=3D"ltr" class=3D"">&lt;<a href=3D"mailto:scott.dj@gmail.com" =
target=3D"_blank" class=3D"">scott.dj@gmail.com</a>&gt;</span> wrote:<br =
class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr" =
class=3D""><div class=3D"">Hi,</div><div class=3D""><br =
class=3D""></div><div class=3D"">I've been having a lot of fun with =
bisect[1] recently-- I've been using it to see which parts of the =
mirage-block-volume[2] and shared-block-ring[3] libraries are completely =
untouched by their unit tests. I found the following game to be quite =
addictive:</div><div class=3D""><br class=3D""></div><div class=3D"">1. =
"make coverage", and load result in web-browser</div><div class=3D"">2. =
spot a big chunk of obvious red (danger, danger, danger)</div><div =
class=3D"">3. (thinking carefully about what could go wrong) devise an =
interesting test to stress the red bits (obviously you could cover it =
with a 'noddy' test but there is probably no point)</div><div =
class=3D"">4. "make coverage", reload in browser and see the red go =
green!</div><div class=3D""><br class=3D""></div><div class=3D"">I've =
hooked it up with <a href=3D"http://coveralls.io/" target=3D"_blank" =
class=3D"">coveralls.io</a> (admittedly in a bit of a hacky way[4]) such =
that the master branch is firmly in "development" mode, linking against =
bisect, and without checking in the oasis autogen rubbish. The =
.travis.yml runs both the travisci-skeleton script and then invokes =
ocveralls[5] to upload the results.</div><div class=3D""><br =
class=3D""></div><div class=3D"">I've added a separate "make release" =
step which removes bisect and checks in the autogen (presumably into a =
release branch). Perhaps eventually this could make a github pull =
request (with the "hub" tool?) and make an opam package?</div><div =
class=3D""><br class=3D""></div><div class=3D"">I think the game is made =
even more addictive when the coveralls badge changes colour, =
see:</div><div class=3D""><br class=3D""></div><div class=3D""><a =
href=3D"https://coveralls.io/r/mirage/mirage-block-volume?branch=3Dmaster"=
 target=3D"_blank" =
class=3D"">https://coveralls.io/r/mirage/mirage-block-volume?branch=3Dmast=
er</a><br class=3D""></div><div class=3D""><br class=3D""></div><div =
class=3D"">Here's an example bisect report (the code is a =
work-in-progress):</div><div class=3D""><br class=3D""></div><div =
class=3D""><a href=3D"http://dave.recoil.org/tmp/report/file0000.html" =
target=3D"_blank" =
class=3D"">http://dave.recoil.org/tmp/report/file0000.html</a><br =
class=3D""></div><div class=3D""><br class=3D""></div><div class=3D"">If =
you haven't given bisect a go -- I recommend playing with it.</div><div =
class=3D""><br class=3D""></div><div class=3D"">Also, if you can think =
of a nicer way to integrate this -- I admit using 'sed' on the _oasis =
file is a bit of a hack -- please let me know!</div><div class=3D""><br =
class=3D""></div><div class=3D"">Cheers,</div><div =
class=3D"">Dave</div><div class=3D""><br class=3D""></div><div =
class=3D"">[1]&nbsp;<a href=3D"http://bisect.x9c.fr/" target=3D"_blank" =
class=3D"">http://bisect.x9c.fr</a></div><div class=3D"">[2]&nbsp;<a =
href=3D"https://github.com/mirage/mirage-block-volume" target=3D"_blank" =
class=3D"">https://github.com/mirage/mirage-block-volume</a></div><div =
class=3D"">[3]&nbsp;<a =
href=3D"https://github.com/mirage/shared-block-ring" target=3D"_blank" =
class=3D"">https://github.com/mirage/shared-block-ring</a></div><div =
class=3D"">[4]&nbsp;<a =
href=3D"https://github.com/mirage/shared-block-ring/commit/67b9f3100be8e4e=
9732dd79b7c1cc5352a61d478" target=3D"_blank" =
class=3D"">https://github.com/mirage/shared-block-ring/commit/67b9f3100be8=
e4e9732dd79b7c1cc5352a61d478</a></div><div class=3D"">[5]&nbsp;<a =
href=3D"https://github.com/sagotch/ocveralls" target=3D"_blank" =
class=3D"">https://github.com/sagotch/ocveralls</a></div>
</div>
<br class=3D"">_______________________________________________<br =
class=3D"">
MirageOS-devel mailing list<br class=3D"">
<a href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
class=3D"">MirageOS-devel@lists.xenproject.org</a><br class=3D"">
<a =
href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-deve=
l" target=3D"_blank" =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel</a><br class=3D"">
<br class=3D""></blockquote></div><br class=3D""></div>
_______________________________________________<br =
class=3D"">MirageOS-devel mailing list<br class=3D""><a =
href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
class=3D"">MirageOS-devel@lists.xenproject.org</a><br =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel<br class=3D""></div></blockquote></div><br =
class=3D""></div></div></body></html>=

--Apple-Mail=_27E149B4-5311-4E73-B00B-00DA85FEDB55--


--===============4148952352621588171==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============4148952352621588171==--


From mirageos-devel-bounces@lists.xenproject.org Tue May 05 08:35:14 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 05 May 2015 08:35:14 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpYJr-0002J6-KE; Tue, 05 May 2015 08:35:11 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YpYJq-0002J1-6G
	for mirageos-devel@lists.xenproject.org; Tue, 05 May 2015 08:35:10 +0000
Received: from [193.109.254.147] by server-14.bemta-14.messagelabs.com id
	AF/2C-02788-CB088455; Tue, 05 May 2015 08:35:08 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-11.tower-27.messagelabs.com!1430814907!8519012!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 13236 invoked from network); 5 May 2015 08:35:08 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-11.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 5 May 2015 08:35:08 -0000
Received: from [192.168.0.127] (c-98-248-38-18.hsd1.ca.comcast.net
	[98.248.38.18]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id d1eb600c;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 5 May 2015 09:35:07 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAK4o1WwoLWZxruURoHmhCOMCbVOzj01FkO3vBG0Y9j1Xd_2ftw@mail.gmail.com>
Date: Tue, 5 May 2015 01:35:04 -0700
Message-Id: <E04E1B7A-4BDC-483F-B903-B928460F2E44@recoil.org>
References: <CAERB2H4WzUoKZ_Woga0j0jMXfjy=ouxc1ZZ7BOZFtj+Pke3b3A@mail.gmail.com>
	<07CD6C17-3703-4888-A0D7-0C78FFADB14E@gazagnaire.org>
	<CAK4o1WxzZcyJF69RQ5tc=4C1TXoU7kHPS4yd3LSRVW-wo2eKdw@mail.gmail.com>
	<5540F108.2030004@somerandomidiot.com>
	<CAK4o1WwoLWZxruURoHmhCOMCbVOzj01FkO3vBG0Y9j1Xd_2ftw@mail.gmail.com>
To: Justin Cormack <justin@specialbusservice.com>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Mirage OS 2.4 errors on install and
	mirage-skeleton build
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 4 May 2015, at 14:50, Justin Cormack <justin@specialbusservice.com> wrote:
> 
> I have sent a pull request to fix the requires root issue - it was
> trying to bring the interface up which requires root, so long as it is
> already up this is fine, I use:
> 
> sudo ip tuntap add dev tap0 mode tap user justin && sudo ip link set dev tap0 up
> 
> to create interfaces. The disappearing thing is the interface going
> down again, it is not a persistence thing, as it is not actually
> removed.
> 

This almost works for me, except that I still get a permissions error
since the `set_up_and_running` ioctl call checks for IFF_MULTICAST and
IFF_BROADCAST in addition to IFF_UP and IFF_RUNNING.  These aren't
set when I create a persistent tun with `otun add tun10 tun`, but it
shouldn't matter much if those aren't set.  Any particular reason that
we need them?

I've merged the two changes into ocaml-tuntap trunk anyway as they're
an improvement; you can pin them with:

    opam pin add tuntap --dev

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 05 08:35:14 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 05 May 2015 08:35:14 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpYJr-0002J6-KE; Tue, 05 May 2015 08:35:11 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YpYJq-0002J1-6G
	for mirageos-devel@lists.xenproject.org; Tue, 05 May 2015 08:35:10 +0000
Received: from [193.109.254.147] by server-14.bemta-14.messagelabs.com id
	AF/2C-02788-CB088455; Tue, 05 May 2015 08:35:08 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-11.tower-27.messagelabs.com!1430814907!8519012!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 13236 invoked from network); 5 May 2015 08:35:08 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-11.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 5 May 2015 08:35:08 -0000
Received: from [192.168.0.127] (c-98-248-38-18.hsd1.ca.comcast.net
	[98.248.38.18]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id d1eb600c;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 5 May 2015 09:35:07 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAK4o1WwoLWZxruURoHmhCOMCbVOzj01FkO3vBG0Y9j1Xd_2ftw@mail.gmail.com>
Date: Tue, 5 May 2015 01:35:04 -0700
Message-Id: <E04E1B7A-4BDC-483F-B903-B928460F2E44@recoil.org>
References: <CAERB2H4WzUoKZ_Woga0j0jMXfjy=ouxc1ZZ7BOZFtj+Pke3b3A@mail.gmail.com>
	<07CD6C17-3703-4888-A0D7-0C78FFADB14E@gazagnaire.org>
	<CAK4o1WxzZcyJF69RQ5tc=4C1TXoU7kHPS4yd3LSRVW-wo2eKdw@mail.gmail.com>
	<5540F108.2030004@somerandomidiot.com>
	<CAK4o1WwoLWZxruURoHmhCOMCbVOzj01FkO3vBG0Y9j1Xd_2ftw@mail.gmail.com>
To: Justin Cormack <justin@specialbusservice.com>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Mirage OS 2.4 errors on install and
	mirage-skeleton build
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 4 May 2015, at 14:50, Justin Cormack <justin@specialbusservice.com> wrote:
> 
> I have sent a pull request to fix the requires root issue - it was
> trying to bring the interface up which requires root, so long as it is
> already up this is fine, I use:
> 
> sudo ip tuntap add dev tap0 mode tap user justin && sudo ip link set dev tap0 up
> 
> to create interfaces. The disappearing thing is the interface going
> down again, it is not a persistence thing, as it is not actually
> removed.
> 

This almost works for me, except that I still get a permissions error
since the `set_up_and_running` ioctl call checks for IFF_MULTICAST and
IFF_BROADCAST in addition to IFF_UP and IFF_RUNNING.  These aren't
set when I create a persistent tun with `otun add tun10 tun`, but it
shouldn't matter much if those aren't set.  Any particular reason that
we need them?

I've merged the two changes into ocaml-tuntap trunk anyway as they're
an improvement; you can pin them with:

    opam pin add tuntap --dev

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 05 08:48:00 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 05 May 2015 08:48:00 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpYWE-0002ts-Vu; Tue, 05 May 2015 08:47:58 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <justin@specialbusservice.com>) id 1YpYWD-0002tn-G3
	for mirageos-devel@lists.xenproject.org; Tue, 05 May 2015 08:47:57 +0000
Received: from [85.158.137.68] by server-2.bemta-3.messagelabs.com id
	B4/D0-03711-CB388455; Tue, 05 May 2015 08:47:56 +0000
X-Env-Sender: justin@specialbusservice.com
X-Msg-Ref: server-14.tower-31.messagelabs.com!1430815674!9904491!1
X-Originating-IP: [209.85.212.181]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 22841 invoked from network); 5 May 2015 08:47:54 -0000
Received: from mail-wi0-f181.google.com (HELO mail-wi0-f181.google.com)
	(209.85.212.181)
	by server-14.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	5 May 2015 08:47:54 -0000
Received: by wief7 with SMTP id f7so95491969wie.0
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 05 May 2015 01:47:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=specialbusservice.com; s=google;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=as2JEn8xZK6il3YFEVwu109YtzIQSyTShsVVeJgZ58g=;
	b=LaNnqEUsrjzOsqlKvUmcolEIFWMb+DuyVYINN61NKfYiAoQiusgmw91cMlIkcWZtW8
	ail+ITKrrnq9VcDg1LF9KG9IuhzpO1vfcKSWcHDk1vaMsJw72/ZweMDeWi7jQy+rMXsU
	KzkL7glyb+mt6DV7wUdrD39YsfqlTsZ5eNkuU=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=as2JEn8xZK6il3YFEVwu109YtzIQSyTShsVVeJgZ58g=;
	b=KZnjyUyUwxh4euGYfAmO5lBcR3heSMeiHhs37yyaLTkOSICxAtiyAYZ6KbHI3ldiYH
	Q8BY6MVfK0y4LUsEeXY/MYA7xyIg2NOvRdUYBerlrBxVGW5eNVHvIX8z74Q+wPd/VWY0
	70gbGXh4xhhD/t41FCT8E9MOCWHBippdmoufonM76q4jc5Yrp8phXBSF760Auz3seSDi
	s49E1fGsia8PNSlTjZEjZYkbhFZU6Gg1rmPlkyLOUh/c/Qfn8owZhr49O05NFEMT2b61
	WKtle17LGxu1IE3MqBXtX0Yfi7zQpx5fT+FOZBZh7KKTUfpoEbBIcLukKsMhJSjEb9gj
	AueA==
X-Gm-Message-State: ALoCoQmZG27pFZ+gKBcf2fn9zp1Wslt1KGf6iZHKEZ4vv52br1nKDuwYh/mUhPSCUP6R8e6nFG3f
MIME-Version: 1.0
X-Received: by 10.180.231.4 with SMTP id tc4mr1963695wic.27.1430815673826;
	Tue, 05 May 2015 01:47:53 -0700 (PDT)
Received: by 10.28.13.85 with HTTP; Tue, 5 May 2015 01:47:53 -0700 (PDT)
In-Reply-To: <E04E1B7A-4BDC-483F-B903-B928460F2E44@recoil.org>
References: <CAERB2H4WzUoKZ_Woga0j0jMXfjy=ouxc1ZZ7BOZFtj+Pke3b3A@mail.gmail.com>
	<07CD6C17-3703-4888-A0D7-0C78FFADB14E@gazagnaire.org>
	<CAK4o1WxzZcyJF69RQ5tc=4C1TXoU7kHPS4yd3LSRVW-wo2eKdw@mail.gmail.com>
	<5540F108.2030004@somerandomidiot.com>
	<CAK4o1WwoLWZxruURoHmhCOMCbVOzj01FkO3vBG0Y9j1Xd_2ftw@mail.gmail.com>
	<E04E1B7A-4BDC-483F-B903-B928460F2E44@recoil.org>
Date: Tue, 5 May 2015 09:47:53 +0100
Message-ID: <CAK4o1WwpT75p-aRxu3yv-bkj51yjmhEAgZhYBZXqR2gsra4Ycg@mail.gmail.com>
From: Justin Cormack <justin@specialbusservice.com>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Mirage OS 2.4 errors on install and
 mirage-skeleton build
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 5 May 2015 at 09:35, Anil Madhavapeddy <anil@recoil.org> wrote:
> On 4 May 2015, at 14:50, Justin Cormack <justin@specialbusservice.com> wrote:
>>
>> I have sent a pull request to fix the requires root issue - it was
>> trying to bring the interface up which requires root, so long as it is
>> already up this is fine, I use:
>>
>> sudo ip tuntap add dev tap0 mode tap user justin && sudo ip link set dev tap0 up
>>
>> to create interfaces. The disappearing thing is the interface going
>> down again, it is not a persistence thing, as it is not actually
>> removed.
>>
>
> This almost works for me, except that I still get a permissions error
> since the `set_up_and_running` ioctl call checks for IFF_MULTICAST and
> IFF_BROADCAST in addition to IFF_UP and IFF_RUNNING.  These aren't
> set when I create a persistent tun with `otun add tun10 tun`, but it
> shouldn't matter much if those aren't set.  Any particular reason that
> we need them?

Odd, I can't replicate that, in fact I can't create any interfaces
which don't have multicast and broadcast set. On the other hand,
IFF_UP is the only flag that actually matters at this point, so just
testing for that would be sufficient.

Justin

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 05 08:48:00 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 05 May 2015 08:48:00 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpYWE-0002ts-Vu; Tue, 05 May 2015 08:47:58 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <justin@specialbusservice.com>) id 1YpYWD-0002tn-G3
	for mirageos-devel@lists.xenproject.org; Tue, 05 May 2015 08:47:57 +0000
Received: from [85.158.137.68] by server-2.bemta-3.messagelabs.com id
	B4/D0-03711-CB388455; Tue, 05 May 2015 08:47:56 +0000
X-Env-Sender: justin@specialbusservice.com
X-Msg-Ref: server-14.tower-31.messagelabs.com!1430815674!9904491!1
X-Originating-IP: [209.85.212.181]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 22841 invoked from network); 5 May 2015 08:47:54 -0000
Received: from mail-wi0-f181.google.com (HELO mail-wi0-f181.google.com)
	(209.85.212.181)
	by server-14.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	5 May 2015 08:47:54 -0000
Received: by wief7 with SMTP id f7so95491969wie.0
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 05 May 2015 01:47:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=specialbusservice.com; s=google;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=as2JEn8xZK6il3YFEVwu109YtzIQSyTShsVVeJgZ58g=;
	b=LaNnqEUsrjzOsqlKvUmcolEIFWMb+DuyVYINN61NKfYiAoQiusgmw91cMlIkcWZtW8
	ail+ITKrrnq9VcDg1LF9KG9IuhzpO1vfcKSWcHDk1vaMsJw72/ZweMDeWi7jQy+rMXsU
	KzkL7glyb+mt6DV7wUdrD39YsfqlTsZ5eNkuU=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=as2JEn8xZK6il3YFEVwu109YtzIQSyTShsVVeJgZ58g=;
	b=KZnjyUyUwxh4euGYfAmO5lBcR3heSMeiHhs37yyaLTkOSICxAtiyAYZ6KbHI3ldiYH
	Q8BY6MVfK0y4LUsEeXY/MYA7xyIg2NOvRdUYBerlrBxVGW5eNVHvIX8z74Q+wPd/VWY0
	70gbGXh4xhhD/t41FCT8E9MOCWHBippdmoufonM76q4jc5Yrp8phXBSF760Auz3seSDi
	s49E1fGsia8PNSlTjZEjZYkbhFZU6Gg1rmPlkyLOUh/c/Qfn8owZhr49O05NFEMT2b61
	WKtle17LGxu1IE3MqBXtX0Yfi7zQpx5fT+FOZBZh7KKTUfpoEbBIcLukKsMhJSjEb9gj
	AueA==
X-Gm-Message-State: ALoCoQmZG27pFZ+gKBcf2fn9zp1Wslt1KGf6iZHKEZ4vv52br1nKDuwYh/mUhPSCUP6R8e6nFG3f
MIME-Version: 1.0
X-Received: by 10.180.231.4 with SMTP id tc4mr1963695wic.27.1430815673826;
	Tue, 05 May 2015 01:47:53 -0700 (PDT)
Received: by 10.28.13.85 with HTTP; Tue, 5 May 2015 01:47:53 -0700 (PDT)
In-Reply-To: <E04E1B7A-4BDC-483F-B903-B928460F2E44@recoil.org>
References: <CAERB2H4WzUoKZ_Woga0j0jMXfjy=ouxc1ZZ7BOZFtj+Pke3b3A@mail.gmail.com>
	<07CD6C17-3703-4888-A0D7-0C78FFADB14E@gazagnaire.org>
	<CAK4o1WxzZcyJF69RQ5tc=4C1TXoU7kHPS4yd3LSRVW-wo2eKdw@mail.gmail.com>
	<5540F108.2030004@somerandomidiot.com>
	<CAK4o1WwoLWZxruURoHmhCOMCbVOzj01FkO3vBG0Y9j1Xd_2ftw@mail.gmail.com>
	<E04E1B7A-4BDC-483F-B903-B928460F2E44@recoil.org>
Date: Tue, 5 May 2015 09:47:53 +0100
Message-ID: <CAK4o1WwpT75p-aRxu3yv-bkj51yjmhEAgZhYBZXqR2gsra4Ycg@mail.gmail.com>
From: Justin Cormack <justin@specialbusservice.com>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Mirage OS 2.4 errors on install and
 mirage-skeleton build
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 5 May 2015 at 09:35, Anil Madhavapeddy <anil@recoil.org> wrote:
> On 4 May 2015, at 14:50, Justin Cormack <justin@specialbusservice.com> wrote:
>>
>> I have sent a pull request to fix the requires root issue - it was
>> trying to bring the interface up which requires root, so long as it is
>> already up this is fine, I use:
>>
>> sudo ip tuntap add dev tap0 mode tap user justin && sudo ip link set dev tap0 up
>>
>> to create interfaces. The disappearing thing is the interface going
>> down again, it is not a persistence thing, as it is not actually
>> removed.
>>
>
> This almost works for me, except that I still get a permissions error
> since the `set_up_and_running` ioctl call checks for IFF_MULTICAST and
> IFF_BROADCAST in addition to IFF_UP and IFF_RUNNING.  These aren't
> set when I create a persistent tun with `otun add tun10 tun`, but it
> shouldn't matter much if those aren't set.  Any particular reason that
> we need them?

Odd, I can't replicate that, in fact I can't create any interfaces
which don't have multicast and broadcast set. On the other hand,
IFF_UP is the only flag that actually matters at this point, so just
testing for that would be sufficient.

Justin

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 05 08:48:54 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 05 May 2015 08:48:54 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpYX8-0002wO-AW; Tue, 05 May 2015 08:48:54 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YpYX7-0002wJ-4y
	for mirageos-devel@lists.xenproject.org; Tue, 05 May 2015 08:48:53 +0000
Received: from [193.109.254.147] by server-15.bemta-14.messagelabs.com id
	95/95-02796-3F388455; Tue, 05 May 2015 08:48:51 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-10.tower-27.messagelabs.com!1430815730!14654164!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 27261 invoked from network); 5 May 2015 08:48:51 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-10.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 5 May 2015 08:48:51 -0000
Received: from [192.168.0.127] (c-98-248-38-18.hsd1.ca.comcast.net
	[98.248.38.18]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id d80db469;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 5 May 2015 09:48:50 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAK4o1WwpT75p-aRxu3yv-bkj51yjmhEAgZhYBZXqR2gsra4Ycg@mail.gmail.com>
Date: Tue, 5 May 2015 01:48:47 -0700
Message-Id: <DFE4ECA2-FC66-4691-9C53-303B882DC92C@recoil.org>
References: <CAERB2H4WzUoKZ_Woga0j0jMXfjy=ouxc1ZZ7BOZFtj+Pke3b3A@mail.gmail.com>
	<07CD6C17-3703-4888-A0D7-0C78FFADB14E@gazagnaire.org>
	<CAK4o1WxzZcyJF69RQ5tc=4C1TXoU7kHPS4yd3LSRVW-wo2eKdw@mail.gmail.com>
	<5540F108.2030004@somerandomidiot.com>
	<CAK4o1WwoLWZxruURoHmhCOMCbVOzj01FkO3vBG0Y9j1Xd_2ftw@mail.gmail.com>
	<E04E1B7A-4BDC-483F-B903-B928460F2E44@recoil.org>
	<CAK4o1WwpT75p-aRxu3yv-bkj51yjmhEAgZhYBZXqR2gsra4Ycg@mail.gmail.com>
To: Justin Cormack <justin@specialbusservice.com>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Mirage OS 2.4 errors on install and
	mirage-skeleton build
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 5 May 2015, at 01:47, Justin Cormack <justin@specialbusservice.com> wrote:
> 
> On 5 May 2015 at 09:35, Anil Madhavapeddy <anil@recoil.org> wrote:
>> On 4 May 2015, at 14:50, Justin Cormack <justin@specialbusservice.com> wrote:
>>> 
>>> I have sent a pull request to fix the requires root issue - it was
>>> trying to bring the interface up which requires root, so long as it is
>>> already up this is fine, I use:
>>> 
>>> sudo ip tuntap add dev tap0 mode tap user justin && sudo ip link set dev tap0 up
>>> 
>>> to create interfaces. The disappearing thing is the interface going
>>> down again, it is not a persistence thing, as it is not actually
>>> removed.
>>> 
>> 
>> This almost works for me, except that I still get a permissions error
>> since the `set_up_and_running` ioctl call checks for IFF_MULTICAST and
>> IFF_BROADCAST in addition to IFF_UP and IFF_RUNNING.  These aren't
>> set when I create a persistent tun with `otun add tun10 tun`, but it
>> shouldn't matter much if those aren't set.  Any particular reason that
>> we need them?
> 
> Odd, I can't replicate that, in fact I can't create any interfaces
> which don't have multicast and broadcast set. On the other hand,
> IFF_UP is the only flag that actually matters at this point, so just
> testing for that would be sufficient.

How are you creating the tun interfaces?  I'm using the ocaml-tuntap otun
binary, which may not be calling an ioctl to set those flags.

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 05 08:48:54 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 05 May 2015 08:48:54 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpYX8-0002wO-AW; Tue, 05 May 2015 08:48:54 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YpYX7-0002wJ-4y
	for mirageos-devel@lists.xenproject.org; Tue, 05 May 2015 08:48:53 +0000
Received: from [193.109.254.147] by server-15.bemta-14.messagelabs.com id
	95/95-02796-3F388455; Tue, 05 May 2015 08:48:51 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-10.tower-27.messagelabs.com!1430815730!14654164!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 27261 invoked from network); 5 May 2015 08:48:51 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-10.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 5 May 2015 08:48:51 -0000
Received: from [192.168.0.127] (c-98-248-38-18.hsd1.ca.comcast.net
	[98.248.38.18]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id d80db469;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 5 May 2015 09:48:50 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAK4o1WwpT75p-aRxu3yv-bkj51yjmhEAgZhYBZXqR2gsra4Ycg@mail.gmail.com>
Date: Tue, 5 May 2015 01:48:47 -0700
Message-Id: <DFE4ECA2-FC66-4691-9C53-303B882DC92C@recoil.org>
References: <CAERB2H4WzUoKZ_Woga0j0jMXfjy=ouxc1ZZ7BOZFtj+Pke3b3A@mail.gmail.com>
	<07CD6C17-3703-4888-A0D7-0C78FFADB14E@gazagnaire.org>
	<CAK4o1WxzZcyJF69RQ5tc=4C1TXoU7kHPS4yd3LSRVW-wo2eKdw@mail.gmail.com>
	<5540F108.2030004@somerandomidiot.com>
	<CAK4o1WwoLWZxruURoHmhCOMCbVOzj01FkO3vBG0Y9j1Xd_2ftw@mail.gmail.com>
	<E04E1B7A-4BDC-483F-B903-B928460F2E44@recoil.org>
	<CAK4o1WwpT75p-aRxu3yv-bkj51yjmhEAgZhYBZXqR2gsra4Ycg@mail.gmail.com>
To: Justin Cormack <justin@specialbusservice.com>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Mirage OS 2.4 errors on install and
	mirage-skeleton build
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 5 May 2015, at 01:47, Justin Cormack <justin@specialbusservice.com> wrote:
> 
> On 5 May 2015 at 09:35, Anil Madhavapeddy <anil@recoil.org> wrote:
>> On 4 May 2015, at 14:50, Justin Cormack <justin@specialbusservice.com> wrote:
>>> 
>>> I have sent a pull request to fix the requires root issue - it was
>>> trying to bring the interface up which requires root, so long as it is
>>> already up this is fine, I use:
>>> 
>>> sudo ip tuntap add dev tap0 mode tap user justin && sudo ip link set dev tap0 up
>>> 
>>> to create interfaces. The disappearing thing is the interface going
>>> down again, it is not a persistence thing, as it is not actually
>>> removed.
>>> 
>> 
>> This almost works for me, except that I still get a permissions error
>> since the `set_up_and_running` ioctl call checks for IFF_MULTICAST and
>> IFF_BROADCAST in addition to IFF_UP and IFF_RUNNING.  These aren't
>> set when I create a persistent tun with `otun add tun10 tun`, but it
>> shouldn't matter much if those aren't set.  Any particular reason that
>> we need them?
> 
> Odd, I can't replicate that, in fact I can't create any interfaces
> which don't have multicast and broadcast set. On the other hand,
> IFF_UP is the only flag that actually matters at this point, so just
> testing for that would be sufficient.

How are you creating the tun interfaces?  I'm using the ocaml-tuntap otun
binary, which may not be calling an ioctl to set those flags.

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 05 09:03:04 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 05 May 2015 09:03:04 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpYkl-0003X2-Di; Tue, 05 May 2015 09:02:59 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <justin@specialbusservice.com>) id 1YpYkj-0003Wx-Bw
	for mirageos-devel@lists.xenproject.org; Tue, 05 May 2015 09:02:57 +0000
Received: from [85.158.139.211] by server-4.bemta-5.messagelabs.com id
	35/95-03195-04788455; Tue, 05 May 2015 09:02:56 +0000
X-Env-Sender: justin@specialbusservice.com
X-Msg-Ref: server-7.tower-206.messagelabs.com!1430816575!12620710!1
X-Originating-IP: [74.125.82.50]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 15599 invoked from network); 5 May 2015 09:02:55 -0000
Received: from mail-wg0-f50.google.com (HELO mail-wg0-f50.google.com)
	(74.125.82.50)
	by server-7.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	5 May 2015 09:02:55 -0000
Received: by wgso17 with SMTP id o17so175421758wgs.1
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 05 May 2015 02:02:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=specialbusservice.com; s=google;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=J71D/DoTAl2ZTyd7v3aubcqq8f+yNtGNj8d2vQe1CNI=;
	b=bhrWqJhq10c+tqviliVAJmkYybcCyH+pR7EN4v3WMjFP/Yq8zAKgek3oLl++7FrlmU
	Go+ggLfv/5SHj1kTQrd7RZ8hC4J8GwRwqZOhxSutCV4caJuQF7w/lcol8L4VEZhWwz16
	dO2KE/9p6ZQAWgus9rPUIT7L6Am0YtKh6glHM=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=J71D/DoTAl2ZTyd7v3aubcqq8f+yNtGNj8d2vQe1CNI=;
	b=CBXirl2VHMRr0y5isJN3tMda5G47hSUmtYyc0ptVfmlVG/MM7xogM/R0d9mqtro/jQ
	Ck7UN7aH3R1qwW7Dw4pac9hPbXV8HMvkczN1LfTLUxnjGopi2xVXpsX9MgnOspLQPv0P
	d29vkai5GJYCGB0IFm5LT1KxNVbtTohZ1aWc/bJ77+j9U38+/tFec9Dwe6tL5C/XjdEO
	BhuvEfQOn4VZRVDPi5QjgssXb8xAnDYqBRZ0u0ffiKizkFD92UmLgiVUcOlI1ISm59MC
	XuedL1gnphFLMWDNmaNrow18tcB+X4z9ZWNiqvtdpTES006NiStGWXsBhSqIUNj145jl
	5q9w==
X-Gm-Message-State: ALoCoQn/v1/g6aMI4tQP6fhXr/e2J07VYL/RsCWovxGmwgyzx80u70LvcPUeKcx9ldNZIjSWoO5W
MIME-Version: 1.0
X-Received: by 10.180.97.7 with SMTP id dw7mr2078354wib.74.1430816575225; Tue,
	05 May 2015 02:02:55 -0700 (PDT)
Received: by 10.28.13.85 with HTTP; Tue, 5 May 2015 02:02:55 -0700 (PDT)
In-Reply-To: <DFE4ECA2-FC66-4691-9C53-303B882DC92C@recoil.org>
References: <CAERB2H4WzUoKZ_Woga0j0jMXfjy=ouxc1ZZ7BOZFtj+Pke3b3A@mail.gmail.com>
	<07CD6C17-3703-4888-A0D7-0C78FFADB14E@gazagnaire.org>
	<CAK4o1WxzZcyJF69RQ5tc=4C1TXoU7kHPS4yd3LSRVW-wo2eKdw@mail.gmail.com>
	<5540F108.2030004@somerandomidiot.com>
	<CAK4o1WwoLWZxruURoHmhCOMCbVOzj01FkO3vBG0Y9j1Xd_2ftw@mail.gmail.com>
	<E04E1B7A-4BDC-483F-B903-B928460F2E44@recoil.org>
	<CAK4o1WwpT75p-aRxu3yv-bkj51yjmhEAgZhYBZXqR2gsra4Ycg@mail.gmail.com>
	<DFE4ECA2-FC66-4691-9C53-303B882DC92C@recoil.org>
Date: Tue, 5 May 2015 10:02:55 +0100
Message-ID: <CAK4o1WybY+cmePEHggeQuGxWF3FJVQ=Vq1fatFUnKV4Nzg-Mcg@mail.gmail.com>
From: Justin Cormack <justin@specialbusservice.com>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Mirage OS 2.4 errors on install and
 mirage-skeleton build
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 5 May 2015 at 09:48, Anil Madhavapeddy <anil@recoil.org> wrote:
> On 5 May 2015, at 01:47, Justin Cormack <justin@specialbusservice.com> wrote:
>>
>> On 5 May 2015 at 09:35, Anil Madhavapeddy <anil@recoil.org> wrote:
>>> On 4 May 2015, at 14:50, Justin Cormack <justin@specialbusservice.com> wrote:
>>>>
>>>> I have sent a pull request to fix the requires root issue - it was
>>>> trying to bring the interface up which requires root, so long as it is
>>>> already up this is fine, I use:
>>>>
>>>> sudo ip tuntap add dev tap0 mode tap user justin && sudo ip link set dev tap0 up
>>>>
>>>> to create interfaces. The disappearing thing is the interface going
>>>> down again, it is not a persistence thing, as it is not actually
>>>> removed.
>>>>
>>>
>>> This almost works for me, except that I still get a permissions error
>>> since the `set_up_and_running` ioctl call checks for IFF_MULTICAST and
>>> IFF_BROADCAST in addition to IFF_UP and IFF_RUNNING.  These aren't
>>> set when I create a persistent tun with `otun add tun10 tun`, but it
>>> shouldn't matter much if those aren't set.  Any particular reason that
>>> we need them?
>>
>> Odd, I can't replicate that, in fact I can't create any interfaces
>> which don't have multicast and broadcast set. On the other hand,
>> IFF_UP is the only flag that actually matters at this point, so just
>> testing for that would be sufficient.
>
> How are you creating the tun interfaces?  I'm using the ocaml-tuntap otun
> binary, which may not be calling an ioctl to set those flags.

I tried that, and what I usually use as it is always installed by default:
sudo ip tuntap add dev tap0 mode tap user justin && sudo ip link set dev tap0 up

Both but broadcast and multicast flags on - indeed, looking at my
network interfaces they all have those flags on except loopback (eg
just use ifconfig or ip link to show). So a bit surprised as this is
the default for ethernet-like interfaces as far as I know.

Justin

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 05 09:03:04 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 05 May 2015 09:03:04 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpYkl-0003X2-Di; Tue, 05 May 2015 09:02:59 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <justin@specialbusservice.com>) id 1YpYkj-0003Wx-Bw
	for mirageos-devel@lists.xenproject.org; Tue, 05 May 2015 09:02:57 +0000
Received: from [85.158.139.211] by server-4.bemta-5.messagelabs.com id
	35/95-03195-04788455; Tue, 05 May 2015 09:02:56 +0000
X-Env-Sender: justin@specialbusservice.com
X-Msg-Ref: server-7.tower-206.messagelabs.com!1430816575!12620710!1
X-Originating-IP: [74.125.82.50]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 15599 invoked from network); 5 May 2015 09:02:55 -0000
Received: from mail-wg0-f50.google.com (HELO mail-wg0-f50.google.com)
	(74.125.82.50)
	by server-7.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	5 May 2015 09:02:55 -0000
Received: by wgso17 with SMTP id o17so175421758wgs.1
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 05 May 2015 02:02:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=specialbusservice.com; s=google;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=J71D/DoTAl2ZTyd7v3aubcqq8f+yNtGNj8d2vQe1CNI=;
	b=bhrWqJhq10c+tqviliVAJmkYybcCyH+pR7EN4v3WMjFP/Yq8zAKgek3oLl++7FrlmU
	Go+ggLfv/5SHj1kTQrd7RZ8hC4J8GwRwqZOhxSutCV4caJuQF7w/lcol8L4VEZhWwz16
	dO2KE/9p6ZQAWgus9rPUIT7L6Am0YtKh6glHM=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=J71D/DoTAl2ZTyd7v3aubcqq8f+yNtGNj8d2vQe1CNI=;
	b=CBXirl2VHMRr0y5isJN3tMda5G47hSUmtYyc0ptVfmlVG/MM7xogM/R0d9mqtro/jQ
	Ck7UN7aH3R1qwW7Dw4pac9hPbXV8HMvkczN1LfTLUxnjGopi2xVXpsX9MgnOspLQPv0P
	d29vkai5GJYCGB0IFm5LT1KxNVbtTohZ1aWc/bJ77+j9U38+/tFec9Dwe6tL5C/XjdEO
	BhuvEfQOn4VZRVDPi5QjgssXb8xAnDYqBRZ0u0ffiKizkFD92UmLgiVUcOlI1ISm59MC
	XuedL1gnphFLMWDNmaNrow18tcB+X4z9ZWNiqvtdpTES006NiStGWXsBhSqIUNj145jl
	5q9w==
X-Gm-Message-State: ALoCoQn/v1/g6aMI4tQP6fhXr/e2J07VYL/RsCWovxGmwgyzx80u70LvcPUeKcx9ldNZIjSWoO5W
MIME-Version: 1.0
X-Received: by 10.180.97.7 with SMTP id dw7mr2078354wib.74.1430816575225; Tue,
	05 May 2015 02:02:55 -0700 (PDT)
Received: by 10.28.13.85 with HTTP; Tue, 5 May 2015 02:02:55 -0700 (PDT)
In-Reply-To: <DFE4ECA2-FC66-4691-9C53-303B882DC92C@recoil.org>
References: <CAERB2H4WzUoKZ_Woga0j0jMXfjy=ouxc1ZZ7BOZFtj+Pke3b3A@mail.gmail.com>
	<07CD6C17-3703-4888-A0D7-0C78FFADB14E@gazagnaire.org>
	<CAK4o1WxzZcyJF69RQ5tc=4C1TXoU7kHPS4yd3LSRVW-wo2eKdw@mail.gmail.com>
	<5540F108.2030004@somerandomidiot.com>
	<CAK4o1WwoLWZxruURoHmhCOMCbVOzj01FkO3vBG0Y9j1Xd_2ftw@mail.gmail.com>
	<E04E1B7A-4BDC-483F-B903-B928460F2E44@recoil.org>
	<CAK4o1WwpT75p-aRxu3yv-bkj51yjmhEAgZhYBZXqR2gsra4Ycg@mail.gmail.com>
	<DFE4ECA2-FC66-4691-9C53-303B882DC92C@recoil.org>
Date: Tue, 5 May 2015 10:02:55 +0100
Message-ID: <CAK4o1WybY+cmePEHggeQuGxWF3FJVQ=Vq1fatFUnKV4Nzg-Mcg@mail.gmail.com>
From: Justin Cormack <justin@specialbusservice.com>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Mirage OS 2.4 errors on install and
 mirage-skeleton build
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 5 May 2015 at 09:48, Anil Madhavapeddy <anil@recoil.org> wrote:
> On 5 May 2015, at 01:47, Justin Cormack <justin@specialbusservice.com> wrote:
>>
>> On 5 May 2015 at 09:35, Anil Madhavapeddy <anil@recoil.org> wrote:
>>> On 4 May 2015, at 14:50, Justin Cormack <justin@specialbusservice.com> wrote:
>>>>
>>>> I have sent a pull request to fix the requires root issue - it was
>>>> trying to bring the interface up which requires root, so long as it is
>>>> already up this is fine, I use:
>>>>
>>>> sudo ip tuntap add dev tap0 mode tap user justin && sudo ip link set dev tap0 up
>>>>
>>>> to create interfaces. The disappearing thing is the interface going
>>>> down again, it is not a persistence thing, as it is not actually
>>>> removed.
>>>>
>>>
>>> This almost works for me, except that I still get a permissions error
>>> since the `set_up_and_running` ioctl call checks for IFF_MULTICAST and
>>> IFF_BROADCAST in addition to IFF_UP and IFF_RUNNING.  These aren't
>>> set when I create a persistent tun with `otun add tun10 tun`, but it
>>> shouldn't matter much if those aren't set.  Any particular reason that
>>> we need them?
>>
>> Odd, I can't replicate that, in fact I can't create any interfaces
>> which don't have multicast and broadcast set. On the other hand,
>> IFF_UP is the only flag that actually matters at this point, so just
>> testing for that would be sufficient.
>
> How are you creating the tun interfaces?  I'm using the ocaml-tuntap otun
> binary, which may not be calling an ioctl to set those flags.

I tried that, and what I usually use as it is always installed by default:
sudo ip tuntap add dev tap0 mode tap user justin && sudo ip link set dev tap0 up

Both but broadcast and multicast flags on - indeed, looking at my
network interfaces they all have those flags on except loopback (eg
just use ifconfig or ip link to show). So a bit surprised as this is
the default for ethernet-like interfaces as far as I know.

Justin

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 05 14:26:32 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 05 May 2015 14:26:32 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Ypdnl-00039V-AQ; Tue, 05 May 2015 14:26:25 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <russell.pavlicek.xen@gmail.com>)
	id 1Ypdnk-00039F-Ob; Tue, 05 May 2015 14:26:24 +0000
Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id
	D4/B2-02633-F03D8455; Tue, 05 May 2015 14:26:23 +0000
X-Env-Sender: russell.pavlicek.xen@gmail.com
X-Msg-Ref: server-9.tower-27.messagelabs.com!1430835982!14768181!1
X-Originating-IP: [209.85.212.171]
X-SpamReason: No, hits=2.1 required=7.0 tests=RCVD_BY_IP,
  SUSPICIOUS_RECIPS
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 25527 invoked from network); 5 May 2015 14:26:23 -0000
Received: from mail-wi0-f171.google.com (HELO mail-wi0-f171.google.com)
	(209.85.212.171)
	by server-9.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	5 May 2015 14:26:23 -0000
Received: by wizk4 with SMTP id k4so163398156wiz.1;
	Tue, 05 May 2015 07:26:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=RzPmdFlzPbWmSVHlFl/0LWgvEHDp78oe+zA0B2bt71E=;
	b=pvwbF7i+p4hkbyeIwvy39Ufl82xmdvhQw9BqisZKX1y6Rv+H1gd6dYDe+w6DZ/wJRo
	cNzQmeYVMGX7YghK1dfj2TpiwR7owNsEB6QkcWTmGSrd77QK9wGW1Ah52VW+/EscvJRD
	7/ro7PAQa+10RyBL+CNqTPKJrAvbj6QZ+qNK6z8LsfRXomh/FqgMUtPs1enuzgGKiWrP
	UqwRo3c83MLj0KAzgWNhEtjQvUT1lOtIgXo0ofRJYmVYPGb72CxqEQBC7F31x/pCS+HX
	DiUg8J3m+BCa4312jyBxf1rSO7la2wVCY9s5nnnaKJFfd8qwc4LYO4mwc81LBtgEj1+s
	F1Jg==
MIME-Version: 1.0
X-Received: by 10.194.172.72 with SMTP id ba8mr52083784wjc.136.1430835970761; 
	Tue, 05 May 2015 07:26:10 -0700 (PDT)
Received: by 10.194.163.194 with HTTP; Tue, 5 May 2015 07:26:10 -0700 (PDT)
In-Reply-To: <CAHehzX1qwD8OVcXyGGUERV0+8NMZJ8FPwFcD_SnQfc5Cf_4mDg@mail.gmail.com>
References: <CAHehzX1qwD8OVcXyGGUERV0+8NMZJ8FPwFcD_SnQfc5Cf_4mDg@mail.gmail.com>
Date: Tue, 5 May 2015 10:26:10 -0400
X-Google-Sender-Auth: LOQyMwWRuWVWC5PdjRz_G6jeOOo
Message-ID: <CAHehzX2zFX_W-o0fxc-d99qEqTv30fzBfCmEdL_YSznV5BmV-A@mail.gmail.com>
From: Russ Pavlicek <russell.pavlicek@xenproject.org>
To: Russ Pavlicek <russell.pavlicek@xenproject.org>
Cc: xen-api@lists.xen.org, "xen-users@lists.xen.org" <xen-users@lists.xen.org>,
	xs-devel@lists.xenserver.org, mirageos-devel@lists.xenproject.org,
	xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Next Document Day Moved to Wednesday, May 6
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Reminder: Our Document Day is tomorrow!

Theme for this month: "No-Can-Do Without a HowTo"

We've got a lot of good information in the documentation, but it isn't
always in a form that will help someone use a particular feature for
the first time. Or, the information is present, but it might need to
be brought up-to-date.

Some of these possible topics include:

- Booting with UEFI (see the TODO page for a link to a Q&A post about this)
- Huge Page Support (needs review and updating)
- Installing on ARM (need a basic HowTo)
- Using Xen Project with common applications (see the TODO page for a
link to a Q&A post about Citrix Netscaler)
- Get up and running with Mirage OS
- Any other niche topic which doesn't have a good HowTo-type doc page

If you know anything about these or any other topic which needs to a
good HowTo document, please join in tomorrow!


On Thu, Apr 23, 2015 at 12:50 PM, Russ Pavlicek
<russell.pavlicek@xenproject.org> wrote:
> Due to the Hackathon next week, our normal April Document Day is
> taking a one week bump to May 6.  If anyone objects to this date,
> please let me know.  Otherwise, we'll allow those attending the
> Hackathon to participate in Document Day upon their return.
>
> All the information you need to participate in Document Day is here:
>
> http://wiki.xenproject.org/wiki/Xen_Document_Days
>
> Also take a look at the current TODO list to see other items which
> need attention:
>
> http://wiki.xenproject.org/wiki/Xen_Document_Days/TODO
>
> Please think about how you can help out.  If you haven't requested
> to be made a Wiki editor, save time and do it now so you are ready to
> go on Document Day.  Just fill out the form below:
>
> http://xenproject.org/component/content/article/100-misc/145-request-to-be-made-a-wiki-editor.html
>
> We hope to see you on Document Day in #xendocs!

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 05 14:26:32 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 05 May 2015 14:26:32 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Ypdnl-00039V-AQ; Tue, 05 May 2015 14:26:25 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <russell.pavlicek.xen@gmail.com>)
	id 1Ypdnk-00039F-Ob; Tue, 05 May 2015 14:26:24 +0000
Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id
	D4/B2-02633-F03D8455; Tue, 05 May 2015 14:26:23 +0000
X-Env-Sender: russell.pavlicek.xen@gmail.com
X-Msg-Ref: server-9.tower-27.messagelabs.com!1430835982!14768181!1
X-Originating-IP: [209.85.212.171]
X-SpamReason: No, hits=2.1 required=7.0 tests=RCVD_BY_IP,
  SUSPICIOUS_RECIPS
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 25527 invoked from network); 5 May 2015 14:26:23 -0000
Received: from mail-wi0-f171.google.com (HELO mail-wi0-f171.google.com)
	(209.85.212.171)
	by server-9.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	5 May 2015 14:26:23 -0000
Received: by wizk4 with SMTP id k4so163398156wiz.1;
	Tue, 05 May 2015 07:26:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=RzPmdFlzPbWmSVHlFl/0LWgvEHDp78oe+zA0B2bt71E=;
	b=pvwbF7i+p4hkbyeIwvy39Ufl82xmdvhQw9BqisZKX1y6Rv+H1gd6dYDe+w6DZ/wJRo
	cNzQmeYVMGX7YghK1dfj2TpiwR7owNsEB6QkcWTmGSrd77QK9wGW1Ah52VW+/EscvJRD
	7/ro7PAQa+10RyBL+CNqTPKJrAvbj6QZ+qNK6z8LsfRXomh/FqgMUtPs1enuzgGKiWrP
	UqwRo3c83MLj0KAzgWNhEtjQvUT1lOtIgXo0ofRJYmVYPGb72CxqEQBC7F31x/pCS+HX
	DiUg8J3m+BCa4312jyBxf1rSO7la2wVCY9s5nnnaKJFfd8qwc4LYO4mwc81LBtgEj1+s
	F1Jg==
MIME-Version: 1.0
X-Received: by 10.194.172.72 with SMTP id ba8mr52083784wjc.136.1430835970761; 
	Tue, 05 May 2015 07:26:10 -0700 (PDT)
Received: by 10.194.163.194 with HTTP; Tue, 5 May 2015 07:26:10 -0700 (PDT)
In-Reply-To: <CAHehzX1qwD8OVcXyGGUERV0+8NMZJ8FPwFcD_SnQfc5Cf_4mDg@mail.gmail.com>
References: <CAHehzX1qwD8OVcXyGGUERV0+8NMZJ8FPwFcD_SnQfc5Cf_4mDg@mail.gmail.com>
Date: Tue, 5 May 2015 10:26:10 -0400
X-Google-Sender-Auth: LOQyMwWRuWVWC5PdjRz_G6jeOOo
Message-ID: <CAHehzX2zFX_W-o0fxc-d99qEqTv30fzBfCmEdL_YSznV5BmV-A@mail.gmail.com>
From: Russ Pavlicek <russell.pavlicek@xenproject.org>
To: Russ Pavlicek <russell.pavlicek@xenproject.org>
Cc: xen-api@lists.xen.org, "xen-users@lists.xen.org" <xen-users@lists.xen.org>,
	xs-devel@lists.xenserver.org, mirageos-devel@lists.xenproject.org,
	xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Next Document Day Moved to Wednesday, May 6
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Reminder: Our Document Day is tomorrow!

Theme for this month: "No-Can-Do Without a HowTo"

We've got a lot of good information in the documentation, but it isn't
always in a form that will help someone use a particular feature for
the first time. Or, the information is present, but it might need to
be brought up-to-date.

Some of these possible topics include:

- Booting with UEFI (see the TODO page for a link to a Q&A post about this)
- Huge Page Support (needs review and updating)
- Installing on ARM (need a basic HowTo)
- Using Xen Project with common applications (see the TODO page for a
link to a Q&A post about Citrix Netscaler)
- Get up and running with Mirage OS
- Any other niche topic which doesn't have a good HowTo-type doc page

If you know anything about these or any other topic which needs to a
good HowTo document, please join in tomorrow!


On Thu, Apr 23, 2015 at 12:50 PM, Russ Pavlicek
<russell.pavlicek@xenproject.org> wrote:
> Due to the Hackathon next week, our normal April Document Day is
> taking a one week bump to May 6.  If anyone objects to this date,
> please let me know.  Otherwise, we'll allow those attending the
> Hackathon to participate in Document Day upon their return.
>
> All the information you need to participate in Document Day is here:
>
> http://wiki.xenproject.org/wiki/Xen_Document_Days
>
> Also take a look at the current TODO list to see other items which
> need attention:
>
> http://wiki.xenproject.org/wiki/Xen_Document_Days/TODO
>
> Please think about how you can help out.  If you haven't requested
> to be made a Wiki editor, save time and do it now so you are ready to
> go on Document Day.  Just fill out the form below:
>
> http://xenproject.org/component/content/article/100-misc/145-request-to-be-made-a-wiki-editor.html
>
> We hope to see you on Document Day in #xendocs!

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 05 16:49:27 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 05 May 2015 16:49:27 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Ypg21-0000k3-Mt; Tue, 05 May 2015 16:49:17 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amirmc@gmail.com>) id 1Ypg20-0000jn-5J
	for mirageos-devel@lists.xenproject.org; Tue, 05 May 2015 16:49:16 +0000
Received: from [85.158.137.68] by server-13.bemta-3.messagelabs.com id
	AC/FC-30165-B84F8455; Tue, 05 May 2015 16:49:15 +0000
X-Env-Sender: amirmc@gmail.com
X-Msg-Ref: server-3.tower-31.messagelabs.com!1430844554!12581590!1
X-Originating-IP: [209.85.212.179]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 15740 invoked from network); 5 May 2015 16:49:14 -0000
Received: from mail-wi0-f179.google.com (HELO mail-wi0-f179.google.com)
	(209.85.212.179)
	by server-3.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	5 May 2015 16:49:14 -0000
Received: by wief7 with SMTP id f7so105944571wie.0
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 05 May 2015 09:49:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=from:content-type:content-transfer-encoding:subject:message-id:date
	:to:mime-version;
	bh=NmOGqnucpWZr9dG3FE6Hu3N3qr9YNeqXdRWjz4dhhLg=;
	b=tf4uab3mvzK0FgzAF7IIkSbwt/DDRwcY9QlOfoW6+PT1/49KFFagtRfCHAFo4hRE72
	c25QKQLPzmuyxJ6/h4xMybVMI4hZ3pYmDpzWpSB+LvgMqwIHFfK5zTtvWehKTy7LPNQc
	2fUTZYoPKVGKzPG6saE/+sVEeaCA2cQ3W1zp+12NyAFuI5E/TrglS1s9pO5EdrgpNSAi
	5P4G+hEzQf46CJLKawCknaLNHeag3AFW9bl7OQTa5AejtaHwBalO2kMJPlc1cO+lSUGm
	IL7jLunKk4eXSDh727trYSNUomeSkC5urj+167/djz5QFIP4UpwQqmIPuXTnotOMZlqL
	WJXA==
X-Received: by 10.180.37.207 with SMTP id a15mr5841408wik.2.1430844554224;
	Tue, 05 May 2015 09:49:14 -0700 (PDT)
Received: from [192.168.0.8] (cpc17-cmbg14-2-0-cust360.5-4.cable.virginm.net.
	[86.6.155.105]) by mx.google.com with ESMTPSA id
	ez19sm16993489wid.19.2015.05.05.09.49.12
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Tue, 05 May 2015 09:49:13 -0700 (PDT)
From: Amir Chaudhry <amirmc@gmail.com>
Message-Id: <A2D87369-D1A3-40FB-B972-8B815BA9EFB0@gmail.com>
Date: Tue, 5 May 2015 17:49:11 +0100
To: mirageos-devel@lists.xenproject.org
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Subject: [MirageOS-devel] Mirage fortnightly call - Wednesday 6th at 4pm BST
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGkgZm9sa3MsCgpUaGUgbmV4dCBNaXJhZ2UgY2FsbCB3aWxsIHRha2UgcGxhY2Ugb24gV2VkbmVz
ZGF5IGFmdGVybm9vbiBhdCA0cG0gQlNUIGFuZCBpcyBvcGVuIHRvIGFsbC4gIFdlJ2xsIGJlIG9u
IEdvb2dsZSBIYW5nb3V0IHRoaXMgdGltZSBhbmQgSeKAmWxsIHBvc3QgdGhlIGxpbmsgc2hvcnRs
eSBiZWZvcmUgdGhlIGNhbGwgLS0gYm90aCBoZXJlIGFuZCBhbHNvIGluIHRoZSBJUkMgY2hhbm5l
bCAoI21pcmFnZSBvbiBmcmVlbm9kZSkuCgpUaGUgYWdlbmRhIGZvciB0aGlzIHdlZWsgaXMgY3Vy
cmVudGx5IGFzIGZvbGxvd3MgKHN1YmplY3QgdG8gY2hhbmdlKToKCuKAoiBRdWFsaXR5IGFuZCBU
ZXN0CuKAoiBUTFMgc3VwcG9ydArigKIgTWlyYWdlT1MgUSZBIGhhbmdvdXQ/CgpJZiB5b3UgaGF2
ZSB0aGluZ3MgdG8gYWRkL2VkaXQsIHBsZWFzZSBkbyBzbyBhdCBodHRwczovL2dpdGh1Yi5jb20v
bWlyYWdlL21pcmFnZS13d3cvd2lraS9DYWxsLUFnZW5kYQoKSm9pbiB1cyBhdCA0cG0gQlNUIG9u
IFdlZG5lc2RheSEKCkJlc3Qgd2lzaGVzLApBbWlyCl9fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fCk1pcmFnZU9TLWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VP
Uy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcv
Y2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Tue May 05 16:49:27 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 05 May 2015 16:49:27 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Ypg21-0000k3-Mt; Tue, 05 May 2015 16:49:17 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amirmc@gmail.com>) id 1Ypg20-0000jn-5J
	for mirageos-devel@lists.xenproject.org; Tue, 05 May 2015 16:49:16 +0000
Received: from [85.158.137.68] by server-13.bemta-3.messagelabs.com id
	AC/FC-30165-B84F8455; Tue, 05 May 2015 16:49:15 +0000
X-Env-Sender: amirmc@gmail.com
X-Msg-Ref: server-3.tower-31.messagelabs.com!1430844554!12581590!1
X-Originating-IP: [209.85.212.179]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 15740 invoked from network); 5 May 2015 16:49:14 -0000
Received: from mail-wi0-f179.google.com (HELO mail-wi0-f179.google.com)
	(209.85.212.179)
	by server-3.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	5 May 2015 16:49:14 -0000
Received: by wief7 with SMTP id f7so105944571wie.0
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 05 May 2015 09:49:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=from:content-type:content-transfer-encoding:subject:message-id:date
	:to:mime-version;
	bh=NmOGqnucpWZr9dG3FE6Hu3N3qr9YNeqXdRWjz4dhhLg=;
	b=tf4uab3mvzK0FgzAF7IIkSbwt/DDRwcY9QlOfoW6+PT1/49KFFagtRfCHAFo4hRE72
	c25QKQLPzmuyxJ6/h4xMybVMI4hZ3pYmDpzWpSB+LvgMqwIHFfK5zTtvWehKTy7LPNQc
	2fUTZYoPKVGKzPG6saE/+sVEeaCA2cQ3W1zp+12NyAFuI5E/TrglS1s9pO5EdrgpNSAi
	5P4G+hEzQf46CJLKawCknaLNHeag3AFW9bl7OQTa5AejtaHwBalO2kMJPlc1cO+lSUGm
	IL7jLunKk4eXSDh727trYSNUomeSkC5urj+167/djz5QFIP4UpwQqmIPuXTnotOMZlqL
	WJXA==
X-Received: by 10.180.37.207 with SMTP id a15mr5841408wik.2.1430844554224;
	Tue, 05 May 2015 09:49:14 -0700 (PDT)
Received: from [192.168.0.8] (cpc17-cmbg14-2-0-cust360.5-4.cable.virginm.net.
	[86.6.155.105]) by mx.google.com with ESMTPSA id
	ez19sm16993489wid.19.2015.05.05.09.49.12
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Tue, 05 May 2015 09:49:13 -0700 (PDT)
From: Amir Chaudhry <amirmc@gmail.com>
Message-Id: <A2D87369-D1A3-40FB-B972-8B815BA9EFB0@gmail.com>
Date: Tue, 5 May 2015 17:49:11 +0100
To: mirageos-devel@lists.xenproject.org
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Subject: [MirageOS-devel] Mirage fortnightly call - Wednesday 6th at 4pm BST
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGkgZm9sa3MsCgpUaGUgbmV4dCBNaXJhZ2UgY2FsbCB3aWxsIHRha2UgcGxhY2Ugb24gV2VkbmVz
ZGF5IGFmdGVybm9vbiBhdCA0cG0gQlNUIGFuZCBpcyBvcGVuIHRvIGFsbC4gIFdlJ2xsIGJlIG9u
IEdvb2dsZSBIYW5nb3V0IHRoaXMgdGltZSBhbmQgSeKAmWxsIHBvc3QgdGhlIGxpbmsgc2hvcnRs
eSBiZWZvcmUgdGhlIGNhbGwgLS0gYm90aCBoZXJlIGFuZCBhbHNvIGluIHRoZSBJUkMgY2hhbm5l
bCAoI21pcmFnZSBvbiBmcmVlbm9kZSkuCgpUaGUgYWdlbmRhIGZvciB0aGlzIHdlZWsgaXMgY3Vy
cmVudGx5IGFzIGZvbGxvd3MgKHN1YmplY3QgdG8gY2hhbmdlKToKCuKAoiBRdWFsaXR5IGFuZCBU
ZXN0CuKAoiBUTFMgc3VwcG9ydArigKIgTWlyYWdlT1MgUSZBIGhhbmdvdXQ/CgpJZiB5b3UgaGF2
ZSB0aGluZ3MgdG8gYWRkL2VkaXQsIHBsZWFzZSBkbyBzbyBhdCBodHRwczovL2dpdGh1Yi5jb20v
bWlyYWdlL21pcmFnZS13d3cvd2lraS9DYWxsLUFnZW5kYQoKSm9pbiB1cyBhdCA0cG0gQlNUIG9u
IFdlZG5lc2RheSEKCkJlc3Qgd2lzaGVzLApBbWlyCl9fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fCk1pcmFnZU9TLWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VP
Uy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcv
Y2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Tue May 05 17:32:58 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 05 May 2015 17:32:58 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpgiF-0004Ek-I3; Tue, 05 May 2015 17:32:55 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1YpgiE-0004ER-GA
	for mirageos-devel@lists.xenproject.org; Tue, 05 May 2015 17:32:54 +0000
Received: from [193.109.254.147] by server-4.bemta-14.messagelabs.com id
	7E/F6-03245-5CEF8455; Tue, 05 May 2015 17:32:53 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-7.tower-27.messagelabs.com!1430847172!14812042!1
X-Originating-IP: [209.85.212.182]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 27106 invoked from network); 5 May 2015 17:32:52 -0000
Received: from mail-wi0-f182.google.com (HELO mail-wi0-f182.google.com)
	(209.85.212.182)
	by server-7.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	5 May 2015 17:32:52 -0000
Received: by widdi4 with SMTP id di4so170584446wid.0
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 05 May 2015 10:32:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=qmy68Y/UtBNlSRfH2iJ5GqiYvgt8BEyamBzb30f5nu0=;
	b=IYXV3zs71pHCcop4aKBBU9L2pua17FyshhTSkHn1KPJWr07aw0IyzuuEw6Z1TStxCJ
	YV6jGewgmfbHqdGvFf4JiNhW3V2IeTRrp1oAjt0OhFdGPaNLslW9YjgwoxIz0tYHXfEm
	PzUjEoWQ1OEQOMpx9E3k8RUniQvCr4My6Y7uBOLuwW8dWq6iwfwWOE+PUCixLKm6ESbc
	J6IGn7Jh4/XBd3ug+3lswNdQZVvYcngyFI3ZENPq8SR/st9XA2QEdTqHAlLTFKNqzHXW
	jkValV2dUCka/D8Ex/Vz5zQ7tVum06Y01jnCgFOah7uXosiQRwBZAarbvyzAb0MH4Vwx
	JXQQ==
X-Received: by 10.180.9.5 with SMTP id v5mr6075385wia.93.1430847172009;
	Tue, 05 May 2015 10:32:52 -0700 (PDT)
Received: from piana.mac.cl.cam.ac.uk (piana.mac.cl.cam.ac.uk. [128.232.56.38])
	by mx.google.com with ESMTPSA id
	fs9sm26580912wjc.34.2015.05.05.10.32.50
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Tue, 05 May 2015 10:32:51 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <FAAFD43C-7701-4C39-A889-F96CF14235DF@recoil.org>
Date: Tue, 5 May 2015 18:32:49 +0100
Message-Id: <E3864F10-951A-411D-81B2-AE54C001A42C@gazagnaire.org>
References: <BB284C3F-4CD3-40B5-AD6E-D54B5A44A0DE@gazagnaire.org>
	<FAAFD43C-7701-4C39-A889-F96CF14235DF@recoil.org>
To: Anil Madhavapeddy <anil@recoil.org>
X-Mailer: Apple Mail (2.2098)
Cc: Mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] fixing a memory leak in the tcp/ip stack
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

A quick follow-up:

The fix if that memory bug created an new issue that I've just fixed: a bad infinite loop might appears for some input of the `Channel.read_line` function in tcpip 2.4.2. Thanks to our new unit-test framework for tcpip, I've added a new test to be sure it will never happen again. The Channel module is used by `mirage-http` so this can cause all HTTP unikernels to be quite unstable if they receive fragmented packets.

 I'm releasing tcpip 2.4.3 with the fix and it will be in opam shortly:

https://github.com/ocaml/opam-repository/pull/4051

As usual, any contribution in term of new tests is always very welcome:

https://github.com/mirage/mirage-tcpip/tree/master/lib_test

Best,
Thomas

> On 30 Apr 2015, at 12:29, Anil Madhavapeddy <anil@recoil.org> wrote:
> 
> Thanks Mindy and Thomas!  The live openmirage.org website has picked this up.
> 
> I've also (as discussed on the Mirage calls) set up a mirror of the site on http://mirage.io.  This is intended to run the bleeding edge version of the stack and will be TLS-only, so don't link to it externally just yet.
> 
> -anil
> 
>> On 30 Apr 2015, at 11:21, Thomas Gazagnaire <thomas@gazagnaire.org> wrote:
>> 
>> Hi all,
>> 
>> I've just released mirage-tcpip 2.4.2 (available in opam) which fixes a bad memory leak in the Channel implementation of tcpip/ip (thanks to Mindy Preston for the initial patches[1]). I've also added some memory statistics to mirage-www (in http://openmirage.org/stats/gc [2]) to check that the leak is indeed fixed.
>> 
>> Can someone update the live website with the latest version of mirage-tcpip and mirage-www?
>> 
>> Best,
>> Thomas
>> 
>> [1] https://github.com/mirage/mirage-tcpip/pull/127
>> [2] https://github.com/mirage/mirage-www/blob/master/src/stats.ml
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>> 
> 


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 05 17:32:58 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 05 May 2015 17:32:58 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpgiF-0004Ek-I3; Tue, 05 May 2015 17:32:55 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1YpgiE-0004ER-GA
	for mirageos-devel@lists.xenproject.org; Tue, 05 May 2015 17:32:54 +0000
Received: from [193.109.254.147] by server-4.bemta-14.messagelabs.com id
	7E/F6-03245-5CEF8455; Tue, 05 May 2015 17:32:53 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-7.tower-27.messagelabs.com!1430847172!14812042!1
X-Originating-IP: [209.85.212.182]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 27106 invoked from network); 5 May 2015 17:32:52 -0000
Received: from mail-wi0-f182.google.com (HELO mail-wi0-f182.google.com)
	(209.85.212.182)
	by server-7.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	5 May 2015 17:32:52 -0000
Received: by widdi4 with SMTP id di4so170584446wid.0
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 05 May 2015 10:32:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=qmy68Y/UtBNlSRfH2iJ5GqiYvgt8BEyamBzb30f5nu0=;
	b=IYXV3zs71pHCcop4aKBBU9L2pua17FyshhTSkHn1KPJWr07aw0IyzuuEw6Z1TStxCJ
	YV6jGewgmfbHqdGvFf4JiNhW3V2IeTRrp1oAjt0OhFdGPaNLslW9YjgwoxIz0tYHXfEm
	PzUjEoWQ1OEQOMpx9E3k8RUniQvCr4My6Y7uBOLuwW8dWq6iwfwWOE+PUCixLKm6ESbc
	J6IGn7Jh4/XBd3ug+3lswNdQZVvYcngyFI3ZENPq8SR/st9XA2QEdTqHAlLTFKNqzHXW
	jkValV2dUCka/D8Ex/Vz5zQ7tVum06Y01jnCgFOah7uXosiQRwBZAarbvyzAb0MH4Vwx
	JXQQ==
X-Received: by 10.180.9.5 with SMTP id v5mr6075385wia.93.1430847172009;
	Tue, 05 May 2015 10:32:52 -0700 (PDT)
Received: from piana.mac.cl.cam.ac.uk (piana.mac.cl.cam.ac.uk. [128.232.56.38])
	by mx.google.com with ESMTPSA id
	fs9sm26580912wjc.34.2015.05.05.10.32.50
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Tue, 05 May 2015 10:32:51 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <FAAFD43C-7701-4C39-A889-F96CF14235DF@recoil.org>
Date: Tue, 5 May 2015 18:32:49 +0100
Message-Id: <E3864F10-951A-411D-81B2-AE54C001A42C@gazagnaire.org>
References: <BB284C3F-4CD3-40B5-AD6E-D54B5A44A0DE@gazagnaire.org>
	<FAAFD43C-7701-4C39-A889-F96CF14235DF@recoil.org>
To: Anil Madhavapeddy <anil@recoil.org>
X-Mailer: Apple Mail (2.2098)
Cc: Mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] fixing a memory leak in the tcp/ip stack
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

A quick follow-up:

The fix if that memory bug created an new issue that I've just fixed: a bad infinite loop might appears for some input of the `Channel.read_line` function in tcpip 2.4.2. Thanks to our new unit-test framework for tcpip, I've added a new test to be sure it will never happen again. The Channel module is used by `mirage-http` so this can cause all HTTP unikernels to be quite unstable if they receive fragmented packets.

 I'm releasing tcpip 2.4.3 with the fix and it will be in opam shortly:

https://github.com/ocaml/opam-repository/pull/4051

As usual, any contribution in term of new tests is always very welcome:

https://github.com/mirage/mirage-tcpip/tree/master/lib_test

Best,
Thomas

> On 30 Apr 2015, at 12:29, Anil Madhavapeddy <anil@recoil.org> wrote:
> 
> Thanks Mindy and Thomas!  The live openmirage.org website has picked this up.
> 
> I've also (as discussed on the Mirage calls) set up a mirror of the site on http://mirage.io.  This is intended to run the bleeding edge version of the stack and will be TLS-only, so don't link to it externally just yet.
> 
> -anil
> 
>> On 30 Apr 2015, at 11:21, Thomas Gazagnaire <thomas@gazagnaire.org> wrote:
>> 
>> Hi all,
>> 
>> I've just released mirage-tcpip 2.4.2 (available in opam) which fixes a bad memory leak in the Channel implementation of tcpip/ip (thanks to Mindy Preston for the initial patches[1]). I've also added some memory statistics to mirage-www (in http://openmirage.org/stats/gc [2]) to check that the leak is indeed fixed.
>> 
>> Can someone update the live website with the latest version of mirage-tcpip and mirage-www?
>> 
>> Best,
>> Thomas
>> 
>> [1] https://github.com/mirage/mirage-tcpip/pull/127
>> [2] https://github.com/mirage/mirage-www/blob/master/src/stats.ml
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>> 
> 


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 06 00:31:29 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 06 May 2015 00:31:29 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpnFB-0002Kw-5n; Wed, 06 May 2015 00:31:21 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1YpnF9-0002Kr-Tq
	for MirageOS-devel@lists.xenproject.org; Wed, 06 May 2015 00:31:20 +0000
Received: from [85.158.137.68] by server-17.bemta-3.messagelabs.com id
	42/CC-14975-6D069455; Wed, 06 May 2015 00:31:18 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-6.tower-31.messagelabs.com!1430872277!8182633!1
X-Originating-IP: [209.85.212.174]
X-SpamReason: No, hits=0.8 required=7.0 tests=BODY_RANDOM_LONG,
  RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 31252 invoked from network); 6 May 2015 00:31:17 -0000
Received: from mail-wi0-f174.google.com (HELO mail-wi0-f174.google.com)
	(209.85.212.174)
	by server-6.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	6 May 2015 00:31:17 -0000
Received: by wizk4 with SMTP id k4so182387951wiz.1
	for <MirageOS-devel@lists.xenproject.org>;
	Tue, 05 May 2015 17:31:17 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:date:message-id:subject:from:to:cc:content-type;
	bh=Bu0l3pk+x6T28/AZzhAF6Ud1U0qtj9uXBS8232R4+E8=;
	b=JHI16qs0rCP3odZUuPOswivfw+uLkv3qwx9tOKQB/P54JGpXshdV6sToRZB3mdLHiB
	kcYpKtek6m7w8qrAOPTTEJg8XAHoWxC+bY8VqPFMhno0ACU2Khpi83qTW5NEDMw8DEnt
	gLBr471ixuq15KDODYnc85x90r3h1gGDRaUpmMUNGTTwXzgb5LTB/d2vaEN5R3xy6wNa
	4X0y4kn66AL5u3y7iy6lEtegb7u7c+yCr579A8Qu90cLfJq6qj2xx3db7VrdI59bVw7i
	Ezn1fLaFjAdDkee/bTsm0GqV5tOGmgrCEzZQDVggQMAtjqwZgmseT0uQ+JpJfmIaIi1s
	digA==
X-Received: by 10.180.186.5 with SMTP id fg5mr30960wic.60.1430872277213;
	Tue, 05 May 2015 17:31:17 -0700 (PDT)
Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com.
	[74.125.82.54])
	by mx.google.com with ESMTPSA id gy8sm107075wib.13.2015.05.05.17.31.15
	for <MirageOS-devel@lists.xenproject.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Tue, 05 May 2015 17:31:16 -0700 (PDT)
Received: by wgin8 with SMTP id n8so200276391wgi.0
	for <MirageOS-devel@lists.xenproject.org>;
	Tue, 05 May 2015 17:31:15 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.180.219.42 with SMTP id pl10mr23390wic.70.1430872275349;
	Tue, 05 May 2015 17:31:15 -0700 (PDT)
Received: by 10.28.226.193 with HTTP; Tue, 5 May 2015 17:31:15 -0700 (PDT)
Date: Tue, 5 May 2015 17:31:15 -0700
Message-ID: <CAN2Hq04=cKC_zMrdoKn+Hq13fe3wqeE5gi2z-Bp2Ye6DoUi8zA@mail.gmail.com>
From: Richard Mortier <richard.mortier@cl.cam.ac.uk>
To: mirageos-devel <MirageOS-devel@lists.xenproject.org>
Cc: David Scott <Dave.Scott@citrix.com>,
	Thomas Gazagnaire <thomas@gazagnaire.org>
Subject: [MirageOS-devel] Notes on testing
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

A little late, but finally got round to writing up some notes on the
conversation a couple of weeks ago on how we might approach testing in
Mirage.

"""
# Notes

+ Testing is used for a variety of purposes. Of note for us are:
reproduction of reported issues; regression testing of previously
fixed issues; unit testing within a component; and continuous
integration testing of an entire component

+ Perhaps the key problem at this stage is that the stack does not appear to
have an explicit design guideline: it is unclear whether it is intended to be
copying/non-copying; to accept and provide aligned/unaligned buffers to/from
applications; to be blocking/non-blocking; or buffer ownership policy.

  + Confusion was expressed over whether `NetIf.write` is intended to
assemble a list of buffer fragments or transmit a list of complete
packet buffers. Magnus confirms: `NetIf.writev` assembles a list of
buffer fragments to a new buffer, `NetIf.write` just writes a buffer.
I think `Netif` is the module that is currently responsible for
assembling in `writev`, as the list of buffers seems to be just passed
on to `Netif` in the other modules.

+ There is evidence that at least some parts of the stack currently
require blocking behaviour, eg., `tcpip` deadlocks if blocking is not
introduced -- from Magnus: "mirage-tcpip requires that Netif calls the
listener callback with Lwt.async/ignore_result, as tcpip blocks in
some of the listener threads while it is waiting for more data (e.g.
for an mvar to be updated)". `NetIf` and `Io-page.1.3.0` recently
changed API to always copy data.

+ Longer term there is a perceived need to start splitting protocol
libraries to provide separate front- and back-end implementations
following the practice in `vchan`. Separation of `tcpip` into several
submodules that permit independent testing (`SlidingWindow`, etc) was
also recommended.

+ Inter-layer testing is a pain on Travis but may be ultimately
supported using `VNetIf` and a front/backend separation. Also required
for regular performance testing so we can build `is-mirage-fast`.

  + From Magnus: "mirage-vnetif has now been released in opam and
tests for connect and iperf in travis have been added to tcpip:

https://github.com/mirage/mirage-tcpip/tree/master/lib_test

I've also added a backend to test trailing bytes. The tests can be run
in alcotest verbose mode to see the measured speed."

+ Similarly, it was also suggested that a non-blocking API is
ultimately preferable as it provides more explicit control over queues
and pushback throughout stack, vs the current practice where listen
threads accumulate data and eventually return.

# Actions

[djs]: Tell us where to look in the mirage-xen front/backend code, and
to write down what actually happens there. Find out about XenRT
graphs.

[magnus]: Document `NetIf`. Send link to blog post network setup; verify iperf
over `VNetIf` works. Send pointers to tests for NSDI/Jitsu.

  + "I've added documentation and examples for the mirage-vnetif
network setup in the README:
https://github.com/MagnusS/mirage-vnetif/blob/master/README.md Tests
for jitsu/synjitsu are under development ... but not quite there yet
:-) We are tracking progress here:
https://github.com/mirage/jitsu/issues/11"

[mort]: Document that `mirage-net-pcap` should be used to gather
`.pcap` files for a bug report. File issue on `ocaml-vchan` for
@samoht to use alcotest. File issue for `TROVE` to indicate tests and
passes, Travis status, and maintainer.

[masoud]: Setup to run perf tests daily and automatically report findings.

[thomas]: Create `ocaml-test-skeleton` basing off "best practice" in
vchan/ alcotest/ocaml-irmin.

[mindy]: Build a simple example of testing for a single-layer of the
stack (ARP) using Irmin.
"""

-- 
Richard Mortier
richard.mortier@cl.cam.ac.uk

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 06 00:31:29 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 06 May 2015 00:31:29 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpnFB-0002Kw-5n; Wed, 06 May 2015 00:31:21 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1YpnF9-0002Kr-Tq
	for MirageOS-devel@lists.xenproject.org; Wed, 06 May 2015 00:31:20 +0000
Received: from [85.158.137.68] by server-17.bemta-3.messagelabs.com id
	42/CC-14975-6D069455; Wed, 06 May 2015 00:31:18 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-6.tower-31.messagelabs.com!1430872277!8182633!1
X-Originating-IP: [209.85.212.174]
X-SpamReason: No, hits=0.8 required=7.0 tests=BODY_RANDOM_LONG,
  RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 31252 invoked from network); 6 May 2015 00:31:17 -0000
Received: from mail-wi0-f174.google.com (HELO mail-wi0-f174.google.com)
	(209.85.212.174)
	by server-6.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	6 May 2015 00:31:17 -0000
Received: by wizk4 with SMTP id k4so182387951wiz.1
	for <MirageOS-devel@lists.xenproject.org>;
	Tue, 05 May 2015 17:31:17 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:date:message-id:subject:from:to:cc:content-type;
	bh=Bu0l3pk+x6T28/AZzhAF6Ud1U0qtj9uXBS8232R4+E8=;
	b=JHI16qs0rCP3odZUuPOswivfw+uLkv3qwx9tOKQB/P54JGpXshdV6sToRZB3mdLHiB
	kcYpKtek6m7w8qrAOPTTEJg8XAHoWxC+bY8VqPFMhno0ACU2Khpi83qTW5NEDMw8DEnt
	gLBr471ixuq15KDODYnc85x90r3h1gGDRaUpmMUNGTTwXzgb5LTB/d2vaEN5R3xy6wNa
	4X0y4kn66AL5u3y7iy6lEtegb7u7c+yCr579A8Qu90cLfJq6qj2xx3db7VrdI59bVw7i
	Ezn1fLaFjAdDkee/bTsm0GqV5tOGmgrCEzZQDVggQMAtjqwZgmseT0uQ+JpJfmIaIi1s
	digA==
X-Received: by 10.180.186.5 with SMTP id fg5mr30960wic.60.1430872277213;
	Tue, 05 May 2015 17:31:17 -0700 (PDT)
Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com.
	[74.125.82.54])
	by mx.google.com with ESMTPSA id gy8sm107075wib.13.2015.05.05.17.31.15
	for <MirageOS-devel@lists.xenproject.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Tue, 05 May 2015 17:31:16 -0700 (PDT)
Received: by wgin8 with SMTP id n8so200276391wgi.0
	for <MirageOS-devel@lists.xenproject.org>;
	Tue, 05 May 2015 17:31:15 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.180.219.42 with SMTP id pl10mr23390wic.70.1430872275349;
	Tue, 05 May 2015 17:31:15 -0700 (PDT)
Received: by 10.28.226.193 with HTTP; Tue, 5 May 2015 17:31:15 -0700 (PDT)
Date: Tue, 5 May 2015 17:31:15 -0700
Message-ID: <CAN2Hq04=cKC_zMrdoKn+Hq13fe3wqeE5gi2z-Bp2Ye6DoUi8zA@mail.gmail.com>
From: Richard Mortier <richard.mortier@cl.cam.ac.uk>
To: mirageos-devel <MirageOS-devel@lists.xenproject.org>
Cc: David Scott <Dave.Scott@citrix.com>,
	Thomas Gazagnaire <thomas@gazagnaire.org>
Subject: [MirageOS-devel] Notes on testing
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

A little late, but finally got round to writing up some notes on the
conversation a couple of weeks ago on how we might approach testing in
Mirage.

"""
# Notes

+ Testing is used for a variety of purposes. Of note for us are:
reproduction of reported issues; regression testing of previously
fixed issues; unit testing within a component; and continuous
integration testing of an entire component

+ Perhaps the key problem at this stage is that the stack does not appear to
have an explicit design guideline: it is unclear whether it is intended to be
copying/non-copying; to accept and provide aligned/unaligned buffers to/from
applications; to be blocking/non-blocking; or buffer ownership policy.

  + Confusion was expressed over whether `NetIf.write` is intended to
assemble a list of buffer fragments or transmit a list of complete
packet buffers. Magnus confirms: `NetIf.writev` assembles a list of
buffer fragments to a new buffer, `NetIf.write` just writes a buffer.
I think `Netif` is the module that is currently responsible for
assembling in `writev`, as the list of buffers seems to be just passed
on to `Netif` in the other modules.

+ There is evidence that at least some parts of the stack currently
require blocking behaviour, eg., `tcpip` deadlocks if blocking is not
introduced -- from Magnus: "mirage-tcpip requires that Netif calls the
listener callback with Lwt.async/ignore_result, as tcpip blocks in
some of the listener threads while it is waiting for more data (e.g.
for an mvar to be updated)". `NetIf` and `Io-page.1.3.0` recently
changed API to always copy data.

+ Longer term there is a perceived need to start splitting protocol
libraries to provide separate front- and back-end implementations
following the practice in `vchan`. Separation of `tcpip` into several
submodules that permit independent testing (`SlidingWindow`, etc) was
also recommended.

+ Inter-layer testing is a pain on Travis but may be ultimately
supported using `VNetIf` and a front/backend separation. Also required
for regular performance testing so we can build `is-mirage-fast`.

  + From Magnus: "mirage-vnetif has now been released in opam and
tests for connect and iperf in travis have been added to tcpip:

https://github.com/mirage/mirage-tcpip/tree/master/lib_test

I've also added a backend to test trailing bytes. The tests can be run
in alcotest verbose mode to see the measured speed."

+ Similarly, it was also suggested that a non-blocking API is
ultimately preferable as it provides more explicit control over queues
and pushback throughout stack, vs the current practice where listen
threads accumulate data and eventually return.

# Actions

[djs]: Tell us where to look in the mirage-xen front/backend code, and
to write down what actually happens there. Find out about XenRT
graphs.

[magnus]: Document `NetIf`. Send link to blog post network setup; verify iperf
over `VNetIf` works. Send pointers to tests for NSDI/Jitsu.

  + "I've added documentation and examples for the mirage-vnetif
network setup in the README:
https://github.com/MagnusS/mirage-vnetif/blob/master/README.md Tests
for jitsu/synjitsu are under development ... but not quite there yet
:-) We are tracking progress here:
https://github.com/mirage/jitsu/issues/11"

[mort]: Document that `mirage-net-pcap` should be used to gather
`.pcap` files for a bug report. File issue on `ocaml-vchan` for
@samoht to use alcotest. File issue for `TROVE` to indicate tests and
passes, Travis status, and maintainer.

[masoud]: Setup to run perf tests daily and automatically report findings.

[thomas]: Create `ocaml-test-skeleton` basing off "best practice" in
vchan/ alcotest/ocaml-irmin.

[mindy]: Build a simple example of testing for a single-layer of the
stack (ARP) using Irmin.
"""

-- 
Richard Mortier
richard.mortier@cl.cam.ac.uk

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 06 09:19:35 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 06 May 2015 09:19:35 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpvUF-0007ac-Jo; Wed, 06 May 2015 09:19:27 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mindy@somerandomidiot.com>) id 1YpvUE-0007ZV-Ir
	for MirageOS-devel@lists.xenproject.org; Wed, 06 May 2015 09:19:26 +0000
Received: from [85.158.137.68] by server-2.bemta-3.messagelabs.com id
	2C/96-03079-D9CD9455; Wed, 06 May 2015 09:19:25 +0000
X-Env-Sender: mindy@somerandomidiot.com
X-Msg-Ref: server-9.tower-31.messagelabs.com!1430903964!9015430!1
X-Originating-IP: [217.70.183.197]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9493 invoked from network); 6 May 2015 09:19:24 -0000
Received: from relay5-d.mail.gandi.net (HELO relay5-d.mail.gandi.net)
	(217.70.183.197)
	by server-9.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 6 May 2015 09:19:24 -0000
Received: from mfilter17-d.gandi.net (mfilter17-d.gandi.net [217.70.178.145])
	by relay5-d.mail.gandi.net (Postfix) with ESMTP id 8E2B141C097;
	Wed,  6 May 2015 11:19:24 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mfilter17-d.gandi.net
Received: from relay5-d.mail.gandi.net ([217.70.183.197])
	by mfilter17-d.gandi.net (mfilter17-d.gandi.net [10.0.15.180])
	(amavisd-new, port 10024)
	with ESMTP id 6rF6SlYPg0nj; Wed,  6 May 2015 11:19:23 +0200 (CEST)
X-Originating-IP: 131.111.184.18
Received: from [172.17.25.72] (global-1-18.nat.csx.cam.ac.uk [131.111.184.18])
	(Authenticated sender: guybrush@somerandomidiot.com)
	by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 105D441C07D;
	Wed,  6 May 2015 11:19:21 +0200 (CEST)
Message-ID: <5549DC5B.8050405@somerandomidiot.com>
Date: Wed, 06 May 2015 10:18:19 +0100
From: Mindy <mindy@somerandomidiot.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: Richard Mortier <richard.mortier@cl.cam.ac.uk>, 
	mirageos-devel <MirageOS-devel@lists.xenproject.org>
References: <CAN2Hq04=cKC_zMrdoKn+Hq13fe3wqeE5gi2z-Bp2Ye6DoUi8zA@mail.gmail.com>
In-Reply-To: <CAN2Hq04=cKC_zMrdoKn+Hq13fe3wqeE5gi2z-Bp2Ye6DoUi8zA@mail.gmail.com>
Cc: David Scott <Dave.Scott@citrix.com>,
	Thomas Gazagnaire <thomas@gazagnaire.org>
Subject: Re: [MirageOS-devel] Notes on testing
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Thanks for writing these up :) progress notes:

On 05/06/2015 01:31 AM, Richard Mortier wrote:
>
> [mort]: Document that `mirage-net-pcap` should be used to gather
> `.pcap` files for a bug report.
I'll soon release a version of `mirage-net-pcap` that plays nicely with 
`mirage-vnetif` rather than reimplementing it poorly, and also supports 
actual file writes (wow!).
> [mindy]: Build a simple example of testing for a single-layer of the
> stack (ARP) using Irmin.
I wrote about this a little while ago, but it's bundled-up with thoughts 
on implementing the cache data structure as an Irmin store and makes for 
an exceedingly poor how-to; I'll split this up and make the 
just-test-a-thing piece a bit more coherent.

-Mindy

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 06 09:19:35 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 06 May 2015 09:19:35 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpvUF-0007ac-Jo; Wed, 06 May 2015 09:19:27 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mindy@somerandomidiot.com>) id 1YpvUE-0007ZV-Ir
	for MirageOS-devel@lists.xenproject.org; Wed, 06 May 2015 09:19:26 +0000
Received: from [85.158.137.68] by server-2.bemta-3.messagelabs.com id
	2C/96-03079-D9CD9455; Wed, 06 May 2015 09:19:25 +0000
X-Env-Sender: mindy@somerandomidiot.com
X-Msg-Ref: server-9.tower-31.messagelabs.com!1430903964!9015430!1
X-Originating-IP: [217.70.183.197]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9493 invoked from network); 6 May 2015 09:19:24 -0000
Received: from relay5-d.mail.gandi.net (HELO relay5-d.mail.gandi.net)
	(217.70.183.197)
	by server-9.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 6 May 2015 09:19:24 -0000
Received: from mfilter17-d.gandi.net (mfilter17-d.gandi.net [217.70.178.145])
	by relay5-d.mail.gandi.net (Postfix) with ESMTP id 8E2B141C097;
	Wed,  6 May 2015 11:19:24 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mfilter17-d.gandi.net
Received: from relay5-d.mail.gandi.net ([217.70.183.197])
	by mfilter17-d.gandi.net (mfilter17-d.gandi.net [10.0.15.180])
	(amavisd-new, port 10024)
	with ESMTP id 6rF6SlYPg0nj; Wed,  6 May 2015 11:19:23 +0200 (CEST)
X-Originating-IP: 131.111.184.18
Received: from [172.17.25.72] (global-1-18.nat.csx.cam.ac.uk [131.111.184.18])
	(Authenticated sender: guybrush@somerandomidiot.com)
	by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 105D441C07D;
	Wed,  6 May 2015 11:19:21 +0200 (CEST)
Message-ID: <5549DC5B.8050405@somerandomidiot.com>
Date: Wed, 06 May 2015 10:18:19 +0100
From: Mindy <mindy@somerandomidiot.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: Richard Mortier <richard.mortier@cl.cam.ac.uk>, 
	mirageos-devel <MirageOS-devel@lists.xenproject.org>
References: <CAN2Hq04=cKC_zMrdoKn+Hq13fe3wqeE5gi2z-Bp2Ye6DoUi8zA@mail.gmail.com>
In-Reply-To: <CAN2Hq04=cKC_zMrdoKn+Hq13fe3wqeE5gi2z-Bp2Ye6DoUi8zA@mail.gmail.com>
Cc: David Scott <Dave.Scott@citrix.com>,
	Thomas Gazagnaire <thomas@gazagnaire.org>
Subject: Re: [MirageOS-devel] Notes on testing
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Thanks for writing these up :) progress notes:

On 05/06/2015 01:31 AM, Richard Mortier wrote:
>
> [mort]: Document that `mirage-net-pcap` should be used to gather
> `.pcap` files for a bug report.
I'll soon release a version of `mirage-net-pcap` that plays nicely with 
`mirage-vnetif` rather than reimplementing it poorly, and also supports 
actual file writes (wow!).
> [mindy]: Build a simple example of testing for a single-layer of the
> stack (ARP) using Irmin.
I wrote about this a little while ago, but it's bundled-up with thoughts 
on implementing the cache data structure as an Irmin store and makes for 
an exceedingly poor how-to; I'll split this up and make the 
just-test-a-thing piece a bit more coherent.

-Mindy

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 06 09:29:36 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 06 May 2015 09:29:36 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Ypve3-000877-Pa; Wed, 06 May 2015 09:29:35 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1Ypve3-000872-Bm
	for MirageOS-devel@lists.xenproject.org; Wed, 06 May 2015 09:29:35 +0000
Received: from [85.158.137.68] by server-7.bemta-3.messagelabs.com id
	0B/1A-03197-EFED9455; Wed, 06 May 2015 09:29:34 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-2.tower-31.messagelabs.com!1430904571!12738478!1
X-Originating-IP: [209.85.215.50]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9349 invoked from network); 6 May 2015 09:29:31 -0000
Received: from mail-la0-f50.google.com (HELO mail-la0-f50.google.com)
	(209.85.215.50)
	by server-2.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	6 May 2015 09:29:31 -0000
Received: by layy10 with SMTP id y10so3057882lay.0
	for <MirageOS-devel@lists.xenproject.org>;
	Wed, 06 May 2015 02:29:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=Ita2TTQriH4oxxVljTDw2GRlDDOM76SEYII8LkbkQZs=;
	b=sdRA1tUWTDqIkE4VLxhi0v95RVJ8pdW/Rg6HV1W1CH7phfyTRowLusCGUsDzVK1PFL
	kdO/+JRm93jfzrJ3v4cuE34kva8k/F3BwoUfYs1uwvqQXiQ4+oNUF0J9imxrzOWhFUam
	nFKkA4O0s5F5Dtv7kgPaPzJBIIIf7SpTf70CK1xyGj3vYCbl1cZ8heiZgaVq6+iPT1s4
	daqJki2W+MMrDnZDCrkJPQdiLaTt8ci+JmbywbGqBUBZVBFJjm0BCMwQLX7u9xwhaWpP
	wJ3SvFtaUVxmcj65D9A2uHV/YQDUWtoPzsvTwk5O4sYtUuuixB4PIBJy8EdliQlZG3yG
	I8Mg==
MIME-Version: 1.0
X-Received: by 10.152.26.130 with SMTP id l2mr27948577lag.20.1430904571011;
	Wed, 06 May 2015 02:29:31 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Wed, 6 May 2015 02:29:30 -0700 (PDT)
In-Reply-To: <5549DC5B.8050405@somerandomidiot.com>
References: <CAN2Hq04=cKC_zMrdoKn+Hq13fe3wqeE5gi2z-Bp2Ye6DoUi8zA@mail.gmail.com>
	<5549DC5B.8050405@somerandomidiot.com>
Date: Wed, 6 May 2015 10:29:30 +0100
Message-ID: <CAG4opy-Ztm4=3wJgRKPv5qxT9PwFUdTtX3zjsDmQRzb3Bmztqg@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Mindy <mindy@somerandomidiot.com>
Cc: David Scott <Dave.Scott@citrix.com>,
	Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <MirageOS-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Notes on testing
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 6 May 2015 at 10:18, Mindy <mindy@somerandomidiot.com> wrote:
> Thanks for writing these up :) progress notes:
>
> On 05/06/2015 01:31 AM, Richard Mortier wrote:
>>
>>
>> [mort]: Document that `mirage-net-pcap` should be used to gather
>> `.pcap` files for a bug report.
>
> I'll soon release a version of `mirage-net-pcap` that plays nicely with
> `mirage-vnetif` rather than reimplementing it poorly, and also supports
> actual file writes (wow!).
>>
>> [mindy]: Build a simple example of testing for a single-layer of the
>> stack (ARP) using Irmin.
>
> I wrote about this a little while ago, but it's bundled-up with thoughts on
> implementing the cache data structure as an Irmin store and makes for an
> exceedingly poor how-to; I'll split this up and make the just-test-a-thing
> piece a bit more coherent.

I'm not sure it was ever announced on this list, so here's the link
for people interested in the ARP-cache-on-Irmin experiments (I assume
this is what you're referring to):

http://www.somerandomidiot.com/blog/2015/04/24/what-a-distributed-version-controlled-ARP-cache-gets-you/

We do need more Irmin tutorials though. I've had some requests for a
more technical follow-up to the CueKeeper post, so I may write
something there too about Irmin, but the ARP cache example is probably
a better place for an introduction.


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 06 09:29:36 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 06 May 2015 09:29:36 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Ypve3-000877-Pa; Wed, 06 May 2015 09:29:35 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1Ypve3-000872-Bm
	for MirageOS-devel@lists.xenproject.org; Wed, 06 May 2015 09:29:35 +0000
Received: from [85.158.137.68] by server-7.bemta-3.messagelabs.com id
	0B/1A-03197-EFED9455; Wed, 06 May 2015 09:29:34 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-2.tower-31.messagelabs.com!1430904571!12738478!1
X-Originating-IP: [209.85.215.50]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9349 invoked from network); 6 May 2015 09:29:31 -0000
Received: from mail-la0-f50.google.com (HELO mail-la0-f50.google.com)
	(209.85.215.50)
	by server-2.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	6 May 2015 09:29:31 -0000
Received: by layy10 with SMTP id y10so3057882lay.0
	for <MirageOS-devel@lists.xenproject.org>;
	Wed, 06 May 2015 02:29:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=Ita2TTQriH4oxxVljTDw2GRlDDOM76SEYII8LkbkQZs=;
	b=sdRA1tUWTDqIkE4VLxhi0v95RVJ8pdW/Rg6HV1W1CH7phfyTRowLusCGUsDzVK1PFL
	kdO/+JRm93jfzrJ3v4cuE34kva8k/F3BwoUfYs1uwvqQXiQ4+oNUF0J9imxrzOWhFUam
	nFKkA4O0s5F5Dtv7kgPaPzJBIIIf7SpTf70CK1xyGj3vYCbl1cZ8heiZgaVq6+iPT1s4
	daqJki2W+MMrDnZDCrkJPQdiLaTt8ci+JmbywbGqBUBZVBFJjm0BCMwQLX7u9xwhaWpP
	wJ3SvFtaUVxmcj65D9A2uHV/YQDUWtoPzsvTwk5O4sYtUuuixB4PIBJy8EdliQlZG3yG
	I8Mg==
MIME-Version: 1.0
X-Received: by 10.152.26.130 with SMTP id l2mr27948577lag.20.1430904571011;
	Wed, 06 May 2015 02:29:31 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Wed, 6 May 2015 02:29:30 -0700 (PDT)
In-Reply-To: <5549DC5B.8050405@somerandomidiot.com>
References: <CAN2Hq04=cKC_zMrdoKn+Hq13fe3wqeE5gi2z-Bp2Ye6DoUi8zA@mail.gmail.com>
	<5549DC5B.8050405@somerandomidiot.com>
Date: Wed, 6 May 2015 10:29:30 +0100
Message-ID: <CAG4opy-Ztm4=3wJgRKPv5qxT9PwFUdTtX3zjsDmQRzb3Bmztqg@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Mindy <mindy@somerandomidiot.com>
Cc: David Scott <Dave.Scott@citrix.com>,
	Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <MirageOS-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Notes on testing
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 6 May 2015 at 10:18, Mindy <mindy@somerandomidiot.com> wrote:
> Thanks for writing these up :) progress notes:
>
> On 05/06/2015 01:31 AM, Richard Mortier wrote:
>>
>>
>> [mort]: Document that `mirage-net-pcap` should be used to gather
>> `.pcap` files for a bug report.
>
> I'll soon release a version of `mirage-net-pcap` that plays nicely with
> `mirage-vnetif` rather than reimplementing it poorly, and also supports
> actual file writes (wow!).
>>
>> [mindy]: Build a simple example of testing for a single-layer of the
>> stack (ARP) using Irmin.
>
> I wrote about this a little while ago, but it's bundled-up with thoughts on
> implementing the cache data structure as an Irmin store and makes for an
> exceedingly poor how-to; I'll split this up and make the just-test-a-thing
> piece a bit more coherent.

I'm not sure it was ever announced on this list, so here's the link
for people interested in the ARP-cache-on-Irmin experiments (I assume
this is what you're referring to):

http://www.somerandomidiot.com/blog/2015/04/24/what-a-distributed-version-controlled-ARP-cache-gets-you/

We do need more Irmin tutorials though. I've had some requests for a
more technical follow-up to the CueKeeper post, so I may write
something there too about Irmin, but the ARP cache example is probably
a better place for an introduction.


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 06 09:41:44 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 06 May 2015 09:41:44 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Ypvpm-0000SA-7o; Wed, 06 May 2015 09:41:42 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mindy@somerandomidiot.com>) id 1Ypvpk-0000S3-Np
	for mirageos-devel@lists.xenproject.org; Wed, 06 May 2015 09:41:40 +0000
Received: from [85.158.137.68] by server-6.bemta-3.messagelabs.com id
	70/79-03286-3D1E9455; Wed, 06 May 2015 09:41:39 +0000
X-Env-Sender: mindy@somerandomidiot.com
X-Msg-Ref: server-6.tower-31.messagelabs.com!1430905297!8317656!1
X-Originating-IP: [217.70.183.198]
X-SpamReason: No, hits=1.4 required=7.0 tests=BODY_RANDOM_LONG,
	HTML_10_20,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 13652 invoked from network); 6 May 2015 09:41:38 -0000
Received: from relay6-d.mail.gandi.net (HELO relay6-d.mail.gandi.net)
	(217.70.183.198)
	by server-6.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 6 May 2015 09:41:38 -0000
Received: from mfilter34-d.gandi.net (mfilter34-d.gandi.net [217.70.178.165])
	by relay6-d.mail.gandi.net (Postfix) with ESMTP id A8747FB86F
	for <mirageos-devel@lists.xenproject.org>;
	Wed,  6 May 2015 11:41:37 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mfilter34-d.gandi.net
Received: from relay6-d.mail.gandi.net ([217.70.183.198])
	by mfilter34-d.gandi.net (mfilter34-d.gandi.net [10.0.15.180])
	(amavisd-new, port 10024)
	with ESMTP id CJSsgQE36NmF for <mirageos-devel@lists.xenproject.org>;
	Wed,  6 May 2015 11:41:35 +0200 (CEST)
X-Originating-IP: 131.111.184.18
Received: from [172.17.25.72] (global-1-18.nat.csx.cam.ac.uk [131.111.184.18])
	(Authenticated sender: guybrush@somerandomidiot.com)
	by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 3B5E1FB904
	for <mirageos-devel@lists.xenproject.org>;
	Wed,  6 May 2015 11:41:34 +0200 (CEST)
Message-ID: <5549E190.7080505@somerandomidiot.com>
Date: Wed, 06 May 2015 10:40:32 +0100
From: Mindy <mindy@somerandomidiot.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: [MirageOS-devel] test, quality, tcpip
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5857742056595385541=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

This is a multi-part message in MIME format.
--===============5857742056595385541==
Content-Type: multipart/alternative;
 boundary="------------000403080406040804060503"

This is a multi-part message in MIME format.
--------------000403080406040804060503
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi folks,

Mort's writeup of notes from a conversation on testing raises some 
questions on how to actually go about testing `tcpip`.  I'm starting a 
new thread to avoid potentially hijacking a more general conversation on 
testing with this rather more specific proposal, but most of what I'm 
discussing is quite related to problems and solutions enumerated in 
"Notes on Testing" from a few hours ago, and some item are reflected in 
ARs there.  I thought I'd take a run at writing down what I've gotten 
out of corridor and backchannel conversations with many other 
Mirage-seekers around restructuring the lump of code we currently keep 
in the `tcpip` repository (probably the most-used set of `impl`s in Mirage).

TL;DR - We should have each protocol in `tcpip` expose serializing and 
deserializing APIs for external use, in addition to including its own 
test suite and having clearer documentation of expectations around data 
ingress and egress (as included in Mort's notes).  I further propose 
that it may be useful to split each protocol into its own package for 
use in situations other than "a full ethernet/ip/tcp/udp/dhcp stack 
assembled by the mirage frontend tool".

We should also 1) figure out which of the error exposing/handling 
proposals won and 2) start using whichever one it is.

The long version:

What I've read, heard, and thought some reasonable goals are:
   * make it easier to test the code we have that does stuff with 
packets (and if we do a good job, we might find a more generally useful 
model)
   * write and automatically perform some tests on our packet-handling code
   * make it clearer when errors occur at low levels so higher-level 
applications can deal with them appropriately
   * make API contracts between layers clearer (what blocks?)
   * make it easier to reuse code across projects when that code needs 
to know stuff about packets

Code reuse might be a surprising thing to see here mixed in with quality 
and testing.  Here's some stuff that's in at least two places I know of 
for "a network stack", i.e. /ethernet/arp-and-ipv4,6/icmp/udp/tcp:

* wire format definitions (i.e. Cstructs)
   - Wire_structs (from `tcpip`), the module for serializing and 
deserializing wire formats of static size via the autogenerated Cstruct 
interface, doesn't seem to be explicitly intended to be exposed in `tcpip`.
   - ocaml-packet (all in `Packet.ml`)
   - ocaml-pcap (each format in its own .ml)
* serializing/deserializing code
   - all over `tcpip`, usually inaccessible or side-effecting (notable 
exception: dhcp)
   - ocaml-packet .  notably ocaml-packet currently depends on `tcpip` 
for `tcpip_checksum.ml` and required externs
   - ocaml-pcap 0.4.0 also has serializing and deserializing code per 
protocol, bundled with wire formats.  ocaml-pcap doesn't currently 
duplicate many application-layer protocols, although a more featureful 
`ocaml-pcap` will likely want to either do that or make common reference 
to parsing code.
   - mirage-nat and mirage-mimic, because I needed more than 
Wire_structs but less than a full listener

Here's what *isn't* all over the place:
* state machines/side-effecting operations/protocol implementations
   - `tcpip` is the only library I know of that implements anything 
beyond a parser/printer for a protocol below the application layer, 
although I'm certainly one of the less knowledgeable people about 
non-Mirage OCaml codebases on the list
* automated test code for any of the aforementioned
   * ocaml-packet checks that deserializing a type and then serializing 
the result gets you the original type
   * `tcpip`: now with tests (TM) ...but it could use some more ;)
   * application-layer code is doing a better job, but that doesn't get 
it much if the code beneath is unreliable

Things that might help with both reuse and accessibility for testing:
* pull Wire_structs into a separate library and make its wider usability 
clear and stable, where appropriate
   - currently some things are treated as constant-size cstructs that 
shouldn't be, e.g. ipv4 packets which might have options and therefore 
be larger than Wire_structs expects; exposing these widely without 
richer options for serializing and deserializing might be 
counterproductive.  Libraries that duplicate Wire_structs seem to all 
share this problem, so a common solution would likely be useful.

* pull per-protocol serializing and deserializing code into its own modules
   - improve and formalize error communication for invalid data, and 
express these in mirage-types module types
   - write tests for serializing and deserializing modules

* possibly pull the serializing/deserializing modules into their own 
package (packages?) on which `tcpip` depends (or maybe a separate 
library within `tcpip`?), for common use outside of `tcpip` itself

* attempt to improve and write tests on the code in `tcpip` that *isn't* 
digging around in or making packets, which should be logic for acting on 
write and read requests (at a low level)
   - improve and formalize (create?) error communication for bad state 
transitions, syntactically OK but semantically bogus packets, etc
   - possibly it makes sense to break this package up entirely into 
separate protocol implementations and rely on the `mirage` frontend tool 
(or user request, outside of the Mirage ecosystem) to manage 
dependencies between them - see below

Most of the above is focused on splitting up the code in `tcpip`; there 
are probably other ways to do it, and likely some of them make more 
sense than what I'm proposing.  It seems to me that there are (at least) 
two reasonable ways to split up some of the code in `tcpip`:
* horizontally layerwise, i.e. all code to do with ARP is in one package 
(serializing/deserializing, state machine/side effects), same for ipv4, 
ipv6, etc
* vertically concernwise, i.e. all serializing/deserializing code is in 
the same place, all action-taking code (probably with some more sensible 
subdivision) is in the same place, etc
* some other way I haven't thought of that makes way more sense (your 
proposal here!)

A horizontal division is the only thing that really potentially gives 
any benefit for users that I can see - linking in only the layers we 
need makes for smaller binaries (at least until we have dead code 
elimination).  It also seems to have less potential for external API 
breakage causing other repositories to become unbuildable (thinking of 
the case where e.g. I want to support a new DHCP option, which might 
require me to both expose a new variant type for DHCP.Option.t and write 
some handling code in what's currently dhcpv4_client.ml); in a regime 
where the serializing/deserializing code and the actual implementations 
which receive and send data are in separate packages, they need 
separate, coordinated releases.  As a bonus, we already have module 
types in `mirage-types` for defining reasonable interfaces between these 
layers.

Thanks for your consideration.

-Mindy

--------------000403080406040804060503
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html>
  <head>

    <meta http-equiv=3D"content-type" content=3D"text/html; charset=3Dutf=
-8">
  </head>
  <body text=3D"#000000" bgcolor=3D"#FFFFFF">
    Hi folks,<br>
    <br>
    Mort's writeup of notes from a conversation on testing raises some
    questions on how to actually go about testing `tcpip`.=C2=A0 I'm star=
ting
    a new thread to avoid potentially hijacking a more general
    conversation on testing with this rather more specific proposal, but
    most of what I'm discussing is quite related to problems and
    solutions enumerated in "Notes on Testing" from a few hours ago, and
    some item are reflected in ARs there.=C2=A0 I thought I'd take a run =
at
    writing down what I've gotten out of corridor and backchannel
    conversations with many other Mirage-seekers around restructuring
    the lump of code we currently keep in the `tcpip` repository
    (probably the most-used set of `impl`s in Mirage).<br>
    <br>
    TL;DR - We should have each protocol in `tcpip` expose serializing
    and deserializing APIs for external use, in addition to including
    its own test suite and having clearer documentation of expectations
    around data ingress and egress (as included in Mort's notes).=C2=A0 I
    further propose that it may be useful to split each protocol into
    its own package for use in situations other than "a full
    ethernet/ip/tcp/udp/dhcp stack assembled by the mirage frontend
    tool".
    <br>
    <br>
    We should also 1) figure out which of the error exposing/handling
    proposals won and 2) start using whichever one it is.<br>
    <br>
    The long version:
    <br>
    <br>
    What I've read, heard, and thought some reasonable goals are:<br>
    =C2=A0 * make it easier to test the code we have that does stuff with
    packets (and if we do a good job, we might find a more generally
    useful model)
    <br>
    =C2=A0 * write and automatically perform some tests on our
    packet-handling code
    <br>
    =C2=A0 * make it clearer when errors occur at low levels so higher-le=
vel
    applications can deal with them appropriately<br>
    =C2=A0 * make API contracts between layers clearer (what blocks?)<br>
    =C2=A0 * make it easier to reuse code across projects when that code
    needs to know stuff about packets
    <br>
    <br>
    Code reuse might be a surprising thing to see here mixed in with
    quality and testing.=C2=A0 Here's some stuff that's in at least two
    places I know of for "a network stack", i.e.
    /ethernet/arp-and-ipv4,6/icmp/udp/tcp:
    <br>
    <br>
    * wire format definitions (i.e. Cstructs)
    <br>
    =C2=A0 - Wire_structs (from `tcpip`), the module for serializing and
    deserializing wire formats of static size via the autogenerated
    Cstruct interface, doesn't seem to be explicitly intended to be
    exposed in `tcpip`.
    <br>
    =C2=A0 - ocaml-packet (all in `Packet.ml`)
    <br>
    =C2=A0 - ocaml-pcap (each format in its own .ml)
    <br>
    * serializing/deserializing code
    <br>
    =C2=A0 - all over `tcpip`, usually inaccessible or side-effecting
    (notable exception: dhcp)
    <br>
    =C2=A0 - ocaml-packet .=C2=A0 notably ocaml-packet currently depends =
on
    `tcpip` for `tcpip_checksum.ml` and required externs
    <br>
    =C2=A0 - ocaml-pcap 0.4.0 also has serializing and deserializing code=
 per
    protocol, bundled with wire formats.=C2=A0 ocaml-pcap doesn't current=
ly
    duplicate many application-layer protocols, although a more
    featureful `ocaml-pcap` will likely want to either do that or make
    common reference to parsing code.
    <br>
    =C2=A0 - mirage-nat and mirage-mimic, because I needed more than
    Wire_structs but less than a full listener<br>
    <br>
    Here's what <b class=3D"moz-txt-star"><span class=3D"moz-txt-tag">*</=
span>isn't<span
        class=3D"moz-txt-tag">*</span></b> all over the place:
    <br>
    * state machines/side-effecting operations/protocol implementations
    <br>
    =C2=A0 - `tcpip` is the only library I know of that implements anythi=
ng
    beyond a parser/printer for a protocol below the application layer,
    although I'm certainly one of the less knowledgeable people about
    non-Mirage OCaml codebases on the list<br>
    * automated test code for any of the aforementioned
    <br>
    =C2=A0 * ocaml-packet checks that deserializing a type and then
    serializing the result gets you the original type
    <br>
    =C2=A0 * `tcpip`: now with tests (TM) ...but it could use some more ;=
)
    <br>
    =C2=A0 * application-layer code is doing a better job, but that doesn=
't
    get it much if the code beneath is unreliable
    <br>
    <br>
    Things that might help with both reuse and accessibility for
    testing:
    <br>
    * pull Wire_structs into a separate library and make its wider
    usability clear and stable, where appropriate
    <br>
    =C2=A0 - currently some things are treated as constant-size cstructs =
that
    shouldn't be, e.g. ipv4 packets which might have options and
    therefore be larger than Wire_structs expects; exposing these widely
    without richer options for serializing and deserializing might be
    counterproductive.=C2=A0 Libraries that duplicate Wire_structs seem t=
o
    all share this problem, so a common solution would likely be useful.
    <br>
    <br>
    * pull per-protocol serializing and deserializing code into its own
    modules
    <br>
    =C2=A0 - improve and formalize error communication for invalid data, =
and
    express these in mirage-types module types
    <br>
    =C2=A0 - write tests for serializing and deserializing modules
    <br>
    <br>
    * possibly pull the serializing/deserializing modules into their own
    package (packages?) on which `tcpip` depends (or maybe a separate
    library within `tcpip`?), for common use outside of `tcpip` itself
    <br>
    <br>
    * attempt to improve and write tests on the code in `tcpip` that <b
      class=3D"moz-txt-star"><span class=3D"moz-txt-tag">*</span>isn't<sp=
an
        class=3D"moz-txt-tag">*</span></b> digging around in or making
    packets, which should be logic for acting on write and read requests
    (at a low level)
    <br>
    =C2=A0 - improve and formalize (create?) error communication for bad
    state transitions, syntactically OK but semantically bogus packets,
    etc
    <br>
    =C2=A0 - possibly it makes sense to break this package up entirely in=
to
    separate protocol implementations and rely on the `mirage` frontend
    tool (or user request, outside of the Mirage ecosystem) to manage
    dependencies between them - see below
    <br>
    <br>
    Most of the above is focused on splitting up the code in `tcpip`;
    there are probably other ways to do it, and likely some of them make
    more sense than what I'm proposing.=C2=A0 It seems to me that there a=
re
    (at least) two reasonable ways to split up some of the code in
    `tcpip`:
    <br>
    * horizontally layerwise, i.e. all code to do with ARP is in one
    package (serializing/deserializing, state machine/side effects),
    same for ipv4, ipv6, etc
    <br>
    * vertically concernwise, i.e. all serializing/deserializing code is
    in the same place, all action-taking code (probably with some more
    sensible subdivision) is in the same place, etc
    <br>
    * some other way I haven't thought of that makes way more sense
    (your proposal here!)
    <br>
    <br>
    A horizontal division is the only thing that really potentially
    gives any benefit for users that I can see - linking in only the
    layers we need makes for smaller binaries (at least until we have
    dead code elimination).=C2=A0 It also seems to have less potential fo=
r
    external API breakage causing other repositories to become
    unbuildable (thinking of the case where e.g. I want to support a new
    DHCP option, which might require me to both expose a new variant
    type for DHCP.Option.t and write some handling code in what's
    currently dhcpv4_client.ml); in a regime where the
    serializing/deserializing code and the actual implementations which
    receive and send data are in separate packages, they need separate,
    coordinated releases.=C2=A0 As a bonus, we already have module types =
in
    `mirage-types` for defining reasonable interfaces between these
    layers.
    <br>
    <br>
    Thanks for your consideration.<br>
    <br>
    -Mindy<br>
  </body>
</html>

--------------000403080406040804060503--


--===============5857742056595385541==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============5857742056595385541==--


From mirageos-devel-bounces@lists.xenproject.org Wed May 06 09:41:44 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 06 May 2015 09:41:44 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Ypvpm-0000SA-7o; Wed, 06 May 2015 09:41:42 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mindy@somerandomidiot.com>) id 1Ypvpk-0000S3-Np
	for mirageos-devel@lists.xenproject.org; Wed, 06 May 2015 09:41:40 +0000
Received: from [85.158.137.68] by server-6.bemta-3.messagelabs.com id
	70/79-03286-3D1E9455; Wed, 06 May 2015 09:41:39 +0000
X-Env-Sender: mindy@somerandomidiot.com
X-Msg-Ref: server-6.tower-31.messagelabs.com!1430905297!8317656!1
X-Originating-IP: [217.70.183.198]
X-SpamReason: No, hits=1.4 required=7.0 tests=BODY_RANDOM_LONG,
	HTML_10_20,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 13652 invoked from network); 6 May 2015 09:41:38 -0000
Received: from relay6-d.mail.gandi.net (HELO relay6-d.mail.gandi.net)
	(217.70.183.198)
	by server-6.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 6 May 2015 09:41:38 -0000
Received: from mfilter34-d.gandi.net (mfilter34-d.gandi.net [217.70.178.165])
	by relay6-d.mail.gandi.net (Postfix) with ESMTP id A8747FB86F
	for <mirageos-devel@lists.xenproject.org>;
	Wed,  6 May 2015 11:41:37 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mfilter34-d.gandi.net
Received: from relay6-d.mail.gandi.net ([217.70.183.198])
	by mfilter34-d.gandi.net (mfilter34-d.gandi.net [10.0.15.180])
	(amavisd-new, port 10024)
	with ESMTP id CJSsgQE36NmF for <mirageos-devel@lists.xenproject.org>;
	Wed,  6 May 2015 11:41:35 +0200 (CEST)
X-Originating-IP: 131.111.184.18
Received: from [172.17.25.72] (global-1-18.nat.csx.cam.ac.uk [131.111.184.18])
	(Authenticated sender: guybrush@somerandomidiot.com)
	by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 3B5E1FB904
	for <mirageos-devel@lists.xenproject.org>;
	Wed,  6 May 2015 11:41:34 +0200 (CEST)
Message-ID: <5549E190.7080505@somerandomidiot.com>
Date: Wed, 06 May 2015 10:40:32 +0100
From: Mindy <mindy@somerandomidiot.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: [MirageOS-devel] test, quality, tcpip
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5857742056595385541=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

This is a multi-part message in MIME format.
--===============5857742056595385541==
Content-Type: multipart/alternative;
 boundary="------------000403080406040804060503"

This is a multi-part message in MIME format.
--------------000403080406040804060503
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi folks,

Mort's writeup of notes from a conversation on testing raises some 
questions on how to actually go about testing `tcpip`.  I'm starting a 
new thread to avoid potentially hijacking a more general conversation on 
testing with this rather more specific proposal, but most of what I'm 
discussing is quite related to problems and solutions enumerated in 
"Notes on Testing" from a few hours ago, and some item are reflected in 
ARs there.  I thought I'd take a run at writing down what I've gotten 
out of corridor and backchannel conversations with many other 
Mirage-seekers around restructuring the lump of code we currently keep 
in the `tcpip` repository (probably the most-used set of `impl`s in Mirage).

TL;DR - We should have each protocol in `tcpip` expose serializing and 
deserializing APIs for external use, in addition to including its own 
test suite and having clearer documentation of expectations around data 
ingress and egress (as included in Mort's notes).  I further propose 
that it may be useful to split each protocol into its own package for 
use in situations other than "a full ethernet/ip/tcp/udp/dhcp stack 
assembled by the mirage frontend tool".

We should also 1) figure out which of the error exposing/handling 
proposals won and 2) start using whichever one it is.

The long version:

What I've read, heard, and thought some reasonable goals are:
   * make it easier to test the code we have that does stuff with 
packets (and if we do a good job, we might find a more generally useful 
model)
   * write and automatically perform some tests on our packet-handling code
   * make it clearer when errors occur at low levels so higher-level 
applications can deal with them appropriately
   * make API contracts between layers clearer (what blocks?)
   * make it easier to reuse code across projects when that code needs 
to know stuff about packets

Code reuse might be a surprising thing to see here mixed in with quality 
and testing.  Here's some stuff that's in at least two places I know of 
for "a network stack", i.e. /ethernet/arp-and-ipv4,6/icmp/udp/tcp:

* wire format definitions (i.e. Cstructs)
   - Wire_structs (from `tcpip`), the module for serializing and 
deserializing wire formats of static size via the autogenerated Cstruct 
interface, doesn't seem to be explicitly intended to be exposed in `tcpip`.
   - ocaml-packet (all in `Packet.ml`)
   - ocaml-pcap (each format in its own .ml)
* serializing/deserializing code
   - all over `tcpip`, usually inaccessible or side-effecting (notable 
exception: dhcp)
   - ocaml-packet .  notably ocaml-packet currently depends on `tcpip` 
for `tcpip_checksum.ml` and required externs
   - ocaml-pcap 0.4.0 also has serializing and deserializing code per 
protocol, bundled with wire formats.  ocaml-pcap doesn't currently 
duplicate many application-layer protocols, although a more featureful 
`ocaml-pcap` will likely want to either do that or make common reference 
to parsing code.
   - mirage-nat and mirage-mimic, because I needed more than 
Wire_structs but less than a full listener

Here's what *isn't* all over the place:
* state machines/side-effecting operations/protocol implementations
   - `tcpip` is the only library I know of that implements anything 
beyond a parser/printer for a protocol below the application layer, 
although I'm certainly one of the less knowledgeable people about 
non-Mirage OCaml codebases on the list
* automated test code for any of the aforementioned
   * ocaml-packet checks that deserializing a type and then serializing 
the result gets you the original type
   * `tcpip`: now with tests (TM) ...but it could use some more ;)
   * application-layer code is doing a better job, but that doesn't get 
it much if the code beneath is unreliable

Things that might help with both reuse and accessibility for testing:
* pull Wire_structs into a separate library and make its wider usability 
clear and stable, where appropriate
   - currently some things are treated as constant-size cstructs that 
shouldn't be, e.g. ipv4 packets which might have options and therefore 
be larger than Wire_structs expects; exposing these widely without 
richer options for serializing and deserializing might be 
counterproductive.  Libraries that duplicate Wire_structs seem to all 
share this problem, so a common solution would likely be useful.

* pull per-protocol serializing and deserializing code into its own modules
   - improve and formalize error communication for invalid data, and 
express these in mirage-types module types
   - write tests for serializing and deserializing modules

* possibly pull the serializing/deserializing modules into their own 
package (packages?) on which `tcpip` depends (or maybe a separate 
library within `tcpip`?), for common use outside of `tcpip` itself

* attempt to improve and write tests on the code in `tcpip` that *isn't* 
digging around in or making packets, which should be logic for acting on 
write and read requests (at a low level)
   - improve and formalize (create?) error communication for bad state 
transitions, syntactically OK but semantically bogus packets, etc
   - possibly it makes sense to break this package up entirely into 
separate protocol implementations and rely on the `mirage` frontend tool 
(or user request, outside of the Mirage ecosystem) to manage 
dependencies between them - see below

Most of the above is focused on splitting up the code in `tcpip`; there 
are probably other ways to do it, and likely some of them make more 
sense than what I'm proposing.  It seems to me that there are (at least) 
two reasonable ways to split up some of the code in `tcpip`:
* horizontally layerwise, i.e. all code to do with ARP is in one package 
(serializing/deserializing, state machine/side effects), same for ipv4, 
ipv6, etc
* vertically concernwise, i.e. all serializing/deserializing code is in 
the same place, all action-taking code (probably with some more sensible 
subdivision) is in the same place, etc
* some other way I haven't thought of that makes way more sense (your 
proposal here!)

A horizontal division is the only thing that really potentially gives 
any benefit for users that I can see - linking in only the layers we 
need makes for smaller binaries (at least until we have dead code 
elimination).  It also seems to have less potential for external API 
breakage causing other repositories to become unbuildable (thinking of 
the case where e.g. I want to support a new DHCP option, which might 
require me to both expose a new variant type for DHCP.Option.t and write 
some handling code in what's currently dhcpv4_client.ml); in a regime 
where the serializing/deserializing code and the actual implementations 
which receive and send data are in separate packages, they need 
separate, coordinated releases.  As a bonus, we already have module 
types in `mirage-types` for defining reasonable interfaces between these 
layers.

Thanks for your consideration.

-Mindy

--------------000403080406040804060503
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html>
  <head>

    <meta http-equiv=3D"content-type" content=3D"text/html; charset=3Dutf=
-8">
  </head>
  <body text=3D"#000000" bgcolor=3D"#FFFFFF">
    Hi folks,<br>
    <br>
    Mort's writeup of notes from a conversation on testing raises some
    questions on how to actually go about testing `tcpip`.=C2=A0 I'm star=
ting
    a new thread to avoid potentially hijacking a more general
    conversation on testing with this rather more specific proposal, but
    most of what I'm discussing is quite related to problems and
    solutions enumerated in "Notes on Testing" from a few hours ago, and
    some item are reflected in ARs there.=C2=A0 I thought I'd take a run =
at
    writing down what I've gotten out of corridor and backchannel
    conversations with many other Mirage-seekers around restructuring
    the lump of code we currently keep in the `tcpip` repository
    (probably the most-used set of `impl`s in Mirage).<br>
    <br>
    TL;DR - We should have each protocol in `tcpip` expose serializing
    and deserializing APIs for external use, in addition to including
    its own test suite and having clearer documentation of expectations
    around data ingress and egress (as included in Mort's notes).=C2=A0 I
    further propose that it may be useful to split each protocol into
    its own package for use in situations other than "a full
    ethernet/ip/tcp/udp/dhcp stack assembled by the mirage frontend
    tool".
    <br>
    <br>
    We should also 1) figure out which of the error exposing/handling
    proposals won and 2) start using whichever one it is.<br>
    <br>
    The long version:
    <br>
    <br>
    What I've read, heard, and thought some reasonable goals are:<br>
    =C2=A0 * make it easier to test the code we have that does stuff with
    packets (and if we do a good job, we might find a more generally
    useful model)
    <br>
    =C2=A0 * write and automatically perform some tests on our
    packet-handling code
    <br>
    =C2=A0 * make it clearer when errors occur at low levels so higher-le=
vel
    applications can deal with them appropriately<br>
    =C2=A0 * make API contracts between layers clearer (what blocks?)<br>
    =C2=A0 * make it easier to reuse code across projects when that code
    needs to know stuff about packets
    <br>
    <br>
    Code reuse might be a surprising thing to see here mixed in with
    quality and testing.=C2=A0 Here's some stuff that's in at least two
    places I know of for "a network stack", i.e.
    /ethernet/arp-and-ipv4,6/icmp/udp/tcp:
    <br>
    <br>
    * wire format definitions (i.e. Cstructs)
    <br>
    =C2=A0 - Wire_structs (from `tcpip`), the module for serializing and
    deserializing wire formats of static size via the autogenerated
    Cstruct interface, doesn't seem to be explicitly intended to be
    exposed in `tcpip`.
    <br>
    =C2=A0 - ocaml-packet (all in `Packet.ml`)
    <br>
    =C2=A0 - ocaml-pcap (each format in its own .ml)
    <br>
    * serializing/deserializing code
    <br>
    =C2=A0 - all over `tcpip`, usually inaccessible or side-effecting
    (notable exception: dhcp)
    <br>
    =C2=A0 - ocaml-packet .=C2=A0 notably ocaml-packet currently depends =
on
    `tcpip` for `tcpip_checksum.ml` and required externs
    <br>
    =C2=A0 - ocaml-pcap 0.4.0 also has serializing and deserializing code=
 per
    protocol, bundled with wire formats.=C2=A0 ocaml-pcap doesn't current=
ly
    duplicate many application-layer protocols, although a more
    featureful `ocaml-pcap` will likely want to either do that or make
    common reference to parsing code.
    <br>
    =C2=A0 - mirage-nat and mirage-mimic, because I needed more than
    Wire_structs but less than a full listener<br>
    <br>
    Here's what <b class=3D"moz-txt-star"><span class=3D"moz-txt-tag">*</=
span>isn't<span
        class=3D"moz-txt-tag">*</span></b> all over the place:
    <br>
    * state machines/side-effecting operations/protocol implementations
    <br>
    =C2=A0 - `tcpip` is the only library I know of that implements anythi=
ng
    beyond a parser/printer for a protocol below the application layer,
    although I'm certainly one of the less knowledgeable people about
    non-Mirage OCaml codebases on the list<br>
    * automated test code for any of the aforementioned
    <br>
    =C2=A0 * ocaml-packet checks that deserializing a type and then
    serializing the result gets you the original type
    <br>
    =C2=A0 * `tcpip`: now with tests (TM) ...but it could use some more ;=
)
    <br>
    =C2=A0 * application-layer code is doing a better job, but that doesn=
't
    get it much if the code beneath is unreliable
    <br>
    <br>
    Things that might help with both reuse and accessibility for
    testing:
    <br>
    * pull Wire_structs into a separate library and make its wider
    usability clear and stable, where appropriate
    <br>
    =C2=A0 - currently some things are treated as constant-size cstructs =
that
    shouldn't be, e.g. ipv4 packets which might have options and
    therefore be larger than Wire_structs expects; exposing these widely
    without richer options for serializing and deserializing might be
    counterproductive.=C2=A0 Libraries that duplicate Wire_structs seem t=
o
    all share this problem, so a common solution would likely be useful.
    <br>
    <br>
    * pull per-protocol serializing and deserializing code into its own
    modules
    <br>
    =C2=A0 - improve and formalize error communication for invalid data, =
and
    express these in mirage-types module types
    <br>
    =C2=A0 - write tests for serializing and deserializing modules
    <br>
    <br>
    * possibly pull the serializing/deserializing modules into their own
    package (packages?) on which `tcpip` depends (or maybe a separate
    library within `tcpip`?), for common use outside of `tcpip` itself
    <br>
    <br>
    * attempt to improve and write tests on the code in `tcpip` that <b
      class=3D"moz-txt-star"><span class=3D"moz-txt-tag">*</span>isn't<sp=
an
        class=3D"moz-txt-tag">*</span></b> digging around in or making
    packets, which should be logic for acting on write and read requests
    (at a low level)
    <br>
    =C2=A0 - improve and formalize (create?) error communication for bad
    state transitions, syntactically OK but semantically bogus packets,
    etc
    <br>
    =C2=A0 - possibly it makes sense to break this package up entirely in=
to
    separate protocol implementations and rely on the `mirage` frontend
    tool (or user request, outside of the Mirage ecosystem) to manage
    dependencies between them - see below
    <br>
    <br>
    Most of the above is focused on splitting up the code in `tcpip`;
    there are probably other ways to do it, and likely some of them make
    more sense than what I'm proposing.=C2=A0 It seems to me that there a=
re
    (at least) two reasonable ways to split up some of the code in
    `tcpip`:
    <br>
    * horizontally layerwise, i.e. all code to do with ARP is in one
    package (serializing/deserializing, state machine/side effects),
    same for ipv4, ipv6, etc
    <br>
    * vertically concernwise, i.e. all serializing/deserializing code is
    in the same place, all action-taking code (probably with some more
    sensible subdivision) is in the same place, etc
    <br>
    * some other way I haven't thought of that makes way more sense
    (your proposal here!)
    <br>
    <br>
    A horizontal division is the only thing that really potentially
    gives any benefit for users that I can see - linking in only the
    layers we need makes for smaller binaries (at least until we have
    dead code elimination).=C2=A0 It also seems to have less potential fo=
r
    external API breakage causing other repositories to become
    unbuildable (thinking of the case where e.g. I want to support a new
    DHCP option, which might require me to both expose a new variant
    type for DHCP.Option.t and write some handling code in what's
    currently dhcpv4_client.ml); in a regime where the
    serializing/deserializing code and the actual implementations which
    receive and send data are in separate packages, they need separate,
    coordinated releases.=C2=A0 As a bonus, we already have module types =
in
    `mirage-types` for defining reasonable interfaces between these
    layers.
    <br>
    <br>
    Thanks for your consideration.<br>
    <br>
    -Mindy<br>
  </body>
</html>

--------------000403080406040804060503--


--===============5857742056595385541==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============5857742056595385541==--


From mirageos-devel-bounces@lists.xenproject.org Wed May 06 10:01:27 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 06 May 2015 10:01:27 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Ypw8r-0004hn-HX; Wed, 06 May 2015 10:01:25 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <justin@specialbusservice.com>) id 1Ypw8p-0004h5-Qe
	for mirageos-devel@lists.xenproject.org; Wed, 06 May 2015 10:01:23 +0000
Received: from [85.158.137.68] by server-12.bemta-3.messagelabs.com id
	82/A1-02928-276E9455; Wed, 06 May 2015 10:01:22 +0000
X-Env-Sender: justin@specialbusservice.com
X-Msg-Ref: server-6.tower-31.messagelabs.com!1430906482!8327220!1
X-Originating-IP: [209.85.212.179]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 2681 invoked from network); 6 May 2015 10:01:22 -0000
Received: from mail-wi0-f179.google.com (HELO mail-wi0-f179.google.com)
	(209.85.212.179)
	by server-6.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	6 May 2015 10:01:22 -0000
Received: by widdi4 with SMTP id di4so195132828wid.0
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 06 May 2015 03:01:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=specialbusservice.com; s=google;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=Q+YkX4p1qjbb+Gy0KW/EdJEwHh3eO9LLrFDX6mLhTuQ=;
	b=c2Kq1ikqVxJ8ZQuuMlNttEhodhb0DhpAFmXKqjN8mTuf4HiPlV/rqC0+mwkBsPx9h7
	f+wNSN++acPQk84Bicye8q+UPXXAwvRP1ugzdEfSlxdtR4ZZBn0vJ/h+7aBeniU6tMVz
	r2BnAO8SBiA0TdGuJDG7qiD0fpev2a4uCG86A=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=Q+YkX4p1qjbb+Gy0KW/EdJEwHh3eO9LLrFDX6mLhTuQ=;
	b=PulfpUPg0RKkT6lN9Q0ZK6QK/zJkOWy76F4l/QPwyMHDsGAocV8gVtv/+nW3L2YeAk
	K2ACZbLENh1shnj4+Kk2OpgPrnr+0naHUHvk1/A3ibK6JHiem3urDPnppuyGTl80hni4
	CFkCmEmoiKqhgvrtYd2UwFs7DSCbrlqd29A6PEP9UUIw2305eeFnCMz6dBtnzakSRmIO
	SBqNWjQ5lMf4ZHzkQz3oj3BsyM8od3bGxHHZYuAgxoI7MLpaqoqKf5XqZziEQgkS+Etd
	MSkrnJQ3gsSninw4KJLVsh02geva8RG0ENDkR4QM1IMJEUuSr49EoqaVPdJdKrOzWi4j
	zTtQ==
X-Gm-Message-State: ALoCoQkxYTADK3+jaCrLVo2DVFoqTeJOImzzlIuNRShx3N/fa4FUZRevWRB1CjZSk0T02t0EY8rJ
MIME-Version: 1.0
X-Received: by 10.194.236.66 with SMTP id us2mr61323344wjc.54.1430906481787;
	Wed, 06 May 2015 03:01:21 -0700 (PDT)
Received: by 10.28.13.85 with HTTP; Wed, 6 May 2015 03:01:21 -0700 (PDT)
In-Reply-To: <5549E190.7080505@somerandomidiot.com>
References: <5549E190.7080505@somerandomidiot.com>
Date: Wed, 6 May 2015 11:01:21 +0100
Message-ID: <CAK4o1Wx=LOMR9Hgn7Nh4Eo1p6vYd6Orv+03ynXPKf+eaXm8Q8Q@mail.gmail.com>
From: Justin Cormack <justin@specialbusservice.com>
To: Mindy <mindy@somerandomidiot.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] test, quality, tcpip
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 6 May 2015 at 10:40, Mindy <mindy@somerandomidiot.com> wrote:
>   - improve and formalize (create?) error communication for bad state
> transitions, syntactically OK but semantically bogus packets, etc

The only useful error communication I can think of is counters of
types of error, which you can use when deliberately testing protocol
errors or for debugging. Networking is unusual as there is no real use
case for error handling, it is just going to be a denial of service
attack if you dont discard the packet asap.

>   - possibly it makes sense to break this package up entirely into separate
> protocol implementations and rely on the `mirage` frontend tool (or user
> request, outside of the Mirage ecosystem) to manage dependencies between
> them - see below
>
> Most of the above is focused on splitting up the code in `tcpip`; there are
> probably other ways to do it, and likely some of them make more sense than
> what I'm proposing.  It seems to me that there are (at least) two reasonable
> ways to split up some of the code in `tcpip`:
> * horizontally layerwise, i.e. all code to do with ARP is in one package
> (serializing/deserializing, state machine/side effects), same for ipv4,
> ipv6, etc
> * vertically concernwise, i.e. all serializing/deserializing code is in the
> same place, all action-taking code (probably with some more sensible
> subdivision) is in the same place, etc
> * some other way I haven't thought of that makes way more sense (your
> proposal here!)
>
> A horizontal division is the only thing that really potentially gives any
> benefit for users that I can see - linking in only the layers we need makes
> for smaller binaries (at least until we have dead code elimination).  It
> also seems to have less potential for external API breakage causing other
> repositories to become unbuildable (thinking of the case where e.g. I want
> to support a new DHCP option, which might require me to both expose a new
> variant type for DHCP.Option.t and write some handling code in what's
> currently dhcpv4_client.ml); in a regime where the serializing/deserializing
> code and the actual implementations which receive and send data are in
> separate packages, they need separate, coordinated releases.  As a bonus, we
> already have module types in `mirage-types` for defining reasonable
> interfaces between these layers.

Horizontal seems the most useful, being able to make smaller images
that just support ipv6 (no ipv4, no arp) for example is useful, or
that only understand the lower layers for network layer applications
such as filters and switches.

Justin

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 06 10:01:27 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 06 May 2015 10:01:27 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Ypw8r-0004hn-HX; Wed, 06 May 2015 10:01:25 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <justin@specialbusservice.com>) id 1Ypw8p-0004h5-Qe
	for mirageos-devel@lists.xenproject.org; Wed, 06 May 2015 10:01:23 +0000
Received: from [85.158.137.68] by server-12.bemta-3.messagelabs.com id
	82/A1-02928-276E9455; Wed, 06 May 2015 10:01:22 +0000
X-Env-Sender: justin@specialbusservice.com
X-Msg-Ref: server-6.tower-31.messagelabs.com!1430906482!8327220!1
X-Originating-IP: [209.85.212.179]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 2681 invoked from network); 6 May 2015 10:01:22 -0000
Received: from mail-wi0-f179.google.com (HELO mail-wi0-f179.google.com)
	(209.85.212.179)
	by server-6.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	6 May 2015 10:01:22 -0000
Received: by widdi4 with SMTP id di4so195132828wid.0
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 06 May 2015 03:01:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=specialbusservice.com; s=google;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=Q+YkX4p1qjbb+Gy0KW/EdJEwHh3eO9LLrFDX6mLhTuQ=;
	b=c2Kq1ikqVxJ8ZQuuMlNttEhodhb0DhpAFmXKqjN8mTuf4HiPlV/rqC0+mwkBsPx9h7
	f+wNSN++acPQk84Bicye8q+UPXXAwvRP1ugzdEfSlxdtR4ZZBn0vJ/h+7aBeniU6tMVz
	r2BnAO8SBiA0TdGuJDG7qiD0fpev2a4uCG86A=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=Q+YkX4p1qjbb+Gy0KW/EdJEwHh3eO9LLrFDX6mLhTuQ=;
	b=PulfpUPg0RKkT6lN9Q0ZK6QK/zJkOWy76F4l/QPwyMHDsGAocV8gVtv/+nW3L2YeAk
	K2ACZbLENh1shnj4+Kk2OpgPrnr+0naHUHvk1/A3ibK6JHiem3urDPnppuyGTl80hni4
	CFkCmEmoiKqhgvrtYd2UwFs7DSCbrlqd29A6PEP9UUIw2305eeFnCMz6dBtnzakSRmIO
	SBqNWjQ5lMf4ZHzkQz3oj3BsyM8od3bGxHHZYuAgxoI7MLpaqoqKf5XqZziEQgkS+Etd
	MSkrnJQ3gsSninw4KJLVsh02geva8RG0ENDkR4QM1IMJEUuSr49EoqaVPdJdKrOzWi4j
	zTtQ==
X-Gm-Message-State: ALoCoQkxYTADK3+jaCrLVo2DVFoqTeJOImzzlIuNRShx3N/fa4FUZRevWRB1CjZSk0T02t0EY8rJ
MIME-Version: 1.0
X-Received: by 10.194.236.66 with SMTP id us2mr61323344wjc.54.1430906481787;
	Wed, 06 May 2015 03:01:21 -0700 (PDT)
Received: by 10.28.13.85 with HTTP; Wed, 6 May 2015 03:01:21 -0700 (PDT)
In-Reply-To: <5549E190.7080505@somerandomidiot.com>
References: <5549E190.7080505@somerandomidiot.com>
Date: Wed, 6 May 2015 11:01:21 +0100
Message-ID: <CAK4o1Wx=LOMR9Hgn7Nh4Eo1p6vYd6Orv+03ynXPKf+eaXm8Q8Q@mail.gmail.com>
From: Justin Cormack <justin@specialbusservice.com>
To: Mindy <mindy@somerandomidiot.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] test, quality, tcpip
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 6 May 2015 at 10:40, Mindy <mindy@somerandomidiot.com> wrote:
>   - improve and formalize (create?) error communication for bad state
> transitions, syntactically OK but semantically bogus packets, etc

The only useful error communication I can think of is counters of
types of error, which you can use when deliberately testing protocol
errors or for debugging. Networking is unusual as there is no real use
case for error handling, it is just going to be a denial of service
attack if you dont discard the packet asap.

>   - possibly it makes sense to break this package up entirely into separate
> protocol implementations and rely on the `mirage` frontend tool (or user
> request, outside of the Mirage ecosystem) to manage dependencies between
> them - see below
>
> Most of the above is focused on splitting up the code in `tcpip`; there are
> probably other ways to do it, and likely some of them make more sense than
> what I'm proposing.  It seems to me that there are (at least) two reasonable
> ways to split up some of the code in `tcpip`:
> * horizontally layerwise, i.e. all code to do with ARP is in one package
> (serializing/deserializing, state machine/side effects), same for ipv4,
> ipv6, etc
> * vertically concernwise, i.e. all serializing/deserializing code is in the
> same place, all action-taking code (probably with some more sensible
> subdivision) is in the same place, etc
> * some other way I haven't thought of that makes way more sense (your
> proposal here!)
>
> A horizontal division is the only thing that really potentially gives any
> benefit for users that I can see - linking in only the layers we need makes
> for smaller binaries (at least until we have dead code elimination).  It
> also seems to have less potential for external API breakage causing other
> repositories to become unbuildable (thinking of the case where e.g. I want
> to support a new DHCP option, which might require me to both expose a new
> variant type for DHCP.Option.t and write some handling code in what's
> currently dhcpv4_client.ml); in a regime where the serializing/deserializing
> code and the actual implementations which receive and send data are in
> separate packages, they need separate, coordinated releases.  As a bonus, we
> already have module types in `mirage-types` for defining reasonable
> interfaces between these layers.

Horizontal seems the most useful, being able to make smaller images
that just support ipv6 (no ipv4, no arp) for example is useful, or
that only understand the lower layers for network layer applications
such as filters and switches.

Justin

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 06 10:20:05 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 06 May 2015 10:20:05 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpwQn-000626-9Q; Wed, 06 May 2015 10:19:57 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <crowcroft@gmail.com>) id 1YpwQl-00061x-EQ
	for MirageOS-devel@lists.xenproject.org; Wed, 06 May 2015 10:19:55 +0000
Received: from [85.158.139.211] by server-7.bemta-5.messagelabs.com id
	38/B7-03739-ACAE9455; Wed, 06 May 2015 10:19:54 +0000
X-Env-Sender: crowcroft@gmail.com
X-Msg-Ref: server-12.tower-206.messagelabs.com!1430907592!12929876!1
X-Originating-IP: [209.85.215.52]
X-SpamReason: No, hits=1.7 required=7.0 tests=BODY_RANDOM_LONG,
	HTML_20_30,HTML_MESSAGE,RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 32480 invoked from network); 6 May 2015 10:19:52 -0000
Received: from mail-la0-f52.google.com (HELO mail-la0-f52.google.com)
	(209.85.215.52)
	by server-12.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	6 May 2015 10:19:52 -0000
Received: by labbd9 with SMTP id bd9so3821749lab.2
	for <MirageOS-devel@lists.xenproject.org>;
	Wed, 06 May 2015 03:19:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=OjXC3ehIK6/F9YJAE0syECx8zFoxD+06chUP6qKAe0c=;
	b=mKwZwKVw8vQomcUWY/OiKOY8iKpbWkXQJcPGjrVfw8SIwGmi6CTlib22rZnrg3IVa2
	LPIzvcdsiF0znMIwgAExiw8YoGd4/hjTs6LUNUuz/gHDQj9uPgQqBYzP8tGiBrNMT7Ac
	SKFzdjNAPl3ZSYJtq7r9Wlh17IGyybjYEHlu0i1LbWGAEVz66b4g/ouU0CDXYklfhk+7
	Xf7WKTzAsVblpyM5GYsqNFrhIqRSl+pIqp4SmvH5fk6coBwKhnLxweIm9+g905+01gmS
	jI0cqdbtbs8l0KKyo8z7Oi1BgidMp0OjGAZod61eDtffCRRdxilapAUKztqSdx1d0H7b
	mkTQ==
MIME-Version: 1.0
X-Received: by 10.152.87.164 with SMTP id az4mr3532184lab.123.1430907592160;
	Wed, 06 May 2015 03:19:52 -0700 (PDT)
Received: by 10.25.14.201 with HTTP; Wed, 6 May 2015 03:19:52 -0700 (PDT)
Received: by 10.25.14.201 with HTTP; Wed, 6 May 2015 03:19:52 -0700 (PDT)
In-Reply-To: <CAN2Hq04=cKC_zMrdoKn+Hq13fe3wqeE5gi2z-Bp2Ye6DoUi8zA@mail.gmail.com>
References: <CAN2Hq04=cKC_zMrdoKn+Hq13fe3wqeE5gi2z-Bp2Ye6DoUi8zA@mail.gmail.com>
Date: Wed, 6 May 2015 11:19:52 +0100
X-Google-Sender-Auth: XAri4q8YvgHxvUVa4jX4EqQ0xig
Message-ID: <CAEeTejK62gmGPqXAuFwaJUXeUCS99vNSwR8LMasGjeAN0e-YbQ@mail.gmail.com>
From: Jon Crowcroft <jon.crowcroft@cl.cam.ac.uk>
To: Richard Mortier <richard.mortier@cl.cam.ac.uk>
Cc: David Scott <Dave.Scott@citrix.com>,
	Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <MirageOS-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Notes on testing
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============7474733619069121961=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============7474733619069121961==
Content-Type: multipart/alternative; boundary=001a11c354c2bcbc3305156722d1

--001a11c354c2bcbc3305156722d1
Content-Type: text/plain; charset=UTF-8

Worth re-reading peter Sewell's SIGCOMM paper on TCP?
On 6 May 2015 01:32, "Richard Mortier" <richard.mortier@cl.cam.ac.uk> wrote:

> A little late, but finally got round to writing up some notes on the
> conversation a couple of weeks ago on how we might approach testing in
> Mirage.
>
> """
> # Notes
>
> + Testing is used for a variety of purposes. Of note for us are:
> reproduction of reported issues; regression testing of previously
> fixed issues; unit testing within a component; and continuous
> integration testing of an entire component
>
> + Perhaps the key problem at this stage is that the stack does not appear
> to
> have an explicit design guideline: it is unclear whether it is intended to
> be
> copying/non-copying; to accept and provide aligned/unaligned buffers
> to/from
> applications; to be blocking/non-blocking; or buffer ownership policy.
>
>   + Confusion was expressed over whether `NetIf.write` is intended to
> assemble a list of buffer fragments or transmit a list of complete
> packet buffers. Magnus confirms: `NetIf.writev` assembles a list of
> buffer fragments to a new buffer, `NetIf.write` just writes a buffer.
> I think `Netif` is the module that is currently responsible for
> assembling in `writev`, as the list of buffers seems to be just passed
> on to `Netif` in the other modules.
>
> + There is evidence that at least some parts of the stack currently
> require blocking behaviour, eg., `tcpip` deadlocks if blocking is not
> introduced -- from Magnus: "mirage-tcpip requires that Netif calls the
> listener callback with Lwt.async/ignore_result, as tcpip blocks in
> some of the listener threads while it is waiting for more data (e.g.
> for an mvar to be updated)". `NetIf` and `Io-page.1.3.0` recently
> changed API to always copy data.
>
> + Longer term there is a perceived need to start splitting protocol
> libraries to provide separate front- and back-end implementations
> following the practice in `vchan`. Separation of `tcpip` into several
> submodules that permit independent testing (`SlidingWindow`, etc) was
> also recommended.
>
> + Inter-layer testing is a pain on Travis but may be ultimately
> supported using `VNetIf` and a front/backend separation. Also required
> for regular performance testing so we can build `is-mirage-fast`.
>
>   + From Magnus: "mirage-vnetif has now been released in opam and
> tests for connect and iperf in travis have been added to tcpip:
>
> https://github.com/mirage/mirage-tcpip/tree/master/lib_test
>
> I've also added a backend to test trailing bytes. The tests can be run
> in alcotest verbose mode to see the measured speed."
>
> + Similarly, it was also suggested that a non-blocking API is
> ultimately preferable as it provides more explicit control over queues
> and pushback throughout stack, vs the current practice where listen
> threads accumulate data and eventually return.
>
> # Actions
>
> [djs]: Tell us where to look in the mirage-xen front/backend code, and
> to write down what actually happens there. Find out about XenRT
> graphs.
>
> [magnus]: Document `NetIf`. Send link to blog post network setup; verify
> iperf
> over `VNetIf` works. Send pointers to tests for NSDI/Jitsu.
>
>   + "I've added documentation and examples for the mirage-vnetif
> network setup in the README:
> https://github.com/MagnusS/mirage-vnetif/blob/master/README.md Tests
> for jitsu/synjitsu are under development ... but not quite there yet
> :-) We are tracking progress here:
> https://github.com/mirage/jitsu/issues/11"
>
> [mort]: Document that `mirage-net-pcap` should be used to gather
> `.pcap` files for a bug report. File issue on `ocaml-vchan` for
> @samoht to use alcotest. File issue for `TROVE` to indicate tests and
> passes, Travis status, and maintainer.
>
> [masoud]: Setup to run perf tests daily and automatically report findings.
>
> [thomas]: Create `ocaml-test-skeleton` basing off "best practice" in
> vchan/ alcotest/ocaml-irmin.
>
> [mindy]: Build a simple example of testing for a single-layer of the
> stack (ARP) using Irmin.
> """
>
> --
> Richard Mortier
> richard.mortier@cl.cam.ac.uk
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>

--001a11c354c2bcbc3305156722d1
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">Worth re-reading peter Sewell&#39;s SIGCOMM paper on TCP?</p=
>
<div class=3D"gmail_quote">On 6 May 2015 01:32, &quot;Richard Mortier&quot;=
 &lt;<a href=3D"mailto:richard.mortier@cl.cam.ac.uk">richard.mortier@cl.cam=
.ac.uk</a>&gt; wrote:<br type=3D"attribution"><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex=
">A little late, but finally got round to writing up some notes on the<br>
conversation a couple of weeks ago on how we might approach testing in<br>
Mirage.<br>
<br>
&quot;&quot;&quot;<br>
# Notes<br>
<br>
+ Testing is used for a variety of purposes. Of note for us are:<br>
reproduction of reported issues; regression testing of previously<br>
fixed issues; unit testing within a component; and continuous<br>
integration testing of an entire component<br>
<br>
+ Perhaps the key problem at this stage is that the stack does not appear t=
o<br>
have an explicit design guideline: it is unclear whether it is intended to =
be<br>
copying/non-copying; to accept and provide aligned/unaligned buffers to/fro=
m<br>
applications; to be blocking/non-blocking; or buffer ownership policy.<br>
<br>
=C2=A0 + Confusion was expressed over whether `NetIf.write` is intended to<=
br>
assemble a list of buffer fragments or transmit a list of complete<br>
packet buffers. Magnus confirms: `NetIf.writev` assembles a list of<br>
buffer fragments to a new buffer, `NetIf.write` just writes a buffer.<br>
I think `Netif` is the module that is currently responsible for<br>
assembling in `writev`, as the list of buffers seems to be just passed<br>
on to `Netif` in the other modules.<br>
<br>
+ There is evidence that at least some parts of the stack currently<br>
require blocking behaviour, eg., `tcpip` deadlocks if blocking is not<br>
introduced -- from Magnus: &quot;mirage-tcpip requires that Netif calls the=
<br>
listener callback with Lwt.async/ignore_result, as tcpip blocks in<br>
some of the listener threads while it is waiting for more data (e.g.<br>
for an mvar to be updated)&quot;. `NetIf` and `Io-page.1.3.0` recently<br>
changed API to always copy data.<br>
<br>
+ Longer term there is a perceived need to start splitting protocol<br>
libraries to provide separate front- and back-end implementations<br>
following the practice in `vchan`. Separation of `tcpip` into several<br>
submodules that permit independent testing (`SlidingWindow`, etc) was<br>
also recommended.<br>
<br>
+ Inter-layer testing is a pain on Travis but may be ultimately<br>
supported using `VNetIf` and a front/backend separation. Also required<br>
for regular performance testing so we can build `is-mirage-fast`.<br>
<br>
=C2=A0 + From Magnus: &quot;mirage-vnetif has now been released in opam and=
<br>
tests for connect and iperf in travis have been added to tcpip:<br>
<br>
<a href=3D"https://github.com/mirage/mirage-tcpip/tree/master/lib_test" tar=
get=3D"_blank">https://github.com/mirage/mirage-tcpip/tree/master/lib_test<=
/a><br>
<br>
I&#39;ve also added a backend to test trailing bytes. The tests can be run<=
br>
in alcotest verbose mode to see the measured speed.&quot;<br>
<br>
+ Similarly, it was also suggested that a non-blocking API is<br>
ultimately preferable as it provides more explicit control over queues<br>
and pushback throughout stack, vs the current practice where listen<br>
threads accumulate data and eventually return.<br>
<br>
# Actions<br>
<br>
[djs]: Tell us where to look in the mirage-xen front/backend code, and<br>
to write down what actually happens there. Find out about XenRT<br>
graphs.<br>
<br>
[magnus]: Document `NetIf`. Send link to blog post network setup; verify ip=
erf<br>
over `VNetIf` works. Send pointers to tests for NSDI/Jitsu.<br>
<br>
=C2=A0 + &quot;I&#39;ve added documentation and examples for the mirage-vne=
tif<br>
network setup in the README:<br>
<a href=3D"https://github.com/MagnusS/mirage-vnetif/blob/master/README.md" =
target=3D"_blank">https://github.com/MagnusS/mirage-vnetif/blob/master/READ=
ME.md</a> Tests<br>
for jitsu/synjitsu are under development ... but not quite there yet<br>
:-) We are tracking progress here:<br>
<a href=3D"https://github.com/mirage/jitsu/issues/11" target=3D"_blank">htt=
ps://github.com/mirage/jitsu/issues/11</a>&quot;<br>
<br>
[mort]: Document that `mirage-net-pcap` should be used to gather<br>
`.pcap` files for a bug report. File issue on `ocaml-vchan` for<br>
@samoht to use alcotest. File issue for `TROVE` to indicate tests and<br>
passes, Travis status, and maintainer.<br>
<br>
[masoud]: Setup to run perf tests daily and automatically report findings.<=
br>
<br>
[thomas]: Create `ocaml-test-skeleton` basing off &quot;best practice&quot;=
 in<br>
vchan/ alcotest/ocaml-irmin.<br>
<br>
[mindy]: Build a simple example of testing for a single-layer of the<br>
stack (ARP) using Irmin.<br>
&quot;&quot;&quot;<br>
<br>
--<br>
Richard Mortier<br>
<a href=3D"mailto:richard.mortier@cl.cam.ac.uk">richard.mortier@cl.cam.ac.u=
k</a><br>
<br>
_______________________________________________<br>
MirageOS-devel mailing list<br>
<a href=3D"mailto:MirageOS-devel@lists.xenproject.org">MirageOS-devel@lists=
.xenproject.org</a><br>
<a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-de=
vel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/listinfo=
/mirageos-devel</a><br>
</blockquote></div>

--001a11c354c2bcbc3305156722d1--


--===============7474733619069121961==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============7474733619069121961==--


From mirageos-devel-bounces@lists.xenproject.org Wed May 06 10:20:05 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 06 May 2015 10:20:05 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpwQn-000626-9Q; Wed, 06 May 2015 10:19:57 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <crowcroft@gmail.com>) id 1YpwQl-00061x-EQ
	for MirageOS-devel@lists.xenproject.org; Wed, 06 May 2015 10:19:55 +0000
Received: from [85.158.139.211] by server-7.bemta-5.messagelabs.com id
	38/B7-03739-ACAE9455; Wed, 06 May 2015 10:19:54 +0000
X-Env-Sender: crowcroft@gmail.com
X-Msg-Ref: server-12.tower-206.messagelabs.com!1430907592!12929876!1
X-Originating-IP: [209.85.215.52]
X-SpamReason: No, hits=1.7 required=7.0 tests=BODY_RANDOM_LONG,
	HTML_20_30,HTML_MESSAGE,RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 32480 invoked from network); 6 May 2015 10:19:52 -0000
Received: from mail-la0-f52.google.com (HELO mail-la0-f52.google.com)
	(209.85.215.52)
	by server-12.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	6 May 2015 10:19:52 -0000
Received: by labbd9 with SMTP id bd9so3821749lab.2
	for <MirageOS-devel@lists.xenproject.org>;
	Wed, 06 May 2015 03:19:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=OjXC3ehIK6/F9YJAE0syECx8zFoxD+06chUP6qKAe0c=;
	b=mKwZwKVw8vQomcUWY/OiKOY8iKpbWkXQJcPGjrVfw8SIwGmi6CTlib22rZnrg3IVa2
	LPIzvcdsiF0znMIwgAExiw8YoGd4/hjTs6LUNUuz/gHDQj9uPgQqBYzP8tGiBrNMT7Ac
	SKFzdjNAPl3ZSYJtq7r9Wlh17IGyybjYEHlu0i1LbWGAEVz66b4g/ouU0CDXYklfhk+7
	Xf7WKTzAsVblpyM5GYsqNFrhIqRSl+pIqp4SmvH5fk6coBwKhnLxweIm9+g905+01gmS
	jI0cqdbtbs8l0KKyo8z7Oi1BgidMp0OjGAZod61eDtffCRRdxilapAUKztqSdx1d0H7b
	mkTQ==
MIME-Version: 1.0
X-Received: by 10.152.87.164 with SMTP id az4mr3532184lab.123.1430907592160;
	Wed, 06 May 2015 03:19:52 -0700 (PDT)
Received: by 10.25.14.201 with HTTP; Wed, 6 May 2015 03:19:52 -0700 (PDT)
Received: by 10.25.14.201 with HTTP; Wed, 6 May 2015 03:19:52 -0700 (PDT)
In-Reply-To: <CAN2Hq04=cKC_zMrdoKn+Hq13fe3wqeE5gi2z-Bp2Ye6DoUi8zA@mail.gmail.com>
References: <CAN2Hq04=cKC_zMrdoKn+Hq13fe3wqeE5gi2z-Bp2Ye6DoUi8zA@mail.gmail.com>
Date: Wed, 6 May 2015 11:19:52 +0100
X-Google-Sender-Auth: XAri4q8YvgHxvUVa4jX4EqQ0xig
Message-ID: <CAEeTejK62gmGPqXAuFwaJUXeUCS99vNSwR8LMasGjeAN0e-YbQ@mail.gmail.com>
From: Jon Crowcroft <jon.crowcroft@cl.cam.ac.uk>
To: Richard Mortier <richard.mortier@cl.cam.ac.uk>
Cc: David Scott <Dave.Scott@citrix.com>,
	Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <MirageOS-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Notes on testing
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============7474733619069121961=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============7474733619069121961==
Content-Type: multipart/alternative; boundary=001a11c354c2bcbc3305156722d1

--001a11c354c2bcbc3305156722d1
Content-Type: text/plain; charset=UTF-8

Worth re-reading peter Sewell's SIGCOMM paper on TCP?
On 6 May 2015 01:32, "Richard Mortier" <richard.mortier@cl.cam.ac.uk> wrote:

> A little late, but finally got round to writing up some notes on the
> conversation a couple of weeks ago on how we might approach testing in
> Mirage.
>
> """
> # Notes
>
> + Testing is used for a variety of purposes. Of note for us are:
> reproduction of reported issues; regression testing of previously
> fixed issues; unit testing within a component; and continuous
> integration testing of an entire component
>
> + Perhaps the key problem at this stage is that the stack does not appear
> to
> have an explicit design guideline: it is unclear whether it is intended to
> be
> copying/non-copying; to accept and provide aligned/unaligned buffers
> to/from
> applications; to be blocking/non-blocking; or buffer ownership policy.
>
>   + Confusion was expressed over whether `NetIf.write` is intended to
> assemble a list of buffer fragments or transmit a list of complete
> packet buffers. Magnus confirms: `NetIf.writev` assembles a list of
> buffer fragments to a new buffer, `NetIf.write` just writes a buffer.
> I think `Netif` is the module that is currently responsible for
> assembling in `writev`, as the list of buffers seems to be just passed
> on to `Netif` in the other modules.
>
> + There is evidence that at least some parts of the stack currently
> require blocking behaviour, eg., `tcpip` deadlocks if blocking is not
> introduced -- from Magnus: "mirage-tcpip requires that Netif calls the
> listener callback with Lwt.async/ignore_result, as tcpip blocks in
> some of the listener threads while it is waiting for more data (e.g.
> for an mvar to be updated)". `NetIf` and `Io-page.1.3.0` recently
> changed API to always copy data.
>
> + Longer term there is a perceived need to start splitting protocol
> libraries to provide separate front- and back-end implementations
> following the practice in `vchan`. Separation of `tcpip` into several
> submodules that permit independent testing (`SlidingWindow`, etc) was
> also recommended.
>
> + Inter-layer testing is a pain on Travis but may be ultimately
> supported using `VNetIf` and a front/backend separation. Also required
> for regular performance testing so we can build `is-mirage-fast`.
>
>   + From Magnus: "mirage-vnetif has now been released in opam and
> tests for connect and iperf in travis have been added to tcpip:
>
> https://github.com/mirage/mirage-tcpip/tree/master/lib_test
>
> I've also added a backend to test trailing bytes. The tests can be run
> in alcotest verbose mode to see the measured speed."
>
> + Similarly, it was also suggested that a non-blocking API is
> ultimately preferable as it provides more explicit control over queues
> and pushback throughout stack, vs the current practice where listen
> threads accumulate data and eventually return.
>
> # Actions
>
> [djs]: Tell us where to look in the mirage-xen front/backend code, and
> to write down what actually happens there. Find out about XenRT
> graphs.
>
> [magnus]: Document `NetIf`. Send link to blog post network setup; verify
> iperf
> over `VNetIf` works. Send pointers to tests for NSDI/Jitsu.
>
>   + "I've added documentation and examples for the mirage-vnetif
> network setup in the README:
> https://github.com/MagnusS/mirage-vnetif/blob/master/README.md Tests
> for jitsu/synjitsu are under development ... but not quite there yet
> :-) We are tracking progress here:
> https://github.com/mirage/jitsu/issues/11"
>
> [mort]: Document that `mirage-net-pcap` should be used to gather
> `.pcap` files for a bug report. File issue on `ocaml-vchan` for
> @samoht to use alcotest. File issue for `TROVE` to indicate tests and
> passes, Travis status, and maintainer.
>
> [masoud]: Setup to run perf tests daily and automatically report findings.
>
> [thomas]: Create `ocaml-test-skeleton` basing off "best practice" in
> vchan/ alcotest/ocaml-irmin.
>
> [mindy]: Build a simple example of testing for a single-layer of the
> stack (ARP) using Irmin.
> """
>
> --
> Richard Mortier
> richard.mortier@cl.cam.ac.uk
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>

--001a11c354c2bcbc3305156722d1
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">Worth re-reading peter Sewell&#39;s SIGCOMM paper on TCP?</p=
>
<div class=3D"gmail_quote">On 6 May 2015 01:32, &quot;Richard Mortier&quot;=
 &lt;<a href=3D"mailto:richard.mortier@cl.cam.ac.uk">richard.mortier@cl.cam=
.ac.uk</a>&gt; wrote:<br type=3D"attribution"><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex=
">A little late, but finally got round to writing up some notes on the<br>
conversation a couple of weeks ago on how we might approach testing in<br>
Mirage.<br>
<br>
&quot;&quot;&quot;<br>
# Notes<br>
<br>
+ Testing is used for a variety of purposes. Of note for us are:<br>
reproduction of reported issues; regression testing of previously<br>
fixed issues; unit testing within a component; and continuous<br>
integration testing of an entire component<br>
<br>
+ Perhaps the key problem at this stage is that the stack does not appear t=
o<br>
have an explicit design guideline: it is unclear whether it is intended to =
be<br>
copying/non-copying; to accept and provide aligned/unaligned buffers to/fro=
m<br>
applications; to be blocking/non-blocking; or buffer ownership policy.<br>
<br>
=C2=A0 + Confusion was expressed over whether `NetIf.write` is intended to<=
br>
assemble a list of buffer fragments or transmit a list of complete<br>
packet buffers. Magnus confirms: `NetIf.writev` assembles a list of<br>
buffer fragments to a new buffer, `NetIf.write` just writes a buffer.<br>
I think `Netif` is the module that is currently responsible for<br>
assembling in `writev`, as the list of buffers seems to be just passed<br>
on to `Netif` in the other modules.<br>
<br>
+ There is evidence that at least some parts of the stack currently<br>
require blocking behaviour, eg., `tcpip` deadlocks if blocking is not<br>
introduced -- from Magnus: &quot;mirage-tcpip requires that Netif calls the=
<br>
listener callback with Lwt.async/ignore_result, as tcpip blocks in<br>
some of the listener threads while it is waiting for more data (e.g.<br>
for an mvar to be updated)&quot;. `NetIf` and `Io-page.1.3.0` recently<br>
changed API to always copy data.<br>
<br>
+ Longer term there is a perceived need to start splitting protocol<br>
libraries to provide separate front- and back-end implementations<br>
following the practice in `vchan`. Separation of `tcpip` into several<br>
submodules that permit independent testing (`SlidingWindow`, etc) was<br>
also recommended.<br>
<br>
+ Inter-layer testing is a pain on Travis but may be ultimately<br>
supported using `VNetIf` and a front/backend separation. Also required<br>
for regular performance testing so we can build `is-mirage-fast`.<br>
<br>
=C2=A0 + From Magnus: &quot;mirage-vnetif has now been released in opam and=
<br>
tests for connect and iperf in travis have been added to tcpip:<br>
<br>
<a href=3D"https://github.com/mirage/mirage-tcpip/tree/master/lib_test" tar=
get=3D"_blank">https://github.com/mirage/mirage-tcpip/tree/master/lib_test<=
/a><br>
<br>
I&#39;ve also added a backend to test trailing bytes. The tests can be run<=
br>
in alcotest verbose mode to see the measured speed.&quot;<br>
<br>
+ Similarly, it was also suggested that a non-blocking API is<br>
ultimately preferable as it provides more explicit control over queues<br>
and pushback throughout stack, vs the current practice where listen<br>
threads accumulate data and eventually return.<br>
<br>
# Actions<br>
<br>
[djs]: Tell us where to look in the mirage-xen front/backend code, and<br>
to write down what actually happens there. Find out about XenRT<br>
graphs.<br>
<br>
[magnus]: Document `NetIf`. Send link to blog post network setup; verify ip=
erf<br>
over `VNetIf` works. Send pointers to tests for NSDI/Jitsu.<br>
<br>
=C2=A0 + &quot;I&#39;ve added documentation and examples for the mirage-vne=
tif<br>
network setup in the README:<br>
<a href=3D"https://github.com/MagnusS/mirage-vnetif/blob/master/README.md" =
target=3D"_blank">https://github.com/MagnusS/mirage-vnetif/blob/master/READ=
ME.md</a> Tests<br>
for jitsu/synjitsu are under development ... but not quite there yet<br>
:-) We are tracking progress here:<br>
<a href=3D"https://github.com/mirage/jitsu/issues/11" target=3D"_blank">htt=
ps://github.com/mirage/jitsu/issues/11</a>&quot;<br>
<br>
[mort]: Document that `mirage-net-pcap` should be used to gather<br>
`.pcap` files for a bug report. File issue on `ocaml-vchan` for<br>
@samoht to use alcotest. File issue for `TROVE` to indicate tests and<br>
passes, Travis status, and maintainer.<br>
<br>
[masoud]: Setup to run perf tests daily and automatically report findings.<=
br>
<br>
[thomas]: Create `ocaml-test-skeleton` basing off &quot;best practice&quot;=
 in<br>
vchan/ alcotest/ocaml-irmin.<br>
<br>
[mindy]: Build a simple example of testing for a single-layer of the<br>
stack (ARP) using Irmin.<br>
&quot;&quot;&quot;<br>
<br>
--<br>
Richard Mortier<br>
<a href=3D"mailto:richard.mortier@cl.cam.ac.uk">richard.mortier@cl.cam.ac.u=
k</a><br>
<br>
_______________________________________________<br>
MirageOS-devel mailing list<br>
<a href=3D"mailto:MirageOS-devel@lists.xenproject.org">MirageOS-devel@lists=
.xenproject.org</a><br>
<a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-de=
vel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/listinfo=
/mirageos-devel</a><br>
</blockquote></div>

--001a11c354c2bcbc3305156722d1--


--===============7474733619069121961==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============7474733619069121961==--


From mirageos-devel-bounces@lists.xenproject.org Wed May 06 12:58:50 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 06 May 2015 12:58:50 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpyuS-0004el-2o; Wed, 06 May 2015 12:58:44 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1YpyuQ-0004d3-3l
	for mirageos-devel@lists.xenproject.org; Wed, 06 May 2015 12:58:42 +0000
Received: from [85.158.137.68] by server-5.bemta-3.messagelabs.com id
	F1/9D-03275-1001A455; Wed, 06 May 2015 12:58:41 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-11.tower-31.messagelabs.com!1430917119!12855994!1
X-Originating-IP: [209.85.212.179]
X-SpamReason: No, hits=1.4 required=7.0 tests=BODY_RANDOM_LONG,
	HTML_20_30,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 7905 invoked from network); 6 May 2015 12:58:40 -0000
Received: from mail-wi0-f179.google.com (HELO mail-wi0-f179.google.com)
	(209.85.212.179)
	by server-11.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	6 May 2015 12:58:40 -0000
Received: by widdi4 with SMTP id di4so21342010wid.0
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 06 May 2015 05:58:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:message-id:references:to;
	bh=7Aaw5fMNuowcu1ZbelfXVc07hfbv86jKU9j/D9z8Mlc=;
	b=zgOtDLIWrtSKZrA/La/GHxUlaV3A9+r17UcWle0U2AK3DC4LjOhsC/LpFE6DhOa2Lx
	6SAfYSnGyN4ZCHrt1rnPMF7PZmbMPr75ZCj4zNlVM5TmONEyPpgFiUzjLkwU7CFRq74S
	H8hgXlanVz1Y6/fH/jq9Zx/fAto/Kr7XGH0mqQ5oIZ5tfjh8RWza8nnj6n0WXY0NpZjq
	YZnc6xuY2or7uv/ZroJ8FrogGXRANdQ1iuFh4gvQGHYTCbRMUEFxxEg4ojp0rWC+/eEL
	HvXC8ZdUMhcOTHXVx4tJ1TwQk3CZ5WKAYOIJEj0jAFbFjPAjtT8KyZERkxpjj5gp4tId
	VGgw==
X-Received: by 10.195.18.103 with SMTP id gl7mr60033866wjd.34.1430917119612;
	Wed, 06 May 2015 05:58:39 -0700 (PDT)
Received: from piana.mac.cl.cam.ac.uk (piana.mac.cl.cam.ac.uk. [128.232.56.38])
	by mx.google.com with ESMTPSA id z13sm2653488wjr.44.2015.05.06.05.58.38
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Wed, 06 May 2015 05:58:38 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <5549E190.7080505@somerandomidiot.com>
Date: Wed, 6 May 2015 13:58:37 +0100
Message-Id: <A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
References: <5549E190.7080505@somerandomidiot.com>
To: Mindy <mindy@somerandomidiot.com>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] test, quality, tcpip
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0587215353941567650=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============0587215353941567650==
Content-Type: multipart/alternative; boundary="Apple-Mail=_F63C62F9-788F-4C93-8856-1E819F627D5C"


--Apple-Mail=_F63C62F9-788F-4C93-8856-1E819F627D5C
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Thanks for your email Mindy!

> We should also 1) figure out which of the error exposing/handling =
proposals won and 2) start using whichever one it is.

I had a first experimentation[1] with the new error handling based on =
Rresult[2]. The branch needs to be rebased and need more feedback, but I =
think that's the direction in which we should go.

[1] https://github.com/dbuenzli/rresult =
<https://github.com/dbuenzli/rresult>
[2] https://github.com/mirage/mirage/pull/383 =
<https://github.com/mirage/mirage/pull/383>

An other point which is cruelly missing is a proper logging system - =
which is central when debugging runtime errors.

> Most of the above is focused on splitting up the code in `tcpip`; =
there are probably other ways to do it, and likely some of them make =
more sense than what I'm proposing.  It seems to me that there are (at =
least) two reasonable ways to split up some of the code in `tcpip`:=20
> * horizontally layerwise, i.e. all code to do with ARP is in one =
package (serializing/deserializing, state machine/side effects), same =
for ipv4, ipv6, etc=20
> * vertically concernwise, i.e. all serializing/deserializing code is =
in the same place, all action-taking code (probably with some more =
sensible subdivision) is in the same place, etc=20
> * some other way I haven't thought of that makes way more sense (your =
proposal here!)=20
>=20
> A horizontal division is the only thing that really potentially gives =
any benefit for users that I can see - linking in only the layers we =
need makes for smaller binaries (at least until we have dead code =
elimination).  It also seems to have less potential for external API =
breakage causing other repositories to become unbuildable (thinking of =
the case where e.g. I want to support a new DHCP option, which might =
require me to both expose a new variant type for DHCP.Option.t and write =
some handling code in what's currently dhcpv4_client.ml); in a regime =
where the serializing/deserializing code and the actual implementations =
which receive and send data are in separate packages, they need =
separate, coordinated releases.  As a bonus, we already have module =
types in `mirage-types` for defining reasonable interfaces between these =
layers.=20

I think both splits make sense:

- you want an horizontal split for opam packages, as you want to be able =
to select which part of the network layer you want to assemble in your =
final application, and do not worry about installing the rest of the =
stack

- you want a vertical split in each packages (separate libraries for =
instance) to separate the IO code (serialization/deserialization) from =
the "pure" state-machine logic. The TLS code is a good example of that.

To go in that direction, I really would like to split the channel =
library from tcpip, so I'll probably do that today :-)

Best,
Thomas


--Apple-Mail=_F63C62F9-788F-4C93-8856-1E819F627D5C
Content-Transfer-Encoding: 7bit
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div>Thanks for your email Mindy!</div><div><br class=""><blockquote type="cite" class=""><div class=""><div text="#000000" bgcolor="#FFFFFF" class="">We should also 1) figure out which of the error exposing/handling
    proposals won and 2) start using whichever one it is.<br class=""></div></div></blockquote><div><br class=""></div>I had a first experimentation[1] with the new error handling based on Rresult[2]. The branch needs to be rebased and need more feedback, but I think that's the direction in which we should go.</div><div><br class=""></div><div>[1]&nbsp;<a href="https://github.com/dbuenzli/rresult" class="">https://github.com/dbuenzli/rresult</a></div><div>[2]&nbsp;<a href="https://github.com/mirage/mirage/pull/383" class="">https://github.com/mirage/mirage/pull/383</a></div><div><br class=""></div><div>An other point which is cruelly missing is a proper logging system - which is central when debugging runtime errors.</div><div><br class=""><blockquote type="cite" class=""><div class=""><div text="#000000" bgcolor="#FFFFFF" class="">Most of the above is focused on splitting up the code in `tcpip`;
    there are probably other ways to do it, and likely some of them make
    more sense than what I'm proposing.&nbsp; It seems to me that there are
    (at least) two reasonable ways to split up some of the code in
    `tcpip`:
    <br class="">
    * horizontally layerwise, i.e. all code to do with ARP is in one
    package (serializing/deserializing, state machine/side effects),
    same for ipv4, ipv6, etc
    <br class="">
    * vertically concernwise, i.e. all serializing/deserializing code is
    in the same place, all action-taking code (probably with some more
    sensible subdivision) is in the same place, etc
    <br class="">
    * some other way I haven't thought of that makes way more sense
    (your proposal here!)
    <br class="">
    <br class="">
    A horizontal division is the only thing that really potentially
    gives any benefit for users that I can see - linking in only the
    layers we need makes for smaller binaries (at least until we have
    dead code elimination).&nbsp; It also seems to have less potential for
    external API breakage causing other repositories to become
    unbuildable (thinking of the case where e.g. I want to support a new
    DHCP option, which might require me to both expose a new variant
    type for DHCP.Option.t and write some handling code in what's
    currently dhcpv4_client.ml); in a regime where the
    serializing/deserializing code and the actual implementations which
    receive and send data are in separate packages, they need separate,
    coordinated releases.&nbsp; As a bonus, we already have module types in
    `mirage-types` for defining reasonable interfaces between these
    layers.
    <br class=""></div></div></blockquote><div><br class=""></div><div>I think both splits make sense:</div><div><br class=""></div><div>- you want an horizontal split for opam packages, as you want to be able to select which part of the network layer you want to assemble in your final application, and do not worry about installing the rest of the stack</div><div><br class=""></div><div>- you want a vertical split in each packages (separate libraries for instance) to separate the IO code (serialization/deserialization) from the "pure" state-machine logic. The TLS code is a good example of that.</div><div><br class=""></div><div>To go in that direction, I really would like to split the channel library from tcpip, so I'll probably do that today :-)</div><div><br class=""></div><div>Best,</div><div>Thomas</div></div><br class=""></body></html>
--Apple-Mail=_F63C62F9-788F-4C93-8856-1E819F627D5C--


--===============0587215353941567650==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============0587215353941567650==--


From mirageos-devel-bounces@lists.xenproject.org Wed May 06 12:58:50 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 06 May 2015 12:58:50 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YpyuS-0004el-2o; Wed, 06 May 2015 12:58:44 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1YpyuQ-0004d3-3l
	for mirageos-devel@lists.xenproject.org; Wed, 06 May 2015 12:58:42 +0000
Received: from [85.158.137.68] by server-5.bemta-3.messagelabs.com id
	F1/9D-03275-1001A455; Wed, 06 May 2015 12:58:41 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-11.tower-31.messagelabs.com!1430917119!12855994!1
X-Originating-IP: [209.85.212.179]
X-SpamReason: No, hits=1.4 required=7.0 tests=BODY_RANDOM_LONG,
	HTML_20_30,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 7905 invoked from network); 6 May 2015 12:58:40 -0000
Received: from mail-wi0-f179.google.com (HELO mail-wi0-f179.google.com)
	(209.85.212.179)
	by server-11.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	6 May 2015 12:58:40 -0000
Received: by widdi4 with SMTP id di4so21342010wid.0
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 06 May 2015 05:58:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:message-id:references:to;
	bh=7Aaw5fMNuowcu1ZbelfXVc07hfbv86jKU9j/D9z8Mlc=;
	b=zgOtDLIWrtSKZrA/La/GHxUlaV3A9+r17UcWle0U2AK3DC4LjOhsC/LpFE6DhOa2Lx
	6SAfYSnGyN4ZCHrt1rnPMF7PZmbMPr75ZCj4zNlVM5TmONEyPpgFiUzjLkwU7CFRq74S
	H8hgXlanVz1Y6/fH/jq9Zx/fAto/Kr7XGH0mqQ5oIZ5tfjh8RWza8nnj6n0WXY0NpZjq
	YZnc6xuY2or7uv/ZroJ8FrogGXRANdQ1iuFh4gvQGHYTCbRMUEFxxEg4ojp0rWC+/eEL
	HvXC8ZdUMhcOTHXVx4tJ1TwQk3CZ5WKAYOIJEj0jAFbFjPAjtT8KyZERkxpjj5gp4tId
	VGgw==
X-Received: by 10.195.18.103 with SMTP id gl7mr60033866wjd.34.1430917119612;
	Wed, 06 May 2015 05:58:39 -0700 (PDT)
Received: from piana.mac.cl.cam.ac.uk (piana.mac.cl.cam.ac.uk. [128.232.56.38])
	by mx.google.com with ESMTPSA id z13sm2653488wjr.44.2015.05.06.05.58.38
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Wed, 06 May 2015 05:58:38 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <5549E190.7080505@somerandomidiot.com>
Date: Wed, 6 May 2015 13:58:37 +0100
Message-Id: <A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
References: <5549E190.7080505@somerandomidiot.com>
To: Mindy <mindy@somerandomidiot.com>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] test, quality, tcpip
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0587215353941567650=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============0587215353941567650==
Content-Type: multipart/alternative; boundary="Apple-Mail=_F63C62F9-788F-4C93-8856-1E819F627D5C"


--Apple-Mail=_F63C62F9-788F-4C93-8856-1E819F627D5C
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Thanks for your email Mindy!

> We should also 1) figure out which of the error exposing/handling =
proposals won and 2) start using whichever one it is.

I had a first experimentation[1] with the new error handling based on =
Rresult[2]. The branch needs to be rebased and need more feedback, but I =
think that's the direction in which we should go.

[1] https://github.com/dbuenzli/rresult =
<https://github.com/dbuenzli/rresult>
[2] https://github.com/mirage/mirage/pull/383 =
<https://github.com/mirage/mirage/pull/383>

An other point which is cruelly missing is a proper logging system - =
which is central when debugging runtime errors.

> Most of the above is focused on splitting up the code in `tcpip`; =
there are probably other ways to do it, and likely some of them make =
more sense than what I'm proposing.  It seems to me that there are (at =
least) two reasonable ways to split up some of the code in `tcpip`:=20
> * horizontally layerwise, i.e. all code to do with ARP is in one =
package (serializing/deserializing, state machine/side effects), same =
for ipv4, ipv6, etc=20
> * vertically concernwise, i.e. all serializing/deserializing code is =
in the same place, all action-taking code (probably with some more =
sensible subdivision) is in the same place, etc=20
> * some other way I haven't thought of that makes way more sense (your =
proposal here!)=20
>=20
> A horizontal division is the only thing that really potentially gives =
any benefit for users that I can see - linking in only the layers we =
need makes for smaller binaries (at least until we have dead code =
elimination).  It also seems to have less potential for external API =
breakage causing other repositories to become unbuildable (thinking of =
the case where e.g. I want to support a new DHCP option, which might =
require me to both expose a new variant type for DHCP.Option.t and write =
some handling code in what's currently dhcpv4_client.ml); in a regime =
where the serializing/deserializing code and the actual implementations =
which receive and send data are in separate packages, they need =
separate, coordinated releases.  As a bonus, we already have module =
types in `mirage-types` for defining reasonable interfaces between these =
layers.=20

I think both splits make sense:

- you want an horizontal split for opam packages, as you want to be able =
to select which part of the network layer you want to assemble in your =
final application, and do not worry about installing the rest of the =
stack

- you want a vertical split in each packages (separate libraries for =
instance) to separate the IO code (serialization/deserialization) from =
the "pure" state-machine logic. The TLS code is a good example of that.

To go in that direction, I really would like to split the channel =
library from tcpip, so I'll probably do that today :-)

Best,
Thomas


--Apple-Mail=_F63C62F9-788F-4C93-8856-1E819F627D5C
Content-Transfer-Encoding: 7bit
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div>Thanks for your email Mindy!</div><div><br class=""><blockquote type="cite" class=""><div class=""><div text="#000000" bgcolor="#FFFFFF" class="">We should also 1) figure out which of the error exposing/handling
    proposals won and 2) start using whichever one it is.<br class=""></div></div></blockquote><div><br class=""></div>I had a first experimentation[1] with the new error handling based on Rresult[2]. The branch needs to be rebased and need more feedback, but I think that's the direction in which we should go.</div><div><br class=""></div><div>[1]&nbsp;<a href="https://github.com/dbuenzli/rresult" class="">https://github.com/dbuenzli/rresult</a></div><div>[2]&nbsp;<a href="https://github.com/mirage/mirage/pull/383" class="">https://github.com/mirage/mirage/pull/383</a></div><div><br class=""></div><div>An other point which is cruelly missing is a proper logging system - which is central when debugging runtime errors.</div><div><br class=""><blockquote type="cite" class=""><div class=""><div text="#000000" bgcolor="#FFFFFF" class="">Most of the above is focused on splitting up the code in `tcpip`;
    there are probably other ways to do it, and likely some of them make
    more sense than what I'm proposing.&nbsp; It seems to me that there are
    (at least) two reasonable ways to split up some of the code in
    `tcpip`:
    <br class="">
    * horizontally layerwise, i.e. all code to do with ARP is in one
    package (serializing/deserializing, state machine/side effects),
    same for ipv4, ipv6, etc
    <br class="">
    * vertically concernwise, i.e. all serializing/deserializing code is
    in the same place, all action-taking code (probably with some more
    sensible subdivision) is in the same place, etc
    <br class="">
    * some other way I haven't thought of that makes way more sense
    (your proposal here!)
    <br class="">
    <br class="">
    A horizontal division is the only thing that really potentially
    gives any benefit for users that I can see - linking in only the
    layers we need makes for smaller binaries (at least until we have
    dead code elimination).&nbsp; It also seems to have less potential for
    external API breakage causing other repositories to become
    unbuildable (thinking of the case where e.g. I want to support a new
    DHCP option, which might require me to both expose a new variant
    type for DHCP.Option.t and write some handling code in what's
    currently dhcpv4_client.ml); in a regime where the
    serializing/deserializing code and the actual implementations which
    receive and send data are in separate packages, they need separate,
    coordinated releases.&nbsp; As a bonus, we already have module types in
    `mirage-types` for defining reasonable interfaces between these
    layers.
    <br class=""></div></div></blockquote><div><br class=""></div><div>I think both splits make sense:</div><div><br class=""></div><div>- you want an horizontal split for opam packages, as you want to be able to select which part of the network layer you want to assemble in your final application, and do not worry about installing the rest of the stack</div><div><br class=""></div><div>- you want a vertical split in each packages (separate libraries for instance) to separate the IO code (serialization/deserialization) from the "pure" state-machine logic. The TLS code is a good example of that.</div><div><br class=""></div><div>To go in that direction, I really would like to split the channel library from tcpip, so I'll probably do that today :-)</div><div><br class=""></div><div>Best,</div><div>Thomas</div></div><br class=""></body></html>
--Apple-Mail=_F63C62F9-788F-4C93-8856-1E819F627D5C--


--===============0587215353941567650==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============0587215353941567650==--


From mirageos-devel-bounces@lists.xenproject.org Wed May 06 14:57:02 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 06 May 2015 14:57:02 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yq0ko-0007l9-UB; Wed, 06 May 2015 14:56:54 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amirmc@gmail.com>) id 1Yq0ko-0007kt-1m
	for mirageos-devel@lists.xenproject.org; Wed, 06 May 2015 14:56:54 +0000
Received: from [85.158.139.211] by server-2.bemta-5.messagelabs.com id
	36/D5-03031-5BB2A455; Wed, 06 May 2015 14:56:53 +0000
X-Env-Sender: amirmc@gmail.com
X-Msg-Ref: server-9.tower-206.messagelabs.com!1430924212!12991117!1
X-Originating-IP: [74.125.82.43]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 25366 invoked from network); 6 May 2015 14:56:52 -0000
Received: from mail-wg0-f43.google.com (HELO mail-wg0-f43.google.com)
	(74.125.82.43)
	by server-9.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	6 May 2015 14:56:52 -0000
Received: by wgiu9 with SMTP id u9so14586436wgi.3
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 06 May 2015 07:56:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=content-type:mime-version:subject:from:in-reply-to:date
	:content-transfer-encoding:message-id:references:to;
	bh=QtgHVSs4UmF20cmL36G8/G9UpDQI+gCBYYE+igi2Rdo=;
	b=FkOSqGnVFTVte8pSCpbJttg3jdLPB9L7Hw4R7iSwaIMIgVbwBXnqHhxP3SNulwqltZ
	5J0DRYbDo5fdavCGllkYq7bGBamIdBlFIfUozyWOdyw2Ly3X6ejJfucfBQGUMPx4CUga
	5ou2l9zuZ+2SVTJ454loWQqQ1ka9bA6XbF+fcE7AjglhDKoC/swf79DLi24VldBij82f
	jsq8oeq9n+JxrUPbQCSse+7qq+B73NGAq24/3088LaMrY4OdEnKCJ15scW8HKG7a+wRz
	MYG/A7HJrM6HMjoymLz84c/1uq0xB/rcreDN5dBfe7t5l+gdvEXXw+UDsDLVPvddisMp
	Jvfg==
X-Received: by 10.194.161.138 with SMTP id xs10mr63799843wjb.37.1430924211895; 
	Wed, 06 May 2015 07:56:51 -0700 (PDT)
Received: from [192.168.0.8] (cpc17-cmbg14-2-0-cust360.5-4.cable.virginm.net.
	[86.6.155.105])
	by mx.google.com with ESMTPSA id fa8sm2542682wib.14.2015.05.06.07.56.50
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Wed, 06 May 2015 07:56:50 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Amir Chaudhry <amirmc@gmail.com>
In-Reply-To: <A2D87369-D1A3-40FB-B972-8B815BA9EFB0@gmail.com>
Date: Wed, 6 May 2015 15:56:49 +0100
Message-Id: <08A99C8C-78FC-4FF3-BA82-F5977290F253@gmail.com>
References: <A2D87369-D1A3-40FB-B972-8B815BA9EFB0@gmail.com>
To: mirageos-devel@lists.xenproject.org
X-Mailer: Apple Mail (2.2098)
Subject: Re: [MirageOS-devel] Mirage fortnightly call - Wednesday 6th at 4pm
	BST
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGkgZm9sa3MsIHRoZSBIYW5nb3V0IFVSTCBpcyBodHRwczovL3BsdXMuZ29vZ2xlLmNvbS9oYW5n
b3V0cy9fL2dxN2UzNnN2eWgzb2t6bGJhbjNzNjVud255YQoKQUMKCj4gT24gNSBNYXkgMjAxNSwg
YXQgMTc6NDksIEFtaXIgQ2hhdWRocnkgPGFtaXJtY0BnbWFpbC5jb20+IHdyb3RlOgo+IAo+IEhp
IGZvbGtzLAo+IAo+IFRoZSBuZXh0IE1pcmFnZSBjYWxsIHdpbGwgdGFrZSBwbGFjZSBvbiBXZWRu
ZXNkYXkgYWZ0ZXJub29uIGF0IDRwbSBCU1QgYW5kIGlzIG9wZW4gdG8gYWxsLiAgV2UnbGwgYmUg
b24gR29vZ2xlIEhhbmdvdXQgdGhpcyB0aW1lIGFuZCBJ4oCZbGwgcG9zdCB0aGUgbGluayBzaG9y
dGx5IGJlZm9yZSB0aGUgY2FsbCAtLSBib3RoIGhlcmUgYW5kIGFsc28gaW4gdGhlIElSQyBjaGFu
bmVsICgjbWlyYWdlIG9uIGZyZWVub2RlKS4KPiAKPiBUaGUgYWdlbmRhIGZvciB0aGlzIHdlZWsg
aXMgY3VycmVudGx5IGFzIGZvbGxvd3MgKHN1YmplY3QgdG8gY2hhbmdlKToKPiAKPiDigKIgUXVh
bGl0eSBhbmQgVGVzdAo+IOKAoiBUTFMgc3VwcG9ydAo+IOKAoiBNaXJhZ2VPUyBRJkEgaGFuZ291
dD8KPiAKPiBJZiB5b3UgaGF2ZSB0aGluZ3MgdG8gYWRkL2VkaXQsIHBsZWFzZSBkbyBzbyBhdCBo
dHRwczovL2dpdGh1Yi5jb20vbWlyYWdlL21pcmFnZS13d3cvd2lraS9DYWxsLUFnZW5kYQo+IAo+
IEpvaW4gdXMgYXQgNHBtIEJTVCBvbiBXZWRuZXNkYXkhCj4gCj4gQmVzdCB3aXNoZXMsCj4gQW1p
cgoKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCk1pcmFn
ZU9TLWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9y
ZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21p
cmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Wed May 06 14:57:02 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 06 May 2015 14:57:02 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yq0ko-0007l9-UB; Wed, 06 May 2015 14:56:54 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amirmc@gmail.com>) id 1Yq0ko-0007kt-1m
	for mirageos-devel@lists.xenproject.org; Wed, 06 May 2015 14:56:54 +0000
Received: from [85.158.139.211] by server-2.bemta-5.messagelabs.com id
	36/D5-03031-5BB2A455; Wed, 06 May 2015 14:56:53 +0000
X-Env-Sender: amirmc@gmail.com
X-Msg-Ref: server-9.tower-206.messagelabs.com!1430924212!12991117!1
X-Originating-IP: [74.125.82.43]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 25366 invoked from network); 6 May 2015 14:56:52 -0000
Received: from mail-wg0-f43.google.com (HELO mail-wg0-f43.google.com)
	(74.125.82.43)
	by server-9.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	6 May 2015 14:56:52 -0000
Received: by wgiu9 with SMTP id u9so14586436wgi.3
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 06 May 2015 07:56:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=content-type:mime-version:subject:from:in-reply-to:date
	:content-transfer-encoding:message-id:references:to;
	bh=QtgHVSs4UmF20cmL36G8/G9UpDQI+gCBYYE+igi2Rdo=;
	b=FkOSqGnVFTVte8pSCpbJttg3jdLPB9L7Hw4R7iSwaIMIgVbwBXnqHhxP3SNulwqltZ
	5J0DRYbDo5fdavCGllkYq7bGBamIdBlFIfUozyWOdyw2Ly3X6ejJfucfBQGUMPx4CUga
	5ou2l9zuZ+2SVTJ454loWQqQ1ka9bA6XbF+fcE7AjglhDKoC/swf79DLi24VldBij82f
	jsq8oeq9n+JxrUPbQCSse+7qq+B73NGAq24/3088LaMrY4OdEnKCJ15scW8HKG7a+wRz
	MYG/A7HJrM6HMjoymLz84c/1uq0xB/rcreDN5dBfe7t5l+gdvEXXw+UDsDLVPvddisMp
	Jvfg==
X-Received: by 10.194.161.138 with SMTP id xs10mr63799843wjb.37.1430924211895; 
	Wed, 06 May 2015 07:56:51 -0700 (PDT)
Received: from [192.168.0.8] (cpc17-cmbg14-2-0-cust360.5-4.cable.virginm.net.
	[86.6.155.105])
	by mx.google.com with ESMTPSA id fa8sm2542682wib.14.2015.05.06.07.56.50
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Wed, 06 May 2015 07:56:50 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Amir Chaudhry <amirmc@gmail.com>
In-Reply-To: <A2D87369-D1A3-40FB-B972-8B815BA9EFB0@gmail.com>
Date: Wed, 6 May 2015 15:56:49 +0100
Message-Id: <08A99C8C-78FC-4FF3-BA82-F5977290F253@gmail.com>
References: <A2D87369-D1A3-40FB-B972-8B815BA9EFB0@gmail.com>
To: mirageos-devel@lists.xenproject.org
X-Mailer: Apple Mail (2.2098)
Subject: Re: [MirageOS-devel] Mirage fortnightly call - Wednesday 6th at 4pm
	BST
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGkgZm9sa3MsIHRoZSBIYW5nb3V0IFVSTCBpcyBodHRwczovL3BsdXMuZ29vZ2xlLmNvbS9oYW5n
b3V0cy9fL2dxN2UzNnN2eWgzb2t6bGJhbjNzNjVud255YQoKQUMKCj4gT24gNSBNYXkgMjAxNSwg
YXQgMTc6NDksIEFtaXIgQ2hhdWRocnkgPGFtaXJtY0BnbWFpbC5jb20+IHdyb3RlOgo+IAo+IEhp
IGZvbGtzLAo+IAo+IFRoZSBuZXh0IE1pcmFnZSBjYWxsIHdpbGwgdGFrZSBwbGFjZSBvbiBXZWRu
ZXNkYXkgYWZ0ZXJub29uIGF0IDRwbSBCU1QgYW5kIGlzIG9wZW4gdG8gYWxsLiAgV2UnbGwgYmUg
b24gR29vZ2xlIEhhbmdvdXQgdGhpcyB0aW1lIGFuZCBJ4oCZbGwgcG9zdCB0aGUgbGluayBzaG9y
dGx5IGJlZm9yZSB0aGUgY2FsbCAtLSBib3RoIGhlcmUgYW5kIGFsc28gaW4gdGhlIElSQyBjaGFu
bmVsICgjbWlyYWdlIG9uIGZyZWVub2RlKS4KPiAKPiBUaGUgYWdlbmRhIGZvciB0aGlzIHdlZWsg
aXMgY3VycmVudGx5IGFzIGZvbGxvd3MgKHN1YmplY3QgdG8gY2hhbmdlKToKPiAKPiDigKIgUXVh
bGl0eSBhbmQgVGVzdAo+IOKAoiBUTFMgc3VwcG9ydAo+IOKAoiBNaXJhZ2VPUyBRJkEgaGFuZ291
dD8KPiAKPiBJZiB5b3UgaGF2ZSB0aGluZ3MgdG8gYWRkL2VkaXQsIHBsZWFzZSBkbyBzbyBhdCBo
dHRwczovL2dpdGh1Yi5jb20vbWlyYWdlL21pcmFnZS13d3cvd2lraS9DYWxsLUFnZW5kYQo+IAo+
IEpvaW4gdXMgYXQgNHBtIEJTVCBvbiBXZWRuZXNkYXkhCj4gCj4gQmVzdCB3aXNoZXMsCj4gQW1p
cgoKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCk1pcmFn
ZU9TLWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9y
ZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21p
cmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Wed May 06 15:01:01 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 06 May 2015 15:01:01 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yq0on-0008QW-Qg; Wed, 06 May 2015 15:01:01 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <gareth@morethanseven.net>) id 1Yq0om-0008QB-PE
	for MirageOS-devel@lists.xenproject.org; Wed, 06 May 2015 15:01:00 +0000
Received: from [85.158.139.211] by server-7.bemta-5.messagelabs.com id
	F8/90-03739-BAC2A455; Wed, 06 May 2015 15:00:59 +0000
X-Env-Sender: gareth@morethanseven.net
X-Msg-Ref: server-15.tower-206.messagelabs.com!1430924458!9681166!1
X-Originating-IP: [74.125.82.54]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 22032 invoked from network); 6 May 2015 15:00:59 -0000
Received: from mail-wg0-f54.google.com (HELO mail-wg0-f54.google.com)
	(74.125.82.54)
	by server-15.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	6 May 2015 15:00:59 -0000
Received: by wgin8 with SMTP id n8so14793537wgi.0
	for <MirageOS-devel@lists.xenproject.org>;
	Wed, 06 May 2015 08:00:58 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:date:message-id:subject:from:to
	:content-type;
	bh=yQh9TYw5pDezp9Gl06Tb/ZtCOhGvIlnpV2GlKdU1ykU=;
	b=GPYfWabY+gbdgygTslVayU4eey3KcV/527qOprnvRXeZcsSnA8EjEFn6IMtGNdsGaL
	zHfNdAGqayHS9OQLKnbhitg2o0p4eyXBl/YH1pb78kPKQFOKSvIpFrOe8HJzyzudysSL
	zBq5MCnRRxgmropGd4p3Q1tz2aAX7Bt/iXD7m+PR7eZ+CiCVJO14BZaWlbD9nkM7xNHz
	QXHeC24SkkyBs6IhyVKe1T134vVYdgT9lLOcsLMe2KEfTksMzb66+5XKpZH7S/gfCOui
	ZNld5A29q51SA3ZN1GMXxZkjqp5SnaK41eTAM9MjsFDogjqDa6A+65NDHwqnwHQjm9lU
	s67g==
X-Gm-Message-State: ALoCoQnClucPMb8oI3H/N/ZbFqWCajKyBdVmERpr4baDpmsSsux6QORsrysOsVbdq7DfVDoLV+ee
MIME-Version: 1.0
X-Received: by 10.180.92.228 with SMTP id cp4mr14519382wib.62.1430924458688;
	Wed, 06 May 2015 08:00:58 -0700 (PDT)
Received: by 10.180.65.98 with HTTP; Wed, 6 May 2015 08:00:58 -0700 (PDT)
Date: Wed, 6 May 2015 16:00:58 +0100
Message-ID: <CAFi_6yJuHgvfh_t2MpTZftQ8WxLrBFHW0NLeZN+hFbhJVtP6iQ@mail.gmail.com>
From: Gareth Rushgrove <gareth@morethanseven.net>
To: mirageos-devel <MirageOS-devel@lists.xenproject.org>
Subject: [MirageOS-devel] MirageOS Puppet module
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

As mentioned a few days ago, I've just pushed an initial release of a
Puppet module to install OCaml, OPAM and Mirage.

https://github.com/garethr/garethr-mirageos
https://forge.puppetlabs.com/garethr/mirageos

This currently supports Ubuntu 12.04 and 14.04. If you have Puppet
installed then getting setup with Mirage is as simple as 'include
mirageos'. More details in the README for those interested.

Some folks might just be interested in the testing approach, as it's
applicable to any method of installation and could be extracted from
the module.

I've used Test Kitchen (http://kitchen.ci/) here, which supports
multiple backends. I didn't find a Xen backend, but the current
example uses the Vagrant backend, and I think you could use the
Vagrant Xen provider to get there. The tests themselves use both
ServerSpec (http://serverspec.org) and Bats
(https://github.com/sstephenson/bats).

The general approach is:

* Test Kitchen spin up virtual machines (one per supported OS)
* Install Puppet
* Use the module to install OCaml, OPAM, Mirage, etc.
* Run some tests verifying packages have been installed and mirage and
opam are working
(https://github.com/garethr/garethr-mirageos/blob/master/test/integration/default/serverspec/mirageos_spec.rb)
* Run some tests that configure and build a unix unikernel, run the
resulting binary and test that it works
(https://github.com/garethr/garethr-mirageos/blob/master/test/integration/default/bats/mirageos.bats)

(Only the install and run puppet steps are specific to Puppet. You
could use the same config to run a shell provisioner and test a shell
script if you wanted.)

I don't have Travis running the tests at the moment, but the easiest
way of doing that would be to use a different Test Kitchen backend
spinning up remote machines (I tend to use Digital Ocean as it's very
cost effective for short jobs).

I'll try and write a blog post about it when I get a moment but if
anyone has an questions, or wants a hand getting it up and running,
let me know.

Cheers

Gareth



-- 
Gareth Rushgrove
@garethr

devopsweekly.com
morethanseven.net
garethrushgrove.com

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 06 15:01:01 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 06 May 2015 15:01:01 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yq0on-0008QW-Qg; Wed, 06 May 2015 15:01:01 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <gareth@morethanseven.net>) id 1Yq0om-0008QB-PE
	for MirageOS-devel@lists.xenproject.org; Wed, 06 May 2015 15:01:00 +0000
Received: from [85.158.139.211] by server-7.bemta-5.messagelabs.com id
	F8/90-03739-BAC2A455; Wed, 06 May 2015 15:00:59 +0000
X-Env-Sender: gareth@morethanseven.net
X-Msg-Ref: server-15.tower-206.messagelabs.com!1430924458!9681166!1
X-Originating-IP: [74.125.82.54]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 22032 invoked from network); 6 May 2015 15:00:59 -0000
Received: from mail-wg0-f54.google.com (HELO mail-wg0-f54.google.com)
	(74.125.82.54)
	by server-15.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	6 May 2015 15:00:59 -0000
Received: by wgin8 with SMTP id n8so14793537wgi.0
	for <MirageOS-devel@lists.xenproject.org>;
	Wed, 06 May 2015 08:00:58 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:date:message-id:subject:from:to
	:content-type;
	bh=yQh9TYw5pDezp9Gl06Tb/ZtCOhGvIlnpV2GlKdU1ykU=;
	b=GPYfWabY+gbdgygTslVayU4eey3KcV/527qOprnvRXeZcsSnA8EjEFn6IMtGNdsGaL
	zHfNdAGqayHS9OQLKnbhitg2o0p4eyXBl/YH1pb78kPKQFOKSvIpFrOe8HJzyzudysSL
	zBq5MCnRRxgmropGd4p3Q1tz2aAX7Bt/iXD7m+PR7eZ+CiCVJO14BZaWlbD9nkM7xNHz
	QXHeC24SkkyBs6IhyVKe1T134vVYdgT9lLOcsLMe2KEfTksMzb66+5XKpZH7S/gfCOui
	ZNld5A29q51SA3ZN1GMXxZkjqp5SnaK41eTAM9MjsFDogjqDa6A+65NDHwqnwHQjm9lU
	s67g==
X-Gm-Message-State: ALoCoQnClucPMb8oI3H/N/ZbFqWCajKyBdVmERpr4baDpmsSsux6QORsrysOsVbdq7DfVDoLV+ee
MIME-Version: 1.0
X-Received: by 10.180.92.228 with SMTP id cp4mr14519382wib.62.1430924458688;
	Wed, 06 May 2015 08:00:58 -0700 (PDT)
Received: by 10.180.65.98 with HTTP; Wed, 6 May 2015 08:00:58 -0700 (PDT)
Date: Wed, 6 May 2015 16:00:58 +0100
Message-ID: <CAFi_6yJuHgvfh_t2MpTZftQ8WxLrBFHW0NLeZN+hFbhJVtP6iQ@mail.gmail.com>
From: Gareth Rushgrove <gareth@morethanseven.net>
To: mirageos-devel <MirageOS-devel@lists.xenproject.org>
Subject: [MirageOS-devel] MirageOS Puppet module
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

As mentioned a few days ago, I've just pushed an initial release of a
Puppet module to install OCaml, OPAM and Mirage.

https://github.com/garethr/garethr-mirageos
https://forge.puppetlabs.com/garethr/mirageos

This currently supports Ubuntu 12.04 and 14.04. If you have Puppet
installed then getting setup with Mirage is as simple as 'include
mirageos'. More details in the README for those interested.

Some folks might just be interested in the testing approach, as it's
applicable to any method of installation and could be extracted from
the module.

I've used Test Kitchen (http://kitchen.ci/) here, which supports
multiple backends. I didn't find a Xen backend, but the current
example uses the Vagrant backend, and I think you could use the
Vagrant Xen provider to get there. The tests themselves use both
ServerSpec (http://serverspec.org) and Bats
(https://github.com/sstephenson/bats).

The general approach is:

* Test Kitchen spin up virtual machines (one per supported OS)
* Install Puppet
* Use the module to install OCaml, OPAM, Mirage, etc.
* Run some tests verifying packages have been installed and mirage and
opam are working
(https://github.com/garethr/garethr-mirageos/blob/master/test/integration/default/serverspec/mirageos_spec.rb)
* Run some tests that configure and build a unix unikernel, run the
resulting binary and test that it works
(https://github.com/garethr/garethr-mirageos/blob/master/test/integration/default/bats/mirageos.bats)

(Only the install and run puppet steps are specific to Puppet. You
could use the same config to run a shell provisioner and test a shell
script if you wanted.)

I don't have Travis running the tests at the moment, but the easiest
way of doing that would be to use a different Test Kitchen backend
spinning up remote machines (I tend to use Digital Ocean as it's very
cost effective for short jobs).

I'll try and write a blog post about it when I get a moment but if
anyone has an questions, or wants a hand getting it up and running,
let me know.

Cheers

Gareth



-- 
Gareth Rushgrove
@garethr

devopsweekly.com
morethanseven.net
garethrushgrove.com

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 06 17:08:38 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 06 May 2015 17:08:38 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yq2oA-0007s5-9P; Wed, 06 May 2015 17:08:30 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1Yq2o8-0007rm-K7
	for MirageOS-devel@lists.xenproject.org; Wed, 06 May 2015 17:08:28 +0000
Received: from [85.158.139.211] by server-11.bemta-5.messagelabs.com id
	9A/B7-02789-B8A4A455; Wed, 06 May 2015 17:08:27 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-8.tower-206.messagelabs.com!1430932106!13020524!1
X-Originating-IP: [209.85.212.169]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 29807 invoked from network); 6 May 2015 17:08:26 -0000
Received: from mail-wi0-f169.google.com (HELO mail-wi0-f169.google.com)
	(209.85.212.169)
	by server-8.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	6 May 2015 17:08:26 -0000
Received: by wizk4 with SMTP id k4so210720368wiz.1
	for <MirageOS-devel@lists.xenproject.org>;
	Wed, 06 May 2015 10:08:26 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=Vt7IC/BnJ998u8fvlMKt/VAWW4Ol8P2rmaAuh/KDiaM=;
	b=H7VX53oatNiud+lhFbDmYgTW2vWHY9d8zXUvk017+k1dOPw6ueEP/t3JbxdSLVPojN
	8X8V0xLoX5jgsXGarSAnVrfLHtZAxkjNy8aYf69X6nTrp47cwU753WcUZs0hEAU9HgM/
	55GcFzA3vvjt4kcHPZWOWqquCrmDIVS0z5aQqtAG4Pws8oAGUROteO4xm+Tbeq5Cvqhm
	7BZ1Sgk0D5xjIY5pkmmcfrQ7LtFRJjgAwBFTFtoA6TGTczBfh+Y38tD3tIhjL7yftVch
	lKkNzSeEU8oZs7eYS+lSH9lK2ZsMTX/gLmDwst9Km+wIBjHzDGjhoDoHBIC778dPHxEr
	ASpg==
X-Received: by 10.194.134.40 with SMTP id ph8mr260369wjb.147.1430932106023;
	Wed, 06 May 2015 10:08:26 -0700 (PDT)
Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com.
	[209.85.212.182])
	by mx.google.com with ESMTPSA id go4sm3075529wib.1.2015.05.06.10.08.24
	for <MirageOS-devel@lists.xenproject.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Wed, 06 May 2015 10:08:25 -0700 (PDT)
Received: by widdi4 with SMTP id di4so210410562wid.0
	for <MirageOS-devel@lists.xenproject.org>;
	Wed, 06 May 2015 10:08:24 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.180.95.10 with SMTP id dg10mr6900642wib.41.1430932104335;
	Wed, 06 May 2015 10:08:24 -0700 (PDT)
Received: by 10.28.226.193 with HTTP; Wed, 6 May 2015 10:08:24 -0700 (PDT)
In-Reply-To: <CAEeTejK62gmGPqXAuFwaJUXeUCS99vNSwR8LMasGjeAN0e-YbQ@mail.gmail.com>
References: <CAN2Hq04=cKC_zMrdoKn+Hq13fe3wqeE5gi2z-Bp2Ye6DoUi8zA@mail.gmail.com>
	<CAEeTejK62gmGPqXAuFwaJUXeUCS99vNSwR8LMasGjeAN0e-YbQ@mail.gmail.com>
Date: Wed, 6 May 2015 10:08:24 -0700
Message-ID: <CAN2Hq04URbAgr9Vc+cqR8tgO2R2C3iw-eEt4C0z3CCPW6WjJfg@mail.gmail.com>
From: Richard Mortier <richard.mortier@cl.cam.ac.uk>
To: Jon Crowcroft <jon.crowcroft@cl.cam.ac.uk>
Cc: David Scott <Dave.Scott@citrix.com>,
	Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <MirageOS-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Notes on testing
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Probably...

http://conferences.sigcomm.org/sigcomm/2005/paper-BisFai.pdf for those
who've not seen it.

On 6 May 2015 at 03:19, Jon Crowcroft <jon.crowcroft@cl.cam.ac.uk> wrote:
> Worth re-reading peter Sewell's SIGCOMM paper on TCP?
>
> On 6 May 2015 01:32, "Richard Mortier" <richard.mortier@cl.cam.ac.uk> wrote:
>>
>> A little late, but finally got round to writing up some notes on the
>> conversation a couple of weeks ago on how we might approach testing in
>> Mirage.
>>
>> """
>> # Notes
>>
>> + Testing is used for a variety of purposes. Of note for us are:
>> reproduction of reported issues; regression testing of previously
>> fixed issues; unit testing within a component; and continuous
>> integration testing of an entire component
>>
>> + Perhaps the key problem at this stage is that the stack does not appear
>> to
>> have an explicit design guideline: it is unclear whether it is intended to
>> be
>> copying/non-copying; to accept and provide aligned/unaligned buffers
>> to/from
>> applications; to be blocking/non-blocking; or buffer ownership policy.
>>
>>   + Confusion was expressed over whether `NetIf.write` is intended to
>> assemble a list of buffer fragments or transmit a list of complete
>> packet buffers. Magnus confirms: `NetIf.writev` assembles a list of
>> buffer fragments to a new buffer, `NetIf.write` just writes a buffer.
>> I think `Netif` is the module that is currently responsible for
>> assembling in `writev`, as the list of buffers seems to be just passed
>> on to `Netif` in the other modules.
>>
>> + There is evidence that at least some parts of the stack currently
>> require blocking behaviour, eg., `tcpip` deadlocks if blocking is not
>> introduced -- from Magnus: "mirage-tcpip requires that Netif calls the
>> listener callback with Lwt.async/ignore_result, as tcpip blocks in
>> some of the listener threads while it is waiting for more data (e.g.
>> for an mvar to be updated)". `NetIf` and `Io-page.1.3.0` recently
>> changed API to always copy data.
>>
>> + Longer term there is a perceived need to start splitting protocol
>> libraries to provide separate front- and back-end implementations
>> following the practice in `vchan`. Separation of `tcpip` into several
>> submodules that permit independent testing (`SlidingWindow`, etc) was
>> also recommended.
>>
>> + Inter-layer testing is a pain on Travis but may be ultimately
>> supported using `VNetIf` and a front/backend separation. Also required
>> for regular performance testing so we can build `is-mirage-fast`.
>>
>>   + From Magnus: "mirage-vnetif has now been released in opam and
>> tests for connect and iperf in travis have been added to tcpip:
>>
>> https://github.com/mirage/mirage-tcpip/tree/master/lib_test
>>
>> I've also added a backend to test trailing bytes. The tests can be run
>> in alcotest verbose mode to see the measured speed."
>>
>> + Similarly, it was also suggested that a non-blocking API is
>> ultimately preferable as it provides more explicit control over queues
>> and pushback throughout stack, vs the current practice where listen
>> threads accumulate data and eventually return.
>>
>> # Actions
>>
>> [djs]: Tell us where to look in the mirage-xen front/backend code, and
>> to write down what actually happens there. Find out about XenRT
>> graphs.
>>
>> [magnus]: Document `NetIf`. Send link to blog post network setup; verify
>> iperf
>> over `VNetIf` works. Send pointers to tests for NSDI/Jitsu.
>>
>>   + "I've added documentation and examples for the mirage-vnetif
>> network setup in the README:
>> https://github.com/MagnusS/mirage-vnetif/blob/master/README.md Tests
>> for jitsu/synjitsu are under development ... but not quite there yet
>> :-) We are tracking progress here:
>> https://github.com/mirage/jitsu/issues/11"
>>
>> [mort]: Document that `mirage-net-pcap` should be used to gather
>> `.pcap` files for a bug report. File issue on `ocaml-vchan` for
>> @samoht to use alcotest. File issue for `TROVE` to indicate tests and
>> passes, Travis status, and maintainer.
>>
>> [masoud]: Setup to run perf tests daily and automatically report findings.
>>
>> [thomas]: Create `ocaml-test-skeleton` basing off "best practice" in
>> vchan/ alcotest/ocaml-irmin.
>>
>> [mindy]: Build a simple example of testing for a single-layer of the
>> stack (ARP) using Irmin.
>> """
>>
>> --
>> Richard Mortier
>> richard.mortier@cl.cam.ac.uk
>>
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel



-- 
Richard Mortier
richard.mortier@cl.cam.ac.uk

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 06 17:08:38 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 06 May 2015 17:08:38 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yq2oA-0007s5-9P; Wed, 06 May 2015 17:08:30 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1Yq2o8-0007rm-K7
	for MirageOS-devel@lists.xenproject.org; Wed, 06 May 2015 17:08:28 +0000
Received: from [85.158.139.211] by server-11.bemta-5.messagelabs.com id
	9A/B7-02789-B8A4A455; Wed, 06 May 2015 17:08:27 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-8.tower-206.messagelabs.com!1430932106!13020524!1
X-Originating-IP: [209.85.212.169]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 29807 invoked from network); 6 May 2015 17:08:26 -0000
Received: from mail-wi0-f169.google.com (HELO mail-wi0-f169.google.com)
	(209.85.212.169)
	by server-8.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	6 May 2015 17:08:26 -0000
Received: by wizk4 with SMTP id k4so210720368wiz.1
	for <MirageOS-devel@lists.xenproject.org>;
	Wed, 06 May 2015 10:08:26 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=Vt7IC/BnJ998u8fvlMKt/VAWW4Ol8P2rmaAuh/KDiaM=;
	b=H7VX53oatNiud+lhFbDmYgTW2vWHY9d8zXUvk017+k1dOPw6ueEP/t3JbxdSLVPojN
	8X8V0xLoX5jgsXGarSAnVrfLHtZAxkjNy8aYf69X6nTrp47cwU753WcUZs0hEAU9HgM/
	55GcFzA3vvjt4kcHPZWOWqquCrmDIVS0z5aQqtAG4Pws8oAGUROteO4xm+Tbeq5Cvqhm
	7BZ1Sgk0D5xjIY5pkmmcfrQ7LtFRJjgAwBFTFtoA6TGTczBfh+Y38tD3tIhjL7yftVch
	lKkNzSeEU8oZs7eYS+lSH9lK2ZsMTX/gLmDwst9Km+wIBjHzDGjhoDoHBIC778dPHxEr
	ASpg==
X-Received: by 10.194.134.40 with SMTP id ph8mr260369wjb.147.1430932106023;
	Wed, 06 May 2015 10:08:26 -0700 (PDT)
Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com.
	[209.85.212.182])
	by mx.google.com with ESMTPSA id go4sm3075529wib.1.2015.05.06.10.08.24
	for <MirageOS-devel@lists.xenproject.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Wed, 06 May 2015 10:08:25 -0700 (PDT)
Received: by widdi4 with SMTP id di4so210410562wid.0
	for <MirageOS-devel@lists.xenproject.org>;
	Wed, 06 May 2015 10:08:24 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.180.95.10 with SMTP id dg10mr6900642wib.41.1430932104335;
	Wed, 06 May 2015 10:08:24 -0700 (PDT)
Received: by 10.28.226.193 with HTTP; Wed, 6 May 2015 10:08:24 -0700 (PDT)
In-Reply-To: <CAEeTejK62gmGPqXAuFwaJUXeUCS99vNSwR8LMasGjeAN0e-YbQ@mail.gmail.com>
References: <CAN2Hq04=cKC_zMrdoKn+Hq13fe3wqeE5gi2z-Bp2Ye6DoUi8zA@mail.gmail.com>
	<CAEeTejK62gmGPqXAuFwaJUXeUCS99vNSwR8LMasGjeAN0e-YbQ@mail.gmail.com>
Date: Wed, 6 May 2015 10:08:24 -0700
Message-ID: <CAN2Hq04URbAgr9Vc+cqR8tgO2R2C3iw-eEt4C0z3CCPW6WjJfg@mail.gmail.com>
From: Richard Mortier <richard.mortier@cl.cam.ac.uk>
To: Jon Crowcroft <jon.crowcroft@cl.cam.ac.uk>
Cc: David Scott <Dave.Scott@citrix.com>,
	Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <MirageOS-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Notes on testing
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Probably...

http://conferences.sigcomm.org/sigcomm/2005/paper-BisFai.pdf for those
who've not seen it.

On 6 May 2015 at 03:19, Jon Crowcroft <jon.crowcroft@cl.cam.ac.uk> wrote:
> Worth re-reading peter Sewell's SIGCOMM paper on TCP?
>
> On 6 May 2015 01:32, "Richard Mortier" <richard.mortier@cl.cam.ac.uk> wrote:
>>
>> A little late, but finally got round to writing up some notes on the
>> conversation a couple of weeks ago on how we might approach testing in
>> Mirage.
>>
>> """
>> # Notes
>>
>> + Testing is used for a variety of purposes. Of note for us are:
>> reproduction of reported issues; regression testing of previously
>> fixed issues; unit testing within a component; and continuous
>> integration testing of an entire component
>>
>> + Perhaps the key problem at this stage is that the stack does not appear
>> to
>> have an explicit design guideline: it is unclear whether it is intended to
>> be
>> copying/non-copying; to accept and provide aligned/unaligned buffers
>> to/from
>> applications; to be blocking/non-blocking; or buffer ownership policy.
>>
>>   + Confusion was expressed over whether `NetIf.write` is intended to
>> assemble a list of buffer fragments or transmit a list of complete
>> packet buffers. Magnus confirms: `NetIf.writev` assembles a list of
>> buffer fragments to a new buffer, `NetIf.write` just writes a buffer.
>> I think `Netif` is the module that is currently responsible for
>> assembling in `writev`, as the list of buffers seems to be just passed
>> on to `Netif` in the other modules.
>>
>> + There is evidence that at least some parts of the stack currently
>> require blocking behaviour, eg., `tcpip` deadlocks if blocking is not
>> introduced -- from Magnus: "mirage-tcpip requires that Netif calls the
>> listener callback with Lwt.async/ignore_result, as tcpip blocks in
>> some of the listener threads while it is waiting for more data (e.g.
>> for an mvar to be updated)". `NetIf` and `Io-page.1.3.0` recently
>> changed API to always copy data.
>>
>> + Longer term there is a perceived need to start splitting protocol
>> libraries to provide separate front- and back-end implementations
>> following the practice in `vchan`. Separation of `tcpip` into several
>> submodules that permit independent testing (`SlidingWindow`, etc) was
>> also recommended.
>>
>> + Inter-layer testing is a pain on Travis but may be ultimately
>> supported using `VNetIf` and a front/backend separation. Also required
>> for regular performance testing so we can build `is-mirage-fast`.
>>
>>   + From Magnus: "mirage-vnetif has now been released in opam and
>> tests for connect and iperf in travis have been added to tcpip:
>>
>> https://github.com/mirage/mirage-tcpip/tree/master/lib_test
>>
>> I've also added a backend to test trailing bytes. The tests can be run
>> in alcotest verbose mode to see the measured speed."
>>
>> + Similarly, it was also suggested that a non-blocking API is
>> ultimately preferable as it provides more explicit control over queues
>> and pushback throughout stack, vs the current practice where listen
>> threads accumulate data and eventually return.
>>
>> # Actions
>>
>> [djs]: Tell us where to look in the mirage-xen front/backend code, and
>> to write down what actually happens there. Find out about XenRT
>> graphs.
>>
>> [magnus]: Document `NetIf`. Send link to blog post network setup; verify
>> iperf
>> over `VNetIf` works. Send pointers to tests for NSDI/Jitsu.
>>
>>   + "I've added documentation and examples for the mirage-vnetif
>> network setup in the README:
>> https://github.com/MagnusS/mirage-vnetif/blob/master/README.md Tests
>> for jitsu/synjitsu are under development ... but not quite there yet
>> :-) We are tracking progress here:
>> https://github.com/mirage/jitsu/issues/11"
>>
>> [mort]: Document that `mirage-net-pcap` should be used to gather
>> `.pcap` files for a bug report. File issue on `ocaml-vchan` for
>> @samoht to use alcotest. File issue for `TROVE` to indicate tests and
>> passes, Travis status, and maintainer.
>>
>> [masoud]: Setup to run perf tests daily and automatically report findings.
>>
>> [thomas]: Create `ocaml-test-skeleton` basing off "best practice" in
>> vchan/ alcotest/ocaml-irmin.
>>
>> [mindy]: Build a simple example of testing for a single-layer of the
>> stack (ARP) using Irmin.
>> """
>>
>> --
>> Richard Mortier
>> richard.mortier@cl.cam.ac.uk
>>
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel



-- 
Richard Mortier
richard.mortier@cl.cam.ac.uk

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 06 17:50:42 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 06 May 2015 17:50:42 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yq3Sx-0004Ks-QG; Wed, 06 May 2015 17:50:39 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1Yq3Sv-0004KP-RP
	for MirageOS-devel@lists.xenproject.org; Wed, 06 May 2015 17:50:37 +0000
Received: from [193.109.254.147] by server-13.bemta-14.messagelabs.com id
	D3/7C-02669-C645A455; Wed, 06 May 2015 17:50:36 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-2.tower-27.messagelabs.com!1430934635!15218580!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 7195 invoked from network); 6 May 2015 17:50:36 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-2.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 6 May 2015 17:50:36 -0000
Received: from [172.20.132.136] (206.15.84.130 [206.15.84.130]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 07214c4d;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Wed, 6 May 2015 18:50:34 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAG4opy-Ztm4=3wJgRKPv5qxT9PwFUdTtX3zjsDmQRzb3Bmztqg@mail.gmail.com>
Date: Wed, 6 May 2015 10:50:32 -0700
Message-Id: <3BB01D5E-C6F3-4E38-8121-3AC60EF55A97@recoil.org>
References: <CAN2Hq04=cKC_zMrdoKn+Hq13fe3wqeE5gi2z-Bp2Ye6DoUi8zA@mail.gmail.com>
	<5549DC5B.8050405@somerandomidiot.com>
	<CAG4opy-Ztm4=3wJgRKPv5qxT9PwFUdTtX3zjsDmQRzb3Bmztqg@mail.gmail.com>
To: Thomas Leonard <talex5@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: David Scott <Dave.Scott@citrix.com>,
	Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <MirageOS-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Notes on testing
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 6 May 2015, at 02:29, Thomas Leonard <talex5@gmail.com> wrote:
> 
> On 6 May 2015 at 10:18, Mindy <mindy@somerandomidiot.com> wrote:
>> Thanks for writing these up :) progress notes:
>> 
>> On 05/06/2015 01:31 AM, Richard Mortier wrote:
>>> 
>>> 
>>> [mort]: Document that `mirage-net-pcap` should be used to gather
>>> `.pcap` files for a bug report.
>> 
>> I'll soon release a version of `mirage-net-pcap` that plays nicely with
>> `mirage-vnetif` rather than reimplementing it poorly, and also supports
>> actual file writes (wow!).
>>> 
>>> [mindy]: Build a simple example of testing for a single-layer of the
>>> stack (ARP) using Irmin.
>> 
>> I wrote about this a little while ago, but it's bundled-up with thoughts on
>> implementing the cache data structure as an Irmin store and makes for an
>> exceedingly poor how-to; I'll split this up and make the just-test-a-thing
>> piece a bit more coherent.
> 
> I'm not sure it was ever announced on this list, so here's the link
> for people interested in the ARP-cache-on-Irmin experiments (I assume
> this is what you're referring to):
> 
> http://www.somerandomidiot.com/blog/2015/04/24/what-a-distributed-version-controlled-ARP-cache-gets-you/
> 
> We do need more Irmin tutorials though. I've had some requests for a
> more technical follow-up to the CueKeeper post, so I may write
> something there too about Irmin, but the ARP cache example is probably
> a better place for an introduction.

More immediately, it would be great to gather some of these blog links
and put them in Irmin's README and the tutorial wiki so they get found
by curious people.

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 06 17:50:42 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 06 May 2015 17:50:42 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yq3Sx-0004Ks-QG; Wed, 06 May 2015 17:50:39 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1Yq3Sv-0004KP-RP
	for MirageOS-devel@lists.xenproject.org; Wed, 06 May 2015 17:50:37 +0000
Received: from [193.109.254.147] by server-13.bemta-14.messagelabs.com id
	D3/7C-02669-C645A455; Wed, 06 May 2015 17:50:36 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-2.tower-27.messagelabs.com!1430934635!15218580!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 7195 invoked from network); 6 May 2015 17:50:36 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-2.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 6 May 2015 17:50:36 -0000
Received: from [172.20.132.136] (206.15.84.130 [206.15.84.130]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 07214c4d;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Wed, 6 May 2015 18:50:34 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAG4opy-Ztm4=3wJgRKPv5qxT9PwFUdTtX3zjsDmQRzb3Bmztqg@mail.gmail.com>
Date: Wed, 6 May 2015 10:50:32 -0700
Message-Id: <3BB01D5E-C6F3-4E38-8121-3AC60EF55A97@recoil.org>
References: <CAN2Hq04=cKC_zMrdoKn+Hq13fe3wqeE5gi2z-Bp2Ye6DoUi8zA@mail.gmail.com>
	<5549DC5B.8050405@somerandomidiot.com>
	<CAG4opy-Ztm4=3wJgRKPv5qxT9PwFUdTtX3zjsDmQRzb3Bmztqg@mail.gmail.com>
To: Thomas Leonard <talex5@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: David Scott <Dave.Scott@citrix.com>,
	Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <MirageOS-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Notes on testing
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 6 May 2015, at 02:29, Thomas Leonard <talex5@gmail.com> wrote:
> 
> On 6 May 2015 at 10:18, Mindy <mindy@somerandomidiot.com> wrote:
>> Thanks for writing these up :) progress notes:
>> 
>> On 05/06/2015 01:31 AM, Richard Mortier wrote:
>>> 
>>> 
>>> [mort]: Document that `mirage-net-pcap` should be used to gather
>>> `.pcap` files for a bug report.
>> 
>> I'll soon release a version of `mirage-net-pcap` that plays nicely with
>> `mirage-vnetif` rather than reimplementing it poorly, and also supports
>> actual file writes (wow!).
>>> 
>>> [mindy]: Build a simple example of testing for a single-layer of the
>>> stack (ARP) using Irmin.
>> 
>> I wrote about this a little while ago, but it's bundled-up with thoughts on
>> implementing the cache data structure as an Irmin store and makes for an
>> exceedingly poor how-to; I'll split this up and make the just-test-a-thing
>> piece a bit more coherent.
> 
> I'm not sure it was ever announced on this list, so here's the link
> for people interested in the ARP-cache-on-Irmin experiments (I assume
> this is what you're referring to):
> 
> http://www.somerandomidiot.com/blog/2015/04/24/what-a-distributed-version-controlled-ARP-cache-gets-you/
> 
> We do need more Irmin tutorials though. I've had some requests for a
> more technical follow-up to the CueKeeper post, so I may write
> something there too about Irmin, but the ARP cache example is probably
> a better place for an introduction.

More immediately, it would be great to gather some of these blog links
and put them in Irmin's README and the tutorial wiki so they get found
by curious people.

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu May 07 11:43:40 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 07 May 2015 11:43:40 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YqKDF-0002bo-JQ; Thu, 07 May 2015 11:43:33 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1YqKDE-0002bj-8H
	for MirageOS-devel@lists.xenproject.org; Thu, 07 May 2015 11:43:32 +0000
Received: from [85.158.137.68] by server-13.bemta-3.messagelabs.com id
	74/C4-02919-3EF4B455; Thu, 07 May 2015 11:43:31 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-5.tower-31.messagelabs.com!1430999010!13236514!1
X-Originating-IP: [209.85.215.53]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 30156 invoked from network); 7 May 2015 11:43:30 -0000
Received: from mail-la0-f53.google.com (HELO mail-la0-f53.google.com)
	(209.85.215.53)
	by server-5.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	7 May 2015 11:43:30 -0000
Received: by layy10 with SMTP id y10so28509849lay.0
	for <MirageOS-devel@lists.xenproject.org>;
	Thu, 07 May 2015 04:43:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=WBwgdnxA5olvho05uNRqy1i4beIjNNtJPBZr9K7H9LE=;
	b=GhyRy7ViQ6QCxqwhMNyUAFnYnrDQo8dhAg62sO1ISTt45AYzmC3SVuG5mbA9oKth2D
	OPY/RUh9JMWUP+hgBiS+phhzgwQQH5hRWKlMSwWH3Lo4Qk2KKyzheYgnhJxYZgJZg5yo
	vRdAmgIl3VwD8fcRdLrq51f12TQD5rDEbs2EB6h9RanhaD0x0uhRJPXxkW5+KSkPfUYg
	p8m8O9ij/0vgHAs3NJBVXjUrao7saldUxgLS2i0JvvFkSAHYhd2HQMmQ/RzWBRoaCRHT
	963QMNg9o8noBbTIm27O2UTY9oilf1PXdPIzRBqUiyLk3hap5B4nfQuoCb/Fn5kyDsWm
	TOfQ==
MIME-Version: 1.0
X-Received: by 10.112.97.202 with SMTP id ec10mr2740108lbb.4.1430999010009;
	Thu, 07 May 2015 04:43:30 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Thu, 7 May 2015 04:43:29 -0700 (PDT)
In-Reply-To: <3BB01D5E-C6F3-4E38-8121-3AC60EF55A97@recoil.org>
References: <CAN2Hq04=cKC_zMrdoKn+Hq13fe3wqeE5gi2z-Bp2Ye6DoUi8zA@mail.gmail.com>
	<5549DC5B.8050405@somerandomidiot.com>
	<CAG4opy-Ztm4=3wJgRKPv5qxT9PwFUdTtX3zjsDmQRzb3Bmztqg@mail.gmail.com>
	<3BB01D5E-C6F3-4E38-8121-3AC60EF55A97@recoil.org>
Date: Thu, 7 May 2015 12:43:29 +0100
Message-ID: <CAG4opy_WuJsCbFbZzrMN+XARbkN33jgzXu+nD6aAKn7bXYVSpg@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: David Scott <Dave.Scott@citrix.com>,
	Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <MirageOS-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Notes on testing
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 6 May 2015 at 18:50, Anil Madhavapeddy <anil@recoil.org> wrote:
> On 6 May 2015, at 02:29, Thomas Leonard <talex5@gmail.com> wrote:
>>
>> On 6 May 2015 at 10:18, Mindy <mindy@somerandomidiot.com> wrote:
>>> Thanks for writing these up :) progress notes:
>>>
>>> On 05/06/2015 01:31 AM, Richard Mortier wrote:
>>>>
>>>>
>>>> [mort]: Document that `mirage-net-pcap` should be used to gather
>>>> `.pcap` files for a bug report.
>>>
>>> I'll soon release a version of `mirage-net-pcap` that plays nicely with
>>> `mirage-vnetif` rather than reimplementing it poorly, and also supports
>>> actual file writes (wow!).
>>>>
>>>> [mindy]: Build a simple example of testing for a single-layer of the
>>>> stack (ARP) using Irmin.
>>>
>>> I wrote about this a little while ago, but it's bundled-up with thoughts on
>>> implementing the cache data structure as an Irmin store and makes for an
>>> exceedingly poor how-to; I'll split this up and make the just-test-a-thing
>>> piece a bit more coherent.
>>
>> I'm not sure it was ever announced on this list, so here's the link
>> for people interested in the ARP-cache-on-Irmin experiments (I assume
>> this is what you're referring to):
>>
>> http://www.somerandomidiot.com/blog/2015/04/24/what-a-distributed-version-controlled-ARP-cache-gets-you/
>>
>> We do need more Irmin tutorials though. I've had some requests for a
>> more technical follow-up to the CueKeeper post, so I may write
>> something there too about Irmin, but the ARP cache example is probably
>> a better place for an introduction.
>
> More immediately, it would be great to gather some of these blog links
> and put them in Irmin's README and the tutorial wiki so they get found
> by curious people.

I've added a links page here, where people can add links to blogs and
software related to Irmin:

  https://github.com/mirage/irmin/wiki/Links


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu May 07 11:43:40 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 07 May 2015 11:43:40 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YqKDF-0002bo-JQ; Thu, 07 May 2015 11:43:33 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1YqKDE-0002bj-8H
	for MirageOS-devel@lists.xenproject.org; Thu, 07 May 2015 11:43:32 +0000
Received: from [85.158.137.68] by server-13.bemta-3.messagelabs.com id
	74/C4-02919-3EF4B455; Thu, 07 May 2015 11:43:31 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-5.tower-31.messagelabs.com!1430999010!13236514!1
X-Originating-IP: [209.85.215.53]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 30156 invoked from network); 7 May 2015 11:43:30 -0000
Received: from mail-la0-f53.google.com (HELO mail-la0-f53.google.com)
	(209.85.215.53)
	by server-5.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	7 May 2015 11:43:30 -0000
Received: by layy10 with SMTP id y10so28509849lay.0
	for <MirageOS-devel@lists.xenproject.org>;
	Thu, 07 May 2015 04:43:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=WBwgdnxA5olvho05uNRqy1i4beIjNNtJPBZr9K7H9LE=;
	b=GhyRy7ViQ6QCxqwhMNyUAFnYnrDQo8dhAg62sO1ISTt45AYzmC3SVuG5mbA9oKth2D
	OPY/RUh9JMWUP+hgBiS+phhzgwQQH5hRWKlMSwWH3Lo4Qk2KKyzheYgnhJxYZgJZg5yo
	vRdAmgIl3VwD8fcRdLrq51f12TQD5rDEbs2EB6h9RanhaD0x0uhRJPXxkW5+KSkPfUYg
	p8m8O9ij/0vgHAs3NJBVXjUrao7saldUxgLS2i0JvvFkSAHYhd2HQMmQ/RzWBRoaCRHT
	963QMNg9o8noBbTIm27O2UTY9oilf1PXdPIzRBqUiyLk3hap5B4nfQuoCb/Fn5kyDsWm
	TOfQ==
MIME-Version: 1.0
X-Received: by 10.112.97.202 with SMTP id ec10mr2740108lbb.4.1430999010009;
	Thu, 07 May 2015 04:43:30 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Thu, 7 May 2015 04:43:29 -0700 (PDT)
In-Reply-To: <3BB01D5E-C6F3-4E38-8121-3AC60EF55A97@recoil.org>
References: <CAN2Hq04=cKC_zMrdoKn+Hq13fe3wqeE5gi2z-Bp2Ye6DoUi8zA@mail.gmail.com>
	<5549DC5B.8050405@somerandomidiot.com>
	<CAG4opy-Ztm4=3wJgRKPv5qxT9PwFUdTtX3zjsDmQRzb3Bmztqg@mail.gmail.com>
	<3BB01D5E-C6F3-4E38-8121-3AC60EF55A97@recoil.org>
Date: Thu, 7 May 2015 12:43:29 +0100
Message-ID: <CAG4opy_WuJsCbFbZzrMN+XARbkN33jgzXu+nD6aAKn7bXYVSpg@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: David Scott <Dave.Scott@citrix.com>,
	Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <MirageOS-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Notes on testing
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 6 May 2015 at 18:50, Anil Madhavapeddy <anil@recoil.org> wrote:
> On 6 May 2015, at 02:29, Thomas Leonard <talex5@gmail.com> wrote:
>>
>> On 6 May 2015 at 10:18, Mindy <mindy@somerandomidiot.com> wrote:
>>> Thanks for writing these up :) progress notes:
>>>
>>> On 05/06/2015 01:31 AM, Richard Mortier wrote:
>>>>
>>>>
>>>> [mort]: Document that `mirage-net-pcap` should be used to gather
>>>> `.pcap` files for a bug report.
>>>
>>> I'll soon release a version of `mirage-net-pcap` that plays nicely with
>>> `mirage-vnetif` rather than reimplementing it poorly, and also supports
>>> actual file writes (wow!).
>>>>
>>>> [mindy]: Build a simple example of testing for a single-layer of the
>>>> stack (ARP) using Irmin.
>>>
>>> I wrote about this a little while ago, but it's bundled-up with thoughts on
>>> implementing the cache data structure as an Irmin store and makes for an
>>> exceedingly poor how-to; I'll split this up and make the just-test-a-thing
>>> piece a bit more coherent.
>>
>> I'm not sure it was ever announced on this list, so here's the link
>> for people interested in the ARP-cache-on-Irmin experiments (I assume
>> this is what you're referring to):
>>
>> http://www.somerandomidiot.com/blog/2015/04/24/what-a-distributed-version-controlled-ARP-cache-gets-you/
>>
>> We do need more Irmin tutorials though. I've had some requests for a
>> more technical follow-up to the CueKeeper post, so I may write
>> something there too about Irmin, but the ARP cache example is probably
>> a better place for an introduction.
>
> More immediately, it would be great to gather some of these blog links
> and put them in Irmin's README and the tutorial wiki so they get found
> by curious people.

I've added a links page here, where people can add links to blogs and
software related to Irmin:

  https://github.com/mirage/irmin/wiki/Links


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu May 07 12:44:28 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 07 May 2015 12:44:28 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YqLA3-0007U8-NX; Thu, 07 May 2015 12:44:19 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1YqLA2-0007U3-EI
	for mirageos-devel@lists.xenproject.org; Thu, 07 May 2015 12:44:18 +0000
Received: from [85.158.139.211] by server-7.bemta-5.messagelabs.com id
	04/69-03739-12E5B455; Thu, 07 May 2015 12:44:17 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-10.tower-206.messagelabs.com!1431002656!7950771!1
X-Originating-IP: [209.85.215.54]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 31436 invoked from network); 7 May 2015 12:44:17 -0000
Received: from mail-la0-f54.google.com (HELO mail-la0-f54.google.com)
	(209.85.215.54)
	by server-10.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	7 May 2015 12:44:17 -0000
Received: by layy10 with SMTP id y10so29654871lay.0
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 07 May 2015 05:44:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=RTFqS3BXgS6xkzVxm2iWw7Pr+pKHyyog3t3lZc3Uqy0=;
	b=ClWfOBZuN1pWqohm7xxaIlP/ry/WNBi6Gfn0DHFfCxHy+QuMnGvmU+vlDjOt7SM5oK
	cvdSXTg8rFwZ3ccz+FTH7mBxEal8+y2yVAp3G33S7VpWm+E5gTeWcKWhXmwmgxGRHzfF
	pBFZIqTSnvjOWcjjAls77p7KKbdO2FZSTf8/3V7tPy5BhNRPmks37qSW6xqWv++HgqTZ
	VNYdxMUP1WZn8G2bAi/3tm5J/FW061pzIBiintZQVA3AMusZGVxeFQI83i1wA2107Vb5
	3GZxUPvym5ph3AN4G3LJwBXdgDWlmm4Ru3wjhjuKO5LZKInX/46C0N2nk0is86DnbNff
	iRjA==
MIME-Version: 1.0
X-Received: by 10.112.189.102 with SMTP id gh6mr2858630lbc.115.1431002656235; 
	Thu, 07 May 2015 05:44:16 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Thu, 7 May 2015 05:44:16 -0700 (PDT)
In-Reply-To: <25D2AE7E-764E-44AE-B91E-AF0C5482D50B@recoil.org>
References: <DC5E0619-718D-4A85-A240-A0DD3FA0E118@recoil.org>
	<6D262DFB-EA5C-44CB-A908-FD0E28F7995D@citrix.com>
	<25D2AE7E-764E-44AE-B91E-AF0C5482D50B@recoil.org>
Date: Thu, 7 May 2015 13:44:16 +0100
Message-ID: <CAG4opy8Kj1qReKYs2kfvoodAL9Tre+7JfZM9c-z4SuiHHJ_PGw@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: David Scott <Dave.Scott@citrix.com>, "mirageos-devel@lists.xenproject.org"
	<mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] github xen git mirror
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 28 October 2014 at 21:45, Anil Madhavapeddy <anil@recoil.org> wrote:
> On 26 May 2014, at 11:37, Dave Scott <Dave.Scott@citrix.com> wrote:
>>
>>
>> On 26 May 2014, at 11:31, Anil Madhavapeddy <anil@recoil.org> wrote:
>>
>>> A bunch of us now have our own GitHub mirrors of Xen, so it's a good idea to have a proper mirror repository to fork from instead.
>>>
>>> Dave, I noticed your mirror scripts on mirage/xen have stopped.  Do you mind if I take that over and setup a cron job for it from the bactrian bot?
>>
>> Oops, I lost those when I reinstalled the box they were running on.
>>
>> Feel free to run cron somewhere else!
>
> This is now running as an hourly cronjob on blobs.openmirage.org and mirroring to:
>
>    https://github.com/mirage/xen
>
> Thomas(L), we could also extend the cron mirroring to split out MiniOS in the future via git-filter-branch, if we need that to split out MiniOS in the future.

Mini-OS now has its own repository. Can we get a mirror of that too?

  http://xenbits.xen.org/gitweb/?p=mini-os.git;a=summary


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu May 07 12:44:28 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 07 May 2015 12:44:28 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YqLA3-0007U8-NX; Thu, 07 May 2015 12:44:19 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1YqLA2-0007U3-EI
	for mirageos-devel@lists.xenproject.org; Thu, 07 May 2015 12:44:18 +0000
Received: from [85.158.139.211] by server-7.bemta-5.messagelabs.com id
	04/69-03739-12E5B455; Thu, 07 May 2015 12:44:17 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-10.tower-206.messagelabs.com!1431002656!7950771!1
X-Originating-IP: [209.85.215.54]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 31436 invoked from network); 7 May 2015 12:44:17 -0000
Received: from mail-la0-f54.google.com (HELO mail-la0-f54.google.com)
	(209.85.215.54)
	by server-10.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	7 May 2015 12:44:17 -0000
Received: by layy10 with SMTP id y10so29654871lay.0
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 07 May 2015 05:44:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=RTFqS3BXgS6xkzVxm2iWw7Pr+pKHyyog3t3lZc3Uqy0=;
	b=ClWfOBZuN1pWqohm7xxaIlP/ry/WNBi6Gfn0DHFfCxHy+QuMnGvmU+vlDjOt7SM5oK
	cvdSXTg8rFwZ3ccz+FTH7mBxEal8+y2yVAp3G33S7VpWm+E5gTeWcKWhXmwmgxGRHzfF
	pBFZIqTSnvjOWcjjAls77p7KKbdO2FZSTf8/3V7tPy5BhNRPmks37qSW6xqWv++HgqTZ
	VNYdxMUP1WZn8G2bAi/3tm5J/FW061pzIBiintZQVA3AMusZGVxeFQI83i1wA2107Vb5
	3GZxUPvym5ph3AN4G3LJwBXdgDWlmm4Ru3wjhjuKO5LZKInX/46C0N2nk0is86DnbNff
	iRjA==
MIME-Version: 1.0
X-Received: by 10.112.189.102 with SMTP id gh6mr2858630lbc.115.1431002656235; 
	Thu, 07 May 2015 05:44:16 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Thu, 7 May 2015 05:44:16 -0700 (PDT)
In-Reply-To: <25D2AE7E-764E-44AE-B91E-AF0C5482D50B@recoil.org>
References: <DC5E0619-718D-4A85-A240-A0DD3FA0E118@recoil.org>
	<6D262DFB-EA5C-44CB-A908-FD0E28F7995D@citrix.com>
	<25D2AE7E-764E-44AE-B91E-AF0C5482D50B@recoil.org>
Date: Thu, 7 May 2015 13:44:16 +0100
Message-ID: <CAG4opy8Kj1qReKYs2kfvoodAL9Tre+7JfZM9c-z4SuiHHJ_PGw@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: David Scott <Dave.Scott@citrix.com>, "mirageos-devel@lists.xenproject.org"
	<mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] github xen git mirror
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 28 October 2014 at 21:45, Anil Madhavapeddy <anil@recoil.org> wrote:
> On 26 May 2014, at 11:37, Dave Scott <Dave.Scott@citrix.com> wrote:
>>
>>
>> On 26 May 2014, at 11:31, Anil Madhavapeddy <anil@recoil.org> wrote:
>>
>>> A bunch of us now have our own GitHub mirrors of Xen, so it's a good idea to have a proper mirror repository to fork from instead.
>>>
>>> Dave, I noticed your mirror scripts on mirage/xen have stopped.  Do you mind if I take that over and setup a cron job for it from the bactrian bot?
>>
>> Oops, I lost those when I reinstalled the box they were running on.
>>
>> Feel free to run cron somewhere else!
>
> This is now running as an hourly cronjob on blobs.openmirage.org and mirroring to:
>
>    https://github.com/mirage/xen
>
> Thomas(L), we could also extend the cron mirroring to split out MiniOS in the future via git-filter-branch, if we need that to split out MiniOS in the future.

Mini-OS now has its own repository. Can we get a mirror of that too?

  http://xenbits.xen.org/gitweb/?p=mini-os.git;a=summary


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu May 07 14:23:55 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 07 May 2015 14:23:55 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YqMiM-00079u-KN; Thu, 07 May 2015 14:23:50 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YqMiL-00079p-9p
	for MirageOS-devel@lists.xenproject.org; Thu, 07 May 2015 14:23:49 +0000
Received: from [193.109.254.147] by server-7.bemta-14.messagelabs.com id
	3A/AF-03202-4757B455; Thu, 07 May 2015 14:23:48 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-6.tower-27.messagelabs.com!1431008627!15516242!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 28318 invoked from network); 7 May 2015 14:23:47 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-6.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 7 May 2015 14:23:47 -0000
Received: from [192.168.0.127] (c-98-248-38-18.hsd1.ca.comcast.net
	[98.248.38.18]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id d4c527e8;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Thu, 7 May 2015 15:23:45 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAG4opy_WuJsCbFbZzrMN+XARbkN33jgzXu+nD6aAKn7bXYVSpg@mail.gmail.com>
Date: Thu, 7 May 2015 07:23:42 -0700
Message-Id: <795F8265-A80D-42D1-B3FE-21B6419C27AF@recoil.org>
References: <CAN2Hq04=cKC_zMrdoKn+Hq13fe3wqeE5gi2z-Bp2Ye6DoUi8zA@mail.gmail.com>
	<5549DC5B.8050405@somerandomidiot.com>
	<CAG4opy-Ztm4=3wJgRKPv5qxT9PwFUdTtX3zjsDmQRzb3Bmztqg@mail.gmail.com>
	<3BB01D5E-C6F3-4E38-8121-3AC60EF55A97@recoil.org>
	<CAG4opy_WuJsCbFbZzrMN+XARbkN33jgzXu+nD6aAKn7bXYVSpg@mail.gmail.com>
To: Thomas Leonard <talex5@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: David Scott <Dave.Scott@citrix.com>,
	Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <MirageOS-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Notes on testing
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 7 May 2015, at 04:43, Thomas Leonard <talex5@gmail.com> wrote:
> 
> On 6 May 2015 at 18:50, Anil Madhavapeddy <anil@recoil.org> wrote:
>> On 6 May 2015, at 02:29, Thomas Leonard <talex5@gmail.com> wrote:
>>> 
>>> On 6 May 2015 at 10:18, Mindy <mindy@somerandomidiot.com> wrote:
>>>> Thanks for writing these up :) progress notes:
>>>> 
>>>> On 05/06/2015 01:31 AM, Richard Mortier wrote:
>>>>> 
>>>>> 
>>>>> [mort]: Document that `mirage-net-pcap` should be used to gather
>>>>> `.pcap` files for a bug report.
>>>> 
>>>> I'll soon release a version of `mirage-net-pcap` that plays nicely with
>>>> `mirage-vnetif` rather than reimplementing it poorly, and also supports
>>>> actual file writes (wow!).
>>>>> 
>>>>> [mindy]: Build a simple example of testing for a single-layer of the
>>>>> stack (ARP) using Irmin.
>>>> 
>>>> I wrote about this a little while ago, but it's bundled-up with thoughts on
>>>> implementing the cache data structure as an Irmin store and makes for an
>>>> exceedingly poor how-to; I'll split this up and make the just-test-a-thing
>>>> piece a bit more coherent.
>>> 
>>> I'm not sure it was ever announced on this list, so here's the link
>>> for people interested in the ARP-cache-on-Irmin experiments (I assume
>>> this is what you're referring to):
>>> 
>>> http://www.somerandomidiot.com/blog/2015/04/24/what-a-distributed-version-controlled-ARP-cache-gets-you/
>>> 
>>> We do need more Irmin tutorials though. I've had some requests for a
>>> more technical follow-up to the CueKeeper post, so I may write
>>> something there too about Irmin, but the ARP cache example is probably
>>> a better place for an introduction.
>> 
>> More immediately, it would be great to gather some of these blog links
>> and put them in Irmin's README and the tutorial wiki so they get found
>> by curious people.
> 
> I've added a links page here, where people can add links to blogs and
> software related to Irmin:
> 
>  https://github.com/mirage/irmin/wiki/Links
> 

Thanks! I've added in the introductory Mirage 2.0 blog posts that ThomasG
and Dave Scott wrote as well.

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu May 07 14:23:55 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 07 May 2015 14:23:55 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YqMiM-00079u-KN; Thu, 07 May 2015 14:23:50 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YqMiL-00079p-9p
	for MirageOS-devel@lists.xenproject.org; Thu, 07 May 2015 14:23:49 +0000
Received: from [193.109.254.147] by server-7.bemta-14.messagelabs.com id
	3A/AF-03202-4757B455; Thu, 07 May 2015 14:23:48 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-6.tower-27.messagelabs.com!1431008627!15516242!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 28318 invoked from network); 7 May 2015 14:23:47 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-6.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 7 May 2015 14:23:47 -0000
Received: from [192.168.0.127] (c-98-248-38-18.hsd1.ca.comcast.net
	[98.248.38.18]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id d4c527e8;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Thu, 7 May 2015 15:23:45 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAG4opy_WuJsCbFbZzrMN+XARbkN33jgzXu+nD6aAKn7bXYVSpg@mail.gmail.com>
Date: Thu, 7 May 2015 07:23:42 -0700
Message-Id: <795F8265-A80D-42D1-B3FE-21B6419C27AF@recoil.org>
References: <CAN2Hq04=cKC_zMrdoKn+Hq13fe3wqeE5gi2z-Bp2Ye6DoUi8zA@mail.gmail.com>
	<5549DC5B.8050405@somerandomidiot.com>
	<CAG4opy-Ztm4=3wJgRKPv5qxT9PwFUdTtX3zjsDmQRzb3Bmztqg@mail.gmail.com>
	<3BB01D5E-C6F3-4E38-8121-3AC60EF55A97@recoil.org>
	<CAG4opy_WuJsCbFbZzrMN+XARbkN33jgzXu+nD6aAKn7bXYVSpg@mail.gmail.com>
To: Thomas Leonard <talex5@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: David Scott <Dave.Scott@citrix.com>,
	Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <MirageOS-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Notes on testing
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 7 May 2015, at 04:43, Thomas Leonard <talex5@gmail.com> wrote:
> 
> On 6 May 2015 at 18:50, Anil Madhavapeddy <anil@recoil.org> wrote:
>> On 6 May 2015, at 02:29, Thomas Leonard <talex5@gmail.com> wrote:
>>> 
>>> On 6 May 2015 at 10:18, Mindy <mindy@somerandomidiot.com> wrote:
>>>> Thanks for writing these up :) progress notes:
>>>> 
>>>> On 05/06/2015 01:31 AM, Richard Mortier wrote:
>>>>> 
>>>>> 
>>>>> [mort]: Document that `mirage-net-pcap` should be used to gather
>>>>> `.pcap` files for a bug report.
>>>> 
>>>> I'll soon release a version of `mirage-net-pcap` that plays nicely with
>>>> `mirage-vnetif` rather than reimplementing it poorly, and also supports
>>>> actual file writes (wow!).
>>>>> 
>>>>> [mindy]: Build a simple example of testing for a single-layer of the
>>>>> stack (ARP) using Irmin.
>>>> 
>>>> I wrote about this a little while ago, but it's bundled-up with thoughts on
>>>> implementing the cache data structure as an Irmin store and makes for an
>>>> exceedingly poor how-to; I'll split this up and make the just-test-a-thing
>>>> piece a bit more coherent.
>>> 
>>> I'm not sure it was ever announced on this list, so here's the link
>>> for people interested in the ARP-cache-on-Irmin experiments (I assume
>>> this is what you're referring to):
>>> 
>>> http://www.somerandomidiot.com/blog/2015/04/24/what-a-distributed-version-controlled-ARP-cache-gets-you/
>>> 
>>> We do need more Irmin tutorials though. I've had some requests for a
>>> more technical follow-up to the CueKeeper post, so I may write
>>> something there too about Irmin, but the ARP cache example is probably
>>> a better place for an introduction.
>> 
>> More immediately, it would be great to gather some of these blog links
>> and put them in Irmin's README and the tutorial wiki so they get found
>> by curious people.
> 
> I've added a links page here, where people can add links to blogs and
> software related to Irmin:
> 
>  https://github.com/mirage/irmin/wiki/Links
> 

Thanks! I've added in the introductory Mirage 2.0 blog posts that ThomasG
and Dave Scott wrote as well.

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu May 07 17:10:40 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 07 May 2015 17:10:40 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YqPJh-0003XH-LY; Thu, 07 May 2015 17:10:33 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <russell.pavlicek.xen@gmail.com>)
	id 1YqPJg-0003Wo-Ae; Thu, 07 May 2015 17:10:32 +0000
Received: from [193.109.254.147] by server-16.bemta-14.messagelabs.com id
	1C/12-02680-78C9B455; Thu, 07 May 2015 17:10:31 +0000
X-Env-Sender: russell.pavlicek.xen@gmail.com
X-Msg-Ref: server-15.tower-27.messagelabs.com!1431018630!15590625!1
X-Originating-IP: [74.125.82.46]
X-SpamReason: No, hits=2.1 required=7.0 tests=RCVD_BY_IP,
  SUSPICIOUS_RECIPS
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9147 invoked from network); 7 May 2015 17:10:30 -0000
Received: from mail-wg0-f46.google.com (HELO mail-wg0-f46.google.com)
	(74.125.82.46)
	by server-15.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	7 May 2015 17:10:30 -0000
Received: by wgiu9 with SMTP id u9so50092854wgi.3;
	Thu, 07 May 2015 10:10:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=EaRCH7k/UDfGMHNN7ZniwCjEtJOFLM8gvjrPxLJDdpo=;
	b=wucMSsbaYXLhpmhh2qDYV4bwK3ihGP7u8pI1VJM4w5/p1SqSJF8mobQ3qt0jUcXJy0
	xJkj0UZ4FFZ+MjON7adhoY7X/WoIGccr2Km/OGqvi3qBJU+EunR4AGrJNoecbOZtWa0O
	GBZNBvxOmjn1nw9Hiq59xKfD254VLnhHWCk4IOidj7pIRjMWGgNrl18KF1Fbpii3aLZT
	sHFeA015RA1iTOPMw7qFASkFnlHNxyLGRHFN+TV47zW7aj4nI+vSgUX2vzyKQmfqBAGE
	d7bXOeBhEuJM4PDwnVWPV7TRo9QDrvlTF3saUCJ1ATZRoDFfEj0TztoGO7e2DaNHqsJM
	tjLg==
MIME-Version: 1.0
X-Received: by 10.180.81.104 with SMTP id z8mr8468356wix.5.1431018630201; Thu,
	07 May 2015 10:10:30 -0700 (PDT)
Received: by 10.194.163.194 with HTTP; Thu, 7 May 2015 10:10:30 -0700 (PDT)
In-Reply-To: <CAHehzX1qwD8OVcXyGGUERV0+8NMZJ8FPwFcD_SnQfc5Cf_4mDg@mail.gmail.com>
References: <CAHehzX1qwD8OVcXyGGUERV0+8NMZJ8FPwFcD_SnQfc5Cf_4mDg@mail.gmail.com>
Date: Thu, 7 May 2015 13:10:30 -0400
X-Google-Sender-Auth: b-SKJqUhr9yvXL2bRRnKZ9_4AcA
Message-ID: <CAHehzX2-vodW9NdnOOiEhrmnX81u2FeLx+2Prb1VJqmKxf3RbA@mail.gmail.com>
From: Russ Pavlicek <russell.pavlicek@xenproject.org>
To: Russ Pavlicek <russell.pavlicek@xenproject.org>
Cc: xen-api@lists.xen.org, "xen-users@lists.xen.org" <xen-users@lists.xen.org>,
	xs-devel@lists.xenserver.org, mirageos-devel@lists.xenproject.org,
	xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Next Document Day Moved to Wednesday, May 6
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

I want to thank everyone who participated in yesterday's Document Day.

Among other things, we have a new page about "Huge Page Support" which
is taking shape nicely.

And I want to thank Robert Vanvossen and Axel Fontaine who joined in
the effort for the first time.  Thank you!

Don't forget that our next Document Day will be Wednesday, May 27.  I
hope you can join us then!

Russ

On Thu, Apr 23, 2015 at 12:50 PM, Russ Pavlicek
<russell.pavlicek@xenproject.org> wrote:
> Due to the Hackathon next week, our normal April Document Day is
> taking a one week bump to May 6.  If anyone objects to this date,
> please let me know.  Otherwise, we'll allow those attending the
> Hackathon to participate in Document Day upon their return.
>
> All the information you need to participate in Document Day is here:
>
> http://wiki.xenproject.org/wiki/Xen_Document_Days
>
> Also take a look at the current TODO list to see other items which
> need attention:
>
> http://wiki.xenproject.org/wiki/Xen_Document_Days/TODO
>
> Please think about how you can help out.  If you haven't requested
> to be made a Wiki editor, save time and do it now so you are ready to
> go on Document Day.  Just fill out the form below:
>
> http://xenproject.org/component/content/article/100-misc/145-request-to-be-made-a-wiki-editor.html
>
> We hope to see you on Document Day in #xendocs!

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu May 07 17:10:40 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 07 May 2015 17:10:40 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YqPJh-0003XH-LY; Thu, 07 May 2015 17:10:33 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <russell.pavlicek.xen@gmail.com>)
	id 1YqPJg-0003Wo-Ae; Thu, 07 May 2015 17:10:32 +0000
Received: from [193.109.254.147] by server-16.bemta-14.messagelabs.com id
	1C/12-02680-78C9B455; Thu, 07 May 2015 17:10:31 +0000
X-Env-Sender: russell.pavlicek.xen@gmail.com
X-Msg-Ref: server-15.tower-27.messagelabs.com!1431018630!15590625!1
X-Originating-IP: [74.125.82.46]
X-SpamReason: No, hits=2.1 required=7.0 tests=RCVD_BY_IP,
  SUSPICIOUS_RECIPS
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9147 invoked from network); 7 May 2015 17:10:30 -0000
Received: from mail-wg0-f46.google.com (HELO mail-wg0-f46.google.com)
	(74.125.82.46)
	by server-15.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	7 May 2015 17:10:30 -0000
Received: by wgiu9 with SMTP id u9so50092854wgi.3;
	Thu, 07 May 2015 10:10:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=EaRCH7k/UDfGMHNN7ZniwCjEtJOFLM8gvjrPxLJDdpo=;
	b=wucMSsbaYXLhpmhh2qDYV4bwK3ihGP7u8pI1VJM4w5/p1SqSJF8mobQ3qt0jUcXJy0
	xJkj0UZ4FFZ+MjON7adhoY7X/WoIGccr2Km/OGqvi3qBJU+EunR4AGrJNoecbOZtWa0O
	GBZNBvxOmjn1nw9Hiq59xKfD254VLnhHWCk4IOidj7pIRjMWGgNrl18KF1Fbpii3aLZT
	sHFeA015RA1iTOPMw7qFASkFnlHNxyLGRHFN+TV47zW7aj4nI+vSgUX2vzyKQmfqBAGE
	d7bXOeBhEuJM4PDwnVWPV7TRo9QDrvlTF3saUCJ1ATZRoDFfEj0TztoGO7e2DaNHqsJM
	tjLg==
MIME-Version: 1.0
X-Received: by 10.180.81.104 with SMTP id z8mr8468356wix.5.1431018630201; Thu,
	07 May 2015 10:10:30 -0700 (PDT)
Received: by 10.194.163.194 with HTTP; Thu, 7 May 2015 10:10:30 -0700 (PDT)
In-Reply-To: <CAHehzX1qwD8OVcXyGGUERV0+8NMZJ8FPwFcD_SnQfc5Cf_4mDg@mail.gmail.com>
References: <CAHehzX1qwD8OVcXyGGUERV0+8NMZJ8FPwFcD_SnQfc5Cf_4mDg@mail.gmail.com>
Date: Thu, 7 May 2015 13:10:30 -0400
X-Google-Sender-Auth: b-SKJqUhr9yvXL2bRRnKZ9_4AcA
Message-ID: <CAHehzX2-vodW9NdnOOiEhrmnX81u2FeLx+2Prb1VJqmKxf3RbA@mail.gmail.com>
From: Russ Pavlicek <russell.pavlicek@xenproject.org>
To: Russ Pavlicek <russell.pavlicek@xenproject.org>
Cc: xen-api@lists.xen.org, "xen-users@lists.xen.org" <xen-users@lists.xen.org>,
	xs-devel@lists.xenserver.org, mirageos-devel@lists.xenproject.org,
	xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Next Document Day Moved to Wednesday, May 6
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

I want to thank everyone who participated in yesterday's Document Day.

Among other things, we have a new page about "Huge Page Support" which
is taking shape nicely.

And I want to thank Robert Vanvossen and Axel Fontaine who joined in
the effort for the first time.  Thank you!

Don't forget that our next Document Day will be Wednesday, May 27.  I
hope you can join us then!

Russ

On Thu, Apr 23, 2015 at 12:50 PM, Russ Pavlicek
<russell.pavlicek@xenproject.org> wrote:
> Due to the Hackathon next week, our normal April Document Day is
> taking a one week bump to May 6.  If anyone objects to this date,
> please let me know.  Otherwise, we'll allow those attending the
> Hackathon to participate in Document Day upon their return.
>
> All the information you need to participate in Document Day is here:
>
> http://wiki.xenproject.org/wiki/Xen_Document_Days
>
> Also take a look at the current TODO list to see other items which
> need attention:
>
> http://wiki.xenproject.org/wiki/Xen_Document_Days/TODO
>
> Please think about how you can help out.  If you haven't requested
> to be made a Wiki editor, save time and do it now so you are ready to
> go on Document Day.  Just fill out the form below:
>
> http://xenproject.org/component/content/article/100-misc/145-request-to-be-made-a-wiki-editor.html
>
> We hope to see you on Document Day in #xendocs!

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 08 11:09:34 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 08 May 2015 11:09:34 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yqg9m-0003md-27; Fri, 08 May 2015 11:09:26 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <ania.skorupa@yahoo.com>) id 1Yqg9k-0003m5-Su
	for mirageos-devel@lists.xenproject.org; Fri, 08 May 2015 11:09:25 +0000
Received: from [85.158.137.68] by server-7.bemta-3.messagelabs.com id
	39/54-03197-F599C455; Fri, 08 May 2015 11:09:19 +0000
X-Env-Sender: ania.skorupa@yahoo.com
X-Msg-Ref: server-12.tower-31.messagelabs.com!1431083358!13491912!1
X-Originating-IP: [98.139.212.165]
X-SpamReason: No, hits=1.2 required=7.0 tests=FORGED_YAHOO_RCVD,
	HTML_60_70,HTML_MESSAGE,RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26842 invoked from network); 8 May 2015 11:09:19 -0000
Received: from nm6.bullet.mail.bf1.yahoo.com (HELO
	nm6.bullet.mail.bf1.yahoo.com) (98.139.212.165)
	by server-12.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	8 May 2015 11:09:19 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
	t=1431083357; bh=DLrk7WjOpaOvitAm0CPl6OOvzlPMgNGF4rHIgR2EeDM=;
	h=Date:From:Reply-To:To:Subject:From:Subject;
	b=fJtnkD2552TEi4908yIMqXfKAs9ZQM982Ezbhe1sNQsQIurU30cEIqoPo0XdVfzthNUeqiobY/QzsIPwmQMw64c7YguhcDI1Jf2+H/j85Kihm4dX2qLTZo28jlC493KbBMPVNoXTTi4s71mZCJkBowlhc8YTdG6mqHEJgjQBKKfcBZDZ8an7wzWHlmfNKMApCtPjM6hsvMsD1a9lj9ZtnEqAM1X0Ll+tezAho9wpprVoMjNk2ZwQPSH59yw2sUZXix5iRrdAGLxPL3tecvj5WpYOr0yf1Q8caZBjgOEfLqPNUklhTEStuP+xXE7Eew1s88J+2J4o30PU+ncEwhu1rA==
Received: from [66.196.81.171] by nm6.bullet.mail.bf1.yahoo.com with NNFMP;
	08 May 2015 11:09:17 -0000
Received: from [98.139.212.239] by tm17.bullet.mail.bf1.yahoo.com with NNFMP;
	08 May 2015 11:09:17 -0000
Received: from [127.0.0.1] by omp1048.mail.bf1.yahoo.com with NNFMP;
	08 May 2015 11:09:17 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 842369.51853.bm@omp1048.mail.bf1.yahoo.com
X-YMail-OSG: NSE.X10VM1mbVhS0J4SX9VRivTk2KRvne31TVLa0XDj6nIo2i2AwVo0_JSM9OBA
	fWI4kRoYs36MF7vVtuN3vbmiqaXX5gH382NSyfvGNG1VppCEzO6Y4rtGzZnRK8KNrq.EPew79Wrh
	2vAvMPNShT4.yocZs7z7X2LjjytIl900_oYNVXyikxi9i0HFl40MCIHOSoqNDV6d9QBxjfyYBaZA
	_qQgFCa8QOK6V2dwJo7O5rBvppobAjQHheBk5vBqI.jiNVnb56_cb0aIqnFIHJqiv.NhIglk3KsF
	Dazr18KjGfMqDX1mKDn3HOtSkQXksrfji8DmJWLV6Ar0dhDJQz2FtgPsF2BtEW_wXCh46blZL1Vd
	HugJWfpqZok9_GMfLt3K6WOndX6uu5JnXT3HdbPwFNQz4z3PKk6DHx0guiSbalHY9WNYpfIooSRF
	QYgiJdp7a9P2_7.6qgPFeb2RRBzbFKUt461nu34gR1WTUwT_qJMtg3O86
Received: by 66.196.81.117; Fri, 08 May 2015 11:09:17 +0000 
Date: Fri, 8 May 2015 11:09:17 +0000 (UTC)
From: Ania Skorupa <ania.skorupa@yahoo.com>
To: Mirageos-devel <mirageos-devel@lists.xenproject.org>
Message-ID: <513070571.3212424.1431083357151.JavaMail.yahoo@mail.yahoo.com>
MIME-Version: 1.0
Content-Length: 2079
Subject: [MirageOS-devel] Mirage trace viewer on xenserver
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
Reply-To: Ania Skorupa <ania.skorupa@yahoo.com>
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============6825404457907328725=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============6825404457907328725==
Content-Type: multipart/alternative; 
	boundary="----=_Part_3212423_1570111784.1431083357148"
Content-Length: 1536

------=_Part_3212423_1570111784.1431083357148
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi,
How can mirage trace viewer be used on Citrix xenserver? I was trying to ru=
n the binary version (x86_64) on xenserver 6.5.0 but it requires glibc 2.7,=
 while the latest version on xenserver is 2.5. Compiling from source on xen=
server would be a pain.
Any instructions?

Thanks.
=C2=A0
------=_Part_3212423_1570111784.1431083357148
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1431082951246_2468">Hi,</div><div id="yui_3_16_0_1_1431082951246_2491"><br></div><div dir="ltr" id="yui_3_16_0_1_1431082951246_2492">How can mirage trace viewer be used on Citrix xenserver? I was trying to run the binary version (x86_64) on xenserver 6.5.0 but it requires glibc 2.7, while the latest version on xenserver is 2.5. Compiling from source on xenserver would be a pain.</div><div id="yui_3_16_0_1_1431082951246_2735" dir="ltr"><br></div><div id="yui_3_16_0_1_1431082951246_2736" dir="ltr">Any instructions?<br></div><div id="yui_3_16_0_1_1431082951246_2691" dir="ltr"><br></div><div id="yui_3_16_0_1_1431082951246_2692" dir="ltr">Thanks.<br></div><div style="" class="" dir="ltr" id="yui_3_16_0_1_1431082951246_2492">&nbsp;</div></div></body></html>
------=_Part_3212423_1570111784.1431083357148--


--===============6825404457907328725==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============6825404457907328725==--


From mirageos-devel-bounces@lists.xenproject.org Fri May 08 11:09:34 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 08 May 2015 11:09:34 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yqg9m-0003md-27; Fri, 08 May 2015 11:09:26 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <ania.skorupa@yahoo.com>) id 1Yqg9k-0003m5-Su
	for mirageos-devel@lists.xenproject.org; Fri, 08 May 2015 11:09:25 +0000
Received: from [85.158.137.68] by server-7.bemta-3.messagelabs.com id
	39/54-03197-F599C455; Fri, 08 May 2015 11:09:19 +0000
X-Env-Sender: ania.skorupa@yahoo.com
X-Msg-Ref: server-12.tower-31.messagelabs.com!1431083358!13491912!1
X-Originating-IP: [98.139.212.165]
X-SpamReason: No, hits=1.2 required=7.0 tests=FORGED_YAHOO_RCVD,
	HTML_60_70,HTML_MESSAGE,RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26842 invoked from network); 8 May 2015 11:09:19 -0000
Received: from nm6.bullet.mail.bf1.yahoo.com (HELO
	nm6.bullet.mail.bf1.yahoo.com) (98.139.212.165)
	by server-12.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	8 May 2015 11:09:19 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
	t=1431083357; bh=DLrk7WjOpaOvitAm0CPl6OOvzlPMgNGF4rHIgR2EeDM=;
	h=Date:From:Reply-To:To:Subject:From:Subject;
	b=fJtnkD2552TEi4908yIMqXfKAs9ZQM982Ezbhe1sNQsQIurU30cEIqoPo0XdVfzthNUeqiobY/QzsIPwmQMw64c7YguhcDI1Jf2+H/j85Kihm4dX2qLTZo28jlC493KbBMPVNoXTTi4s71mZCJkBowlhc8YTdG6mqHEJgjQBKKfcBZDZ8an7wzWHlmfNKMApCtPjM6hsvMsD1a9lj9ZtnEqAM1X0Ll+tezAho9wpprVoMjNk2ZwQPSH59yw2sUZXix5iRrdAGLxPL3tecvj5WpYOr0yf1Q8caZBjgOEfLqPNUklhTEStuP+xXE7Eew1s88J+2J4o30PU+ncEwhu1rA==
Received: from [66.196.81.171] by nm6.bullet.mail.bf1.yahoo.com with NNFMP;
	08 May 2015 11:09:17 -0000
Received: from [98.139.212.239] by tm17.bullet.mail.bf1.yahoo.com with NNFMP;
	08 May 2015 11:09:17 -0000
Received: from [127.0.0.1] by omp1048.mail.bf1.yahoo.com with NNFMP;
	08 May 2015 11:09:17 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 842369.51853.bm@omp1048.mail.bf1.yahoo.com
X-YMail-OSG: NSE.X10VM1mbVhS0J4SX9VRivTk2KRvne31TVLa0XDj6nIo2i2AwVo0_JSM9OBA
	fWI4kRoYs36MF7vVtuN3vbmiqaXX5gH382NSyfvGNG1VppCEzO6Y4rtGzZnRK8KNrq.EPew79Wrh
	2vAvMPNShT4.yocZs7z7X2LjjytIl900_oYNVXyikxi9i0HFl40MCIHOSoqNDV6d9QBxjfyYBaZA
	_qQgFCa8QOK6V2dwJo7O5rBvppobAjQHheBk5vBqI.jiNVnb56_cb0aIqnFIHJqiv.NhIglk3KsF
	Dazr18KjGfMqDX1mKDn3HOtSkQXksrfji8DmJWLV6Ar0dhDJQz2FtgPsF2BtEW_wXCh46blZL1Vd
	HugJWfpqZok9_GMfLt3K6WOndX6uu5JnXT3HdbPwFNQz4z3PKk6DHx0guiSbalHY9WNYpfIooSRF
	QYgiJdp7a9P2_7.6qgPFeb2RRBzbFKUt461nu34gR1WTUwT_qJMtg3O86
Received: by 66.196.81.117; Fri, 08 May 2015 11:09:17 +0000 
Date: Fri, 8 May 2015 11:09:17 +0000 (UTC)
From: Ania Skorupa <ania.skorupa@yahoo.com>
To: Mirageos-devel <mirageos-devel@lists.xenproject.org>
Message-ID: <513070571.3212424.1431083357151.JavaMail.yahoo@mail.yahoo.com>
MIME-Version: 1.0
Content-Length: 2079
Subject: [MirageOS-devel] Mirage trace viewer on xenserver
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
Reply-To: Ania Skorupa <ania.skorupa@yahoo.com>
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============6825404457907328725=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============6825404457907328725==
Content-Type: multipart/alternative; 
	boundary="----=_Part_3212423_1570111784.1431083357148"
Content-Length: 1536

------=_Part_3212423_1570111784.1431083357148
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi,
How can mirage trace viewer be used on Citrix xenserver? I was trying to ru=
n the binary version (x86_64) on xenserver 6.5.0 but it requires glibc 2.7,=
 while the latest version on xenserver is 2.5. Compiling from source on xen=
server would be a pain.
Any instructions?

Thanks.
=C2=A0
------=_Part_3212423_1570111784.1431083357148
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1431082951246_2468">Hi,</div><div id="yui_3_16_0_1_1431082951246_2491"><br></div><div dir="ltr" id="yui_3_16_0_1_1431082951246_2492">How can mirage trace viewer be used on Citrix xenserver? I was trying to run the binary version (x86_64) on xenserver 6.5.0 but it requires glibc 2.7, while the latest version on xenserver is 2.5. Compiling from source on xenserver would be a pain.</div><div id="yui_3_16_0_1_1431082951246_2735" dir="ltr"><br></div><div id="yui_3_16_0_1_1431082951246_2736" dir="ltr">Any instructions?<br></div><div id="yui_3_16_0_1_1431082951246_2691" dir="ltr"><br></div><div id="yui_3_16_0_1_1431082951246_2692" dir="ltr">Thanks.<br></div><div style="" class="" dir="ltr" id="yui_3_16_0_1_1431082951246_2492">&nbsp;</div></div></body></html>
------=_Part_3212423_1570111784.1431083357148--


--===============6825404457907328725==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============6825404457907328725==--


From mirageos-devel-bounces@lists.xenproject.org Mon May 11 00:23:16 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 11 May 2015 00:23:16 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YrbUw-0007iC-0Y; Mon, 11 May 2015 00:23:06 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YrbUu-0007i7-Mq
	for mirageos-devel@lists.xenproject.org; Mon, 11 May 2015 00:23:04 +0000
Received: from [193.109.254.147] by server-8.bemta-14.messagelabs.com id
	E1/47-03204-766FF455; Mon, 11 May 2015 00:23:03 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-13.tower-27.messagelabs.com!1431303782!16304198!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.5 required=7.0 tests=HTML_60_70,HTML_MESSAGE,
	RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 29014 invoked from network); 11 May 2015 00:23:02 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-13.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 11 May 2015 00:23:02 -0000
Received: from [10.1.2.99] (mail.cando-online.com [65.242.170.122]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id c23974cb;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Mon, 11 May 2015 01:23:01 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <513070571.3212424.1431083357151.JavaMail.yahoo@mail.yahoo.com>
Date: Sun, 10 May 2015 20:22:47 -0400
Message-Id: <82D5179E-06AE-4E14-9BF3-B1356A136665@recoil.org>
References: <513070571.3212424.1431083357151.JavaMail.yahoo@mail.yahoo.com>
To: Ania Skorupa <ania.skorupa@yahoo.com>
X-Mailer: Apple Mail (2.2098)
Cc: Mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Mirage trace viewer on xenserver
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5404336855833103539=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============5404336855833103539==
Content-Type: multipart/alternative; boundary="Apple-Mail=_1CB107F4-E02F-499F-8FDF-B2F9B9F64271"


--Apple-Mail=_1CB107F4-E02F-499F-8FDF-B2F9B9F64271
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Hi Ania,

There's no binary of the trace viewer for CentOS 5, but it should be =
possible to bootstrap OPAM using OCaml 3.12.1 and CentOS 5.

Dave, Jon, do you already do this?  It would be very useful to have some =
of the debugging tools available more easily in the dom0 (since running =
them in a VM right now isn't the easiest thing).

Anil

> On 8 May 2015, at 07:09, Ania Skorupa <ania.skorupa@yahoo.com> wrote:
>=20
> Hi,
>=20
> How can mirage trace viewer be used on Citrix xenserver? I was trying =
to run the binary version (x86_64) on xenserver 6.5.0 but it requires =
glibc 2.7, while the latest version on xenserver is 2.5. Compiling from =
source on xenserver would be a pain.
>=20
> Any instructions?
>=20
> Thanks.
> =20
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


--Apple-Mail=_1CB107F4-E02F-499F-8FDF-B2F9B9F64271
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Hi Ania,<div class=3D""><br class=3D""></div><div =
class=3D"">There's no binary of the trace viewer for CentOS 5, but it =
should be possible to bootstrap OPAM using OCaml 3.12.1 and CentOS =
5.</div><div class=3D""><br class=3D""></div><div class=3D"">Dave, Jon, =
do you already do this? &nbsp;It would be very useful to have some of =
the debugging tools available more easily in the dom0 (since running =
them in a VM right now isn't the easiest thing).</div><div class=3D""><br =
class=3D""></div><div class=3D"">Anil</div><div class=3D""><br =
class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D"">On =
8 May 2015, at 07:09, Ania Skorupa &lt;<a =
href=3D"mailto:ania.skorupa@yahoo.com" =
class=3D"">ania.skorupa@yahoo.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div class=3D""><div =
style=3D"background-color: rgb(255, 255, 255); font-family: =
HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', =
sans-serif; font-size: 16px;" class=3D""><div =
id=3D"yui_3_16_0_1_1431082951246_2468" class=3D"">Hi,</div><div =
id=3D"yui_3_16_0_1_1431082951246_2491" class=3D""><br =
class=3D""></div><div dir=3D"ltr" id=3D"yui_3_16_0_1_1431082951246_2492" =
class=3D"">How can mirage trace viewer be used on Citrix xenserver? I =
was trying to run the binary version (x86_64) on xenserver 6.5.0 but it =
requires glibc 2.7, while the latest version on xenserver is 2.5. =
Compiling from source on xenserver would be a pain.</div><div =
id=3D"yui_3_16_0_1_1431082951246_2735" dir=3D"ltr" class=3D""><br =
class=3D""></div><div id=3D"yui_3_16_0_1_1431082951246_2736" dir=3D"ltr" =
class=3D"">Any instructions?<br class=3D""></div><div =
id=3D"yui_3_16_0_1_1431082951246_2691" dir=3D"ltr" class=3D""><br =
class=3D""></div><div id=3D"yui_3_16_0_1_1431082951246_2692" dir=3D"ltr" =
class=3D"">Thanks.<br class=3D""></div><div style=3D"" class=3D"" =
dir=3D"ltr" =
id=3D"yui_3_16_0_1_1431082951246_2492">&nbsp;</div></div></div>___________=
____________________________________<br class=3D"">MirageOS-devel =
mailing list<br class=3D""><a =
href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
class=3D"">MirageOS-devel@lists.xenproject.org</a><br =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel<br class=3D""></div></blockquote></div><br =
class=3D""></div></body></html>=

--Apple-Mail=_1CB107F4-E02F-499F-8FDF-B2F9B9F64271--


--===============5404336855833103539==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============5404336855833103539==--


From mirageos-devel-bounces@lists.xenproject.org Mon May 11 00:23:16 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 11 May 2015 00:23:16 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YrbUw-0007iC-0Y; Mon, 11 May 2015 00:23:06 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YrbUu-0007i7-Mq
	for mirageos-devel@lists.xenproject.org; Mon, 11 May 2015 00:23:04 +0000
Received: from [193.109.254.147] by server-8.bemta-14.messagelabs.com id
	E1/47-03204-766FF455; Mon, 11 May 2015 00:23:03 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-13.tower-27.messagelabs.com!1431303782!16304198!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.5 required=7.0 tests=HTML_60_70,HTML_MESSAGE,
	RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 29014 invoked from network); 11 May 2015 00:23:02 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-13.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 11 May 2015 00:23:02 -0000
Received: from [10.1.2.99] (mail.cando-online.com [65.242.170.122]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id c23974cb;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Mon, 11 May 2015 01:23:01 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <513070571.3212424.1431083357151.JavaMail.yahoo@mail.yahoo.com>
Date: Sun, 10 May 2015 20:22:47 -0400
Message-Id: <82D5179E-06AE-4E14-9BF3-B1356A136665@recoil.org>
References: <513070571.3212424.1431083357151.JavaMail.yahoo@mail.yahoo.com>
To: Ania Skorupa <ania.skorupa@yahoo.com>
X-Mailer: Apple Mail (2.2098)
Cc: Mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Mirage trace viewer on xenserver
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5404336855833103539=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============5404336855833103539==
Content-Type: multipart/alternative; boundary="Apple-Mail=_1CB107F4-E02F-499F-8FDF-B2F9B9F64271"


--Apple-Mail=_1CB107F4-E02F-499F-8FDF-B2F9B9F64271
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Hi Ania,

There's no binary of the trace viewer for CentOS 5, but it should be =
possible to bootstrap OPAM using OCaml 3.12.1 and CentOS 5.

Dave, Jon, do you already do this?  It would be very useful to have some =
of the debugging tools available more easily in the dom0 (since running =
them in a VM right now isn't the easiest thing).

Anil

> On 8 May 2015, at 07:09, Ania Skorupa <ania.skorupa@yahoo.com> wrote:
>=20
> Hi,
>=20
> How can mirage trace viewer be used on Citrix xenserver? I was trying =
to run the binary version (x86_64) on xenserver 6.5.0 but it requires =
glibc 2.7, while the latest version on xenserver is 2.5. Compiling from =
source on xenserver would be a pain.
>=20
> Any instructions?
>=20
> Thanks.
> =20
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


--Apple-Mail=_1CB107F4-E02F-499F-8FDF-B2F9B9F64271
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Hi Ania,<div class=3D""><br class=3D""></div><div =
class=3D"">There's no binary of the trace viewer for CentOS 5, but it =
should be possible to bootstrap OPAM using OCaml 3.12.1 and CentOS =
5.</div><div class=3D""><br class=3D""></div><div class=3D"">Dave, Jon, =
do you already do this? &nbsp;It would be very useful to have some of =
the debugging tools available more easily in the dom0 (since running =
them in a VM right now isn't the easiest thing).</div><div class=3D""><br =
class=3D""></div><div class=3D"">Anil</div><div class=3D""><br =
class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D"">On =
8 May 2015, at 07:09, Ania Skorupa &lt;<a =
href=3D"mailto:ania.skorupa@yahoo.com" =
class=3D"">ania.skorupa@yahoo.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div class=3D""><div =
style=3D"background-color: rgb(255, 255, 255); font-family: =
HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', =
sans-serif; font-size: 16px;" class=3D""><div =
id=3D"yui_3_16_0_1_1431082951246_2468" class=3D"">Hi,</div><div =
id=3D"yui_3_16_0_1_1431082951246_2491" class=3D""><br =
class=3D""></div><div dir=3D"ltr" id=3D"yui_3_16_0_1_1431082951246_2492" =
class=3D"">How can mirage trace viewer be used on Citrix xenserver? I =
was trying to run the binary version (x86_64) on xenserver 6.5.0 but it =
requires glibc 2.7, while the latest version on xenserver is 2.5. =
Compiling from source on xenserver would be a pain.</div><div =
id=3D"yui_3_16_0_1_1431082951246_2735" dir=3D"ltr" class=3D""><br =
class=3D""></div><div id=3D"yui_3_16_0_1_1431082951246_2736" dir=3D"ltr" =
class=3D"">Any instructions?<br class=3D""></div><div =
id=3D"yui_3_16_0_1_1431082951246_2691" dir=3D"ltr" class=3D""><br =
class=3D""></div><div id=3D"yui_3_16_0_1_1431082951246_2692" dir=3D"ltr" =
class=3D"">Thanks.<br class=3D""></div><div style=3D"" class=3D"" =
dir=3D"ltr" =
id=3D"yui_3_16_0_1_1431082951246_2492">&nbsp;</div></div></div>___________=
____________________________________<br class=3D"">MirageOS-devel =
mailing list<br class=3D""><a =
href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
class=3D"">MirageOS-devel@lists.xenproject.org</a><br =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel<br class=3D""></div></blockquote></div><br =
class=3D""></div></body></html>=

--Apple-Mail=_1CB107F4-E02F-499F-8FDF-B2F9B9F64271--


--===============5404336855833103539==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============5404336855833103539==--


From mirageos-devel-bounces@lists.xenproject.org Mon May 11 00:56:30 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 11 May 2015 00:56:30 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yrc1C-00007j-J2; Mon, 11 May 2015 00:56:26 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1Yrc1B-00007e-DM
	for mirageos-devel@lists.xenproject.org; Mon, 11 May 2015 00:56:25 +0000
Received: from [193.109.254.147] by server-14.bemta-14.messagelabs.com id
	71/74-02788-83EFF455; Mon, 11 May 2015 00:56:24 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-16.tower-27.messagelabs.com!1431305783!8697825!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 20381 invoked from network); 11 May 2015 00:56:23 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-16.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 11 May 2015 00:56:23 -0000
Received: from [10.1.2.99] (mail.cando-online.com [65.242.170.122]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id ab650cb6;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Mon, 11 May 2015 01:56:22 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAG4opy8Kj1qReKYs2kfvoodAL9Tre+7JfZM9c-z4SuiHHJ_PGw@mail.gmail.com>
Date: Sun, 10 May 2015 20:56:07 -0400
Message-Id: <CAC31103-C78B-4908-88AA-BAB6CFFFFAFE@recoil.org>
References: <DC5E0619-718D-4A85-A240-A0DD3FA0E118@recoil.org>
	<6D262DFB-EA5C-44CB-A908-FD0E28F7995D@citrix.com>
	<25D2AE7E-764E-44AE-B91E-AF0C5482D50B@recoil.org>
	<CAG4opy8Kj1qReKYs2kfvoodAL9Tre+7JfZM9c-z4SuiHHJ_PGw@mail.gmail.com>
To: Thomas Leonard <talex5@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: David Scott <Dave.Scott@citrix.com>, "mirageos-devel@lists.xenproject.org"
	<mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] github xen git mirror
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 7 May 2015, at 08:44, Thomas Leonard <talex5@gmail.com> wrote:
> 
> On 28 October 2014 at 21:45, Anil Madhavapeddy <anil@recoil.org> wrote:
>> On 26 May 2014, at 11:37, Dave Scott <Dave.Scott@citrix.com> wrote:
>>> 
>>> 
>>> On 26 May 2014, at 11:31, Anil Madhavapeddy <anil@recoil.org> wrote:
>>> 
>>>> A bunch of us now have our own GitHub mirrors of Xen, so it's a good idea to have a proper mirror repository to fork from instead.
>>>> 
>>>> Dave, I noticed your mirror scripts on mirage/xen have stopped.  Do you mind if I take that over and setup a cron job for it from the bactrian bot?
>>> 
>>> Oops, I lost those when I reinstalled the box they were running on.
>>> 
>>> Feel free to run cron somewhere else!
>> 
>> This is now running as an hourly cronjob on blobs.openmirage.org and mirroring to:
>> 
>>   https://github.com/mirage/xen
>> 
>> Thomas(L), we could also extend the cron mirroring to split out MiniOS in the future via git-filter-branch, if we need that to split out MiniOS in the future.
> 
> Mini-OS now has its own repository. Can we get a mirror of that too?
> 
>  http://xenbits.xen.org/gitweb/?p=mini-os.git;a=summary

Now setup at:

https://github.com/mirage/mini-os

and synching hourly from upstream, just as the existing Xen mirror does.

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon May 11 00:56:30 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 11 May 2015 00:56:30 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yrc1C-00007j-J2; Mon, 11 May 2015 00:56:26 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1Yrc1B-00007e-DM
	for mirageos-devel@lists.xenproject.org; Mon, 11 May 2015 00:56:25 +0000
Received: from [193.109.254.147] by server-14.bemta-14.messagelabs.com id
	71/74-02788-83EFF455; Mon, 11 May 2015 00:56:24 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-16.tower-27.messagelabs.com!1431305783!8697825!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 20381 invoked from network); 11 May 2015 00:56:23 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-16.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 11 May 2015 00:56:23 -0000
Received: from [10.1.2.99] (mail.cando-online.com [65.242.170.122]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id ab650cb6;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Mon, 11 May 2015 01:56:22 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAG4opy8Kj1qReKYs2kfvoodAL9Tre+7JfZM9c-z4SuiHHJ_PGw@mail.gmail.com>
Date: Sun, 10 May 2015 20:56:07 -0400
Message-Id: <CAC31103-C78B-4908-88AA-BAB6CFFFFAFE@recoil.org>
References: <DC5E0619-718D-4A85-A240-A0DD3FA0E118@recoil.org>
	<6D262DFB-EA5C-44CB-A908-FD0E28F7995D@citrix.com>
	<25D2AE7E-764E-44AE-B91E-AF0C5482D50B@recoil.org>
	<CAG4opy8Kj1qReKYs2kfvoodAL9Tre+7JfZM9c-z4SuiHHJ_PGw@mail.gmail.com>
To: Thomas Leonard <talex5@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: David Scott <Dave.Scott@citrix.com>, "mirageos-devel@lists.xenproject.org"
	<mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] github xen git mirror
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 7 May 2015, at 08:44, Thomas Leonard <talex5@gmail.com> wrote:
> 
> On 28 October 2014 at 21:45, Anil Madhavapeddy <anil@recoil.org> wrote:
>> On 26 May 2014, at 11:37, Dave Scott <Dave.Scott@citrix.com> wrote:
>>> 
>>> 
>>> On 26 May 2014, at 11:31, Anil Madhavapeddy <anil@recoil.org> wrote:
>>> 
>>>> A bunch of us now have our own GitHub mirrors of Xen, so it's a good idea to have a proper mirror repository to fork from instead.
>>>> 
>>>> Dave, I noticed your mirror scripts on mirage/xen have stopped.  Do you mind if I take that over and setup a cron job for it from the bactrian bot?
>>> 
>>> Oops, I lost those when I reinstalled the box they were running on.
>>> 
>>> Feel free to run cron somewhere else!
>> 
>> This is now running as an hourly cronjob on blobs.openmirage.org and mirroring to:
>> 
>>   https://github.com/mirage/xen
>> 
>> Thomas(L), we could also extend the cron mirroring to split out MiniOS in the future via git-filter-branch, if we need that to split out MiniOS in the future.
> 
> Mini-OS now has its own repository. Can we get a mirror of that too?
> 
>  http://xenbits.xen.org/gitweb/?p=mini-os.git;a=summary

Now setup at:

https://github.com/mirage/mini-os

and synching hourly from upstream, just as the existing Xen mirror does.

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon May 11 08:25:10 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 11 May 2015 08:25:10 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yrj1J-00070E-1N; Mon, 11 May 2015 08:25:01 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1Yrj1H-000709-Nn
	for mirageos-devel@lists.xenproject.org; Mon, 11 May 2015 08:24:59 +0000
Received: from [193.109.254.147] by server-15.bemta-14.messagelabs.com id
	76/F6-02796-A5760555; Mon, 11 May 2015 08:24:58 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-16.tower-27.messagelabs.com!1431332696!8782649!1
X-Originating-IP: [209.85.217.174]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 10551 invoked from network); 11 May 2015 08:24:57 -0000
Received: from mail-lb0-f174.google.com (HELO mail-lb0-f174.google.com)
	(209.85.217.174)
	by server-16.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	11 May 2015 08:24:57 -0000
Received: by lbcga7 with SMTP id ga7so88716194lbc.1
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 11 May 2015 01:24:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=6n0gijxomBDyNOZiPvil9Qy21++3k9OlwDUIfcJiRNg=;
	b=nauGhKSGYb54rTsQlXBpQuH+btvo5Bhd8OfxDUKO3qA4XWp9Opzi7N1U+NLos8m/Qi
	XkcQ7HdKvf4mahFMmfvBO/0b/x0MC+jh0b+gN5ZdIeI0p848Lsww45qDDJs4BMK6fZhn
	u+NYZtVa5xxlWchoJLp+hVWSZDUQrLTn5F4nvyxRGmy+gpnrVNr6jOGwMwIzD5SrXQWB
	WWT4lS013g8qcCUXf1BfdNQbUVIG4Nh+MCYEuZl6zflqIsX1LXJWzMWLmKF23KWK9/KT
	F8E0xzoEaztv4C8marMO4Uw7xYkZ6cxI9CVqlcdIw3ALZ1D5xhKE19LQZjcRlCxzjsAP
	Yiig==
MIME-Version: 1.0
X-Received: by 10.153.7.104 with SMTP id db8mr7342017lad.124.1431332289448;
	Mon, 11 May 2015 01:18:09 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Mon, 11 May 2015 01:18:09 -0700 (PDT)
In-Reply-To: <CAC31103-C78B-4908-88AA-BAB6CFFFFAFE@recoil.org>
References: <DC5E0619-718D-4A85-A240-A0DD3FA0E118@recoil.org>
	<6D262DFB-EA5C-44CB-A908-FD0E28F7995D@citrix.com>
	<25D2AE7E-764E-44AE-B91E-AF0C5482D50B@recoil.org>
	<CAG4opy8Kj1qReKYs2kfvoodAL9Tre+7JfZM9c-z4SuiHHJ_PGw@mail.gmail.com>
	<CAC31103-C78B-4908-88AA-BAB6CFFFFAFE@recoil.org>
Date: Mon, 11 May 2015 09:18:09 +0100
Message-ID: <CAG4opy8gc3JUB0q=exT1L_UuudU=4XG0qvx3aFDBoAM-xyp7sg@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: David Scott <Dave.Scott@citrix.com>, "mirageos-devel@lists.xenproject.org"
	<mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] github xen git mirror
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 11 May 2015 at 01:56, Anil Madhavapeddy <anil@recoil.org> wrote:
> On 7 May 2015, at 08:44, Thomas Leonard <talex5@gmail.com> wrote:
>>
>> On 28 October 2014 at 21:45, Anil Madhavapeddy <anil@recoil.org> wrote:
>>> On 26 May 2014, at 11:37, Dave Scott <Dave.Scott@citrix.com> wrote:
>>>>
>>>>
>>>> On 26 May 2014, at 11:31, Anil Madhavapeddy <anil@recoil.org> wrote:
>>>>
>>>>> A bunch of us now have our own GitHub mirrors of Xen, so it's a good idea to have a proper mirror repository to fork from instead.
>>>>>
>>>>> Dave, I noticed your mirror scripts on mirage/xen have stopped.  Do you mind if I take that over and setup a cron job for it from the bactrian bot?
>>>>
>>>> Oops, I lost those when I reinstalled the box they were running on.
>>>>
>>>> Feel free to run cron somewhere else!
>>>
>>> This is now running as an hourly cronjob on blobs.openmirage.org and mirroring to:
>>>
>>>   https://github.com/mirage/xen
>>>
>>> Thomas(L), we could also extend the cron mirroring to split out MiniOS in the future via git-filter-branch, if we need that to split out MiniOS in the future.
>>
>> Mini-OS now has its own repository. Can we get a mirror of that too?
>>
>>  http://xenbits.xen.org/gitweb/?p=mini-os.git;a=summary
>
> Now setup at:
>
> https://github.com/mirage/mini-os
>
> and synching hourly from upstream, just as the existing Xen mirror does.

Thanks! I've rebased my "devel" branch (with the ARM support) from the
Xen repository to a fork of the new Mini-OS repository (now on
"master"):

  https://github.com/talex5/mini-os

You should be able to build and install with:

git clone https://github.com/talex5/mini-os.git
cd mini-os
git submodule update --init
make install PREFIX=`opam config var prefix`


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon May 11 08:25:10 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 11 May 2015 08:25:10 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yrj1J-00070E-1N; Mon, 11 May 2015 08:25:01 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1Yrj1H-000709-Nn
	for mirageos-devel@lists.xenproject.org; Mon, 11 May 2015 08:24:59 +0000
Received: from [193.109.254.147] by server-15.bemta-14.messagelabs.com id
	76/F6-02796-A5760555; Mon, 11 May 2015 08:24:58 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-16.tower-27.messagelabs.com!1431332696!8782649!1
X-Originating-IP: [209.85.217.174]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 10551 invoked from network); 11 May 2015 08:24:57 -0000
Received: from mail-lb0-f174.google.com (HELO mail-lb0-f174.google.com)
	(209.85.217.174)
	by server-16.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	11 May 2015 08:24:57 -0000
Received: by lbcga7 with SMTP id ga7so88716194lbc.1
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 11 May 2015 01:24:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=6n0gijxomBDyNOZiPvil9Qy21++3k9OlwDUIfcJiRNg=;
	b=nauGhKSGYb54rTsQlXBpQuH+btvo5Bhd8OfxDUKO3qA4XWp9Opzi7N1U+NLos8m/Qi
	XkcQ7HdKvf4mahFMmfvBO/0b/x0MC+jh0b+gN5ZdIeI0p848Lsww45qDDJs4BMK6fZhn
	u+NYZtVa5xxlWchoJLp+hVWSZDUQrLTn5F4nvyxRGmy+gpnrVNr6jOGwMwIzD5SrXQWB
	WWT4lS013g8qcCUXf1BfdNQbUVIG4Nh+MCYEuZl6zflqIsX1LXJWzMWLmKF23KWK9/KT
	F8E0xzoEaztv4C8marMO4Uw7xYkZ6cxI9CVqlcdIw3ALZ1D5xhKE19LQZjcRlCxzjsAP
	Yiig==
MIME-Version: 1.0
X-Received: by 10.153.7.104 with SMTP id db8mr7342017lad.124.1431332289448;
	Mon, 11 May 2015 01:18:09 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Mon, 11 May 2015 01:18:09 -0700 (PDT)
In-Reply-To: <CAC31103-C78B-4908-88AA-BAB6CFFFFAFE@recoil.org>
References: <DC5E0619-718D-4A85-A240-A0DD3FA0E118@recoil.org>
	<6D262DFB-EA5C-44CB-A908-FD0E28F7995D@citrix.com>
	<25D2AE7E-764E-44AE-B91E-AF0C5482D50B@recoil.org>
	<CAG4opy8Kj1qReKYs2kfvoodAL9Tre+7JfZM9c-z4SuiHHJ_PGw@mail.gmail.com>
	<CAC31103-C78B-4908-88AA-BAB6CFFFFAFE@recoil.org>
Date: Mon, 11 May 2015 09:18:09 +0100
Message-ID: <CAG4opy8gc3JUB0q=exT1L_UuudU=4XG0qvx3aFDBoAM-xyp7sg@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: David Scott <Dave.Scott@citrix.com>, "mirageos-devel@lists.xenproject.org"
	<mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] github xen git mirror
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 11 May 2015 at 01:56, Anil Madhavapeddy <anil@recoil.org> wrote:
> On 7 May 2015, at 08:44, Thomas Leonard <talex5@gmail.com> wrote:
>>
>> On 28 October 2014 at 21:45, Anil Madhavapeddy <anil@recoil.org> wrote:
>>> On 26 May 2014, at 11:37, Dave Scott <Dave.Scott@citrix.com> wrote:
>>>>
>>>>
>>>> On 26 May 2014, at 11:31, Anil Madhavapeddy <anil@recoil.org> wrote:
>>>>
>>>>> A bunch of us now have our own GitHub mirrors of Xen, so it's a good idea to have a proper mirror repository to fork from instead.
>>>>>
>>>>> Dave, I noticed your mirror scripts on mirage/xen have stopped.  Do you mind if I take that over and setup a cron job for it from the bactrian bot?
>>>>
>>>> Oops, I lost those when I reinstalled the box they were running on.
>>>>
>>>> Feel free to run cron somewhere else!
>>>
>>> This is now running as an hourly cronjob on blobs.openmirage.org and mirroring to:
>>>
>>>   https://github.com/mirage/xen
>>>
>>> Thomas(L), we could also extend the cron mirroring to split out MiniOS in the future via git-filter-branch, if we need that to split out MiniOS in the future.
>>
>> Mini-OS now has its own repository. Can we get a mirror of that too?
>>
>>  http://xenbits.xen.org/gitweb/?p=mini-os.git;a=summary
>
> Now setup at:
>
> https://github.com/mirage/mini-os
>
> and synching hourly from upstream, just as the existing Xen mirror does.

Thanks! I've rebased my "devel" branch (with the ARM support) from the
Xen repository to a fork of the new Mini-OS repository (now on
"master"):

  https://github.com/talex5/mini-os

You should be able to build and install with:

git clone https://github.com/talex5/mini-os.git
cd mini-os
git submodule update --init
make install PREFIX=`opam config var prefix`


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon May 11 10:07:07 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 11 May 2015 10:07:07 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yrkc0-0008S7-CG; Mon, 11 May 2015 10:07:00 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <buzzheavyyear@hotmail.com>) id 1Yrkbz-0008Rs-CD
	for mirageos-devel@lists.xenproject.org; Mon, 11 May 2015 10:06:59 +0000
Received: from [85.158.139.211] by server-12.bemta-5.messagelabs.com id
	30/B2-02782-24F70555; Mon, 11 May 2015 10:06:58 +0000
X-Env-Sender: buzzheavyyear@hotmail.com
X-Msg-Ref: server-7.tower-206.messagelabs.com!1431338817!14026206!1
X-Originating-IP: [157.55.2.39]
X-SpamReason: No, hits=1.0 required=7.0 tests=FORGED_HOTMAIL_RCVD,
	HTML_10_20,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 13645 invoked from network); 11 May 2015 10:06:57 -0000
Received: from dub004-omc3s30.hotmail.com (HELO DUB004-OMC3S30.hotmail.com)
	(157.55.2.39)
	by server-7.tower-206.messagelabs.com with AES256-SHA encrypted SMTP;
	11 May 2015 10:06:57 -0000
Received: from DUB128-W30 ([157.55.2.8]) by DUB004-OMC3S30.hotmail.com over
	TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); 
	Mon, 11 May 2015 03:06:57 -0700
X-TMN: [ONNWdndvtx6xNnYIXPoZUE7B1GgcnxvC]
X-Originating-Email: [buzzheavyyear@hotmail.com]
Message-ID: <DUB128-W30E699593E90F888ACF93DB4DB0@phx.gbl>
From: Nick Betteridge <buzzheavyyear@hotmail.com>
To: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Date: Mon, 11 May 2015 10:06:55 +0000
Importance: Normal
MIME-Version: 1.0
X-OriginalArrivalTime: 11 May 2015 10:06:57.0169 (UTC)
	FILETIME=[36C00010:01D08BD2]
Subject: [MirageOS-devel] simple dns server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============3654395834968276288=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============3654395834968276288==
Content-Type: multipart/alternative;
	boundary="_5966cef6-4e55-4ed8-9973-cb606c4cebd1_"

--_5966cef6-4e55-4ed8-9973-cb606c4cebd1_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello

I'm trying to get the simple dns server to work that Heidi has in her examp=
les (github.com/heidi-ann/ocaml-dns-examples) and I'm getting an error whic=
h I don't really understand - it's occurs both on the cubieboard and my amd=
64 desktop:

[amd64]
$ sudo ./mir-dns
Manager: connect
plugging into tap0 with mac c2:9d:56:19:d7:2c..
Netif: connect tap0
Manager: connect
Manager: configuring
Manager: configuring
Netif: error=2C terminating listen loop
Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.254]

Manager: socket config currently ignored (TODO)
ARP: sending gratuitous from 192.168.1.2
Manager: configuration done
Warning (<string> line 47): Converting MD to MX
Warning (<string> line 48): Converting MF to MX
Error (<string> line 54): udp is not a known IP protocol
Error (<string> line 56): unknown service "chargen" for protocol 6
Warning (<string> line 47): Converting MD to MX
Warning (<string> line 48): Converting MF to MX
Error (<string> line 54): udp is not a known IP protocol
Error (<string> line 56): unknown service "chargen" for protocol 6
Netif: error=2C terminating listen loop

[cubieboard2]
$ sudo ./mir-dns
plugging into tap0 with mac c2:9d:56:19:d7:2c..
Netif: connect tap0
Manager: connect
Manager: connect
Manager: configuring
Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.1]

ARP: sending gratuitous from 192.168.1.2
Manager: configuration done
Manager: configuring
Warning (<string> line 47): Converting MD to MX
Warning (<string> line 48): Converting MF to MX
Error (<string> line 54): udp is not a known IP protocol
Error (<string> line 56): unknown service "chargen" for protocol 6
Manager: socket config currently ignored (TODO)
Warning (<string> line 47): Converting MD to MX
Warning (<string> line 48): Converting MF to MX
Error (<string> line 54): udp is not a known IP protocol
Error (<string> line 56): unknown service "chargen" for protocol 6


Does anyone have any idea how I can move forward on this?

Thanks
Nick
 		 	   		  =

--_5966cef6-4e55-4ed8-9973-cb606c4cebd1_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 12pt=3B
font-family:Calibri
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>Hello<br><br>I'm trying to get t=
he simple dns server to work that Heidi has in her examples (github.com/hei=
di-ann/ocaml-dns-examples) and I'm getting an error which I don't really un=
derstand - it's occurs both on the cubieboard and my amd64 desktop:<br><br>=
[amd64]<br>$ sudo ./mir-dns<br>Manager: connect<br>plugging into tap0 with =
mac c2:9d:56:19:d7:2c..<br>Netif: connect tap0<br>Manager: connect<br>Manag=
er: configuring<br>Manager: configuring<br>Netif: error=2C terminating list=
en loop<br>Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1=
.254]<br><br>Manager: socket config currently ignored (TODO)<br>ARP: sendin=
g gratuitous from 192.168.1.2<br>Manager: configuration done<br>Warning (&l=
t=3Bstring&gt=3B line 47): Converting MD to MX<br>Warning (&lt=3Bstring&gt=
=3B line 48): Converting MF to MX<br>Error (&lt=3Bstring&gt=3B line 54): ud=
p is not a known IP protocol<br>Error (&lt=3Bstring&gt=3B line 56): unknown=
 service "chargen" for protocol 6<br>Warning (&lt=3Bstring&gt=3B line 47): =
Converting MD to MX<br>Warning (&lt=3Bstring&gt=3B line 48): Converting MF =
to MX<br>Error (&lt=3Bstring&gt=3B line 54): udp is not a known IP protocol=
<br>Error (&lt=3Bstring&gt=3B line 56): unknown service "chargen" for proto=
col 6<br>Netif: error=2C terminating listen loop<br><br>[cubieboard2]<br>$ =
sudo ./mir-dns<br>plugging into tap0 with mac c2:9d:56:19:d7:2c..<br>Netif:=
 connect tap0<br>Manager: connect<br>Manager: connect<br>Manager: configuri=
ng<br>Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.1]<b=
r><br>ARP: sending gratuitous from 192.168.1.2<br>Manager: configuration do=
ne<br>Manager: configuring<br>Warning (&lt=3Bstring&gt=3B line 47): Convert=
ing MD to MX<br>Warning (&lt=3Bstring&gt=3B line 48): Converting MF to MX<b=
r>Error (&lt=3Bstring&gt=3B line 54): udp is not a known IP protocol<br>Err=
or (&lt=3Bstring&gt=3B line 56): unknown service "chargen" for protocol 6<b=
r>Manager: socket config currently ignored (TODO)<br>Warning (&lt=3Bstring&=
gt=3B line 47): Converting MD to MX<br>Warning (&lt=3Bstring&gt=3B line 48)=
: Converting MF to MX<br>Error (&lt=3Bstring&gt=3B line 54): udp is not a k=
nown IP protocol<br>Error (&lt=3Bstring&gt=3B line 56): unknown service "ch=
argen" for protocol 6<br><br><br>Does anyone have any idea how I can move f=
orward on this?<br><br>Thanks<br>Nick<br> 		 	   		  </div></body>
</html>=

--_5966cef6-4e55-4ed8-9973-cb606c4cebd1_--


--===============3654395834968276288==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============3654395834968276288==--


From mirageos-devel-bounces@lists.xenproject.org Mon May 11 10:07:07 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 11 May 2015 10:07:07 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yrkc0-0008S7-CG; Mon, 11 May 2015 10:07:00 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <buzzheavyyear@hotmail.com>) id 1Yrkbz-0008Rs-CD
	for mirageos-devel@lists.xenproject.org; Mon, 11 May 2015 10:06:59 +0000
Received: from [85.158.139.211] by server-12.bemta-5.messagelabs.com id
	30/B2-02782-24F70555; Mon, 11 May 2015 10:06:58 +0000
X-Env-Sender: buzzheavyyear@hotmail.com
X-Msg-Ref: server-7.tower-206.messagelabs.com!1431338817!14026206!1
X-Originating-IP: [157.55.2.39]
X-SpamReason: No, hits=1.0 required=7.0 tests=FORGED_HOTMAIL_RCVD,
	HTML_10_20,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 13645 invoked from network); 11 May 2015 10:06:57 -0000
Received: from dub004-omc3s30.hotmail.com (HELO DUB004-OMC3S30.hotmail.com)
	(157.55.2.39)
	by server-7.tower-206.messagelabs.com with AES256-SHA encrypted SMTP;
	11 May 2015 10:06:57 -0000
Received: from DUB128-W30 ([157.55.2.8]) by DUB004-OMC3S30.hotmail.com over
	TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); 
	Mon, 11 May 2015 03:06:57 -0700
X-TMN: [ONNWdndvtx6xNnYIXPoZUE7B1GgcnxvC]
X-Originating-Email: [buzzheavyyear@hotmail.com]
Message-ID: <DUB128-W30E699593E90F888ACF93DB4DB0@phx.gbl>
From: Nick Betteridge <buzzheavyyear@hotmail.com>
To: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Date: Mon, 11 May 2015 10:06:55 +0000
Importance: Normal
MIME-Version: 1.0
X-OriginalArrivalTime: 11 May 2015 10:06:57.0169 (UTC)
	FILETIME=[36C00010:01D08BD2]
Subject: [MirageOS-devel] simple dns server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============3654395834968276288=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============3654395834968276288==
Content-Type: multipart/alternative;
	boundary="_5966cef6-4e55-4ed8-9973-cb606c4cebd1_"

--_5966cef6-4e55-4ed8-9973-cb606c4cebd1_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello

I'm trying to get the simple dns server to work that Heidi has in her examp=
les (github.com/heidi-ann/ocaml-dns-examples) and I'm getting an error whic=
h I don't really understand - it's occurs both on the cubieboard and my amd=
64 desktop:

[amd64]
$ sudo ./mir-dns
Manager: connect
plugging into tap0 with mac c2:9d:56:19:d7:2c..
Netif: connect tap0
Manager: connect
Manager: configuring
Manager: configuring
Netif: error=2C terminating listen loop
Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.254]

Manager: socket config currently ignored (TODO)
ARP: sending gratuitous from 192.168.1.2
Manager: configuration done
Warning (<string> line 47): Converting MD to MX
Warning (<string> line 48): Converting MF to MX
Error (<string> line 54): udp is not a known IP protocol
Error (<string> line 56): unknown service "chargen" for protocol 6
Warning (<string> line 47): Converting MD to MX
Warning (<string> line 48): Converting MF to MX
Error (<string> line 54): udp is not a known IP protocol
Error (<string> line 56): unknown service "chargen" for protocol 6
Netif: error=2C terminating listen loop

[cubieboard2]
$ sudo ./mir-dns
plugging into tap0 with mac c2:9d:56:19:d7:2c..
Netif: connect tap0
Manager: connect
Manager: connect
Manager: configuring
Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.1]

ARP: sending gratuitous from 192.168.1.2
Manager: configuration done
Manager: configuring
Warning (<string> line 47): Converting MD to MX
Warning (<string> line 48): Converting MF to MX
Error (<string> line 54): udp is not a known IP protocol
Error (<string> line 56): unknown service "chargen" for protocol 6
Manager: socket config currently ignored (TODO)
Warning (<string> line 47): Converting MD to MX
Warning (<string> line 48): Converting MF to MX
Error (<string> line 54): udp is not a known IP protocol
Error (<string> line 56): unknown service "chargen" for protocol 6


Does anyone have any idea how I can move forward on this?

Thanks
Nick
 		 	   		  =

--_5966cef6-4e55-4ed8-9973-cb606c4cebd1_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 12pt=3B
font-family:Calibri
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>Hello<br><br>I'm trying to get t=
he simple dns server to work that Heidi has in her examples (github.com/hei=
di-ann/ocaml-dns-examples) and I'm getting an error which I don't really un=
derstand - it's occurs both on the cubieboard and my amd64 desktop:<br><br>=
[amd64]<br>$ sudo ./mir-dns<br>Manager: connect<br>plugging into tap0 with =
mac c2:9d:56:19:d7:2c..<br>Netif: connect tap0<br>Manager: connect<br>Manag=
er: configuring<br>Manager: configuring<br>Netif: error=2C terminating list=
en loop<br>Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1=
.254]<br><br>Manager: socket config currently ignored (TODO)<br>ARP: sendin=
g gratuitous from 192.168.1.2<br>Manager: configuration done<br>Warning (&l=
t=3Bstring&gt=3B line 47): Converting MD to MX<br>Warning (&lt=3Bstring&gt=
=3B line 48): Converting MF to MX<br>Error (&lt=3Bstring&gt=3B line 54): ud=
p is not a known IP protocol<br>Error (&lt=3Bstring&gt=3B line 56): unknown=
 service "chargen" for protocol 6<br>Warning (&lt=3Bstring&gt=3B line 47): =
Converting MD to MX<br>Warning (&lt=3Bstring&gt=3B line 48): Converting MF =
to MX<br>Error (&lt=3Bstring&gt=3B line 54): udp is not a known IP protocol=
<br>Error (&lt=3Bstring&gt=3B line 56): unknown service "chargen" for proto=
col 6<br>Netif: error=2C terminating listen loop<br><br>[cubieboard2]<br>$ =
sudo ./mir-dns<br>plugging into tap0 with mac c2:9d:56:19:d7:2c..<br>Netif:=
 connect tap0<br>Manager: connect<br>Manager: connect<br>Manager: configuri=
ng<br>Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.1]<b=
r><br>ARP: sending gratuitous from 192.168.1.2<br>Manager: configuration do=
ne<br>Manager: configuring<br>Warning (&lt=3Bstring&gt=3B line 47): Convert=
ing MD to MX<br>Warning (&lt=3Bstring&gt=3B line 48): Converting MF to MX<b=
r>Error (&lt=3Bstring&gt=3B line 54): udp is not a known IP protocol<br>Err=
or (&lt=3Bstring&gt=3B line 56): unknown service "chargen" for protocol 6<b=
r>Manager: socket config currently ignored (TODO)<br>Warning (&lt=3Bstring&=
gt=3B line 47): Converting MD to MX<br>Warning (&lt=3Bstring&gt=3B line 48)=
: Converting MF to MX<br>Error (&lt=3Bstring&gt=3B line 54): udp is not a k=
nown IP protocol<br>Error (&lt=3Bstring&gt=3B line 56): unknown service "ch=
argen" for protocol 6<br><br><br>Does anyone have any idea how I can move f=
orward on this?<br><br>Thanks<br>Nick<br> 		 	   		  </div></body>
</html>=

--_5966cef6-4e55-4ed8-9973-cb606c4cebd1_--


--===============3654395834968276288==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============3654395834968276288==--


From mirageos-devel-bounces@lists.xenproject.org Mon May 11 10:30:28 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 11 May 2015 10:30:28 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yrkyg-0001Ue-4i; Mon, 11 May 2015 10:30:26 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mindy@somerandomidiot.com>) id 1Yrkye-0001Tg-3E
	for mirageos-devel@lists.xenproject.org; Mon, 11 May 2015 10:30:24 +0000
Received: from [85.158.139.211] by server-7.bemta-5.messagelabs.com id
	96/26-03739-FB480555; Mon, 11 May 2015 10:30:23 +0000
X-Env-Sender: mindy@somerandomidiot.com
X-Msg-Ref: server-7.tower-206.messagelabs.com!1431340222!14034764!1
X-Originating-IP: [217.70.183.195]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogMjE3LjcwLjE4My4xOTUgPT4gMzc4NjI=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 11215 invoked from network); 11 May 2015 10:30:22 -0000
Received: from relay3-d.mail.gandi.net (HELO relay3-d.mail.gandi.net)
	(217.70.183.195)
	by server-7.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 11 May 2015 10:30:22 -0000
Received: from mfilter4-d.gandi.net (mfilter4-d.gandi.net [217.70.178.134])
	by relay3-d.mail.gandi.net (Postfix) with ESMTP id 423D9A80D1
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 11 May 2015 12:30:22 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mfilter4-d.gandi.net
Received: from relay3-d.mail.gandi.net ([217.70.183.195])
	by mfilter4-d.gandi.net (mfilter4-d.gandi.net [10.0.15.180])
	(amavisd-new, port 10024)
	with ESMTP id WZcxt+PmTfSe for <mirageos-devel@lists.xenproject.org>;
	Mon, 11 May 2015 12:30:20 +0200 (CEST)
X-Originating-IP: 131.111.184.18
Received: from [172.17.25.72] (global-1-18.nat.csx.cam.ac.uk [131.111.184.18])
	(Authenticated sender: guybrush@somerandomidiot.com)
	by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 6EE12A812F
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 11 May 2015 12:30:20 +0200 (CEST)
Message-ID: <55508479.1070004@somerandomidiot.com>
Date: Mon, 11 May 2015 11:29:13 +0100
From: Mindy <mindy@somerandomidiot.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: mirageos-devel@lists.xenproject.org
References: <DUB128-W30E699593E90F888ACF93DB4DB0@phx.gbl>
In-Reply-To: <DUB128-W30E699593E90F888ACF93DB4DB0@phx.gbl>
Subject: Re: [MirageOS-devel] simple dns server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5495233088358760684=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

This is a multi-part message in MIME format.
--===============5495233088358760684==
Content-Type: multipart/alternative;
 boundary="------------060003050208070709080809"

This is a multi-part message in MIME format.
--------------060003050208070709080809
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit

Hm, I had this same problem.  I was able to get the server to run by 
making the following changes to data/test.zone (although the 
initialization still complains about unknown services in other lines):

on line 55, s/udp/17/

Then, rerun `mirage configure --unix` and `make`.  After doing that and 
starting the server, I'm able to get a response from `dig @127.0.0.1 
ns0.d1.signpo.st.` (127.0.0.1 because I'm running in socket mode).

Cheers,
Mindy

On 05/11/2015 11:06 AM, Nick Betteridge wrote:
> Hello
>
> I'm trying to get the simple dns server to work that Heidi has in her 
> examples (github.com/heidi-ann/ocaml-dns-examples) and I'm getting an 
> error which I don't really understand - it's occurs both on the 
> cubieboard and my amd64 desktop:
>
> [amd64]
> $ sudo ./mir-dns
> Manager: connect
> plugging into tap0 with mac c2:9d:56:19:d7:2c..
> Netif: connect tap0
> Manager: connect
> Manager: configuring
> Manager: configuring
> Netif: error, terminating listen loop
> Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.254]
>
> Manager: socket config currently ignored (TODO)
> ARP: sending gratuitous from 192.168.1.2
> Manager: configuration done
> Warning (<string> line 47): Converting MD to MX
> Warning (<string> line 48): Converting MF to MX
> Error (<string> line 54): udp is not a known IP protocol
> Error (<string> line 56): unknown service "chargen" for protocol 6
> Warning (<string> line 47): Converting MD to MX
> Warning (<string> line 48): Converting MF to MX
> Error (<string> line 54): udp is not a known IP protocol
> Error (<string> line 56): unknown service "chargen" for protocol 6
> Netif: error, terminating listen loop
>
> [cubieboard2]
> $ sudo ./mir-dns
> plugging into tap0 with mac c2:9d:56:19:d7:2c..
> Netif: connect tap0
> Manager: connect
> Manager: connect
> Manager: configuring
> Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.1]
>
> ARP: sending gratuitous from 192.168.1.2
> Manager: configuration done
> Manager: configuring
> Warning (<string> line 47): Converting MD to MX
> Warning (<string> line 48): Converting MF to MX
> Error (<string> line 54): udp is not a known IP protocol
> Error (<string> line 56): unknown service "chargen" for protocol 6
> Manager: socket config currently ignored (TODO)
> Warning (<string> line 47): Converting MD to MX
> Warning (<string> line 48): Converting MF to MX
> Error (<string> line 54): udp is not a known IP protocol
> Error (<string> line 56): unknown service "chargen" for protocol 6
>
>
> Does anyone have any idea how I can move forward on this?
>
> Thanks
> Nick
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


--------------060003050208070709080809
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta content=3D"text/html; charset=3Dwindows-1252"
      http-equiv=3D"Content-Type">
  </head>
  <body text=3D"#000000" bgcolor=3D"#FFFFFF">
    Hm, I had this same problem.=A0 I was able to get the server to run b=
y
    making the following changes to data/test.zone (although the
    initialization still complains about unknown services in other
    lines):<br>
    <br>
    on line 55, s/udp/17/<br>
    <br>
    Then, rerun `mirage configure --unix` and `make`.=A0 After doing that
    and starting the server, I'm able to get a response from `dig
    @127.0.0.1 ns0.d1.signpo.st.` (127.0.0.1 because I'm running in
    socket mode).<br>
    <br>
    Cheers,<br>
    Mindy<br>
    <br>
    <div class=3D"moz-cite-prefix">On 05/11/2015 11:06 AM, Nick Betteridg=
e
      wrote:<br>
    </div>
    <blockquote cite=3D"mid:DUB128-W30E699593E90F888ACF93DB4DB0@phx.gbl"
      type=3D"cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
      <div dir=3D"ltr">Hello<br>
        <br>
        I'm trying to get the simple dns server to work that Heidi has
        in her examples (github.com/heidi-ann/ocaml-dns-examples) and
        I'm getting an error which I don't really understand - it's
        occurs both on the cubieboard and my amd64 desktop:<br>
        <br>
        [amd64]<br>
        $ sudo ./mir-dns<br>
        Manager: connect<br>
        plugging into tap0 with mac c2:9d:56:19:d7:2c..<br>
        Netif: connect tap0<br>
        Manager: connect<br>
        Manager: configuring<br>
        Manager: configuring<br>
        Netif: error, terminating listen loop<br>
        Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw
        [192.168.1.254]<br>
        <br>
        Manager: socket config currently ignored (TODO)<br>
        ARP: sending gratuitous from 192.168.1.2<br>
        Manager: configuration done<br>
        Warning (&lt;string&gt; line 47): Converting MD to MX<br>
        Warning (&lt;string&gt; line 48): Converting MF to MX<br>
        Error (&lt;string&gt; line 54): udp is not a known IP protocol<br=
>
        Error (&lt;string&gt; line 56): unknown service "chargen" for
        protocol 6<br>
        Warning (&lt;string&gt; line 47): Converting MD to MX<br>
        Warning (&lt;string&gt; line 48): Converting MF to MX<br>
        Error (&lt;string&gt; line 54): udp is not a known IP protocol<br=
>
        Error (&lt;string&gt; line 56): unknown service "chargen" for
        protocol 6<br>
        Netif: error, terminating listen loop<br>
        <br>
        [cubieboard2]<br>
        $ sudo ./mir-dns<br>
        plugging into tap0 with mac c2:9d:56:19:d7:2c..<br>
        Netif: connect tap0<br>
        Manager: connect<br>
        Manager: connect<br>
        Manager: configuring<br>
        Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw
        [192.168.1.1]<br>
        <br>
        ARP: sending gratuitous from 192.168.1.2<br>
        Manager: configuration done<br>
        Manager: configuring<br>
        Warning (&lt;string&gt; line 47): Converting MD to MX<br>
        Warning (&lt;string&gt; line 48): Converting MF to MX<br>
        Error (&lt;string&gt; line 54): udp is not a known IP protocol<br=
>
        Error (&lt;string&gt; line 56): unknown service "chargen" for
        protocol 6<br>
        Manager: socket config currently ignored (TODO)<br>
        Warning (&lt;string&gt; line 47): Converting MD to MX<br>
        Warning (&lt;string&gt; line 48): Converting MF to MX<br>
        Error (&lt;string&gt; line 54): udp is not a known IP protocol<br=
>
        Error (&lt;string&gt; line 56): unknown service "chargen" for
        protocol 6<br>
        <br>
        <br>
        Does anyone have any idea how I can move forward on this?<br>
        <br>
        Thanks<br>
        Nick<br>
      </div>
      <br>
      <fieldset class=3D"mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap=3D"">_______________________________________________
MirageOS-devel mailing list
<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:MirageOS-devel@lists=
.xenproject.org">MirageOS-devel@lists.xenproject.org</a>
<a class=3D"moz-txt-link-freetext" href=3D"http://lists.xenproject.org/cg=
i-bin/mailman/listinfo/mirageos-devel">http://lists.xenproject.org/cgi-bi=
n/mailman/listinfo/mirageos-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------060003050208070709080809--


--===============5495233088358760684==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============5495233088358760684==--


From mirageos-devel-bounces@lists.xenproject.org Mon May 11 10:30:28 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 11 May 2015 10:30:28 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yrkyg-0001Ue-4i; Mon, 11 May 2015 10:30:26 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mindy@somerandomidiot.com>) id 1Yrkye-0001Tg-3E
	for mirageos-devel@lists.xenproject.org; Mon, 11 May 2015 10:30:24 +0000
Received: from [85.158.139.211] by server-7.bemta-5.messagelabs.com id
	96/26-03739-FB480555; Mon, 11 May 2015 10:30:23 +0000
X-Env-Sender: mindy@somerandomidiot.com
X-Msg-Ref: server-7.tower-206.messagelabs.com!1431340222!14034764!1
X-Originating-IP: [217.70.183.195]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogMjE3LjcwLjE4My4xOTUgPT4gMzc4NjI=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 11215 invoked from network); 11 May 2015 10:30:22 -0000
Received: from relay3-d.mail.gandi.net (HELO relay3-d.mail.gandi.net)
	(217.70.183.195)
	by server-7.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 11 May 2015 10:30:22 -0000
Received: from mfilter4-d.gandi.net (mfilter4-d.gandi.net [217.70.178.134])
	by relay3-d.mail.gandi.net (Postfix) with ESMTP id 423D9A80D1
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 11 May 2015 12:30:22 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mfilter4-d.gandi.net
Received: from relay3-d.mail.gandi.net ([217.70.183.195])
	by mfilter4-d.gandi.net (mfilter4-d.gandi.net [10.0.15.180])
	(amavisd-new, port 10024)
	with ESMTP id WZcxt+PmTfSe for <mirageos-devel@lists.xenproject.org>;
	Mon, 11 May 2015 12:30:20 +0200 (CEST)
X-Originating-IP: 131.111.184.18
Received: from [172.17.25.72] (global-1-18.nat.csx.cam.ac.uk [131.111.184.18])
	(Authenticated sender: guybrush@somerandomidiot.com)
	by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 6EE12A812F
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 11 May 2015 12:30:20 +0200 (CEST)
Message-ID: <55508479.1070004@somerandomidiot.com>
Date: Mon, 11 May 2015 11:29:13 +0100
From: Mindy <mindy@somerandomidiot.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: mirageos-devel@lists.xenproject.org
References: <DUB128-W30E699593E90F888ACF93DB4DB0@phx.gbl>
In-Reply-To: <DUB128-W30E699593E90F888ACF93DB4DB0@phx.gbl>
Subject: Re: [MirageOS-devel] simple dns server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5495233088358760684=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

This is a multi-part message in MIME format.
--===============5495233088358760684==
Content-Type: multipart/alternative;
 boundary="------------060003050208070709080809"

This is a multi-part message in MIME format.
--------------060003050208070709080809
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit

Hm, I had this same problem.  I was able to get the server to run by 
making the following changes to data/test.zone (although the 
initialization still complains about unknown services in other lines):

on line 55, s/udp/17/

Then, rerun `mirage configure --unix` and `make`.  After doing that and 
starting the server, I'm able to get a response from `dig @127.0.0.1 
ns0.d1.signpo.st.` (127.0.0.1 because I'm running in socket mode).

Cheers,
Mindy

On 05/11/2015 11:06 AM, Nick Betteridge wrote:
> Hello
>
> I'm trying to get the simple dns server to work that Heidi has in her 
> examples (github.com/heidi-ann/ocaml-dns-examples) and I'm getting an 
> error which I don't really understand - it's occurs both on the 
> cubieboard and my amd64 desktop:
>
> [amd64]
> $ sudo ./mir-dns
> Manager: connect
> plugging into tap0 with mac c2:9d:56:19:d7:2c..
> Netif: connect tap0
> Manager: connect
> Manager: configuring
> Manager: configuring
> Netif: error, terminating listen loop
> Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.254]
>
> Manager: socket config currently ignored (TODO)
> ARP: sending gratuitous from 192.168.1.2
> Manager: configuration done
> Warning (<string> line 47): Converting MD to MX
> Warning (<string> line 48): Converting MF to MX
> Error (<string> line 54): udp is not a known IP protocol
> Error (<string> line 56): unknown service "chargen" for protocol 6
> Warning (<string> line 47): Converting MD to MX
> Warning (<string> line 48): Converting MF to MX
> Error (<string> line 54): udp is not a known IP protocol
> Error (<string> line 56): unknown service "chargen" for protocol 6
> Netif: error, terminating listen loop
>
> [cubieboard2]
> $ sudo ./mir-dns
> plugging into tap0 with mac c2:9d:56:19:d7:2c..
> Netif: connect tap0
> Manager: connect
> Manager: connect
> Manager: configuring
> Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.1]
>
> ARP: sending gratuitous from 192.168.1.2
> Manager: configuration done
> Manager: configuring
> Warning (<string> line 47): Converting MD to MX
> Warning (<string> line 48): Converting MF to MX
> Error (<string> line 54): udp is not a known IP protocol
> Error (<string> line 56): unknown service "chargen" for protocol 6
> Manager: socket config currently ignored (TODO)
> Warning (<string> line 47): Converting MD to MX
> Warning (<string> line 48): Converting MF to MX
> Error (<string> line 54): udp is not a known IP protocol
> Error (<string> line 56): unknown service "chargen" for protocol 6
>
>
> Does anyone have any idea how I can move forward on this?
>
> Thanks
> Nick
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


--------------060003050208070709080809
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta content=3D"text/html; charset=3Dwindows-1252"
      http-equiv=3D"Content-Type">
  </head>
  <body text=3D"#000000" bgcolor=3D"#FFFFFF">
    Hm, I had this same problem.=A0 I was able to get the server to run b=
y
    making the following changes to data/test.zone (although the
    initialization still complains about unknown services in other
    lines):<br>
    <br>
    on line 55, s/udp/17/<br>
    <br>
    Then, rerun `mirage configure --unix` and `make`.=A0 After doing that
    and starting the server, I'm able to get a response from `dig
    @127.0.0.1 ns0.d1.signpo.st.` (127.0.0.1 because I'm running in
    socket mode).<br>
    <br>
    Cheers,<br>
    Mindy<br>
    <br>
    <div class=3D"moz-cite-prefix">On 05/11/2015 11:06 AM, Nick Betteridg=
e
      wrote:<br>
    </div>
    <blockquote cite=3D"mid:DUB128-W30E699593E90F888ACF93DB4DB0@phx.gbl"
      type=3D"cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
      <div dir=3D"ltr">Hello<br>
        <br>
        I'm trying to get the simple dns server to work that Heidi has
        in her examples (github.com/heidi-ann/ocaml-dns-examples) and
        I'm getting an error which I don't really understand - it's
        occurs both on the cubieboard and my amd64 desktop:<br>
        <br>
        [amd64]<br>
        $ sudo ./mir-dns<br>
        Manager: connect<br>
        plugging into tap0 with mac c2:9d:56:19:d7:2c..<br>
        Netif: connect tap0<br>
        Manager: connect<br>
        Manager: configuring<br>
        Manager: configuring<br>
        Netif: error, terminating listen loop<br>
        Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw
        [192.168.1.254]<br>
        <br>
        Manager: socket config currently ignored (TODO)<br>
        ARP: sending gratuitous from 192.168.1.2<br>
        Manager: configuration done<br>
        Warning (&lt;string&gt; line 47): Converting MD to MX<br>
        Warning (&lt;string&gt; line 48): Converting MF to MX<br>
        Error (&lt;string&gt; line 54): udp is not a known IP protocol<br=
>
        Error (&lt;string&gt; line 56): unknown service "chargen" for
        protocol 6<br>
        Warning (&lt;string&gt; line 47): Converting MD to MX<br>
        Warning (&lt;string&gt; line 48): Converting MF to MX<br>
        Error (&lt;string&gt; line 54): udp is not a known IP protocol<br=
>
        Error (&lt;string&gt; line 56): unknown service "chargen" for
        protocol 6<br>
        Netif: error, terminating listen loop<br>
        <br>
        [cubieboard2]<br>
        $ sudo ./mir-dns<br>
        plugging into tap0 with mac c2:9d:56:19:d7:2c..<br>
        Netif: connect tap0<br>
        Manager: connect<br>
        Manager: connect<br>
        Manager: configuring<br>
        Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw
        [192.168.1.1]<br>
        <br>
        ARP: sending gratuitous from 192.168.1.2<br>
        Manager: configuration done<br>
        Manager: configuring<br>
        Warning (&lt;string&gt; line 47): Converting MD to MX<br>
        Warning (&lt;string&gt; line 48): Converting MF to MX<br>
        Error (&lt;string&gt; line 54): udp is not a known IP protocol<br=
>
        Error (&lt;string&gt; line 56): unknown service "chargen" for
        protocol 6<br>
        Manager: socket config currently ignored (TODO)<br>
        Warning (&lt;string&gt; line 47): Converting MD to MX<br>
        Warning (&lt;string&gt; line 48): Converting MF to MX<br>
        Error (&lt;string&gt; line 54): udp is not a known IP protocol<br=
>
        Error (&lt;string&gt; line 56): unknown service "chargen" for
        protocol 6<br>
        <br>
        <br>
        Does anyone have any idea how I can move forward on this?<br>
        <br>
        Thanks<br>
        Nick<br>
      </div>
      <br>
      <fieldset class=3D"mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap=3D"">_______________________________________________
MirageOS-devel mailing list
<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:MirageOS-devel@lists=
.xenproject.org">MirageOS-devel@lists.xenproject.org</a>
<a class=3D"moz-txt-link-freetext" href=3D"http://lists.xenproject.org/cg=
i-bin/mailman/listinfo/mirageos-devel">http://lists.xenproject.org/cgi-bi=
n/mailman/listinfo/mirageos-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------060003050208070709080809--


--===============5495233088358760684==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============5495233088358760684==--


From mirageos-devel-bounces@lists.xenproject.org Mon May 11 10:47:13 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 11 May 2015 10:47:13 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YrlEs-0002dn-J5; Mon, 11 May 2015 10:47:10 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <Dave.Scott@citrix.com>) id 1YrlEr-0002dc-Oz
	for mirageos-devel@lists.xenproject.org; Mon, 11 May 2015 10:47:09 +0000
Received: from [193.109.254.147] by server-7.bemta-14.messagelabs.com id
	E3/2F-03202-CA880555; Mon, 11 May 2015 10:47:08 +0000
X-Env-Sender: Dave.Scott@citrix.com
X-Msg-Ref: server-7.tower-27.messagelabs.com!1431341227!16410113!1
X-Originating-IP: [185.25.65.24]
X-SpamReason: No, hits=0.0 required=7.0 tests=received_headers: No 
	Received headers
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 12863 invoked from network); 11 May 2015 10:47:07 -0000
Received: from smtp.eu.citrix.com (HELO SMTP.EU.CITRIX.COM) (185.25.65.24)
	by server-7.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	11 May 2015 10:47:07 -0000
X-IronPort-AV: E=Sophos;i="5.13,406,1427760000"; 
   d="scan'208";a="53308"
From: Dave Scott <Dave.Scott@citrix.com>
To: Anil Madhavapeddy <anil@recoil.org>
Thread-Topic: [MirageOS-devel] Mirage trace viewer on xenserver
Thread-Index: AQHQiX+PhruxTLZkzEWlMEPpNK3kjp11zLCAgACubYA=
Date: Mon, 11 May 2015 10:47:06 +0000
Message-ID: <A097A3A5-A0B1-41E2-8F1A-F26672318C01@citrix.com>
References: <513070571.3212424.1431083357151.JavaMail.yahoo@mail.yahoo.com>
	<82D5179E-06AE-4E14-9BF3-B1356A136665@recoil.org>
In-Reply-To: <82D5179E-06AE-4E14-9BF3-B1356A136665@recoil.org>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-ID: <54331BE8D8AB5F4790BEFC7124DEB156@citrix.com>
MIME-Version: 1.0
X-DLP: AMS1
Cc: Mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Mirage trace viewer on xenserver
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGksDQoNCj4gT24gMTEgTWF5IDIwMTUsIGF0IDAxOjIyLCBBbmlsIE1hZGhhdmFwZWRkeSA8YW5p
bEByZWNvaWwub3JnPiB3cm90ZToNCj4gDQo+IEhpIEFuaWEsDQo+IA0KPiBUaGVyZSdzIG5vIGJp
bmFyeSBvZiB0aGUgdHJhY2Ugdmlld2VyIGZvciBDZW50T1MgNSwgYnV0IGl0IHNob3VsZCBiZSBw
b3NzaWJsZSB0byBib290c3RyYXAgT1BBTSB1c2luZyBPQ2FtbCAzLjEyLjEgYW5kIENlbnRPUyA1
Lg0KPiANCj4gRGF2ZSwgSm9uLCBkbyB5b3UgYWxyZWFkeSBkbyB0aGlzPyAgSXQgd291bGQgYmUg
dmVyeSB1c2VmdWwgdG8gaGF2ZSBzb21lIG9mIHRoZSBkZWJ1Z2dpbmcgdG9vbHMgYXZhaWxhYmxl
IG1vcmUgZW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fX19fX19fX19fX19fX19fX19f
X19fX19fX19fDQo+PiBNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QNCj4+IE1pcmFnZU9TLWRl
dmVsQGxpc3RzLnhlbnByb2plY3Qub3JnDQo+PiBodHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcv
Y2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsDQo+IA0KPiBfX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXw0KPiBNaXJhZ2VPUy1kZXZlbCBt
YWlsaW5nIGxpc3QNCj4gTWlyYWdlT1MtZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcNCj4gaHR0
cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9taXJhZ2Vv
cy1kZXZlbA0KDQpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
XwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKTWlyYWdlT1MtZGV2ZWxAbGlzdHMueGVucHJv
amVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0
aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Mon May 11 10:47:13 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 11 May 2015 10:47:13 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YrlEs-0002dn-J5; Mon, 11 May 2015 10:47:10 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <Dave.Scott@citrix.com>) id 1YrlEr-0002dc-Oz
	for mirageos-devel@lists.xenproject.org; Mon, 11 May 2015 10:47:09 +0000
Received: from [193.109.254.147] by server-7.bemta-14.messagelabs.com id
	E3/2F-03202-CA880555; Mon, 11 May 2015 10:47:08 +0000
X-Env-Sender: Dave.Scott@citrix.com
X-Msg-Ref: server-7.tower-27.messagelabs.com!1431341227!16410113!1
X-Originating-IP: [185.25.65.24]
X-SpamReason: No, hits=0.0 required=7.0 tests=received_headers: No 
	Received headers
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 12863 invoked from network); 11 May 2015 10:47:07 -0000
Received: from smtp.eu.citrix.com (HELO SMTP.EU.CITRIX.COM) (185.25.65.24)
	by server-7.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	11 May 2015 10:47:07 -0000
X-IronPort-AV: E=Sophos;i="5.13,406,1427760000"; 
   d="scan'208";a="53308"
From: Dave Scott <Dave.Scott@citrix.com>
To: Anil Madhavapeddy <anil@recoil.org>
Thread-Topic: [MirageOS-devel] Mirage trace viewer on xenserver
Thread-Index: AQHQiX+PhruxTLZkzEWlMEPpNK3kjp11zLCAgACubYA=
Date: Mon, 11 May 2015 10:47:06 +0000
Message-ID: <A097A3A5-A0B1-41E2-8F1A-F26672318C01@citrix.com>
References: <513070571.3212424.1431083357151.JavaMail.yahoo@mail.yahoo.com>
	<82D5179E-06AE-4E14-9BF3-B1356A136665@recoil.org>
In-Reply-To: <82D5179E-06AE-4E14-9BF3-B1356A136665@recoil.org>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-ID: <54331BE8D8AB5F4790BEFC7124DEB156@citrix.com>
MIME-Version: 1.0
X-DLP: AMS1
Cc: Mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Mirage trace viewer on xenserver
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGksDQoNCj4gT24gMTEgTWF5IDIwMTUsIGF0IDAxOjIyLCBBbmlsIE1hZGhhdmFwZWRkeSA8YW5p
bEByZWNvaWwub3JnPiB3cm90ZToNCj4gDQo+IEhpIEFuaWEsDQo+IA0KPiBUaGVyZSdzIG5vIGJp
bmFyeSBvZiB0aGUgdHJhY2Ugdmlld2VyIGZvciBDZW50T1MgNSwgYnV0IGl0IHNob3VsZCBiZSBw
b3NzaWJsZSB0byBib290c3RyYXAgT1BBTSB1c2luZyBPQ2FtbCAzLjEyLjEgYW5kIENlbnRPUyA1
Lg0KPiANCj4gRGF2ZSwgSm9uLCBkbyB5b3UgYWxyZWFkeSBkbyB0aGlzPyAgSXQgd291bGQgYmUg
dmVyeSB1c2VmdWwgdG8gaGF2ZSBzb21lIG9mIHRoZSBkZWJ1Z2dpbmcgdG9vbHMgYXZhaWxhYmxl
IG1vcmUgZWFzaWx5IGluIHRoZSBkb20wIChzaW5jZSBydW5uaW5nIHRoZW0gaW4gYSBWTSByaWdo
dCBub3cgaXNuJ3QgdGhlIGVhc2llc3QgdGhpbmcpLg0KDQpUaGUgcmVjZW50IFhlblNlcnZlciBh
bHBoYVsxXSBpcyBydW5uaW5nIGEgbW9yZSBtb2Rlcm4gQ2VudE9TIDcgd2l0aCBvcGFtIDEuMiBw
cmUta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DQo+IA0KPiBfX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXw0KPiBNaXJhZ2VPUy1kZXZlbCBt
YWlsaW5nIGxpc3QNCj4gTWlyYWdlT1MtZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcNCj4gaHR0
cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9taXJhZ2Vv
cy1kZXZlbA0KDQpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
XwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKTWlyYWdlT1MtZGV2ZWxAbGlzdHMueGVucHJv
amVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0
aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Mon May 11 11:14:03 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 11 May 2015 11:14:03 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yrlem-0005Wg-2d; Mon, 11 May 2015 11:13:56 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <heidihoward360@gmail.com>) id 1Yrlek-0005WQ-8G
	for mirageos-devel@lists.xenproject.org; Mon, 11 May 2015 11:13:54 +0000
Received: from [193.109.254.147] by server-15.bemta-14.messagelabs.com id
	96/DD-02796-1FE80555; Mon, 11 May 2015 11:13:53 +0000
X-Env-Sender: heidihoward360@gmail.com
X-Msg-Ref: server-12.tower-27.messagelabs.com!1431342830!16463010!1
X-Originating-IP: [209.85.223.182]
X-SpamReason: No, hits=1.4 required=7.0 tests=BODY_RANDOM_LONG,
	HTML_40_50,HTML_MESSAGE,RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 4953 invoked from network); 11 May 2015 11:13:51 -0000
Received: from mail-ie0-f182.google.com (HELO mail-ie0-f182.google.com)
	(209.85.223.182)
	by server-12.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	11 May 2015 11:13:51 -0000
Received: by ieczm2 with SMTP id zm2so104820434iec.2
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 11 May 2015 04:13:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=ii/Bsf5zaRD6wVZ83jkHbnRMreo5D+aWXKHoI27GCTc=;
	b=whzVqA5HzgomJ2O+VsqD+scyz+1RNFQqjwQkaYAmWcr7RokPMTFTi28zittHjXDiwG
	U3vHFvx+t3mGpaJ4BMx9uuvi3M79BZZhiTn1JZkuiTFMkMk1LQIltbyAQCakSaEmFQWu
	4ztasLIwZMC8lmemFJ4IfI5WBs6WdAcuJfk1I/CiEX1ePTleVjCXZQEIUwRCt6VyO0xd
	3Op0LqrcRMFNU2rx6xx4i3LCbsHrkxV4l8I+Jw4w44uNf2NuXnsbE4zsi7vZajhSbldf
	QKmYVaLqfcjrA7QseSaO/jQBkvXpTogEryNS8uuZdRZL9ACvmvtZK4MHlC8rCV1RPViM
	JWEw==
MIME-Version: 1.0
X-Received: by 10.107.17.198 with SMTP id 67mr11520867ior.64.1431342830440;
	Mon, 11 May 2015 04:13:50 -0700 (PDT)
Received: by 10.36.73.90 with HTTP; Mon, 11 May 2015 04:13:50 -0700 (PDT)
In-Reply-To: <55508479.1070004@somerandomidiot.com>
References: <DUB128-W30E699593E90F888ACF93DB4DB0@phx.gbl>
	<55508479.1070004@somerandomidiot.com>
Date: Mon, 11 May 2015 12:13:50 +0100
X-Google-Sender-Auth: MtZbj7YbFUZzLn6S2-_-DReTBgQ
Message-ID: <CAJbByNpsGwQmM+RQ=K+2iaano2FgE0u+RYxvf0nk9ARwBHocXg@mail.gmail.com>
From: Heidi Howard <hh360@cam.ac.uk>
To: Mindy <mindy@somerandomidiot.com>
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] simple dns server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============2680183338478215740=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============2680183338478215740==
Content-Type: multipart/alternative; boundary=001a113edd54f5d84e0515cc7881

--001a113edd54f5d84e0515cc7881
Content-Type: text/plain; charset=UTF-8

Thanks mindy,

I recall there was some issues with this, so i started to use a cut down
version of the zone file which is here
https://github.com/heidi-ann/ocaml-dns-examples/blob/master/forwarder/test.zone
also, i run my personal dns sever with ocaml-dns and its zone file is here
https://github.com/heidi-ann/rwe-dns-server/blob/master/data/test.zone and
should work

On 11 May 2015 at 11:29, Mindy <mindy@somerandomidiot.com> wrote:

>  Hm, I had this same problem.  I was able to get the server to run by
> making the following changes to data/test.zone (although the initialization
> still complains about unknown services in other lines):
>
> on line 55, s/udp/17/
>
> Then, rerun `mirage configure --unix` and `make`.  After doing that and
> starting the server, I'm able to get a response from `dig @127.0.0.1
> ns0.d1.signpo.st.` (127.0.0.1 because I'm running in socket mode).
>
> Cheers,
> Mindy
>
>
> On 05/11/2015 11:06 AM, Nick Betteridge wrote:
>
> Hello
>
> I'm trying to get the simple dns server to work that Heidi has in her
> examples (github.com/heidi-ann/ocaml-dns-examples) and I'm getting an
> error which I don't really understand - it's occurs both on the cubieboard
> and my amd64 desktop:
>
> [amd64]
> $ sudo ./mir-dns
> Manager: connect
> plugging into tap0 with mac c2:9d:56:19:d7:2c..
> Netif: connect tap0
> Manager: connect
> Manager: configuring
> Manager: configuring
> Netif: error, terminating listen loop
> Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.254]
>
> Manager: socket config currently ignored (TODO)
> ARP: sending gratuitous from 192.168.1.2
> Manager: configuration done
> Warning (<string> line 47): Converting MD to MX
> Warning (<string> line 48): Converting MF to MX
> Error (<string> line 54): udp is not a known IP protocol
> Error (<string> line 56): unknown service "chargen" for protocol 6
> Warning (<string> line 47): Converting MD to MX
> Warning (<string> line 48): Converting MF to MX
> Error (<string> line 54): udp is not a known IP protocol
> Error (<string> line 56): unknown service "chargen" for protocol 6
> Netif: error, terminating listen loop
>
> [cubieboard2]
> $ sudo ./mir-dns
> plugging into tap0 with mac c2:9d:56:19:d7:2c..
> Netif: connect tap0
> Manager: connect
> Manager: connect
> Manager: configuring
> Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.1]
>
> ARP: sending gratuitous from 192.168.1.2
> Manager: configuration done
> Manager: configuring
> Warning (<string> line 47): Converting MD to MX
> Warning (<string> line 48): Converting MF to MX
> Error (<string> line 54): udp is not a known IP protocol
> Error (<string> line 56): unknown service "chargen" for protocol 6
> Manager: socket config currently ignored (TODO)
> Warning (<string> line 47): Converting MD to MX
> Warning (<string> line 48): Converting MF to MX
> Error (<string> line 54): udp is not a known IP protocol
> Error (<string> line 56): unknown service "chargen" for protocol 6
>
>
> Does anyone have any idea how I can move forward on this?
>
> Thanks
> Nick
>
>
> _______________________________________________
> MirageOS-devel mailing listMirageOS-devel@lists.xenproject.orghttp://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>
>


-- 
Regards
Heidi

--001a113edd54f5d84e0515cc7881
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Thanks mindy,=C2=A0<div><br></div><div>I recall there was =
some issues with this, so i started to use a cut down version of the zone f=
ile which is here=C2=A0<a href=3D"https://github.com/heidi-ann/ocaml-dns-ex=
amples/blob/master/forwarder/test.zone">https://github.com/heidi-ann/ocaml-=
dns-examples/blob/master/forwarder/test.zone</a></div><div>also, i run my p=
ersonal dns sever with ocaml-dns and its zone file is here=C2=A0<a href=3D"=
https://github.com/heidi-ann/rwe-dns-server/blob/master/data/test.zone">htt=
ps://github.com/heidi-ann/rwe-dns-server/blob/master/data/test.zone</a> and=
 should work=C2=A0</div></div><div class=3D"gmail_extra"><br><div class=3D"=
gmail_quote">On 11 May 2015 at 11:29, Mindy <span dir=3D"ltr">&lt;<a href=
=3D"mailto:mindy@somerandomidiot.com" target=3D"_blank">mindy@somerandomidi=
ot.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 =20
   =20
 =20
  <div text=3D"#000000" bgcolor=3D"#FFFFFF">
    Hm, I had this same problem.=C2=A0 I was able to get the server to run =
by
    making the following changes to data/test.zone (although the
    initialization still complains about unknown services in other
    lines):<br>
    <br>
    on line 55, s/udp/17/<br>
    <br>
    Then, rerun `mirage configure --unix` and `make`.=C2=A0 After doing tha=
t
    and starting the server, I&#39;m able to get a response from `dig
    @<a href=3D"http://127.0.0.1" target=3D"_blank">127.0.0.1</a> ns0.d1.si=
gnpo.st.` (127.0.0.1 because I&#39;m running in
    socket mode).<br>
    <br>
    Cheers,<br>
    Mindy<div><div class=3D"h5"><br>
    <br>
    <div>On 05/11/2015 11:06 AM, Nick Betteridge
      wrote:<br>
    </div>
    </div></div><blockquote type=3D"cite"><div><div class=3D"h5">
     =20
      <div dir=3D"ltr">Hello<br>
        <br>
        I&#39;m trying to get the simple dns server to work that Heidi has
        in her examples (<a href=3D"http://github.com/heidi-ann/ocaml-dns-e=
xamples" target=3D"_blank">github.com/heidi-ann/ocaml-dns-examples</a>) and
        I&#39;m getting an error which I don&#39;t really understand - it&#=
39;s
        occurs both on the cubieboard and my amd64 desktop:<br>
        <br>
        [amd64]<br>
        $ sudo ./mir-dns<br>
        Manager: connect<br>
        plugging into tap0 with mac c2:9d:56:19:d7:2c..<br>
        Netif: connect tap0<br>
        Manager: connect<br>
        Manager: configuring<br>
        Manager: configuring<br>
        Netif: error, terminating listen loop<br>
        Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw
        [192.168.1.254]<br>
        <br>
        Manager: socket config currently ignored (TODO)<br>
        ARP: sending gratuitous from 192.168.1.2<br>
        Manager: configuration done<br>
        Warning (&lt;string&gt; line 47): Converting MD to MX<br>
        Warning (&lt;string&gt; line 48): Converting MF to MX<br>
        Error (&lt;string&gt; line 54): udp is not a known IP protocol<br>
        Error (&lt;string&gt; line 56): unknown service &quot;chargen&quot;=
 for
        protocol 6<br>
        Warning (&lt;string&gt; line 47): Converting MD to MX<br>
        Warning (&lt;string&gt; line 48): Converting MF to MX<br>
        Error (&lt;string&gt; line 54): udp is not a known IP protocol<br>
        Error (&lt;string&gt; line 56): unknown service &quot;chargen&quot;=
 for
        protocol 6<br>
        Netif: error, terminating listen loop<br>
        <br>
        [cubieboard2]<br>
        $ sudo ./mir-dns<br>
        plugging into tap0 with mac c2:9d:56:19:d7:2c..<br>
        Netif: connect tap0<br>
        Manager: connect<br>
        Manager: connect<br>
        Manager: configuring<br>
        Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw
        [192.168.1.1]<br>
        <br>
        ARP: sending gratuitous from 192.168.1.2<br>
        Manager: configuration done<br>
        Manager: configuring<br>
        Warning (&lt;string&gt; line 47): Converting MD to MX<br>
        Warning (&lt;string&gt; line 48): Converting MF to MX<br>
        Error (&lt;string&gt; line 54): udp is not a known IP protocol<br>
        Error (&lt;string&gt; line 56): unknown service &quot;chargen&quot;=
 for
        protocol 6<br>
        Manager: socket config currently ignored (TODO)<br>
        Warning (&lt;string&gt; line 47): Converting MD to MX<br>
        Warning (&lt;string&gt; line 48): Converting MF to MX<br>
        Error (&lt;string&gt; line 54): udp is not a known IP protocol<br>
        Error (&lt;string&gt; line 56): unknown service &quot;chargen&quot;=
 for
        protocol 6<br>
        <br>
        <br>
        Does anyone have any idea how I can move forward on this?<br>
        <br>
        Thanks<br>
        Nick<br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
MirageOS-devel mailing list
<a href=3D"mailto:MirageOS-devel@lists.xenproject.org" target=3D"_blank">Mi=
rageOS-devel@lists.xenproject.org</a>
<a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-de=
vel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/listinfo=
/mirageos-devel</a>
</pre>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
MirageOS-devel mailing list<br>
<a href=3D"mailto:MirageOS-devel@lists.xenproject.org">MirageOS-devel@lists=
.xenproject.org</a><br>
<a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-de=
vel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/listinfo=
/mirageos-devel</a><br>
<br></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div cla=
ss=3D"gmail_signature">Regards<br>Heidi<br></div>
</div>

--001a113edd54f5d84e0515cc7881--


--===============2680183338478215740==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============2680183338478215740==--


From mirageos-devel-bounces@lists.xenproject.org Mon May 11 11:14:03 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 11 May 2015 11:14:03 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yrlem-0005Wg-2d; Mon, 11 May 2015 11:13:56 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <heidihoward360@gmail.com>) id 1Yrlek-0005WQ-8G
	for mirageos-devel@lists.xenproject.org; Mon, 11 May 2015 11:13:54 +0000
Received: from [193.109.254.147] by server-15.bemta-14.messagelabs.com id
	96/DD-02796-1FE80555; Mon, 11 May 2015 11:13:53 +0000
X-Env-Sender: heidihoward360@gmail.com
X-Msg-Ref: server-12.tower-27.messagelabs.com!1431342830!16463010!1
X-Originating-IP: [209.85.223.182]
X-SpamReason: No, hits=1.4 required=7.0 tests=BODY_RANDOM_LONG,
	HTML_40_50,HTML_MESSAGE,RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 4953 invoked from network); 11 May 2015 11:13:51 -0000
Received: from mail-ie0-f182.google.com (HELO mail-ie0-f182.google.com)
	(209.85.223.182)
	by server-12.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	11 May 2015 11:13:51 -0000
Received: by ieczm2 with SMTP id zm2so104820434iec.2
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 11 May 2015 04:13:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=ii/Bsf5zaRD6wVZ83jkHbnRMreo5D+aWXKHoI27GCTc=;
	b=whzVqA5HzgomJ2O+VsqD+scyz+1RNFQqjwQkaYAmWcr7RokPMTFTi28zittHjXDiwG
	U3vHFvx+t3mGpaJ4BMx9uuvi3M79BZZhiTn1JZkuiTFMkMk1LQIltbyAQCakSaEmFQWu
	4ztasLIwZMC8lmemFJ4IfI5WBs6WdAcuJfk1I/CiEX1ePTleVjCXZQEIUwRCt6VyO0xd
	3Op0LqrcRMFNU2rx6xx4i3LCbsHrkxV4l8I+Jw4w44uNf2NuXnsbE4zsi7vZajhSbldf
	QKmYVaLqfcjrA7QseSaO/jQBkvXpTogEryNS8uuZdRZL9ACvmvtZK4MHlC8rCV1RPViM
	JWEw==
MIME-Version: 1.0
X-Received: by 10.107.17.198 with SMTP id 67mr11520867ior.64.1431342830440;
	Mon, 11 May 2015 04:13:50 -0700 (PDT)
Received: by 10.36.73.90 with HTTP; Mon, 11 May 2015 04:13:50 -0700 (PDT)
In-Reply-To: <55508479.1070004@somerandomidiot.com>
References: <DUB128-W30E699593E90F888ACF93DB4DB0@phx.gbl>
	<55508479.1070004@somerandomidiot.com>
Date: Mon, 11 May 2015 12:13:50 +0100
X-Google-Sender-Auth: MtZbj7YbFUZzLn6S2-_-DReTBgQ
Message-ID: <CAJbByNpsGwQmM+RQ=K+2iaano2FgE0u+RYxvf0nk9ARwBHocXg@mail.gmail.com>
From: Heidi Howard <hh360@cam.ac.uk>
To: Mindy <mindy@somerandomidiot.com>
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] simple dns server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============2680183338478215740=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============2680183338478215740==
Content-Type: multipart/alternative; boundary=001a113edd54f5d84e0515cc7881

--001a113edd54f5d84e0515cc7881
Content-Type: text/plain; charset=UTF-8

Thanks mindy,

I recall there was some issues with this, so i started to use a cut down
version of the zone file which is here
https://github.com/heidi-ann/ocaml-dns-examples/blob/master/forwarder/test.zone
also, i run my personal dns sever with ocaml-dns and its zone file is here
https://github.com/heidi-ann/rwe-dns-server/blob/master/data/test.zone and
should work

On 11 May 2015 at 11:29, Mindy <mindy@somerandomidiot.com> wrote:

>  Hm, I had this same problem.  I was able to get the server to run by
> making the following changes to data/test.zone (although the initialization
> still complains about unknown services in other lines):
>
> on line 55, s/udp/17/
>
> Then, rerun `mirage configure --unix` and `make`.  After doing that and
> starting the server, I'm able to get a response from `dig @127.0.0.1
> ns0.d1.signpo.st.` (127.0.0.1 because I'm running in socket mode).
>
> Cheers,
> Mindy
>
>
> On 05/11/2015 11:06 AM, Nick Betteridge wrote:
>
> Hello
>
> I'm trying to get the simple dns server to work that Heidi has in her
> examples (github.com/heidi-ann/ocaml-dns-examples) and I'm getting an
> error which I don't really understand - it's occurs both on the cubieboard
> and my amd64 desktop:
>
> [amd64]
> $ sudo ./mir-dns
> Manager: connect
> plugging into tap0 with mac c2:9d:56:19:d7:2c..
> Netif: connect tap0
> Manager: connect
> Manager: configuring
> Manager: configuring
> Netif: error, terminating listen loop
> Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.254]
>
> Manager: socket config currently ignored (TODO)
> ARP: sending gratuitous from 192.168.1.2
> Manager: configuration done
> Warning (<string> line 47): Converting MD to MX
> Warning (<string> line 48): Converting MF to MX
> Error (<string> line 54): udp is not a known IP protocol
> Error (<string> line 56): unknown service "chargen" for protocol 6
> Warning (<string> line 47): Converting MD to MX
> Warning (<string> line 48): Converting MF to MX
> Error (<string> line 54): udp is not a known IP protocol
> Error (<string> line 56): unknown service "chargen" for protocol 6
> Netif: error, terminating listen loop
>
> [cubieboard2]
> $ sudo ./mir-dns
> plugging into tap0 with mac c2:9d:56:19:d7:2c..
> Netif: connect tap0
> Manager: connect
> Manager: connect
> Manager: configuring
> Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.1]
>
> ARP: sending gratuitous from 192.168.1.2
> Manager: configuration done
> Manager: configuring
> Warning (<string> line 47): Converting MD to MX
> Warning (<string> line 48): Converting MF to MX
> Error (<string> line 54): udp is not a known IP protocol
> Error (<string> line 56): unknown service "chargen" for protocol 6
> Manager: socket config currently ignored (TODO)
> Warning (<string> line 47): Converting MD to MX
> Warning (<string> line 48): Converting MF to MX
> Error (<string> line 54): udp is not a known IP protocol
> Error (<string> line 56): unknown service "chargen" for protocol 6
>
>
> Does anyone have any idea how I can move forward on this?
>
> Thanks
> Nick
>
>
> _______________________________________________
> MirageOS-devel mailing listMirageOS-devel@lists.xenproject.orghttp://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>
>


-- 
Regards
Heidi

--001a113edd54f5d84e0515cc7881
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Thanks mindy,=C2=A0<div><br></div><div>I recall there was =
some issues with this, so i started to use a cut down version of the zone f=
ile which is here=C2=A0<a href=3D"https://github.com/heidi-ann/ocaml-dns-ex=
amples/blob/master/forwarder/test.zone">https://github.com/heidi-ann/ocaml-=
dns-examples/blob/master/forwarder/test.zone</a></div><div>also, i run my p=
ersonal dns sever with ocaml-dns and its zone file is here=C2=A0<a href=3D"=
https://github.com/heidi-ann/rwe-dns-server/blob/master/data/test.zone">htt=
ps://github.com/heidi-ann/rwe-dns-server/blob/master/data/test.zone</a> and=
 should work=C2=A0</div></div><div class=3D"gmail_extra"><br><div class=3D"=
gmail_quote">On 11 May 2015 at 11:29, Mindy <span dir=3D"ltr">&lt;<a href=
=3D"mailto:mindy@somerandomidiot.com" target=3D"_blank">mindy@somerandomidi=
ot.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 =20
   =20
 =20
  <div text=3D"#000000" bgcolor=3D"#FFFFFF">
    Hm, I had this same problem.=C2=A0 I was able to get the server to run =
by
    making the following changes to data/test.zone (although the
    initialization still complains about unknown services in other
    lines):<br>
    <br>
    on line 55, s/udp/17/<br>
    <br>
    Then, rerun `mirage configure --unix` and `make`.=C2=A0 After doing tha=
t
    and starting the server, I&#39;m able to get a response from `dig
    @<a href=3D"http://127.0.0.1" target=3D"_blank">127.0.0.1</a> ns0.d1.si=
gnpo.st.` (127.0.0.1 because I&#39;m running in
    socket mode).<br>
    <br>
    Cheers,<br>
    Mindy<div><div class=3D"h5"><br>
    <br>
    <div>On 05/11/2015 11:06 AM, Nick Betteridge
      wrote:<br>
    </div>
    </div></div><blockquote type=3D"cite"><div><div class=3D"h5">
     =20
      <div dir=3D"ltr">Hello<br>
        <br>
        I&#39;m trying to get the simple dns server to work that Heidi has
        in her examples (<a href=3D"http://github.com/heidi-ann/ocaml-dns-e=
xamples" target=3D"_blank">github.com/heidi-ann/ocaml-dns-examples</a>) and
        I&#39;m getting an error which I don&#39;t really understand - it&#=
39;s
        occurs both on the cubieboard and my amd64 desktop:<br>
        <br>
        [amd64]<br>
        $ sudo ./mir-dns<br>
        Manager: connect<br>
        plugging into tap0 with mac c2:9d:56:19:d7:2c..<br>
        Netif: connect tap0<br>
        Manager: connect<br>
        Manager: configuring<br>
        Manager: configuring<br>
        Netif: error, terminating listen loop<br>
        Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw
        [192.168.1.254]<br>
        <br>
        Manager: socket config currently ignored (TODO)<br>
        ARP: sending gratuitous from 192.168.1.2<br>
        Manager: configuration done<br>
        Warning (&lt;string&gt; line 47): Converting MD to MX<br>
        Warning (&lt;string&gt; line 48): Converting MF to MX<br>
        Error (&lt;string&gt; line 54): udp is not a known IP protocol<br>
        Error (&lt;string&gt; line 56): unknown service &quot;chargen&quot;=
 for
        protocol 6<br>
        Warning (&lt;string&gt; line 47): Converting MD to MX<br>
        Warning (&lt;string&gt; line 48): Converting MF to MX<br>
        Error (&lt;string&gt; line 54): udp is not a known IP protocol<br>
        Error (&lt;string&gt; line 56): unknown service &quot;chargen&quot;=
 for
        protocol 6<br>
        Netif: error, terminating listen loop<br>
        <br>
        [cubieboard2]<br>
        $ sudo ./mir-dns<br>
        plugging into tap0 with mac c2:9d:56:19:d7:2c..<br>
        Netif: connect tap0<br>
        Manager: connect<br>
        Manager: connect<br>
        Manager: configuring<br>
        Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw
        [192.168.1.1]<br>
        <br>
        ARP: sending gratuitous from 192.168.1.2<br>
        Manager: configuration done<br>
        Manager: configuring<br>
        Warning (&lt;string&gt; line 47): Converting MD to MX<br>
        Warning (&lt;string&gt; line 48): Converting MF to MX<br>
        Error (&lt;string&gt; line 54): udp is not a known IP protocol<br>
        Error (&lt;string&gt; line 56): unknown service &quot;chargen&quot;=
 for
        protocol 6<br>
        Manager: socket config currently ignored (TODO)<br>
        Warning (&lt;string&gt; line 47): Converting MD to MX<br>
        Warning (&lt;string&gt; line 48): Converting MF to MX<br>
        Error (&lt;string&gt; line 54): udp is not a known IP protocol<br>
        Error (&lt;string&gt; line 56): unknown service &quot;chargen&quot;=
 for
        protocol 6<br>
        <br>
        <br>
        Does anyone have any idea how I can move forward on this?<br>
        <br>
        Thanks<br>
        Nick<br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
MirageOS-devel mailing list
<a href=3D"mailto:MirageOS-devel@lists.xenproject.org" target=3D"_blank">Mi=
rageOS-devel@lists.xenproject.org</a>
<a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-de=
vel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/listinfo=
/mirageos-devel</a>
</pre>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
MirageOS-devel mailing list<br>
<a href=3D"mailto:MirageOS-devel@lists.xenproject.org">MirageOS-devel@lists=
.xenproject.org</a><br>
<a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-de=
vel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/listinfo=
/mirageos-devel</a><br>
<br></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div cla=
ss=3D"gmail_signature">Regards<br>Heidi<br></div>
</div>

--001a113edd54f5d84e0515cc7881--


--===============2680183338478215740==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============2680183338478215740==--


From mirageos-devel-bounces@lists.xenproject.org Mon May 11 12:16:17 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 11 May 2015 12:16:17 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yrmd1-0002M5-D6; Mon, 11 May 2015 12:16:11 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <buzzheavyyear@hotmail.com>) id 1Yrmcz-0002M0-FL
	for mirageos-devel@lists.xenproject.org; Mon, 11 May 2015 12:16:09 +0000
Received: from [85.158.139.211] by server-2.bemta-5.messagelabs.com id
	38/62-03031-88D90555; Mon, 11 May 2015 12:16:08 +0000
X-Env-Sender: buzzheavyyear@hotmail.com
X-Msg-Ref: server-2.tower-206.messagelabs.com!1431346567!14032001!1
X-Originating-IP: [157.55.1.143]
X-SpamReason: No, hits=0.2 required=7.0 tests=FORGED_HOTMAIL_RCVD,
	HTML_30_40,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 16471 invoked from network); 11 May 2015 12:16:07 -0000
Received: from dub004-omc2s4.hotmail.com (HELO DUB004-OMC2S4.hotmail.com)
	(157.55.1.143)
	by server-2.tower-206.messagelabs.com with AES256-SHA encrypted SMTP;
	11 May 2015 12:16:07 -0000
Received: from DUB128-W93 ([157.55.1.136]) by DUB004-OMC2S4.hotmail.com over
	TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); 
	Mon, 11 May 2015 05:16:06 -0700
X-TMN: [AsI+3cIg22Nlgnuzz9HEpPAKtSctrZPs]
X-Originating-Email: [buzzheavyyear@hotmail.com]
Message-ID: <DUB128-W93D34A8E11E03DAECC2CA2B4DB0@phx.gbl>
From: Nick Betteridge <buzzheavyyear@hotmail.com>
To: Heidi Howard <hh360@cam.ac.uk>, Mindy <mindy@somerandomidiot.com>
Date: Mon, 11 May 2015 12:16:06 +0000
Importance: Normal
In-Reply-To: <CAJbByNpsGwQmM+RQ=K+2iaano2FgE0u+RYxvf0nk9ARwBHocXg@mail.gmail.com>
References: <DUB128-W30E699593E90F888ACF93DB4DB0@phx.gbl>,
	<55508479.1070004@somerandomidiot.com>,
	<CAJbByNpsGwQmM+RQ=K+2iaano2FgE0u+RYxvf0nk9ARwBHocXg@mail.gmail.com>
MIME-Version: 1.0
X-OriginalArrivalTime: 11 May 2015 12:16:06.0281 (UTC)
	FILETIME=[4194A790:01D08BE4]
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] simple dns server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5976420747972708864=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============5976420747972708864==
Content-Type: multipart/alternative;
	boundary="_b785e7e3-5097-4b4b-a565-6782da4d5644_"

--_b785e7e3-5097-4b4b-a565-6782da4d5644_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Thanks Mindy & Heidi=2C

I got this to work with a single zone - however=2C when I tried using DNS.s=
erve_with_zonefiles and used dig=2C dig only returned the dns values of the=
 last zone in the list=2C ie:

let zonefiles =3D ["example1.com.zone"=3B "example2.net.zone"]

module Main (C:CONSOLE) (K:KV_RO) (S:STACKV4) =3D struct

  module U =3D S.UDPV4
  module DNS =3D Dns_server_mirage.Make(K)(S)

  let start c k s =3D
    let t =3D DNS.create s k in
    DNS.serve_with_zonefiles t ~port ~zonefiles
end

gives:

[example1.com]
dig @127.0.0.1 www.example1.com

=3B <<>> DiG 9.9.5-3ubuntu0.2-Ubuntu <<>> @127.0.0.1 www.example1.com
=3B (1 server found)
=3B=3B global options: +cmd
=3B=3B Got answer:
=3B=3B ->>HEADER<<- opcode: QUERY=2C status: SERVFAIL=2C id: 3848
=3B=3B flags: qr rd=3B QUERY: 1=2C ANSWER: 0=2C AUTHORITY: 0=2C ADDITIONAL:=
 0
=3B=3B WARNING: recursion requested but not available

=3B=3B QUESTION SECTION:
=3Bwww.example1.com.        IN    A

=3B=3B Query time: 1 msec
=3B=3B SERVER: 127.0.0.1#53(127.0.0.1)
=3B=3B WHEN: Mon May 11 12:09:29 UTC 2015
=3B=3B MSG SIZE  rcvd: 36

and
=20
[example2.net]
dig @127.0.0.1 www.example2.net

=3B <<>> DiG 9.9.5-3ubuntu0.2-Ubuntu <<>> @127.0.0.1 www.example2.net
=3B (1 server found)
=3B=3B global options: +cmd
=3B=3B Got answer:
=3B=3B ->>HEADER<<- opcode: QUERY=2C status: NOERROR=2C id: 19560
=3B=3B flags: qr aa rd=3B QUERY: 1=2C ANSWER: 1=2C AUTHORITY: 2=2C ADDITION=
AL: 3
=3B=3B WARNING: recursion requested but not available

=3B=3B OPT PSEUDOSECTION:
=3B EDNS: version: 0=2C flags: do=3B udp: 1500
=3B=3B QUESTION SECTION:
=3Bwww.example2.net.        IN    A

=3B=3B ANSWER SECTION:
www.example2.net.    3600    IN    A    192.168.1.11

=3B=3B AUTHORITY SECTION:
example2.net.        3600    IN    NS    ns2.example2.net.
example2.net.        3600    IN    NS    ns1.example2.net.

=3B=3B ADDITIONAL SECTION:
ns1.example2.net.    3600    IN    A    192.168.1.11
ns2.example2.net.    3600    IN    A    192.168.1.11

=3B=3B Query time: 2 msec
=3B=3B SERVER: 127.0.0.1#53(127.0.0.1)
=3B=3B WHEN: Mon May 11 12:11:52 UTC 2015
=3B=3B MSG SIZE  rcvd: 131


Incidentally=2C I see  your personal dns server zone file includes an MX re=
cord - I also need a person mails server for my cubieboard=2C what server a=
re you running?

Cheers (and thanks)
Nick
 		 	   		  =

--_b785e7e3-5097-4b4b-a565-6782da4d5644_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 12pt=3B
font-family:Calibri
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>Thanks Mindy &amp=3B Heidi=2C<br=
><br>I got this to work with a single zone - however=2C when I tried using =
DNS.serve_with_zonefiles and used dig=2C dig only returned the dns values o=
f the last zone in the list=2C ie:<br><br>let zonefiles =3D ["example1.com.=
zone"=3B "example2.net.zone"]<br><br>module Main (C:CONSOLE) (K:KV_RO) (S:S=
TACKV4) =3D struct<br><br>&nbsp=3B module U =3D S.UDPV4<br>&nbsp=3B module =
DNS =3D Dns_server_mirage.Make(K)(S)<br><br>&nbsp=3B let start c k s =3D<br=
>&nbsp=3B&nbsp=3B&nbsp=3B let t =3D DNS.create s k in<br>&nbsp=3B&nbsp=3B&n=
bsp=3B DNS.serve_with_zonefiles t ~port ~zonefiles<br>end<br><br>gives:<br>=
<br>[example1.com]<br>dig @127.0.0.1 www.example1.com<br><br>=3B &lt=3B&lt=
=3B&gt=3B&gt=3B DiG 9.9.5-3ubuntu0.2-Ubuntu &lt=3B&lt=3B&gt=3B&gt=3B @127.0=
.0.1 www.example1.com<br>=3B (1 server found)<br>=3B=3B global options: +cm=
d<br>=3B=3B Got answer:<br>=3B=3B -&gt=3B&gt=3BHEADER&lt=3B&lt=3B- opcode: =
QUERY=2C status: SERVFAIL=2C id: 3848<br>=3B=3B flags: qr rd=3B QUERY: 1=2C=
 ANSWER: 0=2C AUTHORITY: 0=2C ADDITIONAL: 0<br>=3B=3B WARNING: recursion re=
quested but not available<br><br>=3B=3B QUESTION SECTION:<br>=3Bwww.example=
1.com.&nbsp=3B&nbsp=3B&nbsp=3B &nbsp=3B&nbsp=3B&nbsp=3B IN&nbsp=3B&nbsp=3B&=
nbsp=3B A<br><br>=3B=3B Query time: 1 msec<br>=3B=3B SERVER: 127.0.0.1#53(1=
27.0.0.1)<br>=3B=3B WHEN: Mon May 11 12:09:29 UTC 2015<br>=3B=3B MSG SIZE&n=
bsp=3B rcvd: 36<br><br>and<br>&nbsp=3B<br>[example2.net]<br>dig @127.0.0.1 =
www.example2.net<br><br>=3B &lt=3B&lt=3B&gt=3B&gt=3B DiG 9.9.5-3ubuntu0.2-U=
buntu &lt=3B&lt=3B&gt=3B&gt=3B @127.0.0.1 www.example2.net<br>=3B (1 server=
 found)<br>=3B=3B global options: +cmd<br>=3B=3B Got answer:<br>=3B=3B -&gt=
=3B&gt=3BHEADER&lt=3B&lt=3B- opcode: QUERY=2C status: NOERROR=2C id: 19560<=
br>=3B=3B flags: qr aa rd=3B QUERY: 1=2C ANSWER: 1=2C AUTHORITY: 2=2C ADDIT=
IONAL: 3<br>=3B=3B WARNING: recursion requested but not available<br><br>=
=3B=3B OPT PSEUDOSECTION:<br>=3B EDNS: version: 0=2C flags: do=3B udp: 1500=
<br>=3B=3B QUESTION SECTION:<br>=3Bwww.example2.net.&nbsp=3B&nbsp=3B&nbsp=
=3B &nbsp=3B&nbsp=3B&nbsp=3B IN&nbsp=3B&nbsp=3B&nbsp=3B A<br><br>=3B=3B ANS=
WER SECTION:<br>www.example2.net.&nbsp=3B&nbsp=3B&nbsp=3B 3600&nbsp=3B&nbsp=
=3B&nbsp=3B IN&nbsp=3B&nbsp=3B&nbsp=3B A&nbsp=3B&nbsp=3B&nbsp=3B 192.168.1.=
11<br><br>=3B=3B AUTHORITY SECTION:<br>example2.net.&nbsp=3B&nbsp=3B&nbsp=
=3B &nbsp=3B&nbsp=3B&nbsp=3B 3600&nbsp=3B&nbsp=3B&nbsp=3B IN&nbsp=3B&nbsp=
=3B&nbsp=3B NS&nbsp=3B&nbsp=3B&nbsp=3B ns2.example2.net.<br>example2.net.&n=
bsp=3B&nbsp=3B&nbsp=3B &nbsp=3B&nbsp=3B&nbsp=3B 3600&nbsp=3B&nbsp=3B&nbsp=
=3B IN&nbsp=3B&nbsp=3B&nbsp=3B NS&nbsp=3B&nbsp=3B&nbsp=3B ns1.example2.net.=
<br><br>=3B=3B ADDITIONAL SECTION:<br>ns1.example2.net.&nbsp=3B&nbsp=3B&nbs=
p=3B 3600&nbsp=3B&nbsp=3B&nbsp=3B IN&nbsp=3B&nbsp=3B&nbsp=3B A&nbsp=3B&nbsp=
=3B&nbsp=3B 192.168.1.11<br>ns2.example2.net.&nbsp=3B&nbsp=3B&nbsp=3B 3600&=
nbsp=3B&nbsp=3B&nbsp=3B IN&nbsp=3B&nbsp=3B&nbsp=3B A&nbsp=3B&nbsp=3B&nbsp=
=3B 192.168.1.11<br><br>=3B=3B Query time: 2 msec<br>=3B=3B SERVER: 127.0.0=
.1#53(127.0.0.1)<br>=3B=3B WHEN: Mon May 11 12:11:52 UTC 2015<br>=3B=3B MSG=
 SIZE&nbsp=3B rcvd: 131<br><br><br>Incidentally=2C I see&nbsp=3B your perso=
nal dns server zone file includes an MX record - I also need a person mails=
 server for my cubieboard=2C what server are you running?<br><br>Cheers (an=
d thanks)<br>Nick<br> 		 	   		  </div></body>
</html>=

--_b785e7e3-5097-4b4b-a565-6782da4d5644_--


--===============5976420747972708864==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============5976420747972708864==--


From mirageos-devel-bounces@lists.xenproject.org Mon May 11 12:16:17 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 11 May 2015 12:16:17 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yrmd1-0002M5-D6; Mon, 11 May 2015 12:16:11 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <buzzheavyyear@hotmail.com>) id 1Yrmcz-0002M0-FL
	for mirageos-devel@lists.xenproject.org; Mon, 11 May 2015 12:16:09 +0000
Received: from [85.158.139.211] by server-2.bemta-5.messagelabs.com id
	38/62-03031-88D90555; Mon, 11 May 2015 12:16:08 +0000
X-Env-Sender: buzzheavyyear@hotmail.com
X-Msg-Ref: server-2.tower-206.messagelabs.com!1431346567!14032001!1
X-Originating-IP: [157.55.1.143]
X-SpamReason: No, hits=0.2 required=7.0 tests=FORGED_HOTMAIL_RCVD,
	HTML_30_40,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 16471 invoked from network); 11 May 2015 12:16:07 -0000
Received: from dub004-omc2s4.hotmail.com (HELO DUB004-OMC2S4.hotmail.com)
	(157.55.1.143)
	by server-2.tower-206.messagelabs.com with AES256-SHA encrypted SMTP;
	11 May 2015 12:16:07 -0000
Received: from DUB128-W93 ([157.55.1.136]) by DUB004-OMC2S4.hotmail.com over
	TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); 
	Mon, 11 May 2015 05:16:06 -0700
X-TMN: [AsI+3cIg22Nlgnuzz9HEpPAKtSctrZPs]
X-Originating-Email: [buzzheavyyear@hotmail.com]
Message-ID: <DUB128-W93D34A8E11E03DAECC2CA2B4DB0@phx.gbl>
From: Nick Betteridge <buzzheavyyear@hotmail.com>
To: Heidi Howard <hh360@cam.ac.uk>, Mindy <mindy@somerandomidiot.com>
Date: Mon, 11 May 2015 12:16:06 +0000
Importance: Normal
In-Reply-To: <CAJbByNpsGwQmM+RQ=K+2iaano2FgE0u+RYxvf0nk9ARwBHocXg@mail.gmail.com>
References: <DUB128-W30E699593E90F888ACF93DB4DB0@phx.gbl>,
	<55508479.1070004@somerandomidiot.com>,
	<CAJbByNpsGwQmM+RQ=K+2iaano2FgE0u+RYxvf0nk9ARwBHocXg@mail.gmail.com>
MIME-Version: 1.0
X-OriginalArrivalTime: 11 May 2015 12:16:06.0281 (UTC)
	FILETIME=[4194A790:01D08BE4]
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] simple dns server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5976420747972708864=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============5976420747972708864==
Content-Type: multipart/alternative;
	boundary="_b785e7e3-5097-4b4b-a565-6782da4d5644_"

--_b785e7e3-5097-4b4b-a565-6782da4d5644_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Thanks Mindy & Heidi=2C

I got this to work with a single zone - however=2C when I tried using DNS.s=
erve_with_zonefiles and used dig=2C dig only returned the dns values of the=
 last zone in the list=2C ie:

let zonefiles =3D ["example1.com.zone"=3B "example2.net.zone"]

module Main (C:CONSOLE) (K:KV_RO) (S:STACKV4) =3D struct

  module U =3D S.UDPV4
  module DNS =3D Dns_server_mirage.Make(K)(S)

  let start c k s =3D
    let t =3D DNS.create s k in
    DNS.serve_with_zonefiles t ~port ~zonefiles
end

gives:

[example1.com]
dig @127.0.0.1 www.example1.com

=3B <<>> DiG 9.9.5-3ubuntu0.2-Ubuntu <<>> @127.0.0.1 www.example1.com
=3B (1 server found)
=3B=3B global options: +cmd
=3B=3B Got answer:
=3B=3B ->>HEADER<<- opcode: QUERY=2C status: SERVFAIL=2C id: 3848
=3B=3B flags: qr rd=3B QUERY: 1=2C ANSWER: 0=2C AUTHORITY: 0=2C ADDITIONAL:=
 0
=3B=3B WARNING: recursion requested but not available

=3B=3B QUESTION SECTION:
=3Bwww.example1.com.        IN    A

=3B=3B Query time: 1 msec
=3B=3B SERVER: 127.0.0.1#53(127.0.0.1)
=3B=3B WHEN: Mon May 11 12:09:29 UTC 2015
=3B=3B MSG SIZE  rcvd: 36

and
=20
[example2.net]
dig @127.0.0.1 www.example2.net

=3B <<>> DiG 9.9.5-3ubuntu0.2-Ubuntu <<>> @127.0.0.1 www.example2.net
=3B (1 server found)
=3B=3B global options: +cmd
=3B=3B Got answer:
=3B=3B ->>HEADER<<- opcode: QUERY=2C status: NOERROR=2C id: 19560
=3B=3B flags: qr aa rd=3B QUERY: 1=2C ANSWER: 1=2C AUTHORITY: 2=2C ADDITION=
AL: 3
=3B=3B WARNING: recursion requested but not available

=3B=3B OPT PSEUDOSECTION:
=3B EDNS: version: 0=2C flags: do=3B udp: 1500
=3B=3B QUESTION SECTION:
=3Bwww.example2.net.        IN    A

=3B=3B ANSWER SECTION:
www.example2.net.    3600    IN    A    192.168.1.11

=3B=3B AUTHORITY SECTION:
example2.net.        3600    IN    NS    ns2.example2.net.
example2.net.        3600    IN    NS    ns1.example2.net.

=3B=3B ADDITIONAL SECTION:
ns1.example2.net.    3600    IN    A    192.168.1.11
ns2.example2.net.    3600    IN    A    192.168.1.11

=3B=3B Query time: 2 msec
=3B=3B SERVER: 127.0.0.1#53(127.0.0.1)
=3B=3B WHEN: Mon May 11 12:11:52 UTC 2015
=3B=3B MSG SIZE  rcvd: 131


Incidentally=2C I see  your personal dns server zone file includes an MX re=
cord - I also need a person mails server for my cubieboard=2C what server a=
re you running?

Cheers (and thanks)
Nick
 		 	   		  =

--_b785e7e3-5097-4b4b-a565-6782da4d5644_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 12pt=3B
font-family:Calibri
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>Thanks Mindy &amp=3B Heidi=2C<br=
><br>I got this to work with a single zone - however=2C when I tried using =
DNS.serve_with_zonefiles and used dig=2C dig only returned the dns values o=
f the last zone in the list=2C ie:<br><br>let zonefiles =3D ["example1.com.=
zone"=3B "example2.net.zone"]<br><br>module Main (C:CONSOLE) (K:KV_RO) (S:S=
TACKV4) =3D struct<br><br>&nbsp=3B module U =3D S.UDPV4<br>&nbsp=3B module =
DNS =3D Dns_server_mirage.Make(K)(S)<br><br>&nbsp=3B let start c k s =3D<br=
>&nbsp=3B&nbsp=3B&nbsp=3B let t =3D DNS.create s k in<br>&nbsp=3B&nbsp=3B&n=
bsp=3B DNS.serve_with_zonefiles t ~port ~zonefiles<br>end<br><br>gives:<br>=
<br>[example1.com]<br>dig @127.0.0.1 www.example1.com<br><br>=3B &lt=3B&lt=
=3B&gt=3B&gt=3B DiG 9.9.5-3ubuntu0.2-Ubuntu &lt=3B&lt=3B&gt=3B&gt=3B @127.0=
.0.1 www.example1.com<br>=3B (1 server found)<br>=3B=3B global options: +cm=
d<br>=3B=3B Got answer:<br>=3B=3B -&gt=3B&gt=3BHEADER&lt=3B&lt=3B- opcode: =
QUERY=2C status: SERVFAIL=2C id: 3848<br>=3B=3B flags: qr rd=3B QUERY: 1=2C=
 ANSWER: 0=2C AUTHORITY: 0=2C ADDITIONAL: 0<br>=3B=3B WARNING: recursion re=
quested but not available<br><br>=3B=3B QUESTION SECTION:<br>=3Bwww.example=
1.com.&nbsp=3B&nbsp=3B&nbsp=3B &nbsp=3B&nbsp=3B&nbsp=3B IN&nbsp=3B&nbsp=3B&=
nbsp=3B A<br><br>=3B=3B Query time: 1 msec<br>=3B=3B SERVER: 127.0.0.1#53(1=
27.0.0.1)<br>=3B=3B WHEN: Mon May 11 12:09:29 UTC 2015<br>=3B=3B MSG SIZE&n=
bsp=3B rcvd: 36<br><br>and<br>&nbsp=3B<br>[example2.net]<br>dig @127.0.0.1 =
www.example2.net<br><br>=3B &lt=3B&lt=3B&gt=3B&gt=3B DiG 9.9.5-3ubuntu0.2-U=
buntu &lt=3B&lt=3B&gt=3B&gt=3B @127.0.0.1 www.example2.net<br>=3B (1 server=
 found)<br>=3B=3B global options: +cmd<br>=3B=3B Got answer:<br>=3B=3B -&gt=
=3B&gt=3BHEADER&lt=3B&lt=3B- opcode: QUERY=2C status: NOERROR=2C id: 19560<=
br>=3B=3B flags: qr aa rd=3B QUERY: 1=2C ANSWER: 1=2C AUTHORITY: 2=2C ADDIT=
IONAL: 3<br>=3B=3B WARNING: recursion requested but not available<br><br>=
=3B=3B OPT PSEUDOSECTION:<br>=3B EDNS: version: 0=2C flags: do=3B udp: 1500=
<br>=3B=3B QUESTION SECTION:<br>=3Bwww.example2.net.&nbsp=3B&nbsp=3B&nbsp=
=3B &nbsp=3B&nbsp=3B&nbsp=3B IN&nbsp=3B&nbsp=3B&nbsp=3B A<br><br>=3B=3B ANS=
WER SECTION:<br>www.example2.net.&nbsp=3B&nbsp=3B&nbsp=3B 3600&nbsp=3B&nbsp=
=3B&nbsp=3B IN&nbsp=3B&nbsp=3B&nbsp=3B A&nbsp=3B&nbsp=3B&nbsp=3B 192.168.1.=
11<br><br>=3B=3B AUTHORITY SECTION:<br>example2.net.&nbsp=3B&nbsp=3B&nbsp=
=3B &nbsp=3B&nbsp=3B&nbsp=3B 3600&nbsp=3B&nbsp=3B&nbsp=3B IN&nbsp=3B&nbsp=
=3B&nbsp=3B NS&nbsp=3B&nbsp=3B&nbsp=3B ns2.example2.net.<br>example2.net.&n=
bsp=3B&nbsp=3B&nbsp=3B &nbsp=3B&nbsp=3B&nbsp=3B 3600&nbsp=3B&nbsp=3B&nbsp=
=3B IN&nbsp=3B&nbsp=3B&nbsp=3B NS&nbsp=3B&nbsp=3B&nbsp=3B ns1.example2.net.=
<br><br>=3B=3B ADDITIONAL SECTION:<br>ns1.example2.net.&nbsp=3B&nbsp=3B&nbs=
p=3B 3600&nbsp=3B&nbsp=3B&nbsp=3B IN&nbsp=3B&nbsp=3B&nbsp=3B A&nbsp=3B&nbsp=
=3B&nbsp=3B 192.168.1.11<br>ns2.example2.net.&nbsp=3B&nbsp=3B&nbsp=3B 3600&=
nbsp=3B&nbsp=3B&nbsp=3B IN&nbsp=3B&nbsp=3B&nbsp=3B A&nbsp=3B&nbsp=3B&nbsp=
=3B 192.168.1.11<br><br>=3B=3B Query time: 2 msec<br>=3B=3B SERVER: 127.0.0=
.1#53(127.0.0.1)<br>=3B=3B WHEN: Mon May 11 12:11:52 UTC 2015<br>=3B=3B MSG=
 SIZE&nbsp=3B rcvd: 131<br><br><br>Incidentally=2C I see&nbsp=3B your perso=
nal dns server zone file includes an MX record - I also need a person mails=
 server for my cubieboard=2C what server are you running?<br><br>Cheers (an=
d thanks)<br>Nick<br> 		 	   		  </div></body>
</html>=

--_b785e7e3-5097-4b4b-a565-6782da4d5644_--


--===============5976420747972708864==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============5976420747972708864==--


From mirageos-devel-bounces@lists.xenproject.org Mon May 11 12:37:12 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 11 May 2015 12:37:12 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YrmxB-0003Q2-A6; Mon, 11 May 2015 12:37:01 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <heidihoward360@gmail.com>) id 1YrmxA-0003Pt-4R
	for mirageos-devel@lists.xenproject.org; Mon, 11 May 2015 12:37:00 +0000
Received: from [193.109.254.147] by server-11.bemta-14.messagelabs.com id
	2B/FD-02795-A62A0555; Mon, 11 May 2015 12:36:58 +0000
X-Env-Sender: heidihoward360@gmail.com
X-Msg-Ref: server-16.tower-27.messagelabs.com!1431347815!8885717!1
X-Originating-IP: [209.85.213.180]
X-SpamReason: No, hits=0.9 required=7.0 tests=HTML_40_50,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 30654 invoked from network); 11 May 2015 12:36:56 -0000
Received: from mail-ig0-f180.google.com (HELO mail-ig0-f180.google.com)
	(209.85.213.180)
	by server-16.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	11 May 2015 12:36:56 -0000
Received: by igbyr2 with SMTP id yr2so68240328igb.0
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 11 May 2015 05:36:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=QcU3vjY+qGixSi2H4bst2iSnAKaepoTu9ocFIi8vIbI=;
	b=GpfZKj2R9zmhq+rg+k05C6JL0F2zVHz1G4Vi4l1gH437wj9y9Bu4+4+yqrpyYvVzgR
	8y4WcxpbbP6vStE25Sgz0lVC0kz63lCF+rsryJNoRclb0JiEQF5teFOK2usB0Ez9y/rb
	qmE3qgF9jvbYebCe7zeOt3dye+OfJD43842WBGtlCea2OeAu4IN9qumEKEgri4vCcoqI
	eVbfDL/ocoyKj4xBsGkiEIlwQrDe9waBJZ8tTqMFFcCMLSO5DNlr6+IAV10tvLXD9+Zt
	Hdr88ml2//n2ZCAQsMQVtTXWQJ8AGA+RBvOyEI7K03CEtCVK9bquf4alowFfqc2CgiMI
	1+aA==
MIME-Version: 1.0
X-Received: by 10.107.132.42 with SMTP id g42mr12329240iod.25.1431347815575;
	Mon, 11 May 2015 05:36:55 -0700 (PDT)
Received: by 10.36.73.90 with HTTP; Mon, 11 May 2015 05:36:55 -0700 (PDT)
In-Reply-To: <DUB128-W93D34A8E11E03DAECC2CA2B4DB0@phx.gbl>
References: <DUB128-W30E699593E90F888ACF93DB4DB0@phx.gbl>
	<55508479.1070004@somerandomidiot.com>
	<CAJbByNpsGwQmM+RQ=K+2iaano2FgE0u+RYxvf0nk9ARwBHocXg@mail.gmail.com>
	<DUB128-W93D34A8E11E03DAECC2CA2B4DB0@phx.gbl>
Date: Mon, 11 May 2015 13:36:55 +0100
X-Google-Sender-Auth: Z4j_wwrEEtBnQ7OpCX7YDYPwPFY
Message-ID: <CAJbByNqqFhGZ-gAXTazoJM=RpAoOSHCq6RYMkEKb6sWdmPVSuw@mail.gmail.com>
From: Heidi Howard <hh360@cam.ac.uk>
To: Nick Betteridge <buzzheavyyear@hotmail.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] simple dns server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============4053665735968952437=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============4053665735968952437==
Content-Type: multipart/alternative; boundary=001a113f3d1c191aa70515cda2ab

--001a113f3d1c191aa70515cda2ab
Content-Type: text/plain; charset=UTF-8

Interesting, i hadn't tested multiple zone files before, I'll add an issues
to the ocaml-dns issues tracker

https://github.com/mirage/ocaml-dns/issues

I've been testing out imaplet, https://github.com/gregtatcam/imaplet-lwt but
i don't yet use it in production for my personal mail

thanks :)

On 11 May 2015 at 13:16, Nick Betteridge <buzzheavyyear@hotmail.com> wrote:

> Thanks Mindy & Heidi,
>
> I got this to work with a single zone - however, when I tried using
> DNS.serve_with_zonefiles and used dig, dig only returned the dns values of
> the last zone in the list, ie:
>
> let zonefiles = ["example1.com.zone"; "example2.net.zone"]
>
> module Main (C:CONSOLE) (K:KV_RO) (S:STACKV4) = struct
>
>   module U = S.UDPV4
>   module DNS = Dns_server_mirage.Make(K)(S)
>
>   let start c k s =
>     let t = DNS.create s k in
>     DNS.serve_with_zonefiles t ~port ~zonefiles
> end
>
> gives:
>
> [example1.com]
> dig @127.0.0.1 www.example1.com
>
> ; <<>> DiG 9.9.5-3ubuntu0.2-Ubuntu <<>> @127.0.0.1 www.example1.com
> ; (1 server found)
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 3848
> ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
> ;; WARNING: recursion requested but not available
>
> ;; QUESTION SECTION:
> ;www.example1.com.        IN    A
>
> ;; Query time: 1 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Mon May 11 12:09:29 UTC 2015
> ;; MSG SIZE  rcvd: 36
>
> and
>
> [example2.net]
> dig @127.0.0.1 www.example2.net
>
> ; <<>> DiG 9.9.5-3ubuntu0.2-Ubuntu <<>> @127.0.0.1 www.example2.net
> ; (1 server found)
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19560
> ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3
> ;; WARNING: recursion requested but not available
>
> ;; OPT PSEUDOSECTION:
> ; EDNS: version: 0, flags: do; udp: 1500
> ;; QUESTION SECTION:
> ;www.example2.net.        IN    A
>
> ;; ANSWER SECTION:
> www.example2.net.    3600    IN    A    192.168.1.11
>
> ;; AUTHORITY SECTION:
> example2.net.        3600    IN    NS    ns2.example2.net.
> example2.net.        3600    IN    NS    ns1.example2.net.
>
> ;; ADDITIONAL SECTION:
> ns1.example2.net.    3600    IN    A    192.168.1.11
> ns2.example2.net.    3600    IN    A    192.168.1.11
>
> ;; Query time: 2 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Mon May 11 12:11:52 UTC 2015
> ;; MSG SIZE  rcvd: 131
>
>
> Incidentally, I see  your personal dns server zone file includes an MX
> record - I also need a person mails server for my cubieboard, what server
> are you running?
>
> Cheers (and thanks)
> Nick
>



-- 
Regards
Heidi

--001a113f3d1c191aa70515cda2ab
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Interesting, i hadn&#39;t tested multiple zone files befor=
e, I&#39;ll add an issues to the ocaml-dns issues tracker<div><br></div><di=
v><a href=3D"https://github.com/mirage/ocaml-dns/issues" target=3D"_blank">=
https://github.com/mirage/ocaml-dns/issues</a><br></div><div><br></div><div=
>I&#39;ve been testing out imaplet,=C2=A0<a href=3D"https://github.com/greg=
tatcam/imaplet-lwt" target=3D"_blank" style=3D"font-size:12.8000001907349px=
">https://github.com/gregtatcam/imaplet-lwt</a>=C2=A0but i don&#39;t yet us=
e it in production for my personal mail</div><div><br></div><div>thanks :)<=
/div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On 11 =
May 2015 at 13:16, Nick Betteridge <span dir=3D"ltr">&lt;<a href=3D"mailto:=
buzzheavyyear@hotmail.com" target=3D"_blank">buzzheavyyear@hotmail.com</a>&=
gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 =
0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir=3D"ltr">Thanks Mindy &amp; Heidi,<br><br>I got this to work w=
ith a single zone - however, when I tried using DNS.serve_with_zonefiles an=
d used dig, dig only returned the dns values of the last zone in the list, =
ie:<br><br>let zonefiles =3D [&quot;example1.com.zone&quot;; &quot;example2=
.net.zone&quot;]<br><br>module Main (C:CONSOLE) (K:KV_RO) (S:STACKV4) =3D s=
truct<br><br>=C2=A0 module U =3D S.UDPV4<br>=C2=A0 module DNS =3D Dns_serve=
r_mirage.Make(K)(S)<br><br>=C2=A0 let start c k s =3D<br>=C2=A0=C2=A0=C2=A0=
 let t =3D DNS.create s k in<br>=C2=A0=C2=A0=C2=A0 DNS.serve_with_zonefiles=
 t ~port ~zonefiles<br>end<br><br>gives:<br><br>[<a href=3D"http://example1=
.com" target=3D"_blank">example1.com</a>]<br>dig @<a href=3D"http://127.0.0=
.1" target=3D"_blank">127.0.0.1</a> <a href=3D"http://www.example1.com" tar=
get=3D"_blank">www.example1.com</a><br><br>; &lt;&lt;&gt;&gt; DiG 9.9.5-3ub=
untu0.2-Ubuntu &lt;&lt;&gt;&gt; @<a href=3D"http://127.0.0.1" target=3D"_bl=
ank">127.0.0.1</a> <a href=3D"http://www.example1.com" target=3D"_blank">ww=
w.example1.com</a><br>; (1 server found)<br>;; global options: +cmd<br>;; G=
ot answer:<br>;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: SERVFAIL, =
id: 3848<br>;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL:=
 0<br>;; WARNING: recursion requested but not available<br><br>;; QUESTION =
SECTION:<br>;<a href=3D"http://www.example1.com" target=3D"_blank">www.exam=
ple1.com</a>.=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 IN=C2=A0=C2=A0=C2=A0 A<b=
r><br>;; Query time: 1 msec<br>;; SERVER: 127.0.0.1#53(127.0.0.1)<br>;; WHE=
N: Mon May 11 12:09:29 UTC 2015<br>;; MSG SIZE=C2=A0 rcvd: 36<br><br>and<br=
>=C2=A0<br>[<a href=3D"http://example2.net" target=3D"_blank">example2.net<=
/a>]<br>dig @<a href=3D"http://127.0.0.1" target=3D"_blank">127.0.0.1</a> <=
a href=3D"http://www.example2.net" target=3D"_blank">www.example2.net</a><b=
r><br>; &lt;&lt;&gt;&gt; DiG 9.9.5-3ubuntu0.2-Ubuntu &lt;&lt;&gt;&gt; @<a h=
ref=3D"http://127.0.0.1" target=3D"_blank">127.0.0.1</a> <a href=3D"http://=
www.example2.net" target=3D"_blank">www.example2.net</a><br>; (1 server fou=
nd)<br>;; global options: +cmd<br>;; Got answer:<br>;; -&gt;&gt;HEADER&lt;&=
lt;- opcode: QUERY, status: NOERROR, id: 19560<br>;; flags: qr aa rd; QUERY=
: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3<br>;; WARNING: recursion reques=
ted but not available<br><br>;; OPT PSEUDOSECTION:<br>; EDNS: version: 0, f=
lags: do; udp: 1500<br>;; QUESTION SECTION:<br>;<a href=3D"http://www.examp=
le2.net" target=3D"_blank">www.example2.net</a>.=C2=A0=C2=A0=C2=A0 =C2=A0=
=C2=A0=C2=A0 IN=C2=A0=C2=A0=C2=A0 A<br><br>;; ANSWER SECTION:<br><a href=3D=
"http://www.example2.net" target=3D"_blank">www.example2.net</a>.=C2=A0=C2=
=A0=C2=A0 3600=C2=A0=C2=A0=C2=A0 IN=C2=A0=C2=A0=C2=A0 A=C2=A0=C2=A0=C2=A0 1=
92.168.1.11<br><br>;; AUTHORITY SECTION:<br><a href=3D"http://example2.net"=
 target=3D"_blank">example2.net</a>.=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 3=
600=C2=A0=C2=A0=C2=A0 IN=C2=A0=C2=A0=C2=A0 NS=C2=A0=C2=A0=C2=A0 <a href=3D"=
http://ns2.example2.net" target=3D"_blank">ns2.example2.net</a>.<br><a href=
=3D"http://example2.net" target=3D"_blank">example2.net</a>.=C2=A0=C2=A0=C2=
=A0 =C2=A0=C2=A0=C2=A0 3600=C2=A0=C2=A0=C2=A0 IN=C2=A0=C2=A0=C2=A0 NS=C2=A0=
=C2=A0=C2=A0 <a href=3D"http://ns1.example2.net" target=3D"_blank">ns1.exam=
ple2.net</a>.<br><br>;; ADDITIONAL SECTION:<br><a href=3D"http://ns1.exampl=
e2.net" target=3D"_blank">ns1.example2.net</a>.=C2=A0=C2=A0=C2=A0 3600=C2=
=A0=C2=A0=C2=A0 IN=C2=A0=C2=A0=C2=A0 A=C2=A0=C2=A0=C2=A0 192.168.1.11<br><a=
 href=3D"http://ns2.example2.net" target=3D"_blank">ns2.example2.net</a>.=
=C2=A0=C2=A0=C2=A0 3600=C2=A0=C2=A0=C2=A0 IN=C2=A0=C2=A0=C2=A0 A=C2=A0=C2=
=A0=C2=A0 192.168.1.11<br><br>;; Query time: 2 msec<br>;; SERVER: 127.0.0.1=
#53(127.0.0.1)<br>;; WHEN: Mon May 11 12:11:52 UTC 2015<br>;; MSG SIZE=C2=
=A0 rcvd: 131<br><br><br>Incidentally, I see=C2=A0 your personal dns server=
 zone file includes an MX record - I also need a person mails server for my=
 cubieboard, what server are you running?<br><br>Cheers (and thanks)<span c=
lass=3D"HOEnZb"><font color=3D"#888888"><br>Nick<br> 		 	   		  </font></sp=
an></div></div>
</blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div class=
=3D"gmail_signature">Regards<br>Heidi<br></div>
</div>

--001a113f3d1c191aa70515cda2ab--


--===============4053665735968952437==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============4053665735968952437==--


From mirageos-devel-bounces@lists.xenproject.org Mon May 11 12:37:12 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 11 May 2015 12:37:12 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YrmxB-0003Q2-A6; Mon, 11 May 2015 12:37:01 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <heidihoward360@gmail.com>) id 1YrmxA-0003Pt-4R
	for mirageos-devel@lists.xenproject.org; Mon, 11 May 2015 12:37:00 +0000
Received: from [193.109.254.147] by server-11.bemta-14.messagelabs.com id
	2B/FD-02795-A62A0555; Mon, 11 May 2015 12:36:58 +0000
X-Env-Sender: heidihoward360@gmail.com
X-Msg-Ref: server-16.tower-27.messagelabs.com!1431347815!8885717!1
X-Originating-IP: [209.85.213.180]
X-SpamReason: No, hits=0.9 required=7.0 tests=HTML_40_50,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 30654 invoked from network); 11 May 2015 12:36:56 -0000
Received: from mail-ig0-f180.google.com (HELO mail-ig0-f180.google.com)
	(209.85.213.180)
	by server-16.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	11 May 2015 12:36:56 -0000
Received: by igbyr2 with SMTP id yr2so68240328igb.0
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 11 May 2015 05:36:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=QcU3vjY+qGixSi2H4bst2iSnAKaepoTu9ocFIi8vIbI=;
	b=GpfZKj2R9zmhq+rg+k05C6JL0F2zVHz1G4Vi4l1gH437wj9y9Bu4+4+yqrpyYvVzgR
	8y4WcxpbbP6vStE25Sgz0lVC0kz63lCF+rsryJNoRclb0JiEQF5teFOK2usB0Ez9y/rb
	qmE3qgF9jvbYebCe7zeOt3dye+OfJD43842WBGtlCea2OeAu4IN9qumEKEgri4vCcoqI
	eVbfDL/ocoyKj4xBsGkiEIlwQrDe9waBJZ8tTqMFFcCMLSO5DNlr6+IAV10tvLXD9+Zt
	Hdr88ml2//n2ZCAQsMQVtTXWQJ8AGA+RBvOyEI7K03CEtCVK9bquf4alowFfqc2CgiMI
	1+aA==
MIME-Version: 1.0
X-Received: by 10.107.132.42 with SMTP id g42mr12329240iod.25.1431347815575;
	Mon, 11 May 2015 05:36:55 -0700 (PDT)
Received: by 10.36.73.90 with HTTP; Mon, 11 May 2015 05:36:55 -0700 (PDT)
In-Reply-To: <DUB128-W93D34A8E11E03DAECC2CA2B4DB0@phx.gbl>
References: <DUB128-W30E699593E90F888ACF93DB4DB0@phx.gbl>
	<55508479.1070004@somerandomidiot.com>
	<CAJbByNpsGwQmM+RQ=K+2iaano2FgE0u+RYxvf0nk9ARwBHocXg@mail.gmail.com>
	<DUB128-W93D34A8E11E03DAECC2CA2B4DB0@phx.gbl>
Date: Mon, 11 May 2015 13:36:55 +0100
X-Google-Sender-Auth: Z4j_wwrEEtBnQ7OpCX7YDYPwPFY
Message-ID: <CAJbByNqqFhGZ-gAXTazoJM=RpAoOSHCq6RYMkEKb6sWdmPVSuw@mail.gmail.com>
From: Heidi Howard <hh360@cam.ac.uk>
To: Nick Betteridge <buzzheavyyear@hotmail.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] simple dns server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============4053665735968952437=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============4053665735968952437==
Content-Type: multipart/alternative; boundary=001a113f3d1c191aa70515cda2ab

--001a113f3d1c191aa70515cda2ab
Content-Type: text/plain; charset=UTF-8

Interesting, i hadn't tested multiple zone files before, I'll add an issues
to the ocaml-dns issues tracker

https://github.com/mirage/ocaml-dns/issues

I've been testing out imaplet, https://github.com/gregtatcam/imaplet-lwt but
i don't yet use it in production for my personal mail

thanks :)

On 11 May 2015 at 13:16, Nick Betteridge <buzzheavyyear@hotmail.com> wrote:

> Thanks Mindy & Heidi,
>
> I got this to work with a single zone - however, when I tried using
> DNS.serve_with_zonefiles and used dig, dig only returned the dns values of
> the last zone in the list, ie:
>
> let zonefiles = ["example1.com.zone"; "example2.net.zone"]
>
> module Main (C:CONSOLE) (K:KV_RO) (S:STACKV4) = struct
>
>   module U = S.UDPV4
>   module DNS = Dns_server_mirage.Make(K)(S)
>
>   let start c k s =
>     let t = DNS.create s k in
>     DNS.serve_with_zonefiles t ~port ~zonefiles
> end
>
> gives:
>
> [example1.com]
> dig @127.0.0.1 www.example1.com
>
> ; <<>> DiG 9.9.5-3ubuntu0.2-Ubuntu <<>> @127.0.0.1 www.example1.com
> ; (1 server found)
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 3848
> ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
> ;; WARNING: recursion requested but not available
>
> ;; QUESTION SECTION:
> ;www.example1.com.        IN    A
>
> ;; Query time: 1 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Mon May 11 12:09:29 UTC 2015
> ;; MSG SIZE  rcvd: 36
>
> and
>
> [example2.net]
> dig @127.0.0.1 www.example2.net
>
> ; <<>> DiG 9.9.5-3ubuntu0.2-Ubuntu <<>> @127.0.0.1 www.example2.net
> ; (1 server found)
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19560
> ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3
> ;; WARNING: recursion requested but not available
>
> ;; OPT PSEUDOSECTION:
> ; EDNS: version: 0, flags: do; udp: 1500
> ;; QUESTION SECTION:
> ;www.example2.net.        IN    A
>
> ;; ANSWER SECTION:
> www.example2.net.    3600    IN    A    192.168.1.11
>
> ;; AUTHORITY SECTION:
> example2.net.        3600    IN    NS    ns2.example2.net.
> example2.net.        3600    IN    NS    ns1.example2.net.
>
> ;; ADDITIONAL SECTION:
> ns1.example2.net.    3600    IN    A    192.168.1.11
> ns2.example2.net.    3600    IN    A    192.168.1.11
>
> ;; Query time: 2 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Mon May 11 12:11:52 UTC 2015
> ;; MSG SIZE  rcvd: 131
>
>
> Incidentally, I see  your personal dns server zone file includes an MX
> record - I also need a person mails server for my cubieboard, what server
> are you running?
>
> Cheers (and thanks)
> Nick
>



-- 
Regards
Heidi

--001a113f3d1c191aa70515cda2ab
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Interesting, i hadn&#39;t tested multiple zone files befor=
e, I&#39;ll add an issues to the ocaml-dns issues tracker<div><br></div><di=
v><a href=3D"https://github.com/mirage/ocaml-dns/issues" target=3D"_blank">=
https://github.com/mirage/ocaml-dns/issues</a><br></div><div><br></div><div=
>I&#39;ve been testing out imaplet,=C2=A0<a href=3D"https://github.com/greg=
tatcam/imaplet-lwt" target=3D"_blank" style=3D"font-size:12.8000001907349px=
">https://github.com/gregtatcam/imaplet-lwt</a>=C2=A0but i don&#39;t yet us=
e it in production for my personal mail</div><div><br></div><div>thanks :)<=
/div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On 11 =
May 2015 at 13:16, Nick Betteridge <span dir=3D"ltr">&lt;<a href=3D"mailto:=
buzzheavyyear@hotmail.com" target=3D"_blank">buzzheavyyear@hotmail.com</a>&=
gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 =
0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir=3D"ltr">Thanks Mindy &amp; Heidi,<br><br>I got this to work w=
ith a single zone - however, when I tried using DNS.serve_with_zonefiles an=
d used dig, dig only returned the dns values of the last zone in the list, =
ie:<br><br>let zonefiles =3D [&quot;example1.com.zone&quot;; &quot;example2=
.net.zone&quot;]<br><br>module Main (C:CONSOLE) (K:KV_RO) (S:STACKV4) =3D s=
truct<br><br>=C2=A0 module U =3D S.UDPV4<br>=C2=A0 module DNS =3D Dns_serve=
r_mirage.Make(K)(S)<br><br>=C2=A0 let start c k s =3D<br>=C2=A0=C2=A0=C2=A0=
 let t =3D DNS.create s k in<br>=C2=A0=C2=A0=C2=A0 DNS.serve_with_zonefiles=
 t ~port ~zonefiles<br>end<br><br>gives:<br><br>[<a href=3D"http://example1=
.com" target=3D"_blank">example1.com</a>]<br>dig @<a href=3D"http://127.0.0=
.1" target=3D"_blank">127.0.0.1</a> <a href=3D"http://www.example1.com" tar=
get=3D"_blank">www.example1.com</a><br><br>; &lt;&lt;&gt;&gt; DiG 9.9.5-3ub=
untu0.2-Ubuntu &lt;&lt;&gt;&gt; @<a href=3D"http://127.0.0.1" target=3D"_bl=
ank">127.0.0.1</a> <a href=3D"http://www.example1.com" target=3D"_blank">ww=
w.example1.com</a><br>; (1 server found)<br>;; global options: +cmd<br>;; G=
ot answer:<br>;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: SERVFAIL, =
id: 3848<br>;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL:=
 0<br>;; WARNING: recursion requested but not available<br><br>;; QUESTION =
SECTION:<br>;<a href=3D"http://www.example1.com" target=3D"_blank">www.exam=
ple1.com</a>.=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 IN=C2=A0=C2=A0=C2=A0 A<b=
r><br>;; Query time: 1 msec<br>;; SERVER: 127.0.0.1#53(127.0.0.1)<br>;; WHE=
N: Mon May 11 12:09:29 UTC 2015<br>;; MSG SIZE=C2=A0 rcvd: 36<br><br>and<br=
>=C2=A0<br>[<a href=3D"http://example2.net" target=3D"_blank">example2.net<=
/a>]<br>dig @<a href=3D"http://127.0.0.1" target=3D"_blank">127.0.0.1</a> <=
a href=3D"http://www.example2.net" target=3D"_blank">www.example2.net</a><b=
r><br>; &lt;&lt;&gt;&gt; DiG 9.9.5-3ubuntu0.2-Ubuntu &lt;&lt;&gt;&gt; @<a h=
ref=3D"http://127.0.0.1" target=3D"_blank">127.0.0.1</a> <a href=3D"http://=
www.example2.net" target=3D"_blank">www.example2.net</a><br>; (1 server fou=
nd)<br>;; global options: +cmd<br>;; Got answer:<br>;; -&gt;&gt;HEADER&lt;&=
lt;- opcode: QUERY, status: NOERROR, id: 19560<br>;; flags: qr aa rd; QUERY=
: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3<br>;; WARNING: recursion reques=
ted but not available<br><br>;; OPT PSEUDOSECTION:<br>; EDNS: version: 0, f=
lags: do; udp: 1500<br>;; QUESTION SECTION:<br>;<a href=3D"http://www.examp=
le2.net" target=3D"_blank">www.example2.net</a>.=C2=A0=C2=A0=C2=A0 =C2=A0=
=C2=A0=C2=A0 IN=C2=A0=C2=A0=C2=A0 A<br><br>;; ANSWER SECTION:<br><a href=3D=
"http://www.example2.net" target=3D"_blank">www.example2.net</a>.=C2=A0=C2=
=A0=C2=A0 3600=C2=A0=C2=A0=C2=A0 IN=C2=A0=C2=A0=C2=A0 A=C2=A0=C2=A0=C2=A0 1=
92.168.1.11<br><br>;; AUTHORITY SECTION:<br><a href=3D"http://example2.net"=
 target=3D"_blank">example2.net</a>.=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 3=
600=C2=A0=C2=A0=C2=A0 IN=C2=A0=C2=A0=C2=A0 NS=C2=A0=C2=A0=C2=A0 <a href=3D"=
http://ns2.example2.net" target=3D"_blank">ns2.example2.net</a>.<br><a href=
=3D"http://example2.net" target=3D"_blank">example2.net</a>.=C2=A0=C2=A0=C2=
=A0 =C2=A0=C2=A0=C2=A0 3600=C2=A0=C2=A0=C2=A0 IN=C2=A0=C2=A0=C2=A0 NS=C2=A0=
=C2=A0=C2=A0 <a href=3D"http://ns1.example2.net" target=3D"_blank">ns1.exam=
ple2.net</a>.<br><br>;; ADDITIONAL SECTION:<br><a href=3D"http://ns1.exampl=
e2.net" target=3D"_blank">ns1.example2.net</a>.=C2=A0=C2=A0=C2=A0 3600=C2=
=A0=C2=A0=C2=A0 IN=C2=A0=C2=A0=C2=A0 A=C2=A0=C2=A0=C2=A0 192.168.1.11<br><a=
 href=3D"http://ns2.example2.net" target=3D"_blank">ns2.example2.net</a>.=
=C2=A0=C2=A0=C2=A0 3600=C2=A0=C2=A0=C2=A0 IN=C2=A0=C2=A0=C2=A0 A=C2=A0=C2=
=A0=C2=A0 192.168.1.11<br><br>;; Query time: 2 msec<br>;; SERVER: 127.0.0.1=
#53(127.0.0.1)<br>;; WHEN: Mon May 11 12:11:52 UTC 2015<br>;; MSG SIZE=C2=
=A0 rcvd: 131<br><br><br>Incidentally, I see=C2=A0 your personal dns server=
 zone file includes an MX record - I also need a person mails server for my=
 cubieboard, what server are you running?<br><br>Cheers (and thanks)<span c=
lass=3D"HOEnZb"><font color=3D"#888888"><br>Nick<br> 		 	   		  </font></sp=
an></div></div>
</blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div class=
=3D"gmail_signature">Regards<br>Heidi<br></div>
</div>

--001a113f3d1c191aa70515cda2ab--


--===============4053665735968952437==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============4053665735968952437==--


From mirageos-devel-bounces@lists.xenproject.org Mon May 11 12:50:02 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 11 May 2015 12:50:02 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yrn9l-000487-72; Mon, 11 May 2015 12:50:01 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <lukedunstan81@gmail.com>) id 1Yrn9j-000481-VD
	for mirageos-devel@lists.xenproject.org; Mon, 11 May 2015 12:50:00 +0000
Received: from [85.158.139.211] by server-2.bemta-5.messagelabs.com id
	10/2C-03031-775A0555; Mon, 11 May 2015 12:49:59 +0000
X-Env-Sender: lukedunstan81@gmail.com
X-Msg-Ref: server-13.tower-206.messagelabs.com!1431348597!14087696!1
X-Originating-IP: [209.85.215.49]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 11507 invoked from network); 11 May 2015 12:49:58 -0000
Received: from mail-la0-f49.google.com (HELO mail-la0-f49.google.com)
	(209.85.215.49)
	by server-13.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	11 May 2015 12:49:58 -0000
Received: by layy10 with SMTP id y10so92302409lay.0
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 11 May 2015 05:49:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=0YHe4OhXWIm4n5bpP5hKJKIGQdCD2BIrQEm2ZCHm/Bk=;
	b=JfNGf5LsMolu8Z0NIPG+otoUZHYGv6GKdiZjxK4WD9ezDvx7kZSnsyjiFgOTkaYn1r
	eepTNb3OFzCWkSMiOvA7DN4Z0Ar9JB3BKR27m0X81vKBdMd4DIgEAjfXp6/ZwJE712Br
	YeJ35253LmBQr+UpwHyuEorC+OEnmhCuX9XFecA6db4Fe1riAl4HkEA8vN5yBJNm605t
	hg2PIZ/VE62WUBa2bPbyLh/mmb+F3/AMI6fKUPxW0B28Cu/J7tAKYbip9nH+T4yzc+KX
	F+WxUJSbITGWLhOJAyBRl+EejkVi9HE3P0wlOnKvalcNW1jszKwrLo+ndW1luk5EXChO
	jxGA==
MIME-Version: 1.0
X-Received: by 10.152.234.139 with SMTP id ue11mr7950248lac.28.1431348597404; 
	Mon, 11 May 2015 05:49:57 -0700 (PDT)
Received: by 10.112.119.197 with HTTP; Mon, 11 May 2015 05:49:57 -0700 (PDT)
In-Reply-To: <DUB128-W93D34A8E11E03DAECC2CA2B4DB0@phx.gbl>
References: <DUB128-W30E699593E90F888ACF93DB4DB0@phx.gbl>
	<55508479.1070004@somerandomidiot.com>
	<CAJbByNpsGwQmM+RQ=K+2iaano2FgE0u+RYxvf0nk9ARwBHocXg@mail.gmail.com>
	<DUB128-W93D34A8E11E03DAECC2CA2B4DB0@phx.gbl>
Date: Mon, 11 May 2015 20:49:57 +0800
Message-ID: <CAEui0wVXkWv-rbAkXbCdpvD0rGtJv2MEZ37jd-1zRG9U09t+KA@mail.gmail.com>
From: Luke Dunstan <lukedunstan81@gmail.com>
To: Nick Betteridge <buzzheavyyear@hotmail.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] simple dns server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi Nick,

Would you be able to post your example zone files? The code appears to
concatenate the file contents and then parses the result, so maybe if
the first file doesn't end in a newline character then it could be
misinterpreted?

https://github.com/mirage/ocaml-dns/issues/69

Luke


On 11 May 2015 at 20:16, Nick Betteridge <buzzheavyyear@hotmail.com> wrote:
> Thanks Mindy & Heidi,
>
> I got this to work with a single zone - however, when I tried using
> DNS.serve_with_zonefiles and used dig, dig only returned the dns values of
> the last zone in the list, ie:
>
> let zonefiles = ["example1.com.zone"; "example2.net.zone"]
>
> module Main (C:CONSOLE) (K:KV_RO) (S:STACKV4) = struct
>
>   module U = S.UDPV4
>   module DNS = Dns_server_mirage.Make(K)(S)
>
>   let start c k s =
>     let t = DNS.create s k in
>     DNS.serve_with_zonefiles t ~port ~zonefiles
> end
>
> gives:
>
> [example1.com]
> dig @127.0.0.1 www.example1.com
>
> ; <<>> DiG 9.9.5-3ubuntu0.2-Ubuntu <<>> @127.0.0.1 www.example1.com
> ; (1 server found)
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 3848
> ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
> ;; WARNING: recursion requested but not available
>
> ;; QUESTION SECTION:
> ;www.example1.com.        IN    A
>
> ;; Query time: 1 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Mon May 11 12:09:29 UTC 2015
> ;; MSG SIZE  rcvd: 36
>
> and
>
> [example2.net]
> dig @127.0.0.1 www.example2.net
>
> ; <<>> DiG 9.9.5-3ubuntu0.2-Ubuntu <<>> @127.0.0.1 www.example2.net
> ; (1 server found)
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19560
> ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3
> ;; WARNING: recursion requested but not available
>
> ;; OPT PSEUDOSECTION:
> ; EDNS: version: 0, flags: do; udp: 1500
> ;; QUESTION SECTION:
> ;www.example2.net.        IN    A
>
> ;; ANSWER SECTION:
> www.example2.net.    3600    IN    A    192.168.1.11
>
> ;; AUTHORITY SECTION:
> example2.net.        3600    IN    NS    ns2.example2.net.
> example2.net.        3600    IN    NS    ns1.example2.net.
>
> ;; ADDITIONAL SECTION:
> ns1.example2.net.    3600    IN    A    192.168.1.11
> ns2.example2.net.    3600    IN    A    192.168.1.11
>
> ;; Query time: 2 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Mon May 11 12:11:52 UTC 2015
> ;; MSG SIZE  rcvd: 131
>
>
> Incidentally, I see  your personal dns server zone file includes an MX
> record - I also need a person mails server for my cubieboard, what server
> are you running?
>
> Cheers (and thanks)
> Nick
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon May 11 12:50:02 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 11 May 2015 12:50:02 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yrn9l-000487-72; Mon, 11 May 2015 12:50:01 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <lukedunstan81@gmail.com>) id 1Yrn9j-000481-VD
	for mirageos-devel@lists.xenproject.org; Mon, 11 May 2015 12:50:00 +0000
Received: from [85.158.139.211] by server-2.bemta-5.messagelabs.com id
	10/2C-03031-775A0555; Mon, 11 May 2015 12:49:59 +0000
X-Env-Sender: lukedunstan81@gmail.com
X-Msg-Ref: server-13.tower-206.messagelabs.com!1431348597!14087696!1
X-Originating-IP: [209.85.215.49]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 11507 invoked from network); 11 May 2015 12:49:58 -0000
Received: from mail-la0-f49.google.com (HELO mail-la0-f49.google.com)
	(209.85.215.49)
	by server-13.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	11 May 2015 12:49:58 -0000
Received: by layy10 with SMTP id y10so92302409lay.0
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 11 May 2015 05:49:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=0YHe4OhXWIm4n5bpP5hKJKIGQdCD2BIrQEm2ZCHm/Bk=;
	b=JfNGf5LsMolu8Z0NIPG+otoUZHYGv6GKdiZjxK4WD9ezDvx7kZSnsyjiFgOTkaYn1r
	eepTNb3OFzCWkSMiOvA7DN4Z0Ar9JB3BKR27m0X81vKBdMd4DIgEAjfXp6/ZwJE712Br
	YeJ35253LmBQr+UpwHyuEorC+OEnmhCuX9XFecA6db4Fe1riAl4HkEA8vN5yBJNm605t
	hg2PIZ/VE62WUBa2bPbyLh/mmb+F3/AMI6fKUPxW0B28Cu/J7tAKYbip9nH+T4yzc+KX
	F+WxUJSbITGWLhOJAyBRl+EejkVi9HE3P0wlOnKvalcNW1jszKwrLo+ndW1luk5EXChO
	jxGA==
MIME-Version: 1.0
X-Received: by 10.152.234.139 with SMTP id ue11mr7950248lac.28.1431348597404; 
	Mon, 11 May 2015 05:49:57 -0700 (PDT)
Received: by 10.112.119.197 with HTTP; Mon, 11 May 2015 05:49:57 -0700 (PDT)
In-Reply-To: <DUB128-W93D34A8E11E03DAECC2CA2B4DB0@phx.gbl>
References: <DUB128-W30E699593E90F888ACF93DB4DB0@phx.gbl>
	<55508479.1070004@somerandomidiot.com>
	<CAJbByNpsGwQmM+RQ=K+2iaano2FgE0u+RYxvf0nk9ARwBHocXg@mail.gmail.com>
	<DUB128-W93D34A8E11E03DAECC2CA2B4DB0@phx.gbl>
Date: Mon, 11 May 2015 20:49:57 +0800
Message-ID: <CAEui0wVXkWv-rbAkXbCdpvD0rGtJv2MEZ37jd-1zRG9U09t+KA@mail.gmail.com>
From: Luke Dunstan <lukedunstan81@gmail.com>
To: Nick Betteridge <buzzheavyyear@hotmail.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] simple dns server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi Nick,

Would you be able to post your example zone files? The code appears to
concatenate the file contents and then parses the result, so maybe if
the first file doesn't end in a newline character then it could be
misinterpreted?

https://github.com/mirage/ocaml-dns/issues/69

Luke


On 11 May 2015 at 20:16, Nick Betteridge <buzzheavyyear@hotmail.com> wrote:
> Thanks Mindy & Heidi,
>
> I got this to work with a single zone - however, when I tried using
> DNS.serve_with_zonefiles and used dig, dig only returned the dns values of
> the last zone in the list, ie:
>
> let zonefiles = ["example1.com.zone"; "example2.net.zone"]
>
> module Main (C:CONSOLE) (K:KV_RO) (S:STACKV4) = struct
>
>   module U = S.UDPV4
>   module DNS = Dns_server_mirage.Make(K)(S)
>
>   let start c k s =
>     let t = DNS.create s k in
>     DNS.serve_with_zonefiles t ~port ~zonefiles
> end
>
> gives:
>
> [example1.com]
> dig @127.0.0.1 www.example1.com
>
> ; <<>> DiG 9.9.5-3ubuntu0.2-Ubuntu <<>> @127.0.0.1 www.example1.com
> ; (1 server found)
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 3848
> ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
> ;; WARNING: recursion requested but not available
>
> ;; QUESTION SECTION:
> ;www.example1.com.        IN    A
>
> ;; Query time: 1 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Mon May 11 12:09:29 UTC 2015
> ;; MSG SIZE  rcvd: 36
>
> and
>
> [example2.net]
> dig @127.0.0.1 www.example2.net
>
> ; <<>> DiG 9.9.5-3ubuntu0.2-Ubuntu <<>> @127.0.0.1 www.example2.net
> ; (1 server found)
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19560
> ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3
> ;; WARNING: recursion requested but not available
>
> ;; OPT PSEUDOSECTION:
> ; EDNS: version: 0, flags: do; udp: 1500
> ;; QUESTION SECTION:
> ;www.example2.net.        IN    A
>
> ;; ANSWER SECTION:
> www.example2.net.    3600    IN    A    192.168.1.11
>
> ;; AUTHORITY SECTION:
> example2.net.        3600    IN    NS    ns2.example2.net.
> example2.net.        3600    IN    NS    ns1.example2.net.
>
> ;; ADDITIONAL SECTION:
> ns1.example2.net.    3600    IN    A    192.168.1.11
> ns2.example2.net.    3600    IN    A    192.168.1.11
>
> ;; Query time: 2 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Mon May 11 12:11:52 UTC 2015
> ;; MSG SIZE  rcvd: 131
>
>
> Incidentally, I see  your personal dns server zone file includes an MX
> record - I also need a person mails server for my cubieboard, what server
> are you running?
>
> Cheers (and thanks)
> Nick
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon May 11 13:15:05 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 11 May 2015 13:15:05 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YrnXz-0005sX-HI; Mon, 11 May 2015 13:15:03 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <buzzheavyyear@hotmail.com>) id 1YrnXx-0005sB-FU
	for mirageos-devel@lists.xenproject.org; Mon, 11 May 2015 13:15:01 +0000
Received: from [193.109.254.147] by server-3.bemta-14.messagelabs.com id
	CD/72-03032-45BA0555; Mon, 11 May 2015 13:15:00 +0000
X-Env-Sender: buzzheavyyear@hotmail.com
X-Msg-Ref: server-4.tower-27.messagelabs.com!1431350098!16210684!1
X-Originating-IP: [157.55.2.100]
X-SpamReason: No, hits=0.2 required=7.0 tests=FORGED_HOTMAIL_RCVD,
	HTML_50_60,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 25636 invoked from network); 11 May 2015 13:14:59 -0000
Received: from dub004-omc4s25.hotmail.com (HELO DUB004-OMC4S25.hotmail.com)
	(157.55.2.100)
	by server-4.tower-27.messagelabs.com with AES256-SHA encrypted SMTP;
	11 May 2015 13:14:59 -0000
Received: from DUB128-W67 ([157.55.2.71]) by DUB004-OMC4S25.hotmail.com over
	TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); 
	Mon, 11 May 2015 06:14:58 -0700
X-TMN: [YFACLRr1XQUFotgFOtFgcxyTX2a6E/r0]
X-Originating-Email: [buzzheavyyear@hotmail.com]
Message-ID: <DUB128-W677077092CE539FDBDD06AB4DB0@phx.gbl>
From: Nick Betteridge <buzzheavyyear@hotmail.com>
To: Luke Dunstan <lukedunstan81@gmail.com>
Date: Mon, 11 May 2015 13:14:58 +0000
Importance: Normal
In-Reply-To: <CAEui0wVXkWv-rbAkXbCdpvD0rGtJv2MEZ37jd-1zRG9U09t+KA@mail.gmail.com>
References: <DUB128-W30E699593E90F888ACF93DB4DB0@phx.gbl>,
	<55508479.1070004@somerandomidiot.com>,
	<CAJbByNpsGwQmM+RQ=K+2iaano2FgE0u+RYxvf0nk9ARwBHocXg@mail.gmail.com>,
	<DUB128-W93D34A8E11E03DAECC2CA2B4DB0@phx.gbl>,
	<CAEui0wVXkWv-rbAkXbCdpvD0rGtJv2MEZ37jd-1zRG9U09t+KA@mail.gmail.com>
MIME-Version: 1.0
X-OriginalArrivalTime: 11 May 2015 13:14:58.0708 (UTC)
	FILETIME=[7B123D40:01D08BEC]
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] simple dns server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5105758264786504757=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============5105758264786504757==
Content-Type: multipart/alternative;
	boundary="_b0745d0a-6128-41d1-8cf5-beacfed90e33_"

--_b0745d0a-6128-41d1-8cf5-beacfed90e33_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Luke=2C

Sure=2C here are the zone files ( - the files have newlines following the f=
inal www statement)

Thanks
Nick

[example1.zone]
=3B $TTL used for all RRs without explicit TTL value


$ORIGIN example1.com.
$TTL    3600 =3B 24 hours could have been written as 24h or 1d
example1.com. 3600 IN  SOA (
    ns1.example1.com. username.example1.com. 1136975101 =3B hello!
    3600 1800 3024000 1800 =20
                 )
example1.com.       3600 IN  NS     ns1
example1.com.       3600 IN  NS     ns2
=3B=3B example1.com.       3600 IN  MX  1   mail
ns1  3600  IN A      192.168.1.11
ns2  3600  IN A      192.168.1.11
www  3600  IN  A      192.168.1.11



[example2.net]
=3B $TTL used for all RRs without explicit TTL value


$ORIGIN example2.net.
$TTL    3600 =3B 24 hours could have been written as 24h or 1d
example2.net. 3600 IN  SOA (
    ns1.example2.net. username.example2.net. 1136975101 =3B hello!
    3600 1800 3024000 1800 =20
                 )
example2.net.       3600 IN  NS     ns1
example2.net.       3600 IN  NS     ns2
=3B=3B example2.net.       3600 IN  MX  1   mail
ns1  3600  IN A      192.168.1.11
ns2  3600  IN A      192.168.1.11
www  3600  IN  A      192.168.1.11


 		 	   		  =

--_b0745d0a-6128-41d1-8cf5-beacfed90e33_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 12pt=3B
font-family:Calibri
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>Hi Luke=2C<br><br>Sure=2C here a=
re the zone files ( - the files have newlines following the final www state=
ment)<br><br>Thanks<br>Nick<br><br>[example1.zone]<br>=3B $TTL used for all=
 RRs without explicit TTL value<br><br><br>$ORIGIN example1.com.<br>$TTL&nb=
sp=3B&nbsp=3B&nbsp=3B 3600 =3B 24 hours could have been written as 24h or 1=
d<br>example1.com. 3600 IN&nbsp=3B SOA (<br>&nbsp=3B&nbsp=3B&nbsp=3B ns1.ex=
ample1.com. username.example1.com. 1136975101 =3B hello!<br>&nbsp=3B&nbsp=
=3B&nbsp=3B 3600 1800 3024000 1800&nbsp=3B <br>&nbsp=3B&nbsp=3B&nbsp=3B &nb=
sp=3B&nbsp=3B&nbsp=3B &nbsp=3B&nbsp=3B&nbsp=3B &nbsp=3B&nbsp=3B&nbsp=3B&nbs=
p=3B )<br>example1.com.&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B 360=
0 IN&nbsp=3B NS&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B ns1<br>example1.com.&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B 3600 IN&nbsp=3B NS&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B ns2<br>=3B=3B example1.com.&nbsp=3B&nbsp=3B&nbsp=3B&nbs=
p=3B&nbsp=3B&nbsp=3B 3600 IN&nbsp=3B MX&nbsp=3B 1&nbsp=3B&nbsp=3B mail<br>n=
s1&nbsp=3B 3600&nbsp=3B IN A&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B 192.16=
8.1.11<br>ns2&nbsp=3B 3600&nbsp=3B IN A&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbs=
p=3B 192.168.1.11<br>www&nbsp=3B 3600&nbsp=3B IN&nbsp=3B A&nbsp=3B&nbsp=3B&=
nbsp=3B&nbsp=3B&nbsp=3B 192.168.1.11<br><br><br><br>[example2.net]<br>=3B $=
TTL used for all RRs without explicit TTL value<br><br><br>$ORIGIN example2=
.net.<br>$TTL&nbsp=3B&nbsp=3B&nbsp=3B 3600 =3B 24 hours could have been wri=
tten as 24h or 1d<br>example2.net. 3600 IN&nbsp=3B SOA (<br>&nbsp=3B&nbsp=
=3B&nbsp=3B ns1.example2.net. username.example2.net. 1136975101 =3B hello!<=
br>&nbsp=3B&nbsp=3B&nbsp=3B 3600 1800 3024000 1800&nbsp=3B <br>&nbsp=3B&nbs=
p=3B&nbsp=3B &nbsp=3B&nbsp=3B&nbsp=3B &nbsp=3B&nbsp=3B&nbsp=3B &nbsp=3B&nbs=
p=3B&nbsp=3B&nbsp=3B )<br>example2.net.&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbs=
p=3B&nbsp=3B 3600 IN&nbsp=3B NS&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B ns1<br>exam=
ple2.net.&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B 3600 IN&nbsp=3B N=
S&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B ns2<br>=3B=3B example2.net.&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B 3600 IN&nbsp=3B MX&nbsp=3B 1&nbsp=3B&nb=
sp=3B mail<br>ns1&nbsp=3B 3600&nbsp=3B IN A&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B 192.168.1.11<br>ns2&nbsp=3B 3600&nbsp=3B IN A&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B 192.168.1.11<br>www&nbsp=3B 3600&nbsp=3B IN&nbsp=3B A&n=
bsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B 192.168.1.11<br><br><br> 		 	   		  =
</div></body>
</html>=

--_b0745d0a-6128-41d1-8cf5-beacfed90e33_--


--===============5105758264786504757==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============5105758264786504757==--


From mirageos-devel-bounces@lists.xenproject.org Mon May 11 13:15:05 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 11 May 2015 13:15:05 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YrnXz-0005sX-HI; Mon, 11 May 2015 13:15:03 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <buzzheavyyear@hotmail.com>) id 1YrnXx-0005sB-FU
	for mirageos-devel@lists.xenproject.org; Mon, 11 May 2015 13:15:01 +0000
Received: from [193.109.254.147] by server-3.bemta-14.messagelabs.com id
	CD/72-03032-45BA0555; Mon, 11 May 2015 13:15:00 +0000
X-Env-Sender: buzzheavyyear@hotmail.com
X-Msg-Ref: server-4.tower-27.messagelabs.com!1431350098!16210684!1
X-Originating-IP: [157.55.2.100]
X-SpamReason: No, hits=0.2 required=7.0 tests=FORGED_HOTMAIL_RCVD,
	HTML_50_60,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 25636 invoked from network); 11 May 2015 13:14:59 -0000
Received: from dub004-omc4s25.hotmail.com (HELO DUB004-OMC4S25.hotmail.com)
	(157.55.2.100)
	by server-4.tower-27.messagelabs.com with AES256-SHA encrypted SMTP;
	11 May 2015 13:14:59 -0000
Received: from DUB128-W67 ([157.55.2.71]) by DUB004-OMC4S25.hotmail.com over
	TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); 
	Mon, 11 May 2015 06:14:58 -0700
X-TMN: [YFACLRr1XQUFotgFOtFgcxyTX2a6E/r0]
X-Originating-Email: [buzzheavyyear@hotmail.com]
Message-ID: <DUB128-W677077092CE539FDBDD06AB4DB0@phx.gbl>
From: Nick Betteridge <buzzheavyyear@hotmail.com>
To: Luke Dunstan <lukedunstan81@gmail.com>
Date: Mon, 11 May 2015 13:14:58 +0000
Importance: Normal
In-Reply-To: <CAEui0wVXkWv-rbAkXbCdpvD0rGtJv2MEZ37jd-1zRG9U09t+KA@mail.gmail.com>
References: <DUB128-W30E699593E90F888ACF93DB4DB0@phx.gbl>,
	<55508479.1070004@somerandomidiot.com>,
	<CAJbByNpsGwQmM+RQ=K+2iaano2FgE0u+RYxvf0nk9ARwBHocXg@mail.gmail.com>,
	<DUB128-W93D34A8E11E03DAECC2CA2B4DB0@phx.gbl>,
	<CAEui0wVXkWv-rbAkXbCdpvD0rGtJv2MEZ37jd-1zRG9U09t+KA@mail.gmail.com>
MIME-Version: 1.0
X-OriginalArrivalTime: 11 May 2015 13:14:58.0708 (UTC)
	FILETIME=[7B123D40:01D08BEC]
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] simple dns server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5105758264786504757=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============5105758264786504757==
Content-Type: multipart/alternative;
	boundary="_b0745d0a-6128-41d1-8cf5-beacfed90e33_"

--_b0745d0a-6128-41d1-8cf5-beacfed90e33_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Luke=2C

Sure=2C here are the zone files ( - the files have newlines following the f=
inal www statement)

Thanks
Nick

[example1.zone]
=3B $TTL used for all RRs without explicit TTL value


$ORIGIN example1.com.
$TTL    3600 =3B 24 hours could have been written as 24h or 1d
example1.com. 3600 IN  SOA (
    ns1.example1.com. username.example1.com. 1136975101 =3B hello!
    3600 1800 3024000 1800 =20
                 )
example1.com.       3600 IN  NS     ns1
example1.com.       3600 IN  NS     ns2
=3B=3B example1.com.       3600 IN  MX  1   mail
ns1  3600  IN A      192.168.1.11
ns2  3600  IN A      192.168.1.11
www  3600  IN  A      192.168.1.11



[example2.net]
=3B $TTL used for all RRs without explicit TTL value


$ORIGIN example2.net.
$TTL    3600 =3B 24 hours could have been written as 24h or 1d
example2.net. 3600 IN  SOA (
    ns1.example2.net. username.example2.net. 1136975101 =3B hello!
    3600 1800 3024000 1800 =20
                 )
example2.net.       3600 IN  NS     ns1
example2.net.       3600 IN  NS     ns2
=3B=3B example2.net.       3600 IN  MX  1   mail
ns1  3600  IN A      192.168.1.11
ns2  3600  IN A      192.168.1.11
www  3600  IN  A      192.168.1.11


 		 	   		  =

--_b0745d0a-6128-41d1-8cf5-beacfed90e33_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 12pt=3B
font-family:Calibri
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>Hi Luke=2C<br><br>Sure=2C here a=
re the zone files ( - the files have newlines following the final www state=
ment)<br><br>Thanks<br>Nick<br><br>[example1.zone]<br>=3B $TTL used for all=
 RRs without explicit TTL value<br><br><br>$ORIGIN example1.com.<br>$TTL&nb=
sp=3B&nbsp=3B&nbsp=3B 3600 =3B 24 hours could have been written as 24h or 1=
d<br>example1.com. 3600 IN&nbsp=3B SOA (<br>&nbsp=3B&nbsp=3B&nbsp=3B ns1.ex=
ample1.com. username.example1.com. 1136975101 =3B hello!<br>&nbsp=3B&nbsp=
=3B&nbsp=3B 3600 1800 3024000 1800&nbsp=3B <br>&nbsp=3B&nbsp=3B&nbsp=3B &nb=
sp=3B&nbsp=3B&nbsp=3B &nbsp=3B&nbsp=3B&nbsp=3B &nbsp=3B&nbsp=3B&nbsp=3B&nbs=
p=3B )<br>example1.com.&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B 360=
0 IN&nbsp=3B NS&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B ns1<br>example1.com.&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B 3600 IN&nbsp=3B NS&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B ns2<br>=3B=3B example1.com.&nbsp=3B&nbsp=3B&nbsp=3B&nbs=
p=3B&nbsp=3B&nbsp=3B 3600 IN&nbsp=3B MX&nbsp=3B 1&nbsp=3B&nbsp=3B mail<br>n=
s1&nbsp=3B 3600&nbsp=3B IN A&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B 192.16=
8.1.11<br>ns2&nbsp=3B 3600&nbsp=3B IN A&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbs=
p=3B 192.168.1.11<br>www&nbsp=3B 3600&nbsp=3B IN&nbsp=3B A&nbsp=3B&nbsp=3B&=
nbsp=3B&nbsp=3B&nbsp=3B 192.168.1.11<br><br><br><br>[example2.net]<br>=3B $=
TTL used for all RRs without explicit TTL value<br><br><br>$ORIGIN example2=
.net.<br>$TTL&nbsp=3B&nbsp=3B&nbsp=3B 3600 =3B 24 hours could have been wri=
tten as 24h or 1d<br>example2.net. 3600 IN&nbsp=3B SOA (<br>&nbsp=3B&nbsp=
=3B&nbsp=3B ns1.example2.net. username.example2.net. 1136975101 =3B hello!<=
br>&nbsp=3B&nbsp=3B&nbsp=3B 3600 1800 3024000 1800&nbsp=3B <br>&nbsp=3B&nbs=
p=3B&nbsp=3B &nbsp=3B&nbsp=3B&nbsp=3B &nbsp=3B&nbsp=3B&nbsp=3B &nbsp=3B&nbs=
p=3B&nbsp=3B&nbsp=3B )<br>example2.net.&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbs=
p=3B&nbsp=3B 3600 IN&nbsp=3B NS&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B ns1<br>exam=
ple2.net.&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B 3600 IN&nbsp=3B N=
S&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B ns2<br>=3B=3B example2.net.&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B 3600 IN&nbsp=3B MX&nbsp=3B 1&nbsp=3B&nb=
sp=3B mail<br>ns1&nbsp=3B 3600&nbsp=3B IN A&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B 192.168.1.11<br>ns2&nbsp=3B 3600&nbsp=3B IN A&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B 192.168.1.11<br>www&nbsp=3B 3600&nbsp=3B IN&nbsp=3B A&n=
bsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B 192.168.1.11<br><br><br> 		 	   		  =
</div></body>
</html>=

--_b0745d0a-6128-41d1-8cf5-beacfed90e33_--


--===============5105758264786504757==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============5105758264786504757==--


From mirageos-devel-bounces@lists.xenproject.org Tue May 12 09:27:34 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 09:27:34 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Ys6TH-00025D-I7; Tue, 12 May 2015 09:27:27 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <matthew.thomas.gray@gmail.com>) id 1Ys6TF-00024x-Tk
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 09:27:26 +0000
Received: from [85.158.137.68] by server-10.bemta-3.messagelabs.com id
	43/2F-02797-C77C1555; Tue, 12 May 2015 09:27:24 +0000
X-Env-Sender: matthew.thomas.gray@gmail.com
X-Msg-Ref: server-14.tower-31.messagelabs.com!1431422843!12101373!1
X-Originating-IP: [209.85.212.179]
X-SpamReason: No, hits=0.9 required=7.0 tests=HTML_40_50,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 4347 invoked from network); 12 May 2015 09:27:24 -0000
Received: from mail-wi0-f179.google.com (HELO mail-wi0-f179.google.com)
	(209.85.212.179)
	by server-14.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	12 May 2015 09:27:24 -0000
Received: by wizk4 with SMTP id k4so143760897wiz.1
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 12 May 2015 02:27:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:content-type; bh=5pnK519+ZF6aXgiQnZwimB3nvLHHZhCVGKTtXqyOKL8=;
	b=bvEuixlKCXql9b1WB1s/gYBOrinqZLEsjHuSISmnbkmS4OXep7nneAXcXBrfLCH2Y2
	XhHWKshtgV41Q5afxnWzd2NUry7YVL2Kd2MGuYCfYJTX7OqXKLhenREgKrcHjuEoYsk5
	YdvG5zevX/msb7JbGRWk5g9L4GC+ogdptkvVpZY2FArHYJFHjMUq5eqZOwWZWBNi9tcZ
	0XmkarnXbqRUZfXC57JHT8Disg3jYOubRSRA54AdhMLpX2fjlvV+/igfj4wuAwlFOVJa
	2td66LVfjdenU0AjdzR+7b9kCb7dkJFyK7hFSIJzN9yzEfb+LQvcN5gP0JBOIjj64dzd
	K5eQ==
MIME-Version: 1.0
X-Received: by 10.180.100.194 with SMTP id fa2mr28094571wib.8.1431422843612;
	Tue, 12 May 2015 02:27:23 -0700 (PDT)
Received: by 10.27.14.14 with HTTP; Tue, 12 May 2015 02:27:23 -0700 (PDT)
In-Reply-To: <A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
Date: Tue, 12 May 2015 10:27:23 +0100
Message-ID: <CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
From: Matthew Gray <matthew.thomas.gray@gmail.com>
To: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] test, quality, tcpip
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0197994790235654211=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============0197994790235654211==
Content-Type: multipart/alternative; boundary=f46d0444ed391df3e40515df1ae0

--f46d0444ed391df3e40515df1ae0
Content-Type: text/plain; charset=UTF-8

On Wed, May 6, 2015 at 1:58 PM, Thomas Gazagnaire <thomas@gazagnaire.org>
wrote:

>
> An other point which is cruelly missing is a proper logging system - which
> is central when debugging runtime errors.
>

Thomas, do you have any thoughts about what a proper logging system would
look like? What features it would provide? I'm experimenting a little with
this already, making a logger that can write messages to the console and
also send as syslog. I'd be interested in trying to expand this and make it
into something generally useful for Mirage but would probably need a bit of
guidance to begin with.

I'm aware of https://github.com/UnixJunkie/dolog and wondering whether this
is a good starting point, if it were functorized to accept the Mirage
console signature?

--f46d0444ed391df3e40515df1ae0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On W=
ed, May 6, 2015 at 1:58 PM, Thomas Gazagnaire <span dir=3D"ltr">&lt;<a href=
=3D"mailto:thomas@gazagnaire.org" target=3D"_blank">thomas@gazagnaire.org</=
a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0=
px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);b=
order-left-style:solid;padding-left:1ex"><div style=3D"word-wrap:break-word=
"><div><br></div><div>An other point which is cruelly missing is a proper l=
ogging system - which is central when debugging runtime errors.</div></div>=
</blockquote><div><br></div><div>Thomas, do you have any thoughts about wha=
t a proper logging system would look like? What features it would provide? =
I&#39;m experimenting a little with this already, making a logger that can =
write messages to the console and also send as syslog. I&#39;d be intereste=
d in trying to expand this and make it into something generally useful for =
Mirage but would probably need a bit of guidance to begin with.=C2=A0</div>=
<div><br></div><div>I&#39;m aware of=C2=A0<a href=3D"https://github.com/Uni=
xJunkie/dolog">https://github.com/UnixJunkie/dolog</a> and wondering whethe=
r this is a good starting point, if it were functorized to accept the Mirag=
e console signature?</div><div><br></div></div></div></div>

--f46d0444ed391df3e40515df1ae0--


--===============0197994790235654211==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============0197994790235654211==--


From mirageos-devel-bounces@lists.xenproject.org Tue May 12 09:27:34 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 09:27:34 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Ys6TH-00025D-I7; Tue, 12 May 2015 09:27:27 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <matthew.thomas.gray@gmail.com>) id 1Ys6TF-00024x-Tk
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 09:27:26 +0000
Received: from [85.158.137.68] by server-10.bemta-3.messagelabs.com id
	43/2F-02797-C77C1555; Tue, 12 May 2015 09:27:24 +0000
X-Env-Sender: matthew.thomas.gray@gmail.com
X-Msg-Ref: server-14.tower-31.messagelabs.com!1431422843!12101373!1
X-Originating-IP: [209.85.212.179]
X-SpamReason: No, hits=0.9 required=7.0 tests=HTML_40_50,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 4347 invoked from network); 12 May 2015 09:27:24 -0000
Received: from mail-wi0-f179.google.com (HELO mail-wi0-f179.google.com)
	(209.85.212.179)
	by server-14.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	12 May 2015 09:27:24 -0000
Received: by wizk4 with SMTP id k4so143760897wiz.1
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 12 May 2015 02:27:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:content-type; bh=5pnK519+ZF6aXgiQnZwimB3nvLHHZhCVGKTtXqyOKL8=;
	b=bvEuixlKCXql9b1WB1s/gYBOrinqZLEsjHuSISmnbkmS4OXep7nneAXcXBrfLCH2Y2
	XhHWKshtgV41Q5afxnWzd2NUry7YVL2Kd2MGuYCfYJTX7OqXKLhenREgKrcHjuEoYsk5
	YdvG5zevX/msb7JbGRWk5g9L4GC+ogdptkvVpZY2FArHYJFHjMUq5eqZOwWZWBNi9tcZ
	0XmkarnXbqRUZfXC57JHT8Disg3jYOubRSRA54AdhMLpX2fjlvV+/igfj4wuAwlFOVJa
	2td66LVfjdenU0AjdzR+7b9kCb7dkJFyK7hFSIJzN9yzEfb+LQvcN5gP0JBOIjj64dzd
	K5eQ==
MIME-Version: 1.0
X-Received: by 10.180.100.194 with SMTP id fa2mr28094571wib.8.1431422843612;
	Tue, 12 May 2015 02:27:23 -0700 (PDT)
Received: by 10.27.14.14 with HTTP; Tue, 12 May 2015 02:27:23 -0700 (PDT)
In-Reply-To: <A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
Date: Tue, 12 May 2015 10:27:23 +0100
Message-ID: <CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
From: Matthew Gray <matthew.thomas.gray@gmail.com>
To: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] test, quality, tcpip
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0197994790235654211=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============0197994790235654211==
Content-Type: multipart/alternative; boundary=f46d0444ed391df3e40515df1ae0

--f46d0444ed391df3e40515df1ae0
Content-Type: text/plain; charset=UTF-8

On Wed, May 6, 2015 at 1:58 PM, Thomas Gazagnaire <thomas@gazagnaire.org>
wrote:

>
> An other point which is cruelly missing is a proper logging system - which
> is central when debugging runtime errors.
>

Thomas, do you have any thoughts about what a proper logging system would
look like? What features it would provide? I'm experimenting a little with
this already, making a logger that can write messages to the console and
also send as syslog. I'd be interested in trying to expand this and make it
into something generally useful for Mirage but would probably need a bit of
guidance to begin with.

I'm aware of https://github.com/UnixJunkie/dolog and wondering whether this
is a good starting point, if it were functorized to accept the Mirage
console signature?

--f46d0444ed391df3e40515df1ae0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On W=
ed, May 6, 2015 at 1:58 PM, Thomas Gazagnaire <span dir=3D"ltr">&lt;<a href=
=3D"mailto:thomas@gazagnaire.org" target=3D"_blank">thomas@gazagnaire.org</=
a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0=
px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);b=
order-left-style:solid;padding-left:1ex"><div style=3D"word-wrap:break-word=
"><div><br></div><div>An other point which is cruelly missing is a proper l=
ogging system - which is central when debugging runtime errors.</div></div>=
</blockquote><div><br></div><div>Thomas, do you have any thoughts about wha=
t a proper logging system would look like? What features it would provide? =
I&#39;m experimenting a little with this already, making a logger that can =
write messages to the console and also send as syslog. I&#39;d be intereste=
d in trying to expand this and make it into something generally useful for =
Mirage but would probably need a bit of guidance to begin with.=C2=A0</div>=
<div><br></div><div>I&#39;m aware of=C2=A0<a href=3D"https://github.com/Uni=
xJunkie/dolog">https://github.com/UnixJunkie/dolog</a> and wondering whethe=
r this is a good starting point, if it were functorized to accept the Mirag=
e console signature?</div><div><br></div></div></div></div>

--f46d0444ed391df3e40515df1ae0--


--===============0197994790235654211==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============0197994790235654211==--


From mirageos-devel-bounces@lists.xenproject.org Tue May 12 14:56:18 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 14:56:18 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsBbQ-0005Nn-5y; Tue, 12 May 2015 14:56:12 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YsBbO-0005NZ-9C
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 14:56:10 +0000
Received: from [193.109.254.147] by server-15.bemta-14.messagelabs.com id
	2E/CB-02796-98412555; Tue, 12 May 2015 14:56:09 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-12.tower-27.messagelabs.com!1431442567!16929582!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 19209 invoked from network); 12 May 2015 14:56:08 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-12.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 12 May 2015 14:56:08 -0000
Received: from [10.0.0.95] (host81-149-102-120.in-addr.btopenworld.com
	[81.149.102.120]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 2ceb5015;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 12 May 2015 15:56:06 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
Date: Tue, 12 May 2015 15:56:05 +0100
Message-Id: <7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
To: Matthew Gray <matthew.thomas.gray@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Logging (was: test, quality, tcpip)
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


> On 12 May 2015, at 10:27, Matthew Gray <matthew.thomas.gray@gmail.com> wrote:
> 
> On Wed, May 6, 2015 at 1:58 PM, Thomas Gazagnaire <thomas@gazagnaire.org> wrote:
> 
> An other point which is cruelly missing is a proper logging system - which is central when debugging runtime errors.
> 
> Thomas, do you have any thoughts about what a proper logging system would look like? What features it would provide? I'm experimenting a little with this already, making a logger that can write messages to the console and also send as syslog. I'd be interested in trying to expand this and make it into something generally useful for Mirage but would probably need a bit of guidance to begin with. 
> 
> I'm aware of https://github.com/UnixJunkie/dolog and wondering whether this is a good starting point, if it were functorized to accept the Mirage console signature?

Now that the TLS stack is spooled up for integration (and running live on https://mirage.io!), this is actually top of my list.  There are a few properties I want from a logging library:

- An extremely small core interface, with just the "log" function (and associated format string ones).  This lets us have a trivial, dependency free implementation that just logs to stdout or the Xen console.

- Ability to branch logging contexts, to have hierarchical logs.  This lets us map to both Irmin and the JavaScript logging interface very effectively.  See [1] for the Firebug console.group() function.

- Build more complex backends over this basis.  For instance, the conventional "info/error/debug" one would be a layer that does the branches appropriately for each type.  Another guideline is Thomas Leonard's profiling library, which should hook into this logging layer.  Finally, the Xen backend should use Irmin to provide a Git logging backend, where log branches are actual Git branches.

- Ban all uses of console logging from all of our protocol libraries.  We should *never* be logging directly to the console, as this is both a denial-of-service opportunity and something that is very difficult to aggregate and track.

My thinking is that by keeping the core interface down to one function, it should be possible for the application to be passed a logging function very easily (~log), and for the build system to assemble the appropriate logging backend for the environment at hand.  We could then add a ~log function to Cohttp, DNS, TCPIP etc, with a PPX/Camlp4 extension to make it a lazy function for when we don't want it to be evaluated all the time.

What I don't want is something like Dolog, which is a fine logging library, but a bit too specific to be used pervasively throughout our protocol libraries that must remain portable and lightweight across multiple compilation environments.

Thoughts on this most welcome... I feel that building this library is quite simple, but getting the design right is critical as it will be a dependency on every library that we have.

[1] https://getfirebug.com/wiki/index.php/Console_API

-anil


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 12 14:56:18 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 14:56:18 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsBbQ-0005Nn-5y; Tue, 12 May 2015 14:56:12 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YsBbO-0005NZ-9C
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 14:56:10 +0000
Received: from [193.109.254.147] by server-15.bemta-14.messagelabs.com id
	2E/CB-02796-98412555; Tue, 12 May 2015 14:56:09 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-12.tower-27.messagelabs.com!1431442567!16929582!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 19209 invoked from network); 12 May 2015 14:56:08 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-12.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 12 May 2015 14:56:08 -0000
Received: from [10.0.0.95] (host81-149-102-120.in-addr.btopenworld.com
	[81.149.102.120]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 2ceb5015;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 12 May 2015 15:56:06 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
Date: Tue, 12 May 2015 15:56:05 +0100
Message-Id: <7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
To: Matthew Gray <matthew.thomas.gray@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Logging (was: test, quality, tcpip)
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


> On 12 May 2015, at 10:27, Matthew Gray <matthew.thomas.gray@gmail.com> wrote:
> 
> On Wed, May 6, 2015 at 1:58 PM, Thomas Gazagnaire <thomas@gazagnaire.org> wrote:
> 
> An other point which is cruelly missing is a proper logging system - which is central when debugging runtime errors.
> 
> Thomas, do you have any thoughts about what a proper logging system would look like? What features it would provide? I'm experimenting a little with this already, making a logger that can write messages to the console and also send as syslog. I'd be interested in trying to expand this and make it into something generally useful for Mirage but would probably need a bit of guidance to begin with. 
> 
> I'm aware of https://github.com/UnixJunkie/dolog and wondering whether this is a good starting point, if it were functorized to accept the Mirage console signature?

Now that the TLS stack is spooled up for integration (and running live on https://mirage.io!), this is actually top of my list.  There are a few properties I want from a logging library:

- An extremely small core interface, with just the "log" function (and associated format string ones).  This lets us have a trivial, dependency free implementation that just logs to stdout or the Xen console.

- Ability to branch logging contexts, to have hierarchical logs.  This lets us map to both Irmin and the JavaScript logging interface very effectively.  See [1] for the Firebug console.group() function.

- Build more complex backends over this basis.  For instance, the conventional "info/error/debug" one would be a layer that does the branches appropriately for each type.  Another guideline is Thomas Leonard's profiling library, which should hook into this logging layer.  Finally, the Xen backend should use Irmin to provide a Git logging backend, where log branches are actual Git branches.

- Ban all uses of console logging from all of our protocol libraries.  We should *never* be logging directly to the console, as this is both a denial-of-service opportunity and something that is very difficult to aggregate and track.

My thinking is that by keeping the core interface down to one function, it should be possible for the application to be passed a logging function very easily (~log), and for the build system to assemble the appropriate logging backend for the environment at hand.  We could then add a ~log function to Cohttp, DNS, TCPIP etc, with a PPX/Camlp4 extension to make it a lazy function for when we don't want it to be evaluated all the time.

What I don't want is something like Dolog, which is a fine logging library, but a bit too specific to be used pervasively throughout our protocol libraries that must remain portable and lightweight across multiple compilation environments.

Thoughts on this most welcome... I feel that building this library is quite simple, but getting the design right is critical as it will be a dependency on every library that we have.

[1] https://getfirebug.com/wiki/index.php/Console_API

-anil


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 12 15:12:46 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 15:12:46 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsBrQ-0007VI-Fv; Tue, 12 May 2015 15:12:44 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YsBrP-0007V7-1G
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 15:12:43 +0000
Received: from [85.158.139.211] by server-10.bemta-5.messagelabs.com id
	30/35-02789-A6812555; Tue, 12 May 2015 15:12:42 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-11.tower-206.messagelabs.com!1431443560!8712776!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.7 required=7.0 tests=BODY_RANDOM_LONG,
	HTML_MESSAGE,RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 24684 invoked from network); 12 May 2015 15:12:40 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-11.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 12 May 2015 15:12:40 -0000
Received: from [10.0.0.96] (host81-149-102-120.in-addr.btopenworld.com
	[81.149.102.120]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id db5cd020;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 12 May 2015 16:12:39 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <55508479.1070004@somerandomidiot.com>
Date: Tue, 12 May 2015 16:12:39 +0100
Message-Id: <61301401-5195-44C5-834C-62968B2B80E2@recoil.org>
References: <DUB128-W30E699593E90F888ACF93DB4DB0@phx.gbl>
	<55508479.1070004@somerandomidiot.com>
To: Mindy Preston <mindy@somerandomidiot.com>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] simple dns server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============6845761657088230295=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============6845761657088230295==
Content-Type: multipart/alternative; boundary="Apple-Mail=_7A0A163C-167D-4140-ACFC-4720FEBD5288"


--Apple-Mail=_7A0A163C-167D-4140-ACFC-4720FEBD5288
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

It's not obvious, but that particular zone file came from a regression =
test of the original OCaml DNS library written in 2006, and so is an odd =
choice (my fault) for an example zone file!

Feel free to change it around to something a little more accessible.  =
The other thing missing from the DNS library is a more natural way to =
add and remove records without going through a zone file, and so that's =
a good area for improvement.

Now that the TLS stack is up and running, I'm going to move the =
mirage.io DNS over to a unikernel as well. We used to run the DNS =
self-hosted, but it has migrated to Gandi recently.  The GitHub workflow =
is proving to be quite an effective deployment interface, and so we're =
in good shape to bring back the hosted DNS as well.  It just needs a =
good logging interface (c.f. the other thread), but for now I'll capture =
the console output.

-anil

> On 11 May 2015, at 11:29, Mindy <mindy@somerandomidiot.com> wrote:
>=20
> Hm, I had this same problem.  I was able to get the server to run by =
making the following changes to data/test.zone (although the =
initialization still complains about unknown services in other lines):
>=20
> on line 55, s/udp/17/
>=20
> Then, rerun `mirage configure --unix` and `make`.  After doing that =
and starting the server, I'm able to get a response from `dig @127.0.0.1 =
ns0.d1.signpo.st.` (127.0.0.1 because I'm running in socket mode).
>=20
> Cheers,
> Mindy
>=20
> On 05/11/2015 11:06 AM, Nick Betteridge wrote:
>> Hello
>>=20
>> I'm trying to get the simple dns server to work that Heidi has in her =
examples (github.com/heidi-ann/ocaml-dns-examples =
<http://github.com/heidi-ann/ocaml-dns-examples>) and I'm getting an =
error which I don't really understand - it's occurs both on the =
cubieboard and my amd64 desktop:
>>=20
>> [amd64]
>> $ sudo ./mir-dns
>> Manager: connect
>> plugging into tap0 with mac c2:9d:56:19:d7:2c..
>> Netif: connect tap0
>> Manager: connect
>> Manager: configuring
>> Manager: configuring
>> Netif: error, terminating listen loop
>> Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.254]
>>=20
>> Manager: socket config currently ignored (TODO)
>> ARP: sending gratuitous from 192.168.1.2
>> Manager: configuration done
>> Warning (<string> line 47): Converting MD to MX
>> Warning (<string> line 48): Converting MF to MX
>> Error (<string> line 54): udp is not a known IP protocol
>> Error (<string> line 56): unknown service "chargen" for protocol 6
>> Warning (<string> line 47): Converting MD to MX
>> Warning (<string> line 48): Converting MF to MX
>> Error (<string> line 54): udp is not a known IP protocol
>> Error (<string> line 56): unknown service "chargen" for protocol 6
>> Netif: error, terminating listen loop
>>=20
>> [cubieboard2]
>> $ sudo ./mir-dns
>> plugging into tap0 with mac c2:9d:56:19:d7:2c..
>> Netif: connect tap0
>> Manager: connect
>> Manager: connect
>> Manager: configuring
>> Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.1]
>>=20
>> ARP: sending gratuitous from 192.168.1.2
>> Manager: configuration done
>> Manager: configuring
>> Warning (<string> line 47): Converting MD to MX
>> Warning (<string> line 48): Converting MF to MX
>> Error (<string> line 54): udp is not a known IP protocol
>> Error (<string> line 56): unknown service "chargen" for protocol 6
>> Manager: socket config currently ignored (TODO)
>> Warning (<string> line 47): Converting MD to MX
>> Warning (<string> line 48): Converting MF to MX
>> Error (<string> line 54): udp is not a known IP protocol
>> Error (<string> line 56): unknown service "chargen" for protocol 6
>>=20
>>=20
>> Does anyone have any idea how I can move forward on this?
>>=20
>> Thanks
>> Nick
>>=20
>>=20
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org =
<mailto:MirageOS-devel@lists.xenproject.org>
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel =
<http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>
>=20
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org =
<mailto:MirageOS-devel@lists.xenproject.org>
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel =
<http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>


--Apple-Mail=_7A0A163C-167D-4140-ACFC-4720FEBD5288
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">It's not obvious, but that particular zone file came from a =
regression test of the original OCaml DNS library written in 2006, and =
so is an odd choice (my fault) for an example zone file!<div =
class=3D""><br class=3D""></div><div class=3D"">Feel free to change it =
around to something a little more accessible. &nbsp;The other thing =
missing from the DNS library is a more natural way to add and remove =
records without going through a zone file, and so that's a good area for =
improvement.</div><div class=3D""><br class=3D""></div><div class=3D"">Now=
 that the TLS stack is up and running, I'm going to move the mirage.io =
DNS over to a unikernel as well. We used to run the DNS self-hosted, but =
it has migrated to Gandi recently. &nbsp;The GitHub workflow is proving =
to be quite an effective deployment interface, and so we're in good =
shape to bring back the hosted DNS as well. &nbsp;It just needs a good =
logging interface (c.f. the other thread), but for now I'll capture the =
console output.</div><div class=3D""><br class=3D""></div><div =
class=3D"">-anil<br class=3D""><div class=3D""><br =
class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D"">On =
11 May 2015, at 11:29, Mindy &lt;<a =
href=3D"mailto:mindy@somerandomidiot.com" =
class=3D"">mindy@somerandomidiot.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, =
255); float: none; display: inline !important;" class=3D"">Hm, I had =
this same problem.&nbsp; I was able to get the server to run by making =
the following changes to data/test.zone (although the initialization =
still complains about unknown services in other lines):</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, =
255);" class=3D""><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
background-color: rgb(255, 255, 255);" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, =
255); float: none; display: inline !important;" class=3D"">on line 55, =
s/udp/17/</span><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
background-color: rgb(255, 255, 255);" class=3D""><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, =
255);" class=3D""><span style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
background-color: rgb(255, 255, 255); float: none; display: inline =
!important;" class=3D"">Then, rerun `mirage configure --unix` and =
`make`.&nbsp; After doing that and starting the server, I'm able to get =
a response from `dig @127.0.0.1 ns0.d1.signpo.st.` (127.0.0.1 because =
I'm running in socket mode).</span><br style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
background-color: rgb(255, 255, 255);" class=3D""><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, =
255);" class=3D""><span style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
background-color: rgb(255, 255, 255); float: none; display: inline =
!important;" class=3D"">Cheers,</span><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
background-color: rgb(255, 255, 255); float: none; display: inline =
!important;" class=3D"">Mindy</span><br style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
background-color: rgb(255, 255, 255);" class=3D""><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, =
255);" class=3D""><div class=3D"moz-cite-prefix" style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255, =
255);">On 05/11/2015 11:06 AM, Nick Betteridge wrote:<br =
class=3D""></div><blockquote =
cite=3D"mid:DUB128-W30E699593E90F888ACF93DB4DB0@phx.gbl" type=3D"cite" =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, =
255);" class=3D""><div dir=3D"ltr" class=3D"">Hello<br class=3D""><br =
class=3D"">I'm trying to get the simple dns server to work that Heidi =
has in her examples (<a =
href=3D"http://github.com/heidi-ann/ocaml-dns-examples" =
class=3D"">github.com/heidi-ann/ocaml-dns-examples</a>) and I'm getting =
an error which I don't really understand - it's occurs both on the =
cubieboard and my amd64 desktop:<br class=3D""><br class=3D"">[amd64]<br =
class=3D"">$ sudo ./mir-dns<br class=3D"">Manager: connect<br =
class=3D"">plugging into tap0 with mac c2:9d:56:19:d7:2c..<br =
class=3D"">Netif: connect tap0<br class=3D"">Manager: connect<br =
class=3D"">Manager: configuring<br class=3D"">Manager: configuring<br =
class=3D"">Netif: error, terminating listen loop<br class=3D"">Manager: =
Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.254]<br =
class=3D""><br class=3D"">Manager: socket config currently ignored =
(TODO)<br class=3D"">ARP: sending gratuitous from 192.168.1.2<br =
class=3D"">Manager: configuration done<br class=3D"">Warning =
(&lt;string&gt; line 47): Converting MD to MX<br class=3D"">Warning =
(&lt;string&gt; line 48): Converting MF to MX<br class=3D"">Error =
(&lt;string&gt; line 54): udp is not a known IP protocol<br =
class=3D"">Error (&lt;string&gt; line 56): unknown service "chargen" for =
protocol 6<br class=3D"">Warning (&lt;string&gt; line 47): Converting MD =
to MX<br class=3D"">Warning (&lt;string&gt; line 48): Converting MF to =
MX<br class=3D"">Error (&lt;string&gt; line 54): udp is not a known IP =
protocol<br class=3D"">Error (&lt;string&gt; line 56): unknown service =
"chargen" for protocol 6<br class=3D"">Netif: error, terminating listen =
loop<br class=3D""><br class=3D"">[cubieboard2]<br class=3D"">$ sudo =
./mir-dns<br class=3D"">plugging into tap0 with mac =
c2:9d:56:19:d7:2c..<br class=3D"">Netif: connect tap0<br =
class=3D"">Manager: connect<br class=3D"">Manager: connect<br =
class=3D"">Manager: configuring<br class=3D"">Manager: Interface to =
192.168.1.2 nm 255.255.255.0 gw [192.168.1.1]<br class=3D""><br =
class=3D"">ARP: sending gratuitous from 192.168.1.2<br class=3D"">Manager:=
 configuration done<br class=3D"">Manager: configuring<br =
class=3D"">Warning (&lt;string&gt; line 47): Converting MD to MX<br =
class=3D"">Warning (&lt;string&gt; line 48): Converting MF to MX<br =
class=3D"">Error (&lt;string&gt; line 54): udp is not a known IP =
protocol<br class=3D"">Error (&lt;string&gt; line 56): unknown service =
"chargen" for protocol 6<br class=3D"">Manager: socket config currently =
ignored (TODO)<br class=3D"">Warning (&lt;string&gt; line 47): =
Converting MD to MX<br class=3D"">Warning (&lt;string&gt; line 48): =
Converting MF to MX<br class=3D"">Error (&lt;string&gt; line 54): udp is =
not a known IP protocol<br class=3D"">Error (&lt;string&gt; line 56): =
unknown service "chargen" for protocol 6<br class=3D""><br class=3D""><br =
class=3D"">Does anyone have any idea how I can move forward on this?<br =
class=3D""><br class=3D"">Thanks<br class=3D"">Nick<br =
class=3D""></div><br class=3D""><fieldset =
class=3D"mimeAttachmentHeader"></fieldset><br class=3D""><pre wrap=3D"" =
class=3D"">_______________________________________________
MirageOS-devel mailing list
<a class=3D"moz-txt-link-abbreviated" =
href=3D"mailto:MirageOS-devel@lists.xenproject.org">MirageOS-devel@lists.x=
enproject.org</a>
<a class=3D"moz-txt-link-freetext" =
href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-deve=
l">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel</a>=

</pre></blockquote><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
background-color: rgb(255, 255, 255);" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, =
255); float: none; display: inline !important;" =
class=3D"">_______________________________________________</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, =
255);" class=3D""><span style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
background-color: rgb(255, 255, 255); float: none; display: inline =
!important;" class=3D"">MirageOS-devel mailing list</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, =
255);" class=3D""><a href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, =
255);" class=3D"">MirageOS-devel@lists.xenproject.org</a><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, =
255);" class=3D""><a =
href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-deve=
l" style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, =
255);" =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel</a><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
background-color: rgb(255, 255, 255);" =
class=3D""></div></blockquote></div><br =
class=3D""></div></div></body></html>=

--Apple-Mail=_7A0A163C-167D-4140-ACFC-4720FEBD5288--


--===============6845761657088230295==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============6845761657088230295==--


From mirageos-devel-bounces@lists.xenproject.org Tue May 12 15:12:46 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 15:12:46 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsBrQ-0007VI-Fv; Tue, 12 May 2015 15:12:44 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YsBrP-0007V7-1G
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 15:12:43 +0000
Received: from [85.158.139.211] by server-10.bemta-5.messagelabs.com id
	30/35-02789-A6812555; Tue, 12 May 2015 15:12:42 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-11.tower-206.messagelabs.com!1431443560!8712776!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.7 required=7.0 tests=BODY_RANDOM_LONG,
	HTML_MESSAGE,RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 24684 invoked from network); 12 May 2015 15:12:40 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-11.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 12 May 2015 15:12:40 -0000
Received: from [10.0.0.96] (host81-149-102-120.in-addr.btopenworld.com
	[81.149.102.120]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id db5cd020;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 12 May 2015 16:12:39 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <55508479.1070004@somerandomidiot.com>
Date: Tue, 12 May 2015 16:12:39 +0100
Message-Id: <61301401-5195-44C5-834C-62968B2B80E2@recoil.org>
References: <DUB128-W30E699593E90F888ACF93DB4DB0@phx.gbl>
	<55508479.1070004@somerandomidiot.com>
To: Mindy Preston <mindy@somerandomidiot.com>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] simple dns server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============6845761657088230295=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============6845761657088230295==
Content-Type: multipart/alternative; boundary="Apple-Mail=_7A0A163C-167D-4140-ACFC-4720FEBD5288"


--Apple-Mail=_7A0A163C-167D-4140-ACFC-4720FEBD5288
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

It's not obvious, but that particular zone file came from a regression =
test of the original OCaml DNS library written in 2006, and so is an odd =
choice (my fault) for an example zone file!

Feel free to change it around to something a little more accessible.  =
The other thing missing from the DNS library is a more natural way to =
add and remove records without going through a zone file, and so that's =
a good area for improvement.

Now that the TLS stack is up and running, I'm going to move the =
mirage.io DNS over to a unikernel as well. We used to run the DNS =
self-hosted, but it has migrated to Gandi recently.  The GitHub workflow =
is proving to be quite an effective deployment interface, and so we're =
in good shape to bring back the hosted DNS as well.  It just needs a =
good logging interface (c.f. the other thread), but for now I'll capture =
the console output.

-anil

> On 11 May 2015, at 11:29, Mindy <mindy@somerandomidiot.com> wrote:
>=20
> Hm, I had this same problem.  I was able to get the server to run by =
making the following changes to data/test.zone (although the =
initialization still complains about unknown services in other lines):
>=20
> on line 55, s/udp/17/
>=20
> Then, rerun `mirage configure --unix` and `make`.  After doing that =
and starting the server, I'm able to get a response from `dig @127.0.0.1 =
ns0.d1.signpo.st.` (127.0.0.1 because I'm running in socket mode).
>=20
> Cheers,
> Mindy
>=20
> On 05/11/2015 11:06 AM, Nick Betteridge wrote:
>> Hello
>>=20
>> I'm trying to get the simple dns server to work that Heidi has in her =
examples (github.com/heidi-ann/ocaml-dns-examples =
<http://github.com/heidi-ann/ocaml-dns-examples>) and I'm getting an =
error which I don't really understand - it's occurs both on the =
cubieboard and my amd64 desktop:
>>=20
>> [amd64]
>> $ sudo ./mir-dns
>> Manager: connect
>> plugging into tap0 with mac c2:9d:56:19:d7:2c..
>> Netif: connect tap0
>> Manager: connect
>> Manager: configuring
>> Manager: configuring
>> Netif: error, terminating listen loop
>> Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.254]
>>=20
>> Manager: socket config currently ignored (TODO)
>> ARP: sending gratuitous from 192.168.1.2
>> Manager: configuration done
>> Warning (<string> line 47): Converting MD to MX
>> Warning (<string> line 48): Converting MF to MX
>> Error (<string> line 54): udp is not a known IP protocol
>> Error (<string> line 56): unknown service "chargen" for protocol 6
>> Warning (<string> line 47): Converting MD to MX
>> Warning (<string> line 48): Converting MF to MX
>> Error (<string> line 54): udp is not a known IP protocol
>> Error (<string> line 56): unknown service "chargen" for protocol 6
>> Netif: error, terminating listen loop
>>=20
>> [cubieboard2]
>> $ sudo ./mir-dns
>> plugging into tap0 with mac c2:9d:56:19:d7:2c..
>> Netif: connect tap0
>> Manager: connect
>> Manager: connect
>> Manager: configuring
>> Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.1]
>>=20
>> ARP: sending gratuitous from 192.168.1.2
>> Manager: configuration done
>> Manager: configuring
>> Warning (<string> line 47): Converting MD to MX
>> Warning (<string> line 48): Converting MF to MX
>> Error (<string> line 54): udp is not a known IP protocol
>> Error (<string> line 56): unknown service "chargen" for protocol 6
>> Manager: socket config currently ignored (TODO)
>> Warning (<string> line 47): Converting MD to MX
>> Warning (<string> line 48): Converting MF to MX
>> Error (<string> line 54): udp is not a known IP protocol
>> Error (<string> line 56): unknown service "chargen" for protocol 6
>>=20
>>=20
>> Does anyone have any idea how I can move forward on this?
>>=20
>> Thanks
>> Nick
>>=20
>>=20
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org =
<mailto:MirageOS-devel@lists.xenproject.org>
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel =
<http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>
>=20
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org =
<mailto:MirageOS-devel@lists.xenproject.org>
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel =
<http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>


--Apple-Mail=_7A0A163C-167D-4140-ACFC-4720FEBD5288
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">It's not obvious, but that particular zone file came from a =
regression test of the original OCaml DNS library written in 2006, and =
so is an odd choice (my fault) for an example zone file!<div =
class=3D""><br class=3D""></div><div class=3D"">Feel free to change it =
around to something a little more accessible. &nbsp;The other thing =
missing from the DNS library is a more natural way to add and remove =
records without going through a zone file, and so that's a good area for =
improvement.</div><div class=3D""><br class=3D""></div><div class=3D"">Now=
 that the TLS stack is up and running, I'm going to move the mirage.io =
DNS over to a unikernel as well. We used to run the DNS self-hosted, but =
it has migrated to Gandi recently. &nbsp;The GitHub workflow is proving =
to be quite an effective deployment interface, and so we're in good =
shape to bring back the hosted DNS as well. &nbsp;It just needs a good =
logging interface (c.f. the other thread), but for now I'll capture the =
console output.</div><div class=3D""><br class=3D""></div><div =
class=3D"">-anil<br class=3D""><div class=3D""><br =
class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D"">On =
11 May 2015, at 11:29, Mindy &lt;<a =
href=3D"mailto:mindy@somerandomidiot.com" =
class=3D"">mindy@somerandomidiot.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, =
255); float: none; display: inline !important;" class=3D"">Hm, I had =
this same problem.&nbsp; I was able to get the server to run by making =
the following changes to data/test.zone (although the initialization =
still complains about unknown services in other lines):</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, =
255);" class=3D""><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
background-color: rgb(255, 255, 255);" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, =
255); float: none; display: inline !important;" class=3D"">on line 55, =
s/udp/17/</span><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
background-color: rgb(255, 255, 255);" class=3D""><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, =
255);" class=3D""><span style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
background-color: rgb(255, 255, 255); float: none; display: inline =
!important;" class=3D"">Then, rerun `mirage configure --unix` and =
`make`.&nbsp; After doing that and starting the server, I'm able to get =
a response from `dig @127.0.0.1 ns0.d1.signpo.st.` (127.0.0.1 because =
I'm running in socket mode).</span><br style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
background-color: rgb(255, 255, 255);" class=3D""><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, =
255);" class=3D""><span style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
background-color: rgb(255, 255, 255); float: none; display: inline =
!important;" class=3D"">Cheers,</span><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
background-color: rgb(255, 255, 255); float: none; display: inline =
!important;" class=3D"">Mindy</span><br style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
background-color: rgb(255, 255, 255);" class=3D""><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, =
255);" class=3D""><div class=3D"moz-cite-prefix" style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255, =
255);">On 05/11/2015 11:06 AM, Nick Betteridge wrote:<br =
class=3D""></div><blockquote =
cite=3D"mid:DUB128-W30E699593E90F888ACF93DB4DB0@phx.gbl" type=3D"cite" =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, =
255);" class=3D""><div dir=3D"ltr" class=3D"">Hello<br class=3D""><br =
class=3D"">I'm trying to get the simple dns server to work that Heidi =
has in her examples (<a =
href=3D"http://github.com/heidi-ann/ocaml-dns-examples" =
class=3D"">github.com/heidi-ann/ocaml-dns-examples</a>) and I'm getting =
an error which I don't really understand - it's occurs both on the =
cubieboard and my amd64 desktop:<br class=3D""><br class=3D"">[amd64]<br =
class=3D"">$ sudo ./mir-dns<br class=3D"">Manager: connect<br =
class=3D"">plugging into tap0 with mac c2:9d:56:19:d7:2c..<br =
class=3D"">Netif: connect tap0<br class=3D"">Manager: connect<br =
class=3D"">Manager: configuring<br class=3D"">Manager: configuring<br =
class=3D"">Netif: error, terminating listen loop<br class=3D"">Manager: =
Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.254]<br =
class=3D""><br class=3D"">Manager: socket config currently ignored =
(TODO)<br class=3D"">ARP: sending gratuitous from 192.168.1.2<br =
class=3D"">Manager: configuration done<br class=3D"">Warning =
(&lt;string&gt; line 47): Converting MD to MX<br class=3D"">Warning =
(&lt;string&gt; line 48): Converting MF to MX<br class=3D"">Error =
(&lt;string&gt; line 54): udp is not a known IP protocol<br =
class=3D"">Error (&lt;string&gt; line 56): unknown service "chargen" for =
protocol 6<br class=3D"">Warning (&lt;string&gt; line 47): Converting MD =
to MX<br class=3D"">Warning (&lt;string&gt; line 48): Converting MF to =
MX<br class=3D"">Error (&lt;string&gt; line 54): udp is not a known IP =
protocol<br class=3D"">Error (&lt;string&gt; line 56): unknown service =
"chargen" for protocol 6<br class=3D"">Netif: error, terminating listen =
loop<br class=3D""><br class=3D"">[cubieboard2]<br class=3D"">$ sudo =
./mir-dns<br class=3D"">plugging into tap0 with mac =
c2:9d:56:19:d7:2c..<br class=3D"">Netif: connect tap0<br =
class=3D"">Manager: connect<br class=3D"">Manager: connect<br =
class=3D"">Manager: configuring<br class=3D"">Manager: Interface to =
192.168.1.2 nm 255.255.255.0 gw [192.168.1.1]<br class=3D""><br =
class=3D"">ARP: sending gratuitous from 192.168.1.2<br class=3D"">Manager:=
 configuration done<br class=3D"">Manager: configuring<br =
class=3D"">Warning (&lt;string&gt; line 47): Converting MD to MX<br =
class=3D"">Warning (&lt;string&gt; line 48): Converting MF to MX<br =
class=3D"">Error (&lt;string&gt; line 54): udp is not a known IP =
protocol<br class=3D"">Error (&lt;string&gt; line 56): unknown service =
"chargen" for protocol 6<br class=3D"">Manager: socket config currently =
ignored (TODO)<br class=3D"">Warning (&lt;string&gt; line 47): =
Converting MD to MX<br class=3D"">Warning (&lt;string&gt; line 48): =
Converting MF to MX<br class=3D"">Error (&lt;string&gt; line 54): udp is =
not a known IP protocol<br class=3D"">Error (&lt;string&gt; line 56): =
unknown service "chargen" for protocol 6<br class=3D""><br class=3D""><br =
class=3D"">Does anyone have any idea how I can move forward on this?<br =
class=3D""><br class=3D"">Thanks<br class=3D"">Nick<br =
class=3D""></div><br class=3D""><fieldset =
class=3D"mimeAttachmentHeader"></fieldset><br class=3D""><pre wrap=3D"" =
class=3D"">_______________________________________________
MirageOS-devel mailing list
<a class=3D"moz-txt-link-abbreviated" =
href=3D"mailto:MirageOS-devel@lists.xenproject.org">MirageOS-devel@lists.x=
enproject.org</a>
<a class=3D"moz-txt-link-freetext" =
href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-deve=
l">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel</a>=

</pre></blockquote><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
background-color: rgb(255, 255, 255);" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, =
255); float: none; display: inline !important;" =
class=3D"">_______________________________________________</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, =
255);" class=3D""><span style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
background-color: rgb(255, 255, 255); float: none; display: inline =
!important;" class=3D"">MirageOS-devel mailing list</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, =
255);" class=3D""><a href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, =
255);" class=3D"">MirageOS-devel@lists.xenproject.org</a><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, =
255);" class=3D""><a =
href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-deve=
l" style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, =
255);" =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel</a><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
background-color: rgb(255, 255, 255);" =
class=3D""></div></blockquote></div><br =
class=3D""></div></div></body></html>=

--Apple-Mail=_7A0A163C-167D-4140-ACFC-4720FEBD5288--


--===============6845761657088230295==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============6845761657088230295==--


From mirageos-devel-bounces@lists.xenproject.org Tue May 12 15:26:16 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 15:26:16 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsC4V-0000mf-Ea; Tue, 12 May 2015 15:26:15 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1YsC4U-0000mX-E3
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 15:26:14 +0000
Received: from [85.158.137.68] by server-2.bemta-3.messagelabs.com id
	8A/A2-03079-59B12555; Tue, 12 May 2015 15:26:13 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-5.tower-31.messagelabs.com!1431444372!14747264!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 14113 invoked from network); 12 May 2015 15:26:12 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-5.tower-31.messagelabs.com with SMTP;
	12 May 2015 15:26:12 -0000
Received: from [172.20.10.2]
	(175.224.197.178.dynamic.wless.zhbmb00p-cgnat.res.cust.swisscom.ch
	[178.197.224.175])
	by smtp.webfaction.com (Postfix) with ESMTP id 79F4220EFB83;
	Tue, 12 May 2015 15:26:11 +0000 (UTC)
Date: Tue, 12 May 2015 17:26:09 +0200
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Anil Madhavapeddy <anil@recoil.org>
Message-ID: <4382CFB50FD64AFDA863FB6244D3FEA5@erratique.ch>
In-Reply-To: <7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
	<7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: "=?utf-8?Q?mirageos-devel=40lists.xenproject.org?="
	<mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Logging (was: test, quality, tcpip)
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

CgpMZSBtYXJkaSwgMTIgbWFpIDIwMTUgw6AgMTY6NTYsIEFuaWwgTWFkaGF2YXBlZGR5IGEgw6lj
cml0IDoKCj4gLSBCdWlsZCBtb3JlIGNvbXBsZXggYmFja2VuZHMgb3ZlciB0aGlzIGJhc2lzLiBG
b3IgaW5zdGFuY2UsIHRoZSBjb252ZW50aW9uYWwgImluZm8vZXJyb3IvZGVidWciIG9uZSB3b3Vs
ZCBiZSBhIGxheWVyIHRoYXQgZG9lcyB0aGUgYnJhbmNoZXMgYXBwcm9wcmlhdGVseSBmb3IgZWFj
aCB0eXBlLiAgCgpJZiBJIHVuZGVyc3RhbmQgdGhpcyBjb3JyZWN0bHksIHRoaXMgbWVhbnMgdGhh
dCB0aGVyZSBpcyBvbmUgYnJhbmNoIGZvciBlcnJvcnMsIG9uZSBmb3Igd2FybmluZ3MgZXRjLiBJ
IGhhdmUgc29tZSBkb3VidHMgYWJvdXQgdGhpcyBzaW5jZSBtZXNzYWdlcyBvY2N1cmluZyBpbiBh
IGdpdmVuIGxldmVsIG1heSBiZSBkdWUgdG8gYSBtZXNzYWdlIG9jY3VyaW5nIGluIGFub3RoZXIg
bGV2ZWwgKHlvdSBnZXQgYSB3YXJuaW5nIGJlY2F1c2UgdGhlcmUgd2FzIGFuIGVycm9yKS4gU28g
aXQgc2VlbXMgcHJlZmVyYWJsZSB0byBoYXZlIHRoZSBsaW5lYXIgb2NjdXJlbmNlcyBvZiBlYWNo
IGxldmVsIGluIHRoZSBzYW1lIGJyYW5jaC4gSSB3b3VsZCByYXRoZXIgc2VlIGJyYW5jaGVzIGJl
aW5nIHVzZWQgZm9yIGRlbGluZWF0aW5nIGNvbXBvbmVudHMuCgpCZXN0LAoKRGFuaWVsCgpfX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpNaXJhZ2VPUy1kZXZl
bCBtYWlsaW5nIGxpc3QKTWlyYWdlT1MtZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDov
L2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1k
ZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Tue May 12 15:26:16 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 15:26:16 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsC4V-0000mf-Ea; Tue, 12 May 2015 15:26:15 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1YsC4U-0000mX-E3
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 15:26:14 +0000
Received: from [85.158.137.68] by server-2.bemta-3.messagelabs.com id
	8A/A2-03079-59B12555; Tue, 12 May 2015 15:26:13 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-5.tower-31.messagelabs.com!1431444372!14747264!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 14113 invoked from network); 12 May 2015 15:26:12 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-5.tower-31.messagelabs.com with SMTP;
	12 May 2015 15:26:12 -0000
Received: from [172.20.10.2]
	(175.224.197.178.dynamic.wless.zhbmb00p-cgnat.res.cust.swisscom.ch
	[178.197.224.175])
	by smtp.webfaction.com (Postfix) with ESMTP id 79F4220EFB83;
	Tue, 12 May 2015 15:26:11 +0000 (UTC)
Date: Tue, 12 May 2015 17:26:09 +0200
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Anil Madhavapeddy <anil@recoil.org>
Message-ID: <4382CFB50FD64AFDA863FB6244D3FEA5@erratique.ch>
In-Reply-To: <7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
	<7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: "=?utf-8?Q?mirageos-devel=40lists.xenproject.org?="
	<mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Logging (was: test, quality, tcpip)
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

CgpMZSBtYXJkaSwgMTIgbWFpIDIwMTUgw6AgMTY6NTYsIEFuaWwgTWFkaGF2YXBlZGR5IGEgw6lj
cml0IDoKCj4gLSBCdWlsZCBtb3JlIGNvbXBsZXggYmFja2VuZHMgb3ZlciB0aGlzIGJhc2lzLiBG
b3IgaW5zdGFuY2UsIHRoZSBjb252ZW50aW9uYWwgImluZm8vZXJyb3IvZGVidWciIG9uZSB3b3Vs
ZCBiZSBhIGxheWVyIHRoYXQgZG9lcyB0aGUgYnJhbmNoZXMgYXBwcm9wcmlhdGVseSBmb3IgZWFj
aCB0eXBlLiAgCgpJZiBJIHVuZGVyc3RhbmQgdGhpcyBjb3JyZWN0bHksIHRoaXMgbWVhbnMgdGhh
dCB0aGVyZSBpcyBvbmUgYnJhbmNoIGZvciBlcnJvcnMsIG9uZSBmb3Igd2FybmluZ3MgZXRjLiBJ
IGhhdmUgc29tZSBkb3VidHMgYWJvdXQgdGhpcyBzaW5jZSBtZXNzYWdlcyBvY2N1cmluZyBpbiBh
IGdpdmVuIGxldmVsIG1heSBiZSBkdWUgdG8gYSBtZXNzYWdlIG9jY3VyaW5nIGluIGFub3RoZXIg
bGV2ZWwgKHlvdSBnZXQgYSB3YXJuaW5nIGJlY2F1c2UgdGhlcmUgd2FzIGFuIGVycm9yKS4gU28g
aXQgc2VlbXMgcHJlZmVyYWJsZSB0byBoYXZlIHRoZSBsaW5lYXIgb2NjdXJlbmNlcyBvZiBlYWNo
IGxldmVsIGluIHRoZSBzYW1lIGJyYW5jaC4gSSB3b3VsZCByYXRoZXIgc2VlIGJyYW5jaGVzIGJl
aW5nIHVzZWQgZm9yIGRlbGluZWF0aW5nIGNvbXBvbmVudHMuCgpCZXN0LAoKRGFuaWVsCgpfX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpNaXJhZ2VPUy1kZXZl
bCBtYWlsaW5nIGxpc3QKTWlyYWdlT1MtZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDov
L2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1k
ZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Tue May 12 15:30:08 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 15:30:08 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsC8F-0001MQ-7Y; Tue, 12 May 2015 15:30:07 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YsC8E-0001Lz-1q
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 15:30:06 +0000
Received: from [85.158.139.211] by server-2.bemta-5.messagelabs.com id
	C5/29-03031-D7C12555; Tue, 12 May 2015 15:30:05 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-4.tower-206.messagelabs.com!1431444604!14425416!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 10923 invoked from network); 12 May 2015 15:30:04 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-4.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 12 May 2015 15:30:04 -0000
Received: from [10.0.0.96] (host81-149-102-120.in-addr.btopenworld.com
	[81.149.102.120]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id de659b40;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 12 May 2015 16:30:03 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <4382CFB50FD64AFDA863FB6244D3FEA5@erratique.ch>
Date: Tue, 12 May 2015 16:30:04 +0100
Message-Id: <32C35BEB-47BF-4BC6-ACBB-844A7D778BD4@recoil.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
	<7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>
	<4382CFB50FD64AFDA863FB6244D3FEA5@erratique.ch>
To: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Logging (was: test, quality, tcpip)
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gMTIgTWF5IDIwMTUsIGF0IDE2OjI2LCBEYW5pZWwgQsO8bnpsaSA8ZGFuaWVsLmJ1ZW56bGlA
ZXJyYXRpcXVlLmNoPiB3cm90ZToKPiAKPiBMZSBtYXJkaSwgMTIgbWFpIDIwMTUgw6AgMTY6NTYs
IEFuaWwgTWFkaGF2YXBlZGR5IGEgw6ljcml0IDoKPiAKPj4gLSBCdWlsZCBtb3JlIGNvbXBsZXgg
YmFja2VuZHMgb3ZlciB0aGlzIGJhc2lzLiBGb3IgaW5zdGFuY2UsIHRoZSBjb252ZW50aW9uYWwg
ImluZm8vZXJyb3IvZGVidWciIG9uZSB3b3VsZCBiZSBhIGxheWVyIHRoYXQgZG9lcyB0aGUgYnJh
bmNoZXMgYXBwcm9wcmlhdGVseSBmb3IgZWFjaCB0eXBlLiAgCj4gCj4gSWYgSSB1bmRlcnN0YW5k
IHRoaXMgY29ycmVjdGx5LCB0aGlzIG1lYW5zIHRoYXQgdGhlcmUgaXMgb25lIGJyYW5jaCBmb3Ig
ZXJyb3JzLCBvbmUgZ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ZXIg
WEFQSSBjb21wb25lbnRzIG1hbnkgbW9vbnMgYWdvLCBidXQgbm93IHdpdGggdGhlIGJlbmVmaXQg
b2YgSXJtaW4sIEx3dC9Bc3luYywganNfb2Zfb2NhbWwgdG8gYWN0IGFzIGEgZm91bmRhdGlvbi4g
IERhdmUsIEpvbiwgaXMgdGhlcmUgaW50ZXJlc3QgaW4gc3VjaCBhIHNpbXBsZSBiYXNpcyBsaWJy
YXJ5IGZvciBldmVudHVhbCBpbnRlZ3JhdGlvbiBpbnRvIFhBUEkgYXMgd2VsbCwgb3IgbG9nZ2lu
ZyBhIHNvbHZlZCBwcm9ibGVtIHRoZXJlPwoKLWFuaWwKX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX18KTWlyYWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFn
ZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9y
Zy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Tue May 12 15:30:08 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 15:30:08 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsC8F-0001MQ-7Y; Tue, 12 May 2015 15:30:07 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YsC8E-0001Lz-1q
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 15:30:06 +0000
Received: from [85.158.139.211] by server-2.bemta-5.messagelabs.com id
	C5/29-03031-D7C12555; Tue, 12 May 2015 15:30:05 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-4.tower-206.messagelabs.com!1431444604!14425416!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 10923 invoked from network); 12 May 2015 15:30:04 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-4.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 12 May 2015 15:30:04 -0000
Received: from [10.0.0.96] (host81-149-102-120.in-addr.btopenworld.com
	[81.149.102.120]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id de659b40;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 12 May 2015 16:30:03 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <4382CFB50FD64AFDA863FB6244D3FEA5@erratique.ch>
Date: Tue, 12 May 2015 16:30:04 +0100
Message-Id: <32C35BEB-47BF-4BC6-ACBB-844A7D778BD4@recoil.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
	<7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>
	<4382CFB50FD64AFDA863FB6244D3FEA5@erratique.ch>
To: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Logging (was: test, quality, tcpip)
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gMTIgTWF5IDIwMTUsIGF0IDE2OjI2LCBEYW5pZWwgQsO8bnpsaSA8ZGFuaWVsLmJ1ZW56bGlA
ZXJyYXRpcXVlLmNoPiB3cm90ZToKPiAKPiBMZSBtYXJkaSwgMTIgbWFpIDIwMTUgw6AgMTY6NTYs
IEFuaWwgTWFkaGF2YXBlZGR5IGEgw6ljcml0IDoKPiAKPj4gLSBCdWlsZCBtb3JlIGNvbXBsZXgg
YmFja2VuZHMgb3ZlciB0aGlzIGJhc2lzLiBGb3IgaW5zdGFuY2UsIHRoZSBjb252ZW50aW9uYWwg
ImluZm8vZXJyb3IvZGVidWciIG9uZSB3b3VsZCBiZSBhIGxheWVyIHRoYXQgZG9lcyB0aGUgYnJh
bmNoZXMgYXBwcm9wcmlhdGVseSBmb3IgZWFjaCB0eXBlLiAgCj4gCj4gSWYgSSB1bmRlcnN0YW5k
IHRoaXMgY29ycmVjdGx5LCB0aGlzIG1lYW5zIHRoYXQgdGhlcmUgaXMgb25lIGJyYW5jaCBmb3Ig
ZXJyb3JzLCBvbmUgZm9yIHdhcm5pbmdzIGV0Yy4gSSBoYXZlIHNvbWUgZG91YnRzIGFib3V0IHRo
aXMgc2luY2UgbWVzc2FnZXMgb2NjdXJpbmcgaW4gYSBnaXZlbiBsZXZ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2NhbWwgdG8gYWN0IGFzIGEgZm91bmRhdGlvbi4g
IERhdmUsIEpvbiwgaXMgdGhlcmUgaW50ZXJlc3QgaW4gc3VjaCBhIHNpbXBsZSBiYXNpcyBsaWJy
YXJ5IGZvciBldmVudHVhbCBpbnRlZ3JhdGlvbiBpbnRvIFhBUEkgYXMgd2VsbCwgb3IgbG9nZ2lu
ZyBhIHNvbHZlZCBwcm9ibGVtIHRoZXJlPwoKLWFuaWwKX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX18KTWlyYWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFn
ZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9y
Zy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Tue May 12 15:39:57 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 15:39:57 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsCHl-0002rJ-2A; Tue, 12 May 2015 15:39:57 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YsCHj-0002r4-V7
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 15:39:56 +0000
Received: from [85.158.139.211] by server-10.bemta-5.messagelabs.com id
	47/3E-02789-BCE12555; Tue, 12 May 2015 15:39:55 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-15.tower-206.messagelabs.com!1431445193!11083063!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 23567 invoked from network); 12 May 2015 15:39:54 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-15.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 12 May 2015 15:39:54 -0000
Received: from [10.0.0.96] (host81-149-102-120.in-addr.btopenworld.com
	[81.149.102.120]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 83936ec8;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 12 May 2015 16:39:53 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAG4opy8gc3JUB0q=exT1L_UuudU=4XG0qvx3aFDBoAM-xyp7sg@mail.gmail.com>
Date: Tue, 12 May 2015 16:39:53 +0100
Message-Id: <061FAEAA-F343-46BE-B204-AAA8D45E46B1@recoil.org>
References: <DC5E0619-718D-4A85-A240-A0DD3FA0E118@recoil.org>
	<6D262DFB-EA5C-44CB-A908-FD0E28F7995D@citrix.com>
	<25D2AE7E-764E-44AE-B91E-AF0C5482D50B@recoil.org>
	<CAG4opy8Kj1qReKYs2kfvoodAL9Tre+7JfZM9c-z4SuiHHJ_PGw@mail.gmail.com>
	<CAC31103-C78B-4908-88AA-BAB6CFFFFAFE@recoil.org>
	<CAG4opy8gc3JUB0q=exT1L_UuudU=4XG0qvx3aFDBoAM-xyp7sg@mail.gmail.com>
To: Thomas Leonard <talex5@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: David Scott <Dave.Scott@citrix.com>, "mirageos-devel@lists.xenproject.org"
	<mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] github xen git mirror
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 11 May 2015, at 09:18, Thomas Leonard <talex5@gmail.com> wrote:
> 
> On 11 May 2015 at 01:56, Anil Madhavapeddy <anil@recoil.org> wrote:
>> On 7 May 2015, at 08:44, Thomas Leonard <talex5@gmail.com> wrote:
>>> 
>>> On 28 October 2014 at 21:45, Anil Madhavapeddy <anil@recoil.org> wrote:
>>>> On 26 May 2014, at 11:37, Dave Scott <Dave.Scott@citrix.com> wrote:
>>>>> 
>>>>> 
>>>>> On 26 May 2014, at 11:31, Anil Madhavapeddy <anil@recoil.org> wrote:
>>>>> 
>>>>>> A bunch of us now have our own GitHub mirrors of Xen, so it's a good idea to have a proper mirror repository to fork from instead.
>>>>>> 
>>>>>> Dave, I noticed your mirror scripts on mirage/xen have stopped.  Do you mind if I take that over and setup a cron job for it from the bactrian bot?
>>>>> 
>>>>> Oops, I lost those when I reinstalled the box they were running on.
>>>>> 
>>>>> Feel free to run cron somewhere else!
>>>> 
>>>> This is now running as an hourly cronjob on blobs.openmirage.org and mirroring to:
>>>> 
>>>>  https://github.com/mirage/xen
>>>> 
>>>> Thomas(L), we could also extend the cron mirroring to split out MiniOS in the future via git-filter-branch, if we need that to split out MiniOS in the future.
>>> 
>>> Mini-OS now has its own repository. Can we get a mirror of that too?
>>> 
>>> http://xenbits.xen.org/gitweb/?p=mini-os.git;a=summary
>> 
>> Now setup at:
>> 
>> https://github.com/mirage/mini-os
>> 
>> and synching hourly from upstream, just as the existing Xen mirror does.
> 
> Thanks! I've rebased my "devel" branch (with the ARM support) from the
> Xen repository to a fork of the new Mini-OS repository (now on
> "master"):
> 
>  https://github.com/talex5/mini-os
> 
> You should be able to build and install with:
> 
> git clone https://github.com/talex5/mini-os.git
> cd mini-os
> git submodule update --init
> make install PREFIX=`opam config var prefix`

Good stuff.  How does this hook into the mirage-minios-xen repository?  Do we need to disable the local MiniOS installation there for this one to be picked up?

If so, it might be worth breaking up that repository into individual OPAM packages so that they can pinned separately...

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 12 15:39:57 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 15:39:57 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsCHl-0002rJ-2A; Tue, 12 May 2015 15:39:57 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YsCHj-0002r4-V7
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 15:39:56 +0000
Received: from [85.158.139.211] by server-10.bemta-5.messagelabs.com id
	47/3E-02789-BCE12555; Tue, 12 May 2015 15:39:55 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-15.tower-206.messagelabs.com!1431445193!11083063!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 23567 invoked from network); 12 May 2015 15:39:54 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-15.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 12 May 2015 15:39:54 -0000
Received: from [10.0.0.96] (host81-149-102-120.in-addr.btopenworld.com
	[81.149.102.120]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 83936ec8;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 12 May 2015 16:39:53 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAG4opy8gc3JUB0q=exT1L_UuudU=4XG0qvx3aFDBoAM-xyp7sg@mail.gmail.com>
Date: Tue, 12 May 2015 16:39:53 +0100
Message-Id: <061FAEAA-F343-46BE-B204-AAA8D45E46B1@recoil.org>
References: <DC5E0619-718D-4A85-A240-A0DD3FA0E118@recoil.org>
	<6D262DFB-EA5C-44CB-A908-FD0E28F7995D@citrix.com>
	<25D2AE7E-764E-44AE-B91E-AF0C5482D50B@recoil.org>
	<CAG4opy8Kj1qReKYs2kfvoodAL9Tre+7JfZM9c-z4SuiHHJ_PGw@mail.gmail.com>
	<CAC31103-C78B-4908-88AA-BAB6CFFFFAFE@recoil.org>
	<CAG4opy8gc3JUB0q=exT1L_UuudU=4XG0qvx3aFDBoAM-xyp7sg@mail.gmail.com>
To: Thomas Leonard <talex5@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: David Scott <Dave.Scott@citrix.com>, "mirageos-devel@lists.xenproject.org"
	<mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] github xen git mirror
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 11 May 2015, at 09:18, Thomas Leonard <talex5@gmail.com> wrote:
> 
> On 11 May 2015 at 01:56, Anil Madhavapeddy <anil@recoil.org> wrote:
>> On 7 May 2015, at 08:44, Thomas Leonard <talex5@gmail.com> wrote:
>>> 
>>> On 28 October 2014 at 21:45, Anil Madhavapeddy <anil@recoil.org> wrote:
>>>> On 26 May 2014, at 11:37, Dave Scott <Dave.Scott@citrix.com> wrote:
>>>>> 
>>>>> 
>>>>> On 26 May 2014, at 11:31, Anil Madhavapeddy <anil@recoil.org> wrote:
>>>>> 
>>>>>> A bunch of us now have our own GitHub mirrors of Xen, so it's a good idea to have a proper mirror repository to fork from instead.
>>>>>> 
>>>>>> Dave, I noticed your mirror scripts on mirage/xen have stopped.  Do you mind if I take that over and setup a cron job for it from the bactrian bot?
>>>>> 
>>>>> Oops, I lost those when I reinstalled the box they were running on.
>>>>> 
>>>>> Feel free to run cron somewhere else!
>>>> 
>>>> This is now running as an hourly cronjob on blobs.openmirage.org and mirroring to:
>>>> 
>>>>  https://github.com/mirage/xen
>>>> 
>>>> Thomas(L), we could also extend the cron mirroring to split out MiniOS in the future via git-filter-branch, if we need that to split out MiniOS in the future.
>>> 
>>> Mini-OS now has its own repository. Can we get a mirror of that too?
>>> 
>>> http://xenbits.xen.org/gitweb/?p=mini-os.git;a=summary
>> 
>> Now setup at:
>> 
>> https://github.com/mirage/mini-os
>> 
>> and synching hourly from upstream, just as the existing Xen mirror does.
> 
> Thanks! I've rebased my "devel" branch (with the ARM support) from the
> Xen repository to a fork of the new Mini-OS repository (now on
> "master"):
> 
>  https://github.com/talex5/mini-os
> 
> You should be able to build and install with:
> 
> git clone https://github.com/talex5/mini-os.git
> cd mini-os
> git submodule update --init
> make install PREFIX=`opam config var prefix`

Good stuff.  How does this hook into the mirage-minios-xen repository?  Do we need to disable the local MiniOS installation there for this one to be picked up?

If so, it might be worth breaking up that repository into individual OPAM packages so that they can pinned separately...

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 12 15:47:43 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 15:47:43 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsCPF-0003T0-Gr; Tue, 12 May 2015 15:47:41 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1YsCPE-0003St-IV
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 15:47:40 +0000
Received: from [193.109.254.147] by server-9.bemta-14.messagelabs.com id
	2D/42-02790-B9022555; Tue, 12 May 2015 15:47:39 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-10.tower-27.messagelabs.com!1431445659!16939081!1
X-Originating-IP: [74.125.82.44]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 29596 invoked from network); 12 May 2015 15:47:39 -0000
Received: from mail-wg0-f44.google.com (HELO mail-wg0-f44.google.com)
	(74.125.82.44)
	by server-10.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	12 May 2015 15:47:39 -0000
Received: by wgic8 with SMTP id c8so14770440wgi.1
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 12 May 2015 08:47:38 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=GWpaeiKOfFrB6bOEDvEKTwEjExbyXyBKNQRwfhx7Sz4=;
	b=D2xdDvXJb90oiZUi61I0x9oQd/bT/GbaG82ZRa2NBnuJjG72t9MHAACTLYJV45nEZO
	LM7KgYE4aIIcIZLEJmjCHnSM/Iau4dLBFbupWsHbfSsQe7qw9Ew+CUVY7HxHM7shtiwS
	TXFWhxxs6QVF9cCi9YZaboQL8S3OHKRRAp40pNrtc4om6+hFE2b3NmCW7Qun5V9cIlgt
	QzLmG45a1oFfV+4y1r5XEYciwJCAar01E/gVJKe0XbmqpIEdqyDHjsP0TfCUy+QUiHEU
	IBWa8AmwnBX6MT+w3Ldsp8Lww56HTsdc3OPlFXO8kR3ktl8o2KVTKyEGjOPF3JbalDk2
	th0A==
X-Received: by 10.180.189.42 with SMTP id gf10mr452503wic.39.1431445658689;
	Tue, 12 May 2015 08:47:38 -0700 (PDT)
Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com.
	[209.85.212.178]) by mx.google.com with ESMTPSA id
	j12sm28335243wjn.48.2015.05.12.08.47.37
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Tue, 12 May 2015 08:47:38 -0700 (PDT)
Received: by wief7 with SMTP id f7so115567691wie.0
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 12 May 2015 08:47:37 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.194.11.73 with SMTP id o9mr31976268wjb.116.1431445657345;
	Tue, 12 May 2015 08:47:37 -0700 (PDT)
Received: by 10.28.226.193 with HTTP; Tue, 12 May 2015 08:47:37 -0700 (PDT)
In-Reply-To: <7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
	<7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>
Date: Tue, 12 May 2015 17:47:37 +0200
Message-ID: <CAN2Hq05QUj5F++uVTr0K0m_ji=pVY=E4QYH+azr-QKf5ROgJ9g@mail.gmail.com>
From: Richard Mortier <richard.mortier@cl.cam.ac.uk>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Logging (was: test, quality, tcpip)
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 12 May 2015 at 16:56, Anil Madhavapeddy <anil@recoil.org> wrote:
> - Ban all uses of console logging from all of our protocol libraries.  We should *never* be logging directly to the console, as this is both a denial-of-service opportunity and something that is very difficult to aggregate and track.
>

Presumably this is simply achieved by ceasing to pass in the CONSOLE
signature anywhere, and then twiddling things until they compile? :)

-- 
Richard Mortier
richard.mortier@cl.cam.ac.uk

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 12 15:47:43 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 15:47:43 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsCPF-0003T0-Gr; Tue, 12 May 2015 15:47:41 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1YsCPE-0003St-IV
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 15:47:40 +0000
Received: from [193.109.254.147] by server-9.bemta-14.messagelabs.com id
	2D/42-02790-B9022555; Tue, 12 May 2015 15:47:39 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-10.tower-27.messagelabs.com!1431445659!16939081!1
X-Originating-IP: [74.125.82.44]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 29596 invoked from network); 12 May 2015 15:47:39 -0000
Received: from mail-wg0-f44.google.com (HELO mail-wg0-f44.google.com)
	(74.125.82.44)
	by server-10.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	12 May 2015 15:47:39 -0000
Received: by wgic8 with SMTP id c8so14770440wgi.1
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 12 May 2015 08:47:38 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=GWpaeiKOfFrB6bOEDvEKTwEjExbyXyBKNQRwfhx7Sz4=;
	b=D2xdDvXJb90oiZUi61I0x9oQd/bT/GbaG82ZRa2NBnuJjG72t9MHAACTLYJV45nEZO
	LM7KgYE4aIIcIZLEJmjCHnSM/Iau4dLBFbupWsHbfSsQe7qw9Ew+CUVY7HxHM7shtiwS
	TXFWhxxs6QVF9cCi9YZaboQL8S3OHKRRAp40pNrtc4om6+hFE2b3NmCW7Qun5V9cIlgt
	QzLmG45a1oFfV+4y1r5XEYciwJCAar01E/gVJKe0XbmqpIEdqyDHjsP0TfCUy+QUiHEU
	IBWa8AmwnBX6MT+w3Ldsp8Lww56HTsdc3OPlFXO8kR3ktl8o2KVTKyEGjOPF3JbalDk2
	th0A==
X-Received: by 10.180.189.42 with SMTP id gf10mr452503wic.39.1431445658689;
	Tue, 12 May 2015 08:47:38 -0700 (PDT)
Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com.
	[209.85.212.178]) by mx.google.com with ESMTPSA id
	j12sm28335243wjn.48.2015.05.12.08.47.37
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Tue, 12 May 2015 08:47:38 -0700 (PDT)
Received: by wief7 with SMTP id f7so115567691wie.0
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 12 May 2015 08:47:37 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.194.11.73 with SMTP id o9mr31976268wjb.116.1431445657345;
	Tue, 12 May 2015 08:47:37 -0700 (PDT)
Received: by 10.28.226.193 with HTTP; Tue, 12 May 2015 08:47:37 -0700 (PDT)
In-Reply-To: <7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
	<7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>
Date: Tue, 12 May 2015 17:47:37 +0200
Message-ID: <CAN2Hq05QUj5F++uVTr0K0m_ji=pVY=E4QYH+azr-QKf5ROgJ9g@mail.gmail.com>
From: Richard Mortier <richard.mortier@cl.cam.ac.uk>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Logging (was: test, quality, tcpip)
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 12 May 2015 at 16:56, Anil Madhavapeddy <anil@recoil.org> wrote:
> - Ban all uses of console logging from all of our protocol libraries.  We should *never* be logging directly to the console, as this is both a denial-of-service opportunity and something that is very difficult to aggregate and track.
>

Presumably this is simply achieved by ceasing to pass in the CONSOLE
signature anywhere, and then twiddling things until they compile? :)

-- 
Richard Mortier
richard.mortier@cl.cam.ac.uk

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 12 15:47:50 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 15:47:50 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsCPO-0003UU-Ju; Tue, 12 May 2015 15:47:50 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1YsCOF-0003RE-CH
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 15:46:39 +0000
Received: from [193.109.254.147] by server-9.bemta-14.messagelabs.com id
	63/A0-02790-E5022555; Tue, 12 May 2015 15:46:38 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-9.tower-27.messagelabs.com!1431445597!16919064!1
X-Originating-IP: [74.125.82.46]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 8259 invoked from network); 12 May 2015 15:46:37 -0000
Received: from mail-wg0-f46.google.com (HELO mail-wg0-f46.google.com)
	(74.125.82.46)
	by server-9.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	12 May 2015 15:46:37 -0000
Received: by wggj6 with SMTP id j6so14721026wgg.3
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 12 May 2015 08:46:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type:content-transfer-encoding;
	bh=I3l/nEp3YtcCM5yvWUEmgGqVcLA1puLIDjoTL+M9BNk=;
	b=O3Aqq0fylgqzSZTgdlRKaXOr0Fzbd3QDA72rP4J5w5g/7KBj+bEBbS6V3EH1vitfPB
	+i9aiZDOiUaImDLR+NnFq3G+30alIKskubpDXvEbK6mwY0bEV4li3RTXQqTmzeuEXpY7
	soSpzepNeKouJkF12BMGSuocAJ7jugx2slqxIeaLqyR74R5rIZMYYPjvKXsfXYSvToCw
	2B6x+lIP6bxyvvQrE9HkqWn4n0kTK7O6dSsQHhe5odl0SWg3D5MKAvP+l6fuPmU4ao4v
	xd+Bfp27kyTdmkhoyCDpCm/yN1UEiIRaehEZ/EkU5AxlU+XNhrmpb9t/QINktZlhrfQq
	yDpQ==
MIME-Version: 1.0
X-Received: by 10.181.13.198 with SMTP id fa6mr31403963wid.41.1431445596794;
	Tue, 12 May 2015 08:46:36 -0700 (PDT)
Received: by 10.28.226.193 with HTTP; Tue, 12 May 2015 08:46:36 -0700 (PDT)
In-Reply-To: <32C35BEB-47BF-4BC6-ACBB-844A7D778BD4@recoil.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
	<7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>
	<4382CFB50FD64AFDA863FB6244D3FEA5@erratique.ch>
	<32C35BEB-47BF-4BC6-ACBB-844A7D778BD4@recoil.org>
Date: Tue, 12 May 2015 17:46:36 +0200
X-Google-Sender-Auth: 6EfoBoYvNKHJqc2gXrv53uGJLww
Message-ID: <CAN2Hq07rzDWm9Wj+wxZ4rgYGXQB0aLV0XP+WfYP9CCKZeqhREw@mail.gmail.com>
From: Richard Mortier <mort@cantab.net>
To: Anil Madhavapeddy <anil@recoil.org>
X-Mailman-Approved-At: Tue, 12 May 2015 15:47:49 +0000
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Logging (was: test, quality, tcpip)
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 12 May 2015 at 17:30, Anil Madhavapeddy <anil@recoil.org> wrote:
>> If I understand this correctly, this means that there is one branch for errors, one for warnings etc. I have some doubts about this since messages occuring in a given level may be due to a message occuring in another level (you get a warning because there was an error). So it seems preferable to have the linear occurences of each level in the same branch. I would rather see branches being used for delineating components.
>
> Agreed. I had in mind a branching structure that would include a branch per component, followed by the debug levels.  Other listeners could then do aggregation into different views, including operations such as time-based rotation and aggregation across components.  For an Irmin backend, such listeners can just be watchers (either offline or online, which is nice!).
>

Sorry, may be being slow but if I understand you both right this means:

+ one Irmin log ("repo"?)
+ each component has its own branch within that log

then either

+ within each component branch, there is a linear sequence of messages
at different levels

or

+ within each component branch, there is a hierarchy of subordinate
branches, branching each time a message appears at a lower (finer
grained) debug level

?



-- 
Richard Mortier
mort@cantab.net

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 12 15:47:50 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 15:47:50 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsCPO-0003UU-Ju; Tue, 12 May 2015 15:47:50 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1YsCOF-0003RE-CH
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 15:46:39 +0000
Received: from [193.109.254.147] by server-9.bemta-14.messagelabs.com id
	63/A0-02790-E5022555; Tue, 12 May 2015 15:46:38 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-9.tower-27.messagelabs.com!1431445597!16919064!1
X-Originating-IP: [74.125.82.46]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 8259 invoked from network); 12 May 2015 15:46:37 -0000
Received: from mail-wg0-f46.google.com (HELO mail-wg0-f46.google.com)
	(74.125.82.46)
	by server-9.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	12 May 2015 15:46:37 -0000
Received: by wggj6 with SMTP id j6so14721026wgg.3
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 12 May 2015 08:46:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type:content-transfer-encoding;
	bh=I3l/nEp3YtcCM5yvWUEmgGqVcLA1puLIDjoTL+M9BNk=;
	b=O3Aqq0fylgqzSZTgdlRKaXOr0Fzbd3QDA72rP4J5w5g/7KBj+bEBbS6V3EH1vitfPB
	+i9aiZDOiUaImDLR+NnFq3G+30alIKskubpDXvEbK6mwY0bEV4li3RTXQqTmzeuEXpY7
	soSpzepNeKouJkF12BMGSuocAJ7jugx2slqxIeaLqyR74R5rIZMYYPjvKXsfXYSvToCw
	2B6x+lIP6bxyvvQrE9HkqWn4n0kTK7O6dSsQHhe5odl0SWg3D5MKAvP+l6fuPmU4ao4v
	xd+Bfp27kyTdmkhoyCDpCm/yN1UEiIRaehEZ/EkU5AxlU+XNhrmpb9t/QINktZlhrfQq
	yDpQ==
MIME-Version: 1.0
X-Received: by 10.181.13.198 with SMTP id fa6mr31403963wid.41.1431445596794;
	Tue, 12 May 2015 08:46:36 -0700 (PDT)
Received: by 10.28.226.193 with HTTP; Tue, 12 May 2015 08:46:36 -0700 (PDT)
In-Reply-To: <32C35BEB-47BF-4BC6-ACBB-844A7D778BD4@recoil.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
	<7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>
	<4382CFB50FD64AFDA863FB6244D3FEA5@erratique.ch>
	<32C35BEB-47BF-4BC6-ACBB-844A7D778BD4@recoil.org>
Date: Tue, 12 May 2015 17:46:36 +0200
X-Google-Sender-Auth: 6EfoBoYvNKHJqc2gXrv53uGJLww
Message-ID: <CAN2Hq07rzDWm9Wj+wxZ4rgYGXQB0aLV0XP+WfYP9CCKZeqhREw@mail.gmail.com>
From: Richard Mortier <mort@cantab.net>
To: Anil Madhavapeddy <anil@recoil.org>
X-Mailman-Approved-At: Tue, 12 May 2015 15:47:49 +0000
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Logging (was: test, quality, tcpip)
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 12 May 2015 at 17:30, Anil Madhavapeddy <anil@recoil.org> wrote:
>> If I understand this correctly, this means that there is one branch for errors, one for warnings etc. I have some doubts about this since messages occuring in a given level may be due to a message occuring in another level (you get a warning because there was an error). So it seems preferable to have the linear occurences of each level in the same branch. I would rather see branches being used for delineating components.
>
> Agreed. I had in mind a branching structure that would include a branch per component, followed by the debug levels.  Other listeners could then do aggregation into different views, including operations such as time-based rotation and aggregation across components.  For an Irmin backend, such listeners can just be watchers (either offline or online, which is nice!).
>

Sorry, may be being slow but if I understand you both right this means:

+ one Irmin log ("repo"?)
+ each component has its own branch within that log

then either

+ within each component branch, there is a linear sequence of messages
at different levels

or

+ within each component branch, there is a hierarchy of subordinate
branches, branching each time a message appears at a lower (finer
grained) debug level

?



-- 
Richard Mortier
mort@cantab.net

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 12 15:48:19 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 15:48:19 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsCPr-0003Yw-Nc; Tue, 12 May 2015 15:48:19 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <drupyog+caml@zoho.com>) id 1YsCPq-0003Yc-4w
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 15:48:18 +0000
Received: from [193.109.254.147] by server-9.bemta-14.messagelabs.com id
	F1/33-02790-1C022555; Tue, 12 May 2015 15:48:17 +0000
X-Env-Sender: drupyog+caml@zoho.com
X-Msg-Ref: server-14.tower-27.messagelabs.com!1431445694!16935074!1
X-Originating-IP: [74.201.84.155]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 30616 invoked from network); 12 May 2015 15:48:16 -0000
Received: from sender1.zohomail.com (HELO sender1.zohomail.com) (74.201.84.155)
	by server-14.tower-27.messagelabs.com with AES128-SHA encrypted SMTP;
	12 May 2015 15:48:16 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; 
	h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type;
	b=a5DkvG7GgPpv4CqUimcyJHTZN0M8W6j5+uYQ6aRqzgiu0AZOlYexC48Iq5XZ31ryUKFS8yRKZ07Z
	ip9bPjx8rJf5tWRZL4gxrUDF5FQ5z9CCvMbr1gntd8lJSjiqaFF1  
Received: from [192.168.1.103] (perens.inria.fr [128.93.60.79]) by
	mx.zohomail.com with SMTPS id 1431445692764967.8002230114666;
	Tue, 12 May 2015 08:48:12 -0700 (PDT)
Message-ID: <555220B9.8000302@zoho.com>
Date: Tue, 12 May 2015 17:48:09 +0200
From: Drup <drupyog+caml@zoho.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: Anil Madhavapeddy <anil@recoil.org>
References: <5549E190.7080505@somerandomidiot.com>	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>	<7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>	<4382CFB50FD64AFDA863FB6244D3FEA5@erratique.ch>
	<32C35BEB-47BF-4BC6-ACBB-844A7D778BD4@recoil.org>
In-Reply-To: <32C35BEB-47BF-4BC6-ACBB-844A7D778BD4@recoil.org>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Logging
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

> Agreed. I had in mind a branching structure that would include a branch per component, followed by the debug levels.  Other listeners could then do aggregation into different views, including operations such as time-based rotation and aggregation across components.  For an Irmin backend, such listeners can just be watchers (either offline or online, which is nice!).
If I understand correctly, this would allow to encode Lwt_log's sections 
quite easily, is that right ? It is a feature that I found rather 
lacking in other logging libraries (in particular, dolog).

I like your "only one function" idea.
The alternative of passing around the unique function is to have a 
global reference containing the dispatcher function. It's the solution 
used by Lwt_log. It's mostly equivalent (and it works ok in practice) 
but I think it's indeed better to pass the function explicitly.

I'm not really convinced by the extension syntax trick (it was done for 
Lwt_log too and it uses a very syntactic criteria, which makes it a bit 
fishy). What would it do exactly ? Can't you rely on partial evaluation 
and Flambda's inlining to do the correct thing ?


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 12 15:48:19 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 15:48:19 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsCPr-0003Yw-Nc; Tue, 12 May 2015 15:48:19 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <drupyog+caml@zoho.com>) id 1YsCPq-0003Yc-4w
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 15:48:18 +0000
Received: from [193.109.254.147] by server-9.bemta-14.messagelabs.com id
	F1/33-02790-1C022555; Tue, 12 May 2015 15:48:17 +0000
X-Env-Sender: drupyog+caml@zoho.com
X-Msg-Ref: server-14.tower-27.messagelabs.com!1431445694!16935074!1
X-Originating-IP: [74.201.84.155]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 30616 invoked from network); 12 May 2015 15:48:16 -0000
Received: from sender1.zohomail.com (HELO sender1.zohomail.com) (74.201.84.155)
	by server-14.tower-27.messagelabs.com with AES128-SHA encrypted SMTP;
	12 May 2015 15:48:16 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; 
	h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type;
	b=a5DkvG7GgPpv4CqUimcyJHTZN0M8W6j5+uYQ6aRqzgiu0AZOlYexC48Iq5XZ31ryUKFS8yRKZ07Z
	ip9bPjx8rJf5tWRZL4gxrUDF5FQ5z9CCvMbr1gntd8lJSjiqaFF1  
Received: from [192.168.1.103] (perens.inria.fr [128.93.60.79]) by
	mx.zohomail.com with SMTPS id 1431445692764967.8002230114666;
	Tue, 12 May 2015 08:48:12 -0700 (PDT)
Message-ID: <555220B9.8000302@zoho.com>
Date: Tue, 12 May 2015 17:48:09 +0200
From: Drup <drupyog+caml@zoho.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: Anil Madhavapeddy <anil@recoil.org>
References: <5549E190.7080505@somerandomidiot.com>	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>	<7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>	<4382CFB50FD64AFDA863FB6244D3FEA5@erratique.ch>
	<32C35BEB-47BF-4BC6-ACBB-844A7D778BD4@recoil.org>
In-Reply-To: <32C35BEB-47BF-4BC6-ACBB-844A7D778BD4@recoil.org>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Logging
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

> Agreed. I had in mind a branching structure that would include a branch per component, followed by the debug levels.  Other listeners could then do aggregation into different views, including operations such as time-based rotation and aggregation across components.  For an Irmin backend, such listeners can just be watchers (either offline or online, which is nice!).
If I understand correctly, this would allow to encode Lwt_log's sections 
quite easily, is that right ? It is a feature that I found rather 
lacking in other logging libraries (in particular, dolog).

I like your "only one function" idea.
The alternative of passing around the unique function is to have a 
global reference containing the dispatcher function. It's the solution 
used by Lwt_log. It's mostly equivalent (and it works ok in practice) 
but I think it's indeed better to pass the function explicitly.

I'm not really convinced by the extension syntax trick (it was done for 
Lwt_log too and it uses a very syntactic criteria, which makes it a bit 
fishy). What would it do exactly ? Can't you rely on partial evaluation 
and Flambda's inlining to do the correct thing ?


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 12 15:49:29 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 15:49:29 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsCQz-0003ms-8n; Tue, 12 May 2015 15:49:29 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YsCQy-0003lr-4D
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 15:49:28 +0000
Received: from [193.109.254.147] by server-8.bemta-14.messagelabs.com id
	90/C5-03204-30122555; Tue, 12 May 2015 15:49:23 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-15.tower-27.messagelabs.com!1431445762!16940751!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 8225 invoked from network); 12 May 2015 15:49:22 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-15.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 12 May 2015 15:49:22 -0000
Received: from [10.0.0.96] (host81-149-102-120.in-addr.btopenworld.com
	[81.149.102.120]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 92b3d9dd;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 12 May 2015 16:49:22 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAN2Hq05QUj5F++uVTr0K0m_ji=pVY=E4QYH+azr-QKf5ROgJ9g@mail.gmail.com>
Date: Tue, 12 May 2015 16:49:22 +0100
Message-Id: <5FD9DFB0-3DC7-4320-8DCF-5DFDF83F9643@recoil.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
	<7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>
	<CAN2Hq05QUj5F++uVTr0K0m_ji=pVY=E4QYH+azr-QKf5ROgJ9g@mail.gmail.com>
To: Richard Mortier <richard.mortier@cl.cam.ac.uk>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Logging (was: test, quality, tcpip)
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 12 May 2015, at 16:47, Richard Mortier <richard.mortier@cl.cam.ac.uk> wrote:
> 
> On 12 May 2015 at 16:56, Anil Madhavapeddy <anil@recoil.org> wrote:
>> - Ban all uses of console logging from all of our protocol libraries.  We should *never* be logging directly to the console, as this is both a denial-of-service opportunity and something that is very difficult to aggregate and track.
>> 
> 
> Presumably this is simply achieved by ceasing to pass in the CONSOLE
> signature anywhere, and then twiddling things until they compile? :)

Not that easy unfortunately -- the console logging mostly happens via
direct calls to Printf.[e]printf and print_endline/prerr_endline.

Threading through a ubiquitous logger to these interfaces would give us
the ability to easily call an alternative function, but at the cost
of some significant revving of interfaces.  Worth doing, but only 
worth doing so once...

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 12 15:49:29 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 15:49:29 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsCQz-0003ms-8n; Tue, 12 May 2015 15:49:29 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YsCQy-0003lr-4D
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 15:49:28 +0000
Received: from [193.109.254.147] by server-8.bemta-14.messagelabs.com id
	90/C5-03204-30122555; Tue, 12 May 2015 15:49:23 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-15.tower-27.messagelabs.com!1431445762!16940751!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 8225 invoked from network); 12 May 2015 15:49:22 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-15.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 12 May 2015 15:49:22 -0000
Received: from [10.0.0.96] (host81-149-102-120.in-addr.btopenworld.com
	[81.149.102.120]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 92b3d9dd;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 12 May 2015 16:49:22 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAN2Hq05QUj5F++uVTr0K0m_ji=pVY=E4QYH+azr-QKf5ROgJ9g@mail.gmail.com>
Date: Tue, 12 May 2015 16:49:22 +0100
Message-Id: <5FD9DFB0-3DC7-4320-8DCF-5DFDF83F9643@recoil.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
	<7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>
	<CAN2Hq05QUj5F++uVTr0K0m_ji=pVY=E4QYH+azr-QKf5ROgJ9g@mail.gmail.com>
To: Richard Mortier <richard.mortier@cl.cam.ac.uk>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Logging (was: test, quality, tcpip)
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 12 May 2015, at 16:47, Richard Mortier <richard.mortier@cl.cam.ac.uk> wrote:
> 
> On 12 May 2015 at 16:56, Anil Madhavapeddy <anil@recoil.org> wrote:
>> - Ban all uses of console logging from all of our protocol libraries.  We should *never* be logging directly to the console, as this is both a denial-of-service opportunity and something that is very difficult to aggregate and track.
>> 
> 
> Presumably this is simply achieved by ceasing to pass in the CONSOLE
> signature anywhere, and then twiddling things until they compile? :)

Not that easy unfortunately -- the console logging mostly happens via
direct calls to Printf.[e]printf and print_endline/prerr_endline.

Threading through a ubiquitous logger to these interfaces would give us
the ability to easily call an alternative function, but at the cost
of some significant revving of interfaces.  Worth doing, but only 
worth doing so once...

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 12 15:56:25 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 15:56:25 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsCXe-0004xr-GL; Tue, 12 May 2015 15:56:22 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1YsCXd-0004xR-2H
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 15:56:21 +0000
Received: from [85.158.139.211] by server-1.bemta-5.messagelabs.com id
	08/2C-03041-4A222555; Tue, 12 May 2015 15:56:20 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-8.tower-206.messagelabs.com!1431446178!14393998!1
X-Originating-IP: [209.85.217.176]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 27931 invoked from network); 12 May 2015 15:56:19 -0000
Received: from mail-lb0-f176.google.com (HELO mail-lb0-f176.google.com)
	(209.85.217.176)
	by server-8.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	12 May 2015 15:56:19 -0000
Received: by lbcga7 with SMTP id ga7so9420156lbc.1
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 12 May 2015 08:56:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=qpWQiXhyVn4TydeFEGV9aMvbK152pNWvCKzBDVStn6o=;
	b=CFhbvnjp9UuFQ/cjhy7po6bfv1iYaZ4nam09zebB/KtkRSfCpNQizyoDJkhW6ZrhUd
	dULcf2ywg71WkCsKdmHSSd5qdMw+Ff4y1yMn7w7TwCUS0b5hjnLyfhGmOr8BWY1iZ98K
	eDAOWGll854pWL9MvdlXAkjOW6l5o8ibPiNaJZv+IfrleNifYR/aQtNPz4CA7O+hK+Tg
	0X8J/6+yMlGC5jKlYsRu+eiVD2oa+G3T58lK0THaGeOo0PFBSE4uuGhyJ0Y4TSOKE/61
	4GH1980iLKQArwwdUy5ZPsKVuGewWISmYENeraM1+FEqDidIV8mkEsxOzC/i5A8MrOwR
	LLcw==
MIME-Version: 1.0
X-Received: by 10.153.7.104 with SMTP id db8mr12785598lad.124.1431446178554;
	Tue, 12 May 2015 08:56:18 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Tue, 12 May 2015 08:56:18 -0700 (PDT)
In-Reply-To: <061FAEAA-F343-46BE-B204-AAA8D45E46B1@recoil.org>
References: <DC5E0619-718D-4A85-A240-A0DD3FA0E118@recoil.org>
	<6D262DFB-EA5C-44CB-A908-FD0E28F7995D@citrix.com>
	<25D2AE7E-764E-44AE-B91E-AF0C5482D50B@recoil.org>
	<CAG4opy8Kj1qReKYs2kfvoodAL9Tre+7JfZM9c-z4SuiHHJ_PGw@mail.gmail.com>
	<CAC31103-C78B-4908-88AA-BAB6CFFFFAFE@recoil.org>
	<CAG4opy8gc3JUB0q=exT1L_UuudU=4XG0qvx3aFDBoAM-xyp7sg@mail.gmail.com>
	<061FAEAA-F343-46BE-B204-AAA8D45E46B1@recoil.org>
Date: Tue, 12 May 2015 16:56:18 +0100
Message-ID: <CAG4opy_S9ZyJoOciXccjs7PFrc-6bhxLsR8yvkZ+zLCM+ACcdw@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: David Scott <Dave.Scott@citrix.com>, "mirageos-devel@lists.xenproject.org"
	<mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] github xen git mirror
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 12 May 2015 at 16:39, Anil Madhavapeddy <anil@recoil.org> wrote:
> On 11 May 2015, at 09:18, Thomas Leonard <talex5@gmail.com> wrote:
>>
>> On 11 May 2015 at 01:56, Anil Madhavapeddy <anil@recoil.org> wrote:
>>> On 7 May 2015, at 08:44, Thomas Leonard <talex5@gmail.com> wrote:
>>>>
>>>> On 28 October 2014 at 21:45, Anil Madhavapeddy <anil@recoil.org> wrote:
>>>>> On 26 May 2014, at 11:37, Dave Scott <Dave.Scott@citrix.com> wrote:
>>>>>>
>>>>>>
>>>>>> On 26 May 2014, at 11:31, Anil Madhavapeddy <anil@recoil.org> wrote:
>>>>>>
>>>>>>> A bunch of us now have our own GitHub mirrors of Xen, so it's a good idea to have a proper mirror repository to fork from instead.
>>>>>>>
>>>>>>> Dave, I noticed your mirror scripts on mirage/xen have stopped.  Do you mind if I take that over and setup a cron job for it from the bactrian bot?
>>>>>>
>>>>>> Oops, I lost those when I reinstalled the box they were running on.
>>>>>>
>>>>>> Feel free to run cron somewhere else!
>>>>>
>>>>> This is now running as an hourly cronjob on blobs.openmirage.org and mirroring to:
>>>>>
>>>>>  https://github.com/mirage/xen
>>>>>
>>>>> Thomas(L), we could also extend the cron mirroring to split out MiniOS in the future via git-filter-branch, if we need that to split out MiniOS in the future.
>>>>
>>>> Mini-OS now has its own repository. Can we get a mirror of that too?
>>>>
>>>> http://xenbits.xen.org/gitweb/?p=mini-os.git;a=summary
>>>
>>> Now setup at:
>>>
>>> https://github.com/mirage/mini-os
>>>
>>> and synching hourly from upstream, just as the existing Xen mirror does.
>>
>> Thanks! I've rebased my "devel" branch (with the ARM support) from the
>> Xen repository to a fork of the new Mini-OS repository (now on
>> "master"):
>>
>>  https://github.com/talex5/mini-os
>>
>> You should be able to build and install with:
>>
>> git clone https://github.com/talex5/mini-os.git
>> cd mini-os
>> git submodule update --init
>> make install PREFIX=`opam config var prefix`
>
> Good stuff.  How does this hook into the mirage-minios-xen repository?  Do we need to disable the local MiniOS installation there for this one to be picked up?

Sorry, should be said: this is just a hack for testing changes
quickly. It overwrites the mirage-minios-xen files.

> If so, it might be worth breaking up that repository into individual OPAM packages so that they can pinned separately...

Yes, that might be easier.


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 12 15:56:25 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 15:56:25 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsCXe-0004xr-GL; Tue, 12 May 2015 15:56:22 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1YsCXd-0004xR-2H
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 15:56:21 +0000
Received: from [85.158.139.211] by server-1.bemta-5.messagelabs.com id
	08/2C-03041-4A222555; Tue, 12 May 2015 15:56:20 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-8.tower-206.messagelabs.com!1431446178!14393998!1
X-Originating-IP: [209.85.217.176]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 27931 invoked from network); 12 May 2015 15:56:19 -0000
Received: from mail-lb0-f176.google.com (HELO mail-lb0-f176.google.com)
	(209.85.217.176)
	by server-8.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	12 May 2015 15:56:19 -0000
Received: by lbcga7 with SMTP id ga7so9420156lbc.1
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 12 May 2015 08:56:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=qpWQiXhyVn4TydeFEGV9aMvbK152pNWvCKzBDVStn6o=;
	b=CFhbvnjp9UuFQ/cjhy7po6bfv1iYaZ4nam09zebB/KtkRSfCpNQizyoDJkhW6ZrhUd
	dULcf2ywg71WkCsKdmHSSd5qdMw+Ff4y1yMn7w7TwCUS0b5hjnLyfhGmOr8BWY1iZ98K
	eDAOWGll854pWL9MvdlXAkjOW6l5o8ibPiNaJZv+IfrleNifYR/aQtNPz4CA7O+hK+Tg
	0X8J/6+yMlGC5jKlYsRu+eiVD2oa+G3T58lK0THaGeOo0PFBSE4uuGhyJ0Y4TSOKE/61
	4GH1980iLKQArwwdUy5ZPsKVuGewWISmYENeraM1+FEqDidIV8mkEsxOzC/i5A8MrOwR
	LLcw==
MIME-Version: 1.0
X-Received: by 10.153.7.104 with SMTP id db8mr12785598lad.124.1431446178554;
	Tue, 12 May 2015 08:56:18 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Tue, 12 May 2015 08:56:18 -0700 (PDT)
In-Reply-To: <061FAEAA-F343-46BE-B204-AAA8D45E46B1@recoil.org>
References: <DC5E0619-718D-4A85-A240-A0DD3FA0E118@recoil.org>
	<6D262DFB-EA5C-44CB-A908-FD0E28F7995D@citrix.com>
	<25D2AE7E-764E-44AE-B91E-AF0C5482D50B@recoil.org>
	<CAG4opy8Kj1qReKYs2kfvoodAL9Tre+7JfZM9c-z4SuiHHJ_PGw@mail.gmail.com>
	<CAC31103-C78B-4908-88AA-BAB6CFFFFAFE@recoil.org>
	<CAG4opy8gc3JUB0q=exT1L_UuudU=4XG0qvx3aFDBoAM-xyp7sg@mail.gmail.com>
	<061FAEAA-F343-46BE-B204-AAA8D45E46B1@recoil.org>
Date: Tue, 12 May 2015 16:56:18 +0100
Message-ID: <CAG4opy_S9ZyJoOciXccjs7PFrc-6bhxLsR8yvkZ+zLCM+ACcdw@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: David Scott <Dave.Scott@citrix.com>, "mirageos-devel@lists.xenproject.org"
	<mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] github xen git mirror
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 12 May 2015 at 16:39, Anil Madhavapeddy <anil@recoil.org> wrote:
> On 11 May 2015, at 09:18, Thomas Leonard <talex5@gmail.com> wrote:
>>
>> On 11 May 2015 at 01:56, Anil Madhavapeddy <anil@recoil.org> wrote:
>>> On 7 May 2015, at 08:44, Thomas Leonard <talex5@gmail.com> wrote:
>>>>
>>>> On 28 October 2014 at 21:45, Anil Madhavapeddy <anil@recoil.org> wrote:
>>>>> On 26 May 2014, at 11:37, Dave Scott <Dave.Scott@citrix.com> wrote:
>>>>>>
>>>>>>
>>>>>> On 26 May 2014, at 11:31, Anil Madhavapeddy <anil@recoil.org> wrote:
>>>>>>
>>>>>>> A bunch of us now have our own GitHub mirrors of Xen, so it's a good idea to have a proper mirror repository to fork from instead.
>>>>>>>
>>>>>>> Dave, I noticed your mirror scripts on mirage/xen have stopped.  Do you mind if I take that over and setup a cron job for it from the bactrian bot?
>>>>>>
>>>>>> Oops, I lost those when I reinstalled the box they were running on.
>>>>>>
>>>>>> Feel free to run cron somewhere else!
>>>>>
>>>>> This is now running as an hourly cronjob on blobs.openmirage.org and mirroring to:
>>>>>
>>>>>  https://github.com/mirage/xen
>>>>>
>>>>> Thomas(L), we could also extend the cron mirroring to split out MiniOS in the future via git-filter-branch, if we need that to split out MiniOS in the future.
>>>>
>>>> Mini-OS now has its own repository. Can we get a mirror of that too?
>>>>
>>>> http://xenbits.xen.org/gitweb/?p=mini-os.git;a=summary
>>>
>>> Now setup at:
>>>
>>> https://github.com/mirage/mini-os
>>>
>>> and synching hourly from upstream, just as the existing Xen mirror does.
>>
>> Thanks! I've rebased my "devel" branch (with the ARM support) from the
>> Xen repository to a fork of the new Mini-OS repository (now on
>> "master"):
>>
>>  https://github.com/talex5/mini-os
>>
>> You should be able to build and install with:
>>
>> git clone https://github.com/talex5/mini-os.git
>> cd mini-os
>> git submodule update --init
>> make install PREFIX=`opam config var prefix`
>
> Good stuff.  How does this hook into the mirage-minios-xen repository?  Do we need to disable the local MiniOS installation there for this one to be picked up?

Sorry, should be said: this is just a hack for testing changes
quickly. It overwrites the mirage-minios-xen files.

> If so, it might be worth breaking up that repository into individual OPAM packages so that they can pinned separately...

Yes, that might be easier.


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 12 15:59:41 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 15:59:41 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsCaq-0005M1-V1; Tue, 12 May 2015 15:59:40 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YsCap-0005Lo-Lp
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 15:59:39 +0000
Received: from [193.109.254.147] by server-11.bemta-14.messagelabs.com id
	04/4D-02795-A6322555; Tue, 12 May 2015 15:59:38 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-7.tower-27.messagelabs.com!1431446377!16909248!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 20523 invoked from network); 12 May 2015 15:59:38 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-7.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 12 May 2015 15:59:38 -0000
Received: from [10.0.0.96] (host81-149-102-120.in-addr.btopenworld.com
	[81.149.102.120]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 5285f1fd;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 12 May 2015 16:59:37 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAN2Hq07rzDWm9Wj+wxZ4rgYGXQB0aLV0XP+WfYP9CCKZeqhREw@mail.gmail.com>
Date: Tue, 12 May 2015 16:59:38 +0100
Message-Id: <CD32C521-F267-404C-8D08-0A3B83B43232@recoil.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
	<7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>
	<4382CFB50FD64AFDA863FB6244D3FEA5@erratique.ch>
	<32C35BEB-47BF-4BC6-ACBB-844A7D778BD4@recoil.org>
	<CAN2Hq07rzDWm9Wj+wxZ4rgYGXQB0aLV0XP+WfYP9CCKZeqhREw@mail.gmail.com>
To: Richard Mortier <mort@cantab.net>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Logging (was: test, quality, tcpip)
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


> On 12 May 2015, at 16:46, Richard Mortier <mort@cantab.net> wrote:
> 
> On 12 May 2015 at 17:30, Anil Madhavapeddy <anil@recoil.org> wrote:
>>> If I understand this correctly, this means that there is one branch for errors, one for warnings etc. I have some doubts about this since messages occuring in a given level may be due to a message occuring in another level (you get a warning because there was an error). So it seems preferable to have the linear occurences of each level in the same branch. I would rather see branches being used for delineating components.
>> 
>> Agreed. I had in mind a branching structure that would include a branch per component, followed by the debug levels.  Other listeners could then do aggregation into different views, including operations such as time-based rotation and aggregation across components.  For an Irmin backend, such listeners can just be watchers (either offline or online, which is nice!).
>> 
> 
> Sorry, may be being slow but if I understand you both right this means:
> 
> + one Irmin log ("repo"?)
> + each component has its own branch within that log
> 
> then either
> 
> + within each component branch, there is a linear sequence of messages
> at different levels

This makes sense to me.

> 
> or
> 
> + within each component branch, there is a hierarchy of subordinate
> branches, branching each time a message appears at a lower (finer
> grained) debug level

And this doesn't :)

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 12 15:59:41 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 15:59:41 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsCaq-0005M1-V1; Tue, 12 May 2015 15:59:40 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YsCap-0005Lo-Lp
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 15:59:39 +0000
Received: from [193.109.254.147] by server-11.bemta-14.messagelabs.com id
	04/4D-02795-A6322555; Tue, 12 May 2015 15:59:38 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-7.tower-27.messagelabs.com!1431446377!16909248!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 20523 invoked from network); 12 May 2015 15:59:38 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-7.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 12 May 2015 15:59:38 -0000
Received: from [10.0.0.96] (host81-149-102-120.in-addr.btopenworld.com
	[81.149.102.120]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 5285f1fd;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 12 May 2015 16:59:37 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAN2Hq07rzDWm9Wj+wxZ4rgYGXQB0aLV0XP+WfYP9CCKZeqhREw@mail.gmail.com>
Date: Tue, 12 May 2015 16:59:38 +0100
Message-Id: <CD32C521-F267-404C-8D08-0A3B83B43232@recoil.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
	<7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>
	<4382CFB50FD64AFDA863FB6244D3FEA5@erratique.ch>
	<32C35BEB-47BF-4BC6-ACBB-844A7D778BD4@recoil.org>
	<CAN2Hq07rzDWm9Wj+wxZ4rgYGXQB0aLV0XP+WfYP9CCKZeqhREw@mail.gmail.com>
To: Richard Mortier <mort@cantab.net>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Logging (was: test, quality, tcpip)
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


> On 12 May 2015, at 16:46, Richard Mortier <mort@cantab.net> wrote:
> 
> On 12 May 2015 at 17:30, Anil Madhavapeddy <anil@recoil.org> wrote:
>>> If I understand this correctly, this means that there is one branch for errors, one for warnings etc. I have some doubts about this since messages occuring in a given level may be due to a message occuring in another level (you get a warning because there was an error). So it seems preferable to have the linear occurences of each level in the same branch. I would rather see branches being used for delineating components.
>> 
>> Agreed. I had in mind a branching structure that would include a branch per component, followed by the debug levels.  Other listeners could then do aggregation into different views, including operations such as time-based rotation and aggregation across components.  For an Irmin backend, such listeners can just be watchers (either offline or online, which is nice!).
>> 
> 
> Sorry, may be being slow but if I understand you both right this means:
> 
> + one Irmin log ("repo"?)
> + each component has its own branch within that log
> 
> then either
> 
> + within each component branch, there is a linear sequence of messages
> at different levels

This makes sense to me.

> 
> or
> 
> + within each component branch, there is a hierarchy of subordinate
> branches, branching each time a message appears at a lower (finer
> grained) debug level

And this doesn't :)

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 12 16:04:45 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 16:04:45 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsCfk-00069M-3o; Tue, 12 May 2015 16:04:44 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1YsCfi-00068o-Gr
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 16:04:42 +0000
Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id
	A7/80-02633-99422555; Tue, 12 May 2015 16:04:41 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-8.tower-27.messagelabs.com!1431446676!16956208!1
X-Originating-IP: [74.125.82.51]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 16498 invoked from network); 12 May 2015 16:04:36 -0000
Received: from mail-wg0-f51.google.com (HELO mail-wg0-f51.google.com)
	(74.125.82.51)
	by server-8.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	12 May 2015 16:04:36 -0000
Received: by wggj6 with SMTP id j6so15318773wgg.3
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 12 May 2015 09:04:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=J6hgTgJ9o5SEFabkx84yJdg/6mc7ECB6zabVNjnMbEk=;
	b=kLR17fMsOGui0gHaJYVJCm5+sVP5oF3t7XNqvlRE7pyxNRKtJ/D5ycxsL1PSzD2t9K
	2ystm3UvoQ74WpZ8UqqdzOVLw3eDRkBmtXpHo9+9ERuAO05YRzLKKTnhMXVZ6KdtofSv
	s3CTYN7YiOHf6xIrHjKQXalnYY8Szlo/cNwj6CQG+d9gGGBfLXlhynqORyrlrKJky0Qh
	dL9Xe2os+BAkjNU+oYUfD+ZUXBjgz83MAp6pmKDNy7aCxh5i+iUA46JIJAcT1vJloQYx
	bSG3bb2lrwevoXMCNlC+mXmPrmiPZqVXSNWl+hTZzaa4QSRZG8GVzp0DMRWplW4F0U9h
	e/gA==
MIME-Version: 1.0
X-Received: by 10.180.219.42 with SMTP id pl10mr6539808wic.70.1431446676611;
	Tue, 12 May 2015 09:04:36 -0700 (PDT)
Received: by 10.28.226.193 with HTTP; Tue, 12 May 2015 09:04:36 -0700 (PDT)
In-Reply-To: <CD32C521-F267-404C-8D08-0A3B83B43232@recoil.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
	<7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>
	<4382CFB50FD64AFDA863FB6244D3FEA5@erratique.ch>
	<32C35BEB-47BF-4BC6-ACBB-844A7D778BD4@recoil.org>
	<CAN2Hq07rzDWm9Wj+wxZ4rgYGXQB0aLV0XP+WfYP9CCKZeqhREw@mail.gmail.com>
	<CD32C521-F267-404C-8D08-0A3B83B43232@recoil.org>
Date: Tue, 12 May 2015 18:04:36 +0200
X-Google-Sender-Auth: PGXDmvWbhNuqU8E6jYPBpCqD-Bw
Message-ID: <CAN2Hq05_2minzi6csRbdY=CjGotkxtQPpG-H28rZ++r9O=XCYg@mail.gmail.com>
From: Richard Mortier <mort@cantab.net>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Logging (was: test, quality, tcpip)
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 12 May 2015 at 17:59, Anil Madhavapeddy <anil@recoil.org> wrote:
>
>> On 12 May 2015, at 16:46, Richard Mortier <mort@cantab.net> wrote:
>>
>> + one Irmin log ("repo"?)
>> + each component has its own branch within that log
>>
>> then either
>>
>> + within each component branch, there is a linear sequence of messages
>> at different levels
>
> This makes sense to me.
>
>>
>> or
>>
>> + within each component branch, there is a hierarchy of subordinate
>> branches, branching each time a message appears at a lower (finer
>> grained) debug level
>
> And this doesn't :)

I was trying to capture the sequencing in the branching structure
rather than requiring reconstruction based on timestamps. Given that
messages often seem to cascade (one error message might relate to
several warning messages, etc), I could imagine wanting a view where I
could "roll up" messages (eg., warnings) to some higher level (eg.,
errors).


-- 
Richard Mortier
mort@cantab.net

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 12 16:04:45 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 16:04:45 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsCfk-00069M-3o; Tue, 12 May 2015 16:04:44 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1YsCfi-00068o-Gr
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 16:04:42 +0000
Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id
	A7/80-02633-99422555; Tue, 12 May 2015 16:04:41 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-8.tower-27.messagelabs.com!1431446676!16956208!1
X-Originating-IP: [74.125.82.51]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 16498 invoked from network); 12 May 2015 16:04:36 -0000
Received: from mail-wg0-f51.google.com (HELO mail-wg0-f51.google.com)
	(74.125.82.51)
	by server-8.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	12 May 2015 16:04:36 -0000
Received: by wggj6 with SMTP id j6so15318773wgg.3
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 12 May 2015 09:04:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=J6hgTgJ9o5SEFabkx84yJdg/6mc7ECB6zabVNjnMbEk=;
	b=kLR17fMsOGui0gHaJYVJCm5+sVP5oF3t7XNqvlRE7pyxNRKtJ/D5ycxsL1PSzD2t9K
	2ystm3UvoQ74WpZ8UqqdzOVLw3eDRkBmtXpHo9+9ERuAO05YRzLKKTnhMXVZ6KdtofSv
	s3CTYN7YiOHf6xIrHjKQXalnYY8Szlo/cNwj6CQG+d9gGGBfLXlhynqORyrlrKJky0Qh
	dL9Xe2os+BAkjNU+oYUfD+ZUXBjgz83MAp6pmKDNy7aCxh5i+iUA46JIJAcT1vJloQYx
	bSG3bb2lrwevoXMCNlC+mXmPrmiPZqVXSNWl+hTZzaa4QSRZG8GVzp0DMRWplW4F0U9h
	e/gA==
MIME-Version: 1.0
X-Received: by 10.180.219.42 with SMTP id pl10mr6539808wic.70.1431446676611;
	Tue, 12 May 2015 09:04:36 -0700 (PDT)
Received: by 10.28.226.193 with HTTP; Tue, 12 May 2015 09:04:36 -0700 (PDT)
In-Reply-To: <CD32C521-F267-404C-8D08-0A3B83B43232@recoil.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
	<7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>
	<4382CFB50FD64AFDA863FB6244D3FEA5@erratique.ch>
	<32C35BEB-47BF-4BC6-ACBB-844A7D778BD4@recoil.org>
	<CAN2Hq07rzDWm9Wj+wxZ4rgYGXQB0aLV0XP+WfYP9CCKZeqhREw@mail.gmail.com>
	<CD32C521-F267-404C-8D08-0A3B83B43232@recoil.org>
Date: Tue, 12 May 2015 18:04:36 +0200
X-Google-Sender-Auth: PGXDmvWbhNuqU8E6jYPBpCqD-Bw
Message-ID: <CAN2Hq05_2minzi6csRbdY=CjGotkxtQPpG-H28rZ++r9O=XCYg@mail.gmail.com>
From: Richard Mortier <mort@cantab.net>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Logging (was: test, quality, tcpip)
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 12 May 2015 at 17:59, Anil Madhavapeddy <anil@recoil.org> wrote:
>
>> On 12 May 2015, at 16:46, Richard Mortier <mort@cantab.net> wrote:
>>
>> + one Irmin log ("repo"?)
>> + each component has its own branch within that log
>>
>> then either
>>
>> + within each component branch, there is a linear sequence of messages
>> at different levels
>
> This makes sense to me.
>
>>
>> or
>>
>> + within each component branch, there is a hierarchy of subordinate
>> branches, branching each time a message appears at a lower (finer
>> grained) debug level
>
> And this doesn't :)

I was trying to capture the sequencing in the branching structure
rather than requiring reconstruction based on timestamps. Given that
messages often seem to cascade (one error message might relate to
several warning messages, etc), I could imagine wanting a view where I
could "roll up" messages (eg., warnings) to some higher level (eg.,
errors).


-- 
Richard Mortier
mort@cantab.net

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 12 16:06:01 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 16:06:01 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsCgz-0006Ke-9X; Tue, 12 May 2015 16:06:01 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YsCgx-0006KL-Vh
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 16:06:00 +0000
Received: from [85.158.139.211] by server-16.bemta-5.messagelabs.com id
	58/B6-02824-7E422555; Tue, 12 May 2015 16:05:59 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-5.tower-206.messagelabs.com!1431446758!14408222!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 12294 invoked from network); 12 May 2015 16:05:58 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-5.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 12 May 2015 16:05:58 -0000
Received: from [10.0.0.96] (host81-149-102-120.in-addr.btopenworld.com
	[81.149.102.120]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 6f4a0470;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 12 May 2015 17:05:58 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <555220B9.8000302@zoho.com>
Date: Tue, 12 May 2015 17:05:58 +0100
Message-Id: <9CC63A6E-41B8-4BF2-BFCA-9D49AEE987C4@recoil.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
	<7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>
	<4382CFB50FD64AFDA863FB6244D3FEA5@erratique.ch>
	<32C35BEB-47BF-4BC6-ACBB-844A7D778BD4@recoil.org>
	<555220B9.8000302@zoho.com>
To: Drup <drupyog+caml@zoho.com>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Logging
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


> On 12 May 2015, at 16:48, Drup <drupyog+caml@zoho.com> wrote:
> 
>> Agreed. I had in mind a branching structure that would include a branch per component, followed by the debug levels.  Other listeners could then do aggregation into different views, including operations such as time-based rotation and aggregation across components.  For an Irmin backend, such listeners can just be watchers (either offline or online, which is nice!).
> If I understand correctly, this would allow to encode Lwt_log's sections quite easily, is that right ? It is a feature that I found rather lacking in other logging libraries (in particular, dolog).

That's right; it should allow Lwt_log's sections (but not the levels).

> I like your "only one function" idea.
> The alternative of passing around the unique function is to have a global reference containing the dispatcher function. It's the solution used by Lwt_log. It's mostly equivalent (and it works ok in practice) but I think it's indeed better to pass the function explicitly.

It should be possible to stash the logging function somewhere more convenient than every single function, but this depends on the library.  In Cohttp and Conduit, the `ctx` context is a good place.  For DNS, it's probably enough to pass it in to the library functions since they are fairly stateless.

> I'm not really convinced by the extension syntax trick (it was done for Lwt_log too and it uses a very syntactic criteria, which makes it a bit fishy). What would it do exactly ? Can't you rely on partial evaluation and Flambda's inlining to do the correct thing ?

Sure.  I don't really mind how the lazy log is implemented.  Expensive logging can just be hidden behind an explicit if/else, since we really do want logging to be turned on by default in production deployments (and so it should be cheap enough by default, and factored into performance benchmarks).

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 12 16:06:01 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 16:06:01 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsCgz-0006Ke-9X; Tue, 12 May 2015 16:06:01 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YsCgx-0006KL-Vh
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 16:06:00 +0000
Received: from [85.158.139.211] by server-16.bemta-5.messagelabs.com id
	58/B6-02824-7E422555; Tue, 12 May 2015 16:05:59 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-5.tower-206.messagelabs.com!1431446758!14408222!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 12294 invoked from network); 12 May 2015 16:05:58 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-5.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 12 May 2015 16:05:58 -0000
Received: from [10.0.0.96] (host81-149-102-120.in-addr.btopenworld.com
	[81.149.102.120]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 6f4a0470;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 12 May 2015 17:05:58 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <555220B9.8000302@zoho.com>
Date: Tue, 12 May 2015 17:05:58 +0100
Message-Id: <9CC63A6E-41B8-4BF2-BFCA-9D49AEE987C4@recoil.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
	<7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>
	<4382CFB50FD64AFDA863FB6244D3FEA5@erratique.ch>
	<32C35BEB-47BF-4BC6-ACBB-844A7D778BD4@recoil.org>
	<555220B9.8000302@zoho.com>
To: Drup <drupyog+caml@zoho.com>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Logging
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


> On 12 May 2015, at 16:48, Drup <drupyog+caml@zoho.com> wrote:
> 
>> Agreed. I had in mind a branching structure that would include a branch per component, followed by the debug levels.  Other listeners could then do aggregation into different views, including operations such as time-based rotation and aggregation across components.  For an Irmin backend, such listeners can just be watchers (either offline or online, which is nice!).
> If I understand correctly, this would allow to encode Lwt_log's sections quite easily, is that right ? It is a feature that I found rather lacking in other logging libraries (in particular, dolog).

That's right; it should allow Lwt_log's sections (but not the levels).

> I like your "only one function" idea.
> The alternative of passing around the unique function is to have a global reference containing the dispatcher function. It's the solution used by Lwt_log. It's mostly equivalent (and it works ok in practice) but I think it's indeed better to pass the function explicitly.

It should be possible to stash the logging function somewhere more convenient than every single function, but this depends on the library.  In Cohttp and Conduit, the `ctx` context is a good place.  For DNS, it's probably enough to pass it in to the library functions since they are fairly stateless.

> I'm not really convinced by the extension syntax trick (it was done for Lwt_log too and it uses a very syntactic criteria, which makes it a bit fishy). What would it do exactly ? Can't you rely on partial evaluation and Flambda's inlining to do the correct thing ?

Sure.  I don't really mind how the lazy log is implemented.  Expensive logging can just be hidden behind an explicit if/else, since we really do want logging to be turned on by default in production deployments (and so it should be cheap enough by default, and factored into performance benchmarks).

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 12 16:08:00 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 16:08:00 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsCiu-0006iy-Cc; Tue, 12 May 2015 16:08:00 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YsCit-0006iY-Ao
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 16:07:59 +0000
Received: from [85.158.139.211] by server-7.bemta-5.messagelabs.com id
	ED/3B-03739-E5522555; Tue, 12 May 2015 16:07:58 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-12.tower-206.messagelabs.com!1431446877!14443300!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 6551 invoked from network); 12 May 2015 16:07:57 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-12.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 12 May 2015 16:07:57 -0000
Received: from [10.0.0.96] (host81-149-102-120.in-addr.btopenworld.com
	[81.149.102.120]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id d3d02f05;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 12 May 2015 17:07:57 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAN2Hq05_2minzi6csRbdY=CjGotkxtQPpG-H28rZ++r9O=XCYg@mail.gmail.com>
Date: Tue, 12 May 2015 17:07:57 +0100
Message-Id: <8380EC23-480F-44BA-AA20-FCF95779FA5C@recoil.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
	<7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>
	<4382CFB50FD64AFDA863FB6244D3FEA5@erratique.ch>
	<32C35BEB-47BF-4BC6-ACBB-844A7D778BD4@recoil.org>
	<CAN2Hq07rzDWm9Wj+wxZ4rgYGXQB0aLV0XP+WfYP9CCKZeqhREw@mail.gmail.com>
	<CD32C521-F267-404C-8D08-0A3B83B43232@recoil.org>
	<CAN2Hq05_2minzi6csRbdY=CjGotkxtQPpG-H28rZ++r9O=XCYg@mail.gmail.com>
To: Richard Mortier <mort@cantab.net>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Logging (was: test, quality, tcpip)
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 12 May 2015, at 17:04, Richard Mortier <mort@cantab.net> wrote:
> 
>>> 
>>> + within each component branch, there is a hierarchy of subordinate
>>> branches, branching each time a message appears at a lower (finer
>>> grained) debug level
>> 
>> And this doesn't :)
> 
> I was trying to capture the sequencing in the branching structure
> rather than requiring reconstruction based on timestamps. Given that
> messages often seem to cascade (one error message might relate to
> several warning messages, etc), I could imagine wanting a view where I
> could "roll up" messages (eg., warnings) to some higher level (eg.,
> errors).

That does make a lot of sense!  If the logging rule of thumb is that
the default real-time view should be the same as the default logging
representation (so that logs can be streamed without transcoding into
a different format), then this works.

A representation like this makes logging look more and more like the
profiling library, which also establishes the component hierarchy
explicitly and has similar needs with respect to non-blocking gathering
of log information...

-anil

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 12 16:08:00 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 16:08:00 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsCiu-0006iy-Cc; Tue, 12 May 2015 16:08:00 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YsCit-0006iY-Ao
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 16:07:59 +0000
Received: from [85.158.139.211] by server-7.bemta-5.messagelabs.com id
	ED/3B-03739-E5522555; Tue, 12 May 2015 16:07:58 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-12.tower-206.messagelabs.com!1431446877!14443300!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 6551 invoked from network); 12 May 2015 16:07:57 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-12.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 12 May 2015 16:07:57 -0000
Received: from [10.0.0.96] (host81-149-102-120.in-addr.btopenworld.com
	[81.149.102.120]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id d3d02f05;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 12 May 2015 17:07:57 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAN2Hq05_2minzi6csRbdY=CjGotkxtQPpG-H28rZ++r9O=XCYg@mail.gmail.com>
Date: Tue, 12 May 2015 17:07:57 +0100
Message-Id: <8380EC23-480F-44BA-AA20-FCF95779FA5C@recoil.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
	<7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>
	<4382CFB50FD64AFDA863FB6244D3FEA5@erratique.ch>
	<32C35BEB-47BF-4BC6-ACBB-844A7D778BD4@recoil.org>
	<CAN2Hq07rzDWm9Wj+wxZ4rgYGXQB0aLV0XP+WfYP9CCKZeqhREw@mail.gmail.com>
	<CD32C521-F267-404C-8D08-0A3B83B43232@recoil.org>
	<CAN2Hq05_2minzi6csRbdY=CjGotkxtQPpG-H28rZ++r9O=XCYg@mail.gmail.com>
To: Richard Mortier <mort@cantab.net>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Logging (was: test, quality, tcpip)
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 12 May 2015, at 17:04, Richard Mortier <mort@cantab.net> wrote:
> 
>>> 
>>> + within each component branch, there is a hierarchy of subordinate
>>> branches, branching each time a message appears at a lower (finer
>>> grained) debug level
>> 
>> And this doesn't :)
> 
> I was trying to capture the sequencing in the branching structure
> rather than requiring reconstruction based on timestamps. Given that
> messages often seem to cascade (one error message might relate to
> several warning messages, etc), I could imagine wanting a view where I
> could "roll up" messages (eg., warnings) to some higher level (eg.,
> errors).

That does make a lot of sense!  If the logging rule of thumb is that
the default real-time view should be the same as the default logging
representation (so that logs can be streamed without transcoding into
a different format), then this works.

A representation like this makes logging look more and more like the
profiling library, which also establishes the component hierarchy
explicitly and has similar needs with respect to non-blocking gathering
of log information...

-anil

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 12 16:49:25 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 16:49:25 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsDMw-0001HK-P2; Tue, 12 May 2015 16:49:22 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mindy@somerandomidiot.com>) id 1YsDMv-0001H3-8g
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 16:49:21 +0000
Received: from [85.158.137.68] by server-8.bemta-3.messagelabs.com id
	52/03-03730-01F22555; Tue, 12 May 2015 16:49:20 +0000
X-Env-Sender: mindy@somerandomidiot.com
X-Msg-Ref: server-6.tower-31.messagelabs.com!1431449359!10303702!1
X-Originating-IP: [217.70.183.195]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogMjE3LjcwLjE4My4xOTUgPT4gMzc4NjI=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 24948 invoked from network); 12 May 2015 16:49:19 -0000
Received: from relay3-d.mail.gandi.net (HELO relay3-d.mail.gandi.net)
	(217.70.183.195)
	by server-6.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 12 May 2015 16:49:19 -0000
Received: from mfilter36-d.gandi.net (mfilter36-d.gandi.net [217.70.178.167])
	by relay3-d.mail.gandi.net (Postfix) with ESMTP id 7F893A80DB
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 12 May 2015 18:49:18 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mfilter36-d.gandi.net
Received: from relay3-d.mail.gandi.net ([217.70.183.195])
	by mfilter36-d.gandi.net (mfilter36-d.gandi.net [10.0.15.180])
	(amavisd-new, port 10024)
	with ESMTP id xbpUi4sp6MBX for <mirageos-devel@lists.xenproject.org>;
	Tue, 12 May 2015 18:49:17 +0200 (CEST)
X-Originating-IP: 131.111.184.18
Received: from [172.17.30.179] (global-1-18.nat.csx.cam.ac.uk [131.111.184.18])
	(Authenticated sender: guybrush@somerandomidiot.com)
	by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id E9890A80AF
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 12 May 2015 18:49:16 +0200 (CEST)
Message-ID: <55522EC8.2080509@somerandomidiot.com>
Date: Tue, 12 May 2015 17:48:08 +0100
From: Mindy <mindy@somerandomidiot.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: mirageos-devel@lists.xenproject.org
References: <CAAjx=y2jj=WvSykDu9RuiSKRh_-eRb_gWM7prUCt0Lkd0bBpfw@mail.gmail.com>
In-Reply-To: <CAAjx=y2jj=WvSykDu9RuiSKRh_-eRb_gWM7prUCt0Lkd0bBpfw@mail.gmail.com>
Subject: Re: [MirageOS-devel] Interest in MirageOS and UROP scheme
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8000451660066288806=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

This is a multi-part message in MIME format.
--===============8000451660066288806==
Content-Type: multipart/alternative;
 boundary="------------030309090709050504090002"

This is a multi-part message in MIME format.
--------------030309090709050504090002
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit

Hi Alistair,

Sorry for the lateness of this reply, but I've just heard about an OCaml 
DHCP implementation that you may want to have a look at: 
https://github.com/haesbaert/hdhcp  .  It looks like it's currently 
under active development, although not yet buildable for Mirage.

-Mindy

On 04/26/2015 09:10 PM, Alistair Fisher wrote:
> Hello,
>
> I'm a second year computer scientist at the University of Cambridge 
> interested in working on MirageOS over the summer via the UROP scheme.
>
> I am interested in the projects that focus on distributed systems, 
> particularly /Semantics of Shared Data Structures/ and all 5 
> networking projects (especially the HTTP implementation and DHCP 
> server ones, since those are the protocols I am most familiar with).
>
> To continue with my application, should I contact each mentor 
> individually with my application for their particular project?
>
> Thanks you for your time,
>
> Alistair Fisher
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


--------------030309090709050504090002
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta content=3D"text/html; charset=3Dwindows-1252"
      http-equiv=3D"Content-Type">
  </head>
  <body text=3D"#000000" bgcolor=3D"#FFFFFF">
    Hi Alistair,<br>
    <br>
    Sorry for the lateness of this reply, but I've just heard about an
    OCaml DHCP implementation that you may want to have a look at:
    <a class=3D"moz-txt-link-freetext" href=3D"https://github.com/haesbae=
rt/hdhcp">https://github.com/haesbaert/hdhcp</a>=A0 .=A0 It looks like it=
's currently
    under active development, although not yet buildable for Mirage.<br>
    <br>
    -Mindy<br>
    <br>
    <div class=3D"moz-cite-prefix">On 04/26/2015 09:10 PM, Alistair Fishe=
r
      wrote:<br>
    </div>
    <blockquote
cite=3D"mid:CAAjx=3Dy2jj=3DWvSykDu9RuiSKRh_-eRb_gWM7prUCt0Lkd0bBpfw@mail.=
gmail.com"
      type=3D"cite">
      <div dir=3D"ltr">Hello,
        <div><br>
        </div>
        <div>I'm a second year computer scientist at the University of
          Cambridge interested in working on MirageOS over the summer
          via the UROP scheme.</div>
        <div><br>
        </div>
        <div>I am interested in the projects that focus on distributed
          systems, particularly=A0<i>Semantics of Shared Data Structures<=
/i>
          and all 5 networking projects (especially the HTTP
          implementation and DHCP server ones, since those are the
          protocols I am most familiar with).</div>
        <div><br>
        </div>
        <div>To continue with my application, should I contact each
          mentor individually with my application for their particular
          project?</div>
        <div><br>
        </div>
        <div>Thanks you for your time,</div>
        <div><br>
        </div>
        <div>Alistair Fisher</div>
      </div>
      <br>
      <fieldset class=3D"mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap=3D"">_______________________________________________
MirageOS-devel mailing list
<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:MirageOS-devel@lists=
.xenproject.org">MirageOS-devel@lists.xenproject.org</a>
<a class=3D"moz-txt-link-freetext" href=3D"http://lists.xenproject.org/cg=
i-bin/mailman/listinfo/mirageos-devel">http://lists.xenproject.org/cgi-bi=
n/mailman/listinfo/mirageos-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------030309090709050504090002--


--===============8000451660066288806==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============8000451660066288806==--


From mirageos-devel-bounces@lists.xenproject.org Tue May 12 16:49:25 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 16:49:25 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsDMw-0001HK-P2; Tue, 12 May 2015 16:49:22 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mindy@somerandomidiot.com>) id 1YsDMv-0001H3-8g
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 16:49:21 +0000
Received: from [85.158.137.68] by server-8.bemta-3.messagelabs.com id
	52/03-03730-01F22555; Tue, 12 May 2015 16:49:20 +0000
X-Env-Sender: mindy@somerandomidiot.com
X-Msg-Ref: server-6.tower-31.messagelabs.com!1431449359!10303702!1
X-Originating-IP: [217.70.183.195]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogMjE3LjcwLjE4My4xOTUgPT4gMzc4NjI=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 24948 invoked from network); 12 May 2015 16:49:19 -0000
Received: from relay3-d.mail.gandi.net (HELO relay3-d.mail.gandi.net)
	(217.70.183.195)
	by server-6.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 12 May 2015 16:49:19 -0000
Received: from mfilter36-d.gandi.net (mfilter36-d.gandi.net [217.70.178.167])
	by relay3-d.mail.gandi.net (Postfix) with ESMTP id 7F893A80DB
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 12 May 2015 18:49:18 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mfilter36-d.gandi.net
Received: from relay3-d.mail.gandi.net ([217.70.183.195])
	by mfilter36-d.gandi.net (mfilter36-d.gandi.net [10.0.15.180])
	(amavisd-new, port 10024)
	with ESMTP id xbpUi4sp6MBX for <mirageos-devel@lists.xenproject.org>;
	Tue, 12 May 2015 18:49:17 +0200 (CEST)
X-Originating-IP: 131.111.184.18
Received: from [172.17.30.179] (global-1-18.nat.csx.cam.ac.uk [131.111.184.18])
	(Authenticated sender: guybrush@somerandomidiot.com)
	by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id E9890A80AF
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 12 May 2015 18:49:16 +0200 (CEST)
Message-ID: <55522EC8.2080509@somerandomidiot.com>
Date: Tue, 12 May 2015 17:48:08 +0100
From: Mindy <mindy@somerandomidiot.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: mirageos-devel@lists.xenproject.org
References: <CAAjx=y2jj=WvSykDu9RuiSKRh_-eRb_gWM7prUCt0Lkd0bBpfw@mail.gmail.com>
In-Reply-To: <CAAjx=y2jj=WvSykDu9RuiSKRh_-eRb_gWM7prUCt0Lkd0bBpfw@mail.gmail.com>
Subject: Re: [MirageOS-devel] Interest in MirageOS and UROP scheme
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8000451660066288806=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

This is a multi-part message in MIME format.
--===============8000451660066288806==
Content-Type: multipart/alternative;
 boundary="------------030309090709050504090002"

This is a multi-part message in MIME format.
--------------030309090709050504090002
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit

Hi Alistair,

Sorry for the lateness of this reply, but I've just heard about an OCaml 
DHCP implementation that you may want to have a look at: 
https://github.com/haesbaert/hdhcp  .  It looks like it's currently 
under active development, although not yet buildable for Mirage.

-Mindy

On 04/26/2015 09:10 PM, Alistair Fisher wrote:
> Hello,
>
> I'm a second year computer scientist at the University of Cambridge 
> interested in working on MirageOS over the summer via the UROP scheme.
>
> I am interested in the projects that focus on distributed systems, 
> particularly /Semantics of Shared Data Structures/ and all 5 
> networking projects (especially the HTTP implementation and DHCP 
> server ones, since those are the protocols I am most familiar with).
>
> To continue with my application, should I contact each mentor 
> individually with my application for their particular project?
>
> Thanks you for your time,
>
> Alistair Fisher
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


--------------030309090709050504090002
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta content=3D"text/html; charset=3Dwindows-1252"
      http-equiv=3D"Content-Type">
  </head>
  <body text=3D"#000000" bgcolor=3D"#FFFFFF">
    Hi Alistair,<br>
    <br>
    Sorry for the lateness of this reply, but I've just heard about an
    OCaml DHCP implementation that you may want to have a look at:
    <a class=3D"moz-txt-link-freetext" href=3D"https://github.com/haesbae=
rt/hdhcp">https://github.com/haesbaert/hdhcp</a>=A0 .=A0 It looks like it=
's currently
    under active development, although not yet buildable for Mirage.<br>
    <br>
    -Mindy<br>
    <br>
    <div class=3D"moz-cite-prefix">On 04/26/2015 09:10 PM, Alistair Fishe=
r
      wrote:<br>
    </div>
    <blockquote
cite=3D"mid:CAAjx=3Dy2jj=3DWvSykDu9RuiSKRh_-eRb_gWM7prUCt0Lkd0bBpfw@mail.=
gmail.com"
      type=3D"cite">
      <div dir=3D"ltr">Hello,
        <div><br>
        </div>
        <div>I'm a second year computer scientist at the University of
          Cambridge interested in working on MirageOS over the summer
          via the UROP scheme.</div>
        <div><br>
        </div>
        <div>I am interested in the projects that focus on distributed
          systems, particularly=A0<i>Semantics of Shared Data Structures<=
/i>
          and all 5 networking projects (especially the HTTP
          implementation and DHCP server ones, since those are the
          protocols I am most familiar with).</div>
        <div><br>
        </div>
        <div>To continue with my application, should I contact each
          mentor individually with my application for their particular
          project?</div>
        <div><br>
        </div>
        <div>Thanks you for your time,</div>
        <div><br>
        </div>
        <div>Alistair Fisher</div>
      </div>
      <br>
      <fieldset class=3D"mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap=3D"">_______________________________________________
MirageOS-devel mailing list
<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:MirageOS-devel@lists=
.xenproject.org">MirageOS-devel@lists.xenproject.org</a>
<a class=3D"moz-txt-link-freetext" href=3D"http://lists.xenproject.org/cg=
i-bin/mailman/listinfo/mirageos-devel">http://lists.xenproject.org/cgi-bi=
n/mailman/listinfo/mirageos-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------030309090709050504090002--


--===============8000451660066288806==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============8000451660066288806==--


From mirageos-devel-bounces@lists.xenproject.org Tue May 12 16:53:35 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 16:53:35 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsDQz-0001dn-IA; Tue, 12 May 2015 16:53:33 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <rudi.grinberg@gmail.com>) id 1YsDQy-0001dX-Hw
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 16:53:32 +0000
Received: from [85.158.137.68] by server-11.bemta-3.messagelabs.com id
	F1/39-17942-B0032555; Tue, 12 May 2015 16:53:31 +0000
X-Env-Sender: rudi.grinberg@gmail.com
X-Msg-Ref: server-15.tower-31.messagelabs.com!1431449609!14607078!1
X-Originating-IP: [209.85.223.177]
X-SpamReason: No, hits=0.1 required=7.0 tests=HTML_30_40,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 16166 invoked from network); 12 May 2015 16:53:30 -0000
Received: from mail-ie0-f177.google.com (HELO mail-ie0-f177.google.com)
	(209.85.223.177)
	by server-15.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	12 May 2015 16:53:30 -0000
Received: by iepk2 with SMTP id k2so5671911iep.3
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 12 May 2015 09:53:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=date:from:to:cc:message-id:in-reply-to:references:subject
	:mime-version:content-type;
	bh=J+uNK/s55GrpQQYdipJD27BN1TMjdLANXMAhnB5pYKI=;
	b=iNzyx9xJnwoddfzEYdZUWYRHvWhp9xfz5xPn6kCPB2i7olPeFbIUK9IY/8hUHyOi90
	NF6J0NhzmY0jFMgDVwmHyD3uewv+vYk96oHZMkd6H0mJgtKEb3wv/+VjjxKARL8NmPLr
	x8f6OycftIQ6OqzlG8l8L9ZkWVNiqQppmvXaAneUGqIgIdaWJbCyhOsJILmFnkclLoRX
	LfpE4a7b/vgNItb44n+WT3ADzBGydwb6uXqk+1yT+pGTUz9AmXC+wo2QA7N6xyuGAlbi
	tsztzQJhzr8v0T0m+xLhY0XGYJoDQwMyzTuwZFSQdi9qrl2RrZyBTQtiIVasRa6rypE+
	ahUw==
X-Received: by 10.107.6.206 with SMTP id f75mr21012067ioi.78.1431449609309;
	Tue, 12 May 2015 09:53:29 -0700 (PDT)
Received: from Rudis-MacBook-Pro.local ([66.49.191.122])
	by mx.google.com with ESMTPSA id n6sm1570559igx.10.2015.05.12.09.53.28
	(version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Tue, 12 May 2015 09:53:28 -0700 (PDT)
Date: Tue, 12 May 2015 12:58:55 -0400
From: Rudi Grinberg <rudi.grinberg@gmail.com>
To: Anil Madhavapeddy <anil@recoil.org>, Drup <drupyog+caml@zoho.com>
Message-ID: <etPan.5552314f.705b21d4.2e88@Rudis-MacBook-Pro.local>
In-Reply-To: <9CC63A6E-41B8-4BF2-BFCA-9D49AEE987C4@recoil.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
	<7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>
	<4382CFB50FD64AFDA863FB6244D3FEA5@erratique.ch>
	<32C35BEB-47BF-4BC6-ACBB-844A7D778BD4@recoil.org>
	<555220B9.8000302@zoho.com>
	<9CC63A6E-41B8-4BF2-BFCA-9D49AEE987C4@recoil.org>
X-Mailer: Airmail Beta (304)
MIME-Version: 1.0
Cc: "=?utf-8?Q?mirageos-devel=40lists.xenproject.org?="
	<mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Logging
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5772605361239635228=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============5772605361239635228==
Content-Type: multipart/alternative; boundary="5552314f_100fd8ac_2e88"

--5552314f_100fd8ac_2e88
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline


> I like your =22only one function=22 idea.=C2=A0
> The alternative of passing around the unique function is to have a glob=
al reference containing the dispatcher function. It's the solution used b=
y Lwt=5Flog. It's mostly equivalent (and it works ok in practice) but I t=
hink it's indeed better to pass the function explicitly.=C2=A0

It should be possible to stash the logging function somewhere more conven=
ient than every single function, but this depends on the library. In Coht=
tp and Conduit, the =60ctx=60 context is a good place. =46or DNS, it's pr=
obably enough to pass it in to the library functions since they are fairl=
y stateless.=C2=A0
I=E2=80=99m curious about this comment about cohttp. There was actually a=
 request on the bug tracker asking for better logging in cohttp but I mos=
tly turned it down because it seems like any kind of logging you might wa=
nt cohttp to do can be easily accomplished outside of cohttp. =46or examp=
le, if you=E2=80=99re using a cohttp as an http client, you only need to =
wrap your call function to print the request before it=E2=80=99s sent and=
 the response just after it arrives. Adding this kind of logging to a coh=
ttp server is similar.

In fact, for the client use case we could really make it trivial for a us=
er to add his own logging if we exposed a function that would construct a=
ll the little helpers such as get/post/put/delete/etc. from a basic log a=
ware call function.

Of course, this approach is inadequate if you want to log something that =
pertains cohttp=E2=80=99s internals. Which is exactly why we have the COH=
TTP=5FDEBUG env var today. I was never a huge fan of his approach either =
and have thought about improving it by introducing a functor (if you can =
call that an improvement) IO -> IO that would take a normal IO backend an=
d return a logging one (or at least a COHTTP=5FDEBUG accepting one). But =
I=E2=80=99m not yet sure if this an improvement.

Anyhow, this is getting off topic. I just mean to bring some for less int=
rusive approaches for logging.



> I'm not really convinced by the extension syntax trick (it was done for=
 Lwt=5Flog too and it uses a very syntactic criteria, which makes it a bi=
t fishy). What would it do exactly =3F Can't you rely on partial evaluati=
on and =46lambda's inlining to do the correct thing =3F=C2=A0

Sure. I don't really mind how the lazy log is implemented. Expensive logg=
ing can just be hidden behind an explicit if/else, since we really do wan=
t logging to be turned on by default in production deployments (and so it=
 should be cheap enough by default, and factored into performance benchma=
rks).=C2=A0

-anil=C2=A0
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=C2=A0
MirageOS-devel mailing list=C2=A0
MirageOS-devel=40lists.xenproject.org=C2=A0
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel=C2=A0=



--5552314f_100fd8ac_2e88
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<html><head><style>body=7Bfont-family:Helvetica,Arial;font-size:13px=7D</=
style></head><body style=3D=22word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space;=22><br><div><blockquote type=
=3D=22cite=22 class=3D=22clean=5Fbq=22 style=3D=22color: rgb(0, 0, 0); fo=
nt-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-va=
riant: normal; font-weight: normal; letter-spacing: normal; line-height: =
normal; orphans: auto; text-align: start; text-indent: 0px; text-transfor=
m: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-te=
xt-stroke-width: 0px;=22><span><div><div>&gt; I like your =22only one fun=
ction=22 idea.<span class=3D=22Apple-converted-space=22>&nbsp;</span><br>=
&gt; The alternative of passing around the unique function is to have a g=
lobal reference containing the dispatcher function. It's the solution use=
d by Lwt=5Flog. It's mostly equivalent (and it works ok in practice) but =
I think it's indeed better to pass the function explicitly.<span class=3D=
=22Apple-converted-space=22>&nbsp;</span><br><br>It should be possible to=
 stash the logging function somewhere more convenient than every single f=
unction, but this depends on the library. In Cohttp and Conduit, the =60c=
tx=60 context is a good place. =46or DNS, it's probably enough to pass it=
 in to the library functions since they are fairly stateless.<span class=3D=
=22Apple-converted-space=22>&nbsp;</span></div></div></span></blockquote>=
</div><p>I=E2=80=99m curious about this comment about cohttp. There was a=
ctually a request on the bug tracker asking for better logging in cohttp =
but I mostly turned it down because it seems like any kind of logging you=
 might want cohttp to do can be easily accomplished outside of cohttp. =46=
or example, if you=E2=80=99re using a cohttp as an http client, you only =
need to wrap your call function to print the request before it=E2=80=99s =
sent and the response just after it arrives. Adding this kind of logging =
to a cohttp server is similar.</p><p>In fact, for the client use case we =
could really make it trivial for a user to add his own logging if we expo=
sed a function that would construct all the little helpers such as get/po=
st/put/delete/etc. from a basic log aware call function.</p><p>Of course,=
 this approach is inadequate if you want to log something that pertains c=
ohttp=E2=80=99s internals. Which is exactly why we have the COHTTP=5FDEBU=
G env var today. I was never a huge fan of his approach either and have t=
hought about improving it by introducing a functor (if you can call that =
an improvement) IO -&gt; IO that would take a normal IO backend and retur=
n a logging one (or at least a COHTTP=5FDEBUG accepting one). But I=E2=80=
=99m not yet sure if this an improvement.</p><p>Anyhow, this is getting o=
ff topic. I just mean to bring some for less intrusive approaches for log=
ging.</p><div><blockquote type=3D=22cite=22 class=3D=22clean=5Fbq=22 styl=
e=3D=22color: rgb(0, 0, 0); font-family: Helvetica, Arial; font-size: 13p=
x; font-style: normal; font-variant: normal; font-weight: normal; letter-=
spacing: normal; line-height: normal; orphans: auto; text-align: start; t=
ext-indent: 0px; text-transform: none; white-space: normal; widows: auto;=
 word-spacing: 0px; -webkit-text-stroke-width: 0px;=22><span><div><div><b=
r><br>&gt; I'm not really convinced by the extension syntax trick (it was=
 done for Lwt=5Flog too and it uses a very syntactic criteria, which make=
s it a bit fishy). What would it do exactly =3F Can't you rely on partial=
 evaluation and =46lambda's inlining to do the correct thing =3F<span cla=
ss=3D=22Apple-converted-space=22>&nbsp;</span><br><br>Sure. I don't reall=
y mind how the lazy log is implemented. Expensive logging can just be hid=
den behind an explicit if/else, since we really do want logging to be tur=
ned on by default in production deployments (and so it should be cheap en=
ough by default, and factored into performance benchmarks).<span class=3D=
=22Apple-converted-space=22>&nbsp;</span><br><br>-anil<span class=3D=22Ap=
ple-converted-space=22>&nbsp;</span><br>=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F<span class=3D=22Apple-converted-space=22=
>&nbsp;</span><br>MirageOS-devel mailing list<span class=3D=22Apple-conve=
rted-space=22>&nbsp;</span><br>MirageOS-devel=40lists.xenproject.org<span=
 class=3D=22Apple-converted-space=22>&nbsp;</span><br>http://lists.xenpro=
ject.org/cgi-bin/mailman/listinfo/mirageos-devel<span class=3D=22Apple-co=
nverted-space=22>&nbsp;</span><br></div></div></span></blockquote><br cla=
ss=3D=22Apple-interchange-newline=22></div> <div id=3D=22bloop=5Fsign=5F1=
431448398198482944=22 class=3D=22bloop=5Fsign=22></div></body></html>
--5552314f_100fd8ac_2e88--



--===============5772605361239635228==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============5772605361239635228==--



From mirageos-devel-bounces@lists.xenproject.org Tue May 12 16:53:35 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 16:53:35 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsDQz-0001dn-IA; Tue, 12 May 2015 16:53:33 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <rudi.grinberg@gmail.com>) id 1YsDQy-0001dX-Hw
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 16:53:32 +0000
Received: from [85.158.137.68] by server-11.bemta-3.messagelabs.com id
	F1/39-17942-B0032555; Tue, 12 May 2015 16:53:31 +0000
X-Env-Sender: rudi.grinberg@gmail.com
X-Msg-Ref: server-15.tower-31.messagelabs.com!1431449609!14607078!1
X-Originating-IP: [209.85.223.177]
X-SpamReason: No, hits=0.1 required=7.0 tests=HTML_30_40,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 16166 invoked from network); 12 May 2015 16:53:30 -0000
Received: from mail-ie0-f177.google.com (HELO mail-ie0-f177.google.com)
	(209.85.223.177)
	by server-15.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	12 May 2015 16:53:30 -0000
Received: by iepk2 with SMTP id k2so5671911iep.3
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 12 May 2015 09:53:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=date:from:to:cc:message-id:in-reply-to:references:subject
	:mime-version:content-type;
	bh=J+uNK/s55GrpQQYdipJD27BN1TMjdLANXMAhnB5pYKI=;
	b=iNzyx9xJnwoddfzEYdZUWYRHvWhp9xfz5xPn6kCPB2i7olPeFbIUK9IY/8hUHyOi90
	NF6J0NhzmY0jFMgDVwmHyD3uewv+vYk96oHZMkd6H0mJgtKEb3wv/+VjjxKARL8NmPLr
	x8f6OycftIQ6OqzlG8l8L9ZkWVNiqQppmvXaAneUGqIgIdaWJbCyhOsJILmFnkclLoRX
	LfpE4a7b/vgNItb44n+WT3ADzBGydwb6uXqk+1yT+pGTUz9AmXC+wo2QA7N6xyuGAlbi
	tsztzQJhzr8v0T0m+xLhY0XGYJoDQwMyzTuwZFSQdi9qrl2RrZyBTQtiIVasRa6rypE+
	ahUw==
X-Received: by 10.107.6.206 with SMTP id f75mr21012067ioi.78.1431449609309;
	Tue, 12 May 2015 09:53:29 -0700 (PDT)
Received: from Rudis-MacBook-Pro.local ([66.49.191.122])
	by mx.google.com with ESMTPSA id n6sm1570559igx.10.2015.05.12.09.53.28
	(version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Tue, 12 May 2015 09:53:28 -0700 (PDT)
Date: Tue, 12 May 2015 12:58:55 -0400
From: Rudi Grinberg <rudi.grinberg@gmail.com>
To: Anil Madhavapeddy <anil@recoil.org>, Drup <drupyog+caml@zoho.com>
Message-ID: <etPan.5552314f.705b21d4.2e88@Rudis-MacBook-Pro.local>
In-Reply-To: <9CC63A6E-41B8-4BF2-BFCA-9D49AEE987C4@recoil.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
	<7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>
	<4382CFB50FD64AFDA863FB6244D3FEA5@erratique.ch>
	<32C35BEB-47BF-4BC6-ACBB-844A7D778BD4@recoil.org>
	<555220B9.8000302@zoho.com>
	<9CC63A6E-41B8-4BF2-BFCA-9D49AEE987C4@recoil.org>
X-Mailer: Airmail Beta (304)
MIME-Version: 1.0
Cc: "=?utf-8?Q?mirageos-devel=40lists.xenproject.org?="
	<mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Logging
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5772605361239635228=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============5772605361239635228==
Content-Type: multipart/alternative; boundary="5552314f_100fd8ac_2e88"

--5552314f_100fd8ac_2e88
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline


> I like your =22only one function=22 idea.=C2=A0
> The alternative of passing around the unique function is to have a glob=
al reference containing the dispatcher function. It's the solution used b=
y Lwt=5Flog. It's mostly equivalent (and it works ok in practice) but I t=
hink it's indeed better to pass the function explicitly.=C2=A0

It should be possible to stash the logging function somewhere more conven=
ient than every single function, but this depends on the library. In Coht=
tp and Conduit, the =60ctx=60 context is a good place. =46or DNS, it's pr=
obably enough to pass it in to the library functions since they are fairl=
y stateless.=C2=A0
I=E2=80=99m curious about this comment about cohttp. There was actually a=
 request on the bug tracker asking for better logging in cohttp but I mos=
tly turned it down because it seems like any kind of logging you might wa=
nt cohttp to do can be easily accomplished outside of cohttp. =46or examp=
le, if you=E2=80=99re using a cohttp as an http client, you only need to =
wrap your call function to print the request before it=E2=80=99s sent and=
 the response just after it arrives. Adding this kind of logging to a coh=
ttp server is similar.

In fact, for the client use case we could really make it trivial for a us=
er to add his own logging if we exposed a function that would construct a=
ll the little helpers such as get/post/put/delete/etc. from a basic log a=
ware call function.

Of course, this approach is inadequate if you want to log something that =
pertains cohttp=E2=80=99s internals. Which is exactly why we have the COH=
TTP=5FDEBUG env var today. I was never a huge fan of his approach either =
and have thought about improving it by introducing a functor (if you can =
call that an improvement) IO -> IO that would take a normal IO backend an=
d return a logging one (or at least a COHTTP=5FDEBUG accepting one). But =
I=E2=80=99m not yet sure if this an improvement.

Anyhow, this is getting off topic. I just mean to bring some for less int=
rusive approaches for logging.



> I'm not really convinced by the extension syntax trick (it was done for=
 Lwt=5Flog too and it uses a very syntactic criteria, which makes it a bi=
t fishy). What would it do exactly =3F Can't you rely on partial evaluati=
on and =46lambda's inlining to do the correct thing =3F=C2=A0

Sure. I don't really mind how the lazy log is implemented. Expensive logg=
ing can just be hidden behind an explicit if/else, since we really do wan=
t logging to be turned on by default in production deployments (and so it=
 should be cheap enough by default, and factored into performance benchma=
rks).=C2=A0

-anil=C2=A0
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=C2=A0
MirageOS-devel mailing list=C2=A0
MirageOS-devel=40lists.xenproject.org=C2=A0
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel=C2=A0=



--5552314f_100fd8ac_2e88
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<html><head><style>body=7Bfont-family:Helvetica,Arial;font-size:13px=7D</=
style></head><body style=3D=22word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space;=22><br><div><blockquote type=
=3D=22cite=22 class=3D=22clean=5Fbq=22 style=3D=22color: rgb(0, 0, 0); fo=
nt-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-va=
riant: normal; font-weight: normal; letter-spacing: normal; line-height: =
normal; orphans: auto; text-align: start; text-indent: 0px; text-transfor=
m: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-te=
xt-stroke-width: 0px;=22><span><div><div>&gt; I like your =22only one fun=
ction=22 idea.<span class=3D=22Apple-converted-space=22>&nbsp;</span><br>=
&gt; The alternative of passing around the unique function is to have a g=
lobal reference containing the dispatcher function. It's the solution use=
d by Lwt=5Flog. It's mostly equivalent (and it works ok in practice) but =
I think it's indeed better to pass the function explicitly.<span class=3D=
=22Apple-converted-space=22>&nbsp;</span><br><br>It should be possible to=
 stash the logging function somewhere more convenient than every single f=
unction, but this depends on the library. In Cohttp and Conduit, the =60c=
tx=60 context is a good place. =46or DNS, it's probably enough to pass it=
 in to the library functions since they are fairly stateless.<span class=3D=
=22Apple-converted-space=22>&nbsp;</span></div></div></span></blockquote>=
</div><p>I=E2=80=99m curious about this comment about cohttp. There was a=
ctually a request on the bug tracker asking for better logging in cohttp =
but I mostly turned it down because it seems like any kind of logging you=
 might want cohttp to do can be easily accomplished outside of cohttp. =46=
or example, if you=E2=80=99re using a cohttp as an http client, you only =
need to wrap your call function to print the request before it=E2=80=99s =
sent and the response just after it arrives. Adding this kind of logging =
to a cohttp server is similar.</p><p>In fact, for the client use case we =
could really make it trivial for a user to add his own logging if we expo=
sed a function that would construct all the little helpers such as get/po=
st/put/delete/etc. from a basic log aware call function.</p><p>Of course,=
 this approach is inadequate if you want to log something that pertains c=
ohttp=E2=80=99s internals. Which is exactly why we have the COHTTP=5FDEBU=
G env var today. I was never a huge fan of his approach either and have t=
hought about improving it by introducing a functor (if you can call that =
an improvement) IO -&gt; IO that would take a normal IO backend and retur=
n a logging one (or at least a COHTTP=5FDEBUG accepting one). But I=E2=80=
=99m not yet sure if this an improvement.</p><p>Anyhow, this is getting o=
ff topic. I just mean to bring some for less intrusive approaches for log=
ging.</p><div><blockquote type=3D=22cite=22 class=3D=22clean=5Fbq=22 styl=
e=3D=22color: rgb(0, 0, 0); font-family: Helvetica, Arial; font-size: 13p=
x; font-style: normal; font-variant: normal; font-weight: normal; letter-=
spacing: normal; line-height: normal; orphans: auto; text-align: start; t=
ext-indent: 0px; text-transform: none; white-space: normal; widows: auto;=
 word-spacing: 0px; -webkit-text-stroke-width: 0px;=22><span><div><div><b=
r><br>&gt; I'm not really convinced by the extension syntax trick (it was=
 done for Lwt=5Flog too and it uses a very syntactic criteria, which make=
s it a bit fishy). What would it do exactly =3F Can't you rely on partial=
 evaluation and =46lambda's inlining to do the correct thing =3F<span cla=
ss=3D=22Apple-converted-space=22>&nbsp;</span><br><br>Sure. I don't reall=
y mind how the lazy log is implemented. Expensive logging can just be hid=
den behind an explicit if/else, since we really do want logging to be tur=
ned on by default in production deployments (and so it should be cheap en=
ough by default, and factored into performance benchmarks).<span class=3D=
=22Apple-converted-space=22>&nbsp;</span><br><br>-anil<span class=3D=22Ap=
ple-converted-space=22>&nbsp;</span><br>=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F<span class=3D=22Apple-converted-space=22=
>&nbsp;</span><br>MirageOS-devel mailing list<span class=3D=22Apple-conve=
rted-space=22>&nbsp;</span><br>MirageOS-devel=40lists.xenproject.org<span=
 class=3D=22Apple-converted-space=22>&nbsp;</span><br>http://lists.xenpro=
ject.org/cgi-bin/mailman/listinfo/mirageos-devel<span class=3D=22Apple-co=
nverted-space=22>&nbsp;</span><br></div></div></span></blockquote><br cla=
ss=3D=22Apple-interchange-newline=22></div> <div id=3D=22bloop=5Fsign=5F1=
431448398198482944=22 class=3D=22bloop=5Fsign=22></div></body></html>
--5552314f_100fd8ac_2e88--



--===============5772605361239635228==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============5772605361239635228==--



From mirageos-devel-bounces@lists.xenproject.org Tue May 12 21:54:15 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 21:54:15 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsI7r-0005WQ-Gr; Tue, 12 May 2015 21:54:07 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1YsI7q-0005Vt-AP
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 21:54:06 +0000
Received: from [85.158.137.68] by server-17.bemta-3.messagelabs.com id
	6D/1A-02927-D7672555; Tue, 12 May 2015 21:54:05 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-5.tower-31.messagelabs.com!1431467643!14836253!1
X-Originating-IP: [209.85.212.172]
X-SpamReason: No, hits=0.6 required=7.0 tests=BODY_RANDOM_LONG,
	HTML_30_40,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 17799 invoked from network); 12 May 2015 21:54:03 -0000
Received: from mail-wi0-f172.google.com (HELO mail-wi0-f172.google.com)
	(209.85.212.172)
	by server-5.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	12 May 2015 21:54:03 -0000
Received: by widdi4 with SMTP id di4so172812027wid.0
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 12 May 2015 14:54:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:message-id:references:to;
	bh=xrdupRgfDGo5a1f3OFw+UjnL3yy05QEUV2Evi5SaRqg=;
	b=lYZOheppzJsgvFXgVrWU+OOllRz1U2fhLM7QvXB0/Cm/B4jBjbwnqLGxB5E+oUlDsG
	AINGO0zF4SGneqWn8Jzqc+xYDNQO49Bgadn3ouUpkFwq1Huxnf+r+4uW9WDXRQ/c+UBH
	TaNE73XmW67etssIKxCx+fMjIAMrva17D74aTH/lNnRj4HEND8jMy3IUqUS1HVdTq2aI
	pw9fqZ7k6+D4tvQRSHrvQEYz5UczlhdOqbh9zxg8972YDfOd0aZdJlSenfmG+Il4xDcA
	YZgKijLyGKTdxZ4rQZWdtya9Lq449KOj/7N4wU8ksj0LjbkdSGwyYadl30SOAXbtpLX3
	4YjQ==
X-Received: by 10.180.14.193 with SMTP id r1mr33013693wic.47.1431467643467;
	Tue, 12 May 2015 14:54:03 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122])
	by mx.google.com with ESMTPSA id ch2sm4798654wib.18.2015.05.12.14.54.01
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Tue, 12 May 2015 14:54:02 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
Date: Tue, 12 May 2015 22:54:00 +0100
Message-Id: <0637D28F-CC74-4E2C-8B2A-9207BC78568D@gazagnaire.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
To: Matthew Gray <matthew.thomas.gray@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] test, quality, tcpip
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5512396030110234972=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============5512396030110234972==
Content-Type: multipart/alternative; boundary="Apple-Mail=_245814F1-265D-4970-8AE7-20AFA774198B"


--Apple-Mail=_245814F1-265D-4970-8AE7-20AFA774198B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

>=20
> An other point which is cruelly missing is a proper logging system - =
which is central when debugging runtime errors.
>=20
> Thomas, do you have any thoughts about what a proper logging system =
would look like? What features it would provide? I'm experimenting a =
little with this already, making a logger that can write messages to the =
console and also send as syslog. I'd be interested in trying to expand =
this and make it into something generally useful for Mirage but would =
probably need a bit of guidance to begin with.=20
>=20
> I'm aware of https://github.com/UnixJunkie/dolog =
<https://github.com/UnixJunkie/dolog> and wondering whether this is a =
good starting point, if it were functorized to accept the Mirage console =
signature?

As Anil said, I don't thing re-using dolog is a good idea (dolog serves =
its purposes nicely but it is not what we want as a general logging =
library for MirageOS). I have not yet a very clear idea of what we =
should do, but I plan to spend some time soon to come up with a more =
concrete proposal.

Few remarks:

- I'm in favour of designing something from scratch
- I also don't particularly like the usual warn/debug/info/error stuff =
(I tend to use debug/error only anyway)
- Using Irmin is a good idea if it's available but I'd like to not =
enforce it as a dependency if possible
- I'm not a big fan of passing the logging function as an argument as =
this means you need to thread it everywhere (and if you want to add some =
logging to a function, you'll need to change its type) so the design of =
Lwt_log is compelling - but need to thing a bit more about that
- I quite like the "with-trace" function of bigloo[1] and I found it =
quite useful in practice (although I would replace the trace level by =
some section names that you could turn-off/on dynamically and/or =
statically)
- It is always hard to find the right balance of things to log or to not =
log and I'm not sure how we can have a general solution for this without =
runtime control. Spamming the log traces is very useful when you debug =
and or when you try to fix a weird production issue, but you also want =
to be fast and avoid DoS ...
- I also quite liked reading stuff about Finagle/Zipkin[2] (although I =
never used it in practice) and that would be quite nice if we had a =
similar logging story for MirageOS
- If anyone knows a good existing logging library that they used in =
other languages, I'm keen to have a look.

Best,
Thomas

[1] http://www-sop.inria.fr/mimosa/fp/Bigloo/doc/bigloo-17.html#Tracing =
<http://www-sop.inria.fr/mimosa/fp/Bigloo/doc/bigloo-17.html#Tracing>
[2] =
https://blog.twitter.com/2012/distributed-systems-tracing-with-zipkin =
<https://blog.twitter.com/2012/distributed-systems-tracing-with-zipkin>


--Apple-Mail=_245814F1-265D-4970-8AE7-20AFA774198B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D""><div =
dir=3D"ltr" class=3D""><div class=3D"gmail_extra"><div =
class=3D"gmail_quote"><blockquote class=3D"gmail_quote" =
style=3D"margin:0px 0px 0px =
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left=
-style:solid;padding-left:1ex"><div style=3D"word-wrap:break-word" =
class=3D""><div class=3D""><br class=3D""></div><div class=3D"">An other =
point which is cruelly missing is a proper logging system - which is =
central when debugging runtime errors.</div></div></blockquote><div =
class=3D""><br class=3D""></div><div class=3D"">Thomas, do you have any =
thoughts about what a proper logging system would look like? What =
features it would provide? I'm experimenting a little with this already, =
making a logger that can write messages to the console and also send as =
syslog. I'd be interested in trying to expand this and make it into =
something generally useful for Mirage but would probably need a bit of =
guidance to begin with.&nbsp;</div><div class=3D""><br =
class=3D""></div><div class=3D"">I'm aware of&nbsp;<a =
href=3D"https://github.com/UnixJunkie/dolog" =
class=3D"">https://github.com/UnixJunkie/dolog</a> and wondering whether =
this is a good starting point, if it were functorized to accept the =
Mirage console =
signature?</div></div></div></div></div></blockquote><div><br =
class=3D""></div><div>As Anil said, I don't thing re-using dolog is a =
good idea (dolog serves its purposes nicely but it is not what we want =
as a general logging library for MirageOS). I have not yet a very clear =
idea of what we should do, but I plan to spend some time soon to come up =
with a more concrete proposal.</div><div><br class=3D""></div><div>Few =
remarks:</div><div><br class=3D""></div><div>- I'm in favour of =
designing something from scratch</div><div>- I also don't particularly =
like the usual warn/debug/info/error stuff (I tend to use debug/error =
only anyway)</div><div>- Using Irmin is a good idea if it's available =
but I'd like to not enforce it as a dependency if possible</div><div>- =
I'm not a big fan of passing the logging function as an argument as this =
means you need to thread it everywhere (and if you want to add some =
logging to a function, you'll need to change its type) so the design of =
Lwt_log is compelling - but need to thing a bit more about =
that</div><div>- I quite like the "with-trace" function of bigloo[1] and =
I found it quite useful in practice (although I would replace the trace =
level by some section names that you could turn-off/on dynamically =
and/or statically)</div><div>- It is always hard to find the right =
balance of things to log or to not log and I'm not sure how we can have =
a general solution for this without runtime control. Spamming the log =
traces is very useful when you debug and or when you try to fix a weird =
production issue, but you also want to be fast and avoid DoS =
...</div><div>- I also quite liked reading stuff about Finagle/Zipkin[2] =
(although I never used it in practice) and that would be quite nice if =
we had a similar logging story for MirageOS</div><div>- If anyone knows =
a good existing logging library that they used in other languages, I'm =
keen to have a look.</div><div><br =
class=3D""></div><div>Best,</div><div>Thomas</div><div><br =
class=3D""></div><div>[1]&nbsp;<a =
href=3D"http://www-sop.inria.fr/mimosa/fp/Bigloo/doc/bigloo-17.html#Tracin=
g" =
class=3D"">http://www-sop.inria.fr/mimosa/fp/Bigloo/doc/bigloo-17.html#Tra=
cing</a></div><div>[2]&nbsp;<a =
href=3D"https://blog.twitter.com/2012/distributed-systems-tracing-with-zip=
kin" =
class=3D"">https://blog.twitter.com/2012/distributed-systems-tracing-with-=
zipkin</a></div><div><br class=3D""></div></div></body></html>=

--Apple-Mail=_245814F1-265D-4970-8AE7-20AFA774198B--


--===============5512396030110234972==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============5512396030110234972==--


From mirageos-devel-bounces@lists.xenproject.org Tue May 12 21:54:15 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 21:54:15 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsI7r-0005WQ-Gr; Tue, 12 May 2015 21:54:07 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1YsI7q-0005Vt-AP
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 21:54:06 +0000
Received: from [85.158.137.68] by server-17.bemta-3.messagelabs.com id
	6D/1A-02927-D7672555; Tue, 12 May 2015 21:54:05 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-5.tower-31.messagelabs.com!1431467643!14836253!1
X-Originating-IP: [209.85.212.172]
X-SpamReason: No, hits=0.6 required=7.0 tests=BODY_RANDOM_LONG,
	HTML_30_40,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 17799 invoked from network); 12 May 2015 21:54:03 -0000
Received: from mail-wi0-f172.google.com (HELO mail-wi0-f172.google.com)
	(209.85.212.172)
	by server-5.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	12 May 2015 21:54:03 -0000
Received: by widdi4 with SMTP id di4so172812027wid.0
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 12 May 2015 14:54:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:message-id:references:to;
	bh=xrdupRgfDGo5a1f3OFw+UjnL3yy05QEUV2Evi5SaRqg=;
	b=lYZOheppzJsgvFXgVrWU+OOllRz1U2fhLM7QvXB0/Cm/B4jBjbwnqLGxB5E+oUlDsG
	AINGO0zF4SGneqWn8Jzqc+xYDNQO49Bgadn3ouUpkFwq1Huxnf+r+4uW9WDXRQ/c+UBH
	TaNE73XmW67etssIKxCx+fMjIAMrva17D74aTH/lNnRj4HEND8jMy3IUqUS1HVdTq2aI
	pw9fqZ7k6+D4tvQRSHrvQEYz5UczlhdOqbh9zxg8972YDfOd0aZdJlSenfmG+Il4xDcA
	YZgKijLyGKTdxZ4rQZWdtya9Lq449KOj/7N4wU8ksj0LjbkdSGwyYadl30SOAXbtpLX3
	4YjQ==
X-Received: by 10.180.14.193 with SMTP id r1mr33013693wic.47.1431467643467;
	Tue, 12 May 2015 14:54:03 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122])
	by mx.google.com with ESMTPSA id ch2sm4798654wib.18.2015.05.12.14.54.01
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Tue, 12 May 2015 14:54:02 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
Date: Tue, 12 May 2015 22:54:00 +0100
Message-Id: <0637D28F-CC74-4E2C-8B2A-9207BC78568D@gazagnaire.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
To: Matthew Gray <matthew.thomas.gray@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] test, quality, tcpip
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5512396030110234972=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============5512396030110234972==
Content-Type: multipart/alternative; boundary="Apple-Mail=_245814F1-265D-4970-8AE7-20AFA774198B"


--Apple-Mail=_245814F1-265D-4970-8AE7-20AFA774198B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

>=20
> An other point which is cruelly missing is a proper logging system - =
which is central when debugging runtime errors.
>=20
> Thomas, do you have any thoughts about what a proper logging system =
would look like? What features it would provide? I'm experimenting a =
little with this already, making a logger that can write messages to the =
console and also send as syslog. I'd be interested in trying to expand =
this and make it into something generally useful for Mirage but would =
probably need a bit of guidance to begin with.=20
>=20
> I'm aware of https://github.com/UnixJunkie/dolog =
<https://github.com/UnixJunkie/dolog> and wondering whether this is a =
good starting point, if it were functorized to accept the Mirage console =
signature?

As Anil said, I don't thing re-using dolog is a good idea (dolog serves =
its purposes nicely but it is not what we want as a general logging =
library for MirageOS). I have not yet a very clear idea of what we =
should do, but I plan to spend some time soon to come up with a more =
concrete proposal.

Few remarks:

- I'm in favour of designing something from scratch
- I also don't particularly like the usual warn/debug/info/error stuff =
(I tend to use debug/error only anyway)
- Using Irmin is a good idea if it's available but I'd like to not =
enforce it as a dependency if possible
- I'm not a big fan of passing the logging function as an argument as =
this means you need to thread it everywhere (and if you want to add some =
logging to a function, you'll need to change its type) so the design of =
Lwt_log is compelling - but need to thing a bit more about that
- I quite like the "with-trace" function of bigloo[1] and I found it =
quite useful in practice (although I would replace the trace level by =
some section names that you could turn-off/on dynamically and/or =
statically)
- It is always hard to find the right balance of things to log or to not =
log and I'm not sure how we can have a general solution for this without =
runtime control. Spamming the log traces is very useful when you debug =
and or when you try to fix a weird production issue, but you also want =
to be fast and avoid DoS ...
- I also quite liked reading stuff about Finagle/Zipkin[2] (although I =
never used it in practice) and that would be quite nice if we had a =
similar logging story for MirageOS
- If anyone knows a good existing logging library that they used in =
other languages, I'm keen to have a look.

Best,
Thomas

[1] http://www-sop.inria.fr/mimosa/fp/Bigloo/doc/bigloo-17.html#Tracing =
<http://www-sop.inria.fr/mimosa/fp/Bigloo/doc/bigloo-17.html#Tracing>
[2] =
https://blog.twitter.com/2012/distributed-systems-tracing-with-zipkin =
<https://blog.twitter.com/2012/distributed-systems-tracing-with-zipkin>


--Apple-Mail=_245814F1-265D-4970-8AE7-20AFA774198B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D""><div =
dir=3D"ltr" class=3D""><div class=3D"gmail_extra"><div =
class=3D"gmail_quote"><blockquote class=3D"gmail_quote" =
style=3D"margin:0px 0px 0px =
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left=
-style:solid;padding-left:1ex"><div style=3D"word-wrap:break-word" =
class=3D""><div class=3D""><br class=3D""></div><div class=3D"">An other =
point which is cruelly missing is a proper logging system - which is =
central when debugging runtime errors.</div></div></blockquote><div =
class=3D""><br class=3D""></div><div class=3D"">Thomas, do you have any =
thoughts about what a proper logging system would look like? What =
features it would provide? I'm experimenting a little with this already, =
making a logger that can write messages to the console and also send as =
syslog. I'd be interested in trying to expand this and make it into =
something generally useful for Mirage but would probably need a bit of =
guidance to begin with.&nbsp;</div><div class=3D""><br =
class=3D""></div><div class=3D"">I'm aware of&nbsp;<a =
href=3D"https://github.com/UnixJunkie/dolog" =
class=3D"">https://github.com/UnixJunkie/dolog</a> and wondering whether =
this is a good starting point, if it were functorized to accept the =
Mirage console =
signature?</div></div></div></div></div></blockquote><div><br =
class=3D""></div><div>As Anil said, I don't thing re-using dolog is a =
good idea (dolog serves its purposes nicely but it is not what we want =
as a general logging library for MirageOS). I have not yet a very clear =
idea of what we should do, but I plan to spend some time soon to come up =
with a more concrete proposal.</div><div><br class=3D""></div><div>Few =
remarks:</div><div><br class=3D""></div><div>- I'm in favour of =
designing something from scratch</div><div>- I also don't particularly =
like the usual warn/debug/info/error stuff (I tend to use debug/error =
only anyway)</div><div>- Using Irmin is a good idea if it's available =
but I'd like to not enforce it as a dependency if possible</div><div>- =
I'm not a big fan of passing the logging function as an argument as this =
means you need to thread it everywhere (and if you want to add some =
logging to a function, you'll need to change its type) so the design of =
Lwt_log is compelling - but need to thing a bit more about =
that</div><div>- I quite like the "with-trace" function of bigloo[1] and =
I found it quite useful in practice (although I would replace the trace =
level by some section names that you could turn-off/on dynamically =
and/or statically)</div><div>- It is always hard to find the right =
balance of things to log or to not log and I'm not sure how we can have =
a general solution for this without runtime control. Spamming the log =
traces is very useful when you debug and or when you try to fix a weird =
production issue, but you also want to be fast and avoid DoS =
...</div><div>- I also quite liked reading stuff about Finagle/Zipkin[2] =
(although I never used it in practice) and that would be quite nice if =
we had a similar logging story for MirageOS</div><div>- If anyone knows =
a good existing logging library that they used in other languages, I'm =
keen to have a look.</div><div><br =
class=3D""></div><div>Best,</div><div>Thomas</div><div><br =
class=3D""></div><div>[1]&nbsp;<a =
href=3D"http://www-sop.inria.fr/mimosa/fp/Bigloo/doc/bigloo-17.html#Tracin=
g" =
class=3D"">http://www-sop.inria.fr/mimosa/fp/Bigloo/doc/bigloo-17.html#Tra=
cing</a></div><div>[2]&nbsp;<a =
href=3D"https://blog.twitter.com/2012/distributed-systems-tracing-with-zip=
kin" =
class=3D"">https://blog.twitter.com/2012/distributed-systems-tracing-with-=
zipkin</a></div><div><br class=3D""></div></div></body></html>=

--Apple-Mail=_245814F1-265D-4970-8AE7-20AFA774198B--


--===============5512396030110234972==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============5512396030110234972==--


From mirageos-devel-bounces@lists.xenproject.org Tue May 12 23:25:32 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 23:25:32 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsJYE-0002du-2S; Tue, 12 May 2015 23:25:26 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YsJYC-0002dp-Dw
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 23:25:24 +0000
Received: from [193.109.254.147] by server-3.bemta-14.messagelabs.com id
	DD/13-03032-3EB82555; Tue, 12 May 2015 23:25:23 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-5.tower-27.messagelabs.com!1431473122!12393288!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.3 required=7.0 tests=HTML_50_60,HTML_MESSAGE,
	RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 15757 invoked from network); 12 May 2015 23:25:22 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-5.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 12 May 2015 23:25:22 -0000
Received: from [192.168.1.60] (cpc7-cmbg14-2-0-cust238.5-4.cable.virginm.net
	[86.30.244.239]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 948e4379;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Wed, 13 May 2015 00:25:21 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <55522EC8.2080509@somerandomidiot.com>
Date: Wed, 13 May 2015 00:25:20 +0100
Message-Id: <F505128B-BA96-473F-832F-E0724A04934A@recoil.org>
References: <CAAjx=y2jj=WvSykDu9RuiSKRh_-eRb_gWM7prUCt0Lkd0bBpfw@mail.gmail.com>
	<55522EC8.2080509@somerandomidiot.com>
To: Mindy Preston <mindy@somerandomidiot.com>,
 haesbaert@haesbaert.org
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Interest in MirageOS and UROP scheme
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============2721907343573704278=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============2721907343573704278==
Content-Type: multipart/alternative; boundary="Apple-Mail=_03A598D0-4340-4B09-A53E-F94B3DB87BB4"


--Apple-Mail=_03A598D0-4340-4B09-A53E-F94B3DB87BB4
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

Great to see this DHCP implementation making progress! CCing Christiano =
(the author).

It looks like this is actually almost ready to replace the (extremely =
terrible) parser that I wrote years ago in the current TCP/IP stack, but =
there's certainly no immediate rush to do so.  One thing that's worth =
doing is to ensure that the new DHCP library can run outside of the =
TCP/IP implementation, so we may need to extend the module types to have =
better listening support.

I really like that it's got a parser for the ISC dhcpd.conf!  Some of =
the Unix privsep code could also eventually be factored out into a =
library for the other daemons as well.

-anil

> On 12 May 2015, at 17:48, Mindy <mindy@somerandomidiot.com> wrote:
>=20
> Hi Alistair,
>=20
> Sorry for the lateness of this reply, but I've just heard about an =
OCaml DHCP implementation that you may want to have a look =
at:https://github.com/haesbaert/hdhcp =
<https://github.com/haesbaert/hdhcp>  .  It looks like it's currently =
under active development, although not yet buildable for Mirage.
>=20
> -Mindy
>=20
> On 04/26/2015 09:10 PM, Alistair Fisher wrote:
>> Hello,
>>=20
>> I'm a second year computer scientist at the University of Cambridge =
interested in working on MirageOS over the summer via the UROP scheme.
>>=20
>> I am interested in the projects that focus on distributed systems, =
particularly Semantics of Shared Data Structures and all 5 networking =
projects (especially the HTTP implementation and DHCP server ones, since =
those are the protocols I am most familiar with).
>>=20
>> To continue with my application, should I contact each mentor =
individually with my application for their particular project?
>>=20
>> Thanks you for your time,
>>=20
>> Alistair Fisher
>>=20
>>=20
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org =
<mailto:MirageOS-devel@lists.xenproject.org>
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel =
<http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>
>=20
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


--Apple-Mail=_03A598D0-4340-4B09-A53E-F94B3DB87BB4
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Great to see this DHCP implementation making progress! CCing =
Christiano (the author).<div class=3D""><br class=3D""></div><div =
class=3D"">It looks like this is actually almost ready to replace the =
(extremely terrible) parser that I wrote years ago in the current TCP/IP =
stack, but there's certainly no immediate rush to do so. &nbsp;One thing =
that's worth doing is to ensure that the new DHCP library can run =
outside of the TCP/IP implementation, so we may need to extend the =
module types to have better listening support.<div class=3D""><br =
class=3D""></div><div class=3D"">I really like that it's got a parser =
for the ISC dhcpd.conf! &nbsp;Some of the Unix privsep code could also =
eventually be factored out into a library for the other daemons as =
well.</div><div class=3D""><br class=3D""><div class=3D"">-anil</div><div =
class=3D""><br class=3D""><div class=3D""><div><blockquote type=3D"cite" =
class=3D""><div class=3D"">On 12 May 2015, at 17:48, Mindy &lt;<a =
href=3D"mailto:mindy@somerandomidiot.com" =
class=3D"">mindy@somerandomidiot.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D"">
 =20
    <meta content=3D"text/html; charset=3Dwindows-1252" =
http-equiv=3D"Content-Type" class=3D"">
 =20
  <div text=3D"#000000" bgcolor=3D"#FFFFFF" class=3D"">
    Hi Alistair,<br class=3D"">
    <br class=3D"">
    Sorry for the lateness of this reply, but I've just heard about an
    OCaml DHCP implementation that you may want to have a look at:
    <a class=3D"moz-txt-link-freetext" =
href=3D"https://github.com/haesbaert/hdhcp">https://github.com/haesbaert/h=
dhcp</a>&nbsp; .&nbsp; It looks like it's currently
    under active development, although not yet buildable for Mirage.<br =
class=3D"">
    <br class=3D"">
    -Mindy<br class=3D"">
    <br class=3D"">
    <div class=3D"moz-cite-prefix">On 04/26/2015 09:10 PM, Alistair =
Fisher
      wrote:<br class=3D"">
    </div>
    <blockquote =
cite=3D"mid:CAAjx=3Dy2jj=3DWvSykDu9RuiSKRh_-eRb_gWM7prUCt0Lkd0bBpfw@mail.g=
mail.com" type=3D"cite" class=3D"">
      <div dir=3D"ltr" class=3D"">Hello,
        <div class=3D""><br class=3D"">
        </div>
        <div class=3D"">I'm a second year computer scientist at the =
University of
          Cambridge interested in working on MirageOS over the summer
          via the UROP scheme.</div>
        <div class=3D""><br class=3D"">
        </div>
        <div class=3D"">I am interested in the projects that focus on =
distributed
          systems, particularly&nbsp;<i class=3D"">Semantics of Shared =
Data Structures</i>
          and all 5 networking projects (especially the HTTP
          implementation and DHCP server ones, since those are the
          protocols I am most familiar with).</div>
        <div class=3D""><br class=3D"">
        </div>
        <div class=3D"">To continue with my application, should I =
contact each
          mentor individually with my application for their particular
          project?</div>
        <div class=3D""><br class=3D"">
        </div>
        <div class=3D"">Thanks you for your time,</div>
        <div class=3D""><br class=3D"">
        </div>
        <div class=3D"">Alistair Fisher</div>
      </div>
      <br class=3D"">
      <fieldset class=3D"mimeAttachmentHeader"></fieldset>
      <br class=3D"">
      <pre wrap=3D"" =
class=3D"">_______________________________________________
MirageOS-devel mailing list
<a class=3D"moz-txt-link-abbreviated" =
href=3D"mailto:MirageOS-devel@lists.xenproject.org">MirageOS-devel@lists.x=
enproject.org</a>
<a class=3D"moz-txt-link-freetext" =
href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-deve=
l">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel</a>=

</pre>
    </blockquote>
    <br class=3D"">
  </div>

_______________________________________________<br =
class=3D"">MirageOS-devel mailing list<br class=3D""><a =
href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
class=3D"">MirageOS-devel@lists.xenproject.org</a><br =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel<br class=3D""></div></blockquote></div><br =
class=3D""></div></div></div></div></body></html>=

--Apple-Mail=_03A598D0-4340-4B09-A53E-F94B3DB87BB4--


--===============2721907343573704278==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============2721907343573704278==--


From mirageos-devel-bounces@lists.xenproject.org Tue May 12 23:25:32 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 23:25:32 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsJYE-0002du-2S; Tue, 12 May 2015 23:25:26 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YsJYC-0002dp-Dw
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 23:25:24 +0000
Received: from [193.109.254.147] by server-3.bemta-14.messagelabs.com id
	DD/13-03032-3EB82555; Tue, 12 May 2015 23:25:23 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-5.tower-27.messagelabs.com!1431473122!12393288!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.3 required=7.0 tests=HTML_50_60,HTML_MESSAGE,
	RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 15757 invoked from network); 12 May 2015 23:25:22 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-5.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 12 May 2015 23:25:22 -0000
Received: from [192.168.1.60] (cpc7-cmbg14-2-0-cust238.5-4.cable.virginm.net
	[86.30.244.239]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 948e4379;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Wed, 13 May 2015 00:25:21 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <55522EC8.2080509@somerandomidiot.com>
Date: Wed, 13 May 2015 00:25:20 +0100
Message-Id: <F505128B-BA96-473F-832F-E0724A04934A@recoil.org>
References: <CAAjx=y2jj=WvSykDu9RuiSKRh_-eRb_gWM7prUCt0Lkd0bBpfw@mail.gmail.com>
	<55522EC8.2080509@somerandomidiot.com>
To: Mindy Preston <mindy@somerandomidiot.com>,
 haesbaert@haesbaert.org
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Interest in MirageOS and UROP scheme
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============2721907343573704278=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============2721907343573704278==
Content-Type: multipart/alternative; boundary="Apple-Mail=_03A598D0-4340-4B09-A53E-F94B3DB87BB4"


--Apple-Mail=_03A598D0-4340-4B09-A53E-F94B3DB87BB4
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

Great to see this DHCP implementation making progress! CCing Christiano =
(the author).

It looks like this is actually almost ready to replace the (extremely =
terrible) parser that I wrote years ago in the current TCP/IP stack, but =
there's certainly no immediate rush to do so.  One thing that's worth =
doing is to ensure that the new DHCP library can run outside of the =
TCP/IP implementation, so we may need to extend the module types to have =
better listening support.

I really like that it's got a parser for the ISC dhcpd.conf!  Some of =
the Unix privsep code could also eventually be factored out into a =
library for the other daemons as well.

-anil

> On 12 May 2015, at 17:48, Mindy <mindy@somerandomidiot.com> wrote:
>=20
> Hi Alistair,
>=20
> Sorry for the lateness of this reply, but I've just heard about an =
OCaml DHCP implementation that you may want to have a look =
at:https://github.com/haesbaert/hdhcp =
<https://github.com/haesbaert/hdhcp>  .  It looks like it's currently =
under active development, although not yet buildable for Mirage.
>=20
> -Mindy
>=20
> On 04/26/2015 09:10 PM, Alistair Fisher wrote:
>> Hello,
>>=20
>> I'm a second year computer scientist at the University of Cambridge =
interested in working on MirageOS over the summer via the UROP scheme.
>>=20
>> I am interested in the projects that focus on distributed systems, =
particularly Semantics of Shared Data Structures and all 5 networking =
projects (especially the HTTP implementation and DHCP server ones, since =
those are the protocols I am most familiar with).
>>=20
>> To continue with my application, should I contact each mentor =
individually with my application for their particular project?
>>=20
>> Thanks you for your time,
>>=20
>> Alistair Fisher
>>=20
>>=20
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org =
<mailto:MirageOS-devel@lists.xenproject.org>
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel =
<http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>
>=20
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


--Apple-Mail=_03A598D0-4340-4B09-A53E-F94B3DB87BB4
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Great to see this DHCP implementation making progress! CCing =
Christiano (the author).<div class=3D""><br class=3D""></div><div =
class=3D"">It looks like this is actually almost ready to replace the =
(extremely terrible) parser that I wrote years ago in the current TCP/IP =
stack, but there's certainly no immediate rush to do so. &nbsp;One thing =
that's worth doing is to ensure that the new DHCP library can run =
outside of the TCP/IP implementation, so we may need to extend the =
module types to have better listening support.<div class=3D""><br =
class=3D""></div><div class=3D"">I really like that it's got a parser =
for the ISC dhcpd.conf! &nbsp;Some of the Unix privsep code could also =
eventually be factored out into a library for the other daemons as =
well.</div><div class=3D""><br class=3D""><div class=3D"">-anil</div><div =
class=3D""><br class=3D""><div class=3D""><div><blockquote type=3D"cite" =
class=3D""><div class=3D"">On 12 May 2015, at 17:48, Mindy &lt;<a =
href=3D"mailto:mindy@somerandomidiot.com" =
class=3D"">mindy@somerandomidiot.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D"">
 =20
    <meta content=3D"text/html; charset=3Dwindows-1252" =
http-equiv=3D"Content-Type" class=3D"">
 =20
  <div text=3D"#000000" bgcolor=3D"#FFFFFF" class=3D"">
    Hi Alistair,<br class=3D"">
    <br class=3D"">
    Sorry for the lateness of this reply, but I've just heard about an
    OCaml DHCP implementation that you may want to have a look at:
    <a class=3D"moz-txt-link-freetext" =
href=3D"https://github.com/haesbaert/hdhcp">https://github.com/haesbaert/h=
dhcp</a>&nbsp; .&nbsp; It looks like it's currently
    under active development, although not yet buildable for Mirage.<br =
class=3D"">
    <br class=3D"">
    -Mindy<br class=3D"">
    <br class=3D"">
    <div class=3D"moz-cite-prefix">On 04/26/2015 09:10 PM, Alistair =
Fisher
      wrote:<br class=3D"">
    </div>
    <blockquote =
cite=3D"mid:CAAjx=3Dy2jj=3DWvSykDu9RuiSKRh_-eRb_gWM7prUCt0Lkd0bBpfw@mail.g=
mail.com" type=3D"cite" class=3D"">
      <div dir=3D"ltr" class=3D"">Hello,
        <div class=3D""><br class=3D"">
        </div>
        <div class=3D"">I'm a second year computer scientist at the =
University of
          Cambridge interested in working on MirageOS over the summer
          via the UROP scheme.</div>
        <div class=3D""><br class=3D"">
        </div>
        <div class=3D"">I am interested in the projects that focus on =
distributed
          systems, particularly&nbsp;<i class=3D"">Semantics of Shared =
Data Structures</i>
          and all 5 networking projects (especially the HTTP
          implementation and DHCP server ones, since those are the
          protocols I am most familiar with).</div>
        <div class=3D""><br class=3D"">
        </div>
        <div class=3D"">To continue with my application, should I =
contact each
          mentor individually with my application for their particular
          project?</div>
        <div class=3D""><br class=3D"">
        </div>
        <div class=3D"">Thanks you for your time,</div>
        <div class=3D""><br class=3D"">
        </div>
        <div class=3D"">Alistair Fisher</div>
      </div>
      <br class=3D"">
      <fieldset class=3D"mimeAttachmentHeader"></fieldset>
      <br class=3D"">
      <pre wrap=3D"" =
class=3D"">_______________________________________________
MirageOS-devel mailing list
<a class=3D"moz-txt-link-abbreviated" =
href=3D"mailto:MirageOS-devel@lists.xenproject.org">MirageOS-devel@lists.x=
enproject.org</a>
<a class=3D"moz-txt-link-freetext" =
href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-deve=
l">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel</a>=

</pre>
    </blockquote>
    <br class=3D"">
  </div>

_______________________________________________<br =
class=3D"">MirageOS-devel mailing list<br class=3D""><a =
href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
class=3D"">MirageOS-devel@lists.xenproject.org</a><br =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel<br class=3D""></div></blockquote></div><br =
class=3D""></div></div></div></div></body></html>=

--Apple-Mail=_03A598D0-4340-4B09-A53E-F94B3DB87BB4--


--===============2721907343573704278==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============2721907343573704278==--


From mirageos-devel-bounces@lists.xenproject.org Tue May 12 23:34:45 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 23:34:45 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsJhE-00037U-S1; Tue, 12 May 2015 23:34:44 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1YsJhD-000374-Fj
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 23:34:43 +0000
Received: from [193.109.254.147] by server-11.bemta-14.messagelabs.com id
	38/E8-02795-21E82555; Tue, 12 May 2015 23:34:42 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-2.tower-27.messagelabs.com!1431473681!17020244!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 25094 invoked from network); 12 May 2015 23:34:41 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-2.tower-27.messagelabs.com with SMTP;
	12 May 2015 23:34:41 -0000
Received: from [172.20.10.2]
	(175.224.197.178.dynamic.wless.zhbmb00p-cgnat.res.cust.swisscom.ch
	[178.197.224.175])
	by smtp.webfaction.com (Postfix) with ESMTP id 4935A210164E;
	Tue, 12 May 2015 23:34:40 +0000 (UTC)
Date: Wed, 13 May 2015 01:34:37 +0200
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
Message-ID: <B3A161052EA44AB88A21431873D1918C@erratique.ch>
In-Reply-To: <0637D28F-CC74-4E2C-8B2A-9207BC78568D@gazagnaire.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
	<0637D28F-CC74-4E2C-8B2A-9207BC78568D@gazagnaire.org>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: "=?utf-8?Q?mirageos-devel=40lists.xenproject.org?="
	<mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] test, quality, tcpip
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

TGUgbWFyZGksIDEyIG1haSAyMDE1IMOgIDIzOjU0LCBUaG9tYXMgR2F6YWduYWlyZSBhIMOpY3Jp
dCA6Cj4gLSBJJ20gbm90IGEgYmlnIGZhbiBvZiBwYXNzaW5nIHRoZSBsb2dnaW5nIGZ1bmN0aW9u
IGFzIGFuIGFyZ3VtZW50IGFzIHRoaXMgbWVhbnMgeW91IG5lZWQgdG8gdGhyZWFkIGl0IGV2ZXJ5
d2hlcmUgKGFuZCBpZiB5b3Ugd2FudCB0byBhZGQgc29tZSBsb2dnaW5nIHRvIGEgZnVuY3Rpb24s
IHlvdSdsbCBuZWVkIHRvIGNoYW5nZSBpdHMgdHlwZSkKSSBoYXZlIHRyaWVkIHRoZSBwYXNzaW5n
IHRoZSBsb2dnaW5nIGZ1bmN0aW9uIHRoaW5nIGFuZCBpdCBpcyBib3RoIHVnbHkgYW5kIGFubm95
aW5nLgoKCj4gc28gdGhlIGRlc2lnbiBvZiBMd3RfbG9nIGlzIGNvbXBlbGxpbmcgLSBidXQgbmVl
ZCB0byB0aGluZyBhIGJpdCBtb3JlIGFib3V0IHRoYXQKSGF2aW5nI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LiAgCgpEYW5p
ZWwKCgoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTWly
YWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qu
b3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8v
bWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Tue May 12 23:34:45 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 23:34:45 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsJhE-00037U-S1; Tue, 12 May 2015 23:34:44 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1YsJhD-000374-Fj
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 23:34:43 +0000
Received: from [193.109.254.147] by server-11.bemta-14.messagelabs.com id
	38/E8-02795-21E82555; Tue, 12 May 2015 23:34:42 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-2.tower-27.messagelabs.com!1431473681!17020244!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 25094 invoked from network); 12 May 2015 23:34:41 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-2.tower-27.messagelabs.com with SMTP;
	12 May 2015 23:34:41 -0000
Received: from [172.20.10.2]
	(175.224.197.178.dynamic.wless.zhbmb00p-cgnat.res.cust.swisscom.ch
	[178.197.224.175])
	by smtp.webfaction.com (Postfix) with ESMTP id 4935A210164E;
	Tue, 12 May 2015 23:34:40 +0000 (UTC)
Date: Wed, 13 May 2015 01:34:37 +0200
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
Message-ID: <B3A161052EA44AB88A21431873D1918C@erratique.ch>
In-Reply-To: <0637D28F-CC74-4E2C-8B2A-9207BC78568D@gazagnaire.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
	<0637D28F-CC74-4E2C-8B2A-9207BC78568D@gazagnaire.org>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: "=?utf-8?Q?mirageos-devel=40lists.xenproject.org?="
	<mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] test, quality, tcpip
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org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9yIGV4
YW1wbGUgaWYgeW91ciB1bmlrZXJuZWwgZG9lc24ndCBnZXQgYW4gSVAgYWRkcmVzcyBtYXliZSB0
aGVyZSdzIGEgcHJvYmxlbSB3aXRoIHlvdXIgbmV0d29yayBidXQgbm90IHdpdGggdGhlIHVuaWtl
cm5lbCBpdHNlbGYgYW5kIHlvdSB3YW50IHRvIGJlIGFibGUgdG8gcXVpY2tseSBhc3NlcyB0aGF0
IGluIHRoZSBsb2dzLCBoaWdobHkgZGV0YWlsZWQgdHJhY2luZyB3b3VsZG4ndCBiZSBuZWNlc3Nh
cnkgaGVyZS4gIAogIAo+IC0gSWYgYW55b25lIGtub3dzIGEgZ29vZCBleGlzdGluZyBsb2dnaW5n
IGxpYnJhcnkgdGhhdCB0aGV5IHVzZWQgaW4gb3RoZXIgbGFuZ3VhZ2VzLCBJJ20ga2VlbiB0byBo
YXZlIGEgbG9vay4KCkkga25vdyBvbmUgKm5vdCB0byBsb29rIGF0KiwgTG9nNGogKGF0IGxlYXN0
IHYxKSBhIGdvb2QgZXhhbXBsZSBvZiBvbyBidXJlYXVjcmF0aWMgbm9uLXNlbnNlLiAgCgpEYW5p
ZWwKCgoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTWly
YWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qu
b3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8v
bWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Tue May 12 23:44:11 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 23:44:11 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsJqK-0003hm-Lw; Tue, 12 May 2015 23:44:08 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YsJqK-0003he-0Y
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 23:44:08 +0000
Received: from [85.158.137.68] by server-12.bemta-3.messagelabs.com id
	C6/31-02928-64092555; Tue, 12 May 2015 23:44:06 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-10.tower-31.messagelabs.com!1431474245!14782924!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=1.0 required=7.0 tests=HTML_40_50,HTML_MESSAGE,
	MIME_QP_LONG_LINE,RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 11376 invoked from network); 12 May 2015 23:44:05 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-10.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 12 May 2015 23:44:05 -0000
Received: from [192.168.1.60] (cpc7-cmbg14-2-0-cust238.5-4.cable.virginm.net
	[86.30.244.239]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 82c20be8;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Wed, 13 May 2015 00:44:04 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <etPan.5552314f.705b21d4.2e88@Rudis-MacBook-Pro.local>
Date: Wed, 13 May 2015 00:44:03 +0100
Message-Id: <0600C86D-63F6-4700-B3B6-F4F62DBB93BB@recoil.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
	<7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>
	<4382CFB50FD64AFDA863FB6244D3FEA5@erratique.ch>
	<32C35BEB-47BF-4BC6-ACBB-844A7D778BD4@recoil.org>
	<555220B9.8000302@zoho.com>
	<9CC63A6E-41B8-4BF2-BFCA-9D49AEE987C4@recoil.org>
	<etPan.5552314f.705b21d4.2e88@Rudis-MacBook-Pro.local>
To: Rudi Grinberg <rudi.grinberg@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Logging
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============3372691242736642494=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============3372691242736642494==
Content-Type: multipart/alternative; boundary="Apple-Mail=_87565895-518E-480C-83AE-0879639803F8"


--Apple-Mail=_87565895-518E-480C-83AE-0879639803F8
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

On 12 May 2015, at 17:58, Rudi Grinberg <rudi.grinberg@gmail.com> wrote:
>=20
>>=20
>> > I like your "only one function" idea.=20
>> > The alternative of passing around the unique function is to have a =
global reference containing the dispatcher function. It's the solution =
used by Lwt_log. It's mostly equivalent (and it works ok in practice) =
but I think it's indeed better to pass the function explicitly.=20
>>=20
>> It should be possible to stash the logging function somewhere more =
convenient than every single function, but this depends on the library. =
In Cohttp and Conduit, the `ctx` context is a good place. For DNS, it's =
probably enough to pass it in to the library functions since they are =
fairly stateless.=20
>=20
> I=E2=80=99m curious about this comment about cohttp. There was =
actually a request on the bug tracker asking for better logging in =
cohttp but I mostly turned it down because it seems like any kind of =
logging you might want cohttp to do can be easily accomplished outside =
of cohttp. For example, if you=E2=80=99re using a cohttp as an http =
client, you only need to wrap your call function to print the request =
before it=E2=80=99s sent and the response just after it arrives. Adding =
this kind of logging to a cohttp server is similar.
>=20
> In fact, for the client use case we could really make it trivial for a =
user to add his own logging if we exposed a function that would =
construct all the little helpers such as get/post/put/delete/etc. from a =
basic log aware call function.
>=20
> Of course, this approach is inadequate if you want to log something =
that pertains cohttp=E2=80=99s internals. Which is exactly why we have =
the COHTTP_DEBUG env var today. I was never a huge fan of his approach =
either and have thought about improving it by introducing a functor (if =
you can call that an improvement) IO -> IO that would take a normal IO =
backend and return a logging one (or at least a COHTTP_DEBUG accepting =
one). But I=E2=80=99m not yet sure if this an improvement.
>=20
> Anyhow, this is getting off topic. I just mean to bring some for less =
intrusive approaches for logging.
>=20
It's definitely on topic -- the ad-hoc use of COHTTP_DEBUG and =
CONDUIT_DEBUG is what I'm hoping to get rid of in our libraries.  It's =
also essential to have access to similar functionality when compiled to =
a Xen unikernel as well as a Unix binary, and this is just a matter of =
establishing the right conventions.

For Cohttp, I like the idea of initialising a given `ctx` with a log =
level, and the library uses that to decide whether to dump its internals =
or not (similarly to `curl -vvv`).  By default, it would just log the =
URLs themselves.  A functor transformer is also possible, but it seems =
likely that we'll want to be able to turn the detailed debugging on =
dynamically rather than statically.

There's also the sequencing of log messages.  Although logging a single =
call is easy, Cohttp does also support pipelining, and so showing a =
sequence such as:
  - connected to 1.2.3.4:80
    - sending /foo
    - sending /bar
    - received response for /foo: 404
    - sending /bar2
    - received chunked response for /bar
    - sending /bar3
  - connected to 4.3.2.1:80
     ...

would be useful.  This also naturally composes with other libraries such =
as DNS gaining access to the same log stream.

-anil=

--Apple-Mail=_87565895-518E-480C-83AE-0879639803F8
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">On 12 May 2015, at 17:58, Rudi Grinberg &lt;<a =
href=3D"mailto:rudi.grinberg@gmail.com" =
class=3D"">rudi.grinberg@gmail.com</a>&gt; wrote:<br =
class=3D""><div><blockquote type=3D"cite" class=3D""><br =
class=3D"Apple-interchange-newline"><div class=3D""><div =
style=3D"font-family: Helvetica, Arial; font-size: 13px; font-style: =
normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; orphans: auto; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; widows: =
auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><blockquote type=3D"cite" class=3D"clean_bq" =
style=3D"font-family: Helvetica, Arial; font-size: 13px; font-style: =
normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; orphans: auto; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; widows: =
auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span =
class=3D""><br class=3D"Apple-interchange-newline">&gt; I like your =
"only one function" idea.&nbsp;<br class=3D"">&gt; The alternative of =
passing around the unique function is to have a global reference =
containing the dispatcher function. It's the solution used by Lwt_log. =
It's mostly equivalent (and it works ok in practice) but I think it's =
indeed better to pass the function explicitly.&nbsp;<br class=3D""><br =
class=3D"">It should be possible to stash the logging function somewhere =
more convenient than every single function, but this depends on the =
library. In Cohttp and Conduit, the `ctx` context is a good place. For =
DNS, it's probably enough to pass it in to the library functions since =
they are fairly stateless.&nbsp;</span></blockquote></div><p =
style=3D"font-family: Helvetica, Arial; font-size: 13px; font-style: =
normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; orphans: auto; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; widows: =
auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D"">I=E2=80=
=99m curious about this comment about cohttp. There was actually a =
request on the bug tracker asking for better logging in cohttp but I =
mostly turned it down because it seems like any kind of logging you =
might want cohttp to do can be easily accomplished outside of cohttp. =
For example, if you=E2=80=99re using a cohttp as an http client, you =
only need to wrap your call function to print the request before it=E2=80=99=
s sent and the response just after it arrives. Adding this kind of =
logging to a cohttp server is similar.</p><p style=3D"font-family: =
Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: =
normal; font-weight: normal; letter-spacing: normal; line-height: =
normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D"">In fact, for the client =
use case we could really make it trivial for a user to add his own =
logging if we exposed a function that would construct all the little =
helpers such as get/post/put/delete/etc. from a basic log aware call =
function.</p><p style=3D"font-family: Helvetica, Arial; font-size: 13px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D"">Of course, this approach is inadequate if you want to log =
something that pertains cohttp=E2=80=99s internals. Which is exactly why =
we have the COHTTP_DEBUG env var today. I was never a huge fan of his =
approach either and have thought about improving it by introducing a =
functor (if you can call that an improvement) IO -&gt; IO that would =
take a normal IO backend and return a logging one (or at least a =
COHTTP_DEBUG accepting one). But I=E2=80=99m not yet sure if this an =
improvement.</p><p style=3D"font-family: Helvetica, Arial; font-size: =
13px; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D"">Anyhow, this is getting off topic. I just mean to bring some =
for less intrusive approaches for logging.</p></div></blockquote>It's =
definitely on topic -- the ad-hoc use of COHTTP_DEBUG and CONDUIT_DEBUG =
is what I'm hoping to get rid of in our libraries. &nbsp;It's also =
essential to have access to similar functionality when compiled to a Xen =
unikernel as well as a Unix binary, and this is just a matter of =
establishing the right conventions.</div><div><br =
class=3D""></div><div>For Cohttp, I like the idea of initialising a =
given `ctx` with a log level, and the library uses that to decide =
whether to dump its internals or not (similarly to `curl -vvv`). =
&nbsp;By default, it would just log the URLs themselves. &nbsp;A functor =
transformer is also possible, but it seems likely that we'll want to be =
able to turn the detailed debugging on dynamically rather than =
statically.</div><div><br class=3D""></div><div>There's also the =
sequencing of log messages. &nbsp;Although logging a single call is =
easy, Cohttp does also support pipelining, and so showing a sequence =
such as:</div><div>&nbsp; - connected to 1.2.3.4:80</div><div>&nbsp; =
&nbsp; - sending /foo</div><div>&nbsp; &nbsp; - sending =
/bar</div><div>&nbsp; &nbsp; - received response for /foo: =
404</div><div>&nbsp; &nbsp; - sending /bar2</div><div>&nbsp; &nbsp; - =
received chunked response for /bar</div><div>&nbsp; &nbsp; - sending =
/bar3</div><div>&nbsp; - connected to 4.3.2.1:80</div><div>&nbsp; &nbsp; =
&nbsp;...</div><div><br class=3D""></div><div>would be useful. =
&nbsp;This also naturally composes with other libraries such as DNS =
gaining access to the same log stream.</div><div><br =
class=3D""></div><div>-anil</div></body></html>=

--Apple-Mail=_87565895-518E-480C-83AE-0879639803F8--


--===============3372691242736642494==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============3372691242736642494==--


From mirageos-devel-bounces@lists.xenproject.org Tue May 12 23:44:11 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 12 May 2015 23:44:11 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsJqK-0003hm-Lw; Tue, 12 May 2015 23:44:08 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YsJqK-0003he-0Y
	for mirageos-devel@lists.xenproject.org; Tue, 12 May 2015 23:44:08 +0000
Received: from [85.158.137.68] by server-12.bemta-3.messagelabs.com id
	C6/31-02928-64092555; Tue, 12 May 2015 23:44:06 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-10.tower-31.messagelabs.com!1431474245!14782924!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=1.0 required=7.0 tests=HTML_40_50,HTML_MESSAGE,
	MIME_QP_LONG_LINE,RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 11376 invoked from network); 12 May 2015 23:44:05 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-10.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 12 May 2015 23:44:05 -0000
Received: from [192.168.1.60] (cpc7-cmbg14-2-0-cust238.5-4.cable.virginm.net
	[86.30.244.239]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 82c20be8;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Wed, 13 May 2015 00:44:04 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <etPan.5552314f.705b21d4.2e88@Rudis-MacBook-Pro.local>
Date: Wed, 13 May 2015 00:44:03 +0100
Message-Id: <0600C86D-63F6-4700-B3B6-F4F62DBB93BB@recoil.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
	<7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>
	<4382CFB50FD64AFDA863FB6244D3FEA5@erratique.ch>
	<32C35BEB-47BF-4BC6-ACBB-844A7D778BD4@recoil.org>
	<555220B9.8000302@zoho.com>
	<9CC63A6E-41B8-4BF2-BFCA-9D49AEE987C4@recoil.org>
	<etPan.5552314f.705b21d4.2e88@Rudis-MacBook-Pro.local>
To: Rudi Grinberg <rudi.grinberg@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Logging
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============3372691242736642494=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============3372691242736642494==
Content-Type: multipart/alternative; boundary="Apple-Mail=_87565895-518E-480C-83AE-0879639803F8"


--Apple-Mail=_87565895-518E-480C-83AE-0879639803F8
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

On 12 May 2015, at 17:58, Rudi Grinberg <rudi.grinberg@gmail.com> wrote:
>=20
>>=20
>> > I like your "only one function" idea.=20
>> > The alternative of passing around the unique function is to have a =
global reference containing the dispatcher function. It's the solution =
used by Lwt_log. It's mostly equivalent (and it works ok in practice) =
but I think it's indeed better to pass the function explicitly.=20
>>=20
>> It should be possible to stash the logging function somewhere more =
convenient than every single function, but this depends on the library. =
In Cohttp and Conduit, the `ctx` context is a good place. For DNS, it's =
probably enough to pass it in to the library functions since they are =
fairly stateless.=20
>=20
> I=E2=80=99m curious about this comment about cohttp. There was =
actually a request on the bug tracker asking for better logging in =
cohttp but I mostly turned it down because it seems like any kind of =
logging you might want cohttp to do can be easily accomplished outside =
of cohttp. For example, if you=E2=80=99re using a cohttp as an http =
client, you only need to wrap your call function to print the request =
before it=E2=80=99s sent and the response just after it arrives. Adding =
this kind of logging to a cohttp server is similar.
>=20
> In fact, for the client use case we could really make it trivial for a =
user to add his own logging if we exposed a function that would =
construct all the little helpers such as get/post/put/delete/etc. from a =
basic log aware call function.
>=20
> Of course, this approach is inadequate if you want to log something =
that pertains cohttp=E2=80=99s internals. Which is exactly why we have =
the COHTTP_DEBUG env var today. I was never a huge fan of his approach =
either and have thought about improving it by introducing a functor (if =
you can call that an improvement) IO -> IO that would take a normal IO =
backend and return a logging one (or at least a COHTTP_DEBUG accepting =
one). But I=E2=80=99m not yet sure if this an improvement.
>=20
> Anyhow, this is getting off topic. I just mean to bring some for less =
intrusive approaches for logging.
>=20
It's definitely on topic -- the ad-hoc use of COHTTP_DEBUG and =
CONDUIT_DEBUG is what I'm hoping to get rid of in our libraries.  It's =
also essential to have access to similar functionality when compiled to =
a Xen unikernel as well as a Unix binary, and this is just a matter of =
establishing the right conventions.

For Cohttp, I like the idea of initialising a given `ctx` with a log =
level, and the library uses that to decide whether to dump its internals =
or not (similarly to `curl -vvv`).  By default, it would just log the =
URLs themselves.  A functor transformer is also possible, but it seems =
likely that we'll want to be able to turn the detailed debugging on =
dynamically rather than statically.

There's also the sequencing of log messages.  Although logging a single =
call is easy, Cohttp does also support pipelining, and so showing a =
sequence such as:
  - connected to 1.2.3.4:80
    - sending /foo
    - sending /bar
    - received response for /foo: 404
    - sending /bar2
    - received chunked response for /bar
    - sending /bar3
  - connected to 4.3.2.1:80
     ...

would be useful.  This also naturally composes with other libraries such =
as DNS gaining access to the same log stream.

-anil=

--Apple-Mail=_87565895-518E-480C-83AE-0879639803F8
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">On 12 May 2015, at 17:58, Rudi Grinberg &lt;<a =
href=3D"mailto:rudi.grinberg@gmail.com" =
class=3D"">rudi.grinberg@gmail.com</a>&gt; wrote:<br =
class=3D""><div><blockquote type=3D"cite" class=3D""><br =
class=3D"Apple-interchange-newline"><div class=3D""><div =
style=3D"font-family: Helvetica, Arial; font-size: 13px; font-style: =
normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; orphans: auto; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; widows: =
auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><blockquote type=3D"cite" class=3D"clean_bq" =
style=3D"font-family: Helvetica, Arial; font-size: 13px; font-style: =
normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; orphans: auto; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; widows: =
auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span =
class=3D""><br class=3D"Apple-interchange-newline">&gt; I like your =
"only one function" idea.&nbsp;<br class=3D"">&gt; The alternative of =
passing around the unique function is to have a global reference =
containing the dispatcher function. It's the solution used by Lwt_log. =
It's mostly equivalent (and it works ok in practice) but I think it's =
indeed better to pass the function explicitly.&nbsp;<br class=3D""><br =
class=3D"">It should be possible to stash the logging function somewhere =
more convenient than every single function, but this depends on the =
library. In Cohttp and Conduit, the `ctx` context is a good place. For =
DNS, it's probably enough to pass it in to the library functions since =
they are fairly stateless.&nbsp;</span></blockquote></div><p =
style=3D"font-family: Helvetica, Arial; font-size: 13px; font-style: =
normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; orphans: auto; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; widows: =
auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D"">I=E2=80=
=99m curious about this comment about cohttp. There was actually a =
request on the bug tracker asking for better logging in cohttp but I =
mostly turned it down because it seems like any kind of logging you =
might want cohttp to do can be easily accomplished outside of cohttp. =
For example, if you=E2=80=99re using a cohttp as an http client, you =
only need to wrap your call function to print the request before it=E2=80=99=
s sent and the response just after it arrives. Adding this kind of =
logging to a cohttp server is similar.</p><p style=3D"font-family: =
Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: =
normal; font-weight: normal; letter-spacing: normal; line-height: =
normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D"">In fact, for the client =
use case we could really make it trivial for a user to add his own =
logging if we exposed a function that would construct all the little =
helpers such as get/post/put/delete/etc. from a basic log aware call =
function.</p><p style=3D"font-family: Helvetica, Arial; font-size: 13px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D"">Of course, this approach is inadequate if you want to log =
something that pertains cohttp=E2=80=99s internals. Which is exactly why =
we have the COHTTP_DEBUG env var today. I was never a huge fan of his =
approach either and have thought about improving it by introducing a =
functor (if you can call that an improvement) IO -&gt; IO that would =
take a normal IO backend and return a logging one (or at least a =
COHTTP_DEBUG accepting one). But I=E2=80=99m not yet sure if this an =
improvement.</p><p style=3D"font-family: Helvetica, Arial; font-size: =
13px; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D"">Anyhow, this is getting off topic. I just mean to bring some =
for less intrusive approaches for logging.</p></div></blockquote>It's =
definitely on topic -- the ad-hoc use of COHTTP_DEBUG and CONDUIT_DEBUG =
is what I'm hoping to get rid of in our libraries. &nbsp;It's also =
essential to have access to similar functionality when compiled to a Xen =
unikernel as well as a Unix binary, and this is just a matter of =
establishing the right conventions.</div><div><br =
class=3D""></div><div>For Cohttp, I like the idea of initialising a =
given `ctx` with a log level, and the library uses that to decide =
whether to dump its internals or not (similarly to `curl -vvv`). =
&nbsp;By default, it would just log the URLs themselves. &nbsp;A functor =
transformer is also possible, but it seems likely that we'll want to be =
able to turn the detailed debugging on dynamically rather than =
statically.</div><div><br class=3D""></div><div>There's also the =
sequencing of log messages. &nbsp;Although logging a single call is =
easy, Cohttp does also support pipelining, and so showing a sequence =
such as:</div><div>&nbsp; - connected to 1.2.3.4:80</div><div>&nbsp; =
&nbsp; - sending /foo</div><div>&nbsp; &nbsp; - sending =
/bar</div><div>&nbsp; &nbsp; - received response for /foo: =
404</div><div>&nbsp; &nbsp; - sending /bar2</div><div>&nbsp; &nbsp; - =
received chunked response for /bar</div><div>&nbsp; &nbsp; - sending =
/bar3</div><div>&nbsp; - connected to 4.3.2.1:80</div><div>&nbsp; &nbsp; =
&nbsp;...</div><div><br class=3D""></div><div>would be useful. =
&nbsp;This also naturally composes with other libraries such as DNS =
gaining access to the same log stream.</div><div><br =
class=3D""></div><div>-anil</div></body></html>=

--Apple-Mail=_87565895-518E-480C-83AE-0879639803F8--


--===============3372691242736642494==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============3372691242736642494==--


From mirageos-devel-bounces@lists.xenproject.org Wed May 13 08:59:06 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 13 May 2015 08:59:06 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsSVE-0002UZ-B7; Wed, 13 May 2015 08:58:56 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1YsSVC-0002UN-Gh
	for mirageos-devel@lists.xenproject.org; Wed, 13 May 2015 08:58:55 +0000
Received: from [193.109.254.147] by server-13.bemta-14.messagelabs.com id
	30/C8-02669-D4213555; Wed, 13 May 2015 08:58:53 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-10.tower-27.messagelabs.com!1431507532!17146074!1
X-Originating-IP: [209.85.215.54]
X-SpamReason: No, hits=0.8 required=7.0 tests=BODY_RANDOM_LONG,
  RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 28032 invoked from network); 13 May 2015 08:58:52 -0000
Received: from mail-la0-f54.google.com (HELO mail-la0-f54.google.com)
	(209.85.215.54)
	by server-10.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	13 May 2015 08:58:52 -0000
Received: by lagv1 with SMTP id v1so24347610lag.3
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 13 May 2015 01:58:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=YNJIqyjjIZsdWc5u86aLZevo1XZvwwkv5tZUFi4L0Zc=;
	b=HljrG8XfsmmI9eaCPUiYlXOQC/PcXixhhIPIx/zbeLZKFJZJWj1+VhMTI/3VMQpJbl
	RZRo0oZ9VJFOhd1rz1MVD2ZuNpJCCCeAEU708e0NEHu/MmeuWSXsjaRIsaUTBgctS+o+
	C2Xa366b7ni4FGaDcVZ53k1G+GDUR2B9mYSg3P0Bk6YJTRly20yz2Yzz9TygDgimd1Hk
	GPy1bZJ/DD1KdtbnrSNTRvzV7dLysbHzgulA1gjt5yOFejf7JhmJbCYKe36oLA+dw4X6
	RUUpMEVOXgNk/qRIRCBFNrJnkOBuqmJe8Z9oxHERqm4+Oi4WSfgyrGJ5ruJ2zKd88uG/
	WTIw==
MIME-Version: 1.0
X-Received: by 10.112.157.100 with SMTP id wl4mr15314545lbb.20.1431507531842; 
	Wed, 13 May 2015 01:58:51 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Wed, 13 May 2015 01:58:51 -0700 (PDT)
In-Reply-To: <0637D28F-CC74-4E2C-8B2A-9207BC78568D@gazagnaire.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
	<0637D28F-CC74-4E2C-8B2A-9207BC78568D@gazagnaire.org>
Date: Wed, 13 May 2015 09:58:51 +0100
Message-ID: <CAG4opy8khsdnBXjKNYzjFH5eCxe9uZ1=UvNjmM6+s5kU7D-8pg@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] test, quality, tcpip
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 12 May 2015 at 22:54, Thomas Gazagnaire <thomas@gazagnaire.org> wrote:
>>
>> An other point which is cruelly missing is a proper logging system - which
>> is central when debugging runtime errors.
>
>
> Thomas, do you have any thoughts about what a proper logging system would
> look like? What features it would provide? I'm experimenting a little with
> this already, making a logger that can write messages to the console and
> also send as syslog. I'd be interested in trying to expand this and make it
> into something generally useful for Mirage but would probably need a bit of
> guidance to begin with.
>
> I'm aware of https://github.com/UnixJunkie/dolog and wondering whether this
> is a good starting point, if it were functorized to accept the Mirage
> console signature?
>
>
> As Anil said, I don't thing re-using dolog is a good idea (dolog serves its
> purposes nicely but it is not what we want as a general logging library for
> MirageOS). I have not yet a very clear idea of what we should do, but I plan
> to spend some time soon to come up with a more concrete proposal.

I spent a few years using log4j. I actually thought it was pretty
good, especially for larger systems. The only real problem with
logging in Java is that there are multiple systems in widespread use
and figuring out which logging system to configure to get messages
from a particular component is a nightmare.

Each component creates a Logger object and logs messages against it,
with a level. e.g.

package com.example;
class Foo {
  static Logger log = Logger.getLogger(Foo.class.getName());
  ...
  public void bar() {
    log.info("Hello");
  }
}

Using Foo.class.getName() rather than "com.example.Foo" avoids typos
in the logger name, and means it can't get out of date if the package
changes.

Introspection lets it discover the method name and line number
automatically. This can slow down the logging, but it's configurable
at runtime.

One hugely useful feature is being able to attach exceptions to log
messages. e.g.

  try { ... }
  catch (Exception ex) {
    log.warn("Problem doing X", ex);
  }

In the configuration file, you can specific a filter level for each
component (e.g. "Log everything under com.example at INFO level or
higher by default, but log com.example.Foo at DEBUG"):

log4j.logger.com.example=INFO
log4j.logger.com.example.Foo=DEBUG

This is especially useful when you have components written by
different people, because they tend to have different opinions about
how verbose to be. It's also very useful when trying to track down a
problem without getting DEBUG output from everything.

Once a message has passed its component filter, it is then distributed
to various configured "appenders" (backends), and these also have
filters. For example, you could log everything to a file, but only
warnings and higher to the console.

> Few remarks:
>
> - I'm in favour of designing something from scratch

The critical thing is how components generate messages. It would be
*really* useful to have a single API, so every OCaml library can use
"the OCaml log API" and it's up to the final link which concrete
library to use. It might be worth talking to the authors of the other
systems to see if there's any possibilty of agreement here.

In particular, the API for generating logging events should be
separate from the API for configuring logging output (which depends on
the specific system being used).

> - I also don't particularly like the usual warn/debug/info/error stuff (I
> tend to use debug/error only anyway)

I think INFO is very useful. For example, a web-server would log
requests at INFO level. There are lots of other non-debug, non-warning
events like this you want (startup complete, new IP address assigned,
etc).

> - Using Irmin is a good idea if it's available but I'd like to not enforce
> it as a dependency if possible

Yes. To get widespread use, the logging API should have no dependencies itself.

Another useful optional backend would be the tracing system, so that
log messages appear in the trace, attached to the Lwt thread that
generated them.

> - I'm not a big fan of passing the logging function as an argument as this
> means you need to thread it everywhere (and if you want to add some logging
> to a function, you'll need to change its type) so the design of Lwt_log is
> compelling - but need to thing a bit more about that

I'm undecided about this. It is annoying when you want to log
something and you have to thread a logger all though the code to do
it. However, there are some useful benefits to passing it:

- You can run two largely independent applications in a single
unikernel, with separate logging for each.

- You could run two IP stacks, and log each interface to its own file.

- main.ml can choose the top-level names for each logger, and then
each module can create a child logger for sub-components it creates,
forming a tree. This makes it easy to see where a message is coming
from, which isn't always obvious if modules choose their own names.

Having it on every function might be too much, but perhaps a functor
argument would do? Or perhaps have both options, Irmin-style.

> - I quite like the "with-trace" function of bigloo[1] and I found it quite
> useful in practice (although I would replace the trace level by some section
> names that you could turn-off/on dynamically and/or statically)
> - It is always hard to find the right balance of things to log or to not log
> and I'm not sure how we can have a general solution for this without runtime
> control. Spamming the log traces is very useful when you debug and or when
> you try to fix a weird production issue, but you also want to be fast and
> avoid DoS ...
> - I also quite liked reading stuff about Finagle/Zipkin[2] (although I never
> used it in practice) and that would be quite nice if we had a similar
> logging story for MirageOS
> - If anyone knows a good existing logging library that they used in other
> languages, I'm keen to have a look.


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 13 08:59:06 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 13 May 2015 08:59:06 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsSVE-0002UZ-B7; Wed, 13 May 2015 08:58:56 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1YsSVC-0002UN-Gh
	for mirageos-devel@lists.xenproject.org; Wed, 13 May 2015 08:58:55 +0000
Received: from [193.109.254.147] by server-13.bemta-14.messagelabs.com id
	30/C8-02669-D4213555; Wed, 13 May 2015 08:58:53 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-10.tower-27.messagelabs.com!1431507532!17146074!1
X-Originating-IP: [209.85.215.54]
X-SpamReason: No, hits=0.8 required=7.0 tests=BODY_RANDOM_LONG,
  RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 28032 invoked from network); 13 May 2015 08:58:52 -0000
Received: from mail-la0-f54.google.com (HELO mail-la0-f54.google.com)
	(209.85.215.54)
	by server-10.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	13 May 2015 08:58:52 -0000
Received: by lagv1 with SMTP id v1so24347610lag.3
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 13 May 2015 01:58:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=YNJIqyjjIZsdWc5u86aLZevo1XZvwwkv5tZUFi4L0Zc=;
	b=HljrG8XfsmmI9eaCPUiYlXOQC/PcXixhhIPIx/zbeLZKFJZJWj1+VhMTI/3VMQpJbl
	RZRo0oZ9VJFOhd1rz1MVD2ZuNpJCCCeAEU708e0NEHu/MmeuWSXsjaRIsaUTBgctS+o+
	C2Xa366b7ni4FGaDcVZ53k1G+GDUR2B9mYSg3P0Bk6YJTRly20yz2Yzz9TygDgimd1Hk
	GPy1bZJ/DD1KdtbnrSNTRvzV7dLysbHzgulA1gjt5yOFejf7JhmJbCYKe36oLA+dw4X6
	RUUpMEVOXgNk/qRIRCBFNrJnkOBuqmJe8Z9oxHERqm4+Oi4WSfgyrGJ5ruJ2zKd88uG/
	WTIw==
MIME-Version: 1.0
X-Received: by 10.112.157.100 with SMTP id wl4mr15314545lbb.20.1431507531842; 
	Wed, 13 May 2015 01:58:51 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Wed, 13 May 2015 01:58:51 -0700 (PDT)
In-Reply-To: <0637D28F-CC74-4E2C-8B2A-9207BC78568D@gazagnaire.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
	<0637D28F-CC74-4E2C-8B2A-9207BC78568D@gazagnaire.org>
Date: Wed, 13 May 2015 09:58:51 +0100
Message-ID: <CAG4opy8khsdnBXjKNYzjFH5eCxe9uZ1=UvNjmM6+s5kU7D-8pg@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] test, quality, tcpip
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 12 May 2015 at 22:54, Thomas Gazagnaire <thomas@gazagnaire.org> wrote:
>>
>> An other point which is cruelly missing is a proper logging system - which
>> is central when debugging runtime errors.
>
>
> Thomas, do you have any thoughts about what a proper logging system would
> look like? What features it would provide? I'm experimenting a little with
> this already, making a logger that can write messages to the console and
> also send as syslog. I'd be interested in trying to expand this and make it
> into something generally useful for Mirage but would probably need a bit of
> guidance to begin with.
>
> I'm aware of https://github.com/UnixJunkie/dolog and wondering whether this
> is a good starting point, if it were functorized to accept the Mirage
> console signature?
>
>
> As Anil said, I don't thing re-using dolog is a good idea (dolog serves its
> purposes nicely but it is not what we want as a general logging library for
> MirageOS). I have not yet a very clear idea of what we should do, but I plan
> to spend some time soon to come up with a more concrete proposal.

I spent a few years using log4j. I actually thought it was pretty
good, especially for larger systems. The only real problem with
logging in Java is that there are multiple systems in widespread use
and figuring out which logging system to configure to get messages
from a particular component is a nightmare.

Each component creates a Logger object and logs messages against it,
with a level. e.g.

package com.example;
class Foo {
  static Logger log = Logger.getLogger(Foo.class.getName());
  ...
  public void bar() {
    log.info("Hello");
  }
}

Using Foo.class.getName() rather than "com.example.Foo" avoids typos
in the logger name, and means it can't get out of date if the package
changes.

Introspection lets it discover the method name and line number
automatically. This can slow down the logging, but it's configurable
at runtime.

One hugely useful feature is being able to attach exceptions to log
messages. e.g.

  try { ... }
  catch (Exception ex) {
    log.warn("Problem doing X", ex);
  }

In the configuration file, you can specific a filter level for each
component (e.g. "Log everything under com.example at INFO level or
higher by default, but log com.example.Foo at DEBUG"):

log4j.logger.com.example=INFO
log4j.logger.com.example.Foo=DEBUG

This is especially useful when you have components written by
different people, because they tend to have different opinions about
how verbose to be. It's also very useful when trying to track down a
problem without getting DEBUG output from everything.

Once a message has passed its component filter, it is then distributed
to various configured "appenders" (backends), and these also have
filters. For example, you could log everything to a file, but only
warnings and higher to the console.

> Few remarks:
>
> - I'm in favour of designing something from scratch

The critical thing is how components generate messages. It would be
*really* useful to have a single API, so every OCaml library can use
"the OCaml log API" and it's up to the final link which concrete
library to use. It might be worth talking to the authors of the other
systems to see if there's any possibilty of agreement here.

In particular, the API for generating logging events should be
separate from the API for configuring logging output (which depends on
the specific system being used).

> - I also don't particularly like the usual warn/debug/info/error stuff (I
> tend to use debug/error only anyway)

I think INFO is very useful. For example, a web-server would log
requests at INFO level. There are lots of other non-debug, non-warning
events like this you want (startup complete, new IP address assigned,
etc).

> - Using Irmin is a good idea if it's available but I'd like to not enforce
> it as a dependency if possible

Yes. To get widespread use, the logging API should have no dependencies itself.

Another useful optional backend would be the tracing system, so that
log messages appear in the trace, attached to the Lwt thread that
generated them.

> - I'm not a big fan of passing the logging function as an argument as this
> means you need to thread it everywhere (and if you want to add some logging
> to a function, you'll need to change its type) so the design of Lwt_log is
> compelling - but need to thing a bit more about that

I'm undecided about this. It is annoying when you want to log
something and you have to thread a logger all though the code to do
it. However, there are some useful benefits to passing it:

- You can run two largely independent applications in a single
unikernel, with separate logging for each.

- You could run two IP stacks, and log each interface to its own file.

- main.ml can choose the top-level names for each logger, and then
each module can create a child logger for sub-components it creates,
forming a tree. This makes it easy to see where a message is coming
from, which isn't always obvious if modules choose their own names.

Having it on every function might be too much, but perhaps a functor
argument would do? Or perhaps have both options, Irmin-style.

> - I quite like the "with-trace" function of bigloo[1] and I found it quite
> useful in practice (although I would replace the trace level by some section
> names that you could turn-off/on dynamically and/or statically)
> - It is always hard to find the right balance of things to log or to not log
> and I'm not sure how we can have a general solution for this without runtime
> control. Spamming the log traces is very useful when you debug and or when
> you try to fix a weird production issue, but you also want to be fast and
> avoid DoS ...
> - I also quite liked reading stuff about Finagle/Zipkin[2] (although I never
> used it in practice) and that would be quite nice if we had a similar
> logging story for MirageOS
> - If anyone knows a good existing logging library that they used in other
> languages, I'm keen to have a look.


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 13 09:38:13 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 13 May 2015 09:38:13 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsT70-0006Tg-E1; Wed, 13 May 2015 09:37:58 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <kosmo.zb@gmail.com>) id 1YsT6y-0006TR-VV
	for mirageos-devel@lists.xenproject.org; Wed, 13 May 2015 09:37:57 +0000
Received: from [85.158.139.211] by server-2.bemta-5.messagelabs.com id
	93/A6-03031-47B13555; Wed, 13 May 2015 09:37:56 +0000
X-Env-Sender: kosmo.zb@gmail.com
X-Msg-Ref: server-3.tower-206.messagelabs.com!1431509873!7009371!1
X-Originating-IP: [209.85.213.46]
X-SpamReason: No, hits=0.8 required=7.0 tests=BODY_RANDOM_LONG,
  RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 7553 invoked from network); 13 May 2015 09:37:54 -0000
Received: from mail-yh0-f46.google.com (HELO mail-yh0-f46.google.com)
	(209.85.213.46)
	by server-3.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	13 May 2015 09:37:54 -0000
Received: by yhda23 with SMTP id a23so11815311yhd.2
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 13 May 2015 02:37:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type:content-transfer-encoding;
	bh=0+haAMPBarasHKeyu3EsZu9rm0HnHG44KfTdYvV5a10=;
	b=GddnY09K4sMnpLyrEMz5tII/PJ9pOO1w8xyoXx+klQggW7SRgjvZ2jK25Ffj+ayBOI
	X5OeKnDqZ0FaI4gHJRCrc/UWawoq4q4h+pUxlSksYYHlgWP68glzoNjJeJQkYzbVDKLi
	YsDDVUClOnO+yPEVGKekzxMHpG+STERonk5j8CPreLRXeC4F+hFlS416gexVxPx3ntNo
	N5TVAxfL1ISXMEKndR3O/BYmAYzO5i+68ffKflCvOYbWVXATuso/O0xa2hqG+4yGtreT
	Gd2Fx/Xej949UmDGh9AV4T37W0YnQmzEoQsGkqNIRY/Q2QVsExHFsYaxoDAanIvQpjTA
	6S6Q==
MIME-Version: 1.0
X-Received: by 10.170.150.7 with SMTP id r7mr21964828ykc.48.1431509871797;
	Wed, 13 May 2015 02:37:51 -0700 (PDT)
Received: by 10.129.145.2 with HTTP; Wed, 13 May 2015 02:37:51 -0700 (PDT)
In-Reply-To: <0600C86D-63F6-4700-B3B6-F4F62DBB93BB@recoil.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
	<7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>
	<4382CFB50FD64AFDA863FB6244D3FEA5@erratique.ch>
	<32C35BEB-47BF-4BC6-ACBB-844A7D778BD4@recoil.org>
	<555220B9.8000302@zoho.com>
	<9CC63A6E-41B8-4BF2-BFCA-9D49AEE987C4@recoil.org>
	<etPan.5552314f.705b21d4.2e88@Rudis-MacBook-Pro.local>
	<0600C86D-63F6-4700-B3B6-F4F62DBB93BB@recoil.org>
Date: Wed, 13 May 2015 10:37:51 +0100
X-Google-Sender-Auth: 9V5V58DIEvPLrcb39xCowAjQ4r0
Message-ID: <CAAWM5TxurN5HQu0-0y2TpmG9LE88nyUdt4CMZi2gCLhFtHR+=Q@mail.gmail.com>
From: David Sheets <sheets@alum.mit.edu>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Logging
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gV2VkLCBNYXkgMTMsIDIwMTUgYXQgMTI6NDQgQU0sIEFuaWwgTWFkaGF2YXBlZGR5IDxhbmls
QHJlY29pbC5vcmc+IHdyb3RlOgo+IE9uIDEyIE1heSAyMDE1LCBhdCAxNzo1OCwgUnVkaSBHcmlu
YmVyZyA8cnVkaS5ncmluYmVyZ0BnbWFpbC5jb20+IHdyb3RlOgo+Cj4KPgo+PiBJIGxpa2UgeW91
ciAib25seSBvbmUgZnVuY3Rpb24iIGlkZWEuCj4+IFRoZSBhbHRlcm5hdGl2ZSBvZiBwYXNzaW5n
IGFyb3VuZCB0aGUgdW5pcXVlIGZ1bmN0aW9uIGlzIHRvIGhhdmUgYSBnbG9iYWwKPj4gcmVmZXJl
bmNlIGNvbnRhaW5pbmcgdGhlIGRpc3BhdGNoZXIgZnVuY3Rpb24uIEl0J3MgdGhlIHNvbHV0aW9u
IHVzZWQgYnkKPj4gTHd0X2xvZy4gSXQncyBtb3N0bHkgZXF1aXZhbGVudCAoYW5kIGl0IHdvcmtz
IG9rIGluIHByYWN0aWNlKSBidXQgSSB0aGluawo+PiBpdCdzIGluZGVlZCBiZXR0ZXIgdG8gcGFz
cyB0aGUgZnVuY3Rpb24gZXhwbGljaXRseS4KPgo+IEl0IHNob3VsZCBiZSBwb3NzaWJsZSB0byBz
dGFzaCB0aGUgbG9nZ2luZyBmdW5jdGlvbiBzb21ld2hlcmUgbW9yZQo+IGNvbnZlbmllbnQgdGhh
biBldmVyeSBzaW5nbGUgZnVuY3Rpb24sIGJ1dCB0aGlzIGRlcGVuZHMgb24gdGhlIGxpYnJhcnku
IEluCj4gQ29odHRwIGFuZCBDb25kdWl0LCB0aGUgYGN0eGAgY29udGV4dCBpcyBhIGdvb2QgcGxh
Y2UuIEZvciBETlMsIGl0J3MKPiBwcm9iYWJseSBlbm91Z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yYWdlT1MtZGV2ZWwgbWFpbGluZyBs
aXN0Cj4gTWlyYWdlT1MtZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKPiBodHRwOi8vbGlzdHMu
eGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCj4K
Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCk1pcmFnZU9T
LWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpo
dHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFn
ZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Wed May 13 09:38:13 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 13 May 2015 09:38:13 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsT70-0006Tg-E1; Wed, 13 May 2015 09:37:58 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <kosmo.zb@gmail.com>) id 1YsT6y-0006TR-VV
	for mirageos-devel@lists.xenproject.org; Wed, 13 May 2015 09:37:57 +0000
Received: from [85.158.139.211] by server-2.bemta-5.messagelabs.com id
	93/A6-03031-47B13555; Wed, 13 May 2015 09:37:56 +0000
X-Env-Sender: kosmo.zb@gmail.com
X-Msg-Ref: server-3.tower-206.messagelabs.com!1431509873!7009371!1
X-Originating-IP: [209.85.213.46]
X-SpamReason: No, hits=0.8 required=7.0 tests=BODY_RANDOM_LONG,
  RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 7553 invoked from network); 13 May 2015 09:37:54 -0000
Received: from mail-yh0-f46.google.com (HELO mail-yh0-f46.google.com)
	(209.85.213.46)
	by server-3.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	13 May 2015 09:37:54 -0000
Received: by yhda23 with SMTP id a23so11815311yhd.2
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 13 May 2015 02:37:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type:content-transfer-encoding;
	bh=0+haAMPBarasHKeyu3EsZu9rm0HnHG44KfTdYvV5a10=;
	b=GddnY09K4sMnpLyrEMz5tII/PJ9pOO1w8xyoXx+klQggW7SRgjvZ2jK25Ffj+ayBOI
	X5OeKnDqZ0FaI4gHJRCrc/UWawoq4q4h+pUxlSksYYHlgWP68glzoNjJeJQkYzbVDKLi
	YsDDVUClOnO+yPEVGKekzxMHpG+STERonk5j8CPreLRXeC4F+hFlS416gexVxPx3ntNo
	N5TVAxfL1ISXMEKndR3O/BYmAYzO5i+68ffKflCvOYbWVXATuso/O0xa2hqG+4yGtreT
	Gd2Fx/Xej949UmDGh9AV4T37W0YnQmzEoQsGkqNIRY/Q2QVsExHFsYaxoDAanIvQpjTA
	6S6Q==
MIME-Version: 1.0
X-Received: by 10.170.150.7 with SMTP id r7mr21964828ykc.48.1431509871797;
	Wed, 13 May 2015 02:37:51 -0700 (PDT)
Received: by 10.129.145.2 with HTTP; Wed, 13 May 2015 02:37:51 -0700 (PDT)
In-Reply-To: <0600C86D-63F6-4700-B3B6-F4F62DBB93BB@recoil.org>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
	<7A8FE72F-2BDC-4E72-A6DE-CA56379F7C20@recoil.org>
	<4382CFB50FD64AFDA863FB6244D3FEA5@erratique.ch>
	<32C35BEB-47BF-4BC6-ACBB-844A7D778BD4@recoil.org>
	<555220B9.8000302@zoho.com>
	<9CC63A6E-41B8-4BF2-BFCA-9D49AEE987C4@recoil.org>
	<etPan.5552314f.705b21d4.2e88@Rudis-MacBook-Pro.local>
	<0600C86D-63F6-4700-B3B6-F4F62DBB93BB@recoil.org>
Date: Wed, 13 May 2015 10:37:51 +0100
X-Google-Sender-Auth: 9V5V58DIEvPLrcb39xCowAjQ4r0
Message-ID: <CAAWM5TxurN5HQu0-0y2TpmG9LE88nyUdt4CMZi2gCLhFtHR+=Q@mail.gmail.com>
From: David Sheets <sheets@alum.mit.edu>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Logging
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gV2VkLCBNYXkgMTMsIDIwMTUgYXQgMTI6NDQgQU0sIEFuaWwgTWFkaGF2YXBlZGR5IDxhbmls
QHJlY29pbC5vcmc+IHdyb3RlOgo+IE9uIDEyIE1heSAyMDE1LCBhdCAxNzo1OCw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19fX19fX19fCk1pcmFnZU9T
LWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpo
dHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFn
ZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Wed May 13 12:00:46 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 13 May 2015 12:00:46 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsVL6-0002pj-36; Wed, 13 May 2015 12:00:40 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1YsVL5-0002pT-38
	for mirageos-devel@lists.xenproject.org; Wed, 13 May 2015 12:00:39 +0000
Received: from [85.158.139.211] by server-15.bemta-5.messagelabs.com id
	2B/96-02812-6EC33555; Wed, 13 May 2015 12:00:38 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-2.tower-206.messagelabs.com!1431518437!14656319!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 11668 invoked from network); 13 May 2015 12:00:37 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-2.tower-206.messagelabs.com with SMTP;
	13 May 2015 12:00:37 -0000
Received: from [172.20.10.2]
	(175.224.197.178.dynamic.wless.zhbmb00p-cgnat.res.cust.swisscom.ch
	[178.197.224.175])
	by smtp.webfaction.com (Postfix) with ESMTP id 180262102E5D;
	Wed, 13 May 2015 12:00:35 +0000 (UTC)
Date: Wed, 13 May 2015 14:00:32 +0200
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Thomas Leonard <talex5@gmail.com>
Message-ID: <3D82E61D52044ED591984880B07DF7FB@erratique.ch>
In-Reply-To: <CAG4opy8khsdnBXjKNYzjFH5eCxe9uZ1=UvNjmM6+s5kU7D-8pg@mail.gmail.com>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
	<0637D28F-CC74-4E2C-8B2A-9207BC78568D@gazagnaire.org>
	<CAG4opy8khsdnBXjKNYzjFH5eCxe9uZ1=UvNjmM6+s5kU7D-8pg@mail.gmail.com>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: Thomas Gazagnaire <thomas@gazagnaire.org>,
	"=?utf-8?Q?mirageos-devel=40lists.xenproject.org?="
	<mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] test, quality, tcpip
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: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YXNpdmVzLmZvcm1hdDQgLT4gJ2EgICAgICAgICAgICAgICAgICAKZW5kCgoKSWYg
eW91IHdhbnQgYSB0cmVlIHN0cnVjdHVyZSB0aGVuIGBMb2cuY3JlYXRlYCBjb3VsZCB0YWtlIGFu
b3RoZXIgb3B0aW9uYWwgcGFyZW50IGxvZyBpbiBhcmd1bWVudC4gTm93IGluIHlvdXIgY29tcG9u
ZW50czoKCm1vZHVsZSBNeV9jb21wb25lbnQgOiBzaWcKICB2YWwgbG9nIDogW2BQcml2YXRlXSBM
b2cudAogIC4uLgplbmQgPSBzdHJ1Y3QKICBsZXQgbG9nID0gTG9nLmNyZWF0ZSAoKQogIGxldCBs
b2dfbXNnID0gTG9nLm1zZyBsb2cKCiAgbGV0IGxvZyA9IHB1YmxpY19sb2cKICAgCiAgKCogbm93
IHNpbXBseSB1c2UgbG9nX21zZyB0aHJvdWdob3V0IHlvdXIgY29tcG9uZW50IGNvZGUgKikKZW5k
CgoKVGhpcyBhbGxvd3MgdXNlcnMgb2YgY29tcG9uZW50IChlLmcuIHRoZSBtaXJhZ2UgdG9vbCkg
dG8gY29uZmlndXJlIHRoZSBsb2dnaW5nIG9mIHRoZSBjb21wb25lbnQuICAKCkJlc3QsCgpEYW5p
ZWwKCgoKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCk1p
cmFnZU9TLWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0
Lm9yZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZv
L21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Wed May 13 12:00:46 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 13 May 2015 12:00:46 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsVL6-0002pj-36; Wed, 13 May 2015 12:00:40 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1YsVL5-0002pT-38
	for mirageos-devel@lists.xenproject.org; Wed, 13 May 2015 12:00:39 +0000
Received: from [85.158.139.211] by server-15.bemta-5.messagelabs.com id
	2B/96-02812-6EC33555; Wed, 13 May 2015 12:00:38 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-2.tower-206.messagelabs.com!1431518437!14656319!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 11668 invoked from network); 13 May 2015 12:00:37 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-2.tower-206.messagelabs.com with SMTP;
	13 May 2015 12:00:37 -0000
Received: from [172.20.10.2]
	(175.224.197.178.dynamic.wless.zhbmb00p-cgnat.res.cust.swisscom.ch
	[178.197.224.175])
	by smtp.webfaction.com (Postfix) with ESMTP id 180262102E5D;
	Wed, 13 May 2015 12:00:35 +0000 (UTC)
Date: Wed, 13 May 2015 14:00:32 +0200
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Thomas Leonard <talex5@gmail.com>
Message-ID: <3D82E61D52044ED591984880B07DF7FB@erratique.ch>
In-Reply-To: <CAG4opy8khsdnBXjKNYzjFH5eCxe9uZ1=UvNjmM6+s5kU7D-8pg@mail.gmail.com>
References: <5549E190.7080505@somerandomidiot.com>
	<A7E7A350-C35B-42D1-80EC-C52BB26BEA91@gazagnaire.org>
	<CAMcK7jo37K9vfZ3uwJ=oo6DZ8SKzTQdkv_FtNdBJ1StUMttHFQ@mail.gmail.com>
	<0637D28F-CC74-4E2C-8B2A-9207BC78568D@gazagnaire.org>
	<CAG4opy8khsdnBXjKNYzjFH5eCxe9uZ1=UvNjmM6+s5kU7D-8pg@mail.gmail.com>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: Thomas Gazagnaire <thomas@gazagnaire.org>,
	"=?utf-8?Q?mirageos-devel=40lists.xenproject.org?="
	<mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] test, quality, tcpip
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

TGUgbWVyY3JlZGksIDEzIG1haSAyMDE1IMOgIDEwOjU4LCBUaG9tYXMgTGVvbmFyZCBhIMOpY3Jp
dCA6Cj4gSSdtIHVuZGVjaWRlZCBhYm91dCB0aGlzLiBJdCBpcyBhbm5veWluZyB3aGVuIHlvdSB3
YW50IHRvIGxvZwo+IHNvbWV0aGluZyBhbmQgeW91IGhhdmUgdG8gdGhyZWFkIGEgbG9nZ2VyIGFs
bCB0aG91Z2ggdGhlIGNvZGUgdG8gZG8KPiBpdC4gSG93ZXZlciwgdGhlcmU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F0ZSAoKQogIGxldCBs
b2dfbXNnID0gTG9nLm1zZyBsb2cKCiAgbGV0IGxvZyA9IHB1YmxpY19sb2cKICAgCiAgKCogbm93
IHNpbXBseSB1c2UgbG9nX21zZyB0aHJvdWdob3V0IHlvdXIgY29tcG9uZW50IGNvZGUgKikKZW5k
CgoKVGhpcyBhbGxvd3MgdXNlcnMgb2YgY29tcG9uZW50IChlLmcuIHRoZSBtaXJhZ2UgdG9vbCkg
dG8gY29uZmlndXJlIHRoZSBsb2dnaW5nIG9mIHRoZSBjb21wb25lbnQuICAKCkJlc3QsCgpEYW5p
ZWwKCgoKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCk1p
cmFnZU9TLWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0
Lm9yZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZv
L21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Wed May 13 13:18:58 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 13 May 2015 13:18:58 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsWYm-00084z-5o; Wed, 13 May 2015 13:18:52 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1YsWYl-00084u-3L
	for mirageos-devel@lists.xenproject.org; Wed, 13 May 2015 13:18:51 +0000
Received: from [85.158.137.68] by server-8.bemta-3.messagelabs.com id
	D3/0C-03730-A3F43555; Wed, 13 May 2015 13:18:50 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-4.tower-31.messagelabs.com!1431523129!15004895!1
X-Originating-IP: [209.85.217.177]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 8795 invoked from network); 13 May 2015 13:18:49 -0000
Received: from mail-lb0-f177.google.com (HELO mail-lb0-f177.google.com)
	(209.85.217.177)
	by server-4.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	13 May 2015 13:18:49 -0000
Received: by lbcga7 with SMTP id ga7so29314648lbc.1
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 13 May 2015 06:18:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:date:message-id:subject:from:to:content-type;
	bh=ZYJmnynxcZ7MqIbZecUnCPJg8VLNg0J+QxclKXmLxFM=;
	b=WWM2V5cSsP0v+cb+TU9AYeAWSTjuLwTLSceF7An5VPT5Nn0txGH0QPaXF5n/JasIW5
	3SOQJAtTe+vtj9whGdBkqPNaVkN00dSarGK9USEfjc2mA3jje3xFQBUQEPLNXuh1REuP
	Ze2zSzch/6Y85e9nXWmgQXIQGNGVx3qObUItNezWTILqsYFmJuvK8mjZPYuXGNkPFJwo
	leZXMyLbwkvDAvZeIfrpZBoFywNlaiz6PcO7YOs7DwMGKO8q0h5QMfBWkLeSDhD/J5rz
	VrUh50Em4gf+8V2pgUkGOKfXDxXd62UFc8tAPC0eVksBFPD0HgwLeby6Suk+yh2Uyqan
	BVcg==
MIME-Version: 1.0
X-Received: by 10.152.19.70 with SMTP id c6mr16111267lae.121.1431523128800;
	Wed, 13 May 2015 06:18:48 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Wed, 13 May 2015 06:18:48 -0700 (PDT)
Date: Wed, 13 May 2015 14:18:48 +0100
Message-ID: <CAG4opy8kGSppDnayQgEvwjNC4=QfYNrthKrvJ_=b9Yos_x4zUQ@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: [MirageOS-devel] How to disable depexts?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

I'm trying to build mirage on a machine without root access (the new
Travis container builds). The problem is that mirage wants to download
depexts with sudo, which fails.

I see from the code that I can disable depext downloads by passing
--no-opam-version-check (which seems a bit odd). However, this also
disables installing regular packages. Is there some way to tell
mirage/opam/opam-depext that I don't have root?


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 13 13:18:58 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 13 May 2015 13:18:58 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsWYm-00084z-5o; Wed, 13 May 2015 13:18:52 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1YsWYl-00084u-3L
	for mirageos-devel@lists.xenproject.org; Wed, 13 May 2015 13:18:51 +0000
Received: from [85.158.137.68] by server-8.bemta-3.messagelabs.com id
	D3/0C-03730-A3F43555; Wed, 13 May 2015 13:18:50 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-4.tower-31.messagelabs.com!1431523129!15004895!1
X-Originating-IP: [209.85.217.177]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 8795 invoked from network); 13 May 2015 13:18:49 -0000
Received: from mail-lb0-f177.google.com (HELO mail-lb0-f177.google.com)
	(209.85.217.177)
	by server-4.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	13 May 2015 13:18:49 -0000
Received: by lbcga7 with SMTP id ga7so29314648lbc.1
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 13 May 2015 06:18:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:date:message-id:subject:from:to:content-type;
	bh=ZYJmnynxcZ7MqIbZecUnCPJg8VLNg0J+QxclKXmLxFM=;
	b=WWM2V5cSsP0v+cb+TU9AYeAWSTjuLwTLSceF7An5VPT5Nn0txGH0QPaXF5n/JasIW5
	3SOQJAtTe+vtj9whGdBkqPNaVkN00dSarGK9USEfjc2mA3jje3xFQBUQEPLNXuh1REuP
	Ze2zSzch/6Y85e9nXWmgQXIQGNGVx3qObUItNezWTILqsYFmJuvK8mjZPYuXGNkPFJwo
	leZXMyLbwkvDAvZeIfrpZBoFywNlaiz6PcO7YOs7DwMGKO8q0h5QMfBWkLeSDhD/J5rz
	VrUh50Em4gf+8V2pgUkGOKfXDxXd62UFc8tAPC0eVksBFPD0HgwLeby6Suk+yh2Uyqan
	BVcg==
MIME-Version: 1.0
X-Received: by 10.152.19.70 with SMTP id c6mr16111267lae.121.1431523128800;
	Wed, 13 May 2015 06:18:48 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Wed, 13 May 2015 06:18:48 -0700 (PDT)
Date: Wed, 13 May 2015 14:18:48 +0100
Message-ID: <CAG4opy8kGSppDnayQgEvwjNC4=QfYNrthKrvJ_=b9Yos_x4zUQ@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: [MirageOS-devel] How to disable depexts?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

I'm trying to build mirage on a machine without root access (the new
Travis container builds). The problem is that mirage wants to download
depexts with sudo, which fails.

I see from the code that I can disable depext downloads by passing
--no-opam-version-check (which seems a bit odd). However, this also
disables installing regular packages. Is there some way to tell
mirage/opam/opam-depext that I don't have root?


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 13 13:31:07 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 13 May 2015 13:31:07 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsWkb-0000dF-Ql; Wed, 13 May 2015 13:31:05 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1YsWka-0000d4-Ou
	for mirageos-devel@lists.xenproject.org; Wed, 13 May 2015 13:31:04 +0000
Received: from [193.109.254.147] by server-16.bemta-14.messagelabs.com id
	06/02-02680-71253555; Wed, 13 May 2015 13:31:03 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-16.tower-27.messagelabs.com!1431523862!9664916!1
X-Originating-IP: [74.125.82.45]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 19159 invoked from network); 13 May 2015 13:31:02 -0000
Received: from mail-wg0-f45.google.com (HELO mail-wg0-f45.google.com)
	(74.125.82.45)
	by server-16.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	13 May 2015 13:31:02 -0000
Received: by wgin8 with SMTP id n8so43777213wgi.0
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 13 May 2015 06:31:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=4ve9qUr4ANx5m2eYxvfaMqiBmIGiVr1wPjeZljbioa0=;
	b=jWYO0P6ftQ3wSeT9fkuLRWbUgM/8agJz7411E8ttt94vf52uJPH/mKpAS+Z0mTRLHZ
	einpoXf3H6V1BkRdsQwu9pZzyN8BLgMdiqitZvRf1jdnprCqaiGAkQ6H/VXPmVbpFlIw
	6oo3D04TAQ5uEtd+L1LgjxbRSyShhN2zR7mU6TboS0tMSSnP0oVaWEhhiYX2vXyZ0SiI
	rlXGzHZkD537SDpteVFfvM8MgQJ62azBKqLS0cj4Z4hUqFwNjJrWX5hsb0jwZPi8n+lV
	aOxyfKB3ZI0QBz+RnXjbfuDRvFp/lYEmRmzr/yXgUwIugwNZdVJVU/QTSxkg8gYY/33N
	pZhA==
X-Received: by 10.180.99.231 with SMTP id et7mr39601752wib.23.1431523862606;
	Wed, 13 May 2015 06:31:02 -0700 (PDT)
Received: from piana.mac.cl.cam.ac.uk (piana.mac.cl.cam.ac.uk. [128.232.56.38])
	by mx.google.com with ESMTPSA id v3sm8115493wix.8.2015.05.13.06.31.01
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Wed, 13 May 2015 06:31:01 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <CAG4opy8kGSppDnayQgEvwjNC4=QfYNrthKrvJ_=b9Yos_x4zUQ@mail.gmail.com>
Date: Wed, 13 May 2015 14:31:00 +0100
Message-Id: <2C596F56-A643-4242-B8FC-259F84A2DE46@gazagnaire.org>
References: <CAG4opy8kGSppDnayQgEvwjNC4=QfYNrthKrvJ_=b9Yos_x4zUQ@mail.gmail.com>
To: Thomas Leonard <talex5@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] How to disable depexts?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

> I'm trying to build mirage on a machine without root access (the new
> Travis container builds). The problem is that mirage wants to download
> depexts with sudo, which fails.
> 
> I see from the code that I can disable depext downloads by passing
> --no-opam-version-check (which seems a bit odd). However, this also
> disables installing regular packages. Is there some way to tell
> mirage/opam/opam-depext that I don't have root?
> 

It's not possible at the moment and it would probably wise to fix that before the 2.5.0 release. This is already tracked by https://github.com/mirage/mirage/issues/401 and a patch is more than welcome.

Best,
Thomas


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 13 13:31:07 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 13 May 2015 13:31:07 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsWkb-0000dF-Ql; Wed, 13 May 2015 13:31:05 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1YsWka-0000d4-Ou
	for mirageos-devel@lists.xenproject.org; Wed, 13 May 2015 13:31:04 +0000
Received: from [193.109.254.147] by server-16.bemta-14.messagelabs.com id
	06/02-02680-71253555; Wed, 13 May 2015 13:31:03 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-16.tower-27.messagelabs.com!1431523862!9664916!1
X-Originating-IP: [74.125.82.45]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 19159 invoked from network); 13 May 2015 13:31:02 -0000
Received: from mail-wg0-f45.google.com (HELO mail-wg0-f45.google.com)
	(74.125.82.45)
	by server-16.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	13 May 2015 13:31:02 -0000
Received: by wgin8 with SMTP id n8so43777213wgi.0
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 13 May 2015 06:31:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=4ve9qUr4ANx5m2eYxvfaMqiBmIGiVr1wPjeZljbioa0=;
	b=jWYO0P6ftQ3wSeT9fkuLRWbUgM/8agJz7411E8ttt94vf52uJPH/mKpAS+Z0mTRLHZ
	einpoXf3H6V1BkRdsQwu9pZzyN8BLgMdiqitZvRf1jdnprCqaiGAkQ6H/VXPmVbpFlIw
	6oo3D04TAQ5uEtd+L1LgjxbRSyShhN2zR7mU6TboS0tMSSnP0oVaWEhhiYX2vXyZ0SiI
	rlXGzHZkD537SDpteVFfvM8MgQJ62azBKqLS0cj4Z4hUqFwNjJrWX5hsb0jwZPi8n+lV
	aOxyfKB3ZI0QBz+RnXjbfuDRvFp/lYEmRmzr/yXgUwIugwNZdVJVU/QTSxkg8gYY/33N
	pZhA==
X-Received: by 10.180.99.231 with SMTP id et7mr39601752wib.23.1431523862606;
	Wed, 13 May 2015 06:31:02 -0700 (PDT)
Received: from piana.mac.cl.cam.ac.uk (piana.mac.cl.cam.ac.uk. [128.232.56.38])
	by mx.google.com with ESMTPSA id v3sm8115493wix.8.2015.05.13.06.31.01
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Wed, 13 May 2015 06:31:01 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <CAG4opy8kGSppDnayQgEvwjNC4=QfYNrthKrvJ_=b9Yos_x4zUQ@mail.gmail.com>
Date: Wed, 13 May 2015 14:31:00 +0100
Message-Id: <2C596F56-A643-4242-B8FC-259F84A2DE46@gazagnaire.org>
References: <CAG4opy8kGSppDnayQgEvwjNC4=QfYNrthKrvJ_=b9Yos_x4zUQ@mail.gmail.com>
To: Thomas Leonard <talex5@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] How to disable depexts?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

> I'm trying to build mirage on a machine without root access (the new
> Travis container builds). The problem is that mirage wants to download
> depexts with sudo, which fails.
> 
> I see from the code that I can disable depext downloads by passing
> --no-opam-version-check (which seems a bit odd). However, this also
> disables installing regular packages. Is there some way to tell
> mirage/opam/opam-depext that I don't have root?
> 

It's not possible at the moment and it would probably wise to fix that before the 2.5.0 release. This is already tracked by https://github.com/mirage/mirage/issues/401 and a patch is more than welcome.

Best,
Thomas


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 13 13:46:38 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 13 May 2015 13:46:38 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsWzb-0001zs-Qd; Wed, 13 May 2015 13:46:35 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YsWzb-0001zn-BN
	for mirageos-devel@lists.xenproject.org; Wed, 13 May 2015 13:46:35 +0000
Received: from [85.158.137.68] by server-9.bemta-3.messagelabs.com id
	A5/5F-03028-AB553555; Wed, 13 May 2015 13:46:34 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-7.tower-31.messagelabs.com!1431524793!15068110!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 3183 invoked from network); 13 May 2015 13:46:33 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-7.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 13 May 2015 13:46:33 -0000
Received: from flick.office (volstagg-0.srg.cl.cam.ac.uk [128.232.32.232]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id d1234501;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Wed, 13 May 2015 14:46:32 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <2C596F56-A643-4242-B8FC-259F84A2DE46@gazagnaire.org>
Date: Wed, 13 May 2015 14:46:32 +0100
Message-Id: <A62FAC85-F310-4139-B313-EADD81B8BA2E@recoil.org>
References: <CAG4opy8kGSppDnayQgEvwjNC4=QfYNrthKrvJ_=b9Yos_x4zUQ@mail.gmail.com>
	<2C596F56-A643-4242-B8FC-259F84A2DE46@gazagnaire.org>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] How to disable depexts?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 13 May 2015, at 14:31, Thomas Gazagnaire <thomas@gazagnaire.org> wrote:
> 
>> I'm trying to build mirage on a machine without root access (the new
>> Travis container builds). The problem is that mirage wants to download
>> depexts with sudo, which fails.
>> 
>> I see from the code that I can disable depext downloads by passing
>> --no-opam-version-check (which seems a bit odd). However, this also
>> disables installing regular packages. Is there some way to tell
>> mirage/opam/opam-depext that I don't have root?
>> 
> 
> It's not possible at the moment and it would probably wise to fix that before the 2.5.0 release. This is already tracked by https://github.com/mirage/mirage/issues/401 and a patch is more than welcome.

I would really like a patch for this as well, since it plays havoc
on ARM nodes where the Xen packages are slightly out of sync and so
dpkg is quite often in a broken state (for me, anyway).

It might be nice to make the depext invocation a .stamp file in the
Makefile so that repeated runs of the same Makefile also do not call
the depext.

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 13 13:46:38 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 13 May 2015 13:46:38 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsWzb-0001zs-Qd; Wed, 13 May 2015 13:46:35 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YsWzb-0001zn-BN
	for mirageos-devel@lists.xenproject.org; Wed, 13 May 2015 13:46:35 +0000
Received: from [85.158.137.68] by server-9.bemta-3.messagelabs.com id
	A5/5F-03028-AB553555; Wed, 13 May 2015 13:46:34 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-7.tower-31.messagelabs.com!1431524793!15068110!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 3183 invoked from network); 13 May 2015 13:46:33 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-7.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 13 May 2015 13:46:33 -0000
Received: from flick.office (volstagg-0.srg.cl.cam.ac.uk [128.232.32.232]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id d1234501;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Wed, 13 May 2015 14:46:32 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <2C596F56-A643-4242-B8FC-259F84A2DE46@gazagnaire.org>
Date: Wed, 13 May 2015 14:46:32 +0100
Message-Id: <A62FAC85-F310-4139-B313-EADD81B8BA2E@recoil.org>
References: <CAG4opy8kGSppDnayQgEvwjNC4=QfYNrthKrvJ_=b9Yos_x4zUQ@mail.gmail.com>
	<2C596F56-A643-4242-B8FC-259F84A2DE46@gazagnaire.org>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] How to disable depexts?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 13 May 2015, at 14:31, Thomas Gazagnaire <thomas@gazagnaire.org> wrote:
> 
>> I'm trying to build mirage on a machine without root access (the new
>> Travis container builds). The problem is that mirage wants to download
>> depexts with sudo, which fails.
>> 
>> I see from the code that I can disable depext downloads by passing
>> --no-opam-version-check (which seems a bit odd). However, this also
>> disables installing regular packages. Is there some way to tell
>> mirage/opam/opam-depext that I don't have root?
>> 
> 
> It's not possible at the moment and it would probably wise to fix that before the 2.5.0 release. This is already tracked by https://github.com/mirage/mirage/issues/401 and a patch is more than welcome.

I would really like a patch for this as well, since it plays havoc
on ARM nodes where the Xen packages are slightly out of sync and so
dpkg is quite often in a broken state (for me, anyway).

It might be nice to make the depext invocation a .stamp file in the
Makefile so that repeated runs of the same Makefile also do not call
the depext.

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 13 13:52:39 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 13 May 2015 13:52:39 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsX5S-0002X6-Ld; Wed, 13 May 2015 13:52:38 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <christiano.fh@gmail.com>) id 1YsS3S-0008Pv-RA
	for mirageos-devel@lists.xenproject.org; Wed, 13 May 2015 08:30:14 +0000
Received: from [85.158.139.211] by server-15.bemta-5.messagelabs.com id
	E2/BD-02812-59B03555; Wed, 13 May 2015 08:30:13 +0000
X-Env-Sender: christiano.fh@gmail.com
X-Msg-Ref: server-12.tower-206.messagelabs.com!1431505812!14591786!1
X-Originating-IP: [209.85.160.171]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 32333 invoked from network); 13 May 2015 08:30:12 -0000
Received: from mail-yk0-f171.google.com (HELO mail-yk0-f171.google.com)
	(209.85.160.171)
	by server-12.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	13 May 2015 08:30:12 -0000
Received: by ykeo186 with SMTP id o186so11974059yke.0
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 13 May 2015 01:30:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=3Kfb8McQ/QPtMUKX5A2VLY+be4D2WT9Rfxjsa+OW600=;
	b=aOmCHtOnBmECeAdnKdgj8SgkCMdTLxhbP/7Z6CMA3PnIFXXykhDvOXBFGdK0be0YND
	RRiGXd+fkwCRRMaHI/RRAxr+flYYDGeGQaA7a5QJyOFdM5PIssSTJfjFl+Pwe0w4RcmB
	QO9CBj5/yq7mkWNubGjez45AsyDGmgfkdJVPw3tbm77qC/W+p90vHl8t6DAUhXzdtqwp
	eqeVuSp2YYeGAXL/dFQqLtIZNzdRWpt57iqFlvzp2lVLA/hxFAA6Cctsf5EhxmJRPlVP
	8nmdKEgyRGHmF/x7hTHOtxVNqI9ozfkUxhvgmE+fEm9kNGe9zx8AAjLpjo/rIRbzNBbL
	tmoA==
MIME-Version: 1.0
X-Received: by 10.236.29.74 with SMTP id h50mr19398054yha.126.1431505811921;
	Wed, 13 May 2015 01:30:11 -0700 (PDT)
Received: by 10.129.90.66 with HTTP; Wed, 13 May 2015 01:30:11 -0700 (PDT)
In-Reply-To: <F505128B-BA96-473F-832F-E0724A04934A@recoil.org>
References: <CAAjx=y2jj=WvSykDu9RuiSKRh_-eRb_gWM7prUCt0Lkd0bBpfw@mail.gmail.com>
	<55522EC8.2080509@somerandomidiot.com>
	<F505128B-BA96-473F-832F-E0724A04934A@recoil.org>
Date: Wed, 13 May 2015 10:30:11 +0200
X-Google-Sender-Auth: BOdl4Izl2z4IN9uBc3AW7EERGVs
Message-ID: <CAPvuBUvnoFj9rRYXzGimaYzRBO9T29OE0OqxT38mUEAMZfXA9w@mail.gmail.com>
From: "Christiano F. Haesbaert" <haesbaert@haesbaert.org>
To: Anil Madhavapeddy <anil@recoil.org>
X-Mailman-Approved-At: Wed, 13 May 2015 13:52:38 +0000
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Interest in MirageOS and UROP scheme
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Cool ! Nice to see people are interested.

I'm trying to design the Dhcp module to be policy-agnostic, just
interpreting and building dhcp messages, so it shouldn't be too hard
to use it in unix and the mirage stack.
I do want it to run in mirage, that is the main target of the project,
but it seemed easier to start with unix, especially since it's
something I'm used to.

Any feedback is welcome, as I've just recently started coding in
ocaml. If you think the privsep code could be made into a module, I'd
be happy to cook something for opam.

On 13 May 2015 at 01:25, Anil Madhavapeddy <anil@recoil.org> wrote:
> Great to see this DHCP implementation making progress! CCing Christiano (the
> author).
>
> It looks like this is actually almost ready to replace the (extremely
> terrible) parser that I wrote years ago in the current TCP/IP stack, but
> there's certainly no immediate rush to do so.  One thing that's worth doing
> is to ensure that the new DHCP library can run outside of the TCP/IP
> implementation, so we may need to extend the module types to have better
> listening support.
>
> I really like that it's got a parser for the ISC dhcpd.conf!  Some of the
> Unix privsep code could also eventually be factored out into a library for
> the other daemons as well.
>
> -anil
>
> On 12 May 2015, at 17:48, Mindy <mindy@somerandomidiot.com> wrote:
>
> Hi Alistair,
>
> Sorry for the lateness of this reply, but I've just heard about an OCaml
> DHCP implementation that you may want to have a look at:
> https://github.com/haesbaert/hdhcp  .  It looks like it's currently under
> active development, although not yet buildable for Mirage.
>
> -Mindy
>
> On 04/26/2015 09:10 PM, Alistair Fisher wrote:
>
> Hello,
>
> I'm a second year computer scientist at the University of Cambridge
> interested in working on MirageOS over the summer via the UROP scheme.
>
> I am interested in the projects that focus on distributed systems,
> particularly Semantics of Shared Data Structures and all 5 networking
> projects (especially the HTTP implementation and DHCP server ones, since
> those are the protocols I am most familiar with).
>
> To continue with my application, should I contact each mentor individually
> with my application for their particular project?
>
> Thanks you for your time,
>
> Alistair Fisher
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>
>

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 13 13:52:39 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 13 May 2015 13:52:39 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsX5S-0002X6-Ld; Wed, 13 May 2015 13:52:38 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <christiano.fh@gmail.com>) id 1YsS3S-0008Pv-RA
	for mirageos-devel@lists.xenproject.org; Wed, 13 May 2015 08:30:14 +0000
Received: from [85.158.139.211] by server-15.bemta-5.messagelabs.com id
	E2/BD-02812-59B03555; Wed, 13 May 2015 08:30:13 +0000
X-Env-Sender: christiano.fh@gmail.com
X-Msg-Ref: server-12.tower-206.messagelabs.com!1431505812!14591786!1
X-Originating-IP: [209.85.160.171]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 32333 invoked from network); 13 May 2015 08:30:12 -0000
Received: from mail-yk0-f171.google.com (HELO mail-yk0-f171.google.com)
	(209.85.160.171)
	by server-12.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	13 May 2015 08:30:12 -0000
Received: by ykeo186 with SMTP id o186so11974059yke.0
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 13 May 2015 01:30:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=3Kfb8McQ/QPtMUKX5A2VLY+be4D2WT9Rfxjsa+OW600=;
	b=aOmCHtOnBmECeAdnKdgj8SgkCMdTLxhbP/7Z6CMA3PnIFXXykhDvOXBFGdK0be0YND
	RRiGXd+fkwCRRMaHI/RRAxr+flYYDGeGQaA7a5QJyOFdM5PIssSTJfjFl+Pwe0w4RcmB
	QO9CBj5/yq7mkWNubGjez45AsyDGmgfkdJVPw3tbm77qC/W+p90vHl8t6DAUhXzdtqwp
	eqeVuSp2YYeGAXL/dFQqLtIZNzdRWpt57iqFlvzp2lVLA/hxFAA6Cctsf5EhxmJRPlVP
	8nmdKEgyRGHmF/x7hTHOtxVNqI9ozfkUxhvgmE+fEm9kNGe9zx8AAjLpjo/rIRbzNBbL
	tmoA==
MIME-Version: 1.0
X-Received: by 10.236.29.74 with SMTP id h50mr19398054yha.126.1431505811921;
	Wed, 13 May 2015 01:30:11 -0700 (PDT)
Received: by 10.129.90.66 with HTTP; Wed, 13 May 2015 01:30:11 -0700 (PDT)
In-Reply-To: <F505128B-BA96-473F-832F-E0724A04934A@recoil.org>
References: <CAAjx=y2jj=WvSykDu9RuiSKRh_-eRb_gWM7prUCt0Lkd0bBpfw@mail.gmail.com>
	<55522EC8.2080509@somerandomidiot.com>
	<F505128B-BA96-473F-832F-E0724A04934A@recoil.org>
Date: Wed, 13 May 2015 10:30:11 +0200
X-Google-Sender-Auth: BOdl4Izl2z4IN9uBc3AW7EERGVs
Message-ID: <CAPvuBUvnoFj9rRYXzGimaYzRBO9T29OE0OqxT38mUEAMZfXA9w@mail.gmail.com>
From: "Christiano F. Haesbaert" <haesbaert@haesbaert.org>
To: Anil Madhavapeddy <anil@recoil.org>
X-Mailman-Approved-At: Wed, 13 May 2015 13:52:38 +0000
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Interest in MirageOS and UROP scheme
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Cool ! Nice to see people are interested.

I'm trying to design the Dhcp module to be policy-agnostic, just
interpreting and building dhcp messages, so it shouldn't be too hard
to use it in unix and the mirage stack.
I do want it to run in mirage, that is the main target of the project,
but it seemed easier to start with unix, especially since it's
something I'm used to.

Any feedback is welcome, as I've just recently started coding in
ocaml. If you think the privsep code could be made into a module, I'd
be happy to cook something for opam.

On 13 May 2015 at 01:25, Anil Madhavapeddy <anil@recoil.org> wrote:
> Great to see this DHCP implementation making progress! CCing Christiano (the
> author).
>
> It looks like this is actually almost ready to replace the (extremely
> terrible) parser that I wrote years ago in the current TCP/IP stack, but
> there's certainly no immediate rush to do so.  One thing that's worth doing
> is to ensure that the new DHCP library can run outside of the TCP/IP
> implementation, so we may need to extend the module types to have better
> listening support.
>
> I really like that it's got a parser for the ISC dhcpd.conf!  Some of the
> Unix privsep code could also eventually be factored out into a library for
> the other daemons as well.
>
> -anil
>
> On 12 May 2015, at 17:48, Mindy <mindy@somerandomidiot.com> wrote:
>
> Hi Alistair,
>
> Sorry for the lateness of this reply, but I've just heard about an OCaml
> DHCP implementation that you may want to have a look at:
> https://github.com/haesbaert/hdhcp  .  It looks like it's currently under
> active development, although not yet buildable for Mirage.
>
> -Mindy
>
> On 04/26/2015 09:10 PM, Alistair Fisher wrote:
>
> Hello,
>
> I'm a second year computer scientist at the University of Cambridge
> interested in working on MirageOS over the summer via the UROP scheme.
>
> I am interested in the projects that focus on distributed systems,
> particularly Semantics of Shared Data Structures and all 5 networking
> projects (especially the HTTP implementation and DHCP server ones, since
> those are the protocols I am most familiar with).
>
> To continue with my application, should I contact each mentor individually
> with my application for their particular project?
>
> Thanks you for your time,
>
> Alistair Fisher
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>
>

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 13 16:32:47 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 13 May 2015 16:32:47 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsZaK-00088p-W5; Wed, 13 May 2015 16:32:40 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YsZaJ-00088g-Tj
	for mirageos-devel@lists.xenproject.org; Wed, 13 May 2015 16:32:40 +0000
Received: from [193.109.254.147] by server-2.bemta-14.messagelabs.com id
	5D/90-03031-6AC73555; Wed, 13 May 2015 16:32:38 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-12.tower-27.messagelabs.com!1431534758!17342538!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 10620 invoked from network); 13 May 2015 16:32:38 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-12.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 13 May 2015 16:32:38 -0000
Received: from flick.office (volstagg-0.srg.cl.cam.ac.uk [128.232.32.232]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id f0b60128;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 13 May 2015 17:32:37 +0100 (BST)
From: Anil Madhavapeddy <anil@recoil.org>
Message-Id: <A60BE2F9-076A-4392-A5CB-E2748CCDA4A7@recoil.org>
Date: Wed, 13 May 2015 17:32:36 +0100
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Subject: [MirageOS-devel] CuBox-i 4x4: another ARM box
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Another interesting ARM box that should support Xen, pointed out by Justin Cormack.

http://www.solid-run.com/product/cubox-i-4x4

4 cores, 4GB RAM, SATA, gigabit ethernet.  Looks like a very good candidate for a (expensive but functional) home router.

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 13 16:32:47 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 13 May 2015 16:32:47 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsZaK-00088p-W5; Wed, 13 May 2015 16:32:40 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YsZaJ-00088g-Tj
	for mirageos-devel@lists.xenproject.org; Wed, 13 May 2015 16:32:40 +0000
Received: from [193.109.254.147] by server-2.bemta-14.messagelabs.com id
	5D/90-03031-6AC73555; Wed, 13 May 2015 16:32:38 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-12.tower-27.messagelabs.com!1431534758!17342538!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 10620 invoked from network); 13 May 2015 16:32:38 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-12.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 13 May 2015 16:32:38 -0000
Received: from flick.office (volstagg-0.srg.cl.cam.ac.uk [128.232.32.232]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id f0b60128;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 13 May 2015 17:32:37 +0100 (BST)
From: Anil Madhavapeddy <anil@recoil.org>
Message-Id: <A60BE2F9-076A-4392-A5CB-E2748CCDA4A7@recoil.org>
Date: Wed, 13 May 2015 17:32:36 +0100
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Subject: [MirageOS-devel] CuBox-i 4x4: another ARM box
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Another interesting ARM box that should support Xen, pointed out by Justin Cormack.

http://www.solid-run.com/product/cubox-i-4x4

4 cores, 4GB RAM, SATA, gigabit ethernet.  Looks like a very good candidate for a (expensive but functional) home router.

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 13 21:50:53 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 13 May 2015 21:50:53 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YseY9-0004qx-Hj; Wed, 13 May 2015 21:50:45 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <jdy22@hermes.cam.ac.uk>) id 1YseY8-0004qm-FO
	for mirageos-devel@lists.xenproject.org; Wed, 13 May 2015 21:50:44 +0000
Received: from [193.109.254.147] by server-5.bemta-14.messagelabs.com id
	E5/B5-03206-337C3555; Wed, 13 May 2015 21:50:43 +0000
X-Env-Sender: jdy22@hermes.cam.ac.uk
X-Msg-Ref: server-6.tower-27.messagelabs.com!1431553842!17370711!1
X-Originating-IP: [131.111.8.150]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogMTMxLjExMS44LjE1MCA9PiAxNDk0MDU=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 16178 invoked from network); 13 May 2015 21:50:42 -0000
Received: from ppsw-50.csi.cam.ac.uk (HELO ppsw-50.csi.cam.ac.uk)
	(131.111.8.150)
	by server-6.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 13 May 2015 21:50:42 -0000
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from mail-qk0-f176.google.com ([209.85.220.176]:36227)
	by ppsw-50.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.158]:587)
	with esmtpsa (PLAIN:jdy22) (TLSv1.2:AES128-GCM-SHA256:128)
	id 1YseY6-0005S9-qw (Exim 4.82_3-c0e5623) for
	mirageos-devel@lists.xenproject.org
	(return-path <jdy22@hermes.cam.ac.uk>); Wed, 13 May 2015 22:50:42 +0100
Received: by qku63 with SMTP id 63so38106526qku.3
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 13 May 2015 14:50:38 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.55.20.159 with SMTP id 31mr2321593qku.64.1431553838548; Wed,
	13 May 2015 14:50:38 -0700 (PDT)
Received: by 10.229.40.7 with HTTP; Wed, 13 May 2015 14:50:38 -0700 (PDT)
In-Reply-To: <CAG_esB35ta00pLfgh79FA8CHVBZoVLRuS7KXoc9avXyAA7kZSw@mail.gmail.com>
References: <CAG_esB35ta00pLfgh79FA8CHVBZoVLRuS7KXoc9avXyAA7kZSw@mail.gmail.com>
Date: Wed, 13 May 2015 22:50:38 +0100
Message-ID: <CAAxsn=Em13zmyZt6d9uLHHuiNdQtDrExLtrBmbu71NzEM3JyEA@mail.gmail.com>
From: Jeremy Yallop <jeremy.yallop@cl.cam.ac.uk>
To: David Scott <scott.dj@gmail.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] code coverage testing with Bisect
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 12 March 2015 at 09:34, David Scott <scott.dj@gmail.com> wrote:
> If you haven't given bisect a go -- I recommend playing with it.

Another data point: I was inspired by this to set up bisect coverage
testing for ctypes.  The standard bisect distribution didn't work for
me, since it appears that it doesn't support some recent additions to
the language, such as locally abstract types.  However, the new
bisect_ppx package works very well:

   http://opam.ocaml.org/packages/bisect_ppx/bisect_ppx.0.1/

I found bisect_ppx a little easier to use than the camlp4-based
bisect.  If you're using ocamlfind then switching on coverage testing
is just a matter of adding '-package bisect_ppx' to the compilation
flags:

   https://github.com/ocamllabs/ocaml-ctypes/blob/86b46a33/Makefile.rules#L25-L27
   https://github.com/ocamllabs/ocaml-ctypes/blob/86b46a33/Makefile.rules#L75

I found ocveralls and coverage.io entirely straightforward to set up as well.

Jeremy.

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 13 21:50:53 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 13 May 2015 21:50:53 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YseY9-0004qx-Hj; Wed, 13 May 2015 21:50:45 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <jdy22@hermes.cam.ac.uk>) id 1YseY8-0004qm-FO
	for mirageos-devel@lists.xenproject.org; Wed, 13 May 2015 21:50:44 +0000
Received: from [193.109.254.147] by server-5.bemta-14.messagelabs.com id
	E5/B5-03206-337C3555; Wed, 13 May 2015 21:50:43 +0000
X-Env-Sender: jdy22@hermes.cam.ac.uk
X-Msg-Ref: server-6.tower-27.messagelabs.com!1431553842!17370711!1
X-Originating-IP: [131.111.8.150]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogMTMxLjExMS44LjE1MCA9PiAxNDk0MDU=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 16178 invoked from network); 13 May 2015 21:50:42 -0000
Received: from ppsw-50.csi.cam.ac.uk (HELO ppsw-50.csi.cam.ac.uk)
	(131.111.8.150)
	by server-6.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 13 May 2015 21:50:42 -0000
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from mail-qk0-f176.google.com ([209.85.220.176]:36227)
	by ppsw-50.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.158]:587)
	with esmtpsa (PLAIN:jdy22) (TLSv1.2:AES128-GCM-SHA256:128)
	id 1YseY6-0005S9-qw (Exim 4.82_3-c0e5623) for
	mirageos-devel@lists.xenproject.org
	(return-path <jdy22@hermes.cam.ac.uk>); Wed, 13 May 2015 22:50:42 +0100
Received: by qku63 with SMTP id 63so38106526qku.3
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 13 May 2015 14:50:38 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.55.20.159 with SMTP id 31mr2321593qku.64.1431553838548; Wed,
	13 May 2015 14:50:38 -0700 (PDT)
Received: by 10.229.40.7 with HTTP; Wed, 13 May 2015 14:50:38 -0700 (PDT)
In-Reply-To: <CAG_esB35ta00pLfgh79FA8CHVBZoVLRuS7KXoc9avXyAA7kZSw@mail.gmail.com>
References: <CAG_esB35ta00pLfgh79FA8CHVBZoVLRuS7KXoc9avXyAA7kZSw@mail.gmail.com>
Date: Wed, 13 May 2015 22:50:38 +0100
Message-ID: <CAAxsn=Em13zmyZt6d9uLHHuiNdQtDrExLtrBmbu71NzEM3JyEA@mail.gmail.com>
From: Jeremy Yallop <jeremy.yallop@cl.cam.ac.uk>
To: David Scott <scott.dj@gmail.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] code coverage testing with Bisect
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 12 March 2015 at 09:34, David Scott <scott.dj@gmail.com> wrote:
> If you haven't given bisect a go -- I recommend playing with it.

Another data point: I was inspired by this to set up bisect coverage
testing for ctypes.  The standard bisect distribution didn't work for
me, since it appears that it doesn't support some recent additions to
the language, such as locally abstract types.  However, the new
bisect_ppx package works very well:

   http://opam.ocaml.org/packages/bisect_ppx/bisect_ppx.0.1/

I found bisect_ppx a little easier to use than the camlp4-based
bisect.  If you're using ocamlfind then switching on coverage testing
is just a matter of adding '-package bisect_ppx' to the compilation
flags:

   https://github.com/ocamllabs/ocaml-ctypes/blob/86b46a33/Makefile.rules#L25-L27
   https://github.com/ocamllabs/ocaml-ctypes/blob/86b46a33/Makefile.rules#L75

I found ocveralls and coverage.io entirely straightforward to set up as well.

Jeremy.

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu May 14 10:49:11 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 14 May 2015 10:49:11 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsqhN-0000Mh-RS; Thu, 14 May 2015 10:49:05 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YsqhN-0000Ma-7J
	for mirageos-devel@lists.xenproject.org; Thu, 14 May 2015 10:49:05 +0000
Received: from [85.158.139.211] by server-15.bemta-5.messagelabs.com id
	3C/82-02812-0AD74555; Thu, 14 May 2015 10:49:04 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-10.tower-206.messagelabs.com!1431600543!9588003!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 21688 invoked from network); 14 May 2015 10:49:03 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-10.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 14 May 2015 10:49:03 -0000
Received: from flick.office (volstagg-0.srg.cl.cam.ac.uk [128.232.32.232]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 40c7aa3f;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Thu, 14 May 2015 11:49:02 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAAxsn=Em13zmyZt6d9uLHHuiNdQtDrExLtrBmbu71NzEM3JyEA@mail.gmail.com>
Date: Thu, 14 May 2015 11:49:04 +0100
Message-Id: <03C92FE4-A3CA-4F5A-BD6A-DC24A3F82932@recoil.org>
References: <CAG_esB35ta00pLfgh79FA8CHVBZoVLRuS7KXoc9avXyAA7kZSw@mail.gmail.com>
	<CAAxsn=Em13zmyZt6d9uLHHuiNdQtDrExLtrBmbu71NzEM3JyEA@mail.gmail.com>
To: Jeremy Yallop <jeremy.yallop@cl.cam.ac.uk>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] code coverage testing with Bisect
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 13 May 2015, at 22:50, Jeremy Yallop <jeremy.yallop@cl.cam.ac.uk> wrote:
> 
> On 12 March 2015 at 09:34, David Scott <scott.dj@gmail.com> wrote:
>> If you haven't given bisect a go -- I recommend playing with it.
> 
> Another data point: I was inspired by this to set up bisect coverage
> testing for ctypes.  The standard bisect distribution didn't work for
> me, since it appears that it doesn't support some recent additions to
> the language, such as locally abstract types.  However, the new
> bisect_ppx package works very well:
> 
>   http://opam.ocaml.org/packages/bisect_ppx/bisect_ppx.0.1/
> 
> I found bisect_ppx a little easier to use than the camlp4-based
> bisect.  If you're using ocamlfind then switching on coverage testing
> is just a matter of adding '-package bisect_ppx' to the compilation
> flags:
> 
>   https://github.com/ocamllabs/ocaml-ctypes/blob/86b46a33/Makefile.rules#L25-L27
>   https://github.com/ocamllabs/ocaml-ctypes/blob/86b46a33/Makefile.rules#L75
> 
> I found ocveralls and coverage.io entirely straightforward to set up as well.

Looks good; it does impose an OCaml 4.02+ restriction on the use of ppx,
which I need to figure out how to do in OASIS so that we can apply this to
Cohttp.  I think it'll work with a flag that is only activated if the ppx
package is installed, which can only happen on 4.02+.

-anil


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu May 14 10:49:11 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 14 May 2015 10:49:11 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YsqhN-0000Mh-RS; Thu, 14 May 2015 10:49:05 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YsqhN-0000Ma-7J
	for mirageos-devel@lists.xenproject.org; Thu, 14 May 2015 10:49:05 +0000
Received: from [85.158.139.211] by server-15.bemta-5.messagelabs.com id
	3C/82-02812-0AD74555; Thu, 14 May 2015 10:49:04 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-10.tower-206.messagelabs.com!1431600543!9588003!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 21688 invoked from network); 14 May 2015 10:49:03 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-10.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 14 May 2015 10:49:03 -0000
Received: from flick.office (volstagg-0.srg.cl.cam.ac.uk [128.232.32.232]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 40c7aa3f;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Thu, 14 May 2015 11:49:02 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAAxsn=Em13zmyZt6d9uLHHuiNdQtDrExLtrBmbu71NzEM3JyEA@mail.gmail.com>
Date: Thu, 14 May 2015 11:49:04 +0100
Message-Id: <03C92FE4-A3CA-4F5A-BD6A-DC24A3F82932@recoil.org>
References: <CAG_esB35ta00pLfgh79FA8CHVBZoVLRuS7KXoc9avXyAA7kZSw@mail.gmail.com>
	<CAAxsn=Em13zmyZt6d9uLHHuiNdQtDrExLtrBmbu71NzEM3JyEA@mail.gmail.com>
To: Jeremy Yallop <jeremy.yallop@cl.cam.ac.uk>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] code coverage testing with Bisect
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 13 May 2015, at 22:50, Jeremy Yallop <jeremy.yallop@cl.cam.ac.uk> wrote:
> 
> On 12 March 2015 at 09:34, David Scott <scott.dj@gmail.com> wrote:
>> If you haven't given bisect a go -- I recommend playing with it.
> 
> Another data point: I was inspired by this to set up bisect coverage
> testing for ctypes.  The standard bisect distribution didn't work for
> me, since it appears that it doesn't support some recent additions to
> the language, such as locally abstract types.  However, the new
> bisect_ppx package works very well:
> 
>   http://opam.ocaml.org/packages/bisect_ppx/bisect_ppx.0.1/
> 
> I found bisect_ppx a little easier to use than the camlp4-based
> bisect.  If you're using ocamlfind then switching on coverage testing
> is just a matter of adding '-package bisect_ppx' to the compilation
> flags:
> 
>   https://github.com/ocamllabs/ocaml-ctypes/blob/86b46a33/Makefile.rules#L25-L27
>   https://github.com/ocamllabs/ocaml-ctypes/blob/86b46a33/Makefile.rules#L75
> 
> I found ocveralls and coverage.io entirely straightforward to set up as well.

Looks good; it does impose an OCaml 4.02+ restriction on the use of ppx,
which I need to figure out how to do in OASIS so that we can apply this to
Cohttp.  I think it'll work with a flag that is only activated if the ppx
package is installed, which can only happen on 4.02+.

-anil


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu May 14 11:06:56 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 14 May 2015 11:06:56 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Ysqyb-0002Jj-Pr; Thu, 14 May 2015 11:06:53 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <Christophe.TROESTLER@umons.ac.be>)
	id 1Ysqyb-0002Je-8Q
	for mirageos-devel@lists.xenproject.org; Thu, 14 May 2015 11:06:53 +0000
Received: from [193.109.254.147] by server-8.bemta-14.messagelabs.com id
	6E/4F-03204-CC184555; Thu, 14 May 2015 11:06:52 +0000
X-Env-Sender: Christophe.TROESTLER@umons.ac.be
X-Msg-Ref: server-12.tower-27.messagelabs.com!1431601611!17558800!1
X-Originating-IP: [157.55.234.73]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 2846 invoked from network); 14 May 2015 11:06:51 -0000
Received: from mail-db3on0073.outbound.protection.outlook.com (HELO
	emea01-db3-obe.outbound.protection.outlook.com) (157.55.234.73)
	by server-12.tower-27.messagelabs.com with AES256-SHA encrypted SMTP;
	14 May 2015 11:06:51 -0000
Received: from AMSPR05CA0033.eurprd05.prod.outlook.com (10.242.77.161) by
	DB4PR05MB0894.eurprd05.prod.outlook.com (25.161.248.28) with Microsoft
	SMTP Server (TLS) id 15.1.154.19; Thu, 14 May 2015 11:06:51 +0000
Received: from AM1FFO11FD027.protection.gbl (2a01:111:f400:7e00::196) by
	AMSPR05CA0033.outlook.office365.com (2a01:111:e400:8000::33) with
	Microsoft SMTP Server (TLS) id 15.1.166.22 via Frontend Transport;
	Thu, 14 May 2015 11:06:50 +0000
Received-SPF: Pass (protection.outlook.com: domain of umons.ac.be designates
	193.190.208.132 as permitted sender) receiver=protection.outlook.com;
	client-ip=193.190.208.132; helo=smtp.umons.ac.be;
Received: from smtp.umons.ac.be (193.190.208.132) by
	AM1FFO11FD027.mail.protection.outlook.com (10.174.64.216) with
	Microsoft SMTP Server (TLS) id 15.1.160.8 via Frontend Transport;
	Thu, 14 May 2015 11:06:49 +0000
Received: from poincare (10.104.2.63) by smtp.umons.ac.be (10.104.2.84) with
	Microsoft SMTP Server (TLS) id 14.3.224.2;
	Thu, 14 May 2015 13:06:43 +0200
Received: from localhost ([::1])	by poincare with esmtp (Exim 4.85)
	(envelope-from <Christophe.Troestler@umons.ac.be>)	id 1YsqyQ-0002k2-4o;
	Thu, 14 May 2015 13:06:42 +0200
Date: Thu, 14 May 2015 13:06:41 +0200
Message-ID: <20150514.130641.817914922361408930.Christophe.Troestler@umons.ac.be>
To: <anil@recoil.org>
From: Christophe Troestler <Christophe.Troestler@umons.ac.be>
In-Reply-To: <03C92FE4-A3CA-4F5A-BD6A-DC24A3F82932@recoil.org>
References: <CAG_esB35ta00pLfgh79FA8CHVBZoVLRuS7KXoc9avXyAA7kZSw@mail.gmail.com>
	<CAAxsn=Em13zmyZt6d9uLHHuiNdQtDrExLtrBmbu71NzEM3JyEA@mail.gmail.com>
	<03C92FE4-A3CA-4F5A-BD6A-DC24A3F82932@recoil.org>
X-Face: #2fb%mPx>rRL@4ff~TVgZ"<[:,oL"`TUEGK/[8/qb58~C>jR(x4A+v/n)7BgpEtIph_neoLKJBq0JBY9:<qMr[nclFSC*8GVW;
	&@q*7^R?u"i{y>}8v|j
Organization: Universite de Mons (http://math.umons.ac.be/anum/)
X-Mailer: Mew version 6.6 on Emacs 24.4 / Mule 6.0 (HANACHIRUSATO)
MIME-Version: 1.0
X-Originating-IP: [10.104.2.63]
X-EOPAttributedMessage: 0
X-Matching-Connectors: 130760752102415924;
	(9b551343-d075-4328-d154-08d0574c44b8,aa519c6d-c5b7-417d-4ec3-08d1170c20a9);
	(9b551343-d075-4328-d154-08d0574c44b8,aa519c6d-c5b7-417d-4ec3-08d1170c20a9)
X-Microsoft-Exchange-Diagnostics: 1; AM1FFO11FD027;
	1:G1h/+10+TRC9Dew2aO3cwdv94GBZ0kv3j1PulwZqpRtKytjz5H73KyuyRxognbBsguthnrPiClDWqp1rf5vrcYF91P/Ujfz2sDLcSdvnSvR6Dc3OJexljsMexo2JI3dOjaw9Mf3Yc0ofT8v9OB3kQJ7IuDC9zjO+LWa4XkL5ro201KzIcvUvxHqQyq6EhmbkGHKP2Blh/UyzvscRxD5cJxMymqYu/xa87PPxJ0D3HSqceolG/ZEjXesGrHuLxc0wJ1q3EwMTLy++MuF1lis560HGJ+06KJ4GfJNtTdpp5kcgfWqzswFcZLuUpcyUSr+tCZERgD/bh6s9IRt3if0HgyN5BoN+YM1tlLt4nbH+q+fLbm1Nv3yYV2fM0dVNmvjn
X-Forefront-Antispam-Report: CIP:193.190.208.132; CTRY:BE; IPV:NLI; EFV:NLI;
	SFV:NSPM;
	SFS:(10009020)(6009001)(438002)(51704005)(199003)(189002)(24454002)(5001970100001)(97756001)(46406003)(189998001)(110136002)(19580395003)(23726002)(50466002)(15975445007)(50226001)(57986006)(76506005)(16796002)(6806004)(87936001)(2950100001)(106466001)(36756003)(76176999)(46102003)(50986999)(74482002)(92566002)(103116003)(62966003)(77156002)(86362001)(4960100001)(47776003)(2351001);
	DIR:OUT; SFP:1101; SCL:1; SRVR:DB4PR05MB0894; H:smtp.umons.ac.be;
	FPR:; SPF:Pass; MLV:sfv; A:0; MX:1; LANG:en; 
X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB4PR05MB0894;
X-Microsoft-Antispam-PRVS: <DB4PR05MB0894EBD7A16567C4FAF36FECCED80@DB4PR05MB0894.eurprd05.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0;
	RULEID:(601004)(5005006)(3002001); SRVR:DB4PR05MB0894; BCL:0;
	PCL:0; RULEID:(400006); SRVR:DB4PR05MB0894; 
X-Forefront-PRVS: 0576145E86
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 May 2015 11:06:49.9763 (UTC)
X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;
	Ip=[193.190.208.132]; Helo=[smtp.umons.ac.be]
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR05MB0894
Cc: jeremy.yallop@cl.cam.ac.uk, mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] code coverage testing with Bisect
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi,

On Thu, 14 May 2015 11:49:04 +0100, Anil Madhavapeddy wrote:
> 
> Looks good; it does impose an OCaml 4.02+ restriction on the use of ppx,
> which I need to figure out how to do in OASIS so that we can apply this to
> Cohttp.  I think it'll work with a flag that is only activated if the ppx
> package is installed, which can only happen on 4.02+.

If you are using oasis2opam, I recommend using the name of the findlib
library as the flag name so that oasis2opam inserts an appropriate
--enable... to the configure phase in opam.
Example: https://github.com/Chris00/ocaml-cairo/blob/master/_oasis#L17

Cheers,
C.

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu May 14 11:06:56 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 14 May 2015 11:06:56 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Ysqyb-0002Jj-Pr; Thu, 14 May 2015 11:06:53 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <Christophe.TROESTLER@umons.ac.be>)
	id 1Ysqyb-0002Je-8Q
	for mirageos-devel@lists.xenproject.org; Thu, 14 May 2015 11:06:53 +0000
Received: from [193.109.254.147] by server-8.bemta-14.messagelabs.com id
	6E/4F-03204-CC184555; Thu, 14 May 2015 11:06:52 +0000
X-Env-Sender: Christophe.TROESTLER@umons.ac.be
X-Msg-Ref: server-12.tower-27.messagelabs.com!1431601611!17558800!1
X-Originating-IP: [157.55.234.73]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 2846 invoked from network); 14 May 2015 11:06:51 -0000
Received: from mail-db3on0073.outbound.protection.outlook.com (HELO
	emea01-db3-obe.outbound.protection.outlook.com) (157.55.234.73)
	by server-12.tower-27.messagelabs.com with AES256-SHA encrypted SMTP;
	14 May 2015 11:06:51 -0000
Received: from AMSPR05CA0033.eurprd05.prod.outlook.com (10.242.77.161) by
	DB4PR05MB0894.eurprd05.prod.outlook.com (25.161.248.28) with Microsoft
	SMTP Server (TLS) id 15.1.154.19; Thu, 14 May 2015 11:06:51 +0000
Received: from AM1FFO11FD027.protection.gbl (2a01:111:f400:7e00::196) by
	AMSPR05CA0033.outlook.office365.com (2a01:111:e400:8000::33) with
	Microsoft SMTP Server (TLS) id 15.1.166.22 via Frontend Transport;
	Thu, 14 May 2015 11:06:50 +0000
Received-SPF: Pass (protection.outlook.com: domain of umons.ac.be designates
	193.190.208.132 as permitted sender) receiver=protection.outlook.com;
	client-ip=193.190.208.132; helo=smtp.umons.ac.be;
Received: from smtp.umons.ac.be (193.190.208.132) by
	AM1FFO11FD027.mail.protection.outlook.com (10.174.64.216) with
	Microsoft SMTP Server (TLS) id 15.1.160.8 via Frontend Transport;
	Thu, 14 May 2015 11:06:49 +0000
Received: from poincare (10.104.2.63) by smtp.umons.ac.be (10.104.2.84) with
	Microsoft SMTP Server (TLS) id 14.3.224.2;
	Thu, 14 May 2015 13:06:43 +0200
Received: from localhost ([::1])	by poincare with esmtp (Exim 4.85)
	(envelope-from <Christophe.Troestler@umons.ac.be>)	id 1YsqyQ-0002k2-4o;
	Thu, 14 May 2015 13:06:42 +0200
Date: Thu, 14 May 2015 13:06:41 +0200
Message-ID: <20150514.130641.817914922361408930.Christophe.Troestler@umons.ac.be>
To: <anil@recoil.org>
From: Christophe Troestler <Christophe.Troestler@umons.ac.be>
In-Reply-To: <03C92FE4-A3CA-4F5A-BD6A-DC24A3F82932@recoil.org>
References: <CAG_esB35ta00pLfgh79FA8CHVBZoVLRuS7KXoc9avXyAA7kZSw@mail.gmail.com>
	<CAAxsn=Em13zmyZt6d9uLHHuiNdQtDrExLtrBmbu71NzEM3JyEA@mail.gmail.com>
	<03C92FE4-A3CA-4F5A-BD6A-DC24A3F82932@recoil.org>
X-Face: #2fb%mPx>rRL@4ff~TVgZ"<[:,oL"`TUEGK/[8/qb58~C>jR(x4A+v/n)7BgpEtIph_neoLKJBq0JBY9:<qMr[nclFSC*8GVW;
	&@q*7^R?u"i{y>}8v|j
Organization: Universite de Mons (http://math.umons.ac.be/anum/)
X-Mailer: Mew version 6.6 on Emacs 24.4 / Mule 6.0 (HANACHIRUSATO)
MIME-Version: 1.0
X-Originating-IP: [10.104.2.63]
X-EOPAttributedMessage: 0
X-Matching-Connectors: 130760752102415924;
	(9b551343-d075-4328-d154-08d0574c44b8,aa519c6d-c5b7-417d-4ec3-08d1170c20a9);
	(9b551343-d075-4328-d154-08d0574c44b8,aa519c6d-c5b7-417d-4ec3-08d1170c20a9)
X-Microsoft-Exchange-Diagnostics: 1; AM1FFO11FD027;
	1:G1h/+10+TRC9Dew2aO3cwdv94GBZ0kv3j1PulwZqpRtKytjz5H73KyuyRxognbBsguthnrPiClDWqp1rf5vrcYF91P/Ujfz2sDLcSdvnSvR6Dc3OJexljsMexo2JI3dOjaw9Mf3Yc0ofT8v9OB3kQJ7IuDC9zjO+LWa4XkL5ro201KzIcvUvxHqQyq6EhmbkGHKP2Blh/UyzvscRxD5cJxMymqYu/xa87PPxJ0D3HSqceolG/ZEjXesGrHuLxc0wJ1q3EwMTLy++MuF1lis560HGJ+06KJ4GfJNtTdpp5kcgfWqzswFcZLuUpcyUSr+tCZERgD/bh6s9IRt3if0HgyN5BoN+YM1tlLt4nbH+q+fLbm1Nv3yYV2fM0dVNmvjn
X-Forefront-Antispam-Report: CIP:193.190.208.132; CTRY:BE; IPV:NLI; EFV:NLI;
	SFV:NSPM;
	SFS:(10009020)(6009001)(438002)(51704005)(199003)(189002)(24454002)(5001970100001)(97756001)(46406003)(189998001)(110136002)(19580395003)(23726002)(50466002)(15975445007)(50226001)(57986006)(76506005)(16796002)(6806004)(87936001)(2950100001)(106466001)(36756003)(76176999)(46102003)(50986999)(74482002)(92566002)(103116003)(62966003)(77156002)(86362001)(4960100001)(47776003)(2351001);
	DIR:OUT; SFP:1101; SCL:1; SRVR:DB4PR05MB0894; H:smtp.umons.ac.be;
	FPR:; SPF:Pass; MLV:sfv; A:0; MX:1; LANG:en; 
X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB4PR05MB0894;
X-Microsoft-Antispam-PRVS: <DB4PR05MB0894EBD7A16567C4FAF36FECCED80@DB4PR05MB0894.eurprd05.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0;
	RULEID:(601004)(5005006)(3002001); SRVR:DB4PR05MB0894; BCL:0;
	PCL:0; RULEID:(400006); SRVR:DB4PR05MB0894; 
X-Forefront-PRVS: 0576145E86
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 May 2015 11:06:49.9763 (UTC)
X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;
	Ip=[193.190.208.132]; Helo=[smtp.umons.ac.be]
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR05MB0894
Cc: jeremy.yallop@cl.cam.ac.uk, mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] code coverage testing with Bisect
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi,

On Thu, 14 May 2015 11:49:04 +0100, Anil Madhavapeddy wrote:
> 
> Looks good; it does impose an OCaml 4.02+ restriction on the use of ppx,
> which I need to figure out how to do in OASIS so that we can apply this to
> Cohttp.  I think it'll work with a flag that is only activated if the ppx
> package is installed, which can only happen on 4.02+.

If you are using oasis2opam, I recommend using the name of the findlib
library as the flag name so that oasis2opam inserts an appropriate
--enable... to the configure phase in opam.
Example: https://github.com/Chris00/ocaml-cairo/blob/master/_oasis#L17

Cheers,
C.

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu May 14 11:08:50 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 14 May 2015 11:08:50 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Ysr0U-0002RF-HI; Thu, 14 May 2015 11:08:50 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1Ysr0T-0002R2-Dp
	for mirageos-devel@lists.xenproject.org; Thu, 14 May 2015 11:08:49 +0000
Received: from [85.158.137.68] by server-9.bemta-3.messagelabs.com id
	42/0E-03028-04284555; Thu, 14 May 2015 11:08:48 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-10.tower-31.messagelabs.com!1431601727!15327017!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 8705 invoked from network); 14 May 2015 11:08:47 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-10.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 14 May 2015 11:08:47 -0000
Received: from dhcp-172-17-159-45.eduroam.wireless.private.cam.ac.uk
	(global-1-26.nat.csx.cam.ac.uk [131.111.184.26]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 23474f72;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Thu, 14 May 2015 12:08:47 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <20150514.130641.817914922361408930.Christophe.Troestler@umons.ac.be>
Date: Thu, 14 May 2015 12:08:47 +0100
Message-Id: <46F9D0E5-E501-478E-A5E1-1A09DE3430A7@recoil.org>
References: <CAG_esB35ta00pLfgh79FA8CHVBZoVLRuS7KXoc9avXyAA7kZSw@mail.gmail.com>
	<CAAxsn=Em13zmyZt6d9uLHHuiNdQtDrExLtrBmbu71NzEM3JyEA@mail.gmail.com>
	<03C92FE4-A3CA-4F5A-BD6A-DC24A3F82932@recoil.org>
	<20150514.130641.817914922361408930.Christophe.Troestler@umons.ac.be>
To: Christophe Troestler <Christophe.Troestler@umons.ac.be>
X-Mailer: Apple Mail (2.2098)
Cc: jeremy.yallop@cl.cam.ac.uk, mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] code coverage testing with Bisect
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 14 May 2015, at 12:06, Christophe Troestler <Christophe.Troestler@umons.ac.be> wrote:
> 
> Hi,
> 
> On Thu, 14 May 2015 11:49:04 +0100, Anil Madhavapeddy wrote:
>> 
>> Looks good; it does impose an OCaml 4.02+ restriction on the use of ppx,
>> which I need to figure out how to do in OASIS so that we can apply this to
>> Cohttp.  I think it'll work with a flag that is only activated if the ppx
>> package is installed, which can only happen on 4.02+.
> 
> If you are using oasis2opam, I recommend using the name of the findlib
> library as the flag name so that oasis2opam inserts an appropriate
> --enable... to the configure phase in opam.
> Example: https://github.com/Chris00/ocaml-cairo/blob/master/_oasis#L17

That's convenient! I'm not currently using oasis2opam, but I'll try it
out now for Cohttp.

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu May 14 11:08:50 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 14 May 2015 11:08:50 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Ysr0U-0002RF-HI; Thu, 14 May 2015 11:08:50 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1Ysr0T-0002R2-Dp
	for mirageos-devel@lists.xenproject.org; Thu, 14 May 2015 11:08:49 +0000
Received: from [85.158.137.68] by server-9.bemta-3.messagelabs.com id
	42/0E-03028-04284555; Thu, 14 May 2015 11:08:48 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-10.tower-31.messagelabs.com!1431601727!15327017!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 8705 invoked from network); 14 May 2015 11:08:47 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-10.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 14 May 2015 11:08:47 -0000
Received: from dhcp-172-17-159-45.eduroam.wireless.private.cam.ac.uk
	(global-1-26.nat.csx.cam.ac.uk [131.111.184.26]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 23474f72;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Thu, 14 May 2015 12:08:47 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <20150514.130641.817914922361408930.Christophe.Troestler@umons.ac.be>
Date: Thu, 14 May 2015 12:08:47 +0100
Message-Id: <46F9D0E5-E501-478E-A5E1-1A09DE3430A7@recoil.org>
References: <CAG_esB35ta00pLfgh79FA8CHVBZoVLRuS7KXoc9avXyAA7kZSw@mail.gmail.com>
	<CAAxsn=Em13zmyZt6d9uLHHuiNdQtDrExLtrBmbu71NzEM3JyEA@mail.gmail.com>
	<03C92FE4-A3CA-4F5A-BD6A-DC24A3F82932@recoil.org>
	<20150514.130641.817914922361408930.Christophe.Troestler@umons.ac.be>
To: Christophe Troestler <Christophe.Troestler@umons.ac.be>
X-Mailer: Apple Mail (2.2098)
Cc: jeremy.yallop@cl.cam.ac.uk, mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] code coverage testing with Bisect
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 14 May 2015, at 12:06, Christophe Troestler <Christophe.Troestler@umons.ac.be> wrote:
> 
> Hi,
> 
> On Thu, 14 May 2015 11:49:04 +0100, Anil Madhavapeddy wrote:
>> 
>> Looks good; it does impose an OCaml 4.02+ restriction on the use of ppx,
>> which I need to figure out how to do in OASIS so that we can apply this to
>> Cohttp.  I think it'll work with a flag that is only activated if the ppx
>> package is installed, which can only happen on 4.02+.
> 
> If you are using oasis2opam, I recommend using the name of the findlib
> library as the flag name so that oasis2opam inserts an appropriate
> --enable... to the configure phase in opam.
> Example: https://github.com/Chris00/ocaml-cairo/blob/master/_oasis#L17

That's convenient! I'm not currently using oasis2opam, but I'll try it
out now for Cohttp.

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu May 14 14:09:03 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 14 May 2015 14:09:03 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Ystok-0003AN-OB; Thu, 14 May 2015 14:08:54 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <kosmo.zb@gmail.com>) id 1Ystoj-00039z-IL
	for mirageos-devel@lists.xenproject.org; Thu, 14 May 2015 14:08:53 +0000
Received: from [193.109.254.147] by server-10.bemta-14.messagelabs.com id
	55/D3-02785-47CA4555; Thu, 14 May 2015 14:08:52 +0000
X-Env-Sender: kosmo.zb@gmail.com
X-Msg-Ref: server-13.tower-27.messagelabs.com!1431612530!17614580!1
X-Originating-IP: [209.85.160.179]
X-SpamReason: No, hits=0.8 required=7.0 tests=BODY_RANDOM_LONG,
  RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 23285 invoked from network); 14 May 2015 14:08:51 -0000
Received: from mail-yk0-f179.google.com (HELO mail-yk0-f179.google.com)
	(209.85.160.179)
	by server-13.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	14 May 2015 14:08:51 -0000
Received: by ykeo186 with SMTP id o186so24493611yke.0
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 14 May 2015 07:08:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=+2fgqzwIvRkHtwgcZkCmUWRJOvWgt6mRGy1V/urgP70=;
	b=vVtFDKdu2aMQaEFaAdCW33nXIvq1usscjrbe2xZRntQwqlpxLXH9x83dM1j7erdoVV
	buZXbqcPo1gdIdBAskbmqCUFV/B5Zh/v+JsxUPReOJihcJtGFGZHekrQ8eQEjCi6J6Q1
	MG0gIwD4VMOKP86iO2pXn8zG/1tQgGAsOHE0vYX8ZGYySmBhAso74Mk9v969uXRJfOh/
	xS76WXAI53q3x/mFDb1Z3CfgPfPQ0ogoS3KAdt2gDM4eZm5nla/OzIfdW7P7VPUArN1j
	OTgrA6jybHKQKqAcNVNmPMRavFddE/fwacbnCF+FdAt5P5kKeMfF0Cuqfck0OKobgYlf
	xZUw==
MIME-Version: 1.0
X-Received: by 10.236.20.230 with SMTP id p66mr4353625yhp.181.1431612530098;
	Thu, 14 May 2015 07:08:50 -0700 (PDT)
Received: by 10.129.145.2 with HTTP; Thu, 14 May 2015 07:08:50 -0700 (PDT)
In-Reply-To: <61301401-5195-44C5-834C-62968B2B80E2@recoil.org>
References: <DUB128-W30E699593E90F888ACF93DB4DB0@phx.gbl>
	<55508479.1070004@somerandomidiot.com>
	<61301401-5195-44C5-834C-62968B2B80E2@recoil.org>
Date: Thu, 14 May 2015 15:08:50 +0100
X-Google-Sender-Auth: kBDYwpg2YXcbb0Uvcqygsx3TZDw
Message-ID: <CAAWM5TzHOtsBsSewiiB4KpVOepO0DqHhhstRY_T4CeeRahmmeQ@mail.gmail.com>
From: David Sheets <sheets@alum.mit.edu>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] simple dns server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Both of the issues raised in this thread were reported and tracked at

<https://github.com/mirage/ocaml-dns/issues/67>
<https://github.com/mirage/ocaml-dns/issues/69>

Luke Dunstan and I submitted patches to address them. Luke also wrote
some nice tests.

Subsequently, dns.0.15.0 was released this afternoon which includes
both of these fixes (and a revised Name module interface).

Happy hacking!

David

On Tue, May 12, 2015 at 4:12 PM, Anil Madhavapeddy <anil@recoil.org> wrote:
> It's not obvious, but that particular zone file came from a regression test
> of the original OCaml DNS library written in 2006, and so is an odd choice
> (my fault) for an example zone file!
>
> Feel free to change it around to something a little more accessible.  The
> other thing missing from the DNS library is a more natural way to add and
> remove records without going through a zone file, and so that's a good area
> for improvement.
>
> Now that the TLS stack is up and running, I'm going to move the mirage.io
> DNS over to a unikernel as well. We used to run the DNS self-hosted, but it
> has migrated to Gandi recently.  The GitHub workflow is proving to be quite
> an effective deployment interface, and so we're in good shape to bring back
> the hosted DNS as well.  It just needs a good logging interface (c.f. the
> other thread), but for now I'll capture the console output.
>
> -anil
>
>
> On 11 May 2015, at 11:29, Mindy <mindy@somerandomidiot.com> wrote:
>
> Hm, I had this same problem.  I was able to get the server to run by making
> the following changes to data/test.zone (although the initialization still
> complains about unknown services in other lines):
>
> on line 55, s/udp/17/
>
> Then, rerun `mirage configure --unix` and `make`.  After doing that and
> starting the server, I'm able to get a response from `dig @127.0.0.1
> ns0.d1.signpo.st.` (127.0.0.1 because I'm running in socket mode).
>
> Cheers,
> Mindy
>
> On 05/11/2015 11:06 AM, Nick Betteridge wrote:
>
> Hello
>
> I'm trying to get the simple dns server to work that Heidi has in her
> examples (github.com/heidi-ann/ocaml-dns-examples) and I'm getting an error
> which I don't really understand - it's occurs both on the cubieboard and my
> amd64 desktop:
>
> [amd64]
> $ sudo ./mir-dns
> Manager: connect
> plugging into tap0 with mac c2:9d:56:19:d7:2c..
> Netif: connect tap0
> Manager: connect
> Manager: configuring
> Manager: configuring
> Netif: error, terminating listen loop
> Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.254]
>
> Manager: socket config currently ignored (TODO)
> ARP: sending gratuitous from 192.168.1.2
> Manager: configuration done
> Warning (<string> line 47): Converting MD to MX
> Warning (<string> line 48): Converting MF to MX
> Error (<string> line 54): udp is not a known IP protocol
> Error (<string> line 56): unknown service "chargen" for protocol 6
> Warning (<string> line 47): Converting MD to MX
> Warning (<string> line 48): Converting MF to MX
> Error (<string> line 54): udp is not a known IP protocol
> Error (<string> line 56): unknown service "chargen" for protocol 6
> Netif: error, terminating listen loop
>
> [cubieboard2]
> $ sudo ./mir-dns
> plugging into tap0 with mac c2:9d:56:19:d7:2c..
> Netif: connect tap0
> Manager: connect
> Manager: connect
> Manager: configuring
> Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.1]
>
> ARP: sending gratuitous from 192.168.1.2
> Manager: configuration done
> Manager: configuring
> Warning (<string> line 47): Converting MD to MX
> Warning (<string> line 48): Converting MF to MX
> Error (<string> line 54): udp is not a known IP protocol
> Error (<string> line 56): unknown service "chargen" for protocol 6
> Manager: socket config currently ignored (TODO)
> Warning (<string> line 47): Converting MD to MX
> Warning (<string> line 48): Converting MF to MX
> Error (<string> line 54): udp is not a known IP protocol
> Error (<string> line 56): unknown service "chargen" for protocol 6
>
>
> Does anyone have any idea how I can move forward on this?
>
> Thanks
> Nick
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu May 14 14:09:03 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 14 May 2015 14:09:03 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Ystok-0003AN-OB; Thu, 14 May 2015 14:08:54 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <kosmo.zb@gmail.com>) id 1Ystoj-00039z-IL
	for mirageos-devel@lists.xenproject.org; Thu, 14 May 2015 14:08:53 +0000
Received: from [193.109.254.147] by server-10.bemta-14.messagelabs.com id
	55/D3-02785-47CA4555; Thu, 14 May 2015 14:08:52 +0000
X-Env-Sender: kosmo.zb@gmail.com
X-Msg-Ref: server-13.tower-27.messagelabs.com!1431612530!17614580!1
X-Originating-IP: [209.85.160.179]
X-SpamReason: No, hits=0.8 required=7.0 tests=BODY_RANDOM_LONG,
  RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 23285 invoked from network); 14 May 2015 14:08:51 -0000
Received: from mail-yk0-f179.google.com (HELO mail-yk0-f179.google.com)
	(209.85.160.179)
	by server-13.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	14 May 2015 14:08:51 -0000
Received: by ykeo186 with SMTP id o186so24493611yke.0
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 14 May 2015 07:08:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=+2fgqzwIvRkHtwgcZkCmUWRJOvWgt6mRGy1V/urgP70=;
	b=vVtFDKdu2aMQaEFaAdCW33nXIvq1usscjrbe2xZRntQwqlpxLXH9x83dM1j7erdoVV
	buZXbqcPo1gdIdBAskbmqCUFV/B5Zh/v+JsxUPReOJihcJtGFGZHekrQ8eQEjCi6J6Q1
	MG0gIwD4VMOKP86iO2pXn8zG/1tQgGAsOHE0vYX8ZGYySmBhAso74Mk9v969uXRJfOh/
	xS76WXAI53q3x/mFDb1Z3CfgPfPQ0ogoS3KAdt2gDM4eZm5nla/OzIfdW7P7VPUArN1j
	OTgrA6jybHKQKqAcNVNmPMRavFddE/fwacbnCF+FdAt5P5kKeMfF0Cuqfck0OKobgYlf
	xZUw==
MIME-Version: 1.0
X-Received: by 10.236.20.230 with SMTP id p66mr4353625yhp.181.1431612530098;
	Thu, 14 May 2015 07:08:50 -0700 (PDT)
Received: by 10.129.145.2 with HTTP; Thu, 14 May 2015 07:08:50 -0700 (PDT)
In-Reply-To: <61301401-5195-44C5-834C-62968B2B80E2@recoil.org>
References: <DUB128-W30E699593E90F888ACF93DB4DB0@phx.gbl>
	<55508479.1070004@somerandomidiot.com>
	<61301401-5195-44C5-834C-62968B2B80E2@recoil.org>
Date: Thu, 14 May 2015 15:08:50 +0100
X-Google-Sender-Auth: kBDYwpg2YXcbb0Uvcqygsx3TZDw
Message-ID: <CAAWM5TzHOtsBsSewiiB4KpVOepO0DqHhhstRY_T4CeeRahmmeQ@mail.gmail.com>
From: David Sheets <sheets@alum.mit.edu>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] simple dns server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Both of the issues raised in this thread were reported and tracked at

<https://github.com/mirage/ocaml-dns/issues/67>
<https://github.com/mirage/ocaml-dns/issues/69>

Luke Dunstan and I submitted patches to address them. Luke also wrote
some nice tests.

Subsequently, dns.0.15.0 was released this afternoon which includes
both of these fixes (and a revised Name module interface).

Happy hacking!

David

On Tue, May 12, 2015 at 4:12 PM, Anil Madhavapeddy <anil@recoil.org> wrote:
> It's not obvious, but that particular zone file came from a regression test
> of the original OCaml DNS library written in 2006, and so is an odd choice
> (my fault) for an example zone file!
>
> Feel free to change it around to something a little more accessible.  The
> other thing missing from the DNS library is a more natural way to add and
> remove records without going through a zone file, and so that's a good area
> for improvement.
>
> Now that the TLS stack is up and running, I'm going to move the mirage.io
> DNS over to a unikernel as well. We used to run the DNS self-hosted, but it
> has migrated to Gandi recently.  The GitHub workflow is proving to be quite
> an effective deployment interface, and so we're in good shape to bring back
> the hosted DNS as well.  It just needs a good logging interface (c.f. the
> other thread), but for now I'll capture the console output.
>
> -anil
>
>
> On 11 May 2015, at 11:29, Mindy <mindy@somerandomidiot.com> wrote:
>
> Hm, I had this same problem.  I was able to get the server to run by making
> the following changes to data/test.zone (although the initialization still
> complains about unknown services in other lines):
>
> on line 55, s/udp/17/
>
> Then, rerun `mirage configure --unix` and `make`.  After doing that and
> starting the server, I'm able to get a response from `dig @127.0.0.1
> ns0.d1.signpo.st.` (127.0.0.1 because I'm running in socket mode).
>
> Cheers,
> Mindy
>
> On 05/11/2015 11:06 AM, Nick Betteridge wrote:
>
> Hello
>
> I'm trying to get the simple dns server to work that Heidi has in her
> examples (github.com/heidi-ann/ocaml-dns-examples) and I'm getting an error
> which I don't really understand - it's occurs both on the cubieboard and my
> amd64 desktop:
>
> [amd64]
> $ sudo ./mir-dns
> Manager: connect
> plugging into tap0 with mac c2:9d:56:19:d7:2c..
> Netif: connect tap0
> Manager: connect
> Manager: configuring
> Manager: configuring
> Netif: error, terminating listen loop
> Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.254]
>
> Manager: socket config currently ignored (TODO)
> ARP: sending gratuitous from 192.168.1.2
> Manager: configuration done
> Warning (<string> line 47): Converting MD to MX
> Warning (<string> line 48): Converting MF to MX
> Error (<string> line 54): udp is not a known IP protocol
> Error (<string> line 56): unknown service "chargen" for protocol 6
> Warning (<string> line 47): Converting MD to MX
> Warning (<string> line 48): Converting MF to MX
> Error (<string> line 54): udp is not a known IP protocol
> Error (<string> line 56): unknown service "chargen" for protocol 6
> Netif: error, terminating listen loop
>
> [cubieboard2]
> $ sudo ./mir-dns
> plugging into tap0 with mac c2:9d:56:19:d7:2c..
> Netif: connect tap0
> Manager: connect
> Manager: connect
> Manager: configuring
> Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.1]
>
> ARP: sending gratuitous from 192.168.1.2
> Manager: configuration done
> Manager: configuring
> Warning (<string> line 47): Converting MD to MX
> Warning (<string> line 48): Converting MF to MX
> Error (<string> line 54): udp is not a known IP protocol
> Error (<string> line 56): unknown service "chargen" for protocol 6
> Manager: socket config currently ignored (TODO)
> Warning (<string> line 47): Converting MD to MX
> Warning (<string> line 48): Converting MF to MX
> Error (<string> line 54): udp is not a known IP protocol
> Error (<string> line 56): unknown service "chargen" for protocol 6
>
>
> Does anyone have any idea how I can move forward on this?
>
> Thanks
> Nick
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu May 14 15:05:15 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 14 May 2015 15:05:15 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Ysuh4-0000Mw-LS; Thu, 14 May 2015 15:05:02 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <buzzheavyyear@hotmail.com>) id 1Ysuh2-0000Mj-8C
	for mirageos-devel@lists.xenproject.org; Thu, 14 May 2015 15:05:00 +0000
Received: from [193.109.254.147] by server-8.bemta-14.messagelabs.com id
	B6/2A-03204-A99B4555; Thu, 14 May 2015 15:04:58 +0000
X-Env-Sender: buzzheavyyear@hotmail.com
X-Msg-Ref: server-8.tower-27.messagelabs.com!1431615896!17637144!1
X-Originating-IP: [157.55.0.217]
X-SpamReason: No, hits=1.5 required=7.0 tests=BODY_RANDOM_LONG,
	FORGED_HOTMAIL_RCVD,HTML_20_30,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 21606 invoked from network); 14 May 2015 15:04:56 -0000
Received: from dub004-omc1s18.hotmail.com (HELO DUB004-OMC1S18.hotmail.com)
	(157.55.0.217)
	by server-8.tower-27.messagelabs.com with AES256-SHA encrypted SMTP;
	14 May 2015 15:04:56 -0000
Received: from DUB128-W80 ([157.55.0.237]) by DUB004-OMC1S18.hotmail.com over
	TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); 
	Thu, 14 May 2015 08:04:55 -0700
X-TMN: [YzXohTg3I7bsPM6STiJn/VlSX/BWWj7G]
X-Originating-Email: [buzzheavyyear@hotmail.com]
Message-ID: <DUB128-W80DE5C49054CDFA1760CD1B4D80@phx.gbl>
From: Nick Betteridge <buzzheavyyear@hotmail.com>
To: David Sheets <sheets@alum.mit.edu>
Date: Thu, 14 May 2015 15:04:55 +0000
Importance: Normal
In-Reply-To: <CAAWM5TzHOtsBsSewiiB4KpVOepO0DqHhhstRY_T4CeeRahmmeQ@mail.gmail.com>
References: <DUB128-W30E699593E90F888ACF93DB4DB0@phx.gbl>,
	<55508479.1070004@somerandomidiot.com>,
	<61301401-5195-44C5-834C-62968B2B80E2@recoil.org>,
	<CAAWM5TzHOtsBsSewiiB4KpVOepO0DqHhhstRY_T4CeeRahmmeQ@mail.gmail.com>
MIME-Version: 1.0
X-OriginalArrivalTime: 14 May 2015 15:04:55.0906 (UTC)
	FILETIME=[568C0420:01D08E57]
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] simple dns server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============6383312798621666337=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============6383312798621666337==
Content-Type: multipart/alternative;
	boundary="_e12828d9-929a-44e3-a667-82cf0ac56999_"

--_e12828d9-929a-44e3-a667-82cf0ac56999_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Excellent=2C thank you.

> Date: Thu=2C 14 May 2015 15:08:50 +0100
> From: sheets@alum.mit.edu
> To: anil@recoil.org
> CC: mirageos-devel@lists.xenproject.org
> Subject: Re: [MirageOS-devel] simple dns server
>=20
> Both of the issues raised in this thread were reported and tracked at
>=20
> <https://github.com/mirage/ocaml-dns/issues/67>
> <https://github.com/mirage/ocaml-dns/issues/69>
>=20
> Luke Dunstan and I submitted patches to address them. Luke also wrote
> some nice tests.
>=20
> Subsequently=2C dns.0.15.0 was released this afternoon which includes
> both of these fixes (and a revised Name module interface).
>=20
> Happy hacking!
>=20
> David
>=20
> On Tue=2C May 12=2C 2015 at 4:12 PM=2C Anil Madhavapeddy <anil@recoil.org=
> wrote:
> > It's not obvious=2C but that particular zone file came from a regressio=
n test
> > of the original OCaml DNS library written in 2006=2C and so is an odd c=
hoice
> > (my fault) for an example zone file!
> >
> > Feel free to change it around to something a little more accessible.  T=
he
> > other thing missing from the DNS library is a more natural way to add a=
nd
> > remove records without going through a zone file=2C and so that's a goo=
d area
> > for improvement.
> >
> > Now that the TLS stack is up and running=2C I'm going to move the mirag=
e.io
> > DNS over to a unikernel as well. We used to run the DNS self-hosted=2C =
but it
> > has migrated to Gandi recently.  The GitHub workflow is proving to be q=
uite
> > an effective deployment interface=2C and so we're in good shape to brin=
g back
> > the hosted DNS as well.  It just needs a good logging interface (c.f. t=
he
> > other thread)=2C but for now I'll capture the console output.
> >
> > -anil
> >
> >
> > On 11 May 2015=2C at 11:29=2C Mindy <mindy@somerandomidiot.com> wrote:
> >
> > Hm=2C I had this same problem.  I was able to get the server to run by =
making
> > the following changes to data/test.zone (although the initialization st=
ill
> > complains about unknown services in other lines):
> >
> > on line 55=2C s/udp/17/
> >
> > Then=2C rerun `mirage configure --unix` and `make`.  After doing that a=
nd
> > starting the server=2C I'm able to get a response from `dig @127.0.0.1
> > ns0.d1.signpo.st.` (127.0.0.1 because I'm running in socket mode).
> >
> > Cheers=2C
> > Mindy
> >
> > On 05/11/2015 11:06 AM=2C Nick Betteridge wrote:
> >
> > Hello
> >
> > I'm trying to get the simple dns server to work that Heidi has in her
> > examples (github.com/heidi-ann/ocaml-dns-examples) and I'm getting an e=
rror
> > which I don't really understand - it's occurs both on the cubieboard an=
d my
> > amd64 desktop:
> >
> > [amd64]
> > $ sudo ./mir-dns
> > Manager: connect
> > plugging into tap0 with mac c2:9d:56:19:d7:2c..
> > Netif: connect tap0
> > Manager: connect
> > Manager: configuring
> > Manager: configuring
> > Netif: error=2C terminating listen loop
> > Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.254]
> >
> > Manager: socket config currently ignored (TODO)
> > ARP: sending gratuitous from 192.168.1.2
> > Manager: configuration done
> > Warning (<string> line 47): Converting MD to MX
> > Warning (<string> line 48): Converting MF to MX
> > Error (<string> line 54): udp is not a known IP protocol
> > Error (<string> line 56): unknown service "chargen" for protocol 6
> > Warning (<string> line 47): Converting MD to MX
> > Warning (<string> line 48): Converting MF to MX
> > Error (<string> line 54): udp is not a known IP protocol
> > Error (<string> line 56): unknown service "chargen" for protocol 6
> > Netif: error=2C terminating listen loop
> >
> > [cubieboard2]
> > $ sudo ./mir-dns
> > plugging into tap0 with mac c2:9d:56:19:d7:2c..
> > Netif: connect tap0
> > Manager: connect
> > Manager: connect
> > Manager: configuring
> > Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.1]
> >
> > ARP: sending gratuitous from 192.168.1.2
> > Manager: configuration done
> > Manager: configuring
> > Warning (<string> line 47): Converting MD to MX
> > Warning (<string> line 48): Converting MF to MX
> > Error (<string> line 54): udp is not a known IP protocol
> > Error (<string> line 56): unknown service "chargen" for protocol 6
> > Manager: socket config currently ignored (TODO)
> > Warning (<string> line 47): Converting MD to MX
> > Warning (<string> line 48): Converting MF to MX
> > Error (<string> line 54): udp is not a known IP protocol
> > Error (<string> line 56): unknown service "chargen" for protocol 6
> >
> >
> > Does anyone have any idea how I can move forward on this?
> >
> > Thanks
> > Nick
> >
> >
> > _______________________________________________
> > MirageOS-devel mailing list
> > MirageOS-devel@lists.xenproject.org
> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> >
> >
> > _______________________________________________
> > MirageOS-devel mailing list
> > MirageOS-devel@lists.xenproject.org
> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> >
> >
> >
> > _______________________________________________
> > MirageOS-devel mailing list
> > MirageOS-devel@lists.xenproject.org
> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> >
>=20
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
 		 	   		  =

--_e12828d9-929a-44e3-a667-82cf0ac56999_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 12pt=3B
font-family:Calibri
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>Excellent=2C thank you.<br><br><=
div>&gt=3B Date: Thu=2C 14 May 2015 15:08:50 +0100<br>&gt=3B From: sheets@a=
lum.mit.edu<br>&gt=3B To: anil@recoil.org<br>&gt=3B CC: mirageos-devel@list=
s.xenproject.org<br>&gt=3B Subject: Re: [MirageOS-devel] simple dns server<=
br>&gt=3B <br>&gt=3B Both of the issues raised in this thread were reported=
 and tracked at<br>&gt=3B <br>&gt=3B &lt=3Bhttps://github.com/mirage/ocaml-=
dns/issues/67&gt=3B<br>&gt=3B &lt=3Bhttps://github.com/mirage/ocaml-dns/iss=
ues/69&gt=3B<br>&gt=3B <br>&gt=3B Luke Dunstan and I submitted patches to a=
ddress them. Luke also wrote<br>&gt=3B some nice tests.<br>&gt=3B <br>&gt=
=3B Subsequently=2C dns.0.15.0 was released this afternoon which includes<b=
r>&gt=3B both of these fixes (and a revised Name module interface).<br>&gt=
=3B <br>&gt=3B Happy hacking!<br>&gt=3B <br>&gt=3B David<br>&gt=3B <br>&gt=
=3B On Tue=2C May 12=2C 2015 at 4:12 PM=2C Anil Madhavapeddy &lt=3Banil@rec=
oil.org&gt=3B wrote:<br>&gt=3B &gt=3B It's not obvious=2C but that particul=
ar zone file came from a regression test<br>&gt=3B &gt=3B of the original O=
Caml DNS library written in 2006=2C and so is an odd choice<br>&gt=3B &gt=
=3B (my fault) for an example zone file!<br>&gt=3B &gt=3B<br>&gt=3B &gt=3B =
Feel free to change it around to something a little more accessible.  The<b=
r>&gt=3B &gt=3B other thing missing from the DNS library is a more natural =
way to add and<br>&gt=3B &gt=3B remove records without going through a zone=
 file=2C and so that's a good area<br>&gt=3B &gt=3B for improvement.<br>&gt=
=3B &gt=3B<br>&gt=3B &gt=3B Now that the TLS stack is up and running=2C I'm=
 going to move the mirage.io<br>&gt=3B &gt=3B DNS over to a unikernel as we=
ll. We used to run the DNS self-hosted=2C but it<br>&gt=3B &gt=3B has migra=
ted to Gandi recently.  The GitHub workflow is proving to be quite<br>&gt=
=3B &gt=3B an effective deployment interface=2C and so we're in good shape =
to bring back<br>&gt=3B &gt=3B the hosted DNS as well.  It just needs a goo=
d logging interface (c.f. the<br>&gt=3B &gt=3B other thread)=2C but for now=
 I'll capture the console output.<br>&gt=3B &gt=3B<br>&gt=3B &gt=3B -anil<b=
r>&gt=3B &gt=3B<br>&gt=3B &gt=3B<br>&gt=3B &gt=3B On 11 May 2015=2C at 11:2=
9=2C Mindy &lt=3Bmindy@somerandomidiot.com&gt=3B wrote:<br>&gt=3B &gt=3B<br=
>&gt=3B &gt=3B Hm=2C I had this same problem.  I was able to get the server=
 to run by making<br>&gt=3B &gt=3B the following changes to data/test.zone =
(although the initialization still<br>&gt=3B &gt=3B complains about unknown=
 services in other lines):<br>&gt=3B &gt=3B<br>&gt=3B &gt=3B on line 55=2C =
s/udp/17/<br>&gt=3B &gt=3B<br>&gt=3B &gt=3B Then=2C rerun `mirage configure=
 --unix` and `make`.  After doing that and<br>&gt=3B &gt=3B starting the se=
rver=2C I'm able to get a response from `dig @127.0.0.1<br>&gt=3B &gt=3B ns=
0.d1.signpo.st.` (127.0.0.1 because I'm running in socket mode).<br>&gt=3B =
&gt=3B<br>&gt=3B &gt=3B Cheers=2C<br>&gt=3B &gt=3B Mindy<br>&gt=3B &gt=3B<b=
r>&gt=3B &gt=3B On 05/11/2015 11:06 AM=2C Nick Betteridge wrote:<br>&gt=3B =
&gt=3B<br>&gt=3B &gt=3B Hello<br>&gt=3B &gt=3B<br>&gt=3B &gt=3B I'm trying =
to get the simple dns server to work that Heidi has in her<br>&gt=3B &gt=3B=
 examples (github.com/heidi-ann/ocaml-dns-examples) and I'm getting an erro=
r<br>&gt=3B &gt=3B which I don't really understand - it's occurs both on th=
e cubieboard and my<br>&gt=3B &gt=3B amd64 desktop:<br>&gt=3B &gt=3B<br>&gt=
=3B &gt=3B [amd64]<br>&gt=3B &gt=3B $ sudo ./mir-dns<br>&gt=3B &gt=3B Manag=
er: connect<br>&gt=3B &gt=3B plugging into tap0 with mac c2:9d:56:19:d7:2c.=
.<br>&gt=3B &gt=3B Netif: connect tap0<br>&gt=3B &gt=3B Manager: connect<br=
>&gt=3B &gt=3B Manager: configuring<br>&gt=3B &gt=3B Manager: configuring<b=
r>&gt=3B &gt=3B Netif: error=2C terminating listen loop<br>&gt=3B &gt=3B Ma=
nager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.254]<br>&gt=
=3B &gt=3B<br>&gt=3B &gt=3B Manager: socket config currently ignored (TODO)=
<br>&gt=3B &gt=3B ARP: sending gratuitous from 192.168.1.2<br>&gt=3B &gt=3B=
 Manager: configuration done<br>&gt=3B &gt=3B Warning (&lt=3Bstring&gt=3B l=
ine 47): Converting MD to MX<br>&gt=3B &gt=3B Warning (&lt=3Bstring&gt=3B l=
ine 48): Converting MF to MX<br>&gt=3B &gt=3B Error (&lt=3Bstring&gt=3B lin=
e 54): udp is not a known IP protocol<br>&gt=3B &gt=3B Error (&lt=3Bstring&=
gt=3B line 56): unknown service "chargen" for protocol 6<br>&gt=3B &gt=3B W=
arning (&lt=3Bstring&gt=3B line 47): Converting MD to MX<br>&gt=3B &gt=3B W=
arning (&lt=3Bstring&gt=3B line 48): Converting MF to MX<br>&gt=3B &gt=3B E=
rror (&lt=3Bstring&gt=3B line 54): udp is not a known IP protocol<br>&gt=3B=
 &gt=3B Error (&lt=3Bstring&gt=3B line 56): unknown service "chargen" for p=
rotocol 6<br>&gt=3B &gt=3B Netif: error=2C terminating listen loop<br>&gt=
=3B &gt=3B<br>&gt=3B &gt=3B [cubieboard2]<br>&gt=3B &gt=3B $ sudo ./mir-dns=
<br>&gt=3B &gt=3B plugging into tap0 with mac c2:9d:56:19:d7:2c..<br>&gt=3B=
 &gt=3B Netif: connect tap0<br>&gt=3B &gt=3B Manager: connect<br>&gt=3B &gt=
=3B Manager: connect<br>&gt=3B &gt=3B Manager: configuring<br>&gt=3B &gt=3B=
 Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.1]<br>&gt=
=3B &gt=3B<br>&gt=3B &gt=3B ARP: sending gratuitous from 192.168.1.2<br>&gt=
=3B &gt=3B Manager: configuration done<br>&gt=3B &gt=3B Manager: configurin=
g<br>&gt=3B &gt=3B Warning (&lt=3Bstring&gt=3B line 47): Converting MD to M=
X<br>&gt=3B &gt=3B Warning (&lt=3Bstring&gt=3B line 48): Converting MF to M=
X<br>&gt=3B &gt=3B Error (&lt=3Bstring&gt=3B line 54): udp is not a known I=
P protocol<br>&gt=3B &gt=3B Error (&lt=3Bstring&gt=3B line 56): unknown ser=
vice "chargen" for protocol 6<br>&gt=3B &gt=3B Manager: socket config curre=
ntly ignored (TODO)<br>&gt=3B &gt=3B Warning (&lt=3Bstring&gt=3B line 47): =
Converting MD to MX<br>&gt=3B &gt=3B Warning (&lt=3Bstring&gt=3B line 48): =
Converting MF to MX<br>&gt=3B &gt=3B Error (&lt=3Bstring&gt=3B line 54): ud=
p is not a known IP protocol<br>&gt=3B &gt=3B Error (&lt=3Bstring&gt=3B lin=
e 56): unknown service "chargen" for protocol 6<br>&gt=3B &gt=3B<br>&gt=3B =
&gt=3B<br>&gt=3B &gt=3B Does anyone have any idea how I can move forward on=
 this?<br>&gt=3B &gt=3B<br>&gt=3B &gt=3B Thanks<br>&gt=3B &gt=3B Nick<br>&g=
t=3B &gt=3B<br>&gt=3B &gt=3B<br>&gt=3B &gt=3B _____________________________=
__________________<br>&gt=3B &gt=3B MirageOS-devel mailing list<br>&gt=3B &=
gt=3B MirageOS-devel@lists.xenproject.org<br>&gt=3B &gt=3B http://lists.xen=
project.org/cgi-bin/mailman/listinfo/mirageos-devel<br>&gt=3B &gt=3B<br>&gt=
=3B &gt=3B<br>&gt=3B &gt=3B _______________________________________________=
<br>&gt=3B &gt=3B MirageOS-devel mailing list<br>&gt=3B &gt=3B MirageOS-dev=
el@lists.xenproject.org<br>&gt=3B &gt=3B http://lists.xenproject.org/cgi-bi=
n/mailman/listinfo/mirageos-devel<br>&gt=3B &gt=3B<br>&gt=3B &gt=3B<br>&gt=
=3B &gt=3B<br>&gt=3B &gt=3B _______________________________________________=
<br>&gt=3B &gt=3B MirageOS-devel mailing list<br>&gt=3B &gt=3B MirageOS-dev=
el@lists.xenproject.org<br>&gt=3B &gt=3B http://lists.xenproject.org/cgi-bi=
n/mailman/listinfo/mirageos-devel<br>&gt=3B &gt=3B<br>&gt=3B <br>&gt=3B ___=
____________________________________________<br>&gt=3B MirageOS-devel maili=
ng list<br>&gt=3B MirageOS-devel@lists.xenproject.org<br>&gt=3B http://list=
s.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel<br></div> 		 	   	=
	  </div></body>
</html>=

--_e12828d9-929a-44e3-a667-82cf0ac56999_--


--===============6383312798621666337==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============6383312798621666337==--


From mirageos-devel-bounces@lists.xenproject.org Thu May 14 15:05:15 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 14 May 2015 15:05:15 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Ysuh4-0000Mw-LS; Thu, 14 May 2015 15:05:02 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <buzzheavyyear@hotmail.com>) id 1Ysuh2-0000Mj-8C
	for mirageos-devel@lists.xenproject.org; Thu, 14 May 2015 15:05:00 +0000
Received: from [193.109.254.147] by server-8.bemta-14.messagelabs.com id
	B6/2A-03204-A99B4555; Thu, 14 May 2015 15:04:58 +0000
X-Env-Sender: buzzheavyyear@hotmail.com
X-Msg-Ref: server-8.tower-27.messagelabs.com!1431615896!17637144!1
X-Originating-IP: [157.55.0.217]
X-SpamReason: No, hits=1.5 required=7.0 tests=BODY_RANDOM_LONG,
	FORGED_HOTMAIL_RCVD,HTML_20_30,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 21606 invoked from network); 14 May 2015 15:04:56 -0000
Received: from dub004-omc1s18.hotmail.com (HELO DUB004-OMC1S18.hotmail.com)
	(157.55.0.217)
	by server-8.tower-27.messagelabs.com with AES256-SHA encrypted SMTP;
	14 May 2015 15:04:56 -0000
Received: from DUB128-W80 ([157.55.0.237]) by DUB004-OMC1S18.hotmail.com over
	TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); 
	Thu, 14 May 2015 08:04:55 -0700
X-TMN: [YzXohTg3I7bsPM6STiJn/VlSX/BWWj7G]
X-Originating-Email: [buzzheavyyear@hotmail.com]
Message-ID: <DUB128-W80DE5C49054CDFA1760CD1B4D80@phx.gbl>
From: Nick Betteridge <buzzheavyyear@hotmail.com>
To: David Sheets <sheets@alum.mit.edu>
Date: Thu, 14 May 2015 15:04:55 +0000
Importance: Normal
In-Reply-To: <CAAWM5TzHOtsBsSewiiB4KpVOepO0DqHhhstRY_T4CeeRahmmeQ@mail.gmail.com>
References: <DUB128-W30E699593E90F888ACF93DB4DB0@phx.gbl>,
	<55508479.1070004@somerandomidiot.com>,
	<61301401-5195-44C5-834C-62968B2B80E2@recoil.org>,
	<CAAWM5TzHOtsBsSewiiB4KpVOepO0DqHhhstRY_T4CeeRahmmeQ@mail.gmail.com>
MIME-Version: 1.0
X-OriginalArrivalTime: 14 May 2015 15:04:55.0906 (UTC)
	FILETIME=[568C0420:01D08E57]
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] simple dns server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============6383312798621666337=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============6383312798621666337==
Content-Type: multipart/alternative;
	boundary="_e12828d9-929a-44e3-a667-82cf0ac56999_"

--_e12828d9-929a-44e3-a667-82cf0ac56999_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Excellent=2C thank you.

> Date: Thu=2C 14 May 2015 15:08:50 +0100
> From: sheets@alum.mit.edu
> To: anil@recoil.org
> CC: mirageos-devel@lists.xenproject.org
> Subject: Re: [MirageOS-devel] simple dns server
>=20
> Both of the issues raised in this thread were reported and tracked at
>=20
> <https://github.com/mirage/ocaml-dns/issues/67>
> <https://github.com/mirage/ocaml-dns/issues/69>
>=20
> Luke Dunstan and I submitted patches to address them. Luke also wrote
> some nice tests.
>=20
> Subsequently=2C dns.0.15.0 was released this afternoon which includes
> both of these fixes (and a revised Name module interface).
>=20
> Happy hacking!
>=20
> David
>=20
> On Tue=2C May 12=2C 2015 at 4:12 PM=2C Anil Madhavapeddy <anil@recoil.org=
> wrote:
> > It's not obvious=2C but that particular zone file came from a regressio=
n test
> > of the original OCaml DNS library written in 2006=2C and so is an odd c=
hoice
> > (my fault) for an example zone file!
> >
> > Feel free to change it around to something a little more accessible.  T=
he
> > other thing missing from the DNS library is a more natural way to add a=
nd
> > remove records without going through a zone file=2C and so that's a goo=
d area
> > for improvement.
> >
> > Now that the TLS stack is up and running=2C I'm going to move the mirag=
e.io
> > DNS over to a unikernel as well. We used to run the DNS self-hosted=2C =
but it
> > has migrated to Gandi recently.  The GitHub workflow is proving to be q=
uite
> > an effective deployment interface=2C and so we're in good shape to brin=
g back
> > the hosted DNS as well.  It just needs a good logging interface (c.f. t=
he
> > other thread)=2C but for now I'll capture the console output.
> >
> > -anil
> >
> >
> > On 11 May 2015=2C at 11:29=2C Mindy <mindy@somerandomidiot.com> wrote:
> >
> > Hm=2C I had this same problem.  I was able to get the server to run by =
making
> > the following changes to data/test.zone (although the initialization st=
ill
> > complains about unknown services in other lines):
> >
> > on line 55=2C s/udp/17/
> >
> > Then=2C rerun `mirage configure --unix` and `make`.  After doing that a=
nd
> > starting the server=2C I'm able to get a response from `dig @127.0.0.1
> > ns0.d1.signpo.st.` (127.0.0.1 because I'm running in socket mode).
> >
> > Cheers=2C
> > Mindy
> >
> > On 05/11/2015 11:06 AM=2C Nick Betteridge wrote:
> >
> > Hello
> >
> > I'm trying to get the simple dns server to work that Heidi has in her
> > examples (github.com/heidi-ann/ocaml-dns-examples) and I'm getting an e=
rror
> > which I don't really understand - it's occurs both on the cubieboard an=
d my
> > amd64 desktop:
> >
> > [amd64]
> > $ sudo ./mir-dns
> > Manager: connect
> > plugging into tap0 with mac c2:9d:56:19:d7:2c..
> > Netif: connect tap0
> > Manager: connect
> > Manager: configuring
> > Manager: configuring
> > Netif: error=2C terminating listen loop
> > Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.254]
> >
> > Manager: socket config currently ignored (TODO)
> > ARP: sending gratuitous from 192.168.1.2
> > Manager: configuration done
> > Warning (<string> line 47): Converting MD to MX
> > Warning (<string> line 48): Converting MF to MX
> > Error (<string> line 54): udp is not a known IP protocol
> > Error (<string> line 56): unknown service "chargen" for protocol 6
> > Warning (<string> line 47): Converting MD to MX
> > Warning (<string> line 48): Converting MF to MX
> > Error (<string> line 54): udp is not a known IP protocol
> > Error (<string> line 56): unknown service "chargen" for protocol 6
> > Netif: error=2C terminating listen loop
> >
> > [cubieboard2]
> > $ sudo ./mir-dns
> > plugging into tap0 with mac c2:9d:56:19:d7:2c..
> > Netif: connect tap0
> > Manager: connect
> > Manager: connect
> > Manager: configuring
> > Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.1]
> >
> > ARP: sending gratuitous from 192.168.1.2
> > Manager: configuration done
> > Manager: configuring
> > Warning (<string> line 47): Converting MD to MX
> > Warning (<string> line 48): Converting MF to MX
> > Error (<string> line 54): udp is not a known IP protocol
> > Error (<string> line 56): unknown service "chargen" for protocol 6
> > Manager: socket config currently ignored (TODO)
> > Warning (<string> line 47): Converting MD to MX
> > Warning (<string> line 48): Converting MF to MX
> > Error (<string> line 54): udp is not a known IP protocol
> > Error (<string> line 56): unknown service "chargen" for protocol 6
> >
> >
> > Does anyone have any idea how I can move forward on this?
> >
> > Thanks
> > Nick
> >
> >
> > _______________________________________________
> > MirageOS-devel mailing list
> > MirageOS-devel@lists.xenproject.org
> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> >
> >
> > _______________________________________________
> > MirageOS-devel mailing list
> > MirageOS-devel@lists.xenproject.org
> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> >
> >
> >
> > _______________________________________________
> > MirageOS-devel mailing list
> > MirageOS-devel@lists.xenproject.org
> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> >
>=20
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
 		 	   		  =

--_e12828d9-929a-44e3-a667-82cf0ac56999_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 12pt=3B
font-family:Calibri
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>Excellent=2C thank you.<br><br><=
div>&gt=3B Date: Thu=2C 14 May 2015 15:08:50 +0100<br>&gt=3B From: sheets@a=
lum.mit.edu<br>&gt=3B To: anil@recoil.org<br>&gt=3B CC: mirageos-devel@list=
s.xenproject.org<br>&gt=3B Subject: Re: [MirageOS-devel] simple dns server<=
br>&gt=3B <br>&gt=3B Both of the issues raised in this thread were reported=
 and tracked at<br>&gt=3B <br>&gt=3B &lt=3Bhttps://github.com/mirage/ocaml-=
dns/issues/67&gt=3B<br>&gt=3B &lt=3Bhttps://github.com/mirage/ocaml-dns/iss=
ues/69&gt=3B<br>&gt=3B <br>&gt=3B Luke Dunstan and I submitted patches to a=
ddress them. Luke also wrote<br>&gt=3B some nice tests.<br>&gt=3B <br>&gt=
=3B Subsequently=2C dns.0.15.0 was released this afternoon which includes<b=
r>&gt=3B both of these fixes (and a revised Name module interface).<br>&gt=
=3B <br>&gt=3B Happy hacking!<br>&gt=3B <br>&gt=3B David<br>&gt=3B <br>&gt=
=3B On Tue=2C May 12=2C 2015 at 4:12 PM=2C Anil Madhavapeddy &lt=3Banil@rec=
oil.org&gt=3B wrote:<br>&gt=3B &gt=3B It's not obvious=2C but that particul=
ar zone file came from a regression test<br>&gt=3B &gt=3B of the original O=
Caml DNS library written in 2006=2C and so is an odd choice<br>&gt=3B &gt=
=3B (my fault) for an example zone file!<br>&gt=3B &gt=3B<br>&gt=3B &gt=3B =
Feel free to change it around to something a little more accessible.  The<b=
r>&gt=3B &gt=3B other thing missing from the DNS library is a more natural =
way to add and<br>&gt=3B &gt=3B remove records without going through a zone=
 file=2C and so that's a good area<br>&gt=3B &gt=3B for improvement.<br>&gt=
=3B &gt=3B<br>&gt=3B &gt=3B Now that the TLS stack is up and running=2C I'm=
 going to move the mirage.io<br>&gt=3B &gt=3B DNS over to a unikernel as we=
ll. We used to run the DNS self-hosted=2C but it<br>&gt=3B &gt=3B has migra=
ted to Gandi recently.  The GitHub workflow is proving to be quite<br>&gt=
=3B &gt=3B an effective deployment interface=2C and so we're in good shape =
to bring back<br>&gt=3B &gt=3B the hosted DNS as well.  It just needs a goo=
d logging interface (c.f. the<br>&gt=3B &gt=3B other thread)=2C but for now=
 I'll capture the console output.<br>&gt=3B &gt=3B<br>&gt=3B &gt=3B -anil<b=
r>&gt=3B &gt=3B<br>&gt=3B &gt=3B<br>&gt=3B &gt=3B On 11 May 2015=2C at 11:2=
9=2C Mindy &lt=3Bmindy@somerandomidiot.com&gt=3B wrote:<br>&gt=3B &gt=3B<br=
>&gt=3B &gt=3B Hm=2C I had this same problem.  I was able to get the server=
 to run by making<br>&gt=3B &gt=3B the following changes to data/test.zone =
(although the initialization still<br>&gt=3B &gt=3B complains about unknown=
 services in other lines):<br>&gt=3B &gt=3B<br>&gt=3B &gt=3B on line 55=2C =
s/udp/17/<br>&gt=3B &gt=3B<br>&gt=3B &gt=3B Then=2C rerun `mirage configure=
 --unix` and `make`.  After doing that and<br>&gt=3B &gt=3B starting the se=
rver=2C I'm able to get a response from `dig @127.0.0.1<br>&gt=3B &gt=3B ns=
0.d1.signpo.st.` (127.0.0.1 because I'm running in socket mode).<br>&gt=3B =
&gt=3B<br>&gt=3B &gt=3B Cheers=2C<br>&gt=3B &gt=3B Mindy<br>&gt=3B &gt=3B<b=
r>&gt=3B &gt=3B On 05/11/2015 11:06 AM=2C Nick Betteridge wrote:<br>&gt=3B =
&gt=3B<br>&gt=3B &gt=3B Hello<br>&gt=3B &gt=3B<br>&gt=3B &gt=3B I'm trying =
to get the simple dns server to work that Heidi has in her<br>&gt=3B &gt=3B=
 examples (github.com/heidi-ann/ocaml-dns-examples) and I'm getting an erro=
r<br>&gt=3B &gt=3B which I don't really understand - it's occurs both on th=
e cubieboard and my<br>&gt=3B &gt=3B amd64 desktop:<br>&gt=3B &gt=3B<br>&gt=
=3B &gt=3B [amd64]<br>&gt=3B &gt=3B $ sudo ./mir-dns<br>&gt=3B &gt=3B Manag=
er: connect<br>&gt=3B &gt=3B plugging into tap0 with mac c2:9d:56:19:d7:2c.=
.<br>&gt=3B &gt=3B Netif: connect tap0<br>&gt=3B &gt=3B Manager: connect<br=
>&gt=3B &gt=3B Manager: configuring<br>&gt=3B &gt=3B Manager: configuring<b=
r>&gt=3B &gt=3B Netif: error=2C terminating listen loop<br>&gt=3B &gt=3B Ma=
nager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.254]<br>&gt=
=3B &gt=3B<br>&gt=3B &gt=3B Manager: socket config currently ignored (TODO)=
<br>&gt=3B &gt=3B ARP: sending gratuitous from 192.168.1.2<br>&gt=3B &gt=3B=
 Manager: configuration done<br>&gt=3B &gt=3B Warning (&lt=3Bstring&gt=3B l=
ine 47): Converting MD to MX<br>&gt=3B &gt=3B Warning (&lt=3Bstring&gt=3B l=
ine 48): Converting MF to MX<br>&gt=3B &gt=3B Error (&lt=3Bstring&gt=3B lin=
e 54): udp is not a known IP protocol<br>&gt=3B &gt=3B Error (&lt=3Bstring&=
gt=3B line 56): unknown service "chargen" for protocol 6<br>&gt=3B &gt=3B W=
arning (&lt=3Bstring&gt=3B line 47): Converting MD to MX<br>&gt=3B &gt=3B W=
arning (&lt=3Bstring&gt=3B line 48): Converting MF to MX<br>&gt=3B &gt=3B E=
rror (&lt=3Bstring&gt=3B line 54): udp is not a known IP protocol<br>&gt=3B=
 &gt=3B Error (&lt=3Bstring&gt=3B line 56): unknown service "chargen" for p=
rotocol 6<br>&gt=3B &gt=3B Netif: error=2C terminating listen loop<br>&gt=
=3B &gt=3B<br>&gt=3B &gt=3B [cubieboard2]<br>&gt=3B &gt=3B $ sudo ./mir-dns=
<br>&gt=3B &gt=3B plugging into tap0 with mac c2:9d:56:19:d7:2c..<br>&gt=3B=
 &gt=3B Netif: connect tap0<br>&gt=3B &gt=3B Manager: connect<br>&gt=3B &gt=
=3B Manager: connect<br>&gt=3B &gt=3B Manager: configuring<br>&gt=3B &gt=3B=
 Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.1]<br>&gt=
=3B &gt=3B<br>&gt=3B &gt=3B ARP: sending gratuitous from 192.168.1.2<br>&gt=
=3B &gt=3B Manager: configuration done<br>&gt=3B &gt=3B Manager: configurin=
g<br>&gt=3B &gt=3B Warning (&lt=3Bstring&gt=3B line 47): Converting MD to M=
X<br>&gt=3B &gt=3B Warning (&lt=3Bstring&gt=3B line 48): Converting MF to M=
X<br>&gt=3B &gt=3B Error (&lt=3Bstring&gt=3B line 54): udp is not a known I=
P protocol<br>&gt=3B &gt=3B Error (&lt=3Bstring&gt=3B line 56): unknown ser=
vice "chargen" for protocol 6<br>&gt=3B &gt=3B Manager: socket config curre=
ntly ignored (TODO)<br>&gt=3B &gt=3B Warning (&lt=3Bstring&gt=3B line 47): =
Converting MD to MX<br>&gt=3B &gt=3B Warning (&lt=3Bstring&gt=3B line 48): =
Converting MF to MX<br>&gt=3B &gt=3B Error (&lt=3Bstring&gt=3B line 54): ud=
p is not a known IP protocol<br>&gt=3B &gt=3B Error (&lt=3Bstring&gt=3B lin=
e 56): unknown service "chargen" for protocol 6<br>&gt=3B &gt=3B<br>&gt=3B =
&gt=3B<br>&gt=3B &gt=3B Does anyone have any idea how I can move forward on=
 this?<br>&gt=3B &gt=3B<br>&gt=3B &gt=3B Thanks<br>&gt=3B &gt=3B Nick<br>&g=
t=3B &gt=3B<br>&gt=3B &gt=3B<br>&gt=3B &gt=3B _____________________________=
__________________<br>&gt=3B &gt=3B MirageOS-devel mailing list<br>&gt=3B &=
gt=3B MirageOS-devel@lists.xenproject.org<br>&gt=3B &gt=3B http://lists.xen=
project.org/cgi-bin/mailman/listinfo/mirageos-devel<br>&gt=3B &gt=3B<br>&gt=
=3B &gt=3B<br>&gt=3B &gt=3B _______________________________________________=
<br>&gt=3B &gt=3B MirageOS-devel mailing list<br>&gt=3B &gt=3B MirageOS-dev=
el@lists.xenproject.org<br>&gt=3B &gt=3B http://lists.xenproject.org/cgi-bi=
n/mailman/listinfo/mirageos-devel<br>&gt=3B &gt=3B<br>&gt=3B &gt=3B<br>&gt=
=3B &gt=3B<br>&gt=3B &gt=3B _______________________________________________=
<br>&gt=3B &gt=3B MirageOS-devel mailing list<br>&gt=3B &gt=3B MirageOS-dev=
el@lists.xenproject.org<br>&gt=3B &gt=3B http://lists.xenproject.org/cgi-bi=
n/mailman/listinfo/mirageos-devel<br>&gt=3B &gt=3B<br>&gt=3B <br>&gt=3B ___=
____________________________________________<br>&gt=3B MirageOS-devel maili=
ng list<br>&gt=3B MirageOS-devel@lists.xenproject.org<br>&gt=3B http://list=
s.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel<br></div> 		 	   	=
	  </div></body>
</html>=

--_e12828d9-929a-44e3-a667-82cf0ac56999_--


--===============6383312798621666337==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============6383312798621666337==--


From mirageos-devel-bounces@lists.xenproject.org Thu May 14 17:31:23 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 14 May 2015 17:31:23 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yswyb-0005L7-FA; Thu, 14 May 2015 17:31:17 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <len@inthemail.org>) id 1Yswya-0005L2-T0
	for mirageos-devel@lists.xenproject.org; Thu, 14 May 2015 17:31:17 +0000
Received: from [85.158.137.68] by server-5.bemta-3.messagelabs.com id
	B8/88-03275-3EBD4555; Thu, 14 May 2015 17:31:15 +0000
X-Env-Sender: len@inthemail.org
X-Msg-Ref: server-14.tower-31.messagelabs.com!1431624675!13035304!1
X-Originating-IP: [209.85.212.175]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 20385 invoked from network); 14 May 2015 17:31:15 -0000
Received: from mail-wi0-f175.google.com (HELO mail-wi0-f175.google.com)
	(209.85.212.175)
	by server-14.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	14 May 2015 17:31:15 -0000
Received: by wicmx19 with SMTP id mx19so20128831wic.0
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 14 May 2015 10:31:14 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=Is/+VdQC2GujJDBXO94IZWARE+KT0YC86h3bDNax3Bw=;
	b=OXlqaphdmQh7HDH/JpsvagXvSKT242awEai8+ZlRS2K1dg2XwQ+vUz/7th+ugoIGaO
	m8bzMUaW+kSpuFEJu2twW+Q05zuT94Nb5RKfuIL5lDvjdiKrT52D035Z08nk2lvVUPIh
	MFbADWjF0M+fgC8Vzax4yloX33dstQkRXsCJ7pqsqg2OHkCq+G9DxDOEHPC+GWc+5gE+
	ZFx5dRLCHYLX81+CckIJcUROTOZOrzJB5Mf7UKe+WzqD6GjX/G69UY1708aOJdWfdiAW
	IXMrfnVUF1QTnSibwq0RJk5YaYC2KRGl8wy7dQ3HM4to2soKKvmCKSqgdSl+JWvjptox
	HuvQ==
X-Gm-Message-State: ALoCoQmbLKE9ETKrMR72REb8bxPn4CZfMFA4y1BrqNdK6CaKKfdOLIv6RR0E3xVLoxFo0t/eU+9d
MIME-Version: 1.0
X-Received: by 10.194.222.137 with SMTP id qm9mr10382966wjc.43.1431624674635; 
	Thu, 14 May 2015 10:31:14 -0700 (PDT)
Received: by 10.194.33.196 with HTTP; Thu, 14 May 2015 10:31:14 -0700 (PDT)
In-Reply-To: <A60BE2F9-076A-4392-A5CB-E2748CCDA4A7@recoil.org>
References: <A60BE2F9-076A-4392-A5CB-E2748CCDA4A7@recoil.org>
Date: Thu, 14 May 2015 13:31:14 -0400
Message-ID: <CAHwFrZc1upCx9mEDS8wTwwkqurKBK5rDgVDceMZR-1howYsTbw@mail.gmail.com>
From: Len Maxwell <len@lnmx.org>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] CuBox-i 4x4: another ARM box
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi,

What do I look for in an ARM to see if it could support Xen?  The Xen
wiki [0] says that virtualization extensions are required (Cortex-A7,
-A15, etc.).

Cubox uses Freescale i.MX6Q (A9) -- which has TrustZone, but not the
virtualization extensions?

I did find something about running KVM on RasPi 2 [1] [2], which is a
Broadcom A7.

[0]: http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions
[1]: http://blog.flexvdi.es/2015/02/25/enabling-hyp-mode-on-the-raspberry-pi-2/
[2]: http://blog.flexvdi.com/2015/03/17/enabling-kvm-virtualization-on-the-raspberry-pi-2/


thanks,
--
Len

On Wed, May 13, 2015 at 12:32 PM, Anil Madhavapeddy <anil@recoil.org> wrote:
> Another interesting ARM box that should support Xen, pointed out by Justin Cormack.
>
> http://www.solid-run.com/product/cubox-i-4x4
>
> 4 cores, 4GB RAM, SATA, gigabit ethernet.  Looks like a very good candidate for a (expensive but functional) home router.
>
> -anil
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu May 14 17:31:23 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 14 May 2015 17:31:23 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yswyb-0005L7-FA; Thu, 14 May 2015 17:31:17 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <len@inthemail.org>) id 1Yswya-0005L2-T0
	for mirageos-devel@lists.xenproject.org; Thu, 14 May 2015 17:31:17 +0000
Received: from [85.158.137.68] by server-5.bemta-3.messagelabs.com id
	B8/88-03275-3EBD4555; Thu, 14 May 2015 17:31:15 +0000
X-Env-Sender: len@inthemail.org
X-Msg-Ref: server-14.tower-31.messagelabs.com!1431624675!13035304!1
X-Originating-IP: [209.85.212.175]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 20385 invoked from network); 14 May 2015 17:31:15 -0000
Received: from mail-wi0-f175.google.com (HELO mail-wi0-f175.google.com)
	(209.85.212.175)
	by server-14.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	14 May 2015 17:31:15 -0000
Received: by wicmx19 with SMTP id mx19so20128831wic.0
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 14 May 2015 10:31:14 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=Is/+VdQC2GujJDBXO94IZWARE+KT0YC86h3bDNax3Bw=;
	b=OXlqaphdmQh7HDH/JpsvagXvSKT242awEai8+ZlRS2K1dg2XwQ+vUz/7th+ugoIGaO
	m8bzMUaW+kSpuFEJu2twW+Q05zuT94Nb5RKfuIL5lDvjdiKrT52D035Z08nk2lvVUPIh
	MFbADWjF0M+fgC8Vzax4yloX33dstQkRXsCJ7pqsqg2OHkCq+G9DxDOEHPC+GWc+5gE+
	ZFx5dRLCHYLX81+CckIJcUROTOZOrzJB5Mf7UKe+WzqD6GjX/G69UY1708aOJdWfdiAW
	IXMrfnVUF1QTnSibwq0RJk5YaYC2KRGl8wy7dQ3HM4to2soKKvmCKSqgdSl+JWvjptox
	HuvQ==
X-Gm-Message-State: ALoCoQmbLKE9ETKrMR72REb8bxPn4CZfMFA4y1BrqNdK6CaKKfdOLIv6RR0E3xVLoxFo0t/eU+9d
MIME-Version: 1.0
X-Received: by 10.194.222.137 with SMTP id qm9mr10382966wjc.43.1431624674635; 
	Thu, 14 May 2015 10:31:14 -0700 (PDT)
Received: by 10.194.33.196 with HTTP; Thu, 14 May 2015 10:31:14 -0700 (PDT)
In-Reply-To: <A60BE2F9-076A-4392-A5CB-E2748CCDA4A7@recoil.org>
References: <A60BE2F9-076A-4392-A5CB-E2748CCDA4A7@recoil.org>
Date: Thu, 14 May 2015 13:31:14 -0400
Message-ID: <CAHwFrZc1upCx9mEDS8wTwwkqurKBK5rDgVDceMZR-1howYsTbw@mail.gmail.com>
From: Len Maxwell <len@lnmx.org>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] CuBox-i 4x4: another ARM box
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi,

What do I look for in an ARM to see if it could support Xen?  The Xen
wiki [0] says that virtualization extensions are required (Cortex-A7,
-A15, etc.).

Cubox uses Freescale i.MX6Q (A9) -- which has TrustZone, but not the
virtualization extensions?

I did find something about running KVM on RasPi 2 [1] [2], which is a
Broadcom A7.

[0]: http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions
[1]: http://blog.flexvdi.es/2015/02/25/enabling-hyp-mode-on-the-raspberry-pi-2/
[2]: http://blog.flexvdi.com/2015/03/17/enabling-kvm-virtualization-on-the-raspberry-pi-2/


thanks,
--
Len

On Wed, May 13, 2015 at 12:32 PM, Anil Madhavapeddy <anil@recoil.org> wrote:
> Another interesting ARM box that should support Xen, pointed out by Justin Cormack.
>
> http://www.solid-run.com/product/cubox-i-4x4
>
> 4 cores, 4GB RAM, SATA, gigabit ethernet.  Looks like a very good candidate for a (expensive but functional) home router.
>
> -anil
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 15 06:49:04 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 15 May 2015 06:49:04 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yt9QW-0006sc-Kr; Fri, 15 May 2015 06:48:56 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <marklrh@gmail.com>) id 1Yt9QV-0006sX-TT
	for mirageos-devel@lists.xenproject.org; Fri, 15 May 2015 06:48:56 +0000
Received: from [85.158.139.211] by server-14.bemta-5.messagelabs.com id
	66/3C-02819-6D695555; Fri, 15 May 2015 06:48:54 +0000
X-Env-Sender: marklrh@gmail.com
X-Msg-Ref: server-3.tower-206.messagelabs.com!1431672533!7506843!1
X-Originating-IP: [209.85.214.170]
X-SpamReason: No, hits=1.2 required=7.0 tests=HTML_20_30,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 19047 invoked from network); 15 May 2015 06:48:54 -0000
Received: from mail-ob0-f170.google.com (HELO mail-ob0-f170.google.com)
	(209.85.214.170)
	by server-3.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	15 May 2015 06:48:54 -0000
Received: by obcus9 with SMTP id us9so71686122obc.2
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 14 May 2015 23:48:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:date:message-id:subject:from:to:content-type;
	bh=dwop8tqevwNHvnddYJBl6/F6xHg3QXbGLyWb5kTIq6k=;
	b=IG5uwoEv+hAqEdqLSXveXOpeXeV15OmobPNHaUc5AvLMdpU3mmbL85Diob4Z4WRmjo
	38CQJBLIcgOt2zWEKN77L7Zag1/U1YpzcaEFb+27T1qr05qgdc3HJF7wNj3mbUuSr5ZK
	dB0xuZJdYM5hIcn0lDAs/PYi17qhsUoCjqwSHV4hUoPiCNU3h55vfJe+LsYOhuAMZbMm
	2eDL9ir4aC7Y7Sqt1f/pIZVvU/nOH3FAtQIZpdtQjxRFEFoM0U5I7wwyqPeAuT1UUMgv
	v9MFUje1VlY+85RzEi/QLmm7Jhf+1yZoFuMlh+g446XQyw3awLJNmAGmvTwfmdUZoGTe
	skrA==
MIME-Version: 1.0
X-Received: by 10.202.224.11 with SMTP id x11mr6638998oig.33.1431672533036;
	Thu, 14 May 2015 23:48:53 -0700 (PDT)
Received: by 10.202.80.68 with HTTP; Thu, 14 May 2015 23:48:53 -0700 (PDT)
Date: Thu, 14 May 2015 23:48:53 -0700
Message-ID: <CAJ2hpp8j2mBFUxQJCgvNF02cfP6HbiFWsPP3bsp_MKCR5Z3OhA@mail.gmail.com>
From: Runhang Li <marklrh@gmail.com>
To: mirageos-devel@lists.xenproject.org
Subject: [MirageOS-devel] Problem when writing Twitter API library that can
	be used on Mirage
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8502641335585939856=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============8502641335585939856==
Content-Type: multipart/alternative; boundary=001a113d42e0c432f10516193c50

--001a113d42e0c432f10516193c50
Content-Type: text/plain; charset=UTF-8

Hi,

I am writing a better Twitter API library because it is impossible for one
to use current Twitter library (https://github.com/yoshihiro503/ocamltter/)
if he wants to make a Mirage unikernel.

I have two questions.

1. What exactly are the limitation for the libraries I can use when writing
code? Based on what I know, I feel like I cannot use any library that is
OS-dependent? For example, can I use Lwt_unix.sleep?

2. Since the unikernel needs to make HTTPS request, I'd like to try out
OCaml-TLS. Is there any recommendation for a good example that can
illustrate how to use that? What aspects should I be careful of when using
it?

All questions and suggestions would be very welcomed.

Thanks

-- Mark Li

-- 
Runhang (Mark) Li
University of California, Los Angeles

--001a113d42e0c432f10516193c50
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>I am writing a better Twitter API l=
ibrary because it is impossible for one to use current Twitter library (<a =
href=3D"https://github.com/yoshihiro503/ocamltter/">https://github.com/yosh=
ihiro503/ocamltter/</a>) if he wants to make a Mirage unikernel.</div><div>=
<br></div><div>I have two questions.</div><div><br></div><div>1. What exact=
ly are the limitation for the libraries I can use when writing code? Based =
on what I know, I feel like I cannot use any library that is OS-dependent? =
For example, can I use Lwt_unix.sleep?=C2=A0</div><div><br></div><div>2. Si=
nce the unikernel needs to make HTTPS request, I&#39;d like to try out OCam=
l-TLS. Is there any recommendation for a good example that can illustrate h=
ow to use that? What aspects should I be careful of when using it?</div><di=
v><br></div><div>All questions and suggestions would be very welcomed.=C2=
=A0</div><div><br></div><div>Thanks</div><div><br></div><div>-- Mark Li</di=
v><div><br>-- <br><div><div dir=3D"ltr">Runhang (Mark) Li<div>University of=
 California, Los Angeles</div></div></div>
</div></div>

--001a113d42e0c432f10516193c50--


--===============8502641335585939856==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============8502641335585939856==--


From mirageos-devel-bounces@lists.xenproject.org Fri May 15 06:49:04 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 15 May 2015 06:49:04 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yt9QW-0006sc-Kr; Fri, 15 May 2015 06:48:56 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <marklrh@gmail.com>) id 1Yt9QV-0006sX-TT
	for mirageos-devel@lists.xenproject.org; Fri, 15 May 2015 06:48:56 +0000
Received: from [85.158.139.211] by server-14.bemta-5.messagelabs.com id
	66/3C-02819-6D695555; Fri, 15 May 2015 06:48:54 +0000
X-Env-Sender: marklrh@gmail.com
X-Msg-Ref: server-3.tower-206.messagelabs.com!1431672533!7506843!1
X-Originating-IP: [209.85.214.170]
X-SpamReason: No, hits=1.2 required=7.0 tests=HTML_20_30,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.14; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 19047 invoked from network); 15 May 2015 06:48:54 -0000
Received: from mail-ob0-f170.google.com (HELO mail-ob0-f170.google.com)
	(209.85.214.170)
	by server-3.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	15 May 2015 06:48:54 -0000
Received: by obcus9 with SMTP id us9so71686122obc.2
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 14 May 2015 23:48:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:date:message-id:subject:from:to:content-type;
	bh=dwop8tqevwNHvnddYJBl6/F6xHg3QXbGLyWb5kTIq6k=;
	b=IG5uwoEv+hAqEdqLSXveXOpeXeV15OmobPNHaUc5AvLMdpU3mmbL85Diob4Z4WRmjo
	38CQJBLIcgOt2zWEKN77L7Zag1/U1YpzcaEFb+27T1qr05qgdc3HJF7wNj3mbUuSr5ZK
	dB0xuZJdYM5hIcn0lDAs/PYi17qhsUoCjqwSHV4hUoPiCNU3h55vfJe+LsYOhuAMZbMm
	2eDL9ir4aC7Y7Sqt1f/pIZVvU/nOH3FAtQIZpdtQjxRFEFoM0U5I7wwyqPeAuT1UUMgv
	v9MFUje1VlY+85RzEi/QLmm7Jhf+1yZoFuMlh+g446XQyw3awLJNmAGmvTwfmdUZoGTe
	skrA==
MIME-Version: 1.0
X-Received: by 10.202.224.11 with SMTP id x11mr6638998oig.33.1431672533036;
	Thu, 14 May 2015 23:48:53 -0700 (PDT)
Received: by 10.202.80.68 with HTTP; Thu, 14 May 2015 23:48:53 -0700 (PDT)
Date: Thu, 14 May 2015 23:48:53 -0700
Message-ID: <CAJ2hpp8j2mBFUxQJCgvNF02cfP6HbiFWsPP3bsp_MKCR5Z3OhA@mail.gmail.com>
From: Runhang Li <marklrh@gmail.com>
To: mirageos-devel@lists.xenproject.org
Subject: [MirageOS-devel] Problem when writing Twitter API library that can
	be used on Mirage
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8502641335585939856=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============8502641335585939856==
Content-Type: multipart/alternative; boundary=001a113d42e0c432f10516193c50

--001a113d42e0c432f10516193c50
Content-Type: text/plain; charset=UTF-8

Hi,

I am writing a better Twitter API library because it is impossible for one
to use current Twitter library (https://github.com/yoshihiro503/ocamltter/)
if he wants to make a Mirage unikernel.

I have two questions.

1. What exactly are the limitation for the libraries I can use when writing
code? Based on what I know, I feel like I cannot use any library that is
OS-dependent? For example, can I use Lwt_unix.sleep?

2. Since the unikernel needs to make HTTPS request, I'd like to try out
OCaml-TLS. Is there any recommendation for a good example that can
illustrate how to use that? What aspects should I be careful of when using
it?

All questions and suggestions would be very welcomed.

Thanks

-- Mark Li

-- 
Runhang (Mark) Li
University of California, Los Angeles

--001a113d42e0c432f10516193c50
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>I am writing a better Twitter API l=
ibrary because it is impossible for one to use current Twitter library (<a =
href=3D"https://github.com/yoshihiro503/ocamltter/">https://github.com/yosh=
ihiro503/ocamltter/</a>) if he wants to make a Mirage unikernel.</div><div>=
<br></div><div>I have two questions.</div><div><br></div><div>1. What exact=
ly are the limitation for the libraries I can use when writing code? Based =
on what I know, I feel like I cannot use any library that is OS-dependent? =
For example, can I use Lwt_unix.sleep?=C2=A0</div><div><br></div><div>2. Si=
nce the unikernel needs to make HTTPS request, I&#39;d like to try out OCam=
l-TLS. Is there any recommendation for a good example that can illustrate h=
ow to use that? What aspects should I be careful of when using it?</div><di=
v><br></div><div>All questions and suggestions would be very welcomed.=C2=
=A0</div><div><br></div><div>Thanks</div><div><br></div><div>-- Mark Li</di=
v><div><br>-- <br><div><div dir=3D"ltr">Runhang (Mark) Li<div>University of=
 California, Los Angeles</div></div></div>
</div></div>

--001a113d42e0c432f10516193c50--


--===============8502641335585939856==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============8502641335585939856==--


From mirageos-devel-bounces@lists.xenproject.org Fri May 15 14:49:50 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 15 May 2015 14:49:50 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YtGvk-0004jC-Od; Fri, 15 May 2015 14:49:40 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1YtGvj-0004j5-HV
	for mirageos-devel@lists.xenproject.org; Fri, 15 May 2015 14:49:39 +0000
Received: from [193.109.254.147] by server-8.bemta-14.messagelabs.com id
	02/F6-03204-28706555; Fri, 15 May 2015 14:49:38 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-8.tower-27.messagelabs.com!1431701377!17886668!1
X-Originating-IP: [209.85.215.45]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 25798 invoked from network); 15 May 2015 14:49:37 -0000
Received: from mail-la0-f45.google.com (HELO mail-la0-f45.google.com)
	(209.85.215.45)
	by server-8.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	15 May 2015 14:49:37 -0000
Received: by laat2 with SMTP id t2so122874183laa.1
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 15 May 2015 07:49:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:date:message-id:subject:from:to:content-type
	:content-transfer-encoding;
	bh=Kgyl4rP2wLKg0Dl6BtejLC6UBrtZG5lqjHS7aWfNw7Y=;
	b=fF0dcHYseqwTkipz+uaZ5dTnH3/7o8A9Yb8SNXf2+0uHIiOwgEpDP6HZncfi7u+pey
	+IQhy62KUcts/dWi7Ch/0QCQjZZtk5ksHWE+KC5CPno1PyyltkY37S3N8obXsCEt+8yO
	1l77nUVqRe/YpXKuJYRMEi5HdYGumD82BnfoQxpMJlsOWnlUNmmsgQk+QfEvHBH4i2HJ
	/4MZcEVopwceRnEvKoI4WGwx5JIZuXFA3XzshGqUpCLpX9lJ0v472sBw573FQo+cIXfv
	vGwbWQjehmtr7ZAjvremGdEnW+3r5HId1NCjw8QYsHoH6sPYifuLkRwCGgFeeSnzjMLK
	4GZw==
MIME-Version: 1.0
X-Received: by 10.112.189.102 with SMTP id gh6mr7326578lbc.115.1431701376854; 
	Fri, 15 May 2015 07:49:36 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Fri, 15 May 2015 07:49:36 -0700 (PDT)
Date: Fri, 15 May 2015 15:49:36 +0100
Message-ID: <CAG4opy_+GY7zB1Yy5Jb6N++dFudD3PTF8OaekZEE2tSN6G-Hhw@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: [MirageOS-devel] Binary Irmin slices
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SSdtIHRyeWluZyB0byBzeW5jIGFuIElybWluIHJlcG9zaXRvcnkgZnJvbSBzb21lIGpzX29mX29j
YW1sIHRvIGEKbmF0aXZlIE1pcmFnZSBzZXJ2ZXIuIEl0IHdhcyB3b3JraW5nIHdpdGggSlNPTiBi
cmllZmx5LCBleGNlcHQgdGhhdCBteQpyZXBvc2l0b3J5IGdyZXcgZW5vdWdoIHRoYXQgdG9fanNv
biBub3cgcmVzdWx0cyBpbiBhIFN0YWNrT3ZlcmZsb3csIHNvCkknbSB0cnlpbmcgdGhlIGJpbmFy
eSBwcm90b2NvbCBpbnN0ZWFkLiBIb3dldmVyLCByZWFkaW5nIHRoZSBkYXRhIGJhY2sKc2VlbXMg
dG8gZmF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ZSwgYnV0IGluc3RlYWQgSSBnZXQgYW4KZXJyb3IgZHVyaW5nIHRoZSByZWFkIChldmVuIGluIG5h
dGl2ZSBjb2RlKToKCkZhdGFsIGVycm9yOiBleGNlcHRpb24gSXJfaGFzaC5JbnZhbGlkKCJsdWVC
K++/ve+/vTFkfEXvv73vv73vv71P77+977+9PO+/ve+/vWtleSIpCgpTaG91bGQgdGhpcyB3b3Jr
LCBvciBoYXZlIEkgbWlzdW5kZXJzdG9vZCB0aGUgQVBJPwoKVGhhbmtzLAoKCi0tIApEciBUaG9t
YXMgTGVvbmFyZCAgICAgICAgaHR0cDovL3Jvc2NpZHVzLmNvbS9ibG9nLwpHUEc6IERBOTggMjVB
RSBDQUQwIDg5NzUgN0NEQSAgQkQ4RSAwNzEzIDNGOTYgQ0E3NCBEOEJBCgpfX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5n
IGxpc3QKTWlyYWdlT1MtZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhl
bnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Fri May 15 14:49:50 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 15 May 2015 14:49:50 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YtGvk-0004jC-Od; Fri, 15 May 2015 14:49:40 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1YtGvj-0004j5-HV
	for mirageos-devel@lists.xenproject.org; Fri, 15 May 2015 14:49:39 +0000
Received: from [193.109.254.147] by server-8.bemta-14.messagelabs.com id
	02/F6-03204-28706555; Fri, 15 May 2015 14:49:38 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-8.tower-27.messagelabs.com!1431701377!17886668!1
X-Originating-IP: [209.85.215.45]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 25798 invoked from network); 15 May 2015 14:49:37 -0000
Received: from mail-la0-f45.google.com (HELO mail-la0-f45.google.com)
	(209.85.215.45)
	by server-8.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	15 May 2015 14:49:37 -0000
Received: by laat2 with SMTP id t2so122874183laa.1
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 15 May 2015 07:49:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:date:message-id:subject:from:to:content-type
	:content-transfer-encoding;
	bh=Kgyl4rP2wLKg0Dl6BtejLC6UBrtZG5lqjHS7aWfNw7Y=;
	b=fF0dcHYseqwTkipz+uaZ5dTnH3/7o8A9Yb8SNXf2+0uHIiOwgEpDP6HZncfi7u+pey
	+IQhy62KUcts/dWi7Ch/0QCQjZZtk5ksHWE+KC5CPno1PyyltkY37S3N8obXsCEt+8yO
	1l77nUVqRe/YpXKuJYRMEi5HdYGumD82BnfoQxpMJlsOWnlUNmmsgQk+QfEvHBH4i2HJ
	/4MZcEVopwceRnEvKoI4WGwx5JIZuXFA3XzshGqUpCLpX9lJ0v472sBw573FQo+cIXfv
	vGwbWQjehmtr7ZAjvremGdEnW+3r5HId1NCjw8QYsHoH6sPYifuLkRwCGgFeeSnzjMLK
	4GZw==
MIME-Version: 1.0
X-Received: by 10.112.189.102 with SMTP id gh6mr7326578lbc.115.1431701376854; 
	Fri, 15 May 2015 07:49:36 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Fri, 15 May 2015 07:49:36 -0700 (PDT)
Date: Fri, 15 May 2015 15:49:36 +0100
Message-ID: <CAG4opy_+GY7zB1Yy5Jb6N++dFudD3PTF8OaekZEE2tSN6G-Hhw@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: [MirageOS-devel] Binary Irmin slices
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SSdtIHRyeWluZyB0byBzeW5jIGFuIElybWluIHJlcG9zaXRvcnkgZnJvbSBzb21lIGpzX29mX29j
YW1sIHRvIGEKbmF0aXZlIE1pcmFnZSBzZXJ2ZXIuIEl0IHdhcyB3b3JraW5nIHdpdGggSlNPTiBi
cmllZmx5LCBleGNlcHQgdGhhdCBteQpyZXBvc2l0b3J5IGdyZXcgZW5vdWdoIHRoYXQgdG9fanNv
biBub3cgcmVzdWx0cyBpbiBhIFN0YWNrT3ZlcmZsb3csIHNvCkknbSB0cnlpbmcgdGhlIGJpbmFy
eSBwcm90b2NvbCBpbnN0ZWFkLiBIb3dldmVyLCByZWFkaW5nIHRoZSBkYXRhIGJhY2sKc2VlbXMg
dG8gZmFpbC4gSSdtIGd1ZXNzaW5nIGEgYml0IGhvdyB0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3IgZHVyaW5nIHRoZSByZWFkIChldmVuIGluIG5h
dGl2ZSBjb2RlKToKCkZhdGFsIGVycm9yOiBleGNlcHRpb24gSXJfaGFzaC5JbnZhbGlkKCJsdWVC
K++/ve+/vTFkfEXvv73vv73vv71P77+977+9PO+/ve+/vWtleSIpCgpTaG91bGQgdGhpcyB3b3Jr
LCBvciBoYXZlIEkgbWlzdW5kZXJzdG9vZCB0aGUgQVBJPwoKVGhhbmtzLAoKCi0tIApEciBUaG9t
YXMgTGVvbmFyZCAgICAgICAgaHR0cDovL3Jvc2NpZHVzLmNvbS9ibG9nLwpHUEc6IERBOTggMjVB
RSBDQUQwIDg5NzUgN0NEQSAgQkQ4RSAwNzEzIDNGOTYgQ0E3NCBEOEJBCgpfX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5n
IGxpc3QKTWlyYWdlT1MtZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhl
bnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Fri May 15 16:39:38 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 15 May 2015 16:39:38 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YtIe1-0006eE-Hm; Fri, 15 May 2015 16:39:29 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1YtIe0-0006dm-0D
	for mirageos-devel@lists.xenproject.org; Fri, 15 May 2015 16:39:28 +0000
Received: from [85.158.139.211] by server-11.bemta-5.messagelabs.com id
	69/4C-02789-F3126555; Fri, 15 May 2015 16:39:27 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-13.tower-206.messagelabs.com!1431707965!10926909!1
X-Originating-IP: [209.85.215.53]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 20183 invoked from network); 15 May 2015 16:39:26 -0000
Received: from mail-la0-f53.google.com (HELO mail-la0-f53.google.com)
	(209.85.215.53)
	by server-13.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	15 May 2015 16:39:26 -0000
Received: by lagr1 with SMTP id r1so46354972lag.0
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 15 May 2015 09:39:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=p2BDm7MmHgJlGoZ6pOLKVBCRMjigou72R3qLwcb3hf4=;
	b=oMdD7g1dzJZnAqmh2lrnaInuAwnazw655AJZ1kdYR+KPhG7+nr1//mAnmqG/IzirwE
	p1CbW/UXgj93pb4sEDfP8YuAvsaD1f1nK2bFyjRLWDyZwDga8kIUlNuiD1Lab11kFNHa
	HbZqUxx3KmKpBM3kj3bKAJMewq959iiirAK6nTYtPoyWZN9hE43FgpJaikUu/9CSbhRf
	MSdsh2X/6tn6LuIScur4T4i2jQzToE2Lez/o/S9p4jy8Kxv7b8ipXCIdc0Ffseovczc+
	KAfuPDLukJ66NwgZG5N8+IiYyHPabiEOS7ydQ/Ne8PdpvdLPjsj3thT7/MdF5Vsf8vXy
	694g==
MIME-Version: 1.0
X-Received: by 10.152.19.70 with SMTP id c6mr7800730lae.121.1431707965482;
	Fri, 15 May 2015 09:39:25 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Fri, 15 May 2015 09:39:25 -0700 (PDT)
In-Reply-To: <CAJ2hpp8j2mBFUxQJCgvNF02cfP6HbiFWsPP3bsp_MKCR5Z3OhA@mail.gmail.com>
References: <CAJ2hpp8j2mBFUxQJCgvNF02cfP6HbiFWsPP3bsp_MKCR5Z3OhA@mail.gmail.com>
Date: Fri, 15 May 2015 17:39:25 +0100
Message-ID: <CAG4opy-fMU9g662QAWka1FiidJhz+tjUwduZ-GvSCsQR2n-oUg@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Runhang Li <marklrh@gmail.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Problem when writing Twitter API library that
 can be used on Mirage
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 15 May 2015 at 07:48, Runhang Li <marklrh@gmail.com> wrote:
> Hi,

Hi Runhang,

> I am writing a better Twitter API library because it is impossible for one
> to use current Twitter library (https://github.com/yoshihiro503/ocamltter/)
> if he wants to make a Mirage unikernel.
>
> I have two questions.
>
> 1. What exactly are the limitation for the libraries I can use when writing
> code? Based on what I know, I feel like I cannot use any library that is
> OS-dependent? For example, can I use Lwt_unix.sleep?

Correct; you cannot use Unix, Lwt_unix, etc. In Mirage, you can use
OS.Time.sleep instead of Lwt_unix.sleep.

Sometimes an existing library can be modified easily (e.g. by moving
non-Unix code into a separate "core" module), so it might be worth
trying that first.

You should also try to avoid using C libraries where possible. e.g.
you'd want to replace curl with cohttp here.

> 2. Since the unikernel needs to make HTTPS request, I'd like to try out
> OCaml-TLS. Is there any recommendation for a good example that can
> illustrate how to use that? What aspects should I be careful of when using
> it?

There are some examples in the tls repository:

  https://github.com/mirleft/ocaml-tls/tree/master/mirage/example

I think there will be more information soon, as I see various
TLS-related releases being prepared.

> All questions and suggestions would be very welcomed.


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 15 16:39:38 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 15 May 2015 16:39:38 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YtIe1-0006eE-Hm; Fri, 15 May 2015 16:39:29 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1YtIe0-0006dm-0D
	for mirageos-devel@lists.xenproject.org; Fri, 15 May 2015 16:39:28 +0000
Received: from [85.158.139.211] by server-11.bemta-5.messagelabs.com id
	69/4C-02789-F3126555; Fri, 15 May 2015 16:39:27 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-13.tower-206.messagelabs.com!1431707965!10926909!1
X-Originating-IP: [209.85.215.53]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 20183 invoked from network); 15 May 2015 16:39:26 -0000
Received: from mail-la0-f53.google.com (HELO mail-la0-f53.google.com)
	(209.85.215.53)
	by server-13.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	15 May 2015 16:39:26 -0000
Received: by lagr1 with SMTP id r1so46354972lag.0
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 15 May 2015 09:39:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=p2BDm7MmHgJlGoZ6pOLKVBCRMjigou72R3qLwcb3hf4=;
	b=oMdD7g1dzJZnAqmh2lrnaInuAwnazw655AJZ1kdYR+KPhG7+nr1//mAnmqG/IzirwE
	p1CbW/UXgj93pb4sEDfP8YuAvsaD1f1nK2bFyjRLWDyZwDga8kIUlNuiD1Lab11kFNHa
	HbZqUxx3KmKpBM3kj3bKAJMewq959iiirAK6nTYtPoyWZN9hE43FgpJaikUu/9CSbhRf
	MSdsh2X/6tn6LuIScur4T4i2jQzToE2Lez/o/S9p4jy8Kxv7b8ipXCIdc0Ffseovczc+
	KAfuPDLukJ66NwgZG5N8+IiYyHPabiEOS7ydQ/Ne8PdpvdLPjsj3thT7/MdF5Vsf8vXy
	694g==
MIME-Version: 1.0
X-Received: by 10.152.19.70 with SMTP id c6mr7800730lae.121.1431707965482;
	Fri, 15 May 2015 09:39:25 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Fri, 15 May 2015 09:39:25 -0700 (PDT)
In-Reply-To: <CAJ2hpp8j2mBFUxQJCgvNF02cfP6HbiFWsPP3bsp_MKCR5Z3OhA@mail.gmail.com>
References: <CAJ2hpp8j2mBFUxQJCgvNF02cfP6HbiFWsPP3bsp_MKCR5Z3OhA@mail.gmail.com>
Date: Fri, 15 May 2015 17:39:25 +0100
Message-ID: <CAG4opy-fMU9g662QAWka1FiidJhz+tjUwduZ-GvSCsQR2n-oUg@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Runhang Li <marklrh@gmail.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Problem when writing Twitter API library that
 can be used on Mirage
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 15 May 2015 at 07:48, Runhang Li <marklrh@gmail.com> wrote:
> Hi,

Hi Runhang,

> I am writing a better Twitter API library because it is impossible for one
> to use current Twitter library (https://github.com/yoshihiro503/ocamltter/)
> if he wants to make a Mirage unikernel.
>
> I have two questions.
>
> 1. What exactly are the limitation for the libraries I can use when writing
> code? Based on what I know, I feel like I cannot use any library that is
> OS-dependent? For example, can I use Lwt_unix.sleep?

Correct; you cannot use Unix, Lwt_unix, etc. In Mirage, you can use
OS.Time.sleep instead of Lwt_unix.sleep.

Sometimes an existing library can be modified easily (e.g. by moving
non-Unix code into a separate "core" module), so it might be worth
trying that first.

You should also try to avoid using C libraries where possible. e.g.
you'd want to replace curl with cohttp here.

> 2. Since the unikernel needs to make HTTPS request, I'd like to try out
> OCaml-TLS. Is there any recommendation for a good example that can
> illustrate how to use that? What aspects should I be careful of when using
> it?

There are some examples in the tls repository:

  https://github.com/mirleft/ocaml-tls/tree/master/mirage/example

I think there will be more information soon, as I see various
TLS-related releases being prepared.

> All questions and suggestions would be very welcomed.


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 15 20:10:46 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 15 May 2015 20:10:46 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YtLwM-00045J-1W; Fri, 15 May 2015 20:10:38 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <Christophe.TROESTLER@umons.ac.be>)
	id 1YtLwK-00044b-Ki
	for mirageos-devel@lists.xenproject.org; Fri, 15 May 2015 20:10:36 +0000
Received: from [85.158.137.68] by server-16.bemta-3.messagelabs.com id
	66/67-02776-BB256555; Fri, 15 May 2015 20:10:35 +0000
X-Env-Sender: Christophe.TROESTLER@umons.ac.be
X-Msg-Ref: server-6.tower-31.messagelabs.com!1431720634!6533969!1
X-Originating-IP: [157.55.234.95]
X-SpamReason: No, hits=1.6 required=7.0 tests=GAPPY_SUBJECT
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 29767 invoked from network); 15 May 2015 20:10:35 -0000
Received: from mail-db3on0095.outbound.protection.outlook.com (HELO
	emea01-db3-obe.outbound.protection.outlook.com) (157.55.234.95)
	by server-6.tower-31.messagelabs.com with AES256-SHA encrypted SMTP;
	15 May 2015 20:10:35 -0000
Received: from HE1PR05CA0010.eurprd05.prod.outlook.com (25.162.181.20) by
	AM3PR05MB386.eurprd05.prod.outlook.com (10.242.247.17) with Microsoft
	SMTP Server (TLS) id 15.1.160.19; Fri, 15 May 2015 20:10:34 +0000
Received: from DB3FFO11FD050.protection.gbl (2a01:111:f400:7e04::114) by
	HE1PR05CA0010.outlook.office365.com (2a01:111:e400:51f9::20) with
	Microsoft SMTP Server (TLS) id 15.1.166.22 via Frontend Transport;
	Fri, 15 May 2015 20:10:33 +0000
Received-SPF: Pass (protection.outlook.com: domain of umons.ac.be designates
	193.190.208.132 as permitted sender) receiver=protection.outlook.com;
	client-ip=193.190.208.132; helo=smtp.umons.ac.be;
Received: from smtp.umons.ac.be (193.190.208.132) by
	DB3FFO11FD050.mail.protection.outlook.com (10.47.217.81) with Microsoft
	SMTP Server (TLS) id 15.1.160.8 via Frontend Transport;
	Fri, 15 May 2015 20:10:32 +0000
Received: from poincare (10.104.2.63) by smtp.umons.ac.be (10.104.2.84) with
	Microsoft SMTP Server (TLS) id 14.3.224.2;
	Fri, 15 May 2015 22:10:26 +0200
Received: from localhost ([::1])	by poincare with esmtp (Exim 4.85)
	(envelope-from <Christophe.Troestler@umons.ac.be>)	id 1YtLw9-0007ee-1P;
	Fri, 15 May 2015 22:10:25 +0200
Date: Fri, 15 May 2015 22:10:24 +0200
Message-ID: <20150515.221024.1912056849687288780.Christophe.Troestler@umons.ac.be>
To: <mirageos-devel@lists.xenproject.org>
From: Christophe Troestler <Christophe.Troestler@umons.ac.be>
X-Face: #2fb%mPx>rRL@4ff~TVgZ"<[:,oL"`TUEGK/[8/qb58~C>jR(x4A+v/n)7BgpEtIph_neoLKJBq0JBY9:<qMr[nclFSC*8GVW;
	&@q*7^R?u"i{y>}8v|j
Organization: Universite de Mons (http://math.umons.ac.be/anum/)
X-Mailer: Mew version 6.6 on Emacs 24.4 / Mule 6.0 (HANACHIRUSATO)
MIME-Version: 1.0
X-Originating-IP: [10.104.2.63]
X-EOPAttributedMessage: 0
X-Matching-Connectors: 130761942332523988;
	(9b551343-d075-4328-d154-08d0574c44b8,aa519c6d-c5b7-417d-4ec3-08d1170c20a9);
	(9b551343-d075-4328-d154-08d0574c44b8,aa519c6d-c5b7-417d-4ec3-08d1170c20a9)
X-Microsoft-Exchange-Diagnostics: 1; DB3FFO11FD050;
	1:IRCCrY8F4cK5U9nVYJI2pArrelf8cgQFjysTE0gzu/TrSvoOq/mt2en6eWSUA9z3+/ZWsjXUfxOo5LbA2DTSjBXWbtFXdeeHOo2Ht/XUrETRBcIifjTgARWF2jbvtRYXl777Pek9i8IelEp1E85owXSGtpFVeyPd6JNz4m9MUXe4D3KNdFXLzVoTJ+tsNxFrXOSLYTHNV2uUOarr91vfkCnC0V7tykMK+I+RZLCg5z6qW5XBwHM1im0q8t61p7jMPc90eJb0nvP2lfZvHWlPBSjhlJKMIkP6OJlSTK/OsO7Rulol3P3M6/X6MimNPlFU
X-Forefront-Antispam-Report: CIP:193.190.208.132; CTRY:BE; IPV:NLI; EFV:NLI;
	SFV:NSPM;
	SFS:(10009020)(6009001)(438002)(189002)(199003)(4960100001)(86362001)(106466001)(76506005)(57986006)(6806004)(97756001)(50466002)(87936001)(74482002)(46102003)(229853001)(103116003)(2351001)(107886002)(110136002)(189998001)(16796002)(47776003)(5001970100001)(46406003)(15975445007)(19580395003)(50226001)(36756003)(450100001)(92566002)(77156002)(23726002)(62966003)(50986999);
	DIR:OUT; SFP:1101; SCL:1; SRVR:AM3PR05MB386; H:smtp.umons.ac.be;
	FPR:; SPF:Pass; MLV:sfv; MX:1; A:0; LANG:en; 
X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM3PR05MB386;
X-Microsoft-Antispam-PRVS: <AM3PR05MB3861F06926B46E8B1B6E95CCEC70@AM3PR05MB386.eurprd05.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0;
	RULEID:(601004)(5005006)(3002001); SRVR:AM3PR05MB386; BCL:0;
	PCL:0; RULEID:(400006); SRVR:AM3PR05MB386; 
X-Forefront-PRVS: 0577AD41D6
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 May 2015 20:10:32.9715 (UTC)
X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;
	Ip=[193.190.208.132]; Helo=[smtp.umons.ac.be]
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR05MB386
Subject: [MirageOS-devel] C.H.I.P.
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi,

As some of you may be aware, a crowdfunded project develops a $9
computer with pretty good characteristics:
https://www.kickstarter.com/projects/1598272670/chip-the-worlds-first-9-computer/description
The processor will be a Allwinner R8 which is based on the A13 model.
What is the status of Xen on the A13?  Some C.H.I.P. will be available
in September for kernel hackers.  Any interest in asking to be part of
it so that Xen is ready when C.H.I.P. becomes available to the rest of
us (January)?

Cheers,
Chris

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 15 20:10:46 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 15 May 2015 20:10:46 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YtLwM-00045J-1W; Fri, 15 May 2015 20:10:38 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <Christophe.TROESTLER@umons.ac.be>)
	id 1YtLwK-00044b-Ki
	for mirageos-devel@lists.xenproject.org; Fri, 15 May 2015 20:10:36 +0000
Received: from [85.158.137.68] by server-16.bemta-3.messagelabs.com id
	66/67-02776-BB256555; Fri, 15 May 2015 20:10:35 +0000
X-Env-Sender: Christophe.TROESTLER@umons.ac.be
X-Msg-Ref: server-6.tower-31.messagelabs.com!1431720634!6533969!1
X-Originating-IP: [157.55.234.95]
X-SpamReason: No, hits=1.6 required=7.0 tests=GAPPY_SUBJECT
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 29767 invoked from network); 15 May 2015 20:10:35 -0000
Received: from mail-db3on0095.outbound.protection.outlook.com (HELO
	emea01-db3-obe.outbound.protection.outlook.com) (157.55.234.95)
	by server-6.tower-31.messagelabs.com with AES256-SHA encrypted SMTP;
	15 May 2015 20:10:35 -0000
Received: from HE1PR05CA0010.eurprd05.prod.outlook.com (25.162.181.20) by
	AM3PR05MB386.eurprd05.prod.outlook.com (10.242.247.17) with Microsoft
	SMTP Server (TLS) id 15.1.160.19; Fri, 15 May 2015 20:10:34 +0000
Received: from DB3FFO11FD050.protection.gbl (2a01:111:f400:7e04::114) by
	HE1PR05CA0010.outlook.office365.com (2a01:111:e400:51f9::20) with
	Microsoft SMTP Server (TLS) id 15.1.166.22 via Frontend Transport;
	Fri, 15 May 2015 20:10:33 +0000
Received-SPF: Pass (protection.outlook.com: domain of umons.ac.be designates
	193.190.208.132 as permitted sender) receiver=protection.outlook.com;
	client-ip=193.190.208.132; helo=smtp.umons.ac.be;
Received: from smtp.umons.ac.be (193.190.208.132) by
	DB3FFO11FD050.mail.protection.outlook.com (10.47.217.81) with Microsoft
	SMTP Server (TLS) id 15.1.160.8 via Frontend Transport;
	Fri, 15 May 2015 20:10:32 +0000
Received: from poincare (10.104.2.63) by smtp.umons.ac.be (10.104.2.84) with
	Microsoft SMTP Server (TLS) id 14.3.224.2;
	Fri, 15 May 2015 22:10:26 +0200
Received: from localhost ([::1])	by poincare with esmtp (Exim 4.85)
	(envelope-from <Christophe.Troestler@umons.ac.be>)	id 1YtLw9-0007ee-1P;
	Fri, 15 May 2015 22:10:25 +0200
Date: Fri, 15 May 2015 22:10:24 +0200
Message-ID: <20150515.221024.1912056849687288780.Christophe.Troestler@umons.ac.be>
To: <mirageos-devel@lists.xenproject.org>
From: Christophe Troestler <Christophe.Troestler@umons.ac.be>
X-Face: #2fb%mPx>rRL@4ff~TVgZ"<[:,oL"`TUEGK/[8/qb58~C>jR(x4A+v/n)7BgpEtIph_neoLKJBq0JBY9:<qMr[nclFSC*8GVW;
	&@q*7^R?u"i{y>}8v|j
Organization: Universite de Mons (http://math.umons.ac.be/anum/)
X-Mailer: Mew version 6.6 on Emacs 24.4 / Mule 6.0 (HANACHIRUSATO)
MIME-Version: 1.0
X-Originating-IP: [10.104.2.63]
X-EOPAttributedMessage: 0
X-Matching-Connectors: 130761942332523988;
	(9b551343-d075-4328-d154-08d0574c44b8,aa519c6d-c5b7-417d-4ec3-08d1170c20a9);
	(9b551343-d075-4328-d154-08d0574c44b8,aa519c6d-c5b7-417d-4ec3-08d1170c20a9)
X-Microsoft-Exchange-Diagnostics: 1; DB3FFO11FD050;
	1:IRCCrY8F4cK5U9nVYJI2pArrelf8cgQFjysTE0gzu/TrSvoOq/mt2en6eWSUA9z3+/ZWsjXUfxOo5LbA2DTSjBXWbtFXdeeHOo2Ht/XUrETRBcIifjTgARWF2jbvtRYXl777Pek9i8IelEp1E85owXSGtpFVeyPd6JNz4m9MUXe4D3KNdFXLzVoTJ+tsNxFrXOSLYTHNV2uUOarr91vfkCnC0V7tykMK+I+RZLCg5z6qW5XBwHM1im0q8t61p7jMPc90eJb0nvP2lfZvHWlPBSjhlJKMIkP6OJlSTK/OsO7Rulol3P3M6/X6MimNPlFU
X-Forefront-Antispam-Report: CIP:193.190.208.132; CTRY:BE; IPV:NLI; EFV:NLI;
	SFV:NSPM;
	SFS:(10009020)(6009001)(438002)(189002)(199003)(4960100001)(86362001)(106466001)(76506005)(57986006)(6806004)(97756001)(50466002)(87936001)(74482002)(46102003)(229853001)(103116003)(2351001)(107886002)(110136002)(189998001)(16796002)(47776003)(5001970100001)(46406003)(15975445007)(19580395003)(50226001)(36756003)(450100001)(92566002)(77156002)(23726002)(62966003)(50986999);
	DIR:OUT; SFP:1101; SCL:1; SRVR:AM3PR05MB386; H:smtp.umons.ac.be;
	FPR:; SPF:Pass; MLV:sfv; MX:1; A:0; LANG:en; 
X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM3PR05MB386;
X-Microsoft-Antispam-PRVS: <AM3PR05MB3861F06926B46E8B1B6E95CCEC70@AM3PR05MB386.eurprd05.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0;
	RULEID:(601004)(5005006)(3002001); SRVR:AM3PR05MB386; BCL:0;
	PCL:0; RULEID:(400006); SRVR:AM3PR05MB386; 
X-Forefront-PRVS: 0577AD41D6
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 May 2015 20:10:32.9715 (UTC)
X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;
	Ip=[193.190.208.132]; Helo=[smtp.umons.ac.be]
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR05MB386
Subject: [MirageOS-devel] C.H.I.P.
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi,

As some of you may be aware, a crowdfunded project develops a $9
computer with pretty good characteristics:
https://www.kickstarter.com/projects/1598272670/chip-the-worlds-first-9-computer/description
The processor will be a Allwinner R8 which is based on the A13 model.
What is the status of Xen on the A13?  Some C.H.I.P. will be available
in September for kernel hackers.  Any interest in asking to be part of
it so that Xen is ready when C.H.I.P. becomes available to the rest of
us (January)?

Cheers,
Chris

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 15 20:31:00 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 15 May 2015 20:31:00 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YtMG1-0005YA-00; Fri, 15 May 2015 20:30:57 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <marklrh@gmail.com>) id 1YtMFz-0005Y5-R6
	for mirageos-devel@lists.xenproject.org; Fri, 15 May 2015 20:30:56 +0000
Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id
	45/8D-02633-E7756555; Fri, 15 May 2015 20:30:54 +0000
X-Env-Sender: marklrh@gmail.com
X-Msg-Ref: server-7.tower-27.messagelabs.com!1431721852!17906889!1
X-Originating-IP: [209.85.220.176]
X-SpamReason: No, hits=0.9 required=7.0 tests=HTML_20_30,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 10066 invoked from network); 15 May 2015 20:30:53 -0000
Received: from mail-qk0-f176.google.com (HELO mail-qk0-f176.google.com)
	(209.85.220.176)
	by server-7.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	15 May 2015 20:30:53 -0000
Received: by qkgw4 with SMTP id w4so37879684qkg.3
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 15 May 2015 13:30:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=date:mime-version:message-id:in-reply-to:references:from:to:cc
	:subject:content-type;
	bh=U+4xy4ppz2uDRVVe5dez09+eETDAYU4mXrg2Jbx15tY=;
	b=I/dNq5uWWJf6589uAlIk0YBdozyo/nkqBpreEc/cS9pK1fsWgEI7GS04DgJI5pM5gX
	EEYCj6xfrEiFtMa0f/Unuz62EI9zZS+xhWX8lV4eI0UMBfBdNMtfc6O2yJExIxbo81aa
	z2OcFIJGRG7oacZgZ9epHuV1HZ7I7UDbL/iuEVSypOjPe4KXu9vIR25PwXud68qzdqzP
	ekM/VIYrexGfmepebeMJUhTRxDdo9xLyRwZ8B21Mga6PHtTA1GU6N8DrCkBd+bgATYRr
	0zM42NSATpimY0IKH7+D6NDFJnSw2l9jES18unzzkfeN9kvmlJgTdh0wsAN/mvUwqS9U
	wA4A==
X-Received: by 10.55.22.40 with SMTP id g40mr23670406qkh.103.1431721852303;
	Fri, 15 May 2015 13:30:52 -0700 (PDT)
Received: from hedwig-53.prd.orcali.com
	(ec2-54-85-253-117.compute-1.amazonaws.com. [54.85.253.117])
	by mx.google.com with ESMTPSA id f91sm1734777qgd.45.2015.05.15.13.30.51
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Fri, 15 May 2015 13:30:51 -0700 (PDT)
Date: Fri, 15 May 2015 13:30:51 -0700 (PDT)
X-Google-Original-Date: Fri, 15 May 2015 20:30:51 GMT
MIME-Version: 1.0
X-Mailer: Nodemailer (0.5.0; +http://www.nodemailer.com/)
Message-Id: <1431721851439.316b98cd@Nodemailer>
In-Reply-To: <CAG4opy-fMU9g662QAWka1FiidJhz+tjUwduZ-GvSCsQR2n-oUg@mail.gmail.com>
References: <CAG4opy-fMU9g662QAWka1FiidJhz+tjUwduZ-GvSCsQR2n-oUg@mail.gmail.com>
X-Orchestra-Oid: 231202B9-8EAB-40AB-91E7-ED1C5BC32D07
X-Orchestra-Sig: 7ea118c1d6ffbf3b96c2fd0097548031809ef1e0
X-Orchestra-Thrid: T2ADADBED-844D-45BD-A8CE-275E3FCAAE5C_1501217458449815463
X-Orchestra-Thrid-Sig: 9d18bd7f1c2981b82f79dc10757ef9d474bbc81a
X-Orchestra-Account: ae172c96a5dac2ba58fd5d3cee21971afcf108ef
From: "Runhang Li" <marklrh@gmail.com>
To: "Thomas Leonard" <talex5@gmail.com>
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Problem when writing Twitter API library that
 can be used on Mirage
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0887970148104406753=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============0887970148104406753==
Content-Type: multipart/alternative;
 boundary="----Nodemailer-0.5.0-?=_1-1431721851728"

------Nodemailer-0.5.0-?=_1-1431721851728
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi, Dr Leonard


Thank you for the suggestions.




I design my library using functor and start to appreciate how functor helps=
 to abstract design and easily target different backend (Unix, Xen).=C2=A0




I still have two questions which are related to OS dependency.




1. How could I know if a library has any OS dependency=3F Do I need to read=
 their source code, or there is a easier way I don=E2=80=99t know=3F




2. Is there any good crypto library (e.g. generating nonce, calculating =
HMAC=5FSHA1) that can be used on Mirage=3F I am using Cryptokit on my unix =
machine. It seems like I cannot use it in Mirage. Reason is here =
(https://github.com/msimon/cryptokit/blob/master/src/cryptokit.mli#L233). =
You may realize this problem is actually the reason I asked my first =
question.=C2=A0




Thank you!








---
Runhang Li
University of California, Los Angeles

On Fri, May 15, 2015 at 9:39 AM, Thomas Leonard <talex5@gmail.com> wrote:

> On 15 May 2015 at 07:48, Runhang Li <marklrh@gmail.com> wrote:
>> Hi,
> Hi Runhang,
>> I am writing a better Twitter API library because it is impossible for =
one
>> to use current Twitter library (https://github.com/yoshihiro503/ocamltte=
r/)
>> if he wants to make a Mirage unikernel.
>>
>> I have two questions.
>>
>> 1. What exactly are the limitation for the libraries I can use when =
writing
>> code=3F Based on what I know, I feel like I cannot use any library that =
is
>> OS-dependent=3F For example, can I use Lwt=5Funix.sleep=3F
> Correct; you cannot use Unix, Lwt=5Funix, etc. In Mirage, you can use
> OS.Time.sleep instead of Lwt=5Funix.sleep.
> Sometimes an existing library can be modified easily (e.g. by moving
> non-Unix code into a separate =22core=22 module), so it might be worth
> trying that first.
> You should also try to avoid using C libraries where possible. e.g.
> you'd want to replace curl with cohttp here.
>> 2. Since the unikernel needs to make HTTPS request, I'd like to try out
>> OCaml-TLS. Is there any recommendation for a good example that can
>> illustrate how to use that=3F What aspects should I be careful of when =
using
>> it=3F
> There are some examples in the tls repository:
>   https://github.com/mirleft/ocaml-tls/tree/master/mirage/example
> I think there will be more information soon, as I see various
> TLS-related releases being prepared.
>> All questions and suggestions would be very welcomed.
> --=20
> Dr Thomas Leonard        http://roscidus.com/blog/
> GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 =
D8BA
------Nodemailer-0.5.0-?=_1-1431721851728
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable


<span id=3D=22mailbox-conversation=22>Hi, Dr Leonard<div><br></div>
<div>Thank you for the suggestions.</div>
<div><br></div>
<div>I design my library using functor and start to appreciate how functor =
helps to abstract design and easily target different backend (Unix, Xen).=
=C2=A0</div>
<div><br></div>
<div>I still have two questions which are related to OS dependency.</div>
<div><br></div>
<div>1. How could I know if a library has any OS dependency=3F Do I need to=
 read their source code, or there is a easier way I don=E2=80=99t =
know=3F</div>
<div><br></div>
<div>2. Is there any good crypto library (e.g. generating nonce, =
calculating HMAC=5FSHA1) that can be used on Mirage=3F I am using Cryptokit=
 on my unix machine. It seems like I cannot use it in Mirage. Reason is =
here (https://github.com/msimon/cryptokit/blob/master/src/cryptokit.=
mli#L233). You may realize this problem is actually the reason I asked my =
first question.=C2=A0</div>
<div><br></div>
<div>Thank you!</div>
<div><br></div>
<div><br></div></span><div class=3D=22mailbox=5Fsignature=22>
<br>---<br>Runhang Li<br>University of California, Los Angeles</div>
<br><br><div class=3D=22gmail=5Fquote=22><p>On Fri, May 15, 2015 at 9:39 AM=
, Thomas Leonard <span dir=3D=22ltr=22>&lt;<a href=3D=22mailto:talex5@gmail=
.com=22 target=3D=22=5Fblank=22>talex5@gmail.com</a>&gt;</span> =
wrote:<br></p><blockquote class=3D=22gmail=5Fquote=22 style=3D=22margin:0 0=
 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;=22><p>On 15 May 2015 =
at 07:48, Runhang Li &lt;marklrh@gmail.com&gt; wrote:
<br>&gt; Hi,
<br><br>Hi Runhang,
<br><br>&gt; I am writing a better Twitter API library because it is =
impossible for one
<br>&gt; to use current Twitter library (https://github.=
com/yoshihiro503/ocamltter/)
<br>&gt; if he wants to make a Mirage unikernel.
<br>&gt;
<br>&gt; I have two questions.
<br>&gt;
<br>&gt; 1. What exactly are the limitation for the libraries I can use =
when writing
<br>&gt; code=3F Based on what I know, I feel like I cannot use any library=
 that is
<br>&gt; OS-dependent=3F For example, can I use Lwt=5Funix.sleep=3F
<br><br>Correct; you cannot use Unix, Lwt=5Funix, etc. In Mirage, you can =
use
<br>OS.Time.sleep instead of Lwt=5Funix.sleep.
<br><br>Sometimes an existing library can be modified easily (e.g. by =
moving
<br>non-Unix code into a separate =22core=22 module), so it might be worth
<br>trying that first.
<br><br>You should also try to avoid using C libraries where possible. e.g.=

<br>you'd want to replace curl with cohttp here.
<br><br>&gt; 2. Since the unikernel needs to make HTTPS request, I'd like =
to try out
<br>&gt; OCaml-TLS. Is there any recommendation for a good example that =
can
<br>&gt; illustrate how to use that=3F What aspects should I be careful of =
when using
<br>&gt; it=3F
<br><br>There are some examples in the tls repository:
<br><br>  https://github.com/mirleft/ocaml-tls/tree/master/mirage/example
<br><br>I think there will be more information soon, as I see various
<br>TLS-related releases being prepared.
<br><br>&gt; All questions and suggestions would be very welcomed.
<br><br><br>--=20
<br>Dr Thomas Leonard        http://roscidus.com/blog/
<br>GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA
<br></p></blockquote></div><br>
------Nodemailer-0.5.0-?=_1-1431721851728--


--===============0887970148104406753==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============0887970148104406753==--


From mirageos-devel-bounces@lists.xenproject.org Fri May 15 20:31:00 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 15 May 2015 20:31:00 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YtMG1-0005YA-00; Fri, 15 May 2015 20:30:57 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <marklrh@gmail.com>) id 1YtMFz-0005Y5-R6
	for mirageos-devel@lists.xenproject.org; Fri, 15 May 2015 20:30:56 +0000
Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id
	45/8D-02633-E7756555; Fri, 15 May 2015 20:30:54 +0000
X-Env-Sender: marklrh@gmail.com
X-Msg-Ref: server-7.tower-27.messagelabs.com!1431721852!17906889!1
X-Originating-IP: [209.85.220.176]
X-SpamReason: No, hits=0.9 required=7.0 tests=HTML_20_30,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 10066 invoked from network); 15 May 2015 20:30:53 -0000
Received: from mail-qk0-f176.google.com (HELO mail-qk0-f176.google.com)
	(209.85.220.176)
	by server-7.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	15 May 2015 20:30:53 -0000
Received: by qkgw4 with SMTP id w4so37879684qkg.3
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 15 May 2015 13:30:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=date:mime-version:message-id:in-reply-to:references:from:to:cc
	:subject:content-type;
	bh=U+4xy4ppz2uDRVVe5dez09+eETDAYU4mXrg2Jbx15tY=;
	b=I/dNq5uWWJf6589uAlIk0YBdozyo/nkqBpreEc/cS9pK1fsWgEI7GS04DgJI5pM5gX
	EEYCj6xfrEiFtMa0f/Unuz62EI9zZS+xhWX8lV4eI0UMBfBdNMtfc6O2yJExIxbo81aa
	z2OcFIJGRG7oacZgZ9epHuV1HZ7I7UDbL/iuEVSypOjPe4KXu9vIR25PwXud68qzdqzP
	ekM/VIYrexGfmepebeMJUhTRxDdo9xLyRwZ8B21Mga6PHtTA1GU6N8DrCkBd+bgATYRr
	0zM42NSATpimY0IKH7+D6NDFJnSw2l9jES18unzzkfeN9kvmlJgTdh0wsAN/mvUwqS9U
	wA4A==
X-Received: by 10.55.22.40 with SMTP id g40mr23670406qkh.103.1431721852303;
	Fri, 15 May 2015 13:30:52 -0700 (PDT)
Received: from hedwig-53.prd.orcali.com
	(ec2-54-85-253-117.compute-1.amazonaws.com. [54.85.253.117])
	by mx.google.com with ESMTPSA id f91sm1734777qgd.45.2015.05.15.13.30.51
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Fri, 15 May 2015 13:30:51 -0700 (PDT)
Date: Fri, 15 May 2015 13:30:51 -0700 (PDT)
X-Google-Original-Date: Fri, 15 May 2015 20:30:51 GMT
MIME-Version: 1.0
X-Mailer: Nodemailer (0.5.0; +http://www.nodemailer.com/)
Message-Id: <1431721851439.316b98cd@Nodemailer>
In-Reply-To: <CAG4opy-fMU9g662QAWka1FiidJhz+tjUwduZ-GvSCsQR2n-oUg@mail.gmail.com>
References: <CAG4opy-fMU9g662QAWka1FiidJhz+tjUwduZ-GvSCsQR2n-oUg@mail.gmail.com>
X-Orchestra-Oid: 231202B9-8EAB-40AB-91E7-ED1C5BC32D07
X-Orchestra-Sig: 7ea118c1d6ffbf3b96c2fd0097548031809ef1e0
X-Orchestra-Thrid: T2ADADBED-844D-45BD-A8CE-275E3FCAAE5C_1501217458449815463
X-Orchestra-Thrid-Sig: 9d18bd7f1c2981b82f79dc10757ef9d474bbc81a
X-Orchestra-Account: ae172c96a5dac2ba58fd5d3cee21971afcf108ef
From: "Runhang Li" <marklrh@gmail.com>
To: "Thomas Leonard" <talex5@gmail.com>
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Problem when writing Twitter API library that
 can be used on Mirage
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0887970148104406753=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============0887970148104406753==
Content-Type: multipart/alternative;
 boundary="----Nodemailer-0.5.0-?=_1-1431721851728"

------Nodemailer-0.5.0-?=_1-1431721851728
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi, Dr Leonard


Thank you for the suggestions.




I design my library using functor and start to appreciate how functor helps=
 to abstract design and easily target different backend (Unix, Xen).=C2=A0




I still have two questions which are related to OS dependency.




1. How could I know if a library has any OS dependency=3F Do I need to read=
 their source code, or there is a easier way I don=E2=80=99t know=3F




2. Is there any good crypto library (e.g. generating nonce, calculating =
HMAC=5FSHA1) that can be used on Mirage=3F I am using Cryptokit on my unix =
machine. It seems like I cannot use it in Mirage. Reason is here =
(https://github.com/msimon/cryptokit/blob/master/src/cryptokit.mli#L233). =
You may realize this problem is actually the reason I asked my first =
question.=C2=A0




Thank you!








---
Runhang Li
University of California, Los Angeles

On Fri, May 15, 2015 at 9:39 AM, Thomas Leonard <talex5@gmail.com> wrote:

> On 15 May 2015 at 07:48, Runhang Li <marklrh@gmail.com> wrote:
>> Hi,
> Hi Runhang,
>> I am writing a better Twitter API library because it is impossible for =
one
>> to use current Twitter library (https://github.com/yoshihiro503/ocamltte=
r/)
>> if he wants to make a Mirage unikernel.
>>
>> I have two questions.
>>
>> 1. What exactly are the limitation for the libraries I can use when =
writing
>> code=3F Based on what I know, I feel like I cannot use any library that =
is
>> OS-dependent=3F For example, can I use Lwt=5Funix.sleep=3F
> Correct; you cannot use Unix, Lwt=5Funix, etc. In Mirage, you can use
> OS.Time.sleep instead of Lwt=5Funix.sleep.
> Sometimes an existing library can be modified easily (e.g. by moving
> non-Unix code into a separate =22core=22 module), so it might be worth
> trying that first.
> You should also try to avoid using C libraries where possible. e.g.
> you'd want to replace curl with cohttp here.
>> 2. Since the unikernel needs to make HTTPS request, I'd like to try out
>> OCaml-TLS. Is there any recommendation for a good example that can
>> illustrate how to use that=3F What aspects should I be careful of when =
using
>> it=3F
> There are some examples in the tls repository:
>   https://github.com/mirleft/ocaml-tls/tree/master/mirage/example
> I think there will be more information soon, as I see various
> TLS-related releases being prepared.
>> All questions and suggestions would be very welcomed.
> --=20
> Dr Thomas Leonard        http://roscidus.com/blog/
> GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 =
D8BA
------Nodemailer-0.5.0-?=_1-1431721851728
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable


<span id=3D=22mailbox-conversation=22>Hi, Dr Leonard<div><br></div>
<div>Thank you for the suggestions.</div>
<div><br></div>
<div>I design my library using functor and start to appreciate how functor =
helps to abstract design and easily target different backend (Unix, Xen).=
=C2=A0</div>
<div><br></div>
<div>I still have two questions which are related to OS dependency.</div>
<div><br></div>
<div>1. How could I know if a library has any OS dependency=3F Do I need to=
 read their source code, or there is a easier way I don=E2=80=99t =
know=3F</div>
<div><br></div>
<div>2. Is there any good crypto library (e.g. generating nonce, =
calculating HMAC=5FSHA1) that can be used on Mirage=3F I am using Cryptokit=
 on my unix machine. It seems like I cannot use it in Mirage. Reason is =
here (https://github.com/msimon/cryptokit/blob/master/src/cryptokit.=
mli#L233). You may realize this problem is actually the reason I asked my =
first question.=C2=A0</div>
<div><br></div>
<div>Thank you!</div>
<div><br></div>
<div><br></div></span><div class=3D=22mailbox=5Fsignature=22>
<br>---<br>Runhang Li<br>University of California, Los Angeles</div>
<br><br><div class=3D=22gmail=5Fquote=22><p>On Fri, May 15, 2015 at 9:39 AM=
, Thomas Leonard <span dir=3D=22ltr=22>&lt;<a href=3D=22mailto:talex5@gmail=
.com=22 target=3D=22=5Fblank=22>talex5@gmail.com</a>&gt;</span> =
wrote:<br></p><blockquote class=3D=22gmail=5Fquote=22 style=3D=22margin:0 0=
 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;=22><p>On 15 May 2015 =
at 07:48, Runhang Li &lt;marklrh@gmail.com&gt; wrote:
<br>&gt; Hi,
<br><br>Hi Runhang,
<br><br>&gt; I am writing a better Twitter API library because it is =
impossible for one
<br>&gt; to use current Twitter library (https://github.=
com/yoshihiro503/ocamltter/)
<br>&gt; if he wants to make a Mirage unikernel.
<br>&gt;
<br>&gt; I have two questions.
<br>&gt;
<br>&gt; 1. What exactly are the limitation for the libraries I can use =
when writing
<br>&gt; code=3F Based on what I know, I feel like I cannot use any library=
 that is
<br>&gt; OS-dependent=3F For example, can I use Lwt=5Funix.sleep=3F
<br><br>Correct; you cannot use Unix, Lwt=5Funix, etc. In Mirage, you can =
use
<br>OS.Time.sleep instead of Lwt=5Funix.sleep.
<br><br>Sometimes an existing library can be modified easily (e.g. by =
moving
<br>non-Unix code into a separate =22core=22 module), so it might be worth
<br>trying that first.
<br><br>You should also try to avoid using C libraries where possible. e.g.=

<br>you'd want to replace curl with cohttp here.
<br><br>&gt; 2. Since the unikernel needs to make HTTPS request, I'd like =
to try out
<br>&gt; OCaml-TLS. Is there any recommendation for a good example that =
can
<br>&gt; illustrate how to use that=3F What aspects should I be careful of =
when using
<br>&gt; it=3F
<br><br>There are some examples in the tls repository:
<br><br>  https://github.com/mirleft/ocaml-tls/tree/master/mirage/example
<br><br>I think there will be more information soon, as I see various
<br>TLS-related releases being prepared.
<br><br>&gt; All questions and suggestions would be very welcomed.
<br><br><br>--=20
<br>Dr Thomas Leonard        http://roscidus.com/blog/
<br>GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA
<br></p></blockquote></div><br>
------Nodemailer-0.5.0-?=_1-1431721851728--


--===============0887970148104406753==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============0887970148104406753==--


From mirageos-devel-bounces@lists.xenproject.org Sat May 16 09:52:17 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 16 May 2015 09:52:17 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YtYlL-0004Q5-84; Sat, 16 May 2015 09:52:07 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1YtYlK-0004Q0-7Y
	for mirageos-devel@lists.xenproject.org; Sat, 16 May 2015 09:52:06 +0000
Received: from [85.158.139.211] by server-10.bemta-5.messagelabs.com id
	6B/6D-02789-54317555; Sat, 16 May 2015 09:52:05 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-4.tower-206.messagelabs.com!1431769922!11011414!1
X-Originating-IP: [209.85.215.49]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26359 invoked from network); 16 May 2015 09:52:02 -0000
Received: from mail-la0-f49.google.com (HELO mail-la0-f49.google.com)
	(209.85.215.49)
	by server-4.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	16 May 2015 09:52:02 -0000
Received: by labbd9 with SMTP id bd9so155821096lab.2
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 16 May 2015 02:52:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type:content-transfer-encoding;
	bh=2JuddwuKyluyxeqnHg+wIX3s2KFRXuzAdQc7uHvjPCM=;
	b=doYxiJ1MLGFukvnmawueWtZCwJvErNoxx42Rjn40JyosfbV20Ye1eJ4F+ddyvo2rxW
	dl8pHqcJbCy1zugkU9/WPQs9MO1LU8uwOXTKFgzSt6BahV94nCt8+0VGs1yT5Mvv5HI9
	WSIAOiW3cpj/FbXuTDyj5gw0SIPUhBn9kf6OZOROlJRVzp7wlbaJk9qeBkXzuopq3tla
	HtrXGiGEaFL6m81E16a/jKAhPdpnpJVBHeO6gfJE2alD5+hL8z8Cu9Jh36N0nFCmXaRq
	gI7Cz9y5q41lphbaj9XBGHlo40VcnZG1Mz4i62Me5S4Rfk85LPPmRYDNPI9CfeF7TeZ9
	CgOA==
MIME-Version: 1.0
X-Received: by 10.152.19.70 with SMTP id c6mr10288148lae.121.1431769922070;
	Sat, 16 May 2015 02:52:02 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Sat, 16 May 2015 02:52:02 -0700 (PDT)
In-Reply-To: <1431721851439.316b98cd@Nodemailer>
References: <CAG4opy-fMU9g662QAWka1FiidJhz+tjUwduZ-GvSCsQR2n-oUg@mail.gmail.com>
	<1431721851439.316b98cd@Nodemailer>
Date: Sat, 16 May 2015 10:52:02 +0100
Message-ID: <CAG4opy8eOCoRR1Wte0sk0=4cvthg6Hh+s1He0Yf_eMvpLK=kbg@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Runhang Li <marklrh@gmail.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Problem when writing Twitter API library that
 can be used on Mirage
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gMTUgTWF5IDIwMTUgYXQgMjE6MzAsIFJ1bmhhbmcgTGkgPG1hcmtscmhAZ21haWwuY29tPiB3
cm90ZToKPiBIaSwgRHIgTGVvbmFyZAo+Cj4gVGhhbmsgeW91IGZvciB0aGUgc3VnZ2VzdGlvbnMu
Cj4KPiBJIGRlc2lnbiBteSBsaWJyYXJ5IHVzaW5nIGZ1bmN0b3IgYW5kIHN0YXJ0IHRvIGFwcHJl
Y2lhdGUgaG93IGZ1bmN0b3IgaGVscHMKPiB0byBhYnN0cmFjdCBkZXNpZ24gYW5kIGVhc2lseSB0
YXJnZXQgZGlmZmVyZW50IGJhY2tlbmQgKFVuaXgsIFhlbikuC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vbS9taXJsZWZ0L29jYW1sLW5vY3J5cHRvCgpGb3IgZXhhbXBsZToK
Cmh0dHBzOi8vZ2l0aHViLmNvbS9taXJsZWZ0L29jYW1sLW5vY3J5cHRvL2Jsb2IvNTE0YzU3MzZk
ODY3NTcxN2E2OTVjNzdmMWM1MDdiYjA5YmY3YzRlMS9zcmMvbm9jcnlwdG8ubWxpI0wxMjYKCgot
LSAKRHIgVGhvbWFzIExlb25hcmQgICAgICAgIGh0dHA6Ly9yb3NjaWR1cy5jb20vYmxvZy8KR1BH
OiBEQTk4IDI1QUUgQ0FEMCA4OTc1IDdDREEgIEJEOEUgMDcxMyAzRjk2IENBNzQgRDhCQQoKX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTWlyYWdlT1MtZGV2
ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCmh0dHA6
Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbWlyYWdlb3Mt
ZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Sat May 16 09:52:17 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 16 May 2015 09:52:17 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YtYlL-0004Q5-84; Sat, 16 May 2015 09:52:07 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1YtYlK-0004Q0-7Y
	for mirageos-devel@lists.xenproject.org; Sat, 16 May 2015 09:52:06 +0000
Received: from [85.158.139.211] by server-10.bemta-5.messagelabs.com id
	6B/6D-02789-54317555; Sat, 16 May 2015 09:52:05 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-4.tower-206.messagelabs.com!1431769922!11011414!1
X-Originating-IP: [209.85.215.49]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26359 invoked from network); 16 May 2015 09:52:02 -0000
Received: from mail-la0-f49.google.com (HELO mail-la0-f49.google.com)
	(209.85.215.49)
	by server-4.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	16 May 2015 09:52:02 -0000
Received: by labbd9 with SMTP id bd9so155821096lab.2
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 16 May 2015 02:52:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type:content-transfer-encoding;
	bh=2JuddwuKyluyxeqnHg+wIX3s2KFRXuzAdQc7uHvjPCM=;
	b=doYxiJ1MLGFukvnmawueWtZCwJvErNoxx42Rjn40JyosfbV20Ye1eJ4F+ddyvo2rxW
	dl8pHqcJbCy1zugkU9/WPQs9MO1LU8uwOXTKFgzSt6BahV94nCt8+0VGs1yT5Mvv5HI9
	WSIAOiW3cpj/FbXuTDyj5gw0SIPUhBn9kf6OZOROlJRVzp7wlbaJk9qeBkXzuopq3tla
	HtrXGiGEaFL6m81E16a/jKAhPdpnpJVBHeO6gfJE2alD5+hL8z8Cu9Jh36N0nFCmXaRq
	gI7Cz9y5q41lphbaj9XBGHlo40VcnZG1Mz4i62Me5S4Rfk85LPPmRYDNPI9CfeF7TeZ9
	CgOA==
MIME-Version: 1.0
X-Received: by 10.152.19.70 with SMTP id c6mr10288148lae.121.1431769922070;
	Sat, 16 May 2015 02:52:02 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Sat, 16 May 2015 02:52:02 -0700 (PDT)
In-Reply-To: <1431721851439.316b98cd@Nodemailer>
References: <CAG4opy-fMU9g662QAWka1FiidJhz+tjUwduZ-GvSCsQR2n-oUg@mail.gmail.com>
	<1431721851439.316b98cd@Nodemailer>
Date: Sat, 16 May 2015 10:52:02 +0100
Message-ID: <CAG4opy8eOCoRR1Wte0sk0=4cvthg6Hh+s1He0Yf_eMvpLK=kbg@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Runhang Li <marklrh@gmail.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Problem when writing Twitter API library that
 can be used on Mirage
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gMTUgTWF5IDIwMTUgYXQgMjE6MzAsIFJ1bmhhbmcgTGkgPG1hcmtscmhAZ21haWwuY29tPiB3
cm90ZToKPiBIaSwgRHIgTGVvbmFyZAo+Cj4gVGhhbmsgeW91IGZvciB0aGUgc3VnZ2VzdGlvbnMu
Cj4KPiBJIGRlc2lnbiBteSBsaWJyYXJ5IHVzaW5nIGZ1bmN0b3IgYW5kIHN0YXJ0IHRvIGFwcHJl
Y2lhdGUgaG93IGZ1bmN0b3IgaGVscHMKPiB0byBhYnN0cmFjdCBkZXNpZ24gYW5kIGVhc2lseSB0
YXJnZXQgZGl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dXBwb3J0KToK
Cmh0dHBzOi8vZ2l0aHViLmNvbS9taXJsZWZ0L29jYW1sLW5vY3J5cHRvCgpGb3IgZXhhbXBsZToK
Cmh0dHBzOi8vZ2l0aHViLmNvbS9taXJsZWZ0L29jYW1sLW5vY3J5cHRvL2Jsb2IvNTE0YzU3MzZk
ODY3NTcxN2E2OTVjNzdmMWM1MDdiYjA5YmY3YzRlMS9zcmMvbm9jcnlwdG8ubWxpI0wxMjYKCgot
LSAKRHIgVGhvbWFzIExlb25hcmQgICAgICAgIGh0dHA6Ly9yb3NjaWR1cy5jb20vYmxvZy8KR1BH
OiBEQTk4IDI1QUUgQ0FEMCA4OTc1IDdDREEgIEJEOEUgMDcxMyAzRjk2IENBNzQgRDhCQQoKX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTWlyYWdlT1MtZGV2
ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCmh0dHA6
Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbWlyYWdlb3Mt
ZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Sat May 16 11:48:33 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 16 May 2015 11:48:33 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YtaZv-0007tp-W0; Sat, 16 May 2015 11:48:27 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <darioteixeira@yahoo.com>) id 1YtaZu-0007ti-PQ
	for mirageos-devel@lists.xenproject.org; Sat, 16 May 2015 11:48:27 +0000
Received: from [193.109.254.147] by server-11.bemta-14.messagelabs.com id
	CB/A7-02795-98E27555; Sat, 16 May 2015 11:48:25 +0000
X-Env-Sender: darioteixeira@yahoo.com
X-Msg-Ref: server-16.tower-27.messagelabs.com!1431776903!10440676!1
X-Originating-IP: [98.138.91.105]
X-SpamReason: No, hits=2.5 required=7.0 tests=FORGED_YAHOO_RCVD,
	GAPPY_SUBJECT,RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 10771 invoked from network); 16 May 2015 11:48:24 -0000
Received: from nm12-vm6.bullet.mail.ne1.yahoo.com (HELO
	nm12-vm6.bullet.mail.ne1.yahoo.com) (98.138.91.105)
	by server-16.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	16 May 2015 11:48:24 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
	t=1431776903; bh=514S81vzCupFRx5J8wGNISKbk7zvpnSxWum/0OtMIxc=;
	h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject;
	b=D78qXVtgiwuz3pVwSjDkLrUli+N7wX/eoxpECTT5xHAp2YkAtAzJmJA/FZvi0BovN0nKHaE7IOgj69vNSsdj6rAnFj7Wuy0N7qBXv8c5f5tJP1PV2ZWCPWehWWV72eN4s+4o7utgyPrFb3Y8qKkfaZ6OAXkMyfoCKGvrbN22jYb1lE+RF56f2Ap0UJLgbh8M39rjGNlAFUjz1ZrCnVAnBzKOSngFHTydlXTB4vkize4Ds5zdFXhBBpPmEAAS89pwoPc4Piz4uOFeUPnz9LpB+R/K6jZY6D1uJm9R7sX6p6xeJ4H7N8yvD18Ff2W79RWOOAffLOalv9l7mlsnWrx6Ow==
Received: from [98.138.100.118] by nm12.bullet.mail.ne1.yahoo.com with NNFMP;
	16 May 2015 11:48:23 -0000
Received: from [98.138.89.172] by tm109.bullet.mail.ne1.yahoo.com with NNFMP;
	16 May 2015 11:48:23 -0000
Received: from [127.0.0.1] by omp1028.mail.ne1.yahoo.com with NNFMP;
	16 May 2015 11:48:23 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 204820.32605.bm@omp1028.mail.ne1.yahoo.com
X-YMail-OSG: ro_Tx7MVM1lA5R0A.bqKrA5fe7XoM7KRQLy5GlFLzb46QXkydQ94DSEYBbXgYxG
	Bij70hPnG0kGzAodpjfGGA09bToRi2FKBNL8HsRBfcuX9k5xcZzGYaCtcOuwuxwzIhO7nWfATASE
	FIPbPsnyzUL7J_5xsTSJQM4JMp7L3IuUGT9uw9usTxHjzhmEBxA_ced5c6PKbqggWi2n9fuBJLF0
	q0a0J8wPxRvT1zIlQ9vuVYiomdhsSYLvDVRxRXs5XVn0ZpQMoeCN5MFPIk5QUxgij.eTGxK2b13t
	y27gax4tOe2UihKlSmLycdSH.Yfy_5GnwvNBu.OR0tcp.DRYVKnKQorCteB0DbXaq6u4q9aEcts7
	BhdWJfabVvpOU.BWMeHQSm7JiP9.bM5egwXsHX6r4nA4gLZKmPHL0Fww2PONvQG5HmlPCUIA6LV6
	IbKH6DO_VeTpkcxTJP5Hmbk6ZD5Yok.aBlPS.QR3.T5Kp4ts5Q4TqY7uAQb3fVXfrHG9mzBEfhvq
	7oKvwd.KJocZfyODeiCt3VQ04ejAOB2Hxxq4-
Received: by 98.138.105.213; Sat, 16 May 2015 11:48:22 +0000 
Date: Sat, 16 May 2015 11:48:22 +0000 (UTC)
From: Dario Teixeira <darioteixeira@yahoo.com>
To: Christophe Troestler <Christophe.Troestler@umons.ac.be>, 
	"mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Message-ID: <479284556.115403.1431776902075.JavaMail.yahoo@mail.yahoo.com>
In-Reply-To: <20150515.221024.1912056849687288780.Christophe.Troestler@umons.ac.be>
References: <20150515.221024.1912056849687288780.Christophe.Troestler@umons.ac.be>
MIME-Version: 1.0
Content-Length: 1236
Subject: Re: [MirageOS-devel] C.H.I.P.
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
Reply-To: Dario Teixeira <darioteixeira@yahoo.com>
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi,

> As some of you may be aware, a crowdfunded project develops a $9
> computer with pretty good characteristics:
> https://www.kickstarter.com/projects/1598272670/chip-the-worlds-first-9-computer/description
> The processor will be a Allwinner R8 which is based on the A13 model.
> What is the status of Xen on the A13?  Some C.H.I.P. will be available
> in September for kernel hackers.  Any interest in asking to be part of
> it so that Xen is ready when C.H.I.P. becomes available to the rest of
> us (January)?


The CPU of the Allwinner R8 is an ARM Cortex-A8, so the question transits
to the Xen support for Cortex-A8.  Btw, is there a list somewhere that
summarises the Xen support for the various ARM processors?  Most SBCs
these days are based on Cortex-A7 (low-end ones line the RPi2), Cortex-A9
(mid-end ones like the Cubox-i family or Radxa Rock Pro), or Cortex-A15
or even Cortex-A17 (for higher-end ones like the Radxa 2).  I think the
A7 and A17 work with Xen, but not the other ones (but I may be wrong).

Best regards,
Dario Teixeira

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat May 16 11:48:33 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 16 May 2015 11:48:33 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YtaZv-0007tp-W0; Sat, 16 May 2015 11:48:27 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <darioteixeira@yahoo.com>) id 1YtaZu-0007ti-PQ
	for mirageos-devel@lists.xenproject.org; Sat, 16 May 2015 11:48:27 +0000
Received: from [193.109.254.147] by server-11.bemta-14.messagelabs.com id
	CB/A7-02795-98E27555; Sat, 16 May 2015 11:48:25 +0000
X-Env-Sender: darioteixeira@yahoo.com
X-Msg-Ref: server-16.tower-27.messagelabs.com!1431776903!10440676!1
X-Originating-IP: [98.138.91.105]
X-SpamReason: No, hits=2.5 required=7.0 tests=FORGED_YAHOO_RCVD,
	GAPPY_SUBJECT,RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 10771 invoked from network); 16 May 2015 11:48:24 -0000
Received: from nm12-vm6.bullet.mail.ne1.yahoo.com (HELO
	nm12-vm6.bullet.mail.ne1.yahoo.com) (98.138.91.105)
	by server-16.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	16 May 2015 11:48:24 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
	t=1431776903; bh=514S81vzCupFRx5J8wGNISKbk7zvpnSxWum/0OtMIxc=;
	h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject;
	b=D78qXVtgiwuz3pVwSjDkLrUli+N7wX/eoxpECTT5xHAp2YkAtAzJmJA/FZvi0BovN0nKHaE7IOgj69vNSsdj6rAnFj7Wuy0N7qBXv8c5f5tJP1PV2ZWCPWehWWV72eN4s+4o7utgyPrFb3Y8qKkfaZ6OAXkMyfoCKGvrbN22jYb1lE+RF56f2Ap0UJLgbh8M39rjGNlAFUjz1ZrCnVAnBzKOSngFHTydlXTB4vkize4Ds5zdFXhBBpPmEAAS89pwoPc4Piz4uOFeUPnz9LpB+R/K6jZY6D1uJm9R7sX6p6xeJ4H7N8yvD18Ff2W79RWOOAffLOalv9l7mlsnWrx6Ow==
Received: from [98.138.100.118] by nm12.bullet.mail.ne1.yahoo.com with NNFMP;
	16 May 2015 11:48:23 -0000
Received: from [98.138.89.172] by tm109.bullet.mail.ne1.yahoo.com with NNFMP;
	16 May 2015 11:48:23 -0000
Received: from [127.0.0.1] by omp1028.mail.ne1.yahoo.com with NNFMP;
	16 May 2015 11:48:23 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 204820.32605.bm@omp1028.mail.ne1.yahoo.com
X-YMail-OSG: ro_Tx7MVM1lA5R0A.bqKrA5fe7XoM7KRQLy5GlFLzb46QXkydQ94DSEYBbXgYxG
	Bij70hPnG0kGzAodpjfGGA09bToRi2FKBNL8HsRBfcuX9k5xcZzGYaCtcOuwuxwzIhO7nWfATASE
	FIPbPsnyzUL7J_5xsTSJQM4JMp7L3IuUGT9uw9usTxHjzhmEBxA_ced5c6PKbqggWi2n9fuBJLF0
	q0a0J8wPxRvT1zIlQ9vuVYiomdhsSYLvDVRxRXs5XVn0ZpQMoeCN5MFPIk5QUxgij.eTGxK2b13t
	y27gax4tOe2UihKlSmLycdSH.Yfy_5GnwvNBu.OR0tcp.DRYVKnKQorCteB0DbXaq6u4q9aEcts7
	BhdWJfabVvpOU.BWMeHQSm7JiP9.bM5egwXsHX6r4nA4gLZKmPHL0Fww2PONvQG5HmlPCUIA6LV6
	IbKH6DO_VeTpkcxTJP5Hmbk6ZD5Yok.aBlPS.QR3.T5Kp4ts5Q4TqY7uAQb3fVXfrHG9mzBEfhvq
	7oKvwd.KJocZfyODeiCt3VQ04ejAOB2Hxxq4-
Received: by 98.138.105.213; Sat, 16 May 2015 11:48:22 +0000 
Date: Sat, 16 May 2015 11:48:22 +0000 (UTC)
From: Dario Teixeira <darioteixeira@yahoo.com>
To: Christophe Troestler <Christophe.Troestler@umons.ac.be>, 
	"mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Message-ID: <479284556.115403.1431776902075.JavaMail.yahoo@mail.yahoo.com>
In-Reply-To: <20150515.221024.1912056849687288780.Christophe.Troestler@umons.ac.be>
References: <20150515.221024.1912056849687288780.Christophe.Troestler@umons.ac.be>
MIME-Version: 1.0
Content-Length: 1236
Subject: Re: [MirageOS-devel] C.H.I.P.
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
Reply-To: Dario Teixeira <darioteixeira@yahoo.com>
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi,

> As some of you may be aware, a crowdfunded project develops a $9
> computer with pretty good characteristics:
> https://www.kickstarter.com/projects/1598272670/chip-the-worlds-first-9-computer/description
> The processor will be a Allwinner R8 which is based on the A13 model.
> What is the status of Xen on the A13?  Some C.H.I.P. will be available
> in September for kernel hackers.  Any interest in asking to be part of
> it so that Xen is ready when C.H.I.P. becomes available to the rest of
> us (January)?


The CPU of the Allwinner R8 is an ARM Cortex-A8, so the question transits
to the Xen support for Cortex-A8.  Btw, is there a list somewhere that
summarises the Xen support for the various ARM processors?  Most SBCs
these days are based on Cortex-A7 (low-end ones line the RPi2), Cortex-A9
(mid-end ones like the Cubox-i family or Radxa Rock Pro), or Cortex-A15
or even Cortex-A17 (for higher-end ones like the Radxa 2).  I think the
A7 and A17 work with Xen, but not the other ones (but I may be wrong).

Best regards,
Dario Teixeira

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat May 16 17:05:04 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 16 May 2015 17:05:04 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YtfWD-0001Wy-CC; Sat, 16 May 2015 17:04:57 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <vb@luminar.eu.org>) id 1YtfWB-0001Wt-93
	for mirageos-devel@lists.xenproject.org; Sat, 16 May 2015 17:04:55 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	31/97-03040-6B877555; Sat, 16 May 2015 17:04:54 +0000
X-Env-Sender: vb@luminar.eu.org
X-Msg-Ref: server-9.tower-31.messagelabs.com!1431795889!7379599!1
X-Originating-IP: [37.187.116.20]
X-SpamReason: No, hits=1.6 required=7.0 tests=GAPPY_SUBJECT
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 12675 invoked from network); 16 May 2015 17:04:49 -0000
Received: from luminar.eu.org (HELO luminar.eu.org) (37.187.116.20)
	by server-9.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 16 May 2015 17:04:49 -0000
Received: from [192.168.1.71] (236.183.207.77.rev.sfr.net [77.207.183.236])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by luminar.eu.org (Postfix) with ESMTPSA id BDE13FF61A
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 16 May 2015 19:04:48 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=luminar.eu.org;
	s=mail; t=1431795888;
	bh=fRHPNp9FN6utxBsIWkaleqerwdegW88gx3D23nL5fKk=;
	h=Date:From:To:Subject:References:In-Reply-To:From;
	b=i7hLkKxVgowYmmMGczDeKOHqyXHwpzDx7oLyUtIJQwCPDpt+Uwr8+tKQdmNY4UVwA
	d6097s69welLHWZEcK4N36i6Nc+YFoBbzyl7ywgCPKoKY8y2cwk6mo/YyeRPxdETfT
	1wCo/BpUFVHAzw/FTYxs0suHq+IZ1Us85cA6UFo4=
Message-ID: <555778B0.9010309@luminar.eu.org>
Date: Sat, 16 May 2015 19:04:48 +0200
From: Vincent Bernardoff <vb@luminar.eu.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Thunderbird/31.5.0
MIME-Version: 1.0
To: mirageos-devel@lists.xenproject.org
References: <20150515.221024.1912056849687288780.Christophe.Troestler@umons.ac.be>
	<479284556.115403.1431776902075.JavaMail.yahoo@mail.yahoo.com>
In-Reply-To: <479284556.115403.1431776902075.JavaMail.yahoo@mail.yahoo.com>
Subject: Re: [MirageOS-devel] C.H.I.P.
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 16/05/2015 13:48, Dario Teixeira wrote:
> The CPU of the Allwinner R8 is an ARM Cortex-A8, so the question transits
> to the Xen support for Cortex-A8.  

No there is no support for A8, and there will probably never be (does
not have the virtualisation extensions).

Btw, is there a list somewhere that
> summarises the Xen support for the various ARM processors?  Most SBCs
> these days are based on Cortex-A7 (low-end ones line the RPi2), Cortex-A9
> (mid-end ones like the Cubox-i family or Radxa Rock Pro), or Cortex-A15
> or even Cortex-A17 (for higher-end ones like the Radxa 2).  I think the
> A7 and A17 work with Xen, but not the other ones (but I may be wrong).

A8 and A9 does not work, the rest probably work (at least theoretically).

Cheers,

Vincent


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat May 16 17:05:04 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 16 May 2015 17:05:04 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YtfWD-0001Wy-CC; Sat, 16 May 2015 17:04:57 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <vb@luminar.eu.org>) id 1YtfWB-0001Wt-93
	for mirageos-devel@lists.xenproject.org; Sat, 16 May 2015 17:04:55 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	31/97-03040-6B877555; Sat, 16 May 2015 17:04:54 +0000
X-Env-Sender: vb@luminar.eu.org
X-Msg-Ref: server-9.tower-31.messagelabs.com!1431795889!7379599!1
X-Originating-IP: [37.187.116.20]
X-SpamReason: No, hits=1.6 required=7.0 tests=GAPPY_SUBJECT
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 12675 invoked from network); 16 May 2015 17:04:49 -0000
Received: from luminar.eu.org (HELO luminar.eu.org) (37.187.116.20)
	by server-9.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 16 May 2015 17:04:49 -0000
Received: from [192.168.1.71] (236.183.207.77.rev.sfr.net [77.207.183.236])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by luminar.eu.org (Postfix) with ESMTPSA id BDE13FF61A
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 16 May 2015 19:04:48 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=luminar.eu.org;
	s=mail; t=1431795888;
	bh=fRHPNp9FN6utxBsIWkaleqerwdegW88gx3D23nL5fKk=;
	h=Date:From:To:Subject:References:In-Reply-To:From;
	b=i7hLkKxVgowYmmMGczDeKOHqyXHwpzDx7oLyUtIJQwCPDpt+Uwr8+tKQdmNY4UVwA
	d6097s69welLHWZEcK4N36i6Nc+YFoBbzyl7ywgCPKoKY8y2cwk6mo/YyeRPxdETfT
	1wCo/BpUFVHAzw/FTYxs0suHq+IZ1Us85cA6UFo4=
Message-ID: <555778B0.9010309@luminar.eu.org>
Date: Sat, 16 May 2015 19:04:48 +0200
From: Vincent Bernardoff <vb@luminar.eu.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Thunderbird/31.5.0
MIME-Version: 1.0
To: mirageos-devel@lists.xenproject.org
References: <20150515.221024.1912056849687288780.Christophe.Troestler@umons.ac.be>
	<479284556.115403.1431776902075.JavaMail.yahoo@mail.yahoo.com>
In-Reply-To: <479284556.115403.1431776902075.JavaMail.yahoo@mail.yahoo.com>
Subject: Re: [MirageOS-devel] C.H.I.P.
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 16/05/2015 13:48, Dario Teixeira wrote:
> The CPU of the Allwinner R8 is an ARM Cortex-A8, so the question transits
> to the Xen support for Cortex-A8.  

No there is no support for A8, and there will probably never be (does
not have the virtualisation extensions).

Btw, is there a list somewhere that
> summarises the Xen support for the various ARM processors?  Most SBCs
> these days are based on Cortex-A7 (low-end ones line the RPi2), Cortex-A9
> (mid-end ones like the Cubox-i family or Radxa Rock Pro), or Cortex-A15
> or even Cortex-A17 (for higher-end ones like the Radxa 2).  I think the
> A7 and A17 work with Xen, but not the other ones (but I may be wrong).

A8 and A9 does not work, the rest probably work (at least theoretically).

Cheers,

Vincent


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sun May 17 17:48:20 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 17 May 2015 17:48:20 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yu2fZ-0004nt-G3; Sun, 17 May 2015 17:48:09 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1Yu2fX-0004nl-Tz
	for mirageos-devel@lists.xenproject.org; Sun, 17 May 2015 17:48:08 +0000
Received: from [85.158.139.211] by server-8.bemta-5.messagelabs.com id
	83/C7-03747-654D8555; Sun, 17 May 2015 17:48:06 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-16.tower-206.messagelabs.com!1431884885!8242506!1
X-Originating-IP: [209.85.215.43]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9051 invoked from network); 17 May 2015 17:48:05 -0000
Received: from mail-la0-f43.google.com (HELO mail-la0-f43.google.com)
	(209.85.215.43)
	by server-16.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	17 May 2015 17:48:05 -0000
Received: by lagr1 with SMTP id r1so107133587lag.0
	for <mirageos-devel@lists.xenproject.org>;
	Sun, 17 May 2015 10:48:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:content-type:content-transfer-encoding;
	bh=awy2D92fvD2v3q74WXxekeIhpDtBH5wkPBH+CUAbJu8=;
	b=n/8Q8G37RmduR9DKge92aXOBUd+LNWuzRIWmEmUtlktO1c6w1mfwFlLruzOP27ZfFH
	usMxERxS0H7j9hnMCIv2omoK/RLqaYW1X+F5oUeyGzo1prtdCHlUNWHdAd3tAPbgGWqT
	t8ZvXPCqRJPOgpqQdZ/X0qnGF0uUve87y5+Nf34BOSwx7xVvA0CAKbxVc9+IlbF0wrD9
	Xc8cKXvlAJqwZ+6DdaikBbISBKNINmpjYyHOthXws424M29JQCYJLbb6XZSJ+2fNK8CJ
	p+jYZ59QPI/J84Zg4sKCxJXoxnZpUgno12NYV/AhRbDuxe/B3GVrY09FfErGMgszkx2O
	Oevw==
MIME-Version: 1.0
X-Received: by 10.112.132.9 with SMTP id oq9mr14366291lbb.26.1431884885155;
	Sun, 17 May 2015 10:48:05 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Sun, 17 May 2015 10:48:05 -0700 (PDT)
In-Reply-To: <CAG4opy_+GY7zB1Yy5Jb6N++dFudD3PTF8OaekZEE2tSN6G-Hhw@mail.gmail.com>
References: <CAG4opy_+GY7zB1Yy5Jb6N++dFudD3PTF8OaekZEE2tSN6G-Hhw@mail.gmail.com>
Date: Sun, 17 May 2015 18:48:05 +0100
Message-ID: <CAG4opy9mttDxvm+YM0K88abV0=ULojA6giRMtitsVGt5QwnQTA@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Binary Irmin slices
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gMTUgTWF5IDIwMTUgYXQgMTU6NDksIFRob21hcyBMZW9uYXJkIDx0YWxleDVAZ21haWwuY29t
PiB3cm90ZToKPiBJJ20gdHJ5aW5nIHRvIHN5bmMgYW4gSXJtaW4gcmV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zIGl0IGRvIHRoaXM/CgoKLS0gCkRyIFRob21hcyBMZW9uYXJkICAgICAgICBodHRwOi8v
cm9zY2lkdXMuY29tL2Jsb2cvCkdQRzogREE5OCAyNUFFIENBRDAgODk3NSA3Q0RBICBCRDhFIDA3
MTMgM0Y5NiBDQTc0IEQ4QkEKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fCk1pcmFnZU9TLWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0
cy54ZW5wcm9qZWN0Lm9yZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWls
bWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Sun May 17 17:48:20 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 17 May 2015 17:48:20 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yu2fZ-0004nt-G3; Sun, 17 May 2015 17:48:09 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1Yu2fX-0004nl-Tz
	for mirageos-devel@lists.xenproject.org; Sun, 17 May 2015 17:48:08 +0000
Received: from [85.158.139.211] by server-8.bemta-5.messagelabs.com id
	83/C7-03747-654D8555; Sun, 17 May 2015 17:48:06 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-16.tower-206.messagelabs.com!1431884885!8242506!1
X-Originating-IP: [209.85.215.43]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9051 invoked from network); 17 May 2015 17:48:05 -0000
Received: from mail-la0-f43.google.com (HELO mail-la0-f43.google.com)
	(209.85.215.43)
	by server-16.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	17 May 2015 17:48:05 -0000
Received: by lagr1 with SMTP id r1so107133587lag.0
	for <mirageos-devel@lists.xenproject.org>;
	Sun, 17 May 2015 10:48:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:content-type:content-transfer-encoding;
	bh=awy2D92fvD2v3q74WXxekeIhpDtBH5wkPBH+CUAbJu8=;
	b=n/8Q8G37RmduR9DKge92aXOBUd+LNWuzRIWmEmUtlktO1c6w1mfwFlLruzOP27ZfFH
	usMxERxS0H7j9hnMCIv2omoK/RLqaYW1X+F5oUeyGzo1prtdCHlUNWHdAd3tAPbgGWqT
	t8ZvXPCqRJPOgpqQdZ/X0qnGF0uUve87y5+Nf34BOSwx7xVvA0CAKbxVc9+IlbF0wrD9
	Xc8cKXvlAJqwZ+6DdaikBbISBKNINmpjYyHOthXws424M29JQCYJLbb6XZSJ+2fNK8CJ
	p+jYZ59QPI/J84Zg4sKCxJXoxnZpUgno12NYV/AhRbDuxe/B3GVrY09FfErGMgszkx2O
	Oevw==
MIME-Version: 1.0
X-Received: by 10.112.132.9 with SMTP id oq9mr14366291lbb.26.1431884885155;
	Sun, 17 May 2015 10:48:05 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Sun, 17 May 2015 10:48:05 -0700 (PDT)
In-Reply-To: <CAG4opy_+GY7zB1Yy5Jb6N++dFudD3PTF8OaekZEE2tSN6G-Hhw@mail.gmail.com>
References: <CAG4opy_+GY7zB1Yy5Jb6N++dFudD3PTF8OaekZEE2tSN6G-Hhw@mail.gmail.com>
Date: Sun, 17 May 2015 18:48:05 +0100
Message-ID: <CAG4opy9mttDxvm+YM0K88abV0=ULojA6giRMtitsVGt5QwnQTA@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Binary Irmin slices
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gMTUgTWF5IDIwMTUgYXQgMTU6NDksIFRob21hcyBMZW9uYXJkIDx0YWxleDVAZ21haWwuY29t
PiB3cm90ZToKPiBJJ20gdHJ5aW5nIHRvIHN5bmMgYW4gSXJtaW4gcmVwb3NpdG9yeSBmcm9tIHNv
bWUganNfb2Zfb2NhbWwgdG8gYQo+IG5hdGl2ZSBNaXJhZ2Ugc2VydmVyLiBJdCB3YXMgd29ya2lu
ZyB3aXRoIEpTT04gYnJpZWZseSwgZXhjZXB0IHRoYXQgbXkKPiByZXBvc2l0b3J5IGdyZXcgZW5v
dWdoIHRoYXQgdG9fanNvbiBub3cgcmVzdWx0cyBpbiBhIFN0YWNrT3ZlcmZsb3csIHNvCj4gSSdt
IHRyeWluZyB0aGUgYmluYXJ5IHByb3RvY29sIGluc3RlYWQuIEhvd2V2ZXIsIHJlYWRpbmcgdGhl
IGRhdGEgYmFjawo+IHNlZW1zIHRvIGZhaWwuIEknbSBndWVzc2luZyBhIGJpdCBob3cgdGhlIFRj
IEFQSSB3b3Jrcyw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Mon May 18 08:19:30 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 18 May 2015 08:19:30 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YuGGg-0005zm-Pq; Mon, 18 May 2015 08:19:22 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1YuGGf-0005zh-Gu
	for mirageos-devel@lists.xenproject.org; Mon, 18 May 2015 08:19:21 +0000
Received: from [193.109.254.147] by server-13.bemta-14.messagelabs.com id
	B1/FE-02669-880A9555; Mon, 18 May 2015 08:19:20 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-2.tower-27.messagelabs.com!1431937159!18348636!1
X-Originating-IP: [74.125.82.51]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 30226 invoked from network); 18 May 2015 08:19:19 -0000
Received: from mail-wg0-f51.google.com (HELO mail-wg0-f51.google.com)
	(74.125.82.51)
	by server-2.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	18 May 2015 08:19:19 -0000
Received: by wguv19 with SMTP id v19so117505873wgu.1
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 18 May 2015 01:19:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=i1WT4NLQBbXhrodT9+vt+72aRnTQBt7hQ/yIvKUrOIw=;
	b=S7gO3UTYmTgACdI9GqoqJIy/JCS2tJS4yYQapcIPnVU0qmOf+xycjV0Ki4G6+rHM/3
	iq7jsjRz8gYqHpWkgHSm83mgiV6HmWrtEnCkLNNp0D4mY+fp660lzPl0jtJQ9CJeGzPu
	goKE9Wb6cb5nPu61MOgNZrQ3kWRPvhCxatuy6Joi4Pm/YVlNqfa83WpLa84x+lQp+3o6
	ZBSVGF88rnLGelJ+PLaKghomD09Zrd8E3ftTfJXrrSwGeJuFNh4pDCrp34InO7GUhxrX
	C8fL9e883X1Fx2iIXVoyGkwr07AC01rOXzR2Hwuo9f+chW+w08abaVvOw5PyNLoGKECZ
	f0mw==
X-Received: by 10.194.184.202 with SMTP id ew10mr42548004wjc.23.1431937159382; 
	Mon, 18 May 2015 01:19:19 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122]) by mx.google.com with ESMTPSA id
	mc20sm11215094wic.15.2015.05.18.01.19.17
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Mon, 18 May 2015 01:19:18 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <CAG4opy9mttDxvm+YM0K88abV0=ULojA6giRMtitsVGt5QwnQTA@mail.gmail.com>
Date: Mon, 18 May 2015 09:19:16 +0100
Message-Id: <5B731FB8-4704-4B68-AABC-C38D8F647CFD@gazagnaire.org>
References: <CAG4opy_+GY7zB1Yy5Jb6N++dFudD3PTF8OaekZEE2tSN6G-Hhw@mail.gmail.com>
	<CAG4opy9mttDxvm+YM0K88abV0=ULojA6giRMtitsVGt5QwnQTA@mail.gmail.com>
To: Thomas Leonard <talex5@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Binary Irmin slices
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi,

> It seems that Irmin.Contents.String overrides the default Tc.String
> serialisation with one that doesn't include the length:
> 
> https://github.com/mirage/irmin/blob/ae42dab34d8451395910eb4cd534ee887a6871a5/lib/ir_contents.ml#L143
> 
> Why does it do this?

The goal is to have the file contents (once expanded on the filesystem) serialised as the raw string, not at the string with a prefix.

While I agree that this breaks composability, I'm not sure how to fix it properly. I'd probably wrap the contents in Ir_slice.t into something that make bin-prot happy. I've moved the bug is tracked to the issue tracker[1].

Note that the HTTP client/server code is using to_json/of_json to exchange slices, so they don't hit that bug. Would be nice to have a binary RPC backend exercising this code path. That might be an interesting project if ones want to learn about Irmin API (see [2]).

Best,
Thomas

[1] https://github.com/mirage/irmin/issues/204
[2] https://github.com/mirage/irmin/issues/205
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon May 18 08:19:30 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 18 May 2015 08:19:30 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YuGGg-0005zm-Pq; Mon, 18 May 2015 08:19:22 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1YuGGf-0005zh-Gu
	for mirageos-devel@lists.xenproject.org; Mon, 18 May 2015 08:19:21 +0000
Received: from [193.109.254.147] by server-13.bemta-14.messagelabs.com id
	B1/FE-02669-880A9555; Mon, 18 May 2015 08:19:20 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-2.tower-27.messagelabs.com!1431937159!18348636!1
X-Originating-IP: [74.125.82.51]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 30226 invoked from network); 18 May 2015 08:19:19 -0000
Received: from mail-wg0-f51.google.com (HELO mail-wg0-f51.google.com)
	(74.125.82.51)
	by server-2.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	18 May 2015 08:19:19 -0000
Received: by wguv19 with SMTP id v19so117505873wgu.1
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 18 May 2015 01:19:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=i1WT4NLQBbXhrodT9+vt+72aRnTQBt7hQ/yIvKUrOIw=;
	b=S7gO3UTYmTgACdI9GqoqJIy/JCS2tJS4yYQapcIPnVU0qmOf+xycjV0Ki4G6+rHM/3
	iq7jsjRz8gYqHpWkgHSm83mgiV6HmWrtEnCkLNNp0D4mY+fp660lzPl0jtJQ9CJeGzPu
	goKE9Wb6cb5nPu61MOgNZrQ3kWRPvhCxatuy6Joi4Pm/YVlNqfa83WpLa84x+lQp+3o6
	ZBSVGF88rnLGelJ+PLaKghomD09Zrd8E3ftTfJXrrSwGeJuFNh4pDCrp34InO7GUhxrX
	C8fL9e883X1Fx2iIXVoyGkwr07AC01rOXzR2Hwuo9f+chW+w08abaVvOw5PyNLoGKECZ
	f0mw==
X-Received: by 10.194.184.202 with SMTP id ew10mr42548004wjc.23.1431937159382; 
	Mon, 18 May 2015 01:19:19 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122]) by mx.google.com with ESMTPSA id
	mc20sm11215094wic.15.2015.05.18.01.19.17
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Mon, 18 May 2015 01:19:18 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <CAG4opy9mttDxvm+YM0K88abV0=ULojA6giRMtitsVGt5QwnQTA@mail.gmail.com>
Date: Mon, 18 May 2015 09:19:16 +0100
Message-Id: <5B731FB8-4704-4B68-AABC-C38D8F647CFD@gazagnaire.org>
References: <CAG4opy_+GY7zB1Yy5Jb6N++dFudD3PTF8OaekZEE2tSN6G-Hhw@mail.gmail.com>
	<CAG4opy9mttDxvm+YM0K88abV0=ULojA6giRMtitsVGt5QwnQTA@mail.gmail.com>
To: Thomas Leonard <talex5@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Binary Irmin slices
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi,

> It seems that Irmin.Contents.String overrides the default Tc.String
> serialisation with one that doesn't include the length:
> 
> https://github.com/mirage/irmin/blob/ae42dab34d8451395910eb4cd534ee887a6871a5/lib/ir_contents.ml#L143
> 
> Why does it do this?

The goal is to have the file contents (once expanded on the filesystem) serialised as the raw string, not at the string with a prefix.

While I agree that this breaks composability, I'm not sure how to fix it properly. I'd probably wrap the contents in Ir_slice.t into something that make bin-prot happy. I've moved the bug is tracked to the issue tracker[1].

Note that the HTTP client/server code is using to_json/of_json to exchange slices, so they don't hit that bug. Would be nice to have a binary RPC backend exercising this code path. That might be an interesting project if ones want to learn about Irmin API (see [2]).

Best,
Thomas

[1] https://github.com/mirage/irmin/issues/204
[2] https://github.com/mirage/irmin/issues/205
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon May 18 11:39:18 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 18 May 2015 11:39:18 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YuJO2-0000WZ-Nv; Mon, 18 May 2015 11:39:10 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1YuJO0-0000WA-Uk
	for mirageos-devel@lists.xenproject.org; Mon, 18 May 2015 11:39:09 +0000
Received: from [193.109.254.147] by server-3.bemta-14.messagelabs.com id
	BC/90-03032-F08B9555; Mon, 18 May 2015 09:59:43 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-16.tower-27.messagelabs.com!1431943182!10798934!1
X-Originating-IP: [209.85.212.169]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 10061 invoked from network); 18 May 2015 09:59:42 -0000
Received: from mail-wi0-f169.google.com (HELO mail-wi0-f169.google.com)
	(209.85.212.169)
	by server-16.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	18 May 2015 09:59:42 -0000
Received: by wicmc15 with SMTP id mc15so85069411wic.1
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 18 May 2015 02:59:42 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=wrV4XttqhB1HEAHu+6kYN1Aa+kQr/V99u5REdY3fqMg=;
	b=TpyZuIeSrkTaHQqKzR9+JsZmMBROK8Max694TjayJu+tTS0VBr2YZGlA+j33wXJG8Z
	5yQpq1ju9pNMyf/nW9Sd2j4NCzgsrvcwdqDxbj4w292VcnO8FqphxI0P8Pm37nONaoEI
	p1eft5hVETa5ze06ppW5i7SVyEjBEDwBl6588WseejfqNiqGKZWlX4cGnCm9sN41lbpv
	vSoN3sRdFfiE2BRMuxZij8Nj4DIUw3Wm9s6GCtFxIW+HbbRuy2fpOb1+WkPUtJmc8GsY
	eUwTizSyBJLkYa81XDB2fHmQQuVgRWbMP87n2poDIJxOlUTFm7Y9NQX11WtccRcOZ+Sa
	xXDA==
X-Received: by 10.180.84.168 with SMTP id a8mr20754896wiz.40.1431943181878;
	Mon, 18 May 2015 02:59:41 -0700 (PDT)
Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com.
	[209.85.212.182]) by mx.google.com with ESMTPSA id
	fb3sm11626354wib.21.2015.05.18.02.59.40
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Mon, 18 May 2015 02:59:41 -0700 (PDT)
Received: by wizk4 with SMTP id k4so72168435wiz.1
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 18 May 2015 02:59:40 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.180.7.169 with SMTP id k9mr20659710wia.70.1431943180577;
	Mon, 18 May 2015 02:59:40 -0700 (PDT)
Received: by 10.28.226.193 with HTTP; Mon, 18 May 2015 02:59:40 -0700 (PDT)
In-Reply-To: <CAHwFrZc1upCx9mEDS8wTwwkqurKBK5rDgVDceMZR-1howYsTbw@mail.gmail.com>
References: <A60BE2F9-076A-4392-A5CB-E2748CCDA4A7@recoil.org>
	<CAHwFrZc1upCx9mEDS8wTwwkqurKBK5rDgVDceMZR-1howYsTbw@mail.gmail.com>
Date: Mon, 18 May 2015 10:59:40 +0100
Message-ID: <CAN2Hq06EzES9tZhjifzxyvNrLWmToS=MUefnFu2ESwVCkJ5N2w@mail.gmail.com>
From: Richard Mortier <richard.mortier@cl.cam.ac.uk>
To: Len Maxwell <len@lnmx.org>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>,
	Anil Madhavapeddy <anil@recoil.org>
Subject: Re: [MirageOS-devel] CuBox-i 4x4: another ARM box
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 14 May 2015 at 18:31, Len Maxwell <len@lnmx.org> wrote:
> What do I look for in an ARM to see if it could support Xen?  The Xen
> wiki [0] says that virtualization extensions are required (Cortex-A7,
> -A15, etc.).
>
> Cubox uses Freescale i.MX6Q (A9) -- which has TrustZone, but not the
> virtualization extensions?

That looks to be the case to me, yes.
Other Mirage backends than Xen might be usable though I guess.

-- 
Richard Mortier
richard.mortier@cl.cam.ac.uk

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon May 18 11:39:18 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 18 May 2015 11:39:18 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YuJO2-0000WZ-Nv; Mon, 18 May 2015 11:39:10 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1YuJO0-0000WA-Uk
	for mirageos-devel@lists.xenproject.org; Mon, 18 May 2015 11:39:09 +0000
Received: from [193.109.254.147] by server-3.bemta-14.messagelabs.com id
	BC/90-03032-F08B9555; Mon, 18 May 2015 09:59:43 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-16.tower-27.messagelabs.com!1431943182!10798934!1
X-Originating-IP: [209.85.212.169]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 10061 invoked from network); 18 May 2015 09:59:42 -0000
Received: from mail-wi0-f169.google.com (HELO mail-wi0-f169.google.com)
	(209.85.212.169)
	by server-16.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	18 May 2015 09:59:42 -0000
Received: by wicmc15 with SMTP id mc15so85069411wic.1
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 18 May 2015 02:59:42 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=wrV4XttqhB1HEAHu+6kYN1Aa+kQr/V99u5REdY3fqMg=;
	b=TpyZuIeSrkTaHQqKzR9+JsZmMBROK8Max694TjayJu+tTS0VBr2YZGlA+j33wXJG8Z
	5yQpq1ju9pNMyf/nW9Sd2j4NCzgsrvcwdqDxbj4w292VcnO8FqphxI0P8Pm37nONaoEI
	p1eft5hVETa5ze06ppW5i7SVyEjBEDwBl6588WseejfqNiqGKZWlX4cGnCm9sN41lbpv
	vSoN3sRdFfiE2BRMuxZij8Nj4DIUw3Wm9s6GCtFxIW+HbbRuy2fpOb1+WkPUtJmc8GsY
	eUwTizSyBJLkYa81XDB2fHmQQuVgRWbMP87n2poDIJxOlUTFm7Y9NQX11WtccRcOZ+Sa
	xXDA==
X-Received: by 10.180.84.168 with SMTP id a8mr20754896wiz.40.1431943181878;
	Mon, 18 May 2015 02:59:41 -0700 (PDT)
Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com.
	[209.85.212.182]) by mx.google.com with ESMTPSA id
	fb3sm11626354wib.21.2015.05.18.02.59.40
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Mon, 18 May 2015 02:59:41 -0700 (PDT)
Received: by wizk4 with SMTP id k4so72168435wiz.1
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 18 May 2015 02:59:40 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.180.7.169 with SMTP id k9mr20659710wia.70.1431943180577;
	Mon, 18 May 2015 02:59:40 -0700 (PDT)
Received: by 10.28.226.193 with HTTP; Mon, 18 May 2015 02:59:40 -0700 (PDT)
In-Reply-To: <CAHwFrZc1upCx9mEDS8wTwwkqurKBK5rDgVDceMZR-1howYsTbw@mail.gmail.com>
References: <A60BE2F9-076A-4392-A5CB-E2748CCDA4A7@recoil.org>
	<CAHwFrZc1upCx9mEDS8wTwwkqurKBK5rDgVDceMZR-1howYsTbw@mail.gmail.com>
Date: Mon, 18 May 2015 10:59:40 +0100
Message-ID: <CAN2Hq06EzES9tZhjifzxyvNrLWmToS=MUefnFu2ESwVCkJ5N2w@mail.gmail.com>
From: Richard Mortier <richard.mortier@cl.cam.ac.uk>
To: Len Maxwell <len@lnmx.org>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>,
	Anil Madhavapeddy <anil@recoil.org>
Subject: Re: [MirageOS-devel] CuBox-i 4x4: another ARM box
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 14 May 2015 at 18:31, Len Maxwell <len@lnmx.org> wrote:
> What do I look for in an ARM to see if it could support Xen?  The Xen
> wiki [0] says that virtualization extensions are required (Cortex-A7,
> -A15, etc.).
>
> Cubox uses Freescale i.MX6Q (A9) -- which has TrustZone, but not the
> virtualization extensions?

That looks to be the case to me, yes.
Other Mirage backends than Xen might be usable though I guess.

-- 
Richard Mortier
richard.mortier@cl.cam.ac.uk

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon May 18 11:41:30 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 18 May 2015 11:41:30 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YuJQI-0000t3-JQ; Mon, 18 May 2015 11:41:30 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <pszmk1@nottingham.ac.uk>) id 1YuJQH-0000sZ-Ub
	for mirageos-devel@lists.xenproject.org; Mon, 18 May 2015 11:41:30 +0000
Received: from [85.158.139.211] by server-8.bemta-5.messagelabs.com id
	66/BF-03747-1A7B9555; Mon, 18 May 2015 09:57:53 +0000
X-Env-Sender: pszmk1@nottingham.ac.uk
X-Msg-Ref: server-4.tower-206.messagelabs.com!1431943072!10873707!1
X-Originating-IP: [128.243.43.125]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 5698 invoked from network); 18 May 2015 09:57:52 -0000
Received: from uidappmx02.nottingham.ac.uk (HELO uidappmx02.nottingham.ac.uk)
	(128.243.43.125) by server-4.tower-206.messagelabs.com with SMTP;
	18 May 2015 09:57:52 -0000
Received: from uidappmx02.nottingham.ac.uk (localhost.localdomain [127.0.0.1])
	by localhost (Email Security Appliance) with SMTP id
	3FFAF31263D_559B7A0B for <mirageos-devel@lists.xenproject.org>;
	Mon, 18 May 2015 09:57:52 +0000 (GMT)
Received: from smtp3.nottingham.ac.uk (smtp3.nottingham.ac.uk [128.243.44.55])
	by uidappmx02.nottingham.ac.uk (Sophos Email Appliance) with ESMTP
	id A6B60311CF4_559B735F for <mirageos-devel@lists.xenproject.org>;
	Mon, 18 May 2015 09:56:05 +0000 (GMT)
Received: from cirrus.cs.nott.ac.uk ([128.243.23.185])
	by smtp3.nottingham.ac.uk with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128)
	(Exim 4.85) (envelope-from <pszmk1@nottingham.ac.uk>)
	id 1YuHmH-0001mm-FX
	for mirageos-devel@lists.xenproject.org; Mon, 18 May 2015 10:56:05 +0100
Message-ID: <5559B735.1030904@nottingham.ac.uk>
Date: Mon, 18 May 2015 10:56:05 +0100
From: Masoud Koleini <masoud.koleini@nottingham.ac.uk>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
X-Spam-Score: -1.0 (-)
Subject: [MirageOS-devel] CPU and memory utilisation
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi all,

Is the any way for a Mirage unikernel to get its CPU and memory utilisation?

Thanks.






This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please send it back to me, and immediately delete it. 

Please do not use, copy or disclose the information contained in this
message or in any attachment.  Any views or opinions expressed by the
author of this email do not necessarily reflect the views of the
University of Nottingham.

This message has been checked for viruses but the contents of an
attachment may still contain software viruses which could damage your
computer system, you are advised to perform your own checks. Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation.


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon May 18 11:41:30 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 18 May 2015 11:41:30 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YuJQI-0000t3-JQ; Mon, 18 May 2015 11:41:30 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <pszmk1@nottingham.ac.uk>) id 1YuJQH-0000sZ-Ub
	for mirageos-devel@lists.xenproject.org; Mon, 18 May 2015 11:41:30 +0000
Received: from [85.158.139.211] by server-8.bemta-5.messagelabs.com id
	66/BF-03747-1A7B9555; Mon, 18 May 2015 09:57:53 +0000
X-Env-Sender: pszmk1@nottingham.ac.uk
X-Msg-Ref: server-4.tower-206.messagelabs.com!1431943072!10873707!1
X-Originating-IP: [128.243.43.125]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 5698 invoked from network); 18 May 2015 09:57:52 -0000
Received: from uidappmx02.nottingham.ac.uk (HELO uidappmx02.nottingham.ac.uk)
	(128.243.43.125) by server-4.tower-206.messagelabs.com with SMTP;
	18 May 2015 09:57:52 -0000
Received: from uidappmx02.nottingham.ac.uk (localhost.localdomain [127.0.0.1])
	by localhost (Email Security Appliance) with SMTP id
	3FFAF31263D_559B7A0B for <mirageos-devel@lists.xenproject.org>;
	Mon, 18 May 2015 09:57:52 +0000 (GMT)
Received: from smtp3.nottingham.ac.uk (smtp3.nottingham.ac.uk [128.243.44.55])
	by uidappmx02.nottingham.ac.uk (Sophos Email Appliance) with ESMTP
	id A6B60311CF4_559B735F for <mirageos-devel@lists.xenproject.org>;
	Mon, 18 May 2015 09:56:05 +0000 (GMT)
Received: from cirrus.cs.nott.ac.uk ([128.243.23.185])
	by smtp3.nottingham.ac.uk with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128)
	(Exim 4.85) (envelope-from <pszmk1@nottingham.ac.uk>)
	id 1YuHmH-0001mm-FX
	for mirageos-devel@lists.xenproject.org; Mon, 18 May 2015 10:56:05 +0100
Message-ID: <5559B735.1030904@nottingham.ac.uk>
Date: Mon, 18 May 2015 10:56:05 +0100
From: Masoud Koleini <masoud.koleini@nottingham.ac.uk>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
X-Spam-Score: -1.0 (-)
Subject: [MirageOS-devel] CPU and memory utilisation
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi all,

Is the any way for a Mirage unikernel to get its CPU and memory utilisation?

Thanks.






This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please send it back to me, and immediately delete it. 

Please do not use, copy or disclose the information contained in this
message or in any attachment.  Any views or opinions expressed by the
author of this email do not necessarily reflect the views of the
University of Nottingham.

This message has been checked for viruses but the contents of an
attachment may still contain software viruses which could damage your
computer system, you are advised to perform your own checks. Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation.


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon May 18 12:30:52 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 18 May 2015 12:30:52 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YuKBw-0000cp-KG; Mon, 18 May 2015 12:30:44 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1YuKBv-0000cd-O6
	for mirageos-devel@lists.xenproject.org; Mon, 18 May 2015 12:30:43 +0000
Received: from [85.158.137.68] by server-9.bemta-3.messagelabs.com id
	8C/9C-03028-37BD9555; Mon, 18 May 2015 12:30:43 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-14.tower-31.messagelabs.com!1431952242!9054874!1
X-Originating-IP: [74.125.82.46]
X-SpamReason: No, hits=0.9 required=7.0 tests=BODY_RANDOM_LONG,
	HTML_30_40,HTML_MESSAGE,RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 4679 invoked from network); 18 May 2015 12:30:42 -0000
Received: from mail-wg0-f46.google.com (HELO mail-wg0-f46.google.com)
	(74.125.82.46)
	by server-14.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	18 May 2015 12:30:42 -0000
Received: by wgbgq6 with SMTP id gq6so12282116wgb.3
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 18 May 2015 05:30:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=RMZdk7G/paWbvuX0i4u1LaY4FX1U2sNmDXX7ZEcGk/I=;
	b=cv7nE5D53TEd0xLDguRpZKC6oKyvVLpcW6dxrzxWbO4D3Wz/j0Ih+AScg0ppkAF4Go
	0VTUH/xTYhuAtf2I2YTLAsEW/LHQwF86Wf48tnt8Rrxil8VxVL1lniXbdbL+oJVsnb2L
	VkAWaSRnAkuWkA/a0aJ8Jrj9U5RVzSuFKIGpj/lXLP7GEuNKHp3p+1nooL4i9JHLmr4b
	EcmSfsWZ9/vopYNEI7Hp3GvSQlzpOnZ6w1HjsUDBnQ4qcYETYDTwqXORgLqHYfGGX7qA
	asH/jc6Q8jre/7tyMNyzsVE7BPmPPwSyk0IClGbP0VOgjB1BdRNZW60fmCwm9BlWjCDp
	2FLQ==
MIME-Version: 1.0
X-Received: by 10.180.20.115 with SMTP id m19mr5628410wie.11.1431952241675;
	Mon, 18 May 2015 05:30:41 -0700 (PDT)
Received: by 10.28.226.193 with HTTP; Mon, 18 May 2015 05:30:41 -0700 (PDT)
Received: by 10.28.226.193 with HTTP; Mon, 18 May 2015 05:30:41 -0700 (PDT)
In-Reply-To: <5559B735.1030904@nottingham.ac.uk>
References: <5559B735.1030904@nottingham.ac.uk>
Date: Mon, 18 May 2015 13:30:41 +0100
X-Google-Sender-Auth: M88ShLT0dTdwxu8DL7cqUWLYgrM
Message-ID: <CAN2Hq05z1sACGKzPDSFuHMdRYjpzhVJrvfA=5j6zrr3nDWscCg@mail.gmail.com>
From: Richard Mortier <mort@cantab.net>
To: Masoud Koleini <masoud.koleini@nottingham.ac.uk>
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] CPU and memory utilisation
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============2421000574089740113=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============2421000574089740113==
Content-Type: multipart/alternative; boundary=14dae9cc97c6b3574c05165a5c87

--14dae9cc97c6b3574c05165a5c87
Content-Type: text/plain; charset=ISO-8859-1

Check list archives?

Istr Memory was available via GC APIs, think Thomas posted about recently.

Someone followed up to that re CPU, can't recall answer.
On 18 May 2015 12:42 pm, "Masoud Koleini" <masoud.koleini@nottingham.ac.uk>
wrote:

> Hi all,
>
> Is the any way for a Mirage unikernel to get its CPU and memory
> utilisation?
>
> Thanks.
>
>
>
>
>
>
> This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this
> message in error, please send it back to me, and immediately delete it.
> Please do not use, copy or disclose the information contained in this
> message or in any attachment.  Any views or opinions expressed by the
> author of this email do not necessarily reflect the views of the
> University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your
> computer system, you are advised to perform your own checks. Email
> communications with the University of Nottingham may be monitored as
> permitted by UK legislation.
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>

--14dae9cc97c6b3574c05165a5c87
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">Check list archives?</p>
<p dir=3D"ltr">Istr Memory was available via GC APIs, think Thomas posted a=
bout recently.</p>
<p dir=3D"ltr">Someone followed up to that re CPU, can&#39;t recall answer.=
</p>
<div class=3D"gmail_quote">On 18 May 2015 12:42 pm, &quot;Masoud Koleini&qu=
ot; &lt;<a href=3D"mailto:masoud.koleini@nottingham.ac.uk">masoud.koleini@n=
ottingham.ac.uk</a>&gt; wrote:<br type=3D"attribution"><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex">Hi all,<br>
<br>
Is the any way for a Mirage unikernel to get its CPU and memory utilisation=
?<br>
<br>
Thanks.<br>
<br>
<br>
<br>
<br>
<br>
<br>
This message and any attachment are intended solely for the addressee<br>
and may contain confidential information. If you have received this<br>
message in error, please send it back to me, and immediately delete it. <br=
>
Please do not use, copy or disclose the information contained in this<br>
message or in any attachment.=A0 Any views or opinions expressed by the<br>
author of this email do not necessarily reflect the views of the<br>
University of Nottingham.<br>
<br>
This message has been checked for viruses but the contents of an<br>
attachment may still contain software viruses which could damage your<br>
computer system, you are advised to perform your own checks. Email<br>
communications with the University of Nottingham may be monitored as<br>
permitted by UK legislation.<br>
<br>
<br>
_______________________________________________<br>
MirageOS-devel mailing list<br>
<a href=3D"mailto:MirageOS-devel@lists.xenproject.org" target=3D"_blank">Mi=
rageOS-devel@lists.xenproject.org</a><br>
<a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-de=
vel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/listinfo=
/mirageos-devel</a><br>
</blockquote></div>

--14dae9cc97c6b3574c05165a5c87--


--===============2421000574089740113==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============2421000574089740113==--


From mirageos-devel-bounces@lists.xenproject.org Mon May 18 12:30:52 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 18 May 2015 12:30:52 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YuKBw-0000cp-KG; Mon, 18 May 2015 12:30:44 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1YuKBv-0000cd-O6
	for mirageos-devel@lists.xenproject.org; Mon, 18 May 2015 12:30:43 +0000
Received: from [85.158.137.68] by server-9.bemta-3.messagelabs.com id
	8C/9C-03028-37BD9555; Mon, 18 May 2015 12:30:43 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-14.tower-31.messagelabs.com!1431952242!9054874!1
X-Originating-IP: [74.125.82.46]
X-SpamReason: No, hits=0.9 required=7.0 tests=BODY_RANDOM_LONG,
	HTML_30_40,HTML_MESSAGE,RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 4679 invoked from network); 18 May 2015 12:30:42 -0000
Received: from mail-wg0-f46.google.com (HELO mail-wg0-f46.google.com)
	(74.125.82.46)
	by server-14.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	18 May 2015 12:30:42 -0000
Received: by wgbgq6 with SMTP id gq6so12282116wgb.3
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 18 May 2015 05:30:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=RMZdk7G/paWbvuX0i4u1LaY4FX1U2sNmDXX7ZEcGk/I=;
	b=cv7nE5D53TEd0xLDguRpZKC6oKyvVLpcW6dxrzxWbO4D3Wz/j0Ih+AScg0ppkAF4Go
	0VTUH/xTYhuAtf2I2YTLAsEW/LHQwF86Wf48tnt8Rrxil8VxVL1lniXbdbL+oJVsnb2L
	VkAWaSRnAkuWkA/a0aJ8Jrj9U5RVzSuFKIGpj/lXLP7GEuNKHp3p+1nooL4i9JHLmr4b
	EcmSfsWZ9/vopYNEI7Hp3GvSQlzpOnZ6w1HjsUDBnQ4qcYETYDTwqXORgLqHYfGGX7qA
	asH/jc6Q8jre/7tyMNyzsVE7BPmPPwSyk0IClGbP0VOgjB1BdRNZW60fmCwm9BlWjCDp
	2FLQ==
MIME-Version: 1.0
X-Received: by 10.180.20.115 with SMTP id m19mr5628410wie.11.1431952241675;
	Mon, 18 May 2015 05:30:41 -0700 (PDT)
Received: by 10.28.226.193 with HTTP; Mon, 18 May 2015 05:30:41 -0700 (PDT)
Received: by 10.28.226.193 with HTTP; Mon, 18 May 2015 05:30:41 -0700 (PDT)
In-Reply-To: <5559B735.1030904@nottingham.ac.uk>
References: <5559B735.1030904@nottingham.ac.uk>
Date: Mon, 18 May 2015 13:30:41 +0100
X-Google-Sender-Auth: M88ShLT0dTdwxu8DL7cqUWLYgrM
Message-ID: <CAN2Hq05z1sACGKzPDSFuHMdRYjpzhVJrvfA=5j6zrr3nDWscCg@mail.gmail.com>
From: Richard Mortier <mort@cantab.net>
To: Masoud Koleini <masoud.koleini@nottingham.ac.uk>
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] CPU and memory utilisation
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============2421000574089740113=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============2421000574089740113==
Content-Type: multipart/alternative; boundary=14dae9cc97c6b3574c05165a5c87

--14dae9cc97c6b3574c05165a5c87
Content-Type: text/plain; charset=ISO-8859-1

Check list archives?

Istr Memory was available via GC APIs, think Thomas posted about recently.

Someone followed up to that re CPU, can't recall answer.
On 18 May 2015 12:42 pm, "Masoud Koleini" <masoud.koleini@nottingham.ac.uk>
wrote:

> Hi all,
>
> Is the any way for a Mirage unikernel to get its CPU and memory
> utilisation?
>
> Thanks.
>
>
>
>
>
>
> This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this
> message in error, please send it back to me, and immediately delete it.
> Please do not use, copy or disclose the information contained in this
> message or in any attachment.  Any views or opinions expressed by the
> author of this email do not necessarily reflect the views of the
> University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your
> computer system, you are advised to perform your own checks. Email
> communications with the University of Nottingham may be monitored as
> permitted by UK legislation.
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>

--14dae9cc97c6b3574c05165a5c87
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">Check list archives?</p>
<p dir=3D"ltr">Istr Memory was available via GC APIs, think Thomas posted a=
bout recently.</p>
<p dir=3D"ltr">Someone followed up to that re CPU, can&#39;t recall answer.=
</p>
<div class=3D"gmail_quote">On 18 May 2015 12:42 pm, &quot;Masoud Koleini&qu=
ot; &lt;<a href=3D"mailto:masoud.koleini@nottingham.ac.uk">masoud.koleini@n=
ottingham.ac.uk</a>&gt; wrote:<br type=3D"attribution"><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex">Hi all,<br>
<br>
Is the any way for a Mirage unikernel to get its CPU and memory utilisation=
?<br>
<br>
Thanks.<br>
<br>
<br>
<br>
<br>
<br>
<br>
This message and any attachment are intended solely for the addressee<br>
and may contain confidential information. If you have received this<br>
message in error, please send it back to me, and immediately delete it. <br=
>
Please do not use, copy or disclose the information contained in this<br>
message or in any attachment.=A0 Any views or opinions expressed by the<br>
author of this email do not necessarily reflect the views of the<br>
University of Nottingham.<br>
<br>
This message has been checked for viruses but the contents of an<br>
attachment may still contain software viruses which could damage your<br>
computer system, you are advised to perform your own checks. Email<br>
communications with the University of Nottingham may be monitored as<br>
permitted by UK legislation.<br>
<br>
<br>
_______________________________________________<br>
MirageOS-devel mailing list<br>
<a href=3D"mailto:MirageOS-devel@lists.xenproject.org" target=3D"_blank">Mi=
rageOS-devel@lists.xenproject.org</a><br>
<a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-de=
vel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/listinfo=
/mirageos-devel</a><br>
</blockquote></div>

--14dae9cc97c6b3574c05165a5c87--


--===============2421000574089740113==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============2421000574089740113==--


From mirageos-devel-bounces@lists.xenproject.org Mon May 18 12:49:33 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 18 May 2015 12:49:33 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YuKU8-0004NK-Mz; Mon, 18 May 2015 12:49:32 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mindy@somerandomidiot.com>) id 1YuKU7-0004N5-Tr
	for mirageos-devel@lists.xenproject.org; Mon, 18 May 2015 12:49:32 +0000
Received: from [193.109.254.147] by server-4.bemta-14.messagelabs.com id
	23/83-03245-BDFD9555; Mon, 18 May 2015 12:49:31 +0000
X-Env-Sender: mindy@somerandomidiot.com
X-Msg-Ref: server-7.tower-27.messagelabs.com!1431953369!18450370!1
X-Originating-IP: [217.70.183.198]
X-SpamReason: No, hits=0.6 required=7.0 tests=BODY_RANDOM_LONG,
	HTML_50_60,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26873 invoked from network); 18 May 2015 12:49:30 -0000
Received: from relay6-d.mail.gandi.net (HELO relay6-d.mail.gandi.net)
	(217.70.183.198)
	by server-7.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 18 May 2015 12:49:30 -0000
Received: from mfilter16-d.gandi.net (mfilter16-d.gandi.net [217.70.178.144])
	by relay6-d.mail.gandi.net (Postfix) with ESMTP id BEE9BFB93D
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 18 May 2015 14:49:29 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mfilter16-d.gandi.net
Received: from relay6-d.mail.gandi.net ([217.70.183.198])
	by mfilter16-d.gandi.net (mfilter16-d.gandi.net [10.0.15.180])
	(amavisd-new, port 10024)
	with ESMTP id C86Xb+CnmKBg for <mirageos-devel@lists.xenproject.org>;
	Mon, 18 May 2015 14:49:28 +0200 (CEST)
X-Originating-IP: 131.111.184.18
Received: from [172.17.29.174] (global-1-18.nat.csx.cam.ac.uk [131.111.184.18])
	(Authenticated sender: guybrush@somerandomidiot.com)
	by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id F35C2FB951
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 18 May 2015 14:49:27 +0200 (CEST)
Message-ID: <5559DF8D.6060505@somerandomidiot.com>
Date: Mon, 18 May 2015 13:48:13 +0100
From: Mindy <mindy@somerandomidiot.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: mirageos-devel@lists.xenproject.org
References: <5559B735.1030904@nottingham.ac.uk>
	<CAN2Hq05z1sACGKzPDSFuHMdRYjpzhVJrvfA=5j6zrr3nDWscCg@mail.gmail.com>
In-Reply-To: <CAN2Hq05z1sACGKzPDSFuHMdRYjpzhVJrvfA=5j6zrr3nDWscCg@mail.gmail.com>
Subject: Re: [MirageOS-devel] CPU and memory utilisation
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0346478531632372078=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

This is a multi-part message in MIME format.
--===============0346478531632372078==
Content-Type: multipart/alternative;
 boundary="------------090706010107080206040207"

This is a multi-part message in MIME format.
--------------090706010107080206040207
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit

Thomas Gazagnaire wrote a module for serving memory usage stats on 
mirage-www; more info is available from Gc than is shown here:

https://github.com/mirage/mirage-www/blob/master/src/stats.ml

On 05/18/2015 01:30 PM, Richard Mortier wrote:
>
> Check list archives?
>
> Istr Memory was available via GC APIs, think Thomas posted about recently.
>
> Someone followed up to that re CPU, can't recall answer.
>
> On 18 May 2015 12:42 pm, "Masoud Koleini" 
> <masoud.koleini@nottingham.ac.uk 
> <mailto:masoud.koleini@nottingham.ac.uk>> wrote:
>
>     Hi all,
>
>     Is the any way for a Mirage unikernel to get its CPU and memory
>     utilisation?
>
>     Thanks.
>
>
>
>
>
>
>     This message and any attachment are intended solely for the addressee
>     and may contain confidential information. If you have received this
>     message in error, please send it back to me, and immediately
>     delete it.
>     Please do not use, copy or disclose the information contained in this
>     message or in any attachment.  Any views or opinions expressed by the
>     author of this email do not necessarily reflect the views of the
>     University of Nottingham.
>
>     This message has been checked for viruses but the contents of an
>     attachment may still contain software viruses which could damage your
>     computer system, you are advised to perform your own checks. Email
>     communications with the University of Nottingham may be monitored as
>     permitted by UK legislation.
>
>
>     _______________________________________________
>     MirageOS-devel mailing list
>     MirageOS-devel@lists.xenproject.org
>     <mailto:MirageOS-devel@lists.xenproject.org>
>     http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


--------------090706010107080206040207
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta content=3D"text/html; charset=3Dwindows-1252"
      http-equiv=3D"Content-Type">
  </head>
  <body text=3D"#000000" bgcolor=3D"#FFFFFF">
    Thomas Gazagnaire wrote a module for serving memory usage stats on
    mirage-www; more info is available from Gc than is shown here:<br>
    <br>
    <a class=3D"moz-txt-link-freetext" href=3D"https://github.com/mirage/=
mirage-www/blob/master/src/stats.ml">https://github.com/mirage/mirage-www=
/blob/master/src/stats.ml</a><br>
    <br>
    <div class=3D"moz-cite-prefix">On 05/18/2015 01:30 PM, Richard Mortie=
r
      wrote:<br>
    </div>
    <blockquote
cite=3D"mid:CAN2Hq05z1sACGKzPDSFuHMdRYjpzhVJrvfA=3D5j6zrr3nDWscCg@mail.gm=
ail.com"
      type=3D"cite">
      <p dir=3D"ltr">Check list archives?</p>
      <p dir=3D"ltr">Istr Memory was available via GC APIs, think Thomas
        posted about recently.</p>
      <p dir=3D"ltr">Someone followed up to that re CPU, can't recall
        answer.</p>
      <div class=3D"gmail_quote">On 18 May 2015 12:42 pm, "Masoud Koleini=
"
        &lt;<a moz-do-not-send=3D"true"
          href=3D"mailto:masoud.koleini@nottingham.ac.uk">masoud.koleini@=
nottingham.ac.uk</a>&gt;
        wrote:<br type=3D"attribution">
        <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
          <br>
          Is the any way for a Mirage unikernel to get its CPU and
          memory utilisation?<br>
          <br>
          Thanks.<br>
          <br>
          <br>
          <br>
          <br>
          <br>
          <br>
          This message and any attachment are intended solely for the
          addressee<br>
          and may contain confidential information. If you have received
          this<br>
          message in error, please send it back to me, and immediately
          delete it. <br>
          Please do not use, copy or disclose the information contained
          in this<br>
          message or in any attachment.=A0 Any views or opinions expresse=
d
          by the<br>
          author of this email do not necessarily reflect the views of
          the<br>
          University of Nottingham.<br>
          <br>
          This message has been checked for viruses but the contents of
          an<br>
          attachment may still contain software viruses which could
          damage your<br>
          computer system, you are advised to perform your own checks.
          Email<br>
          communications with the University of Nottingham may be
          monitored as<br>
          permitted by UK legislation.<br>
          <br>
          <br>
          _______________________________________________<br>
          MirageOS-devel mailing list<br>
          <a moz-do-not-send=3D"true"
            href=3D"mailto:MirageOS-devel@lists.xenproject.org"
            target=3D"_blank">MirageOS-devel@lists.xenproject.org</a><br>
          <a moz-do-not-send=3D"true"
href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-dev=
el"
            target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman=
/listinfo/mirageos-devel</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset class=3D"mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap=3D"">_______________________________________________
MirageOS-devel mailing list
<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:MirageOS-devel@lists=
.xenproject.org">MirageOS-devel@lists.xenproject.org</a>
<a class=3D"moz-txt-link-freetext" href=3D"http://lists.xenproject.org/cg=
i-bin/mailman/listinfo/mirageos-devel">http://lists.xenproject.org/cgi-bi=
n/mailman/listinfo/mirageos-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------090706010107080206040207--


--===============0346478531632372078==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============0346478531632372078==--


From mirageos-devel-bounces@lists.xenproject.org Mon May 18 12:49:33 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 18 May 2015 12:49:33 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YuKU8-0004NK-Mz; Mon, 18 May 2015 12:49:32 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mindy@somerandomidiot.com>) id 1YuKU7-0004N5-Tr
	for mirageos-devel@lists.xenproject.org; Mon, 18 May 2015 12:49:32 +0000
Received: from [193.109.254.147] by server-4.bemta-14.messagelabs.com id
	23/83-03245-BDFD9555; Mon, 18 May 2015 12:49:31 +0000
X-Env-Sender: mindy@somerandomidiot.com
X-Msg-Ref: server-7.tower-27.messagelabs.com!1431953369!18450370!1
X-Originating-IP: [217.70.183.198]
X-SpamReason: No, hits=0.6 required=7.0 tests=BODY_RANDOM_LONG,
	HTML_50_60,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26873 invoked from network); 18 May 2015 12:49:30 -0000
Received: from relay6-d.mail.gandi.net (HELO relay6-d.mail.gandi.net)
	(217.70.183.198)
	by server-7.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 18 May 2015 12:49:30 -0000
Received: from mfilter16-d.gandi.net (mfilter16-d.gandi.net [217.70.178.144])
	by relay6-d.mail.gandi.net (Postfix) with ESMTP id BEE9BFB93D
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 18 May 2015 14:49:29 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mfilter16-d.gandi.net
Received: from relay6-d.mail.gandi.net ([217.70.183.198])
	by mfilter16-d.gandi.net (mfilter16-d.gandi.net [10.0.15.180])
	(amavisd-new, port 10024)
	with ESMTP id C86Xb+CnmKBg for <mirageos-devel@lists.xenproject.org>;
	Mon, 18 May 2015 14:49:28 +0200 (CEST)
X-Originating-IP: 131.111.184.18
Received: from [172.17.29.174] (global-1-18.nat.csx.cam.ac.uk [131.111.184.18])
	(Authenticated sender: guybrush@somerandomidiot.com)
	by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id F35C2FB951
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 18 May 2015 14:49:27 +0200 (CEST)
Message-ID: <5559DF8D.6060505@somerandomidiot.com>
Date: Mon, 18 May 2015 13:48:13 +0100
From: Mindy <mindy@somerandomidiot.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: mirageos-devel@lists.xenproject.org
References: <5559B735.1030904@nottingham.ac.uk>
	<CAN2Hq05z1sACGKzPDSFuHMdRYjpzhVJrvfA=5j6zrr3nDWscCg@mail.gmail.com>
In-Reply-To: <CAN2Hq05z1sACGKzPDSFuHMdRYjpzhVJrvfA=5j6zrr3nDWscCg@mail.gmail.com>
Subject: Re: [MirageOS-devel] CPU and memory utilisation
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0346478531632372078=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

This is a multi-part message in MIME format.
--===============0346478531632372078==
Content-Type: multipart/alternative;
 boundary="------------090706010107080206040207"

This is a multi-part message in MIME format.
--------------090706010107080206040207
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit

Thomas Gazagnaire wrote a module for serving memory usage stats on 
mirage-www; more info is available from Gc than is shown here:

https://github.com/mirage/mirage-www/blob/master/src/stats.ml

On 05/18/2015 01:30 PM, Richard Mortier wrote:
>
> Check list archives?
>
> Istr Memory was available via GC APIs, think Thomas posted about recently.
>
> Someone followed up to that re CPU, can't recall answer.
>
> On 18 May 2015 12:42 pm, "Masoud Koleini" 
> <masoud.koleini@nottingham.ac.uk 
> <mailto:masoud.koleini@nottingham.ac.uk>> wrote:
>
>     Hi all,
>
>     Is the any way for a Mirage unikernel to get its CPU and memory
>     utilisation?
>
>     Thanks.
>
>
>
>
>
>
>     This message and any attachment are intended solely for the addressee
>     and may contain confidential information. If you have received this
>     message in error, please send it back to me, and immediately
>     delete it.
>     Please do not use, copy or disclose the information contained in this
>     message or in any attachment.  Any views or opinions expressed by the
>     author of this email do not necessarily reflect the views of the
>     University of Nottingham.
>
>     This message has been checked for viruses but the contents of an
>     attachment may still contain software viruses which could damage your
>     computer system, you are advised to perform your own checks. Email
>     communications with the University of Nottingham may be monitored as
>     permitted by UK legislation.
>
>
>     _______________________________________________
>     MirageOS-devel mailing list
>     MirageOS-devel@lists.xenproject.org
>     <mailto:MirageOS-devel@lists.xenproject.org>
>     http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


--------------090706010107080206040207
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta content=3D"text/html; charset=3Dwindows-1252"
      http-equiv=3D"Content-Type">
  </head>
  <body text=3D"#000000" bgcolor=3D"#FFFFFF">
    Thomas Gazagnaire wrote a module for serving memory usage stats on
    mirage-www; more info is available from Gc than is shown here:<br>
    <br>
    <a class=3D"moz-txt-link-freetext" href=3D"https://github.com/mirage/=
mirage-www/blob/master/src/stats.ml">https://github.com/mirage/mirage-www=
/blob/master/src/stats.ml</a><br>
    <br>
    <div class=3D"moz-cite-prefix">On 05/18/2015 01:30 PM, Richard Mortie=
r
      wrote:<br>
    </div>
    <blockquote
cite=3D"mid:CAN2Hq05z1sACGKzPDSFuHMdRYjpzhVJrvfA=3D5j6zrr3nDWscCg@mail.gm=
ail.com"
      type=3D"cite">
      <p dir=3D"ltr">Check list archives?</p>
      <p dir=3D"ltr">Istr Memory was available via GC APIs, think Thomas
        posted about recently.</p>
      <p dir=3D"ltr">Someone followed up to that re CPU, can't recall
        answer.</p>
      <div class=3D"gmail_quote">On 18 May 2015 12:42 pm, "Masoud Koleini=
"
        &lt;<a moz-do-not-send=3D"true"
          href=3D"mailto:masoud.koleini@nottingham.ac.uk">masoud.koleini@=
nottingham.ac.uk</a>&gt;
        wrote:<br type=3D"attribution">
        <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
          <br>
          Is the any way for a Mirage unikernel to get its CPU and
          memory utilisation?<br>
          <br>
          Thanks.<br>
          <br>
          <br>
          <br>
          <br>
          <br>
          <br>
          This message and any attachment are intended solely for the
          addressee<br>
          and may contain confidential information. If you have received
          this<br>
          message in error, please send it back to me, and immediately
          delete it. <br>
          Please do not use, copy or disclose the information contained
          in this<br>
          message or in any attachment.=A0 Any views or opinions expresse=
d
          by the<br>
          author of this email do not necessarily reflect the views of
          the<br>
          University of Nottingham.<br>
          <br>
          This message has been checked for viruses but the contents of
          an<br>
          attachment may still contain software viruses which could
          damage your<br>
          computer system, you are advised to perform your own checks.
          Email<br>
          communications with the University of Nottingham may be
          monitored as<br>
          permitted by UK legislation.<br>
          <br>
          <br>
          _______________________________________________<br>
          MirageOS-devel mailing list<br>
          <a moz-do-not-send=3D"true"
            href=3D"mailto:MirageOS-devel@lists.xenproject.org"
            target=3D"_blank">MirageOS-devel@lists.xenproject.org</a><br>
          <a moz-do-not-send=3D"true"
href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-dev=
el"
            target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman=
/listinfo/mirageos-devel</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset class=3D"mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap=3D"">_______________________________________________
MirageOS-devel mailing list
<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:MirageOS-devel@lists=
.xenproject.org">MirageOS-devel@lists.xenproject.org</a>
<a class=3D"moz-txt-link-freetext" href=3D"http://lists.xenproject.org/cg=
i-bin/mailman/listinfo/mirageos-devel">http://lists.xenproject.org/cgi-bi=
n/mailman/listinfo/mirageos-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------090706010107080206040207--


--===============0346478531632372078==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============0346478531632372078==--


From mirageos-devel-bounces@lists.xenproject.org Mon May 18 18:47:39 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 18 May 2015 18:47:39 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YuQ4a-00027N-Iw; Mon, 18 May 2015 18:47:32 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YuQ4Z-00027I-4v
	for mirageos-devel@lists.xenproject.org; Mon, 18 May 2015 18:47:31 +0000
Received: from [85.158.137.68] by server-11.bemta-3.messagelabs.com id
	B4/C4-17942-2C33A555; Mon, 18 May 2015 18:47:30 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-2.tower-31.messagelabs.com!1431974849!11623221!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.7 required=7.0 tests=BODY_RANDOM_LONG, RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 4342 invoked from network); 18 May 2015 18:47:29 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-2.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 18 May 2015 18:47:29 -0000
Received: from [192.168.1.39] (cpc7-cmbg14-2-0-cust238.5-4.cable.virginm.net
	[86.30.244.239]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 9a36e7d7;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Mon, 18 May 2015 19:47:27 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <5559B735.1030904@nottingham.ac.uk>
Date: Mon, 18 May 2015 19:47:26 +0100
Message-Id: <63197D9A-0C0E-4BF9-AC0D-E866963D7604@recoil.org>
References: <5559B735.1030904@nottingham.ac.uk>
To: Masoud Koleini <masoud.koleini@nottingham.ac.uk>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] CPU and memory utilisation
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi Masoud,

The CPU utilisation is most easily done from the outside by using "xentop"
or similar tools to gather the virtual machine utilisation.  The unikernel
will just be sitting blocked when there's no IO, so this is accurate.

Memory can be obtained via the OCaml GC module; Mindy's reply has a link
to the easy way to use it to generate HTML.

A more subtle question: are you trying to get this information from *within*
the unikernel to alter its behaviour in response to load?  In that case you'll
need a slightly more sophisticated way to measure CPU usage from within the
VM.

-anil

> On 18 May 2015, at 10:56, Masoud Koleini <masoud.koleini@nottingham.ac.uk> wrote:
> 
> Hi all,
> 
> Is the any way for a Mirage unikernel to get its CPU and memory utilisation?
> 
> Thanks.
> 
> 
> 
> 
> 
> 
> This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this
> message in error, please send it back to me, and immediately delete it. 
> Please do not use, copy or disclose the information contained in this
> message or in any attachment.  Any views or opinions expressed by the
> author of this email do not necessarily reflect the views of the
> University of Nottingham.
> 
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your
> computer system, you are advised to perform your own checks. Email
> communications with the University of Nottingham may be monitored as
> permitted by UK legislation.
> 
> 
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> 


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon May 18 18:47:39 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 18 May 2015 18:47:39 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YuQ4a-00027N-Iw; Mon, 18 May 2015 18:47:32 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YuQ4Z-00027I-4v
	for mirageos-devel@lists.xenproject.org; Mon, 18 May 2015 18:47:31 +0000
Received: from [85.158.137.68] by server-11.bemta-3.messagelabs.com id
	B4/C4-17942-2C33A555; Mon, 18 May 2015 18:47:30 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-2.tower-31.messagelabs.com!1431974849!11623221!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.7 required=7.0 tests=BODY_RANDOM_LONG, RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 4342 invoked from network); 18 May 2015 18:47:29 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-2.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 18 May 2015 18:47:29 -0000
Received: from [192.168.1.39] (cpc7-cmbg14-2-0-cust238.5-4.cable.virginm.net
	[86.30.244.239]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 9a36e7d7;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Mon, 18 May 2015 19:47:27 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <5559B735.1030904@nottingham.ac.uk>
Date: Mon, 18 May 2015 19:47:26 +0100
Message-Id: <63197D9A-0C0E-4BF9-AC0D-E866963D7604@recoil.org>
References: <5559B735.1030904@nottingham.ac.uk>
To: Masoud Koleini <masoud.koleini@nottingham.ac.uk>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] CPU and memory utilisation
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi Masoud,

The CPU utilisation is most easily done from the outside by using "xentop"
or similar tools to gather the virtual machine utilisation.  The unikernel
will just be sitting blocked when there's no IO, so this is accurate.

Memory can be obtained via the OCaml GC module; Mindy's reply has a link
to the easy way to use it to generate HTML.

A more subtle question: are you trying to get this information from *within*
the unikernel to alter its behaviour in response to load?  In that case you'll
need a slightly more sophisticated way to measure CPU usage from within the
VM.

-anil

> On 18 May 2015, at 10:56, Masoud Koleini <masoud.koleini@nottingham.ac.uk> wrote:
> 
> Hi all,
> 
> Is the any way for a Mirage unikernel to get its CPU and memory utilisation?
> 
> Thanks.
> 
> 
> 
> 
> 
> 
> This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this
> message in error, please send it back to me, and immediately delete it. 
> Please do not use, copy or disclose the information contained in this
> message or in any attachment.  Any views or opinions expressed by the
> author of this email do not necessarily reflect the views of the
> University of Nottingham.
> 
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your
> computer system, you are advised to perform your own checks. Email
> communications with the University of Nottingham may be monitored as
> permitted by UK legislation.
> 
> 
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> 


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 04:48:43 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 04:48:43 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YuZSH-00081Z-SZ; Tue, 19 May 2015 04:48:37 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <magnus@therning.org>) id 1YuZSG-00081U-P6
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 04:48:36 +0000
Received: from [85.158.137.68] by server-12.bemta-3.messagelabs.com id
	DE/C9-02928-3A0CA555; Tue, 19 May 2015 04:48:35 +0000
X-Env-Sender: magnus@therning.org
X-Msg-Ref: server-12.tower-31.messagelabs.com!1432010914!11648516!1
X-Originating-IP: [209.85.215.49]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 3417 invoked from network); 19 May 2015 04:48:35 -0000
Received: from mail-la0-f49.google.com (HELO mail-la0-f49.google.com)
	(209.85.215.49)
	by server-12.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	19 May 2015 04:48:35 -0000
Received: by laat2 with SMTP id t2so5290386laa.1
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 18 May 2015 21:48:34 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:date:from:to:cc:subject:message-id:references
	:mime-version:content-type:content-disposition:in-reply-to
	:user-agent;
	bh=ut4fBdZqDTOxthjeFCpDMUdlp9G11m/8bpeedQv9wGk=;
	b=BP6UMdwH7W6d8jVHHO+rXmE/I24/9sEm/n8uOzixNyslGy/OtYj8/jzyhQrULL5+VH
	ASCbx6UmCg98oaeoeUwlP7q9/USaV085j3fhyUYujUcH8ch8Gd6uDsvXknGopOsBY+hF
	pJjaLVaqw83Q/5uu8ivgWKAL4c+zTyA0SqMoQEyY2j2RqT5NRNafegI9Ioj3c3SbhDxc
	iTLxY/VpX0gkRzj9iyv20khQMVdiHaLjIg9t9VO0kNWmLL4S1EaffsGJXVosZe1roXRC
	zwR5lFlWdLQKF3VWXLwsbzst3VrWtX/KMHjS+P/vtWVibpynHMTuu98axMvfzxFNmWZT
	vveA==
X-Gm-Message-State: ALoCoQk4V9IyNSaOR7HJb/yLmDNSCOXSNhCi5UZ8g78VLLPmu66seIJrWFgpn+8vuR38OIlExqCe
X-Received: by 10.152.2.227 with SMTP id 3mr19959433lax.73.1432010914391;
	Mon, 18 May 2015 21:48:34 -0700 (PDT)
Received: from tatooine (c83-248-178-110.bredband.comhem.se. [83.248.178.110])
	by mx.google.com with ESMTPSA id
	a7sm3232906lbc.48.2015.05.18.21.48.32
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Mon, 18 May 2015 21:48:33 -0700 (PDT)
Date: Tue, 19 May 2015 06:48:30 +0200
From: Magnus Therning <magnus@therning.org>
To: Anil Madhavapeddy <anil@recoil.org>
Message-ID: <20150519044830.GA9486@tatooine>
References: <20150409201853.GA11002@tatooine> <20150410042935.GA27321@tatooine>
	<1428765230.2042101.252086709.37214F79@webmail.messagingengine.com>
	<F19019E3-33EB-4FAA-9A76-141DA2F27A6E@recoil.org>
	<20150412085114.GA2554@tatooine>
	<183B92E9-952B-4C69-92F9-F05E0597E179@recoil.org>
MIME-Version: 1.0
In-Reply-To: <183B92E9-952B-4C69-92F9-F05E0597E179@recoil.org>
User-Agent: Mutt/1.5.23 (2014-03-12)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] More troubles with tcp on ARM
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1337149871906104689=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============1337149871906104689==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="a8Wt8u1KmwUX3Y2C"
Content-Disposition: inline


--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Apr 12, 2015 at 05:01:18PM +0800, Anil Madhavapeddy wrote:
> On 12 Apr 2015, at 16:51, Magnus Therning <magnus@therning.org> wrote:
> >=20
> > On Sat, Apr 11, 2015 at 11:33:40PM +0800, Anil Madhavapeddy wrote:
> >> On 11 Apr 2015, at 23:13, Magnus Skjegstad <magnus@v0.no> wrote:
> >>>=20
> > I backed to tcpip 2.3.0 (before the assert "fix") then
> >=20
> > 1. `ncat` from dom0 works just fine, no assert and full string
> >   received and returned.
> > 2. `ncat` from my PC triggers the assert, the full string is received
> >   and returned, but `ncat` hangs.
>=20
> The perfect bisection, thank you!  This means that the Cstruct length
> is shorter than the advertised packet length in the IP header for
> some reason.  See:
>=20
> https://github.com/mirage/mirage-tcpip/pull/122/files#diff-1b30afa1d7f89f=
e0693b36ef4006c6f4L178
>=20
> Some more debugging around what the various values are would pin
> down the problem.  You could put in some Printf.printfs around
> the TCPIP code and see what comes out on the VM console.
>=20
> >=20
> > Is there some pre-packaged ARM Linux guest image to download from
> > somewhere?
>=20
> There's a create-linux-guest script in /root of the Cubie/Xen
> image.  That should debootstrap you up a guest quite conveniently.
> However, it looks like you've pinpointed the problem source in the
> TCPIP code (that only triggers on ARM).

I just thought I'd report that this issue remains, even after an
upgrade to the latest packages yesterday.

/M

--=20
Magnus Therning                      OpenPGP: 0xAB4DFBA4=20
email: magnus@therning.org   jabber: magnus@therning.org
twitter: magthe               http://therning.org/magnus

Programs should be written for people to read, and only incidentally
for machines to execute.
     -- Quote from Structure and Interpretation of Computer Programs

--a8Wt8u1KmwUX3Y2C
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iEYEABECAAYFAlVawJgACgkQiMWTaatN+6S/sQCfWWlOmXWXH0Zsl82WvAO4vyfz
CCIAoOGsAojiYySrz2He9i3XimfsJGkH
=LGxU
-----END PGP SIGNATURE-----

--a8Wt8u1KmwUX3Y2C--


--===============1337149871906104689==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============1337149871906104689==--


From mirageos-devel-bounces@lists.xenproject.org Tue May 19 04:48:43 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 04:48:43 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YuZSH-00081Z-SZ; Tue, 19 May 2015 04:48:37 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <magnus@therning.org>) id 1YuZSG-00081U-P6
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 04:48:36 +0000
Received: from [85.158.137.68] by server-12.bemta-3.messagelabs.com id
	DE/C9-02928-3A0CA555; Tue, 19 May 2015 04:48:35 +0000
X-Env-Sender: magnus@therning.org
X-Msg-Ref: server-12.tower-31.messagelabs.com!1432010914!11648516!1
X-Originating-IP: [209.85.215.49]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 3417 invoked from network); 19 May 2015 04:48:35 -0000
Received: from mail-la0-f49.google.com (HELO mail-la0-f49.google.com)
	(209.85.215.49)
	by server-12.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	19 May 2015 04:48:35 -0000
Received: by laat2 with SMTP id t2so5290386laa.1
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 18 May 2015 21:48:34 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:date:from:to:cc:subject:message-id:references
	:mime-version:content-type:content-disposition:in-reply-to
	:user-agent;
	bh=ut4fBdZqDTOxthjeFCpDMUdlp9G11m/8bpeedQv9wGk=;
	b=BP6UMdwH7W6d8jVHHO+rXmE/I24/9sEm/n8uOzixNyslGy/OtYj8/jzyhQrULL5+VH
	ASCbx6UmCg98oaeoeUwlP7q9/USaV085j3fhyUYujUcH8ch8Gd6uDsvXknGopOsBY+hF
	pJjaLVaqw83Q/5uu8ivgWKAL4c+zTyA0SqMoQEyY2j2RqT5NRNafegI9Ioj3c3SbhDxc
	iTLxY/VpX0gkRzj9iyv20khQMVdiHaLjIg9t9VO0kNWmLL4S1EaffsGJXVosZe1roXRC
	zwR5lFlWdLQKF3VWXLwsbzst3VrWtX/KMHjS+P/vtWVibpynHMTuu98axMvfzxFNmWZT
	vveA==
X-Gm-Message-State: ALoCoQk4V9IyNSaOR7HJb/yLmDNSCOXSNhCi5UZ8g78VLLPmu66seIJrWFgpn+8vuR38OIlExqCe
X-Received: by 10.152.2.227 with SMTP id 3mr19959433lax.73.1432010914391;
	Mon, 18 May 2015 21:48:34 -0700 (PDT)
Received: from tatooine (c83-248-178-110.bredband.comhem.se. [83.248.178.110])
	by mx.google.com with ESMTPSA id
	a7sm3232906lbc.48.2015.05.18.21.48.32
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Mon, 18 May 2015 21:48:33 -0700 (PDT)
Date: Tue, 19 May 2015 06:48:30 +0200
From: Magnus Therning <magnus@therning.org>
To: Anil Madhavapeddy <anil@recoil.org>
Message-ID: <20150519044830.GA9486@tatooine>
References: <20150409201853.GA11002@tatooine> <20150410042935.GA27321@tatooine>
	<1428765230.2042101.252086709.37214F79@webmail.messagingengine.com>
	<F19019E3-33EB-4FAA-9A76-141DA2F27A6E@recoil.org>
	<20150412085114.GA2554@tatooine>
	<183B92E9-952B-4C69-92F9-F05E0597E179@recoil.org>
MIME-Version: 1.0
In-Reply-To: <183B92E9-952B-4C69-92F9-F05E0597E179@recoil.org>
User-Agent: Mutt/1.5.23 (2014-03-12)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] More troubles with tcp on ARM
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1337149871906104689=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============1337149871906104689==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="a8Wt8u1KmwUX3Y2C"
Content-Disposition: inline


--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Apr 12, 2015 at 05:01:18PM +0800, Anil Madhavapeddy wrote:
> On 12 Apr 2015, at 16:51, Magnus Therning <magnus@therning.org> wrote:
> >=20
> > On Sat, Apr 11, 2015 at 11:33:40PM +0800, Anil Madhavapeddy wrote:
> >> On 11 Apr 2015, at 23:13, Magnus Skjegstad <magnus@v0.no> wrote:
> >>>=20
> > I backed to tcpip 2.3.0 (before the assert "fix") then
> >=20
> > 1. `ncat` from dom0 works just fine, no assert and full string
> >   received and returned.
> > 2. `ncat` from my PC triggers the assert, the full string is received
> >   and returned, but `ncat` hangs.
>=20
> The perfect bisection, thank you!  This means that the Cstruct length
> is shorter than the advertised packet length in the IP header for
> some reason.  See:
>=20
> https://github.com/mirage/mirage-tcpip/pull/122/files#diff-1b30afa1d7f89f=
e0693b36ef4006c6f4L178
>=20
> Some more debugging around what the various values are would pin
> down the problem.  You could put in some Printf.printfs around
> the TCPIP code and see what comes out on the VM console.
>=20
> >=20
> > Is there some pre-packaged ARM Linux guest image to download from
> > somewhere?
>=20
> There's a create-linux-guest script in /root of the Cubie/Xen
> image.  That should debootstrap you up a guest quite conveniently.
> However, it looks like you've pinpointed the problem source in the
> TCPIP code (that only triggers on ARM).

I just thought I'd report that this issue remains, even after an
upgrade to the latest packages yesterday.

/M

--=20
Magnus Therning                      OpenPGP: 0xAB4DFBA4=20
email: magnus@therning.org   jabber: magnus@therning.org
twitter: magthe               http://therning.org/magnus

Programs should be written for people to read, and only incidentally
for machines to execute.
     -- Quote from Structure and Interpretation of Computer Programs

--a8Wt8u1KmwUX3Y2C
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iEYEABECAAYFAlVawJgACgkQiMWTaatN+6S/sQCfWWlOmXWXH0Zsl82WvAO4vyfz
CCIAoOGsAojiYySrz2He9i3XimfsJGkH
=LGxU
-----END PGP SIGNATURE-----

--a8Wt8u1KmwUX3Y2C--


--===============1337149871906104689==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============1337149871906104689==--


From mirageos-devel-bounces@lists.xenproject.org Tue May 19 08:48:28 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 08:48:28 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YudCH-0004Qk-7q; Tue, 19 May 2015 08:48:21 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <martin@lucina.net>) id 1YudCG-0004Qe-2w
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 08:48:20 +0000
Received: from [85.158.137.68] by server-2.bemta-3.messagelabs.com id
	21/55-03079-3D8FA555; Tue, 19 May 2015 08:48:19 +0000
X-Env-Sender: martin@lucina.net
X-Msg-Ref: server-12.tower-31.messagelabs.com!1432025298!11727559!1
X-Originating-IP: [62.176.169.44]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26567 invoked from network); 19 May 2015 08:48:18 -0000
Received: from smtp.lucina.net (HELO smtp.lucina.net) (62.176.169.44)
	by server-12.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 19 May 2015 08:48:18 -0000
Received: from nodbug.lucina.net (chello089173222227.chello.sk
	[89.173.222.227])
	by smtp.lucina.net (Postfix) with ESMTPSA id E2AB1122811;
	Tue, 19 May 2015 10:47:31 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucina.net;
	s=dkim-201309; t=1432025251;
	bh=GvzF60nKSBieKUvpw9suamLFg8P3UWB+7kP4u5ERHeI=;
	h=Date:From:To:Cc:Subject:From;
	b=YDFCFJ4VmjyABeXmj64+n79R2o5xf+cPSDv7SJezradX8O0OgvkeMCsdlEwKCeiTY
	y+GiafsWGutWs638yX3XRP9ddgNL53zFpAO6F1FLi72JJ81pU3VBhrjsWdFCrDYf/Q
	+w7BHIyG06T9ZbyZfmgjhCYJpeloDtaZLV+0WjlSfEC7PkZIHuTpyB+bsm2xJwvOHa
	JwruMv6XQSQSTk2quJEtxtWyvNXeb/sKIYURhdL+Uc7IxvKjUi3y4pGR9emq3hg0dS
	8fd0y507JjYZuxGIX/PZ+QukC+timN9TrdfklEjLXZeCvp6Y8LENXmyx5dBCRaAjFa
	gepWtdRrfroDg==
Received: by nodbug.lucina.net (Postfix, from userid 1000)
	id 309154C0E2C; Tue, 19 May 2015 10:48:30 +0200 (CEST)
Date: Tue, 19 May 2015 10:48:30 +0200
From: Martin Lucina <martin@lucina.net>
To: mirageos-devel@lists.xenproject.org
Message-ID: <20150519084830.GA10420@nodbug.lucina.net>
Mail-Followup-To: mirageos-devel@lists.xenproject.org,
	opam-devel@lists.xenproject.org,
	Anil Madhavapeddy <avsm@recoil.org>,
	Peter Zotov <whitequark@whitequark.org>
MIME-Version: 1.0
Content-Disposition: inline
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: opam-devel@lists.xenproject.org, Peter Zotov <whitequark@whitequark.org>,
	Anil Madhavapeddy <avsm@recoil.org>
Subject: [MirageOS-devel] Cross-compiling OCaml, Mirage OS for rumprun,
	OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi all,

I'm working on getting OCaml and Mirage OS running on top of the rumprun
unikernel stack[1].

Rumprun provides a unikernel stack with a POSIXy (NetBSD-HEAD) userspace
and can run on Xen, QEMU/KVM, bare metal and POSIX userspace.  The
resulting Mirage + rumprun unikernel will thus be able to run on all of the
platforms rumprun supports.

The first step to get this working is building an OCaml cross compiler that
uses the rumprun cross compiler as its backend for building C code and
linking.

I've researched the various cross-compilation options for OCaml and for now
have based my code off the approach used by Peter Zotov in his
`opam-android' repository[2].

My work in progress OPAM repository is here:

https://github.com/mato/opam-rumprun

This is enough to get an OCaml "Hello, World" running on rumprun, and I've
also tested that the Unix package works as expected. So far so good.

However, in order to get Mirage to compile, I need to cross-compile Lwt and
that does not work as expected:

    $ OCAMLFIND_TOOLCHAIN=rumprun ocaml setup.ml -configure --prefix /home/mato/.opam/system/x86_64-rumprun-netbsd/ --disable-libev

Results in:

    not checking for pkg-config
    not checking for libev
    testing for pthread: ........................... unavailable
    not checking for glib

    The following recquired C libraries are missing: pthread.

The reason this happens is that discover.ml is invoking the following
compile command:

/home/mato/projects/rumpkernel/rumprun/app-tools/rumprun-xen-cc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -I/usr/include -o /tmp/lwt_stubf12ac7.o -I/home/mato/.opam/system/x86_64-rumprun-netbsd/lib/ocaml /tmp/lwt_stubf12ac7.c

Note the inclusion of -I/usr/include -- this is presumably there so that
the system OCaml compiler's headers are available, however it results in a
conflict between the NetBSD headers provided by rumprun and the system
headers.

What can be done to fix the above? Should I be using a host compiler built
and installed by OPAM rather than the system compiler (4.02.1-1ppa3~precise
on Debian wheezy). [I'll try this and see if it helps...]

I tried to hack around the problem by using --enable-android-target, that
causes discover.ml to succeed and the build then proceeds, failing on a
different problem:

E: Failure("Expected built file '_build/src/unix/dlllwt-unix_stubs.so' doesn't exist.")

This is expected; the rumprun toolchain does not support dynamic linking
and I have configured the ocaml-rumprun compiler with -no-shared-libs. Is
there some way to tell OASIS to not expect any shared libraries to be
built?

General questions:

1) Is this the right strategy for building an OCaml cross-compiler and
integrating with OPAM?

AFAICS there are multiple approaches being used in the wild and OCaml
upstream *claims* to include support for cross-compiling via -host and
-target, however that support is not actually functional?

For the rumprun support to be as user-friendly as possible, we need an easy
way of switching the backend rumprun cross-compiler and linker used by
ocaml when the user wants to switch platforms or architectures. The
approach used by the android repository I based my work off implies either:

a) the user would have to *reinstall* the cross compiler (specifying eg.
RUMPRUN_CC in the environment) and all packages using native code whenever
they want to switch the backend compiler.

b) we would have to provide different opam packages of the compiler and
native libraries (Lwt) for each platform/arch combination supported by
rumprun. This is unmanageable.

2) Is there an easy way to switch ocamlc and the various other parts of the
build system(s) involved into a verbose mode so that I can see what
compilers are being invoked and why they fail? At the moment I'm using
`strace' for this :-/

All ideas and help much appreciated,

Cheers,

Martin

[1] http://wiki.rumpkernel.org/Repo%3A-rumprun
[2] https://github.com/whitequark/opam-android

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 08:48:28 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 08:48:28 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YudCH-0004Qk-7q; Tue, 19 May 2015 08:48:21 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <martin@lucina.net>) id 1YudCG-0004Qe-2w
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 08:48:20 +0000
Received: from [85.158.137.68] by server-2.bemta-3.messagelabs.com id
	21/55-03079-3D8FA555; Tue, 19 May 2015 08:48:19 +0000
X-Env-Sender: martin@lucina.net
X-Msg-Ref: server-12.tower-31.messagelabs.com!1432025298!11727559!1
X-Originating-IP: [62.176.169.44]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26567 invoked from network); 19 May 2015 08:48:18 -0000
Received: from smtp.lucina.net (HELO smtp.lucina.net) (62.176.169.44)
	by server-12.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 19 May 2015 08:48:18 -0000
Received: from nodbug.lucina.net (chello089173222227.chello.sk
	[89.173.222.227])
	by smtp.lucina.net (Postfix) with ESMTPSA id E2AB1122811;
	Tue, 19 May 2015 10:47:31 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucina.net;
	s=dkim-201309; t=1432025251;
	bh=GvzF60nKSBieKUvpw9suamLFg8P3UWB+7kP4u5ERHeI=;
	h=Date:From:To:Cc:Subject:From;
	b=YDFCFJ4VmjyABeXmj64+n79R2o5xf+cPSDv7SJezradX8O0OgvkeMCsdlEwKCeiTY
	y+GiafsWGutWs638yX3XRP9ddgNL53zFpAO6F1FLi72JJ81pU3VBhrjsWdFCrDYf/Q
	+w7BHIyG06T9ZbyZfmgjhCYJpeloDtaZLV+0WjlSfEC7PkZIHuTpyB+bsm2xJwvOHa
	JwruMv6XQSQSTk2quJEtxtWyvNXeb/sKIYURhdL+Uc7IxvKjUi3y4pGR9emq3hg0dS
	8fd0y507JjYZuxGIX/PZ+QukC+timN9TrdfklEjLXZeCvp6Y8LENXmyx5dBCRaAjFa
	gepWtdRrfroDg==
Received: by nodbug.lucina.net (Postfix, from userid 1000)
	id 309154C0E2C; Tue, 19 May 2015 10:48:30 +0200 (CEST)
Date: Tue, 19 May 2015 10:48:30 +0200
From: Martin Lucina <martin@lucina.net>
To: mirageos-devel@lists.xenproject.org
Message-ID: <20150519084830.GA10420@nodbug.lucina.net>
Mail-Followup-To: mirageos-devel@lists.xenproject.org,
	opam-devel@lists.xenproject.org,
	Anil Madhavapeddy <avsm@recoil.org>,
	Peter Zotov <whitequark@whitequark.org>
MIME-Version: 1.0
Content-Disposition: inline
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: opam-devel@lists.xenproject.org, Peter Zotov <whitequark@whitequark.org>,
	Anil Madhavapeddy <avsm@recoil.org>
Subject: [MirageOS-devel] Cross-compiling OCaml, Mirage OS for rumprun,
	OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi all,

I'm working on getting OCaml and Mirage OS running on top of the rumprun
unikernel stack[1].

Rumprun provides a unikernel stack with a POSIXy (NetBSD-HEAD) userspace
and can run on Xen, QEMU/KVM, bare metal and POSIX userspace.  The
resulting Mirage + rumprun unikernel will thus be able to run on all of the
platforms rumprun supports.

The first step to get this working is building an OCaml cross compiler that
uses the rumprun cross compiler as its backend for building C code and
linking.

I've researched the various cross-compilation options for OCaml and for now
have based my code off the approach used by Peter Zotov in his
`opam-android' repository[2].

My work in progress OPAM repository is here:

https://github.com/mato/opam-rumprun

This is enough to get an OCaml "Hello, World" running on rumprun, and I've
also tested that the Unix package works as expected. So far so good.

However, in order to get Mirage to compile, I need to cross-compile Lwt and
that does not work as expected:

    $ OCAMLFIND_TOOLCHAIN=rumprun ocaml setup.ml -configure --prefix /home/mato/.opam/system/x86_64-rumprun-netbsd/ --disable-libev

Results in:

    not checking for pkg-config
    not checking for libev
    testing for pthread: ........................... unavailable
    not checking for glib

    The following recquired C libraries are missing: pthread.

The reason this happens is that discover.ml is invoking the following
compile command:

/home/mato/projects/rumpkernel/rumprun/app-tools/rumprun-xen-cc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -I/usr/include -o /tmp/lwt_stubf12ac7.o -I/home/mato/.opam/system/x86_64-rumprun-netbsd/lib/ocaml /tmp/lwt_stubf12ac7.c

Note the inclusion of -I/usr/include -- this is presumably there so that
the system OCaml compiler's headers are available, however it results in a
conflict between the NetBSD headers provided by rumprun and the system
headers.

What can be done to fix the above? Should I be using a host compiler built
and installed by OPAM rather than the system compiler (4.02.1-1ppa3~precise
on Debian wheezy). [I'll try this and see if it helps...]

I tried to hack around the problem by using --enable-android-target, that
causes discover.ml to succeed and the build then proceeds, failing on a
different problem:

E: Failure("Expected built file '_build/src/unix/dlllwt-unix_stubs.so' doesn't exist.")

This is expected; the rumprun toolchain does not support dynamic linking
and I have configured the ocaml-rumprun compiler with -no-shared-libs. Is
there some way to tell OASIS to not expect any shared libraries to be
built?

General questions:

1) Is this the right strategy for building an OCaml cross-compiler and
integrating with OPAM?

AFAICS there are multiple approaches being used in the wild and OCaml
upstream *claims* to include support for cross-compiling via -host and
-target, however that support is not actually functional?

For the rumprun support to be as user-friendly as possible, we need an easy
way of switching the backend rumprun cross-compiler and linker used by
ocaml when the user wants to switch platforms or architectures. The
approach used by the android repository I based my work off implies either:

a) the user would have to *reinstall* the cross compiler (specifying eg.
RUMPRUN_CC in the environment) and all packages using native code whenever
they want to switch the backend compiler.

b) we would have to provide different opam packages of the compiler and
native libraries (Lwt) for each platform/arch combination supported by
rumprun. This is unmanageable.

2) Is there an easy way to switch ocamlc and the various other parts of the
build system(s) involved into a verbose mode so that I can see what
compilers are being invoked and why they fail? At the moment I'm using
`strace' for this :-/

All ideas and help much appreciated,

Cheers,

Martin

[1] http://wiki.rumpkernel.org/Repo%3A-rumprun
[2] https://github.com/whitequark/opam-android

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 08:49:59 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 08:49:59 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YudDq-0004Zh-Ue; Tue, 19 May 2015 08:49:58 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <pszmk1@nottingham.ac.uk>) id 1YudDo-0004ZY-WA
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 08:49:57 +0000
Received: from [85.158.137.68] by server-7.bemta-3.messagelabs.com id
	52/E0-03197-439FA555; Tue, 19 May 2015 08:49:56 +0000
X-Env-Sender: pszmk1@nottingham.ac.uk
X-Msg-Ref: server-2.tower-31.messagelabs.com!1432025395!11785630!1
X-Originating-IP: [128.243.43.129]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 24102 invoked from network); 19 May 2015 08:49:55 -0000
Received: from uidappmx06.nottingham.ac.uk (HELO uidappmx06.nottingham.ac.uk)
	(128.243.43.129) by server-2.tower-31.messagelabs.com with SMTP;
	19 May 2015 08:49:55 -0000
Received: from uidappmx06.nottingham.ac.uk (localhost.localdomain [127.0.0.1])
	by localhost (Email Security Appliance) with SMTP id
	AC5282DF534_55AF932B for <mirageos-devel@lists.xenproject.org>;
	Tue, 19 May 2015 08:49:54 +0000 (GMT)
Received: from smtp4.nottingham.ac.uk (smtp4.nottingham.ac.uk [128.243.220.65])
	by uidappmx06.nottingham.ac.uk (Sophos Email Appliance) with ESMTP id
	4FE5D2B2C06_55AF932F for <mirageos-devel@lists.xenproject.org>;
	Tue, 19 May 2015 08:49:54 +0000 (GMT)
Received: from cirrus.cs.nott.ac.uk ([128.243.23.185])
	by smtp4.nottingham.ac.uk with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128)
	(Exim 4.85) (envelope-from <pszmk1@nottingham.ac.uk>)
	id 1YudDl-0005EJ-PB; Tue, 19 May 2015 09:49:54 +0100
Message-ID: <555AF92C.4020209@nottingham.ac.uk>
Date: Tue, 19 May 2015 09:49:48 +0100
From: Masoud Koleini <masoud.koleini@nottingham.ac.uk>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: Anil Madhavapeddy <anil@recoil.org>
References: <5559B735.1030904@nottingham.ac.uk>
	<63197D9A-0C0E-4BF9-AC0D-E866963D7604@recoil.org>
In-Reply-To: <63197D9A-0C0E-4BF9-AC0D-E866963D7604@recoil.org>
X-Spam-Score: -1.0 (-)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] CPU and memory utilisation
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi Anil and Mindy,

Thank you for the information and the link.

I am trying to get CPU utilisation from *within* the unikernel.


On 18/05/15 19:47, Anil Madhavapeddy wrote:
> Hi Masoud,
>
> The CPU utilisation is most easily done from the outside by using "xentop"
> or similar tools to gather the virtual machine utilisation.  The unikernel
> will just be sitting blocked when there's no IO, so this is accurate.
>
> Memory can be obtained via the OCaml GC module; Mindy's reply has a link
> to the easy way to use it to generate HTML.
>
> A more subtle question: are you trying to get this information from *within*
> the unikernel to alter its behaviour in response to load?  In that case you'll
> need a slightly more sophisticated way to measure CPU usage from within the
> VM.
>
> -anil
>
>> On 18 May 2015, at 10:56, Masoud Koleini <masoud.koleini@nottingham.ac.uk> wrote:
>>
>> Hi all,
>>
>> Is the any way for a Mirage unikernel to get its CPU and memory utilisation?
>>
>> Thanks.
>>
>>
>>
>>
>>
>>
>> This message and any attachment are intended solely for the addressee
>> and may contain confidential information. If you have received this
>> message in error, please send it back to me, and immediately delete it.
>> Please do not use, copy or disclose the information contained in this
>> message or in any attachment.  Any views or opinions expressed by the
>> author of this email do not necessarily reflect the views of the
>> University of Nottingham.
>>
>> This message has been checked for viruses but the contents of an
>> attachment may still contain software viruses which could damage your
>> computer system, you are advised to perform your own checks. Email
>> communications with the University of Nottingham may be monitored as
>> permitted by UK legislation.
>>
>>
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>>





This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please send it back to me, and immediately delete it. 

Please do not use, copy or disclose the information contained in this
message or in any attachment.  Any views or opinions expressed by the
author of this email do not necessarily reflect the views of the
University of Nottingham.

This message has been checked for viruses but the contents of an
attachment may still contain software viruses which could damage your
computer system, you are advised to perform your own checks. Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation.


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 08:49:59 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 08:49:59 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YudDq-0004Zh-Ue; Tue, 19 May 2015 08:49:58 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <pszmk1@nottingham.ac.uk>) id 1YudDo-0004ZY-WA
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 08:49:57 +0000
Received: from [85.158.137.68] by server-7.bemta-3.messagelabs.com id
	52/E0-03197-439FA555; Tue, 19 May 2015 08:49:56 +0000
X-Env-Sender: pszmk1@nottingham.ac.uk
X-Msg-Ref: server-2.tower-31.messagelabs.com!1432025395!11785630!1
X-Originating-IP: [128.243.43.129]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 24102 invoked from network); 19 May 2015 08:49:55 -0000
Received: from uidappmx06.nottingham.ac.uk (HELO uidappmx06.nottingham.ac.uk)
	(128.243.43.129) by server-2.tower-31.messagelabs.com with SMTP;
	19 May 2015 08:49:55 -0000
Received: from uidappmx06.nottingham.ac.uk (localhost.localdomain [127.0.0.1])
	by localhost (Email Security Appliance) with SMTP id
	AC5282DF534_55AF932B for <mirageos-devel@lists.xenproject.org>;
	Tue, 19 May 2015 08:49:54 +0000 (GMT)
Received: from smtp4.nottingham.ac.uk (smtp4.nottingham.ac.uk [128.243.220.65])
	by uidappmx06.nottingham.ac.uk (Sophos Email Appliance) with ESMTP id
	4FE5D2B2C06_55AF932F for <mirageos-devel@lists.xenproject.org>;
	Tue, 19 May 2015 08:49:54 +0000 (GMT)
Received: from cirrus.cs.nott.ac.uk ([128.243.23.185])
	by smtp4.nottingham.ac.uk with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128)
	(Exim 4.85) (envelope-from <pszmk1@nottingham.ac.uk>)
	id 1YudDl-0005EJ-PB; Tue, 19 May 2015 09:49:54 +0100
Message-ID: <555AF92C.4020209@nottingham.ac.uk>
Date: Tue, 19 May 2015 09:49:48 +0100
From: Masoud Koleini <masoud.koleini@nottingham.ac.uk>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: Anil Madhavapeddy <anil@recoil.org>
References: <5559B735.1030904@nottingham.ac.uk>
	<63197D9A-0C0E-4BF9-AC0D-E866963D7604@recoil.org>
In-Reply-To: <63197D9A-0C0E-4BF9-AC0D-E866963D7604@recoil.org>
X-Spam-Score: -1.0 (-)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] CPU and memory utilisation
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi Anil and Mindy,

Thank you for the information and the link.

I am trying to get CPU utilisation from *within* the unikernel.


On 18/05/15 19:47, Anil Madhavapeddy wrote:
> Hi Masoud,
>
> The CPU utilisation is most easily done from the outside by using "xentop"
> or similar tools to gather the virtual machine utilisation.  The unikernel
> will just be sitting blocked when there's no IO, so this is accurate.
>
> Memory can be obtained via the OCaml GC module; Mindy's reply has a link
> to the easy way to use it to generate HTML.
>
> A more subtle question: are you trying to get this information from *within*
> the unikernel to alter its behaviour in response to load?  In that case you'll
> need a slightly more sophisticated way to measure CPU usage from within the
> VM.
>
> -anil
>
>> On 18 May 2015, at 10:56, Masoud Koleini <masoud.koleini@nottingham.ac.uk> wrote:
>>
>> Hi all,
>>
>> Is the any way for a Mirage unikernel to get its CPU and memory utilisation?
>>
>> Thanks.
>>
>>
>>
>>
>>
>>
>> This message and any attachment are intended solely for the addressee
>> and may contain confidential information. If you have received this
>> message in error, please send it back to me, and immediately delete it.
>> Please do not use, copy or disclose the information contained in this
>> message or in any attachment.  Any views or opinions expressed by the
>> author of this email do not necessarily reflect the views of the
>> University of Nottingham.
>>
>> This message has been checked for viruses but the contents of an
>> attachment may still contain software viruses which could damage your
>> computer system, you are advised to perform your own checks. Email
>> communications with the University of Nottingham may be monitored as
>> permitted by UK legislation.
>>
>>
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>>





This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please send it back to me, and immediately delete it. 

Please do not use, copy or disclose the information contained in this
message or in any attachment.  Any views or opinions expressed by the
author of this email do not necessarily reflect the views of the
University of Nottingham.

This message has been checked for viruses but the contents of an
attachment may still contain software viruses which could damage your
computer system, you are advised to perform your own checks. Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation.


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 08:50:09 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 08:50:09 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YudE1-0004b6-1V; Tue, 19 May 2015 08:50:09 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <martin@lucina.net>) id 1YudDy-0004al-OC
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 08:50:06 +0000
Received: from [85.158.137.68] by server-17.bemta-3.messagelabs.com id
	16/43-02927-D39FA555; Tue, 19 May 2015 08:50:05 +0000
X-Env-Sender: martin@lucina.net
X-Msg-Ref: server-4.tower-31.messagelabs.com!1432025404!11738782!1
X-Originating-IP: [62.176.169.44]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26081 invoked from network); 19 May 2015 08:50:05 -0000
Received: from smtp.lucina.net (HELO smtp.lucina.net) (62.176.169.44)
	by server-4.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 19 May 2015 08:50:05 -0000
Received: from nodbug.lucina.net (chello089173222227.chello.sk
	[89.173.222.227])
	by smtp.lucina.net (Postfix) with ESMTPSA id 84A03122811;
	Tue, 19 May 2015 10:49:18 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucina.net;
	s=dkim-201309; t=1432025358;
	bh=tm/Wp3rAsOHDnjIc2nsckLE8MuwyA9s8z8vIfhxbpn8=;
	h=Date:From:To:Cc:Subject:From;
	b=dL3HywdYf4OqvrSIGPhJr+X5AhOXIuzKycbyP47iyi9l8dFt/xI+q5KkFwf/gZLRB
	/Rdax0Aa9FaCzvTyZWuiJg5iodp2xp1YaMfKB4MZVUH0n4PaWFkCi+7NMsmciPZN5K
	uXAZqvFbQx7KT1TYuWygctfJ7iUOH2i+P6V9MpBOv4aMHaLMXnX9IS7cgl7/wVutdp
	jierB+KuE09cR6uhPlYzARoYBxtywX5D1TWH+rDknPjtuZ0pfHdMHQ9f+sw4EKFIwr
	YPsPuX7wq4rCJU2kwJctOsSgBZ1nhHkoyb52S7ZTxp5TYUQOo8A5g9jQ5RKprNBzZy
	DHnb67aOjlHIQ==
Received: by nodbug.lucina.net (Postfix, from userid 1000)
	id 0B6FF4C0E2C; Tue, 19 May 2015 10:50:17 +0200 (CEST)
Date: Tue, 19 May 2015 10:50:17 +0200
From: Martin Lucina <martin@lucina.net>
To: mirageos-devel@lists.xenproject.org
Message-ID: <20150519085016.GB10420@nodbug.lucina.net>
Mail-Followup-To: mirageos-devel@lists.xenproject.org,
	opam-devel@lists.ocaml.org, Anil Madhavapeddy <avsm@recoil.org>,
	Peter Zotov <whitequark@whitequark.org>
MIME-Version: 1.0
Content-Disposition: inline
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: Peter Zotov <whitequark@whitequark.org>, opam-devel@lists.ocaml.org,
	Anil Madhavapeddy <avsm@recoil.org>
Subject: [MirageOS-devel] Cross-compiling OCaml, Mirage OS for rumprun,
	OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

[Re-sending with correct opam-devel address]

Hi all,

I'm working on getting OCaml and Mirage OS running on top of the rumprun
unikernel stack[1].

Rumprun provides a unikernel stack with a POSIXy (NetBSD-HEAD) userspace
and can run on Xen, QEMU/KVM, bare metal and POSIX userspace.  The
resulting Mirage + rumprun unikernel will thus be able to run on all of the
platforms rumprun supports.

The first step to get this working is building an OCaml cross compiler that
uses the rumprun cross compiler as its backend for building C code and
linking.

I've researched the various cross-compilation options for OCaml and for now
have based my code off the approach used by Peter Zotov in his
`opam-android' repository[2].

My work in progress OPAM repository is here:

https://github.com/mato/opam-rumprun

This is enough to get an OCaml "Hello, World" running on rumprun, and I've
also tested that the Unix package works as expected. So far so good.

However, in order to get Mirage to compile, I need to cross-compile Lwt and
that does not work as expected:

    $ OCAMLFIND_TOOLCHAIN=rumprun ocaml setup.ml -configure --prefix /home/mato/.opam/system/x86_64-rumprun-netbsd/ --disable-libev

Results in:

    not checking for pkg-config
    not checking for libev
    testing for pthread: ........................... unavailable
    not checking for glib

    The following recquired C libraries are missing: pthread.

The reason this happens is that discover.ml is invoking the following
compile command:

/home/mato/projects/rumpkernel/rumprun/app-tools/rumprun-xen-cc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -I/usr/include -o /tmp/lwt_stubf12ac7.o -I/home/mato/.opam/system/x86_64-rumprun-netbsd/lib/ocaml /tmp/lwt_stubf12ac7.c

Note the inclusion of -I/usr/include -- this is presumably there so that
the system OCaml compiler's headers are available, however it results in a
conflict between the NetBSD headers provided by rumprun and the system
headers.

What can be done to fix the above? Should I be using a host compiler built
and installed by OPAM rather than the system compiler (4.02.1-1ppa3~precise
on Debian wheezy). [I'll try this and see if it helps...]

I tried to hack around the problem by using --enable-android-target, that
causes discover.ml to succeed and the build then proceeds, failing on a
different problem:

E: Failure("Expected built file '_build/src/unix/dlllwt-unix_stubs.so' doesn't exist.")

This is expected; the rumprun toolchain does not support dynamic linking
and I have configured the ocaml-rumprun compiler with -no-shared-libs. Is
there some way to tell OASIS to not expect any shared libraries to be
built?

General questions:

1) Is this the right strategy for building an OCaml cross-compiler and
integrating with OPAM?

AFAICS there are multiple approaches being used in the wild and OCaml
upstream *claims* to include support for cross-compiling via -host and
-target, however that support is not actually functional?

For the rumprun support to be as user-friendly as possible, we need an easy
way of switching the backend rumprun cross-compiler and linker used by
ocaml when the user wants to switch platforms or architectures. The
approach used by the android repository I based my work off implies either:

a) the user would have to *reinstall* the cross compiler (specifying eg.
RUMPRUN_CC in the environment) and all packages using native code whenever
they want to switch the backend compiler.

b) we would have to provide different opam packages of the compiler and
native libraries (Lwt) for each platform/arch combination supported by
rumprun. This is unmanageable.

2) Is there an easy way to switch ocamlc and the various other parts of the
build system(s) involved into a verbose mode so that I can see what
compilers are being invoked and why they fail? At the moment I'm using
`strace' for this :-/

All ideas and help much appreciated,

Cheers,

Martin

[1] http://wiki.rumpkernel.org/Repo%3A-rumprun
[2] https://github.com/whitequark/opam-android

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 08:50:09 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 08:50:09 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YudE1-0004b6-1V; Tue, 19 May 2015 08:50:09 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <martin@lucina.net>) id 1YudDy-0004al-OC
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 08:50:06 +0000
Received: from [85.158.137.68] by server-17.bemta-3.messagelabs.com id
	16/43-02927-D39FA555; Tue, 19 May 2015 08:50:05 +0000
X-Env-Sender: martin@lucina.net
X-Msg-Ref: server-4.tower-31.messagelabs.com!1432025404!11738782!1
X-Originating-IP: [62.176.169.44]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26081 invoked from network); 19 May 2015 08:50:05 -0000
Received: from smtp.lucina.net (HELO smtp.lucina.net) (62.176.169.44)
	by server-4.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 19 May 2015 08:50:05 -0000
Received: from nodbug.lucina.net (chello089173222227.chello.sk
	[89.173.222.227])
	by smtp.lucina.net (Postfix) with ESMTPSA id 84A03122811;
	Tue, 19 May 2015 10:49:18 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucina.net;
	s=dkim-201309; t=1432025358;
	bh=tm/Wp3rAsOHDnjIc2nsckLE8MuwyA9s8z8vIfhxbpn8=;
	h=Date:From:To:Cc:Subject:From;
	b=dL3HywdYf4OqvrSIGPhJr+X5AhOXIuzKycbyP47iyi9l8dFt/xI+q5KkFwf/gZLRB
	/Rdax0Aa9FaCzvTyZWuiJg5iodp2xp1YaMfKB4MZVUH0n4PaWFkCi+7NMsmciPZN5K
	uXAZqvFbQx7KT1TYuWygctfJ7iUOH2i+P6V9MpBOv4aMHaLMXnX9IS7cgl7/wVutdp
	jierB+KuE09cR6uhPlYzARoYBxtywX5D1TWH+rDknPjtuZ0pfHdMHQ9f+sw4EKFIwr
	YPsPuX7wq4rCJU2kwJctOsSgBZ1nhHkoyb52S7ZTxp5TYUQOo8A5g9jQ5RKprNBzZy
	DHnb67aOjlHIQ==
Received: by nodbug.lucina.net (Postfix, from userid 1000)
	id 0B6FF4C0E2C; Tue, 19 May 2015 10:50:17 +0200 (CEST)
Date: Tue, 19 May 2015 10:50:17 +0200
From: Martin Lucina <martin@lucina.net>
To: mirageos-devel@lists.xenproject.org
Message-ID: <20150519085016.GB10420@nodbug.lucina.net>
Mail-Followup-To: mirageos-devel@lists.xenproject.org,
	opam-devel@lists.ocaml.org, Anil Madhavapeddy <avsm@recoil.org>,
	Peter Zotov <whitequark@whitequark.org>
MIME-Version: 1.0
Content-Disposition: inline
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: Peter Zotov <whitequark@whitequark.org>, opam-devel@lists.ocaml.org,
	Anil Madhavapeddy <avsm@recoil.org>
Subject: [MirageOS-devel] Cross-compiling OCaml, Mirage OS for rumprun,
	OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

[Re-sending with correct opam-devel address]

Hi all,

I'm working on getting OCaml and Mirage OS running on top of the rumprun
unikernel stack[1].

Rumprun provides a unikernel stack with a POSIXy (NetBSD-HEAD) userspace
and can run on Xen, QEMU/KVM, bare metal and POSIX userspace.  The
resulting Mirage + rumprun unikernel will thus be able to run on all of the
platforms rumprun supports.

The first step to get this working is building an OCaml cross compiler that
uses the rumprun cross compiler as its backend for building C code and
linking.

I've researched the various cross-compilation options for OCaml and for now
have based my code off the approach used by Peter Zotov in his
`opam-android' repository[2].

My work in progress OPAM repository is here:

https://github.com/mato/opam-rumprun

This is enough to get an OCaml "Hello, World" running on rumprun, and I've
also tested that the Unix package works as expected. So far so good.

However, in order to get Mirage to compile, I need to cross-compile Lwt and
that does not work as expected:

    $ OCAMLFIND_TOOLCHAIN=rumprun ocaml setup.ml -configure --prefix /home/mato/.opam/system/x86_64-rumprun-netbsd/ --disable-libev

Results in:

    not checking for pkg-config
    not checking for libev
    testing for pthread: ........................... unavailable
    not checking for glib

    The following recquired C libraries are missing: pthread.

The reason this happens is that discover.ml is invoking the following
compile command:

/home/mato/projects/rumpkernel/rumprun/app-tools/rumprun-xen-cc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -I/usr/include -o /tmp/lwt_stubf12ac7.o -I/home/mato/.opam/system/x86_64-rumprun-netbsd/lib/ocaml /tmp/lwt_stubf12ac7.c

Note the inclusion of -I/usr/include -- this is presumably there so that
the system OCaml compiler's headers are available, however it results in a
conflict between the NetBSD headers provided by rumprun and the system
headers.

What can be done to fix the above? Should I be using a host compiler built
and installed by OPAM rather than the system compiler (4.02.1-1ppa3~precise
on Debian wheezy). [I'll try this and see if it helps...]

I tried to hack around the problem by using --enable-android-target, that
causes discover.ml to succeed and the build then proceeds, failing on a
different problem:

E: Failure("Expected built file '_build/src/unix/dlllwt-unix_stubs.so' doesn't exist.")

This is expected; the rumprun toolchain does not support dynamic linking
and I have configured the ocaml-rumprun compiler with -no-shared-libs. Is
there some way to tell OASIS to not expect any shared libraries to be
built?

General questions:

1) Is this the right strategy for building an OCaml cross-compiler and
integrating with OPAM?

AFAICS there are multiple approaches being used in the wild and OCaml
upstream *claims* to include support for cross-compiling via -host and
-target, however that support is not actually functional?

For the rumprun support to be as user-friendly as possible, we need an easy
way of switching the backend rumprun cross-compiler and linker used by
ocaml when the user wants to switch platforms or architectures. The
approach used by the android repository I based my work off implies either:

a) the user would have to *reinstall* the cross compiler (specifying eg.
RUMPRUN_CC in the environment) and all packages using native code whenever
they want to switch the backend compiler.

b) we would have to provide different opam packages of the compiler and
native libraries (Lwt) for each platform/arch combination supported by
rumprun. This is unmanageable.

2) Is there an easy way to switch ocamlc and the various other parts of the
build system(s) involved into a verbose mode so that I can see what
compilers are being invoked and why they fail? At the moment I'm using
`strace' for this :-/

All ideas and help much appreciated,

Cheers,

Martin

[1] http://wiki.rumpkernel.org/Repo%3A-rumprun
[2] https://github.com/whitequark/opam-android

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 10:38:42 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 10:38:42 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yueuz-0004hP-87; Tue, 19 May 2015 10:38:37 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mindy@somerandomidiot.com>) id 1Yueuy-0004hD-6y
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 10:38:36 +0000
Received: from [85.158.137.68] by server-7.bemta-3.messagelabs.com id
	48/31-03197-BA21B555; Tue, 19 May 2015 10:38:35 +0000
X-Env-Sender: mindy@somerandomidiot.com
X-Msg-Ref: server-12.tower-31.messagelabs.com!1432031914!11780635!1
X-Originating-IP: [217.70.183.195]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogMjE3LjcwLjE4My4xOTUgPT4gMzc4NjI=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 15118 invoked from network); 19 May 2015 10:38:34 -0000
Received: from relay3-d.mail.gandi.net (HELO relay3-d.mail.gandi.net)
	(217.70.183.195)
	by server-12.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 19 May 2015 10:38:34 -0000
Received: from mfilter8-d.gandi.net (mfilter8-d.gandi.net [217.70.178.137])
	by relay3-d.mail.gandi.net (Postfix) with ESMTP id 536FEA81DA
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 19 May 2015 12:38:34 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mfilter8-d.gandi.net
Received: from relay3-d.mail.gandi.net ([217.70.183.195])
	by mfilter8-d.gandi.net (mfilter8-d.gandi.net [10.0.15.180])
	(amavisd-new, port 10024)
	with ESMTP id y4DXORTq-P7q for <mirageos-devel@lists.xenproject.org>;
	Tue, 19 May 2015 12:38:32 +0200 (CEST)
X-Originating-IP: 131.111.184.18
Received: from [172.17.25.190] (global-1-18.nat.csx.cam.ac.uk [131.111.184.18])
	(Authenticated sender: guybrush@somerandomidiot.com)
	by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 8030BA85D0
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 19 May 2015 12:38:31 +0200 (CEST)
Message-ID: <555B125D.7050005@somerandomidiot.com>
Date: Tue, 19 May 2015 11:37:17 +0100
From: Mindy <mindy@somerandomidiot.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: [MirageOS-devel] rfc: irmin + mirageos talk submission
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi folks,

Some of us have put together a talk submission for the OCaml Workshop in 
September (alongside ICFP).  In the ~20 minutes remaining before the 
submission deadline, I'd be happy to hear anyone's feedback on the 
proposal.

General thoughts on the subject would also be welcome, as we have lots 
of time to explore this space and think about what to address in more 
depth if the talk is accepted :)

Proposal below:

It is traditionally challenging to build and debug reliable distributed 
applications due to the difficulty of reasoning about the ordering and 
failure modes of remote communications.  In this talk, we will describe 
an alternative to network simulators and emulators by using several 
OCaml libraries to build a persistent, interactive network stack from 
off-the-shelf OCaml libraries that are present in OPAM.

Irmin (the database that never forgets) presents users with an API 
allowing DVCS-like access to ordinary program data [1].  Using Irmin, we 
can construct data structures that are commonly found in network 
protocols (such as distributed hash tables), and manipulate them across 
nodes via DVCS pull/push/merge operations.

MirageOS [2] is a library operating system written in OCaml where all 
structures are ordinary program data, even ones that normally live deep 
within the kernel in traditional architectures.  Mirage provides a 
network stack that provides a complete TCP/IP implementation, including 
Ethernet, ARP, ICMP, IP, UDP, TCP, and DHCP.

We combine both Irmin and the existing MirageOS stack to build a 
persistent network stack. With Irmin, we can manage updates for 
structures like the ARP cache, which is mutated by both incoming network 
traffic and the passage of time, with clear semantics, history, and 
conflict resolution.  It also becomes possible, through Irmin's sync 
interface or Git filesystem backend, to make this data persistent in a 
consistent and convenient way.

Using Irmin's Git filesystem backend, it's also possible to interact 
with this data with Git tools.  One can, for example, examine the 
history of the cache with `gitk` and observe whether an expiration 
thread is correctly removing old entries on its branch.  It's even 
possible to make edits to the serialized cache data and commit them from 
the command line, resulting in live changes to the cache!

 From an implemented example of an ARP cache, we'll motivate further 
possibilities in more complicated protocols and their related data 
stores, including TCP and its associated state.  We will also discuss 
potential future uses in the context of many MirageOS unikernels running 
in a hypervisor, including coordination that traditionally uses 
broadcast traffic across a local area network.

A fuller blog post series on this work is available online [3].

[1] http://irmin.io
[2] https://mirage.io
[3] 
http://somerandomidiot.com/blog/2015/04/24/what-a-distributed-version-controlled-ARP-cache-gets-you/

Thanks,
Mindy

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 10:38:42 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 10:38:42 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yueuz-0004hP-87; Tue, 19 May 2015 10:38:37 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mindy@somerandomidiot.com>) id 1Yueuy-0004hD-6y
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 10:38:36 +0000
Received: from [85.158.137.68] by server-7.bemta-3.messagelabs.com id
	48/31-03197-BA21B555; Tue, 19 May 2015 10:38:35 +0000
X-Env-Sender: mindy@somerandomidiot.com
X-Msg-Ref: server-12.tower-31.messagelabs.com!1432031914!11780635!1
X-Originating-IP: [217.70.183.195]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogMjE3LjcwLjE4My4xOTUgPT4gMzc4NjI=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 15118 invoked from network); 19 May 2015 10:38:34 -0000
Received: from relay3-d.mail.gandi.net (HELO relay3-d.mail.gandi.net)
	(217.70.183.195)
	by server-12.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 19 May 2015 10:38:34 -0000
Received: from mfilter8-d.gandi.net (mfilter8-d.gandi.net [217.70.178.137])
	by relay3-d.mail.gandi.net (Postfix) with ESMTP id 536FEA81DA
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 19 May 2015 12:38:34 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mfilter8-d.gandi.net
Received: from relay3-d.mail.gandi.net ([217.70.183.195])
	by mfilter8-d.gandi.net (mfilter8-d.gandi.net [10.0.15.180])
	(amavisd-new, port 10024)
	with ESMTP id y4DXORTq-P7q for <mirageos-devel@lists.xenproject.org>;
	Tue, 19 May 2015 12:38:32 +0200 (CEST)
X-Originating-IP: 131.111.184.18
Received: from [172.17.25.190] (global-1-18.nat.csx.cam.ac.uk [131.111.184.18])
	(Authenticated sender: guybrush@somerandomidiot.com)
	by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 8030BA85D0
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 19 May 2015 12:38:31 +0200 (CEST)
Message-ID: <555B125D.7050005@somerandomidiot.com>
Date: Tue, 19 May 2015 11:37:17 +0100
From: Mindy <mindy@somerandomidiot.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: [MirageOS-devel] rfc: irmin + mirageos talk submission
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi folks,

Some of us have put together a talk submission for the OCaml Workshop in 
September (alongside ICFP).  In the ~20 minutes remaining before the 
submission deadline, I'd be happy to hear anyone's feedback on the 
proposal.

General thoughts on the subject would also be welcome, as we have lots 
of time to explore this space and think about what to address in more 
depth if the talk is accepted :)

Proposal below:

It is traditionally challenging to build and debug reliable distributed 
applications due to the difficulty of reasoning about the ordering and 
failure modes of remote communications.  In this talk, we will describe 
an alternative to network simulators and emulators by using several 
OCaml libraries to build a persistent, interactive network stack from 
off-the-shelf OCaml libraries that are present in OPAM.

Irmin (the database that never forgets) presents users with an API 
allowing DVCS-like access to ordinary program data [1].  Using Irmin, we 
can construct data structures that are commonly found in network 
protocols (such as distributed hash tables), and manipulate them across 
nodes via DVCS pull/push/merge operations.

MirageOS [2] is a library operating system written in OCaml where all 
structures are ordinary program data, even ones that normally live deep 
within the kernel in traditional architectures.  Mirage provides a 
network stack that provides a complete TCP/IP implementation, including 
Ethernet, ARP, ICMP, IP, UDP, TCP, and DHCP.

We combine both Irmin and the existing MirageOS stack to build a 
persistent network stack. With Irmin, we can manage updates for 
structures like the ARP cache, which is mutated by both incoming network 
traffic and the passage of time, with clear semantics, history, and 
conflict resolution.  It also becomes possible, through Irmin's sync 
interface or Git filesystem backend, to make this data persistent in a 
consistent and convenient way.

Using Irmin's Git filesystem backend, it's also possible to interact 
with this data with Git tools.  One can, for example, examine the 
history of the cache with `gitk` and observe whether an expiration 
thread is correctly removing old entries on its branch.  It's even 
possible to make edits to the serialized cache data and commit them from 
the command line, resulting in live changes to the cache!

 From an implemented example of an ARP cache, we'll motivate further 
possibilities in more complicated protocols and their related data 
stores, including TCP and its associated state.  We will also discuss 
potential future uses in the context of many MirageOS unikernels running 
in a hypervisor, including coordination that traditionally uses 
broadcast traffic across a local area network.

A fuller blog post series on this work is available online [3].

[1] http://irmin.io
[2] https://mirage.io
[3] 
http://somerandomidiot.com/blog/2015/04/24/what-a-distributed-version-controlled-ARP-cache-gets-you/

Thanks,
Mindy

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 11:49:54 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 11:49:54 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yug1t-0001MR-Q9; Tue, 19 May 2015 11:49:49 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1Yug1s-0001LJ-0t
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 11:49:48 +0000
Received: from [193.109.254.147] by server-11.bemta-14.messagelabs.com id
	91/90-02795-B532B555; Tue, 19 May 2015 11:49:47 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-12.tower-27.messagelabs.com!1432036186!18839016!1
X-Originating-IP: [209.85.212.179]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 11932 invoked from network); 19 May 2015 11:49:46 -0000
Received: from mail-wi0-f179.google.com (HELO mail-wi0-f179.google.com)
	(209.85.212.179)
	by server-12.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	19 May 2015 11:49:46 -0000
Received: by wichy4 with SMTP id hy4so18879699wic.1
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 19 May 2015 04:49:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=8k7bIVXoowhDAU9Qg8gPeXX97BVUIBhYckHc5OEYKWs=;
	b=px/qs11L+/oFR7v73inQg8yHaqMil0kH3kLkHXGvxpQ6Hr7V3csaYtKqfFB4tygcJM
	y5jG44RaRAEAgl4zdQ4Z3fD4BMtDW1RbXeOK9tg++hKSJqUhHRfldlYk8y8eXUvs+IWA
	cLwg+pQ2PeZFdhBDzZPNYO0qdiXBffW4orVqD8fnoOA9+ZdrB1BfNVNZwV9gIZ6iwSnd
	7FO1sjiFOw6/nJLXgDC2jNh98pze14RRlxLmO/NGAp0nBv4XXCAS0kei2S6w5jIFbo63
	cauAJ8ofSA0QVw8Ks6zJTykZwIxJLVit0ix9se0u4Ys6NVojHu5usbGYt9jcSzgedSr+
	zQJg==
X-Received: by 10.194.47.231 with SMTP id g7mr52618892wjn.140.1432036185708;
	Tue, 19 May 2015 04:49:45 -0700 (PDT)
Received: from piana.mac.cl.cam.ac.uk (piana.mac.cl.cam.ac.uk. [128.232.56.38])
	by mx.google.com with ESMTPSA id i6sm21439439wjf.29.2015.05.19.04.49.44
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Tue, 19 May 2015 04:49:44 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <20150519085016.GB10420@nodbug.lucina.net>
Date: Tue, 19 May 2015 12:49:43 +0100
Message-Id: <0671D956-7339-455E-8D07-FCB1BFC47924@gazagnaire.org>
References: <20150519085016.GB10420@nodbug.lucina.net>
To: Martin Lucina <martin@lucina.net>
X-Mailer: Apple Mail (2.2098)
Cc: Anil Madhavapeddy <avsm@recoil.org>,
	Peter Zotov <whitequark@whitequark.org>,
	opam-devel <opam-devel@lists.ocaml.org>,
	mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Cross-compiling OCaml, Mirage OS for rumprun,
	OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi Martin,

> My work in progress OPAM repository is here:
> 
> https://github.com/mato/opam-rumprun
> 
> This is enough to get an OCaml "Hello, World" running on rumprun, and I've
> also tested that the Unix package works as expected. So far so good.

That's really great! Looking forward to use MirageOS on bare metal :p

> However, in order to get Mirage to compile, I need to cross-compile Lwt and
> that does not work as expected:
> 
>    $ OCAMLFIND_TOOLCHAIN=rumprun ocaml setup.ml -configure --prefix /home/mato/.opam/system/x86_64-rumprun-netbsd/ --disable-libev
> 
> Results in:
> 
>    not checking for pkg-config
>    not checking for libev
>    testing for pthread: ........................... unavailable
>    not checking for glib
> 
>    The following recquired C libraries are missing: pthread.
> 
> The reason this happens is that discover.ml is invoking the following
> compile command:
> 
> /home/mato/projects/rumpkernel/rumprun/app-tools/rumprun-xen-cc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -I/usr/include -o /tmp/lwt_stubf12ac7.o -I/home/mato/.opam/system/x86_64-rumprun-netbsd/lib/ocaml /tmp/lwt_stubf12ac7.c
> 
> Note the inclusion of -I/usr/include -- this is presumably there so that
> the system OCaml compiler's headers are available, however it results in a
> conflict between the NetBSD headers provided by rumprun and the system
> headers.
> 
> What can be done to fix the above? Should I be using a host compiler built
> and installed by OPAM rather than the system compiler (4.02.1-1ppa3~precise
> on Debian wheezy). [I'll try this and see if it helps...]

Lwt's discover.ml is unfortunately known to be very ad hoc and often breaks so I am not very surprised. Usually patches to fix it sent upstream are kindly accepted (until someone be brave enough to completely rewrite that file). In the meantime, maybe passing `-use-pthread false` to discover.ml using `./configure --disable-pthread` could help.

> I tried to hack around the problem by using --enable-android-target, that
> causes discover.ml to succeed and the build then proceeds, failing on a
> different problem:
> 
> E: Failure("Expected built file '_build/src/unix/dlllwt-unix_stubs.so' doesn't exist.")
> 
> This is expected; the rumprun toolchain does not support dynamic linking
> and I have configured the ocaml-rumprun compiler with -no-shared-libs. Is
> there some way to tell OASIS to not expect any shared libraries to be
> built?

This is tricky, it requires a mix of ocamlbuild, oasis and oasis hackery. I found http://komar.bitcheese.net/en/howto_link_c_lib_statically_with_ocaml_app which might help.

> 
> General questions:
> 
> 1) Is this the right strategy for building an OCaml cross-compiler and
> integrating with OPAM?
> 
> AFAICS there are multiple approaches being used in the wild and OCaml
> upstream *claims* to include support for cross-compiling via -host and
> -target, however that support is not actually functional?

Where did you see these options? I've seen commits in OCaml trunk to have a better support for cross compilation, not totally sure what it the status of it though. Also, Andy Ray (in /cc) also started a similar effort to cross-compile ocaml to FPGA. I really hope all of this would converge, and that we can add the proper support for it in opam at one pont.

Sorry to not be able to help much, but I think the topic is quite important one but very hard as it will need to be address problems in in the whole toolchain: ocaml, ocamlfind, ocamlbuild, oasis, opam, ... 

> 2) Is there an easy way to switch ocamlc and the various other parts of the
> build system(s) involved into a verbose mode so that I can see what
> compilers are being invoked and why they fail? At the moment I'm using
> `strace' for this :-/

Unfortunately the tools have all separate option for this:

ocamlfind -verbose
ocamlbuild -classic-display
opam <command> -verbose

You can control opam verbosity via an environment variable but I don't think it's possible for the other tools.

Best,
Thomas

> 
> All ideas and help much appreciated,
> 
> Cheers,
> 
> Martin
> 
> [1] http://wiki.rumpkernel.org/Repo%3A-rumprun
> [2] https://github.com/whitequark/opam-android
> 
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 11:49:54 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 11:49:54 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yug1t-0001MR-Q9; Tue, 19 May 2015 11:49:49 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1Yug1s-0001LJ-0t
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 11:49:48 +0000
Received: from [193.109.254.147] by server-11.bemta-14.messagelabs.com id
	91/90-02795-B532B555; Tue, 19 May 2015 11:49:47 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-12.tower-27.messagelabs.com!1432036186!18839016!1
X-Originating-IP: [209.85.212.179]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 11932 invoked from network); 19 May 2015 11:49:46 -0000
Received: from mail-wi0-f179.google.com (HELO mail-wi0-f179.google.com)
	(209.85.212.179)
	by server-12.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	19 May 2015 11:49:46 -0000
Received: by wichy4 with SMTP id hy4so18879699wic.1
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 19 May 2015 04:49:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=8k7bIVXoowhDAU9Qg8gPeXX97BVUIBhYckHc5OEYKWs=;
	b=px/qs11L+/oFR7v73inQg8yHaqMil0kH3kLkHXGvxpQ6Hr7V3csaYtKqfFB4tygcJM
	y5jG44RaRAEAgl4zdQ4Z3fD4BMtDW1RbXeOK9tg++hKSJqUhHRfldlYk8y8eXUvs+IWA
	cLwg+pQ2PeZFdhBDzZPNYO0qdiXBffW4orVqD8fnoOA9+ZdrB1BfNVNZwV9gIZ6iwSnd
	7FO1sjiFOw6/nJLXgDC2jNh98pze14RRlxLmO/NGAp0nBv4XXCAS0kei2S6w5jIFbo63
	cauAJ8ofSA0QVw8Ks6zJTykZwIxJLVit0ix9se0u4Ys6NVojHu5usbGYt9jcSzgedSr+
	zQJg==
X-Received: by 10.194.47.231 with SMTP id g7mr52618892wjn.140.1432036185708;
	Tue, 19 May 2015 04:49:45 -0700 (PDT)
Received: from piana.mac.cl.cam.ac.uk (piana.mac.cl.cam.ac.uk. [128.232.56.38])
	by mx.google.com with ESMTPSA id i6sm21439439wjf.29.2015.05.19.04.49.44
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Tue, 19 May 2015 04:49:44 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <20150519085016.GB10420@nodbug.lucina.net>
Date: Tue, 19 May 2015 12:49:43 +0100
Message-Id: <0671D956-7339-455E-8D07-FCB1BFC47924@gazagnaire.org>
References: <20150519085016.GB10420@nodbug.lucina.net>
To: Martin Lucina <martin@lucina.net>
X-Mailer: Apple Mail (2.2098)
Cc: Anil Madhavapeddy <avsm@recoil.org>,
	Peter Zotov <whitequark@whitequark.org>,
	opam-devel <opam-devel@lists.ocaml.org>,
	mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Cross-compiling OCaml, Mirage OS for rumprun,
	OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi Martin,

> My work in progress OPAM repository is here:
> 
> https://github.com/mato/opam-rumprun
> 
> This is enough to get an OCaml "Hello, World" running on rumprun, and I've
> also tested that the Unix package works as expected. So far so good.

That's really great! Looking forward to use MirageOS on bare metal :p

> However, in order to get Mirage to compile, I need to cross-compile Lwt and
> that does not work as expected:
> 
>    $ OCAMLFIND_TOOLCHAIN=rumprun ocaml setup.ml -configure --prefix /home/mato/.opam/system/x86_64-rumprun-netbsd/ --disable-libev
> 
> Results in:
> 
>    not checking for pkg-config
>    not checking for libev
>    testing for pthread: ........................... unavailable
>    not checking for glib
> 
>    The following recquired C libraries are missing: pthread.
> 
> The reason this happens is that discover.ml is invoking the following
> compile command:
> 
> /home/mato/projects/rumpkernel/rumprun/app-tools/rumprun-xen-cc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -I/usr/include -o /tmp/lwt_stubf12ac7.o -I/home/mato/.opam/system/x86_64-rumprun-netbsd/lib/ocaml /tmp/lwt_stubf12ac7.c
> 
> Note the inclusion of -I/usr/include -- this is presumably there so that
> the system OCaml compiler's headers are available, however it results in a
> conflict between the NetBSD headers provided by rumprun and the system
> headers.
> 
> What can be done to fix the above? Should I be using a host compiler built
> and installed by OPAM rather than the system compiler (4.02.1-1ppa3~precise
> on Debian wheezy). [I'll try this and see if it helps...]

Lwt's discover.ml is unfortunately known to be very ad hoc and often breaks so I am not very surprised. Usually patches to fix it sent upstream are kindly accepted (until someone be brave enough to completely rewrite that file). In the meantime, maybe passing `-use-pthread false` to discover.ml using `./configure --disable-pthread` could help.

> I tried to hack around the problem by using --enable-android-target, that
> causes discover.ml to succeed and the build then proceeds, failing on a
> different problem:
> 
> E: Failure("Expected built file '_build/src/unix/dlllwt-unix_stubs.so' doesn't exist.")
> 
> This is expected; the rumprun toolchain does not support dynamic linking
> and I have configured the ocaml-rumprun compiler with -no-shared-libs. Is
> there some way to tell OASIS to not expect any shared libraries to be
> built?

This is tricky, it requires a mix of ocamlbuild, oasis and oasis hackery. I found http://komar.bitcheese.net/en/howto_link_c_lib_statically_with_ocaml_app which might help.

> 
> General questions:
> 
> 1) Is this the right strategy for building an OCaml cross-compiler and
> integrating with OPAM?
> 
> AFAICS there are multiple approaches being used in the wild and OCaml
> upstream *claims* to include support for cross-compiling via -host and
> -target, however that support is not actually functional?

Where did you see these options? I've seen commits in OCaml trunk to have a better support for cross compilation, not totally sure what it the status of it though. Also, Andy Ray (in /cc) also started a similar effort to cross-compile ocaml to FPGA. I really hope all of this would converge, and that we can add the proper support for it in opam at one pont.

Sorry to not be able to help much, but I think the topic is quite important one but very hard as it will need to be address problems in in the whole toolchain: ocaml, ocamlfind, ocamlbuild, oasis, opam, ... 

> 2) Is there an easy way to switch ocamlc and the various other parts of the
> build system(s) involved into a verbose mode so that I can see what
> compilers are being invoked and why they fail? At the moment I'm using
> `strace' for this :-/

Unfortunately the tools have all separate option for this:

ocamlfind -verbose
ocamlbuild -classic-display
opam <command> -verbose

You can control opam verbosity via an environment variable but I don't think it's possible for the other tools.

Best,
Thomas

> 
> All ideas and help much appreciated,
> 
> Cheers,
> 
> Martin
> 
> [1] http://wiki.rumpkernel.org/Repo%3A-rumprun
> [2] https://github.com/whitequark/opam-android
> 
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 11:50:45 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 11:50:45 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yug2m-0001TA-VK; Tue, 19 May 2015 11:50:44 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <whitequark@whitequark.org>) id 1YufOV-0007TA-Aw
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 11:09:07 +0000
Received: from [85.158.139.211] by server-5.bemta-5.messagelabs.com id
	24/3C-03224-2D91B555; Tue, 19 May 2015 11:09:06 +0000
X-Env-Sender: whitequark@whitequark.org
X-Msg-Ref: server-14.tower-206.messagelabs.com!1432033744!5787291!1
X-Originating-IP: [176.58.103.125]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 23273 invoked from network); 19 May 2015 11:09:04 -0000
Received: from fehu.whitequark.org (HELO mail.whitequark.org) (176.58.103.125)
	by server-14.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 19 May 2015 11:09:04 -0000
Received: by mail.whitequark.org (Postfix, from userid 33)
	id E248111F2A2; Tue, 19 May 2015 11:09:03 +0000 (UTC)
To: mirageos-devel@lists.xenproject.org, opam-devel@lists.ocaml.org,
	Anil  Madhavapeddy <avsm@recoil.org>,
	Peter Zotov <whitequark@whitequark.org>
X-PHP-Originating-Script: 1000:rcube.php
MIME-Version: 1.0
Date: Tue, 19 May 2015 14:09:03 +0300
From: Peter Zotov <whitequark@whitequark.org>
In-Reply-To: <20150519085016.GB10420@nodbug.lucina.net>
References: <20150519085016.GB10420@nodbug.lucina.net>
Message-ID: <ead9b8457cfa0007dd71c32655cc6bf1@whitequark.org>
X-Sender: whitequark@whitequark.org
User-Agent: Roundcube Webmail/1.1.0
X-Mailman-Approved-At: Tue, 19 May 2015 11:50:43 +0000
Subject: Re: [MirageOS-devel] Cross-compiling OCaml, Mirage OS for rumprun,
	OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 2015-05-19 11:50, Martin Lucina wrote:
> Rumprun provides a unikernel stack with a POSIXy (NetBSD-HEAD) 
> userspace
> and can run on Xen, QEMU/KVM, bare metal and POSIX userspace.  The
> resulting Mirage + rumprun unikernel will thus be able to run on all of 
> the
> platforms rumprun supports.

Nice!

>     $ OCAMLFIND_TOOLCHAIN=rumprun ocaml setup.ml -configure --prefix
> /home/mato/.opam/system/x86_64-rumprun-netbsd/ --disable-libev
> 
> Results in:
> 
>     not checking for pkg-config
>     not checking for libev
>     testing for pthread: ........................... unavailable
>     not checking for glib
> 
>     The following recquired C libraries are missing: pthread.
> 
> The reason this happens is that discover.ml is invoking the following
> compile command:
> 
> /home/mato/projects/rumpkernel/rumprun/app-tools/rumprun-xen-cc
> -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c
> -I/usr/include -o /tmp/lwt_stubf12ac7.o
> -I/home/mato/.opam/system/x86_64-rumprun-netbsd/lib/ocaml
> /tmp/lwt_stubf12ac7.c
> 
> Note the inclusion of -I/usr/include -- this is presumably there so 
> that
> the system OCaml compiler's headers are available, however it results 
> in a
> conflict between the NetBSD headers provided by rumprun and the system
> headers.
> 
> What can be done to fix the above? Should I be using a host compiler 
> built
> and installed by OPAM rather than the system compiler 
> (4.02.1-1ppa3~precise
> on Debian wheezy). [I'll try this and see if it helps...]

No. This is an issue with Lwt's discover.ml script. You're going in
the right direction below, though using --enable-android-target
for this is a bit awkward.

> 
> I tried to hack around the problem by using --enable-android-target, 
> that
> causes discover.ml to succeed and the build then proceeds, failing on a
> different problem:
> 
> E: Failure("Expected built file '_build/src/unix/dlllwt-unix_stubs.so'
> doesn't exist.")
> 
> This is expected; the rumprun toolchain does not support dynamic 
> linking
> and I have configured the ocaml-rumprun compiler with -no-shared-libs. 
> Is
> there some way to tell OASIS to not expect any shared libraries to be
> built?

Nope. OASIS is painfully inflexible, especially when cross-compiling.
You can probably patch setup.ml so that it thinks that the current
OCaml is built without dynlink, but this is package-specific.

> 
> General questions:
> 
> 1) Is this the right strategy for building an OCaml cross-compiler and
> integrating with OPAM?
> 
> AFAICS there are multiple approaches being used in the wild and OCaml
> upstream *claims* to include support for cross-compiling via -host and
> -target, however that support is not actually functional?

Cross-compiling is not there yet. The switches are only half functional,
if you're lucky.

> 
> For the rumprun support to be as user-friendly as possible, we need an 
> easy
> way of switching the backend rumprun cross-compiler and linker used by
> ocaml when the user wants to switch platforms or architectures. The
> approach used by the android repository I based my work off implies 
> either:
> 
> a) the user would have to *reinstall* the cross compiler (specifying 
> eg.
> RUMPRUN_CC in the environment) and all packages using native code 
> whenever
> they want to switch the backend compiler.

Correct. This is what opam-android uses.

> 
> b) we would have to provide different opam packages of the compiler and
> native libraries (Lwt) for each platform/arch combination supported by
> rumprun. This is unmanageable.

This could be done with a script (horrible but functional).

There was some talk over teaching OPAM that one package might be 
installed
in several 'variants', but there is no code to do that yet at all, and 
it
will probably be a substantial amount of work to integrate this with
the dependency solver.

opam-android would /greatly/ benefit from that as well, for much
the same reasons.

> 
> 2) Is there an easy way to switch ocamlc and the various other parts of 
> the
> build system(s) involved into a verbose mode so that I can see what
> compilers are being invoked and why they fail? At the moment I'm using
> `strace' for this :-/

ocamlfind c -verbose; ocamlc -verbose

> 
> All ideas and help much appreciated,
> 
> Cheers,
> 
> Martin
> 
> [1] http://wiki.rumpkernel.org/Repo%3A-rumprun
> [2] https://github.com/whitequark/opam-android

-- 
Peter Zotov

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 11:50:45 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 11:50:45 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yug2m-0001TA-VK; Tue, 19 May 2015 11:50:44 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <whitequark@whitequark.org>) id 1YufOV-0007TA-Aw
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 11:09:07 +0000
Received: from [85.158.139.211] by server-5.bemta-5.messagelabs.com id
	24/3C-03224-2D91B555; Tue, 19 May 2015 11:09:06 +0000
X-Env-Sender: whitequark@whitequark.org
X-Msg-Ref: server-14.tower-206.messagelabs.com!1432033744!5787291!1
X-Originating-IP: [176.58.103.125]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 23273 invoked from network); 19 May 2015 11:09:04 -0000
Received: from fehu.whitequark.org (HELO mail.whitequark.org) (176.58.103.125)
	by server-14.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 19 May 2015 11:09:04 -0000
Received: by mail.whitequark.org (Postfix, from userid 33)
	id E248111F2A2; Tue, 19 May 2015 11:09:03 +0000 (UTC)
To: mirageos-devel@lists.xenproject.org, opam-devel@lists.ocaml.org,
	Anil  Madhavapeddy <avsm@recoil.org>,
	Peter Zotov <whitequark@whitequark.org>
X-PHP-Originating-Script: 1000:rcube.php
MIME-Version: 1.0
Date: Tue, 19 May 2015 14:09:03 +0300
From: Peter Zotov <whitequark@whitequark.org>
In-Reply-To: <20150519085016.GB10420@nodbug.lucina.net>
References: <20150519085016.GB10420@nodbug.lucina.net>
Message-ID: <ead9b8457cfa0007dd71c32655cc6bf1@whitequark.org>
X-Sender: whitequark@whitequark.org
User-Agent: Roundcube Webmail/1.1.0
X-Mailman-Approved-At: Tue, 19 May 2015 11:50:43 +0000
Subject: Re: [MirageOS-devel] Cross-compiling OCaml, Mirage OS for rumprun,
	OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 2015-05-19 11:50, Martin Lucina wrote:
> Rumprun provides a unikernel stack with a POSIXy (NetBSD-HEAD) 
> userspace
> and can run on Xen, QEMU/KVM, bare metal and POSIX userspace.  The
> resulting Mirage + rumprun unikernel will thus be able to run on all of 
> the
> platforms rumprun supports.

Nice!

>     $ OCAMLFIND_TOOLCHAIN=rumprun ocaml setup.ml -configure --prefix
> /home/mato/.opam/system/x86_64-rumprun-netbsd/ --disable-libev
> 
> Results in:
> 
>     not checking for pkg-config
>     not checking for libev
>     testing for pthread: ........................... unavailable
>     not checking for glib
> 
>     The following recquired C libraries are missing: pthread.
> 
> The reason this happens is that discover.ml is invoking the following
> compile command:
> 
> /home/mato/projects/rumpkernel/rumprun/app-tools/rumprun-xen-cc
> -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c
> -I/usr/include -o /tmp/lwt_stubf12ac7.o
> -I/home/mato/.opam/system/x86_64-rumprun-netbsd/lib/ocaml
> /tmp/lwt_stubf12ac7.c
> 
> Note the inclusion of -I/usr/include -- this is presumably there so 
> that
> the system OCaml compiler's headers are available, however it results 
> in a
> conflict between the NetBSD headers provided by rumprun and the system
> headers.
> 
> What can be done to fix the above? Should I be using a host compiler 
> built
> and installed by OPAM rather than the system compiler 
> (4.02.1-1ppa3~precise
> on Debian wheezy). [I'll try this and see if it helps...]

No. This is an issue with Lwt's discover.ml script. You're going in
the right direction below, though using --enable-android-target
for this is a bit awkward.

> 
> I tried to hack around the problem by using --enable-android-target, 
> that
> causes discover.ml to succeed and the build then proceeds, failing on a
> different problem:
> 
> E: Failure("Expected built file '_build/src/unix/dlllwt-unix_stubs.so'
> doesn't exist.")
> 
> This is expected; the rumprun toolchain does not support dynamic 
> linking
> and I have configured the ocaml-rumprun compiler with -no-shared-libs. 
> Is
> there some way to tell OASIS to not expect any shared libraries to be
> built?

Nope. OASIS is painfully inflexible, especially when cross-compiling.
You can probably patch setup.ml so that it thinks that the current
OCaml is built without dynlink, but this is package-specific.

> 
> General questions:
> 
> 1) Is this the right strategy for building an OCaml cross-compiler and
> integrating with OPAM?
> 
> AFAICS there are multiple approaches being used in the wild and OCaml
> upstream *claims* to include support for cross-compiling via -host and
> -target, however that support is not actually functional?

Cross-compiling is not there yet. The switches are only half functional,
if you're lucky.

> 
> For the rumprun support to be as user-friendly as possible, we need an 
> easy
> way of switching the backend rumprun cross-compiler and linker used by
> ocaml when the user wants to switch platforms or architectures. The
> approach used by the android repository I based my work off implies 
> either:
> 
> a) the user would have to *reinstall* the cross compiler (specifying 
> eg.
> RUMPRUN_CC in the environment) and all packages using native code 
> whenever
> they want to switch the backend compiler.

Correct. This is what opam-android uses.

> 
> b) we would have to provide different opam packages of the compiler and
> native libraries (Lwt) for each platform/arch combination supported by
> rumprun. This is unmanageable.

This could be done with a script (horrible but functional).

There was some talk over teaching OPAM that one package might be 
installed
in several 'variants', but there is no code to do that yet at all, and 
it
will probably be a substantial amount of work to integrate this with
the dependency solver.

opam-android would /greatly/ benefit from that as well, for much
the same reasons.

> 
> 2) Is there an easy way to switch ocamlc and the various other parts of 
> the
> build system(s) involved into a verbose mode so that I can see what
> compilers are being invoked and why they fail? At the moment I'm using
> `strace' for this :-/

ocamlfind c -verbose; ocamlc -verbose

> 
> All ideas and help much appreciated,
> 
> Cheers,
> 
> Martin
> 
> [1] http://wiki.rumpkernel.org/Repo%3A-rumprun
> [2] https://github.com/whitequark/opam-android

-- 
Peter Zotov

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 13:58:08 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 13:58:08 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yui1v-0003IZ-8A; Tue, 19 May 2015 13:57:59 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <martin@lucina.net>) id 1Yui1t-0003IL-Vl
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 13:57:58 +0000
Received: from [193.109.254.147] by server-3.bemta-14.messagelabs.com id
	56/77-03032-5614B555; Tue, 19 May 2015 13:57:57 +0000
X-Env-Sender: martin@lucina.net
X-Msg-Ref: server-14.tower-27.messagelabs.com!1432043876!18882689!1
X-Originating-IP: [62.176.169.44]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 24920 invoked from network); 19 May 2015 13:57:56 -0000
Received: from smtp.lucina.net (HELO smtp.lucina.net) (62.176.169.44)
	by server-14.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 19 May 2015 13:57:56 -0000
Received: from nodbug.lucina.net (chello089173222227.chello.sk
	[89.173.222.227])
	by smtp.lucina.net (Postfix) with ESMTPSA id 08E55122811;
	Tue, 19 May 2015 15:57:09 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucina.net;
	s=dkim-201309; t=1432043829;
	bh=YJ4KYn/gHhurhF+eiI5ZdwKTUgoNC2gJsKxrwiPCeY0=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
	b=S16RfIP9G721xfDCOYOpKzC4TuA5z7F1REaSj13Hy1rdo7OizOBOk3kWYGP41xgW5
	Bd3drVDuox7b4+ArwZ+ha0kIROTMSPleEmqMlXbOPL23azzPPIxXGvdYUixGfQuInh
	gYrS1uE2SUqoGYMdjdDuEDET3kilOaQAQT80Qq2v8YaSN1iKqMv9r/q888fvYxYpCX
	hrHpHuCmLA5yM5Jd7V1++Vmm9srbSLqraO0IQRZO7fWUbGQW9T/Bf9L61pF2tE2Epr
	G3xIXyovM6ASfg+egK6XO2z2Aj2tWOwY3d53hUMCl1qa6bZsyHjTsrnO/Kmd8o+Yh+
	48X5RO85g5SMA==
Received: by nodbug.lucina.net (Postfix, from userid 1000)
	id C8FED4C0E2C; Tue, 19 May 2015 15:58:07 +0200 (CEST)
Date: Tue, 19 May 2015 15:58:07 +0200
From: Martin Lucina <martin@lucina.net>
To: Peter Zotov <whitequark@whitequark.org>
Message-ID: <20150519135807.GD10420@nodbug.lucina.net>
Mail-Followup-To: Peter Zotov <whitequark@whitequark.org>,
	mirageos-devel@lists.xenproject.org, opam-devel@lists.ocaml.org,
	Anil Madhavapeddy <avsm@recoil.org>
References: <20150519085016.GB10420@nodbug.lucina.net>
	<ead9b8457cfa0007dd71c32655cc6bf1@whitequark.org>
MIME-Version: 1.0
Content-Length: 3777
Content-Disposition: inline
In-Reply-To: <ead9b8457cfa0007dd71c32655cc6bf1@whitequark.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: Anil Madhavapeddy <avsm@recoil.org>, opam-devel@lists.ocaml.org,
	mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Cross-compiling OCaml, Mirage OS for rumprun,
 OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On Tuesday, 19.05.2015 at=A014:09, Peter Zotov wrote:
> >What can be done to fix the above? Should I be using a host
> >compiler built
> >and installed by OPAM rather than the system compiler
> >(4.02.1-1ppa3~precise
> >on Debian wheezy). [I'll try this and see if it helps...]
> =

> No. This is an issue with Lwt's discover.ml script. You're going in
> the right direction below, though using --enable-android-target
> for this is a bit awkward.

I'll see what I can do to fix discover.ml better, but given that I know
almost no OCaml it might take a while.

> =

> >
> >I tried to hack around the problem by using
> >--enable-android-target, that
> >causes discover.ml to succeed and the build then proceeds, failing on a
> >different problem:
> >
> >E: Failure("Expected built file '_build/src/unix/dlllwt-unix_stubs.so'
> >doesn't exist.")
> >
> >This is expected; the rumprun toolchain does not support dynamic
> >linking
> >and I have configured the ocaml-rumprun compiler with
> >-no-shared-libs. Is
> >there some way to tell OASIS to not expect any shared libraries to be
> >built?
> =

> Nope. OASIS is painfully inflexible, especially when cross-compiling.
> You can probably patch setup.ml so that it thinks that the current
> OCaml is built without dynlink, but this is package-specific.

Turns out it's a two-line patch, at least in the case of Lwt:

https://github.com/mato/opam-rumprun/commit/3d3a9f0b46a21370c7b619e14cbfdde=
c90acf433

> >AFAICS there are multiple approaches being used in the wild and OCaml
> >upstream *claims* to include support for cross-compiling via -host and
> >-target, however that support is not actually functional?
> =

> Cross-compiling is not there yet. The switches are only half functional,
> if you're lucky.

Yeah, I figured that out after battling with it for a day or so, then found
your patches which mostly[*] worked.

[*: It seems that the Github mirror at ocaml/ocaml is a bit slow, I was
going to write about how I couldn't get your 4.02.02 compiler package to
work without patches, but it looks like the commit for PR#6266 has landed
on Github now, couldn't see it yesterday.]

> >For the rumprun support to be as user-friendly as possible, we
> >need an easy
> >way of switching the backend rumprun cross-compiler and linker used by
> >ocaml when the user wants to switch platforms or architectures. The
> >approach used by the android repository I based my work off
> >implies either:
> >
> >a) the user would have to *reinstall* the cross compiler
> >(specifying eg.
> >RUMPRUN_CC in the environment) and all packages using native code
> >whenever
> >they want to switch the backend compiler.
> =

> Correct. This is what opam-android uses.

And, as I just found out now, it's not just the native packages, it's *all*
packages that need to be rebuilt. So, for Mirage I'd have to produce
-rumprun variants of all its dependent packages, right? This would include
teaching the "mirage configure" script about them.

This begs the question, why did you use the approach of building the
cross-compiler as a normal OPAM package, rather than as a compiler package?

If I understand correctly how "OPAM switch" works, then the latter option
would at least get rid of the need to deal with the -android (or -rumprun)
renaming of packages since each compiler has its own set of packages.

Obviously, there'd still have to be some way of getting
the OCAMLFIND_TOOLCHAIN and/or other cross-compilation patches into the
system but at first glance it seems like it would be more flexible than
adding suffixes to package names.

Thoughts?

Martin

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 13:58:08 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 13:58:08 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yui1v-0003IZ-8A; Tue, 19 May 2015 13:57:59 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <martin@lucina.net>) id 1Yui1t-0003IL-Vl
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 13:57:58 +0000
Received: from [193.109.254.147] by server-3.bemta-14.messagelabs.com id
	56/77-03032-5614B555; Tue, 19 May 2015 13:57:57 +0000
X-Env-Sender: martin@lucina.net
X-Msg-Ref: server-14.tower-27.messagelabs.com!1432043876!18882689!1
X-Originating-IP: [62.176.169.44]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 24920 invoked from network); 19 May 2015 13:57:56 -0000
Received: from smtp.lucina.net (HELO smtp.lucina.net) (62.176.169.44)
	by server-14.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 19 May 2015 13:57:56 -0000
Received: from nodbug.lucina.net (chello089173222227.chello.sk
	[89.173.222.227])
	by smtp.lucina.net (Postfix) with ESMTPSA id 08E55122811;
	Tue, 19 May 2015 15:57:09 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucina.net;
	s=dkim-201309; t=1432043829;
	bh=YJ4KYn/gHhurhF+eiI5ZdwKTUgoNC2gJsKxrwiPCeY0=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
	b=S16RfIP9G721xfDCOYOpKzC4TuA5z7F1REaSj13Hy1rdo7OizOBOk3kWYGP41xgW5
	Bd3drVDuox7b4+ArwZ+ha0kIROTMSPleEmqMlXbOPL23azzPPIxXGvdYUixGfQuInh
	gYrS1uE2SUqoGYMdjdDuEDET3kilOaQAQT80Qq2v8YaSN1iKqMv9r/q888fvYxYpCX
	hrHpHuCmLA5yM5Jd7V1++Vmm9srbSLqraO0IQRZO7fWUbGQW9T/Bf9L61pF2tE2Epr
	G3xIXyovM6ASfg+egK6XO2z2Aj2tWOwY3d53hUMCl1qa6bZsyHjTsrnO/Kmd8o+Yh+
	48X5RO85g5SMA==
Received: by nodbug.lucina.net (Postfix, from userid 1000)
	id C8FED4C0E2C; Tue, 19 May 2015 15:58:07 +0200 (CEST)
Date: Tue, 19 May 2015 15:58:07 +0200
From: Martin Lucina <martin@lucina.net>
To: Peter Zotov <whitequark@whitequark.org>
Message-ID: <20150519135807.GD10420@nodbug.lucina.net>
Mail-Followup-To: Peter Zotov <whitequark@whitequark.org>,
	mirageos-devel@lists.xenproject.org, opam-devel@lists.ocaml.org,
	Anil Madhavapeddy <avsm@recoil.org>
References: <20150519085016.GB10420@nodbug.lucina.net>
	<ead9b8457cfa0007dd71c32655cc6bf1@whitequark.org>
MIME-Version: 1.0
Content-Length: 3777
Content-Disposition: inline
In-Reply-To: <ead9b8457cfa0007dd71c32655cc6bf1@whitequark.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: Anil Madhavapeddy <avsm@recoil.org>, opam-devel@lists.ocaml.org,
	mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Cross-compiling OCaml, Mirage OS for rumprun,
 OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On Tuesday, 19.05.2015 at=A014:09, Peter Zotov wrote:
> >What can be done to fix the above? Should I be using a host
> >compiler built
> >and installed by OPAM rather than the system compiler
> >(4.02.1-1ppa3~precise
> >on Debian wheezy). [I'll try this and see if it helps...]
> =

> No. This is an issue with Lwt's discover.ml script. You're going in
> the right direction below, though using --enable-android-target
> for this is a bit awkward.

I'll see what I can do to fix discover.ml better, but given that I know
almost no OCaml it might take a while.

> =

> >
> >I tried to hack around the problem by using
> >--enable-android-target, that
> >causes discover.ml to succeed and the build then proceeds, failing on a
> >different problem:
> >
> >E: Failure("Expected built file '_build/src/unix/dlllwt-unix_stubs.so'
> >doesn't exist.")
> >
> >This is expected; the rumprun toolchain does not support dynamic
> >linking
> >and I have configured the ocaml-rumprun compiler with
> >-no-shared-libs. Is
> >there some way to tell OASIS to not expect any shared libraries to be
> >built?
> =

> Nope. OASIS is painfully inflexible, especially when cross-compiling.
> You can probably patch setup.ml so that it thinks that the current
> OCaml is built without dynlink, but this is package-specific.

Turns out it's a two-line patch, at least in the case of Lwt:

https://github.com/mato/opam-rumprun/commit/3d3a9f0b46a21370c7b619e14cbfdde=
c90acf433

> >AFAICS there are multiple approaches being used in the wild and OCaml
> >upstream *claims* to include support for cross-compiling via -host and
> >-target, however that support is not actually functional?
> =

> Cross-compiling is not there yet. The switches are only half functional,
> if you're lucky.

Yeah, I figured that out after battling with it for a day or so, then found
your patches which mostly[*] worked.

[*: It seems that the Github mirror at ocaml/ocaml is a bit slow, I was
going to write about how I couldn't get your 4.02.02 compiler package to
work without patches, but it looks like the commit for PR#6266 has landed
on Github now, couldn't see it yesterday.]

> >For the rumprun support to be as user-friendly as possible, we
> >need an easy
> >way of switching the backend rumprun cross-compiler and linker used by
> >ocaml when the user wants to switch platforms or architectures. The
> >approach used by the android repository I based my work off
> >implies either:
> >
> >a) the user would have to *reinstall* the cross compiler
> >(specifying eg.
> >RUMPRUN_CC in the environment) and all packages using native code
> >whenever
> >they want to switch the backend compiler.
> =

> Correct. This is what opam-android uses.

And, as I just found out now, it's not just the native packages, it's *all*
packages that need to be rebuilt. So, for Mirage I'd have to produce
-rumprun variants of all its dependent packages, right? This would include
teaching the "mirage configure" script about them.

This begs the question, why did you use the approach of building the
cross-compiler as a normal OPAM package, rather than as a compiler package?

If I understand correctly how "OPAM switch" works, then the latter option
would at least get rid of the need to deal with the -android (or -rumprun)
renaming of packages since each compiler has its own set of packages.

Obviously, there'd still have to be some way of getting
the OCAMLFIND_TOOLCHAIN and/or other cross-compilation patches into the
system but at first glance it seems like it would be more flexible than
adding suffixes to package names.

Thoughts?

Martin

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 14:12:45 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 14:12:45 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YuiGA-0004eq-Fz; Tue, 19 May 2015 14:12:42 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <martin@lucina.net>) id 1YuiG9-0004ej-Eo
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 14:12:41 +0000
Received: from [85.158.139.211] by server-6.bemta-5.messagelabs.com id
	16/B5-03219-8D44B555; Tue, 19 May 2015 14:12:40 +0000
X-Env-Sender: martin@lucina.net
X-Msg-Ref: server-9.tower-206.messagelabs.com!1432044759!11254279!1
X-Originating-IP: [62.176.169.44]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 5308 invoked from network); 19 May 2015 14:12:39 -0000
Received: from smtp.lucina.net (HELO smtp.lucina.net) (62.176.169.44)
	by server-9.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 19 May 2015 14:12:39 -0000
Received: from nodbug.lucina.net (chello089173222227.chello.sk
	[89.173.222.227])
	by smtp.lucina.net (Postfix) with ESMTPSA id 7D1D7122811;
	Tue, 19 May 2015 16:11:52 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucina.net;
	s=dkim-201309; t=1432044712;
	bh=URBixM5tzzan7ZaJ+Loc2tenE9rK6iuNBY8S3eTz7ls=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
	b=XxL4lJdSSWTzYAklN7pXgCycpMoKL7mEDGd0wfFFHS/H6coemnpv6aEoLTe+wVhue
	IWh/5cCXb1ZoeQsICFR2kBUg2fzf48u2hd3OSL5ot6YXH/D/knCKOsLM5rOJEY+Xhq
	fU5OYpuQPRSteeLexbSl/xSWpJbR6kKcV8lp+pnrsleekrkMA0nUrODpkaS502i2Qk
	qglpJHaVcvs2PsShM16nbIK8v4pdBwXD66Jrsbi+zgiaVrv9OzqPATDFNUXkZc2FpH
	6ptXojIokAWnZ5DgvY1NOtShkZ2lEo4TqU6MWCeBLiLsr+WV1GGtzdWiPKPu0dVhV0
	kaymxUOZhpi9A==
Received: by nodbug.lucina.net (Postfix, from userid 1000)
	id 4C7D94C0E2C; Tue, 19 May 2015 16:12:51 +0200 (CEST)
Date: Tue, 19 May 2015 16:12:51 +0200
From: Martin Lucina <martin@lucina.net>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
Message-ID: <20150519141251.GF10420@nodbug.lucina.net>
Mail-Followup-To: Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <mirageos-devel@lists.xenproject.org>,
	Peter Zotov <whitequark@whitequark.org>,
	opam-devel <opam-devel@lists.ocaml.org>,
	Anil Madhavapeddy <avsm@recoil.org>,
	Andy Ray <andy.ray@ujamjar.com>
References: <20150519085016.GB10420@nodbug.lucina.net>
	<0671D956-7339-455E-8D07-FCB1BFC47924@gazagnaire.org>
MIME-Version: 1.0
Content-Length: 2823
Content-Disposition: inline
In-Reply-To: <0671D956-7339-455E-8D07-FCB1BFC47924@gazagnaire.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: Anil Madhavapeddy <avsm@recoil.org>,
	Peter Zotov <whitequark@whitequark.org>,
	opam-devel <opam-devel@lists.ocaml.org>,
	mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Cross-compiling OCaml, Mirage OS for rumprun,
 OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi Thomas,

On Tuesday, 19.05.2015 at=A012:49, Thomas Gazagnaire wrote:
> Lwt's discover.ml is unfortunately known to be very ad hoc and often brea=
ks so I am not very surprised. Usually patches to fix it sent upstream are =
kindly accepted (until someone be brave enough to completely rewrite that f=
ile). In the meantime, maybe passing `-use-pthread false` to discover.ml us=
ing `./configure --disable-pthread` could help.

I can't disable pthread since that would leave it with no threading engine
at all. As I wrote in my reply to Peter, I'll try and hack around the
problem, or just abuse --enable-android-target for now.

> > This is expected; the rumprun toolchain does not support dynamic linking
> > and I have configured the ocaml-rumprun compiler with -no-shared-libs. =
Is
> > there some way to tell OASIS to not expect any shared libraries to be
> > built?
> =

> This is tricky, it requires a mix of ocamlbuild, oasis and oasis hackery.=
 I found http://komar.bitcheese.net/en/howto_link_c_lib_statically_with_oca=
ml_app which might help.

The problem is not telling the OCaml compiler not to build shared
libraries, the cross compiler already knows not to do that. It's telling
OASIS about the fact that the OCaml compiler it's using will not build
shared libraries.

> Where did you see these options? I've seen commits in OCaml trunk to have
> a better support for cross compilation, not totally sure what it the
> status of it though. Also, Andy Ray (in /cc) also started a similar
> effort to cross-compile ocaml to FPGA. I really hope all of this would
> converge, and that we can add the proper support for it in opam at one
> pont.

They are mentioned in the INSTALL file as early as OCaml 4.02.01, however
as Peter confirmed they don't actually work without extra patches. What
I've done is run OCaml configure on a NetBSD box and then hand-edited the
result, and patched the 4.02.01 compiler with Peter's cross-compiling patch
(https://github.com/whitequark/opam-android/blob/master/packages/ocaml-andr=
oid32.4.02.1/files/patches/0002-Add-crude-cross-compiling-support.patch)

In theory PR#6266 (https://github.com/ocaml/ocaml/commit/c1e26ad14aec62cefe=
3d5fb24cf8702caa39db2b) might fix these options to let me run OCaml configu=
re directly against the rumprun cross compiler but I've not tried yet.

> Sorry to not be able to help much, but I think the topic is quite importa=
nt one but very hard as it will need to be address problems in in the whole=
 toolchain: ocaml, ocamlfind, ocamlbuild, oasis, opam, ... =


No problem, thanks for your input. I'm sure with enough persistence we'll
get there.

Martin

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 14:12:45 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 14:12:45 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YuiGA-0004eq-Fz; Tue, 19 May 2015 14:12:42 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <martin@lucina.net>) id 1YuiG9-0004ej-Eo
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 14:12:41 +0000
Received: from [85.158.139.211] by server-6.bemta-5.messagelabs.com id
	16/B5-03219-8D44B555; Tue, 19 May 2015 14:12:40 +0000
X-Env-Sender: martin@lucina.net
X-Msg-Ref: server-9.tower-206.messagelabs.com!1432044759!11254279!1
X-Originating-IP: [62.176.169.44]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 5308 invoked from network); 19 May 2015 14:12:39 -0000
Received: from smtp.lucina.net (HELO smtp.lucina.net) (62.176.169.44)
	by server-9.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 19 May 2015 14:12:39 -0000
Received: from nodbug.lucina.net (chello089173222227.chello.sk
	[89.173.222.227])
	by smtp.lucina.net (Postfix) with ESMTPSA id 7D1D7122811;
	Tue, 19 May 2015 16:11:52 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucina.net;
	s=dkim-201309; t=1432044712;
	bh=URBixM5tzzan7ZaJ+Loc2tenE9rK6iuNBY8S3eTz7ls=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
	b=XxL4lJdSSWTzYAklN7pXgCycpMoKL7mEDGd0wfFFHS/H6coemnpv6aEoLTe+wVhue
	IWh/5cCXb1ZoeQsICFR2kBUg2fzf48u2hd3OSL5ot6YXH/D/knCKOsLM5rOJEY+Xhq
	fU5OYpuQPRSteeLexbSl/xSWpJbR6kKcV8lp+pnrsleekrkMA0nUrODpkaS502i2Qk
	qglpJHaVcvs2PsShM16nbIK8v4pdBwXD66Jrsbi+zgiaVrv9OzqPATDFNUXkZc2FpH
	6ptXojIokAWnZ5DgvY1NOtShkZ2lEo4TqU6MWCeBLiLsr+WV1GGtzdWiPKPu0dVhV0
	kaymxUOZhpi9A==
Received: by nodbug.lucina.net (Postfix, from userid 1000)
	id 4C7D94C0E2C; Tue, 19 May 2015 16:12:51 +0200 (CEST)
Date: Tue, 19 May 2015 16:12:51 +0200
From: Martin Lucina <martin@lucina.net>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
Message-ID: <20150519141251.GF10420@nodbug.lucina.net>
Mail-Followup-To: Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <mirageos-devel@lists.xenproject.org>,
	Peter Zotov <whitequark@whitequark.org>,
	opam-devel <opam-devel@lists.ocaml.org>,
	Anil Madhavapeddy <avsm@recoil.org>,
	Andy Ray <andy.ray@ujamjar.com>
References: <20150519085016.GB10420@nodbug.lucina.net>
	<0671D956-7339-455E-8D07-FCB1BFC47924@gazagnaire.org>
MIME-Version: 1.0
Content-Length: 2823
Content-Disposition: inline
In-Reply-To: <0671D956-7339-455E-8D07-FCB1BFC47924@gazagnaire.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: Anil Madhavapeddy <avsm@recoil.org>,
	Peter Zotov <whitequark@whitequark.org>,
	opam-devel <opam-devel@lists.ocaml.org>,
	mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Cross-compiling OCaml, Mirage OS for rumprun,
 OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi Thomas,

On Tuesday, 19.05.2015 at=A012:49, Thomas Gazagnaire wrote:
> Lwt's discover.ml is unfortunately known to be very ad hoc and often brea=
ks so I am not very surprised. Usually patches to fix it sent upstream are =
kindly accepted (until someone be brave enough to completely rewrite that f=
ile). In the meantime, maybe passing `-use-pthread false` to discover.ml us=
ing `./configure --disable-pthread` could help.

I can't disable pthread since that would leave it with no threading engine
at all. As I wrote in my reply to Peter, I'll try and hack around the
problem, or just abuse --enable-android-target for now.

> > This is expected; the rumprun toolchain does not support dynamic linking
> > and I have configured the ocaml-rumprun compiler with -no-shared-libs. =
Is
> > there some way to tell OASIS to not expect any shared libraries to be
> > built?
> =

> This is tricky, it requires a mix of ocamlbuild, oasis and oasis hackery.=
 I found http://komar.bitcheese.net/en/howto_link_c_lib_statically_with_oca=
ml_app which might help.

The problem is not telling the OCaml compiler not to build shared
libraries, the cross compiler already knows not to do that. It's telling
OASIS about the fact that the OCaml compiler it's using will not build
shared libraries.

> Where did you see these options? I've seen commits in OCaml trunk to have
> a better support for cross compilation, not totally sure what it the
> status of it though. Also, Andy Ray (in /cc) also started a similar
> effort to cross-compile ocaml to FPGA. I really hope all of this would
> converge, and that we can add the proper support for it in opam at one
> pont.

They are mentioned in the INSTALL file as early as OCaml 4.02.01, however
as Peter confirmed they don't actually work without extra patches. What
I've done is run OCaml configure on a NetBSD box and then hand-edited the
result, and patched the 4.02.01 compiler with Peter's cross-compiling patch
(https://github.com/whitequark/opam-android/blob/master/packages/ocaml-andr=
oid32.4.02.1/files/patches/0002-Add-crude-cross-compiling-support.patch)

In theory PR#6266 (https://github.com/ocaml/ocaml/commit/c1e26ad14aec62cefe=
3d5fb24cf8702caa39db2b) might fix these options to let me run OCaml configu=
re directly against the rumprun cross compiler but I've not tried yet.

> Sorry to not be able to help much, but I think the topic is quite importa=
nt one but very hard as it will need to be address problems in in the whole=
 toolchain: ocaml, ocamlfind, ocamlbuild, oasis, opam, ... =


No problem, thanks for your input. I'm sure with enough persistence we'll
get there.

Martin

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 14:15:47 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 14:15:47 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YuiJ8-0004jH-5Y; Tue, 19 May 2015 14:15:46 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <whitequark@whitequark.org>) id 1YuiJ6-0004j9-Fw
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 14:15:44 +0000
Received: from [85.158.139.211] by server-11.bemta-5.messagelabs.com id
	4E/BA-02789-F854B555; Tue, 19 May 2015 14:15:43 +0000
X-Env-Sender: whitequark@whitequark.org
X-Msg-Ref: server-16.tower-206.messagelabs.com!1432044943!8385263!1
X-Originating-IP: [176.58.103.125]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 17831 invoked from network); 19 May 2015 14:15:43 -0000
Received: from fehu.whitequark.org (HELO mail.whitequark.org) (176.58.103.125)
	by server-16.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 19 May 2015 14:15:43 -0000
Received: by mail.whitequark.org (Postfix, from userid 33)
	id 6FFFC11F2A2; Tue, 19 May 2015 14:15:42 +0000 (UTC)
To: mirageos-devel@lists.xenproject.org, opam-devel@lists.ocaml.org,
	Anil  Madhavapeddy <avsm@recoil.org>
X-PHP-Originating-Script: 1000:rcube.php
MIME-Version: 1.0
Date: Tue, 19 May 2015 17:15:42 +0300
From: Peter Zotov <whitequark@whitequark.org>
In-Reply-To: <20150519135807.GD10420@nodbug.lucina.net>
References: <20150519085016.GB10420@nodbug.lucina.net>
	<ead9b8457cfa0007dd71c32655cc6bf1@whitequark.org>
	<20150519135807.GD10420@nodbug.lucina.net>
Message-ID: <bfeaccab16596564cb4ecf775ae7bd70@whitequark.org>
X-Sender: whitequark@whitequark.org
User-Agent: Roundcube Webmail/1.1.0
Subject: Re: [MirageOS-devel] Cross-compiling OCaml, Mirage OS for rumprun,
	OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 2015-05-19 16:58, Martin Lucina wrote:
> This begs the question, why did you use the approach of building the
> cross-compiler as a normal OPAM package, rather than as a compiler 
> package?

Because the cross-compiler needs a normal compiler (and its runtime)
to build and execute. Because many packages (from camlp4 to ppx)
depend on build-time components that execute on the host arch.
You also still have to add suffix to the version number, or else
there would be a conflict (I think).

-- 
Peter Zotov

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 14:15:47 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 14:15:47 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YuiJ8-0004jH-5Y; Tue, 19 May 2015 14:15:46 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <whitequark@whitequark.org>) id 1YuiJ6-0004j9-Fw
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 14:15:44 +0000
Received: from [85.158.139.211] by server-11.bemta-5.messagelabs.com id
	4E/BA-02789-F854B555; Tue, 19 May 2015 14:15:43 +0000
X-Env-Sender: whitequark@whitequark.org
X-Msg-Ref: server-16.tower-206.messagelabs.com!1432044943!8385263!1
X-Originating-IP: [176.58.103.125]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 17831 invoked from network); 19 May 2015 14:15:43 -0000
Received: from fehu.whitequark.org (HELO mail.whitequark.org) (176.58.103.125)
	by server-16.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 19 May 2015 14:15:43 -0000
Received: by mail.whitequark.org (Postfix, from userid 33)
	id 6FFFC11F2A2; Tue, 19 May 2015 14:15:42 +0000 (UTC)
To: mirageos-devel@lists.xenproject.org, opam-devel@lists.ocaml.org,
	Anil  Madhavapeddy <avsm@recoil.org>
X-PHP-Originating-Script: 1000:rcube.php
MIME-Version: 1.0
Date: Tue, 19 May 2015 17:15:42 +0300
From: Peter Zotov <whitequark@whitequark.org>
In-Reply-To: <20150519135807.GD10420@nodbug.lucina.net>
References: <20150519085016.GB10420@nodbug.lucina.net>
	<ead9b8457cfa0007dd71c32655cc6bf1@whitequark.org>
	<20150519135807.GD10420@nodbug.lucina.net>
Message-ID: <bfeaccab16596564cb4ecf775ae7bd70@whitequark.org>
X-Sender: whitequark@whitequark.org
User-Agent: Roundcube Webmail/1.1.0
Subject: Re: [MirageOS-devel] Cross-compiling OCaml, Mirage OS for rumprun,
	OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 2015-05-19 16:58, Martin Lucina wrote:
> This begs the question, why did you use the approach of building the
> cross-compiler as a normal OPAM package, rather than as a compiler 
> package?

Because the cross-compiler needs a normal compiler (and its runtime)
to build and execute. Because many packages (from camlp4 to ppx)
depend on build-time components that execute on the host arch.
You also still have to add suffix to the version number, or else
there would be a conflict (I think).

-- 
Peter Zotov

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 14:29:38 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 14:29:38 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YuiWW-00064O-Mv; Tue, 19 May 2015 14:29:36 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YuiWV-00064J-Hf
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 14:29:35 +0000
Received: from [193.109.254.147] by server-15.bemta-14.messagelabs.com id
	D0/9A-02796-EC84B555; Tue, 19 May 2015 14:29:34 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-6.tower-27.messagelabs.com!1432045773!18880201!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.7 required=7.0 tests=BODY_RANDOM_LONG, RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 24706 invoked from network); 19 May 2015 14:29:34 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-6.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 19 May 2015 14:29:34 -0000
Received: from dhcp-172-17-154-151.eduroam.wireless.private.cam.ac.uk
	(global-1-26.nat.csx.cam.ac.uk [131.111.184.26]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 69c23dfb;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 19 May 2015 15:29:33 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <555AF92C.4020209@nottingham.ac.uk>
Date: Tue, 19 May 2015 15:29:36 +0100
Message-Id: <B7CF0C61-9D6D-45E1-B363-91CD50FBF9BF@recoil.org>
References: <5559B735.1030904@nottingham.ac.uk>
	<63197D9A-0C0E-4BF9-AC0D-E866963D7604@recoil.org>
	<555AF92C.4020209@nottingham.ac.uk>
To: Masoud Koleini <masoud.koleini@nottingham.ac.uk>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] CPU and memory utilisation
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

There's currently no way to get CPU information from within the unikernel;
adding this via Rump Kernels may be the way to go -- Martin, are there perf
hooks within rumpxen at the moment?

Another easy way to make this work within the unikernel is by running an agent
on dom0 that regularly writes CPU stats into Xenstore to make them available
to the unikernel VM. In fact, I wonder if the XAPI toolstack already does this
for the guest agent (or if it works the other way around).  Dave, Jon?

-anil

> On 19 May 2015, at 09:49, Masoud Koleini <masoud.koleini@nottingham.ac.uk> wrote:
> 
> Hi Anil and Mindy,
> 
> Thank you for the information and the link.
> 
> I am trying to get CPU utilisation from *within* the unikernel.
> 
> 
> On 18/05/15 19:47, Anil Madhavapeddy wrote:
>> Hi Masoud,
>> 
>> The CPU utilisation is most easily done from the outside by using "xentop"
>> or similar tools to gather the virtual machine utilisation.  The unikernel
>> will just be sitting blocked when there's no IO, so this is accurate.
>> 
>> Memory can be obtained via the OCaml GC module; Mindy's reply has a link
>> to the easy way to use it to generate HTML.
>> 
>> A more subtle question: are you trying to get this information from *within*
>> the unikernel to alter its behaviour in response to load?  In that case you'll
>> need a slightly more sophisticated way to measure CPU usage from within the
>> VM.
>> 
>> -anil
>> 
>>> On 18 May 2015, at 10:56, Masoud Koleini <masoud.koleini@nottingham.ac.uk> wrote:
>>> 
>>> Hi all,
>>> 
>>> Is the any way for a Mirage unikernel to get its CPU and memory utilisation?
>>> 
>>> Thanks.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> This message and any attachment are intended solely for the addressee
>>> and may contain confidential information. If you have received this
>>> message in error, please send it back to me, and immediately delete it.
>>> Please do not use, copy or disclose the information contained in this
>>> message or in any attachment.  Any views or opinions expressed by the
>>> author of this email do not necessarily reflect the views of the
>>> University of Nottingham.
>>> 
>>> This message has been checked for viruses but the contents of an
>>> attachment may still contain software viruses which could damage your
>>> computer system, you are advised to perform your own checks. Email
>>> communications with the University of Nottingham may be monitored as
>>> permitted by UK legislation.
>>> 
>>> 
>>> _______________________________________________
>>> MirageOS-devel mailing list
>>> MirageOS-devel@lists.xenproject.org
>>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>>> 
> 
> 
> 
> 
> 
> This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this
> message in error, please send it back to me, and immediately delete it. 
> Please do not use, copy or disclose the information contained in this
> message or in any attachment.  Any views or opinions expressed by the
> author of this email do not necessarily reflect the views of the
> University of Nottingham.
> 
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your
> computer system, you are advised to perform your own checks. Email
> communications with the University of Nottingham may be monitored as
> permitted by UK legislation.
> 
> 
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> 


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 14:29:38 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 14:29:38 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YuiWW-00064O-Mv; Tue, 19 May 2015 14:29:36 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YuiWV-00064J-Hf
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 14:29:35 +0000
Received: from [193.109.254.147] by server-15.bemta-14.messagelabs.com id
	D0/9A-02796-EC84B555; Tue, 19 May 2015 14:29:34 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-6.tower-27.messagelabs.com!1432045773!18880201!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.7 required=7.0 tests=BODY_RANDOM_LONG, RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 24706 invoked from network); 19 May 2015 14:29:34 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-6.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 19 May 2015 14:29:34 -0000
Received: from dhcp-172-17-154-151.eduroam.wireless.private.cam.ac.uk
	(global-1-26.nat.csx.cam.ac.uk [131.111.184.26]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 69c23dfb;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 19 May 2015 15:29:33 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <555AF92C.4020209@nottingham.ac.uk>
Date: Tue, 19 May 2015 15:29:36 +0100
Message-Id: <B7CF0C61-9D6D-45E1-B363-91CD50FBF9BF@recoil.org>
References: <5559B735.1030904@nottingham.ac.uk>
	<63197D9A-0C0E-4BF9-AC0D-E866963D7604@recoil.org>
	<555AF92C.4020209@nottingham.ac.uk>
To: Masoud Koleini <masoud.koleini@nottingham.ac.uk>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] CPU and memory utilisation
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

There's currently no way to get CPU information from within the unikernel;
adding this via Rump Kernels may be the way to go -- Martin, are there perf
hooks within rumpxen at the moment?

Another easy way to make this work within the unikernel is by running an agent
on dom0 that regularly writes CPU stats into Xenstore to make them available
to the unikernel VM. In fact, I wonder if the XAPI toolstack already does this
for the guest agent (or if it works the other way around).  Dave, Jon?

-anil

> On 19 May 2015, at 09:49, Masoud Koleini <masoud.koleini@nottingham.ac.uk> wrote:
> 
> Hi Anil and Mindy,
> 
> Thank you for the information and the link.
> 
> I am trying to get CPU utilisation from *within* the unikernel.
> 
> 
> On 18/05/15 19:47, Anil Madhavapeddy wrote:
>> Hi Masoud,
>> 
>> The CPU utilisation is most easily done from the outside by using "xentop"
>> or similar tools to gather the virtual machine utilisation.  The unikernel
>> will just be sitting blocked when there's no IO, so this is accurate.
>> 
>> Memory can be obtained via the OCaml GC module; Mindy's reply has a link
>> to the easy way to use it to generate HTML.
>> 
>> A more subtle question: are you trying to get this information from *within*
>> the unikernel to alter its behaviour in response to load?  In that case you'll
>> need a slightly more sophisticated way to measure CPU usage from within the
>> VM.
>> 
>> -anil
>> 
>>> On 18 May 2015, at 10:56, Masoud Koleini <masoud.koleini@nottingham.ac.uk> wrote:
>>> 
>>> Hi all,
>>> 
>>> Is the any way for a Mirage unikernel to get its CPU and memory utilisation?
>>> 
>>> Thanks.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> This message and any attachment are intended solely for the addressee
>>> and may contain confidential information. If you have received this
>>> message in error, please send it back to me, and immediately delete it.
>>> Please do not use, copy or disclose the information contained in this
>>> message or in any attachment.  Any views or opinions expressed by the
>>> author of this email do not necessarily reflect the views of the
>>> University of Nottingham.
>>> 
>>> This message has been checked for viruses but the contents of an
>>> attachment may still contain software viruses which could damage your
>>> computer system, you are advised to perform your own checks. Email
>>> communications with the University of Nottingham may be monitored as
>>> permitted by UK legislation.
>>> 
>>> 
>>> _______________________________________________
>>> MirageOS-devel mailing list
>>> MirageOS-devel@lists.xenproject.org
>>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>>> 
> 
> 
> 
> 
> 
> This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this
> message in error, please send it back to me, and immediately delete it. 
> Please do not use, copy or disclose the information contained in this
> message or in any attachment.  Any views or opinions expressed by the
> author of this email do not necessarily reflect the views of the
> University of Nottingham.
> 
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your
> computer system, you are advised to perform your own checks. Email
> communications with the University of Nottingham may be monitored as
> permitted by UK legislation.
> 
> 
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> 


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 14:39:28 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 14:39:28 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yuig2-0006NO-RA; Tue, 19 May 2015 14:39:26 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <martin@lucina.net>) id 1Yuig0-0006NC-Rq
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 14:39:24 +0000
Received: from [85.158.137.68] by server-8.bemta-3.messagelabs.com id
	B3/1A-03730-C1B4B555; Tue, 19 May 2015 14:39:24 +0000
X-Env-Sender: martin@lucina.net
X-Msg-Ref: server-4.tower-31.messagelabs.com!1432046363!11902441!1
X-Originating-IP: [62.176.169.44]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 27804 invoked from network); 19 May 2015 14:39:23 -0000
Received: from smtp.lucina.net (HELO smtp.lucina.net) (62.176.169.44)
	by server-4.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 19 May 2015 14:39:23 -0000
Received: from nodbug.lucina.net (chello089173222227.chello.sk
	[89.173.222.227])
	by smtp.lucina.net (Postfix) with ESMTPSA id 5EDBB122811;
	Tue, 19 May 2015 16:38:36 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucina.net;
	s=dkim-201309; t=1432046316;
	bh=TNd7sa5QRah5a1B7JCBsw9l6vcZ5vLHHabvEH6RP6F0=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
	b=SYqT1sSjC3cnBSjtdfjUp3zCRdgW8q91T1ryT/fRlVpq6mkODL4T4fMnAgbec6B67
	/8cWgJQBtq4hU+ao6pMmJ59ldpDVdJ440q56P0gdmkeHamKXHRQyemknodt9GvgqEP
	k5cjW/vRVWMXAwYQvXWuNVoYtqIa3/Cr7d6z7aql+egNj0Y4mKAPl7ZxqA75xwPpT8
	P6OpgXRuk03xPQOdUwuaGmunmvPxXpD9ueNlTqXQJJi+2KPmNPC28dUnJQvaZh+Boi
	iiFyf9dx6P860kmZGzrYr/xXUA6gHx9skh/0koEDOkjNHSrYs1rA8+hGNcpzKKfle3
	krROH4AHk1AHw==
Received: by nodbug.lucina.net (Postfix, from userid 1000)
	id 346174C0E2C; Tue, 19 May 2015 16:39:35 +0200 (CEST)
Date: Tue, 19 May 2015 16:39:35 +0200
From: Martin Lucina <martin@lucina.net>
To: Peter Zotov <whitequark@whitequark.org>
Message-ID: <20150519143935.GG10420@nodbug.lucina.net>
Mail-Followup-To: Peter Zotov <whitequark@whitequark.org>,
	mirageos-devel@lists.xenproject.org, opam-devel@lists.ocaml.org,
	Anil Madhavapeddy <avsm@recoil.org>
References: <20150519085016.GB10420@nodbug.lucina.net>
	<ead9b8457cfa0007dd71c32655cc6bf1@whitequark.org>
	<20150519135807.GD10420@nodbug.lucina.net>
	<bfeaccab16596564cb4ecf775ae7bd70@whitequark.org>
MIME-Version: 1.0
Content-Length: 978
Content-Disposition: inline
In-Reply-To: <bfeaccab16596564cb4ecf775ae7bd70@whitequark.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: Anil Madhavapeddy <avsm@recoil.org>, opam-devel@lists.ocaml.org,
	mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Cross-compiling OCaml, Mirage OS for rumprun,
 OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On Tuesday, 19.05.2015 at=A017:15, Peter Zotov wrote:
> On 2015-05-19 16:58, Martin Lucina wrote:
> >This begs the question, why did you use the approach of building the
> >cross-compiler as a normal OPAM package, rather than as a compiler
> >package?
> =

> Because the cross-compiler needs a normal compiler (and its runtime)
> to build and execute. Because many packages (from camlp4 to ppx)
> depend on build-time components that execute on the host arch.
> You also still have to add suffix to the version number, or else
> there would be a conflict (I think).

Wouldn't the presence of an external (non-OPAM) compiler on the host be
enough to execute the cross-compiler and build-time code from packages?
That's more or less what your patches already do to bootstrap the
compiler...

Martin

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 14:39:28 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 14:39:28 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yuig2-0006NO-RA; Tue, 19 May 2015 14:39:26 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <martin@lucina.net>) id 1Yuig0-0006NC-Rq
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 14:39:24 +0000
Received: from [85.158.137.68] by server-8.bemta-3.messagelabs.com id
	B3/1A-03730-C1B4B555; Tue, 19 May 2015 14:39:24 +0000
X-Env-Sender: martin@lucina.net
X-Msg-Ref: server-4.tower-31.messagelabs.com!1432046363!11902441!1
X-Originating-IP: [62.176.169.44]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 27804 invoked from network); 19 May 2015 14:39:23 -0000
Received: from smtp.lucina.net (HELO smtp.lucina.net) (62.176.169.44)
	by server-4.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 19 May 2015 14:39:23 -0000
Received: from nodbug.lucina.net (chello089173222227.chello.sk
	[89.173.222.227])
	by smtp.lucina.net (Postfix) with ESMTPSA id 5EDBB122811;
	Tue, 19 May 2015 16:38:36 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucina.net;
	s=dkim-201309; t=1432046316;
	bh=TNd7sa5QRah5a1B7JCBsw9l6vcZ5vLHHabvEH6RP6F0=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
	b=SYqT1sSjC3cnBSjtdfjUp3zCRdgW8q91T1ryT/fRlVpq6mkODL4T4fMnAgbec6B67
	/8cWgJQBtq4hU+ao6pMmJ59ldpDVdJ440q56P0gdmkeHamKXHRQyemknodt9GvgqEP
	k5cjW/vRVWMXAwYQvXWuNVoYtqIa3/Cr7d6z7aql+egNj0Y4mKAPl7ZxqA75xwPpT8
	P6OpgXRuk03xPQOdUwuaGmunmvPxXpD9ueNlTqXQJJi+2KPmNPC28dUnJQvaZh+Boi
	iiFyf9dx6P860kmZGzrYr/xXUA6gHx9skh/0koEDOkjNHSrYs1rA8+hGNcpzKKfle3
	krROH4AHk1AHw==
Received: by nodbug.lucina.net (Postfix, from userid 1000)
	id 346174C0E2C; Tue, 19 May 2015 16:39:35 +0200 (CEST)
Date: Tue, 19 May 2015 16:39:35 +0200
From: Martin Lucina <martin@lucina.net>
To: Peter Zotov <whitequark@whitequark.org>
Message-ID: <20150519143935.GG10420@nodbug.lucina.net>
Mail-Followup-To: Peter Zotov <whitequark@whitequark.org>,
	mirageos-devel@lists.xenproject.org, opam-devel@lists.ocaml.org,
	Anil Madhavapeddy <avsm@recoil.org>
References: <20150519085016.GB10420@nodbug.lucina.net>
	<ead9b8457cfa0007dd71c32655cc6bf1@whitequark.org>
	<20150519135807.GD10420@nodbug.lucina.net>
	<bfeaccab16596564cb4ecf775ae7bd70@whitequark.org>
MIME-Version: 1.0
Content-Length: 978
Content-Disposition: inline
In-Reply-To: <bfeaccab16596564cb4ecf775ae7bd70@whitequark.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: Anil Madhavapeddy <avsm@recoil.org>, opam-devel@lists.ocaml.org,
	mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Cross-compiling OCaml, Mirage OS for rumprun,
 OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On Tuesday, 19.05.2015 at=A017:15, Peter Zotov wrote:
> On 2015-05-19 16:58, Martin Lucina wrote:
> >This begs the question, why did you use the approach of building the
> >cross-compiler as a normal OPAM package, rather than as a compiler
> >package?
> =

> Because the cross-compiler needs a normal compiler (and its runtime)
> to build and execute. Because many packages (from camlp4 to ppx)
> depend on build-time components that execute on the host arch.
> You also still have to add suffix to the version number, or else
> there would be a conflict (I think).

Wouldn't the presence of an external (non-OPAM) compiler on the host be
enough to execute the cross-compiler and build-time code from packages?
That's more or less what your patches already do to bootstrap the
compiler...

Martin

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 14:44:17 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 14:44:17 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yuiki-0006gs-Jn; Tue, 19 May 2015 14:44:16 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <martin@lucina.net>) id 1Yuikh-0006gd-BS
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 14:44:15 +0000
Received: from [85.158.137.68] by server-5.bemta-3.messagelabs.com id
	64/40-03275-E3C4B555; Tue, 19 May 2015 14:44:14 +0000
X-Env-Sender: martin@lucina.net
X-Msg-Ref: server-12.tower-31.messagelabs.com!1432046654!11894019!1
X-Originating-IP: [62.176.169.44]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 23985 invoked from network); 19 May 2015 14:44:14 -0000
Received: from smtp.lucina.net (HELO smtp.lucina.net) (62.176.169.44)
	by server-12.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 19 May 2015 14:44:14 -0000
Received: from nodbug.lucina.net (chello089173222227.chello.sk
	[89.173.222.227])
	by smtp.lucina.net (Postfix) with ESMTPSA id E1FEA122811;
	Tue, 19 May 2015 16:43:26 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucina.net;
	s=dkim-201309; t=1432046606;
	bh=HpCNYAdZJtUDMmXKkE5SuCDxc6UsE4rIIevgJsshdbk=;
	h=Date:From:To:Subject:References:In-Reply-To:From;
	b=cZ/PkBOR53bnxvNtf/FbKZT2RfB/s63jzvRHEzgE7gJXaNgb4ddZxnT4pWEAXQ85Y
	TeLN7L8tOgqDHoK3rVIzDOuUrnKHoASXTsbIBs0bKIJQtKiZKOhJEIjZBSBBB/m98T
	+dF3lOFw8nqy0kp5ckTl0f+B22rukUundLuSp9Byr2/US1nfPH8KJwYfcLFimEl8SQ
	DMteGC87SoEbBVbgbfpXvXaH7SBz52h/UibzPIomu6ovidcXpmSqgwHg/vWn/SPb0d
	JJbfYHNr8nLnmVrkKEzr4ajj/U98XQtLP3qRZXwne/oH0MW91IRx7I+IGtZMJhUmt4
	Dm2EplX5P9IWg==
Received: by nodbug.lucina.net (Postfix, from userid 1000)
	id B61854C0E2C; Tue, 19 May 2015 16:44:25 +0200 (CEST)
Date: Tue, 19 May 2015 16:44:25 +0200
From: Martin Lucina <martin@lucina.net>
To: Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <mirageos-devel@lists.xenproject.org>,
	Peter Zotov <whitequark@whitequark.org>,
	opam-devel <opam-devel@lists.ocaml.org>,
	Anil Madhavapeddy <avsm@recoil.org>, Andy Ray <andy.ray@ujamjar.com>
Message-ID: <20150519144425.GH10420@nodbug.lucina.net>
Mail-Followup-To: Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <mirageos-devel@lists.xenproject.org>,
	Peter Zotov <whitequark@whitequark.org>,
	opam-devel <opam-devel@lists.ocaml.org>,
	Anil Madhavapeddy <avsm@recoil.org>,
	Andy Ray <andy.ray@ujamjar.com>
References: <20150519085016.GB10420@nodbug.lucina.net>
	<0671D956-7339-455E-8D07-FCB1BFC47924@gazagnaire.org>
	<20150519141251.GF10420@nodbug.lucina.net>
MIME-Version: 1.0
Content-Length: 828
Content-Disposition: inline
In-Reply-To: <20150519141251.GF10420@nodbug.lucina.net>
User-Agent: Mutt/1.5.21 (2010-09-15)
Subject: Re: [MirageOS-devel] Cross-compiling OCaml, Mirage OS for rumprun,
 OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On Tuesday, 19.05.2015 at=A016:12, Martin Lucina wrote:
> In theory PR#6266 (https://github.com/ocaml/ocaml/commit/c1e26ad14aec62ce=
fe3d5fb24cf8702caa39db2b) might fix these options to let me run OCaml confi=
gure directly against the rumprun cross compiler but I've not tried yet.

See also https://github.com/ocaml/ocaml/pull/182/commits which is another
unrelated(?) effort by people doing an iOS port that Anil pointed me to.

Would be great if this would all converge. What I don't understand is why
upstream OCaml 4.02.01 claims to support cross-compilation but doesn't; was
this original effort abandoned by upstream? If so, why?

Martin


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 14:44:17 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 14:44:17 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yuiki-0006gs-Jn; Tue, 19 May 2015 14:44:16 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <martin@lucina.net>) id 1Yuikh-0006gd-BS
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 14:44:15 +0000
Received: from [85.158.137.68] by server-5.bemta-3.messagelabs.com id
	64/40-03275-E3C4B555; Tue, 19 May 2015 14:44:14 +0000
X-Env-Sender: martin@lucina.net
X-Msg-Ref: server-12.tower-31.messagelabs.com!1432046654!11894019!1
X-Originating-IP: [62.176.169.44]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 23985 invoked from network); 19 May 2015 14:44:14 -0000
Received: from smtp.lucina.net (HELO smtp.lucina.net) (62.176.169.44)
	by server-12.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 19 May 2015 14:44:14 -0000
Received: from nodbug.lucina.net (chello089173222227.chello.sk
	[89.173.222.227])
	by smtp.lucina.net (Postfix) with ESMTPSA id E1FEA122811;
	Tue, 19 May 2015 16:43:26 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucina.net;
	s=dkim-201309; t=1432046606;
	bh=HpCNYAdZJtUDMmXKkE5SuCDxc6UsE4rIIevgJsshdbk=;
	h=Date:From:To:Subject:References:In-Reply-To:From;
	b=cZ/PkBOR53bnxvNtf/FbKZT2RfB/s63jzvRHEzgE7gJXaNgb4ddZxnT4pWEAXQ85Y
	TeLN7L8tOgqDHoK3rVIzDOuUrnKHoASXTsbIBs0bKIJQtKiZKOhJEIjZBSBBB/m98T
	+dF3lOFw8nqy0kp5ckTl0f+B22rukUundLuSp9Byr2/US1nfPH8KJwYfcLFimEl8SQ
	DMteGC87SoEbBVbgbfpXvXaH7SBz52h/UibzPIomu6ovidcXpmSqgwHg/vWn/SPb0d
	JJbfYHNr8nLnmVrkKEzr4ajj/U98XQtLP3qRZXwne/oH0MW91IRx7I+IGtZMJhUmt4
	Dm2EplX5P9IWg==
Received: by nodbug.lucina.net (Postfix, from userid 1000)
	id B61854C0E2C; Tue, 19 May 2015 16:44:25 +0200 (CEST)
Date: Tue, 19 May 2015 16:44:25 +0200
From: Martin Lucina <martin@lucina.net>
To: Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <mirageos-devel@lists.xenproject.org>,
	Peter Zotov <whitequark@whitequark.org>,
	opam-devel <opam-devel@lists.ocaml.org>,
	Anil Madhavapeddy <avsm@recoil.org>, Andy Ray <andy.ray@ujamjar.com>
Message-ID: <20150519144425.GH10420@nodbug.lucina.net>
Mail-Followup-To: Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <mirageos-devel@lists.xenproject.org>,
	Peter Zotov <whitequark@whitequark.org>,
	opam-devel <opam-devel@lists.ocaml.org>,
	Anil Madhavapeddy <avsm@recoil.org>,
	Andy Ray <andy.ray@ujamjar.com>
References: <20150519085016.GB10420@nodbug.lucina.net>
	<0671D956-7339-455E-8D07-FCB1BFC47924@gazagnaire.org>
	<20150519141251.GF10420@nodbug.lucina.net>
MIME-Version: 1.0
Content-Length: 828
Content-Disposition: inline
In-Reply-To: <20150519141251.GF10420@nodbug.lucina.net>
User-Agent: Mutt/1.5.21 (2010-09-15)
Subject: Re: [MirageOS-devel] Cross-compiling OCaml, Mirage OS for rumprun,
 OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On Tuesday, 19.05.2015 at=A016:12, Martin Lucina wrote:
> In theory PR#6266 (https://github.com/ocaml/ocaml/commit/c1e26ad14aec62ce=
fe3d5fb24cf8702caa39db2b) might fix these options to let me run OCaml confi=
gure directly against the rumprun cross compiler but I've not tried yet.

See also https://github.com/ocaml/ocaml/pull/182/commits which is another
unrelated(?) effort by people doing an iOS port that Anil pointed me to.

Would be great if this would all converge. What I don't understand is why
upstream OCaml 4.02.01 claims to support cross-compilation but doesn't; was
this original effort abandoned by upstream? If so, why?

Martin


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 14:48:31 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 14:48:31 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yuiop-0006wX-1S; Tue, 19 May 2015 14:48:31 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1Yuion-0006wO-Jl
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 14:48:29 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	9E/E6-03040-C3D4B555; Tue, 19 May 2015 14:48:28 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-10.tower-31.messagelabs.com!1432046908!11928909!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 12752 invoked from network); 19 May 2015 14:48:28 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-10.tower-31.messagelabs.com with SMTP;
	19 May 2015 14:48:28 -0000
Received: from [172.20.10.2]
	(98.235.197.178.dynamic.wless.lssmb00p-cgnat.res.cust.swisscom.ch
	[178.197.235.98])
	by smtp.webfaction.com (Postfix) with ESMTP id 5317B2118C4E;
	Tue, 19 May 2015 14:48:26 +0000 (UTC)
Date: Tue, 19 May 2015 16:48:22 +0200
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Martin Lucina <martin@lucina.net>
Message-ID: <58032E21FC304B29AF7973A5BF3ACDD7@erratique.ch>
In-Reply-To: <20150519144425.GH10420@nodbug.lucina.net>
References: <20150519085016.GB10420@nodbug.lucina.net>
	<0671D956-7339-455E-8D07-FCB1BFC47924@gazagnaire.org>
	<20150519141251.GF10420@nodbug.lucina.net>
	<20150519144425.GH10420@nodbug.lucina.net>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <mirageos-devel@lists.xenproject.org>,
	Peter Zotov <whitequark@whitequark.org>,
	opam-devel <opam-devel@lists.ocaml.org>,
	Anil Madhavapeddy <avsm@recoil.org>
Subject: Re: [MirageOS-devel] [opam-devel]  Cross-compiling OCaml,
 Mirage OS for rumprun, OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

TGUgbWFyZGksIDE5IG1haSAyMDE1IMOgIDE2OjQ0LCBNYXJ0aW4gTHVjaW5hIGEgw6ljcml0IDoK
PiBXaGF0IEkgZG9uJ3QgdW5kZXJzdGFuZCBpcyB3aHkKPiB1cHN0cmVhbSBPQ2FtbCA0LjAyLjAx
IGNsYWltcyB0byBzdXBwb3J0IGNyb3NzLWNvbXBpbGF0aW9uIGJ1dCBkb2Vzbid0OyB3YXMKPiB0
aGlzIG9yaWdpbmFsIGVmZm9ydCBhYmFuZG9uZWQgYnkgdXBzdHJlYW0/IElmIHNvLCB3aHk/CgpX
aGVyZSBkbyB5b3Ugc2VlIHRoYXQgPyBUaGlzIGlzIG5ld3MgdG8gbWUuIFNvbWUgd29yayBpcyBi
ZWluZyBkb25lIHJpZ2h0IG5vdyBbMV0gYnV0IEkgZG9uJ3QgdGhpbmsgYW55Ym9keSBldmVyIGNs
YWltZWQgdGhlcmUgd2FzIHN1cHBvcnQgZm9yIGNyb3NzLWNvbXBpbGF0aW9uIGluIDQuMDIuICAg
CgpEYW5pZWwKClsxXSBodHRwOi8vY2FtbC5pbnJpYS5mci9tYW50aXMvdmlldy5waHA/aWQ9NjI2
NgoKCiAgCgoKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
Ck1pcmFnZU9TLWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9q
ZWN0Lm9yZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3Rp
bmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 14:48:31 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 14:48:31 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yuiop-0006wX-1S; Tue, 19 May 2015 14:48:31 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1Yuion-0006wO-Jl
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 14:48:29 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	9E/E6-03040-C3D4B555; Tue, 19 May 2015 14:48:28 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-10.tower-31.messagelabs.com!1432046908!11928909!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 12752 invoked from network); 19 May 2015 14:48:28 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-10.tower-31.messagelabs.com with SMTP;
	19 May 2015 14:48:28 -0000
Received: from [172.20.10.2]
	(98.235.197.178.dynamic.wless.lssmb00p-cgnat.res.cust.swisscom.ch
	[178.197.235.98])
	by smtp.webfaction.com (Postfix) with ESMTP id 5317B2118C4E;
	Tue, 19 May 2015 14:48:26 +0000 (UTC)
Date: Tue, 19 May 2015 16:48:22 +0200
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Martin Lucina <martin@lucina.net>
Message-ID: <58032E21FC304B29AF7973A5BF3ACDD7@erratique.ch>
In-Reply-To: <20150519144425.GH10420@nodbug.lucina.net>
References: <20150519085016.GB10420@nodbug.lucina.net>
	<0671D956-7339-455E-8D07-FCB1BFC47924@gazagnaire.org>
	<20150519141251.GF10420@nodbug.lucina.net>
	<20150519144425.GH10420@nodbug.lucina.net>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <mirageos-devel@lists.xenproject.org>,
	Peter Zotov <whitequark@whitequark.org>,
	opam-devel <opam-devel@lists.ocaml.org>,
	Anil Madhavapeddy <avsm@recoil.org>
Subject: Re: [MirageOS-devel] [opam-devel]  Cross-compiling OCaml,
 Mirage OS for rumprun, OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

TGUgbWFyZGksIDE5IG1haSAyMDE1IMOgIDE2OjQ0LCBNYXJ0aW4gTHVjaW5hIGEgw6ljcml0IDoK
PiBXaGF0IEkgZG9uJ3QgdW5kZXJzdGFuZCBpcyB3aHkKPiB1cHN0cmVhbSBPQ2FtbCA0LjAyLjAx
IGNsYWltcyB0byBzdXBwb3J0IGNyb3NzLWNvbXBpbGF0aW9uIGJ1dCBkb2Vzbid0OyB3YXMKPiB0
aGlzIG9yaWdpbmFsIGVmZm9ydCBhYmFuZG9uZWQgYnkgdXBzdHJlYW0/IElmIHNvLCB3aHk/CgpX
aGVyZSBkbyB5b3Ugc2VlIHRoYXQgPyBUaGlzIGlzIG5ld3MgdG8gbWUuIFNvbWUgd29yayBpcyBi
ZWluZyBkb25lIHJpZ2h0IG5vdyBbMV0gYnV0IEkgZG9uJ3QgdGhpbmsgYW55Ym9keSBldmVyIGNs
YWltZWQgdGhlcmUgd2FzIHN1cHBvcnQgZm9yIGNyb3NzLWNvbXBpbGF0aW9uIGluIDQuMDIuICAg
CgpEYW5pZWwKClsxXSBodHRwOi8vY2FtbC5pbnJpYS5mci9tYW50aXMvdmlldy5waHA/aWQ9NjI2
NgoKCiAgCgoKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
Ck1pcmFnZU9TLWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9q
ZWN0Lm9yZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3Rp
bmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 14:53:15 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 14:53:15 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YuitP-0007C5-CP; Tue, 19 May 2015 14:53:15 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <martin@lucina.net>) id 1YuitO-0007Bl-H2
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 14:53:14 +0000
Received: from [85.158.137.68] by server-14.bemta-3.messagelabs.com id
	26/AA-02948-95E4B555; Tue, 19 May 2015 14:53:13 +0000
X-Env-Sender: martin@lucina.net
X-Msg-Ref: server-15.tower-31.messagelabs.com!1432047193!11836966!1
X-Originating-IP: [62.176.169.44]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26459 invoked from network); 19 May 2015 14:53:13 -0000
Received: from smtp.lucina.net (HELO smtp.lucina.net) (62.176.169.44)
	by server-15.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 19 May 2015 14:53:13 -0000
Received: from nodbug.lucina.net (chello089173222227.chello.sk
	[89.173.222.227])
	by smtp.lucina.net (Postfix) with ESMTPSA id DFD6B122811;
	Tue, 19 May 2015 16:52:25 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucina.net;
	s=dkim-201309; t=1432047145;
	bh=tAexk1bJGnVRf0r9YlQffzzHsQKhCMaNvExURXtDPbM=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
	b=SeqKFyzzG5tboirjc6gnfGXEJ2JH0yVY1/h5b/LiPjvNNiLCLKSV6urGXyXNXlV3F
	p05hvfjqFg8b3snrS+gaQNBYdcMcYCFhF2owRB0iBVeFNAOhKa/AdCDPHfw3sf+WbQ
	YeMUhGoIMVhaESBeIBf7PY27hGSM+Kyq8GXrijA+EeoYL8ZBOiLhdEi0Y4ZqjLOfiR
	EHCYbTBTxOYjKKfa0u2VwiedyQmVGgPHPq+ZsyVBXvrum5k3d14DeuDBMT8k3TALXB
	z4gOyfw1DdpgySkkj4yURqnYaLqrXX58fBXXgybyaMX8AnZmGMz4knQMaX2e+My36o
	sHFsH8nw2NJpw==
Received: by nodbug.lucina.net (Postfix, from userid 1000)
	id 919204C0E2C; Tue, 19 May 2015 16:53:24 +0200 (CEST)
Date: Tue, 19 May 2015 16:53:24 +0200
From: Martin Lucina <martin@lucina.net>
To: Daniel =?iso-8859-1?Q?B=FCnzli?= <daniel.buenzli@erratique.ch>
Message-ID: <20150519145324.GI10420@nodbug.lucina.net>
Mail-Followup-To: Daniel =?iso-8859-1?Q?B=FCnzli?=
	<daniel.buenzli@erratique.ch>, 
	Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <mirageos-devel@lists.xenproject.org>,
	Peter Zotov <whitequark@whitequark.org>,
	opam-devel <opam-devel@lists.ocaml.org>,
	Anil Madhavapeddy <avsm@recoil.org>,
	Andy Ray <andy.ray@ujamjar.com>
References: <20150519085016.GB10420@nodbug.lucina.net>
	<0671D956-7339-455E-8D07-FCB1BFC47924@gazagnaire.org>
	<20150519141251.GF10420@nodbug.lucina.net>
	<20150519144425.GH10420@nodbug.lucina.net>
	<58032E21FC304B29AF7973A5BF3ACDD7@erratique.ch>
MIME-Version: 1.0
Content-Length: 980
Content-Disposition: inline
In-Reply-To: <58032E21FC304B29AF7973A5BF3ACDD7@erratique.ch>
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <mirageos-devel@lists.xenproject.org>,
	Peter Zotov <whitequark@whitequark.org>,
	opam-devel <opam-devel@lists.ocaml.org>,
	Anil Madhavapeddy <avsm@recoil.org>
Subject: Re: [MirageOS-devel] [opam-devel]  Cross-compiling OCaml,
 Mirage OS for rumprun, OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On Tuesday, 19.05.2015 at=A016:48, Daniel B=FCnzli wrote:
> Le mardi, 19 mai 2015 =E0 16:44, Martin Lucina a =E9crit :
> > What I don't understand is why
> > upstream OCaml 4.02.01 claims to support cross-compilation but doesn't;=
 was
> > this original effort abandoned by upstream? If so, why?
> =

> Where do you see that ? This is news to me. Some work is being done right=
 now [1] but I don't think anybody ever claimed there was support for cross=
-compilation in 4.02.   =


In the 4.02.1 INSTALL file[1], which documents a "-target" option and says
it will produce a cross-compiler.  The switch is even accepted by
configure, but the guts don't actually work.

Perhaps some commit snuck in to 4.02.1 which shouldn't have?

Martin

[1] https://github.com/ocaml/ocaml/blob/4.02.1/INSTALL#L68

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 14:53:15 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 14:53:15 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YuitP-0007C5-CP; Tue, 19 May 2015 14:53:15 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <martin@lucina.net>) id 1YuitO-0007Bl-H2
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 14:53:14 +0000
Received: from [85.158.137.68] by server-14.bemta-3.messagelabs.com id
	26/AA-02948-95E4B555; Tue, 19 May 2015 14:53:13 +0000
X-Env-Sender: martin@lucina.net
X-Msg-Ref: server-15.tower-31.messagelabs.com!1432047193!11836966!1
X-Originating-IP: [62.176.169.44]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26459 invoked from network); 19 May 2015 14:53:13 -0000
Received: from smtp.lucina.net (HELO smtp.lucina.net) (62.176.169.44)
	by server-15.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 19 May 2015 14:53:13 -0000
Received: from nodbug.lucina.net (chello089173222227.chello.sk
	[89.173.222.227])
	by smtp.lucina.net (Postfix) with ESMTPSA id DFD6B122811;
	Tue, 19 May 2015 16:52:25 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucina.net;
	s=dkim-201309; t=1432047145;
	bh=tAexk1bJGnVRf0r9YlQffzzHsQKhCMaNvExURXtDPbM=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
	b=SeqKFyzzG5tboirjc6gnfGXEJ2JH0yVY1/h5b/LiPjvNNiLCLKSV6urGXyXNXlV3F
	p05hvfjqFg8b3snrS+gaQNBYdcMcYCFhF2owRB0iBVeFNAOhKa/AdCDPHfw3sf+WbQ
	YeMUhGoIMVhaESBeIBf7PY27hGSM+Kyq8GXrijA+EeoYL8ZBOiLhdEi0Y4ZqjLOfiR
	EHCYbTBTxOYjKKfa0u2VwiedyQmVGgPHPq+ZsyVBXvrum5k3d14DeuDBMT8k3TALXB
	z4gOyfw1DdpgySkkj4yURqnYaLqrXX58fBXXgybyaMX8AnZmGMz4knQMaX2e+My36o
	sHFsH8nw2NJpw==
Received: by nodbug.lucina.net (Postfix, from userid 1000)
	id 919204C0E2C; Tue, 19 May 2015 16:53:24 +0200 (CEST)
Date: Tue, 19 May 2015 16:53:24 +0200
From: Martin Lucina <martin@lucina.net>
To: Daniel =?iso-8859-1?Q?B=FCnzli?= <daniel.buenzli@erratique.ch>
Message-ID: <20150519145324.GI10420@nodbug.lucina.net>
Mail-Followup-To: Daniel =?iso-8859-1?Q?B=FCnzli?=
	<daniel.buenzli@erratique.ch>, 
	Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <mirageos-devel@lists.xenproject.org>,
	Peter Zotov <whitequark@whitequark.org>,
	opam-devel <opam-devel@lists.ocaml.org>,
	Anil Madhavapeddy <avsm@recoil.org>,
	Andy Ray <andy.ray@ujamjar.com>
References: <20150519085016.GB10420@nodbug.lucina.net>
	<0671D956-7339-455E-8D07-FCB1BFC47924@gazagnaire.org>
	<20150519141251.GF10420@nodbug.lucina.net>
	<20150519144425.GH10420@nodbug.lucina.net>
	<58032E21FC304B29AF7973A5BF3ACDD7@erratique.ch>
MIME-Version: 1.0
Content-Length: 980
Content-Disposition: inline
In-Reply-To: <58032E21FC304B29AF7973A5BF3ACDD7@erratique.ch>
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <mirageos-devel@lists.xenproject.org>,
	Peter Zotov <whitequark@whitequark.org>,
	opam-devel <opam-devel@lists.ocaml.org>,
	Anil Madhavapeddy <avsm@recoil.org>
Subject: Re: [MirageOS-devel] [opam-devel]  Cross-compiling OCaml,
 Mirage OS for rumprun, OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On Tuesday, 19.05.2015 at=A016:48, Daniel B=FCnzli wrote:
> Le mardi, 19 mai 2015 =E0 16:44, Martin Lucina a =E9crit :
> > What I don't understand is why
> > upstream OCaml 4.02.01 claims to support cross-compilation but doesn't;=
 was
> > this original effort abandoned by upstream? If so, why?
> =

> Where do you see that ? This is news to me. Some work is being done right=
 now [1] but I don't think anybody ever claimed there was support for cross=
-compilation in 4.02.   =


In the 4.02.1 INSTALL file[1], which documents a "-target" option and says
it will produce a cross-compiler.  The switch is even accepted by
configure, but the guts don't actually work.

Perhaps some commit snuck in to 4.02.1 which shouldn't have?

Martin

[1] https://github.com/ocaml/ocaml/blob/4.02.1/INSTALL#L68

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 14:59:35 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 14:59:35 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YuizS-0007Yb-1S; Tue, 19 May 2015 14:59:30 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1YuizQ-0007YW-T0
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 14:59:29 +0000
Received: from [85.158.139.211] by server-14.bemta-5.messagelabs.com id
	5B/40-02819-0DF4B555; Tue, 19 May 2015 14:59:28 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-14.tower-206.messagelabs.com!1432047566!5874049!1
X-Originating-IP: [209.85.215.54]
X-SpamReason: No, hits=0.8 required=7.0 tests=BODY_RANDOM_LONG,
  RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 32307 invoked from network); 19 May 2015 14:59:27 -0000
Received: from mail-la0-f54.google.com (HELO mail-la0-f54.google.com)
	(209.85.215.54)
	by server-14.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	19 May 2015 14:59:27 -0000
Received: by laat2 with SMTP id t2so28348576laa.1
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 19 May 2015 07:59:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=WKoitcUA+s6e52VxJhNagtRCthLy39eKYKuwjMYJy84=;
	b=zY1VwqDMX/9Qhf3Jo3REX0ZPtTtmmFMkKCo1PALuh3QGRS4uCHsQmugGFTgSwrY0YN
	VMIyYItHA4hYnY68PfF74vJP9dkucIZVEWRAdQF6LGucI6LKlkzbJEtlALz6ZszUcLtM
	pUDT46yo32VxFt9aGR1oX7a8jRxM9BAdq6Hvxfc+ssoyzo1vnKWwSeFsCIuKzt8sOUQr
	TT3BXX+dhAN6Z8Woz4zWCm1foRp4r8BsqzbVqUmPTMnjuP6t+45+hM3yGjE2WuI/E6Zq
	oM+Ruyzh/m0urD1I9B9wHqRNVCOWEnNEetgrlaU9f/8Qxk/ZKLeg2Yhyfpkzjq9wUzOc
	URMQ==
MIME-Version: 1.0
X-Received: by 10.112.132.9 with SMTP id oq9mr21883464lbb.26.1432047566278;
	Tue, 19 May 2015 07:59:26 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Tue, 19 May 2015 07:59:26 -0700 (PDT)
In-Reply-To: <555AF92C.4020209@nottingham.ac.uk>
References: <5559B735.1030904@nottingham.ac.uk>
	<63197D9A-0C0E-4BF9-AC0D-E866963D7604@recoil.org>
	<555AF92C.4020209@nottingham.ac.uk>
Date: Tue, 19 May 2015 15:59:26 +0100
Message-ID: <CAG4opy_UvEi6CbSgPpfQ862S17ZLVzn0Yn5u0RwNU=sVcDUyTQ@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Masoud Koleini <masoud.koleini@nottingham.ac.uk>
Cc: "mirageos-devel@lists.xenproject.org"
	<mirageos-devel@lists.xenproject.org>, Anil Madhavapeddy <anil@recoil.org>
Subject: Re: [MirageOS-devel] CPU and memory utilisation
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Mirage should be using the CPU at 100% all the time it's not in
block_domain. main.ml emits trace events around this call:

          MProf.Trace.(note_hiatus Wait_for_work);
          block_domain timeout;
          MProf.Trace.note_resume ();

https://github.com/mirage/mirage-platform/blob/3d343935f451ba6c505e5008d2e458cf506bad8d/xen/lib/main.ml#L78

Turning on the full trace API will slow your code down quite a bit,
but you could pin a modified version of mirage-profile that captures
just these events for testing.


On 19 May 2015 at 09:49, Masoud Koleini <masoud.koleini@nottingham.ac.uk> wrote:
> Hi Anil and Mindy,
>
> Thank you for the information and the link.
>
> I am trying to get CPU utilisation from *within* the unikernel.
>
>
>
> On 18/05/15 19:47, Anil Madhavapeddy wrote:
>>
>> Hi Masoud,
>>
>> The CPU utilisation is most easily done from the outside by using "xentop"
>> or similar tools to gather the virtual machine utilisation.  The unikernel
>> will just be sitting blocked when there's no IO, so this is accurate.
>>
>> Memory can be obtained via the OCaml GC module; Mindy's reply has a link
>> to the easy way to use it to generate HTML.
>>
>> A more subtle question: are you trying to get this information from
>> *within*
>> the unikernel to alter its behaviour in response to load?  In that case
>> you'll
>> need a slightly more sophisticated way to measure CPU usage from within
>> the
>> VM.
>>
>> -anil
>>
>>> On 18 May 2015, at 10:56, Masoud Koleini
>>> <masoud.koleini@nottingham.ac.uk> wrote:
>>>
>>> Hi all,
>>>
>>> Is the any way for a Mirage unikernel to get its CPU and memory
>>> utilisation?
>>>
>>> Thanks.
>>>
>>>
>>>
>>>
>>>
>>>
>>> This message and any attachment are intended solely for the addressee
>>> and may contain confidential information. If you have received this
>>> message in error, please send it back to me, and immediately delete it.
>>> Please do not use, copy or disclose the information contained in this
>>> message or in any attachment.  Any views or opinions expressed by the
>>> author of this email do not necessarily reflect the views of the
>>> University of Nottingham.
>>>
>>> This message has been checked for viruses but the contents of an
>>> attachment may still contain software viruses which could damage your
>>> computer system, you are advised to perform your own checks. Email
>>> communications with the University of Nottingham may be monitored as
>>> permitted by UK legislation.
>>>
>>>
>>> _______________________________________________
>>> MirageOS-devel mailing list
>>> MirageOS-devel@lists.xenproject.org
>>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>>>
>
>
>
>
>
> This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this
> message in error, please send it back to me, and immediately delete it.
> Please do not use, copy or disclose the information contained in this
> message or in any attachment.  Any views or opinions expressed by the
> author of this email do not necessarily reflect the views of the
> University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your
> computer system, you are advised to perform your own checks. Email
> communications with the University of Nottingham may be monitored as
> permitted by UK legislation.
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel



-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 14:59:35 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 14:59:35 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YuizS-0007Yb-1S; Tue, 19 May 2015 14:59:30 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1YuizQ-0007YW-T0
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 14:59:29 +0000
Received: from [85.158.139.211] by server-14.bemta-5.messagelabs.com id
	5B/40-02819-0DF4B555; Tue, 19 May 2015 14:59:28 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-14.tower-206.messagelabs.com!1432047566!5874049!1
X-Originating-IP: [209.85.215.54]
X-SpamReason: No, hits=0.8 required=7.0 tests=BODY_RANDOM_LONG,
  RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 32307 invoked from network); 19 May 2015 14:59:27 -0000
Received: from mail-la0-f54.google.com (HELO mail-la0-f54.google.com)
	(209.85.215.54)
	by server-14.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	19 May 2015 14:59:27 -0000
Received: by laat2 with SMTP id t2so28348576laa.1
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 19 May 2015 07:59:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=WKoitcUA+s6e52VxJhNagtRCthLy39eKYKuwjMYJy84=;
	b=zY1VwqDMX/9Qhf3Jo3REX0ZPtTtmmFMkKCo1PALuh3QGRS4uCHsQmugGFTgSwrY0YN
	VMIyYItHA4hYnY68PfF74vJP9dkucIZVEWRAdQF6LGucI6LKlkzbJEtlALz6ZszUcLtM
	pUDT46yo32VxFt9aGR1oX7a8jRxM9BAdq6Hvxfc+ssoyzo1vnKWwSeFsCIuKzt8sOUQr
	TT3BXX+dhAN6Z8Woz4zWCm1foRp4r8BsqzbVqUmPTMnjuP6t+45+hM3yGjE2WuI/E6Zq
	oM+Ruyzh/m0urD1I9B9wHqRNVCOWEnNEetgrlaU9f/8Qxk/ZKLeg2Yhyfpkzjq9wUzOc
	URMQ==
MIME-Version: 1.0
X-Received: by 10.112.132.9 with SMTP id oq9mr21883464lbb.26.1432047566278;
	Tue, 19 May 2015 07:59:26 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Tue, 19 May 2015 07:59:26 -0700 (PDT)
In-Reply-To: <555AF92C.4020209@nottingham.ac.uk>
References: <5559B735.1030904@nottingham.ac.uk>
	<63197D9A-0C0E-4BF9-AC0D-E866963D7604@recoil.org>
	<555AF92C.4020209@nottingham.ac.uk>
Date: Tue, 19 May 2015 15:59:26 +0100
Message-ID: <CAG4opy_UvEi6CbSgPpfQ862S17ZLVzn0Yn5u0RwNU=sVcDUyTQ@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Masoud Koleini <masoud.koleini@nottingham.ac.uk>
Cc: "mirageos-devel@lists.xenproject.org"
	<mirageos-devel@lists.xenproject.org>, Anil Madhavapeddy <anil@recoil.org>
Subject: Re: [MirageOS-devel] CPU and memory utilisation
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Mirage should be using the CPU at 100% all the time it's not in
block_domain. main.ml emits trace events around this call:

          MProf.Trace.(note_hiatus Wait_for_work);
          block_domain timeout;
          MProf.Trace.note_resume ();

https://github.com/mirage/mirage-platform/blob/3d343935f451ba6c505e5008d2e458cf506bad8d/xen/lib/main.ml#L78

Turning on the full trace API will slow your code down quite a bit,
but you could pin a modified version of mirage-profile that captures
just these events for testing.


On 19 May 2015 at 09:49, Masoud Koleini <masoud.koleini@nottingham.ac.uk> wrote:
> Hi Anil and Mindy,
>
> Thank you for the information and the link.
>
> I am trying to get CPU utilisation from *within* the unikernel.
>
>
>
> On 18/05/15 19:47, Anil Madhavapeddy wrote:
>>
>> Hi Masoud,
>>
>> The CPU utilisation is most easily done from the outside by using "xentop"
>> or similar tools to gather the virtual machine utilisation.  The unikernel
>> will just be sitting blocked when there's no IO, so this is accurate.
>>
>> Memory can be obtained via the OCaml GC module; Mindy's reply has a link
>> to the easy way to use it to generate HTML.
>>
>> A more subtle question: are you trying to get this information from
>> *within*
>> the unikernel to alter its behaviour in response to load?  In that case
>> you'll
>> need a slightly more sophisticated way to measure CPU usage from within
>> the
>> VM.
>>
>> -anil
>>
>>> On 18 May 2015, at 10:56, Masoud Koleini
>>> <masoud.koleini@nottingham.ac.uk> wrote:
>>>
>>> Hi all,
>>>
>>> Is the any way for a Mirage unikernel to get its CPU and memory
>>> utilisation?
>>>
>>> Thanks.
>>>
>>>
>>>
>>>
>>>
>>>
>>> This message and any attachment are intended solely for the addressee
>>> and may contain confidential information. If you have received this
>>> message in error, please send it back to me, and immediately delete it.
>>> Please do not use, copy or disclose the information contained in this
>>> message or in any attachment.  Any views or opinions expressed by the
>>> author of this email do not necessarily reflect the views of the
>>> University of Nottingham.
>>>
>>> This message has been checked for viruses but the contents of an
>>> attachment may still contain software viruses which could damage your
>>> computer system, you are advised to perform your own checks. Email
>>> communications with the University of Nottingham may be monitored as
>>> permitted by UK legislation.
>>>
>>>
>>> _______________________________________________
>>> MirageOS-devel mailing list
>>> MirageOS-devel@lists.xenproject.org
>>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>>>
>
>
>
>
>
> This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this
> message in error, please send it back to me, and immediately delete it.
> Please do not use, copy or disclose the information contained in this
> message or in any attachment.  Any views or opinions expressed by the
> author of this email do not necessarily reflect the views of the
> University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your
> computer system, you are advised to perform your own checks. Email
> communications with the University of Nottingham may be monitored as
> permitted by UK legislation.
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel



-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 15:23:00 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 15:23:00 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YujM9-0000Dx-SW; Tue, 19 May 2015 15:22:57 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1YujM7-0000CY-SL
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 15:22:55 +0000
Received: from [85.158.139.211] by server-2.bemta-5.messagelabs.com id
	E4/69-03031-F455B555; Tue, 19 May 2015 15:22:55 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-3.tower-206.messagelabs.com!1432048972!3703239!1
X-Originating-IP: [74.125.82.49]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 16693 invoked from network); 19 May 2015 15:22:52 -0000
Received: from mail-wg0-f49.google.com (HELO mail-wg0-f49.google.com)
	(74.125.82.49)
	by server-3.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	19 May 2015 15:22:52 -0000
Received: by wghq2 with SMTP id q2so22177111wgh.1
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 19 May 2015 08:22:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=V6mu57DBRQt6VUaMAUt/354FRUJlMEuANy0Sr4fE4II=;
	b=NQ/BIZWnLzIwXi0d4q0iET5xypAEAlwRgXi4R5kXklSGUDMDnaUaMzGRshfdX4wyyV
	wRgKQvyTIs7rEj2FGRbnkjVaRwiHHeT3Xvvn3f5TkmWGoj0/MqEwdnjpJisW93QqVbxO
	JeMcylZil+JltVnWOTThGzNXuxhtAI763swKc+axYyRKWzLNw5cvIgJTOqqIMHli370P
	AcId5ola9AeFekW4tOflkVWsaL4eZ0/p7YbvNywkx6EUDWdIQByD0kgXL/FIoZndBJCs
	ge4Ow4Rjn5jsUmiJYVG3zQ42kPZcj4J8cft+NGms19bVzlM1Aj/i+ZQnWtqJ028QaDil
	1vvA==
X-Received: by 10.194.103.232 with SMTP id fz8mr53337318wjb.130.1432048972616; 
	Tue, 19 May 2015 08:22:52 -0700 (PDT)
Received: from piana.mac.cl.cam.ac.uk (piana.mac.cl.cam.ac.uk. [128.232.56.38])
	by mx.google.com with ESMTPSA id
	z12sm22280020wjq.12.2015.05.19.08.22.51
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Tue, 19 May 2015 08:22:51 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <20150519135807.GD10420@nodbug.lucina.net>
Date: Tue, 19 May 2015 16:22:50 +0100
Message-Id: <FAC10121-D961-42CB-B2D5-2058098D3346@gazagnaire.org>
References: <20150519085016.GB10420@nodbug.lucina.net>
	<ead9b8457cfa0007dd71c32655cc6bf1@whitequark.org>
	<20150519135807.GD10420@nodbug.lucina.net>
To: Martin Lucina <martin@lucina.net>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org,
	Peter Zotov <whitequark@whitequark.org>,
	opam-devel <opam-devel@lists.ocaml.org>,
	Anil Madhavapeddy <avsm@recoil.org>
Subject: Re: [MirageOS-devel] Cross-compiling OCaml, Mirage OS for rumprun,
	OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

> And, as I just found out now, it's not just the native packages, it's *all*
> packages that need to be rebuilt. So, for Mirage I'd have to produce
> -rumprun variants of all its dependent packages, right? This would include
> teaching the "mirage configure" script about them.

We already partly do that to cross-compile the C stubs for Xen (such as gmp for the TLS stack to work on Xen). The upcoming 2.5.0 release of mirage will have improved support for this. See gmp-xen[1] and some ugly ocamlfind hackery to pass the right options at link time, used by mirage configure[2] when generating the Makefile.

Clearly the situation will not scale well as we will have to patch every package using C stubs. I'm looking forward to have full support cross-compilation in the whole toolchain (to start with the build tools).

--
Thomas

[1]: https://github.com/ocaml/opam-repository/tree/master/packages/gmp-xen/gmp-xen.6.0.0
[2]: https://github.com/ocaml/opam-repository/blob/master/packages/zarith/zarith.1.3/files/xen_linkopts.patch
[3]: https://github.com/mirage/mirage/blob/master/lib/mirage.ml#L2248

> 
> This begs the question, why did you use the approach of building the
> cross-compiler as a normal OPAM package, rather than as a compiler package?
> 
> If I understand correctly how "OPAM switch" works, then the latter option
> would at least get rid of the need to deal with the -android (or -rumprun)
> renaming of packages since each compiler has its own set of packages.
> 
> Obviously, there'd still have to be some way of getting
> the OCAMLFIND_TOOLCHAIN and/or other cross-compilation patches into the
> system but at first glance it seems like it would be more flexible than
> adding suffixes to package names.
> 
> Thoughts?
> 
> Martin
> 
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 15:23:00 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 15:23:00 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YujM9-0000Dx-SW; Tue, 19 May 2015 15:22:57 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1YujM7-0000CY-SL
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 15:22:55 +0000
Received: from [85.158.139.211] by server-2.bemta-5.messagelabs.com id
	E4/69-03031-F455B555; Tue, 19 May 2015 15:22:55 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-3.tower-206.messagelabs.com!1432048972!3703239!1
X-Originating-IP: [74.125.82.49]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 16693 invoked from network); 19 May 2015 15:22:52 -0000
Received: from mail-wg0-f49.google.com (HELO mail-wg0-f49.google.com)
	(74.125.82.49)
	by server-3.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	19 May 2015 15:22:52 -0000
Received: by wghq2 with SMTP id q2so22177111wgh.1
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 19 May 2015 08:22:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=V6mu57DBRQt6VUaMAUt/354FRUJlMEuANy0Sr4fE4II=;
	b=NQ/BIZWnLzIwXi0d4q0iET5xypAEAlwRgXi4R5kXklSGUDMDnaUaMzGRshfdX4wyyV
	wRgKQvyTIs7rEj2FGRbnkjVaRwiHHeT3Xvvn3f5TkmWGoj0/MqEwdnjpJisW93QqVbxO
	JeMcylZil+JltVnWOTThGzNXuxhtAI763swKc+axYyRKWzLNw5cvIgJTOqqIMHli370P
	AcId5ola9AeFekW4tOflkVWsaL4eZ0/p7YbvNywkx6EUDWdIQByD0kgXL/FIoZndBJCs
	ge4Ow4Rjn5jsUmiJYVG3zQ42kPZcj4J8cft+NGms19bVzlM1Aj/i+ZQnWtqJ028QaDil
	1vvA==
X-Received: by 10.194.103.232 with SMTP id fz8mr53337318wjb.130.1432048972616; 
	Tue, 19 May 2015 08:22:52 -0700 (PDT)
Received: from piana.mac.cl.cam.ac.uk (piana.mac.cl.cam.ac.uk. [128.232.56.38])
	by mx.google.com with ESMTPSA id
	z12sm22280020wjq.12.2015.05.19.08.22.51
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Tue, 19 May 2015 08:22:51 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <20150519135807.GD10420@nodbug.lucina.net>
Date: Tue, 19 May 2015 16:22:50 +0100
Message-Id: <FAC10121-D961-42CB-B2D5-2058098D3346@gazagnaire.org>
References: <20150519085016.GB10420@nodbug.lucina.net>
	<ead9b8457cfa0007dd71c32655cc6bf1@whitequark.org>
	<20150519135807.GD10420@nodbug.lucina.net>
To: Martin Lucina <martin@lucina.net>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org,
	Peter Zotov <whitequark@whitequark.org>,
	opam-devel <opam-devel@lists.ocaml.org>,
	Anil Madhavapeddy <avsm@recoil.org>
Subject: Re: [MirageOS-devel] Cross-compiling OCaml, Mirage OS for rumprun,
	OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

> And, as I just found out now, it's not just the native packages, it's *all*
> packages that need to be rebuilt. So, for Mirage I'd have to produce
> -rumprun variants of all its dependent packages, right? This would include
> teaching the "mirage configure" script about them.

We already partly do that to cross-compile the C stubs for Xen (such as gmp for the TLS stack to work on Xen). The upcoming 2.5.0 release of mirage will have improved support for this. See gmp-xen[1] and some ugly ocamlfind hackery to pass the right options at link time, used by mirage configure[2] when generating the Makefile.

Clearly the situation will not scale well as we will have to patch every package using C stubs. I'm looking forward to have full support cross-compilation in the whole toolchain (to start with the build tools).

--
Thomas

[1]: https://github.com/ocaml/opam-repository/tree/master/packages/gmp-xen/gmp-xen.6.0.0
[2]: https://github.com/ocaml/opam-repository/blob/master/packages/zarith/zarith.1.3/files/xen_linkopts.patch
[3]: https://github.com/mirage/mirage/blob/master/lib/mirage.ml#L2248

> 
> This begs the question, why did you use the approach of building the
> cross-compiler as a normal OPAM package, rather than as a compiler package?
> 
> If I understand correctly how "OPAM switch" works, then the latter option
> would at least get rid of the need to deal with the -android (or -rumprun)
> renaming of packages since each compiler has its own set of packages.
> 
> Obviously, there'd still have to be some way of getting
> the OCAMLFIND_TOOLCHAIN and/or other cross-compilation patches into the
> system but at first glance it seems like it would be more flexible than
> adding suffixes to package names.
> 
> Thoughts?
> 
> Martin
> 
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 16:01:19 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 16:01:19 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yujx8-0004nt-Mr; Tue, 19 May 2015 16:01:10 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <n.oje.bar@gmail.com>) id 1Yujx6-0004nn-SM
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 16:01:09 +0000
Received: from [85.158.137.68] by server-5.bemta-3.messagelabs.com id
	EA/E1-03275-44E5B555; Tue, 19 May 2015 16:01:08 +0000
X-Env-Sender: n.oje.bar@gmail.com
X-Msg-Ref: server-9.tower-31.messagelabs.com!1432051267!8264248!1
X-Originating-IP: [209.85.212.180]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 31308 invoked from network); 19 May 2015 16:01:07 -0000
Received: from mail-wi0-f180.google.com (HELO mail-wi0-f180.google.com)
	(209.85.212.180)
	by server-9.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	19 May 2015 16:01:07 -0000
Received: by wicmx19 with SMTP id mx19so123488357wic.0
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 19 May 2015 09:01:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type:content-transfer-encoding;
	bh=vueASLqVqr4wClIlPb0sTkQVU3h7Tyrt0fFZRTk2XPQ=;
	b=Dvyv8CahVCXM3YuscMDx9M9S63AnHQ6StBB8V8h3/Ze9rzuYh5fFlTxo/VaafxCt0T
	BoA1T9RknuLAOssU3zuMHGXRswUTDm9ifAFLa60yJsWPdmVv8LcRcF7HtU4ri34TJ8Zl
	DMNT0AWn4rbn83Ai6roP49LWTs5aPpBh2wmAyRQhbuaXhOYVRL1NJ1J7fb2bQ9rLreJQ
	LTtNY2bcopGseiKOgJh5gz5hRNVvChsRU/X2XZllkHi+hu9iY/GtrRhiCchP3aygENVB
	QJ89Jig+JpkRohdA0q9qQS2n5OHmXtZE6si/GIRTE0CoeuiQRgqzYIkzlLtPcFm/+8/o
	LbVg==
MIME-Version: 1.0
X-Received: by 10.194.187.170 with SMTP id ft10mr34173047wjc.26.1432051266873; 
	Tue, 19 May 2015 09:01:06 -0700 (PDT)
Received: by 10.27.126.138 with HTTP; Tue, 19 May 2015 09:01:06 -0700 (PDT)
In-Reply-To: <FAC10121-D961-42CB-B2D5-2058098D3346@gazagnaire.org>
References: <20150519085016.GB10420@nodbug.lucina.net>
	<ead9b8457cfa0007dd71c32655cc6bf1@whitequark.org>
	<20150519135807.GD10420@nodbug.lucina.net>
	<FAC10121-D961-42CB-B2D5-2058098D3346@gazagnaire.org>
Date: Tue, 19 May 2015 17:01:06 +0100
X-Google-Sender-Auth: yFPkqBpaPNkWaEK3mbLhR6m-yOI
Message-ID: <CAPunWhBFGhx7ROhGwC+D-coBH1FJSXLsTMDiYWx1RzP9RAx=Nw@mail.gmail.com>
From: Nicolas Ojeda Bar <no263@dpmms.cam.ac.uk>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
Cc: Anil Madhavapeddy <avsm@recoil.org>,
	opam-devel <opam-devel@lists.ocaml.org>,
	"mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] [opam-devel]  Cross-compiling OCaml,
 Mirage OS for rumprun, OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Just to add my 2 cents,

I am currently hacking away at a RISC-V cross-compiler and so have
been looking into the cross-compilation support quite a bit.
I found that a recent commit to the 4.02 branch to be quite promising, see

https://github.com/ocaml/ocaml/commit/f1f28e10ae4f7b76e7b92a2e72ce1fb8a33d86a9

You can try this out by doing

opam switch 4.02.0+trunk

A couple of things that you need in order to use the cross-compilation support:
- You need the host ocaml system to be the same version as the version
of the cross-compiler (in this case, 4.02)
- You need an ANSI C cross-compiler named <target>-gcc.
- It is not possible to cross-compile between different word sizes
(this is related to the use of Nativeint in the compiler and quite
orthogonal to the build system issues).

With this switch, I was eventually able to cross-compile the
native-code compiler (and runtime system) to RISC-V.  Unfortunately I
cannot yet test anything because I still need to port some assembly
bits to plug in the runtime system into the generated programs, but
the assembly generated looks promising.

Best wishes,
Nicolas


On Tue, May 19, 2015 at 4:22 PM, Thomas Gazagnaire
<thomas@gazagnaire.org> wrote:
>> And, as I just found out now, it's not just the native packages, it's *all*
>> packages that need to be rebuilt. So, for Mirage I'd have to produce
>> -rumprun variants of all its dependent packages, right? This would include
>> teaching the "mirage configure" script about them.
>
> We already partly do that to cross-compile the C stubs for Xen (such as gmp for the TLS stack to work on Xen). The upcoming 2.5.0 release of mirage will have improved support for this. See gmp-xen[1] and some ugly ocamlfind hackery to pass the right options at link time, used by mirage configure[2] when generating the Makefile.
>
> Clearly the situation will not scale well as we will have to patch every package using C stubs. I'm looking forward to have full support cross-compilation in the whole toolchain (to start with the build tools).
>
> --
> Thomas
>
> [1]: https://github.com/ocaml/opam-repository/tree/master/packages/gmp-xen/gmp-xen.6.0.0
> [2]: https://github.com/ocaml/opam-repository/blob/master/packages/zarith/zarith.1.3/files/xen_linkopts.patch
> [3]: https://github.com/mirage/mirage/blob/master/lib/mirage.ml#L2248
>
>>
>> This begs the question, why did you use the approach of building the
>> cross-compiler as a normal OPAM package, rather than as a compiler package?
>>
>> If I understand correctly how "OPAM switch" works, then the latter option
>> would at least get rid of the need to deal with the -android (or -rumprun)
>> renaming of packages since each compiler has its own set of packages.
>>
>> Obviously, there'd still have to be some way of getting
>> the OCAMLFIND_TOOLCHAIN and/or other cross-compilation patches into the
>> system but at first glance it seems like it would be more flexible than
>> adding suffixes to package names.
>>
>> Thoughts?
>>
>> Martin
>>
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>
> _______________________________________________
> opam-devel mailing list
> opam-devel@lists.ocaml.org
> http://lists.ocaml.org/listinfo/opam-devel

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 16:01:19 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 16:01:19 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yujx8-0004nt-Mr; Tue, 19 May 2015 16:01:10 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <n.oje.bar@gmail.com>) id 1Yujx6-0004nn-SM
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 16:01:09 +0000
Received: from [85.158.137.68] by server-5.bemta-3.messagelabs.com id
	EA/E1-03275-44E5B555; Tue, 19 May 2015 16:01:08 +0000
X-Env-Sender: n.oje.bar@gmail.com
X-Msg-Ref: server-9.tower-31.messagelabs.com!1432051267!8264248!1
X-Originating-IP: [209.85.212.180]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 31308 invoked from network); 19 May 2015 16:01:07 -0000
Received: from mail-wi0-f180.google.com (HELO mail-wi0-f180.google.com)
	(209.85.212.180)
	by server-9.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	19 May 2015 16:01:07 -0000
Received: by wicmx19 with SMTP id mx19so123488357wic.0
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 19 May 2015 09:01:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type:content-transfer-encoding;
	bh=vueASLqVqr4wClIlPb0sTkQVU3h7Tyrt0fFZRTk2XPQ=;
	b=Dvyv8CahVCXM3YuscMDx9M9S63AnHQ6StBB8V8h3/Ze9rzuYh5fFlTxo/VaafxCt0T
	BoA1T9RknuLAOssU3zuMHGXRswUTDm9ifAFLa60yJsWPdmVv8LcRcF7HtU4ri34TJ8Zl
	DMNT0AWn4rbn83Ai6roP49LWTs5aPpBh2wmAyRQhbuaXhOYVRL1NJ1J7fb2bQ9rLreJQ
	LTtNY2bcopGseiKOgJh5gz5hRNVvChsRU/X2XZllkHi+hu9iY/GtrRhiCchP3aygENVB
	QJ89Jig+JpkRohdA0q9qQS2n5OHmXtZE6si/GIRTE0CoeuiQRgqzYIkzlLtPcFm/+8/o
	LbVg==
MIME-Version: 1.0
X-Received: by 10.194.187.170 with SMTP id ft10mr34173047wjc.26.1432051266873; 
	Tue, 19 May 2015 09:01:06 -0700 (PDT)
Received: by 10.27.126.138 with HTTP; Tue, 19 May 2015 09:01:06 -0700 (PDT)
In-Reply-To: <FAC10121-D961-42CB-B2D5-2058098D3346@gazagnaire.org>
References: <20150519085016.GB10420@nodbug.lucina.net>
	<ead9b8457cfa0007dd71c32655cc6bf1@whitequark.org>
	<20150519135807.GD10420@nodbug.lucina.net>
	<FAC10121-D961-42CB-B2D5-2058098D3346@gazagnaire.org>
Date: Tue, 19 May 2015 17:01:06 +0100
X-Google-Sender-Auth: yFPkqBpaPNkWaEK3mbLhR6m-yOI
Message-ID: <CAPunWhBFGhx7ROhGwC+D-coBH1FJSXLsTMDiYWx1RzP9RAx=Nw@mail.gmail.com>
From: Nicolas Ojeda Bar <no263@dpmms.cam.ac.uk>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
Cc: Anil Madhavapeddy <avsm@recoil.org>,
	opam-devel <opam-devel@lists.ocaml.org>,
	"mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] [opam-devel]  Cross-compiling OCaml,
 Mirage OS for rumprun, OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Just to add my 2 cents,

I am currently hacking away at a RISC-V cross-compiler and so have
been looking into the cross-compilation support quite a bit.
I found that a recent commit to the 4.02 branch to be quite promising, see

https://github.com/ocaml/ocaml/commit/f1f28e10ae4f7b76e7b92a2e72ce1fb8a33d86a9

You can try this out by doing

opam switch 4.02.0+trunk

A couple of things that you need in order to use the cross-compilation support:
- You need the host ocaml system to be the same version as the version
of the cross-compiler (in this case, 4.02)
- You need an ANSI C cross-compiler named <target>-gcc.
- It is not possible to cross-compile between different word sizes
(this is related to the use of Nativeint in the compiler and quite
orthogonal to the build system issues).

With this switch, I was eventually able to cross-compile the
native-code compiler (and runtime system) to RISC-V.  Unfortunately I
cannot yet test anything because I still need to port some assembly
bits to plug in the runtime system into the generated programs, but
the assembly generated looks promising.

Best wishes,
Nicolas


On Tue, May 19, 2015 at 4:22 PM, Thomas Gazagnaire
<thomas@gazagnaire.org> wrote:
>> And, as I just found out now, it's not just the native packages, it's *all*
>> packages that need to be rebuilt. So, for Mirage I'd have to produce
>> -rumprun variants of all its dependent packages, right? This would include
>> teaching the "mirage configure" script about them.
>
> We already partly do that to cross-compile the C stubs for Xen (such as gmp for the TLS stack to work on Xen). The upcoming 2.5.0 release of mirage will have improved support for this. See gmp-xen[1] and some ugly ocamlfind hackery to pass the right options at link time, used by mirage configure[2] when generating the Makefile.
>
> Clearly the situation will not scale well as we will have to patch every package using C stubs. I'm looking forward to have full support cross-compilation in the whole toolchain (to start with the build tools).
>
> --
> Thomas
>
> [1]: https://github.com/ocaml/opam-repository/tree/master/packages/gmp-xen/gmp-xen.6.0.0
> [2]: https://github.com/ocaml/opam-repository/blob/master/packages/zarith/zarith.1.3/files/xen_linkopts.patch
> [3]: https://github.com/mirage/mirage/blob/master/lib/mirage.ml#L2248
>
>>
>> This begs the question, why did you use the approach of building the
>> cross-compiler as a normal OPAM package, rather than as a compiler package?
>>
>> If I understand correctly how "OPAM switch" works, then the latter option
>> would at least get rid of the need to deal with the -android (or -rumprun)
>> renaming of packages since each compiler has its own set of packages.
>>
>> Obviously, there'd still have to be some way of getting
>> the OCAMLFIND_TOOLCHAIN and/or other cross-compilation patches into the
>> system but at first glance it seems like it would be more flexible than
>> adding suffixes to package names.
>>
>> Thoughts?
>>
>> Martin
>>
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>
> _______________________________________________
> opam-devel mailing list
> opam-devel@lists.ocaml.org
> http://lists.ocaml.org/listinfo/opam-devel

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 16:26:10 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 16:26:10 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YukLG-0006Ik-Vo; Tue, 19 May 2015 16:26:06 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <gabriel.scherer@gmail.com>) id 1YuiyM-0007UP-IE
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 14:58:22 +0000
Received: from [85.158.137.68] by server-14.bemta-3.messagelabs.com id
	09/75-02948-D8F4B555; Tue, 19 May 2015 14:58:21 +0000
X-Env-Sender: gabriel.scherer@gmail.com
X-Msg-Ref: server-11.tower-31.messagelabs.com!1432047499!11977394!1
X-Originating-IP: [209.85.223.178]
X-SpamReason: No, hits=0.9 required=7.0 tests=HTML_40_50,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 5925 invoked from network); 19 May 2015 14:58:20 -0000
Received: from mail-ie0-f178.google.com (HELO mail-ie0-f178.google.com)
	(209.85.223.178)
	by server-11.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	19 May 2015 14:58:20 -0000
Received: by iepj10 with SMTP id j10so15724252iep.3
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 19 May 2015 07:58:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to
	:cc:content-type;
	bh=TcRRgRLS+uuui+LPN0VMvZAIIAGdzfpCMTSTyKF+5Hw=;
	b=WU3E/bNaLXYyiMc1Kkn5wFPBsAN0kqdq+ngO2Ea/HXM+wUuQBH9/OCzHy7IdFPifSp
	PQIiueVRd/MJw0EX4eLoUPZLu4+T5oCAVQfuF8MoJY0a2PodHEZTdv8CpHnmseEsRfpC
	oe8j1OdybejaoDCq6vk/agodiNgvj93CFTP06N7pEKGb9M5p/8eJobdiqPPwIw8g0tVt
	tV1OiR45JnV16IkyIwpVVtXUQkGmJ5l3481l8PmBlqQFKyWHb64F5GiZZAk7Rm+gG08N
	9mBoih0j3mUV1tnDSofdVZ+2VNRwR65efsad5hCjFD03QjXaBnEh9MXQ2/KrLbM5qbw/
	TqDQ==
X-Received: by 10.107.17.158 with SMTP id 30mr19622916ior.48.1432047499444;
	Tue, 19 May 2015 07:58:19 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.79.70.4 with HTTP; Tue, 19 May 2015 07:57:37 -0700 (PDT)
In-Reply-To: <20150519145324.GI10420@nodbug.lucina.net>
References: <20150519085016.GB10420@nodbug.lucina.net>
	<0671D956-7339-455E-8D07-FCB1BFC47924@gazagnaire.org>
	<20150519141251.GF10420@nodbug.lucina.net>
	<20150519144425.GH10420@nodbug.lucina.net>
	<58032E21FC304B29AF7973A5BF3ACDD7@erratique.ch>
	<20150519145324.GI10420@nodbug.lucina.net>
From: Gabriel Scherer <gabriel.scherer@gmail.com>
Date: Tue, 19 May 2015 16:57:37 +0200
Message-ID: <CAPFanBFyUwtG-Lr4iTatihvrzQEPSbizgGtws8xzca4O2_tvPg@mail.gmail.com>
To: =?UTF-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>, 
	Thomas Gazagnaire <thomas@gazagnaire.org>, 
	mirageos-devel <mirageos-devel@lists.xenproject.org>, 
	Peter Zotov <whitequark@whitequark.org>,
	opam-devel <opam-devel@lists.ocaml.org>, 
	Anil Madhavapeddy <avsm@recoil.org>, Andy Ray <andy.ray@ujamjar.com>
X-Mailman-Approved-At: Tue, 19 May 2015 16:26:05 +0000
Cc: Adrien Nader <adrien@notk.org>
Subject: Re: [MirageOS-devel] [opam-devel]  Cross-compiling OCaml,
 Mirage OS for rumprun, OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============7742139151732610944=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============7742139151732610944==
Content-Type: multipart/alternative; boundary=001a113eddb28188b60516708a93

--001a113eddb28188b60516708a93
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Indeed, this seems to be a side-effect of the partial merge of Adrien
Nader's patches; he was working on cross-compilation in trunk between
releases 4.01 and 4.02.

http://caml.inria.fr/mantis/view.php?id=3D5737
https://github.com/ocaml/ocaml/commit/dda5f84f7c47de4cb1225de77ec723bacb06e=
905

On Tue, May 19, 2015 at 4:53 PM, Martin Lucina <martin@lucina.net> wrote:

> On Tuesday, 19.05.2015 at 16:48, Daniel B=C3=BCnzli wrote:
> > Le mardi, 19 mai 2015 =C3=A0 16:44, Martin Lucina a =C3=A9crit :
> > > What I don't understand is why
> > > upstream OCaml 4.02.01 claims to support cross-compilation but
> doesn't; was
> > > this original effort abandoned by upstream? If so, why?
> >
> > Where do you see that ? This is news to me. Some work is being done
> right now [1] but I don't think anybody ever claimed there was support fo=
r
> cross-compilation in 4.02.
>
> In the 4.02.1 INSTALL file[1], which documents a "-target" option and say=
s
> it will produce a cross-compiler.  The switch is even accepted by
> configure, but the guts don't actually work.
>
> Perhaps some commit snuck in to 4.02.1 which shouldn't have?
>
> Martin
>
> [1] https://github.com/ocaml/ocaml/blob/4.02.1/INSTALL#L68
> _______________________________________________
> opam-devel mailing list
> opam-devel@lists.ocaml.org
> http://lists.ocaml.org/listinfo/opam-devel
>

--001a113eddb28188b60516708a93
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Indeed, this seems to be a side-effect of the partial merg=
e of Adrien Nader&#39;s patches; he was working on cross-compilation in tru=
nk between releases 4.01 and 4.02.<br><br><a href=3D"http://caml.inria.fr/m=
antis/view.php?id=3D5737" target=3D"_blank">http://caml.inria.fr/mantis/vie=
w.php?id=3D5737</a><br><a href=3D"https://github.com/ocaml/ocaml/commit/dda=
5f84f7c47de4cb1225de77ec723bacb06e905" target=3D"_blank">https://github.com=
/ocaml/ocaml/commit/dda5f84f7c47de4cb1225de77ec723bacb06e905</a><br><div cl=
ass=3D"gmail_extra"><br><div class=3D"gmail_quote">On Tue, May 19, 2015 at =
4:53 PM, Martin Lucina <span dir=3D"ltr">&lt;<a href=3D"mailto:martin@lucin=
a.net" target=3D"_blank">martin@lucina.net</a>&gt;</span> wrote:<br><blockq=
uote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc =
solid;padding-left:1ex"><span>On Tuesday, 19.05.2015 at=C2=A016:48, Daniel =
B=C3=BCnzli wrote:<br>
&gt; Le mardi, 19 mai 2015 =C3=A0 16:44, Martin Lucina a =C3=A9crit :<br>
&gt; &gt; What I don&#39;t understand is why<br>
&gt; &gt; upstream OCaml 4.02.01 claims to support cross-compilation but do=
esn&#39;t; was<br>
&gt; &gt; this original effort abandoned by upstream? If so, why?<br>
&gt;<br>
&gt; Where do you see that ? This is news to me. Some work is being done ri=
ght now [1] but I don&#39;t think anybody ever claimed there was support fo=
r cross-compilation in 4.02.<br>
<br>
</span>In the 4.02.1 INSTALL file[1], which documents a &quot;-target&quot;=
 option and says<br>
it will produce a cross-compiler.=C2=A0 The switch is even accepted by<br>
configure, but the guts don&#39;t actually work.<br>
<br>
Perhaps some commit snuck in to 4.02.1 which shouldn&#39;t have?<br>
<br>
Martin<br>
<br>
[1] <a href=3D"https://github.com/ocaml/ocaml/blob/4.02.1/INSTALL#L68" targ=
et=3D"_blank">https://github.com/ocaml/ocaml/blob/4.02.1/INSTALL#L68</a><br=
>
<div><div>_______________________________________________<br>
opam-devel mailing list<br>
<a href=3D"mailto:opam-devel@lists.ocaml.org" target=3D"_blank">opam-devel@=
lists.ocaml.org</a><br>
<a href=3D"http://lists.ocaml.org/listinfo/opam-devel" target=3D"_blank">ht=
tp://lists.ocaml.org/listinfo/opam-devel</a><br>
</div></div></blockquote></div><br></div></div>

--001a113eddb28188b60516708a93--


--===============7742139151732610944==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============7742139151732610944==--


From mirageos-devel-bounces@lists.xenproject.org Tue May 19 16:26:10 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 16:26:10 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YukLG-0006Ik-Vo; Tue, 19 May 2015 16:26:06 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <gabriel.scherer@gmail.com>) id 1YuiyM-0007UP-IE
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 14:58:22 +0000
Received: from [85.158.137.68] by server-14.bemta-3.messagelabs.com id
	09/75-02948-D8F4B555; Tue, 19 May 2015 14:58:21 +0000
X-Env-Sender: gabriel.scherer@gmail.com
X-Msg-Ref: server-11.tower-31.messagelabs.com!1432047499!11977394!1
X-Originating-IP: [209.85.223.178]
X-SpamReason: No, hits=0.9 required=7.0 tests=HTML_40_50,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 5925 invoked from network); 19 May 2015 14:58:20 -0000
Received: from mail-ie0-f178.google.com (HELO mail-ie0-f178.google.com)
	(209.85.223.178)
	by server-11.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	19 May 2015 14:58:20 -0000
Received: by iepj10 with SMTP id j10so15724252iep.3
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 19 May 2015 07:58:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to
	:cc:content-type;
	bh=TcRRgRLS+uuui+LPN0VMvZAIIAGdzfpCMTSTyKF+5Hw=;
	b=WU3E/bNaLXYyiMc1Kkn5wFPBsAN0kqdq+ngO2Ea/HXM+wUuQBH9/OCzHy7IdFPifSp
	PQIiueVRd/MJw0EX4eLoUPZLu4+T5oCAVQfuF8MoJY0a2PodHEZTdv8CpHnmseEsRfpC
	oe8j1OdybejaoDCq6vk/agodiNgvj93CFTP06N7pEKGb9M5p/8eJobdiqPPwIw8g0tVt
	tV1OiR45JnV16IkyIwpVVtXUQkGmJ5l3481l8PmBlqQFKyWHb64F5GiZZAk7Rm+gG08N
	9mBoih0j3mUV1tnDSofdVZ+2VNRwR65efsad5hCjFD03QjXaBnEh9MXQ2/KrLbM5qbw/
	TqDQ==
X-Received: by 10.107.17.158 with SMTP id 30mr19622916ior.48.1432047499444;
	Tue, 19 May 2015 07:58:19 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.79.70.4 with HTTP; Tue, 19 May 2015 07:57:37 -0700 (PDT)
In-Reply-To: <20150519145324.GI10420@nodbug.lucina.net>
References: <20150519085016.GB10420@nodbug.lucina.net>
	<0671D956-7339-455E-8D07-FCB1BFC47924@gazagnaire.org>
	<20150519141251.GF10420@nodbug.lucina.net>
	<20150519144425.GH10420@nodbug.lucina.net>
	<58032E21FC304B29AF7973A5BF3ACDD7@erratique.ch>
	<20150519145324.GI10420@nodbug.lucina.net>
From: Gabriel Scherer <gabriel.scherer@gmail.com>
Date: Tue, 19 May 2015 16:57:37 +0200
Message-ID: <CAPFanBFyUwtG-Lr4iTatihvrzQEPSbizgGtws8xzca4O2_tvPg@mail.gmail.com>
To: =?UTF-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>, 
	Thomas Gazagnaire <thomas@gazagnaire.org>, 
	mirageos-devel <mirageos-devel@lists.xenproject.org>, 
	Peter Zotov <whitequark@whitequark.org>,
	opam-devel <opam-devel@lists.ocaml.org>, 
	Anil Madhavapeddy <avsm@recoil.org>, Andy Ray <andy.ray@ujamjar.com>
X-Mailman-Approved-At: Tue, 19 May 2015 16:26:05 +0000
Cc: Adrien Nader <adrien@notk.org>
Subject: Re: [MirageOS-devel] [opam-devel]  Cross-compiling OCaml,
 Mirage OS for rumprun, OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============7742139151732610944=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============7742139151732610944==
Content-Type: multipart/alternative; boundary=001a113eddb28188b60516708a93

--001a113eddb28188b60516708a93
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Indeed, this seems to be a side-effect of the partial merge of Adrien
Nader's patches; he was working on cross-compilation in trunk between
releases 4.01 and 4.02.

http://caml.inria.fr/mantis/view.php?id=3D5737
https://github.com/ocaml/ocaml/commit/dda5f84f7c47de4cb1225de77ec723bacb06e=
905

On Tue, May 19, 2015 at 4:53 PM, Martin Lucina <martin@lucina.net> wrote:

> On Tuesday, 19.05.2015 at 16:48, Daniel B=C3=BCnzli wrote:
> > Le mardi, 19 mai 2015 =C3=A0 16:44, Martin Lucina a =C3=A9crit :
> > > What I don't understand is why
> > > upstream OCaml 4.02.01 claims to support cross-compilation but
> doesn't; was
> > > this original effort abandoned by upstream? If so, why?
> >
> > Where do you see that ? This is news to me. Some work is being done
> right now [1] but I don't think anybody ever claimed there was support fo=
r
> cross-compilation in 4.02.
>
> In the 4.02.1 INSTALL file[1], which documents a "-target" option and say=
s
> it will produce a cross-compiler.  The switch is even accepted by
> configure, but the guts don't actually work.
>
> Perhaps some commit snuck in to 4.02.1 which shouldn't have?
>
> Martin
>
> [1] https://github.com/ocaml/ocaml/blob/4.02.1/INSTALL#L68
> _______________________________________________
> opam-devel mailing list
> opam-devel@lists.ocaml.org
> http://lists.ocaml.org/listinfo/opam-devel
>

--001a113eddb28188b60516708a93
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Indeed, this seems to be a side-effect of the partial merg=
e of Adrien Nader&#39;s patches; he was working on cross-compilation in tru=
nk between releases 4.01 and 4.02.<br><br><a href=3D"http://caml.inria.fr/m=
antis/view.php?id=3D5737" target=3D"_blank">http://caml.inria.fr/mantis/vie=
w.php?id=3D5737</a><br><a href=3D"https://github.com/ocaml/ocaml/commit/dda=
5f84f7c47de4cb1225de77ec723bacb06e905" target=3D"_blank">https://github.com=
/ocaml/ocaml/commit/dda5f84f7c47de4cb1225de77ec723bacb06e905</a><br><div cl=
ass=3D"gmail_extra"><br><div class=3D"gmail_quote">On Tue, May 19, 2015 at =
4:53 PM, Martin Lucina <span dir=3D"ltr">&lt;<a href=3D"mailto:martin@lucin=
a.net" target=3D"_blank">martin@lucina.net</a>&gt;</span> wrote:<br><blockq=
uote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc =
solid;padding-left:1ex"><span>On Tuesday, 19.05.2015 at=C2=A016:48, Daniel =
B=C3=BCnzli wrote:<br>
&gt; Le mardi, 19 mai 2015 =C3=A0 16:44, Martin Lucina a =C3=A9crit :<br>
&gt; &gt; What I don&#39;t understand is why<br>
&gt; &gt; upstream OCaml 4.02.01 claims to support cross-compilation but do=
esn&#39;t; was<br>
&gt; &gt; this original effort abandoned by upstream? If so, why?<br>
&gt;<br>
&gt; Where do you see that ? This is news to me. Some work is being done ri=
ght now [1] but I don&#39;t think anybody ever claimed there was support fo=
r cross-compilation in 4.02.<br>
<br>
</span>In the 4.02.1 INSTALL file[1], which documents a &quot;-target&quot;=
 option and says<br>
it will produce a cross-compiler.=C2=A0 The switch is even accepted by<br>
configure, but the guts don&#39;t actually work.<br>
<br>
Perhaps some commit snuck in to 4.02.1 which shouldn&#39;t have?<br>
<br>
Martin<br>
<br>
[1] <a href=3D"https://github.com/ocaml/ocaml/blob/4.02.1/INSTALL#L68" targ=
et=3D"_blank">https://github.com/ocaml/ocaml/blob/4.02.1/INSTALL#L68</a><br=
>
<div><div>_______________________________________________<br>
opam-devel mailing list<br>
<a href=3D"mailto:opam-devel@lists.ocaml.org" target=3D"_blank">opam-devel@=
lists.ocaml.org</a><br>
<a href=3D"http://lists.ocaml.org/listinfo/opam-devel" target=3D"_blank">ht=
tp://lists.ocaml.org/listinfo/opam-devel</a><br>
</div></div></blockquote></div><br></div></div>

--001a113eddb28188b60516708a93--


--===============7742139151732610944==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============7742139151732610944==--


From mirageos-devel-bounces@lists.xenproject.org Tue May 19 16:34:17 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 16:34:17 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YukTB-0006c1-8B; Tue, 19 May 2015 16:34:17 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <buzzheavyyear@hotmail.com>) id 1YukTA-0006bv-0P
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 16:34:16 +0000
Received: from [193.109.254.147] by server-11.bemta-14.messagelabs.com id
	8C/FC-02795-7066B555; Tue, 19 May 2015 16:34:15 +0000
X-Env-Sender: buzzheavyyear@hotmail.com
X-Msg-Ref: server-11.tower-27.messagelabs.com!1432053254!12809782!1
X-Originating-IP: [157.55.2.18]
X-SpamReason: No, hits=0.4 required=7.0 tests=FORGED_HOTMAIL_RCVD,
	HTML_60_70,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 18485 invoked from network); 19 May 2015 16:34:14 -0000
Received: from dub004-omc3s9.hotmail.com (HELO DUB004-OMC3S9.hotmail.com)
	(157.55.2.18)
	by server-11.tower-27.messagelabs.com with AES256-SHA encrypted SMTP;
	19 May 2015 16:34:14 -0000
Received: from DUB128-W16 ([157.55.2.9]) by DUB004-OMC3S9.hotmail.com over TLS
	secured channel with Microsoft SMTPSVC(7.5.7601.22751); 
	Tue, 19 May 2015 09:34:13 -0700
X-TMN: [JE+IyStlJlwg3np9APjuSFRyb9wUju8R]
X-Originating-Email: [buzzheavyyear@hotmail.com]
Message-ID: <DUB128-W16DBAA05B244EDDF29E60DB4C30@phx.gbl>
From: Nick Betteridge <buzzheavyyear@hotmail.com>
To: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Date: Tue, 19 May 2015 16:34:13 +0000
Importance: Normal
MIME-Version: 1.0
X-OriginalArrivalTime: 19 May 2015 16:34:13.0884 (UTC)
	FILETIME=[A43753C0:01D09251]
Subject: [MirageOS-devel] mirage/skeleton/xen/static_website failing
	compilation
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============6488722901290439535=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============6488722901290439535==
Content-Type: multipart/alternative;
	boundary="_a319a799-42c6-4561-a642-a544a100b79f_"

--_a319a799-42c6-4561-a642-a544a100b79f_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi

I'm trying to work out why this example is failing to compile=2C as it was =
OK not so long ago :) -=20

File "dispatch.ml"=2C line 14=2C characters 22-23:
Error: Signature mismatch:
       Modules do not match:
         functor (C : V1.CLOCK) (T : V1_LWT.TIME) ->
           sig
             type buffer =3D Cstruct.t
             type ethif =3D E.t
             type ipaddr =3D Ipaddr.V4.t
             type prefix =3D Ipaddr.V4.t
             type error =3D [ `Unimplemented | `Unknown of string ]
             type 'a io =3D 'a Lwt.t
             type t =3D Ipv4.Make(E)(C)(T).t
             val disconnect : t -> unit io
             type callback =3D src:ipaddr -> dst:ipaddr -> buffer -> unit i=
o
             val input :
               t ->
               tcp:callback ->
               udp:callback ->
               default:(proto:int -> callback) -> buffer -> unit io
             val allocate_frame :
               t ->
               dst:ipaddr -> proto:[ `ICMP | `TCP | `UDP ] -> buffer * int
             val write : t -> buffer -> buffer -> unit io
             val writev : t -> buffer -> buffer list -> unit io
             val checksum : buffer -> buffer list -> int
             val get_source : t -> dst:ipaddr -> ipaddr
             val set_ip : t -> ipaddr -> unit io
             val get_ip : t -> ipaddr list
             val set_ip_netmask : t -> prefix -> unit io
             val get_ip_netmasks : t -> prefix list
             val set_ip_gateways : t -> ipaddr list -> unit io
             val get_ip_gateways : t -> ipaddr list
             type uipaddr =3D Ipaddr.t
             val to_uipaddr : ipaddr -> uipaddr
             val of_uipaddr : uipaddr -> ipaddr option
             val input_arpv4 : t -> buffer -> unit io
             val connect : ethif -> [> `Error of error | `Ok of t ] Lwt.t
           end
       is not included in
         V1_LWT.IP

 		 	   		  =

--_a319a799-42c6-4561-a642-a544a100b79f_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 12pt=3B
font-family:Calibri
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>Hi<br><br>I'm trying to work out=
 why this example is failing to compile=2C as it was OK not so long ago :) =
- <br><br>File "dispatch.ml"=2C line 14=2C characters 22-23:<br>Error: Sign=
ature mismatch:<br>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B Modules=
 do not match:<br>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&=
nbsp=3B functor (C : V1.CLOCK) (T : V1_LWT.TIME) -&gt=3B<br>&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B sig<br>=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nb=
sp=3B&nbsp=3B&nbsp=3B type buffer =3D Cstruct.t<br>&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B ty=
pe ethif =3D E.t<br>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B type ipaddr =3D Ipaddr.V4.t<br>=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nb=
sp=3B&nbsp=3B&nbsp=3B type prefix =3D Ipaddr.V4.t<br>&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B=
 type error =3D [ `Unimplemented | `Unknown of string ]<br>&nbsp=3B&nbsp=3B=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nb=
sp=3B type 'a io =3D 'a Lwt.t<br>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&n=
bsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B type t =3D Ipv4.Make=
(E)(C)(T).t<br>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbs=
p=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B val disconnect : t -&gt=3B unit io<br>=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nb=
sp=3B&nbsp=3B&nbsp=3B type callback =3D src:ipaddr -&gt=3B dst:ipaddr -&gt=
=3B buffer -&gt=3B unit io<br>&nbsp=3B&nbsp=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| `UDP ] -&gt=3B buffer * int<br>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&=
nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B val write : t -&gt=
=3B buffer -&gt=3B buffer -&gt=3B unit io<br>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B val wri=
tev : t -&gt=3B buffer -&gt=3B buffer list -&gt=3B unit io<br>&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B val checksum : buffer -&gt=3B buffer list -&gt=3B int<br>&nbsp=3B&=
nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbs=
p=3B&nbsp=3B val get_source : t -&gt=3B dst:ipaddr -&gt=3B ipaddr<br>&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B&nbsp=3B val set_ip : t -&gt=3B ipaddr -&gt=3B unit io<br>&nbsp=3B&=
nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbs=
p=3B&nbsp=3B val get_ip : t -&gt=3B ipaddr list<br>&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B va=
l set_ip_netmask : t -&gt=3B prefix -&gt=3B unit io<br>&nbsp=3B&nbsp=3B&nbs=
p=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B val get_ip_netmasks : t -&gt=3B prefix list<br>&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B va=
l set_ip_gateways : t -&gt=3B ipaddr list -&gt=3B unit io<br>&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B val get_ip_gateways : t -&gt=3B ipaddr list<br>&nbsp=3B&nbsp=3B&nb=
sp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B type uipaddr =3D Ipaddr.t<br>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&n=
bsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B val to_uipaddr : ipa=
ddr -&gt=3B uipaddr<br>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbs=
p=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B val of_uipaddr : uipaddr -&gt=
=3B ipaddr option<br>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B val input_arpv4 : t -&gt=3B buf=
fer -&gt=3B unit io<br>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbs=
p=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B val connect : ethif -&gt=3B [&=
gt=3B `Error of error | `Ok of t ] Lwt.t<br>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B end<br>&nbsp=3B&nbsp=3B=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B is not included in<br>&nbsp=3B&nbsp=3B&nbs=
p=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B V1_LWT.IP<br><br> 		 	   		  <=
/div></body>
</html>=

--_a319a799-42c6-4561-a642-a544a100b79f_--


--===============6488722901290439535==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============6488722901290439535==--


From mirageos-devel-bounces@lists.xenproject.org Tue May 19 16:34:17 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 16:34:17 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YukTB-0006c1-8B; Tue, 19 May 2015 16:34:17 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <buzzheavyyear@hotmail.com>) id 1YukTA-0006bv-0P
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 16:34:16 +0000
Received: from [193.109.254.147] by server-11.bemta-14.messagelabs.com id
	8C/FC-02795-7066B555; Tue, 19 May 2015 16:34:15 +0000
X-Env-Sender: buzzheavyyear@hotmail.com
X-Msg-Ref: server-11.tower-27.messagelabs.com!1432053254!12809782!1
X-Originating-IP: [157.55.2.18]
X-SpamReason: No, hits=0.4 required=7.0 tests=FORGED_HOTMAIL_RCVD,
	HTML_60_70,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 18485 invoked from network); 19 May 2015 16:34:14 -0000
Received: from dub004-omc3s9.hotmail.com (HELO DUB004-OMC3S9.hotmail.com)
	(157.55.2.18)
	by server-11.tower-27.messagelabs.com with AES256-SHA encrypted SMTP;
	19 May 2015 16:34:14 -0000
Received: from DUB128-W16 ([157.55.2.9]) by DUB004-OMC3S9.hotmail.com over TLS
	secured channel with Microsoft SMTPSVC(7.5.7601.22751); 
	Tue, 19 May 2015 09:34:13 -0700
X-TMN: [JE+IyStlJlwg3np9APjuSFRyb9wUju8R]
X-Originating-Email: [buzzheavyyear@hotmail.com]
Message-ID: <DUB128-W16DBAA05B244EDDF29E60DB4C30@phx.gbl>
From: Nick Betteridge <buzzheavyyear@hotmail.com>
To: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Date: Tue, 19 May 2015 16:34:13 +0000
Importance: Normal
MIME-Version: 1.0
X-OriginalArrivalTime: 19 May 2015 16:34:13.0884 (UTC)
	FILETIME=[A43753C0:01D09251]
Subject: [MirageOS-devel] mirage/skeleton/xen/static_website failing
	compilation
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============6488722901290439535=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============6488722901290439535==
Content-Type: multipart/alternative;
	boundary="_a319a799-42c6-4561-a642-a544a100b79f_"

--_a319a799-42c6-4561-a642-a544a100b79f_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi

I'm trying to work out why this example is failing to compile=2C as it was =
OK not so long ago :) -=20

File "dispatch.ml"=2C line 14=2C characters 22-23:
Error: Signature mismatch:
       Modules do not match:
         functor (C : V1.CLOCK) (T : V1_LWT.TIME) ->
           sig
             type buffer =3D Cstruct.t
             type ethif =3D E.t
             type ipaddr =3D Ipaddr.V4.t
             type prefix =3D Ipaddr.V4.t
             type error =3D [ `Unimplemented | `Unknown of string ]
             type 'a io =3D 'a Lwt.t
             type t =3D Ipv4.Make(E)(C)(T).t
             val disconnect : t -> unit io
             type callback =3D src:ipaddr -> dst:ipaddr -> buffer -> unit i=
o
             val input :
               t ->
               tcp:callback ->
               udp:callback ->
               default:(proto:int -> callback) -> buffer -> unit io
             val allocate_frame :
               t ->
               dst:ipaddr -> proto:[ `ICMP | `TCP | `UDP ] -> buffer * int
             val write : t -> buffer -> buffer -> unit io
             val writev : t -> buffer -> buffer list -> unit io
             val checksum : buffer -> buffer list -> int
             val get_source : t -> dst:ipaddr -> ipaddr
             val set_ip : t -> ipaddr -> unit io
             val get_ip : t -> ipaddr list
             val set_ip_netmask : t -> prefix -> unit io
             val get_ip_netmasks : t -> prefix list
             val set_ip_gateways : t -> ipaddr list -> unit io
             val get_ip_gateways : t -> ipaddr list
             type uipaddr =3D Ipaddr.t
             val to_uipaddr : ipaddr -> uipaddr
             val of_uipaddr : uipaddr -> ipaddr option
             val input_arpv4 : t -> buffer -> unit io
             val connect : ethif -> [> `Error of error | `Ok of t ] Lwt.t
           end
       is not included in
         V1_LWT.IP

 		 	   		  =

--_a319a799-42c6-4561-a642-a544a100b79f_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 12pt=3B
font-family:Calibri
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>Hi<br><br>I'm trying to work out=
 why this example is failing to compile=2C as it was OK not so long ago :) =
- <br><br>File "dispatch.ml"=2C line 14=2C characters 22-23:<br>Error: Sign=
ature mismatch:<br>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B Modules=
 do not match:<br>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&=
nbsp=3B functor (C : V1.CLOCK) (T : V1_LWT.TIME) -&gt=3B<br>&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B sig<br>=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nb=
sp=3B&nbsp=3B&nbsp=3B type buffer =3D Cstruct.t<br>&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B ty=
pe ethif =3D E.t<br>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B type ipaddr =3D Ipaddr.V4.t<br>=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nb=
sp=3B&nbsp=3B&nbsp=3B type prefix =3D Ipaddr.V4.t<br>&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B=
 type error =3D [ `Unimplemented | `Unknown of string ]<br>&nbsp=3B&nbsp=3B=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbs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B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B default:(proto:int -=
&gt=3B callback) -&gt=3B buffer -&gt=3B unit io<br>&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B va=
l allocate_frame :<br>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B t -&gt=3B<br>&n=
bsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B dst:ipaddr -&gt=3B proto:[ `ICMP | `TCP=
 | `UDP ] -&gt=3B buffer * int<br>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&=
nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B val write : t -&gt=
=3B buffer -&gt=3B buffer -&gt=3B unit io<br>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B val wri=
tev : t -&gt=3B buffer -&gt=3B buffer list -&gt=3B unit io<br>&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B val checksum : buffer -&gt=3B buffer list -&gt=3B int<br>&nbsp=3B&=
nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbs=
p=3B&nbsp=3B val get_source : t -&gt=3B dst:ipaddr -&gt=3B ipaddr<br>&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B&nbsp=3B val set_ip : t -&gt=3B ipaddr -&gt=3B unit io<br>&nbsp=3B&=
nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbs=
p=3B&nbsp=3B val get_ip : t -&gt=3B ipaddr list<br>&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B va=
l set_ip_netmask : t -&gt=3B prefix -&gt=3B unit io<br>&nbsp=3B&nbsp=3B&nbs=
p=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B val get_ip_netmasks : t -&gt=3B prefix list<br>&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B va=
l set_ip_gateways : t -&gt=3B ipaddr list -&gt=3B unit io<br>&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B val get_ip_gateways : t -&gt=3B ipaddr list<br>&nbsp=3B&nbsp=3B&nb=
sp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B type uipaddr =3D Ipaddr.t<br>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&n=
bsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B val to_uipaddr : ipa=
ddr -&gt=3B uipaddr<br>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbs=
p=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B val of_uipaddr : uipaddr -&gt=
=3B ipaddr option<br>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B val input_arpv4 : t -&gt=3B buf=
fer -&gt=3B unit io<br>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbs=
p=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B val connect : ethif -&gt=3B [&=
gt=3B `Error of error | `Ok of t ] Lwt.t<br>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B end<br>&nbsp=3B&nbsp=3B=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B is not included in<br>&nbsp=3B&nbsp=3B&nbs=
p=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B V1_LWT.IP<br><br> 		 	   		  <=
/div></body>
</html>=

--_a319a799-42c6-4561-a642-a544a100b79f_--


--===============6488722901290439535==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============6488722901290439535==--


From mirageos-devel-bounces@lists.xenproject.org Tue May 19 16:44:02 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 16:44:02 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YukcY-0006q5-33; Tue, 19 May 2015 16:43:58 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1YukcW-0006q0-7Z
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 16:43:56 +0000
Received: from [85.158.137.68] by server-4.bemta-3.messagelabs.com id
	96/D8-03201-B486B555; Tue, 19 May 2015 16:43:55 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-5.tower-31.messagelabs.com!1432053834!12034247!1
X-Originating-IP: [209.85.212.172]
X-SpamReason: No, hits=0.3 required=7.0 tests=HTML_60_70,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 13932 invoked from network); 19 May 2015 16:43:54 -0000
Received: from mail-wi0-f172.google.com (HELO mail-wi0-f172.google.com)
	(209.85.212.172)
	by server-5.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	19 May 2015 16:43:54 -0000
Received: by wizk4 with SMTP id k4so125113855wiz.1
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 19 May 2015 09:43:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:message-id:references:to;
	bh=YrmYB49H4ySGOF0HQbdXGKwlAli678RbrwbCSdiXcqg=;
	b=HfRkjJr0aUmN0VkLtbjQu6Gwq4PZrG9QWKvxHRZ/cfRXE82MVUDfJ4A6l9jEAfT9ly
	xf7UEJL1boAddb0TlP7UHR3AJhKAekuAZqt/cNao0WxgU9KRTfC+AQCS2qnWKuHkl4E7
	bmRTC7qGiwsigiY8cUUBclnbmDPaEx/2jXcxU659GwwJ2IQ4561x+3BhTU2iPln3vpFM
	bpBxfPFaeVw4YWUegxuWbT1NxSjDoenjySz8qpf+WwP4QM+pLfM3AVjBjOQRHzxybCdI
	i1mpZeE/sDgo0vr3jZY/qnJK+ykn434+6V367tgkg7H420DPNGdkjnycfScrQ9busbON
	vgfQ==
X-Received: by 10.194.48.14 with SMTP id h14mr55502044wjn.40.1432053834207;
	Tue, 19 May 2015 09:43:54 -0700 (PDT)
Received: from piana.mac.cl.cam.ac.uk (piana.mac.cl.cam.ac.uk. [128.232.56.38])
	by mx.google.com with ESMTPSA id um5sm22581003wjc.1.2015.05.19.09.43.53
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Tue, 19 May 2015 09:43:53 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <DUB128-W16DBAA05B244EDDF29E60DB4C30@phx.gbl>
Date: Tue, 19 May 2015 17:41:54 +0100
Message-Id: <B6BFF834-48EA-4E6C-941F-DDD270852E78@gazagnaire.org>
References: <DUB128-W16DBAA05B244EDDF29E60DB4C30@phx.gbl>
To: Nick Betteridge <buzzheavyyear@hotmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] mirage/skeleton/xen/static_website failing
	compilation
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8146951613932847147=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============8146951613932847147==
Content-Type: multipart/alternative; boundary="Apple-Mail=_84E4483B-022C-4813-AE43-D8CA5C012F53"


--Apple-Mail=_84E4483B-022C-4813-AE43-D8CA5C012F53
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=iso-8859-1

Which version or mirage/mirage-skeleton/mirage-tcpip do you have? Be =
sure to either use all of the HEAD ones, or the one released in =
opal-repository (after an `opam update -u`).

> On 19 May 2015, at 17:34, Nick Betteridge <buzzheavyyear@hotmail.com> =
wrote:
>=20
> Hi
>=20
> I'm trying to work out why this example is failing to compile, as it =
was OK not so long ago :) -=20
>=20
> File "dispatch.ml", line 14, characters 22-23:
> Error: Signature mismatch:
>        Modules do not match:
>          functor (C : V1.CLOCK) (T : V1_LWT.TIME) ->
>            sig
>              type buffer =3D Cstruct.t
>              type ethif =3D E.t
>              type ipaddr =3D Ipaddr.V4.t
>              type prefix =3D Ipaddr.V4.t
>              type error =3D [ `Unimplemented | `Unknown of string ]
>              type 'a io =3D 'a Lwt.t
>              type t =3D Ipv4.Make(E)(C)(T).t
>              val disconnect : t -> unit io
>              type callback =3D src:ipaddr -> dst:ipaddr -> buffer -> =
unit io
>              val input :
>                t ->
>                tcp:callback ->
>                udp:callback ->
>                default:(proto:int -> callback) -> buffer -> unit io
>              val allocate_frame :
>                t ->
>                dst:ipaddr -> proto:[ `ICMP | `TCP | `UDP ] -> buffer * =
int
>              val write : t -> buffer -> buffer -> unit io
>              val writev : t -> buffer -> buffer list -> unit io
>              val checksum : buffer -> buffer list -> int
>              val get_source : t -> dst:ipaddr -> ipaddr
>              val set_ip : t -> ipaddr -> unit io
>              val get_ip : t -> ipaddr list
>              val set_ip_netmask : t -> prefix -> unit io
>              val get_ip_netmasks : t -> prefix list
>              val set_ip_gateways : t -> ipaddr list -> unit io
>              val get_ip_gateways : t -> ipaddr list
>              type uipaddr =3D Ipaddr.t
>              val to_uipaddr : ipaddr -> uipaddr
>              val of_uipaddr : uipaddr -> ipaddr option
>              val input_arpv4 : t -> buffer -> unit io
>              val connect : ethif -> [> `Error of error | `Ok of t ] =
Lwt.t
>            end
>        is not included in
>          V1_LWT.IP
>=20
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


--Apple-Mail=_84E4483B-022C-4813-AE43-D8CA5C012F53
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=iso-8859-1

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Diso-8859-1"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Which version or mirage/mirage-skeleton/mirage-tcpip do you =
have? Be sure to either use all of the HEAD ones, or the one released in =
opal-repository (after an `opam update -u`).<div class=3D""><br =
class=3D""><div class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">On 19 May 2015, at 17:34, Nick Betteridge &lt;<a =
href=3D"mailto:buzzheavyyear@hotmail.com" =
class=3D"">buzzheavyyear@hotmail.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D"">

<style class=3D""><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div class=3D"hmmessage"><div dir=3D"ltr" class=3D"">Hi<br class=3D""><br =
class=3D"">I'm trying to work out why this example is failing to =
compile, as it was OK not so long ago :) - <br class=3D""><br =
class=3D"">File "dispatch.ml", line 14, characters 22-23:<br =
class=3D"">Error: Signature mismatch:<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Modules do not match:<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; functor (C : =
V1.CLOCK) (T : V1_LWT.TIME) -&gt;<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
sig<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type buffer =3D Cstruct.t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type ethif =3D E.t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type ipaddr =3D Ipaddr.V4.t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type prefix =3D Ipaddr.V4.t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type error =3D [ `Unimplemented | `Unknown of string ]<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type 'a io =3D 'a Lwt.t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type t =3D Ipv4.Make(E)(C)(T).t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val disconnect : t -&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type callback =3D src:ipaddr -&gt; dst:ipaddr -&gt; buffer =
-&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val input :<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; t -&gt;<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; tcp:callback -&gt;<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; udp:callback -&gt;<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; default:(proto:int -&gt; callback) -&gt; buffer =
-&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val allocate_frame :<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; t -&gt;<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; dst:ipaddr -&gt; proto:[ `ICMP | `TCP | `UDP ] =
-&gt; buffer * int<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val write : t -&gt; buffer -&gt; buffer -&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val writev : t -&gt; buffer -&gt; buffer list -&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val checksum : buffer -&gt; buffer list -&gt; int<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val get_source : t -&gt; dst:ipaddr -&gt; ipaddr<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val set_ip : t -&gt; ipaddr -&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val get_ip : t -&gt; ipaddr list<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val set_ip_netmask : t -&gt; prefix -&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val get_ip_netmasks : t -&gt; prefix list<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val set_ip_gateways : t -&gt; ipaddr list -&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val get_ip_gateways : t -&gt; ipaddr list<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type uipaddr =3D Ipaddr.t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val to_uipaddr : ipaddr -&gt; uipaddr<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val of_uipaddr : uipaddr -&gt; ipaddr option<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val input_arpv4 : t -&gt; buffer -&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val connect : ethif -&gt; [&gt; `Error of error | `Ok of t ] =
Lwt.t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
end<br class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; is not included =
in<br class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
V1_LWT.IP<br class=3D""><br class=3D""> 		 	   		=
  </div></div>
_______________________________________________<br =
class=3D"">MirageOS-devel mailing list<br class=3D""><a =
href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
class=3D"">MirageOS-devel@lists.xenproject.org</a><br =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel<br class=3D""></div></blockquote></div><br =
class=3D""></div></div></body></html>=

--Apple-Mail=_84E4483B-022C-4813-AE43-D8CA5C012F53--


--===============8146951613932847147==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============8146951613932847147==--


From mirageos-devel-bounces@lists.xenproject.org Tue May 19 16:44:02 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 16:44:02 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YukcY-0006q5-33; Tue, 19 May 2015 16:43:58 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1YukcW-0006q0-7Z
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 16:43:56 +0000
Received: from [85.158.137.68] by server-4.bemta-3.messagelabs.com id
	96/D8-03201-B486B555; Tue, 19 May 2015 16:43:55 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-5.tower-31.messagelabs.com!1432053834!12034247!1
X-Originating-IP: [209.85.212.172]
X-SpamReason: No, hits=0.3 required=7.0 tests=HTML_60_70,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 13932 invoked from network); 19 May 2015 16:43:54 -0000
Received: from mail-wi0-f172.google.com (HELO mail-wi0-f172.google.com)
	(209.85.212.172)
	by server-5.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	19 May 2015 16:43:54 -0000
Received: by wizk4 with SMTP id k4so125113855wiz.1
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 19 May 2015 09:43:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:message-id:references:to;
	bh=YrmYB49H4ySGOF0HQbdXGKwlAli678RbrwbCSdiXcqg=;
	b=HfRkjJr0aUmN0VkLtbjQu6Gwq4PZrG9QWKvxHRZ/cfRXE82MVUDfJ4A6l9jEAfT9ly
	xf7UEJL1boAddb0TlP7UHR3AJhKAekuAZqt/cNao0WxgU9KRTfC+AQCS2qnWKuHkl4E7
	bmRTC7qGiwsigiY8cUUBclnbmDPaEx/2jXcxU659GwwJ2IQ4561x+3BhTU2iPln3vpFM
	bpBxfPFaeVw4YWUegxuWbT1NxSjDoenjySz8qpf+WwP4QM+pLfM3AVjBjOQRHzxybCdI
	i1mpZeE/sDgo0vr3jZY/qnJK+ykn434+6V367tgkg7H420DPNGdkjnycfScrQ9busbON
	vgfQ==
X-Received: by 10.194.48.14 with SMTP id h14mr55502044wjn.40.1432053834207;
	Tue, 19 May 2015 09:43:54 -0700 (PDT)
Received: from piana.mac.cl.cam.ac.uk (piana.mac.cl.cam.ac.uk. [128.232.56.38])
	by mx.google.com with ESMTPSA id um5sm22581003wjc.1.2015.05.19.09.43.53
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Tue, 19 May 2015 09:43:53 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <DUB128-W16DBAA05B244EDDF29E60DB4C30@phx.gbl>
Date: Tue, 19 May 2015 17:41:54 +0100
Message-Id: <B6BFF834-48EA-4E6C-941F-DDD270852E78@gazagnaire.org>
References: <DUB128-W16DBAA05B244EDDF29E60DB4C30@phx.gbl>
To: Nick Betteridge <buzzheavyyear@hotmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] mirage/skeleton/xen/static_website failing
	compilation
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8146951613932847147=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============8146951613932847147==
Content-Type: multipart/alternative; boundary="Apple-Mail=_84E4483B-022C-4813-AE43-D8CA5C012F53"


--Apple-Mail=_84E4483B-022C-4813-AE43-D8CA5C012F53
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=iso-8859-1

Which version or mirage/mirage-skeleton/mirage-tcpip do you have? Be =
sure to either use all of the HEAD ones, or the one released in =
opal-repository (after an `opam update -u`).

> On 19 May 2015, at 17:34, Nick Betteridge <buzzheavyyear@hotmail.com> =
wrote:
>=20
> Hi
>=20
> I'm trying to work out why this example is failing to compile, as it =
was OK not so long ago :) -=20
>=20
> File "dispatch.ml", line 14, characters 22-23:
> Error: Signature mismatch:
>        Modules do not match:
>          functor (C : V1.CLOCK) (T : V1_LWT.TIME) ->
>            sig
>              type buffer =3D Cstruct.t
>              type ethif =3D E.t
>              type ipaddr =3D Ipaddr.V4.t
>              type prefix =3D Ipaddr.V4.t
>              type error =3D [ `Unimplemented | `Unknown of string ]
>              type 'a io =3D 'a Lwt.t
>              type t =3D Ipv4.Make(E)(C)(T).t
>              val disconnect : t -> unit io
>              type callback =3D src:ipaddr -> dst:ipaddr -> buffer -> =
unit io
>              val input :
>                t ->
>                tcp:callback ->
>                udp:callback ->
>                default:(proto:int -> callback) -> buffer -> unit io
>              val allocate_frame :
>                t ->
>                dst:ipaddr -> proto:[ `ICMP | `TCP | `UDP ] -> buffer * =
int
>              val write : t -> buffer -> buffer -> unit io
>              val writev : t -> buffer -> buffer list -> unit io
>              val checksum : buffer -> buffer list -> int
>              val get_source : t -> dst:ipaddr -> ipaddr
>              val set_ip : t -> ipaddr -> unit io
>              val get_ip : t -> ipaddr list
>              val set_ip_netmask : t -> prefix -> unit io
>              val get_ip_netmasks : t -> prefix list
>              val set_ip_gateways : t -> ipaddr list -> unit io
>              val get_ip_gateways : t -> ipaddr list
>              type uipaddr =3D Ipaddr.t
>              val to_uipaddr : ipaddr -> uipaddr
>              val of_uipaddr : uipaddr -> ipaddr option
>              val input_arpv4 : t -> buffer -> unit io
>              val connect : ethif -> [> `Error of error | `Ok of t ] =
Lwt.t
>            end
>        is not included in
>          V1_LWT.IP
>=20
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


--Apple-Mail=_84E4483B-022C-4813-AE43-D8CA5C012F53
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=iso-8859-1

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Diso-8859-1"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Which version or mirage/mirage-skeleton/mirage-tcpip do you =
have? Be sure to either use all of the HEAD ones, or the one released in =
opal-repository (after an `opam update -u`).<div class=3D""><br =
class=3D""><div class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">On 19 May 2015, at 17:34, Nick Betteridge &lt;<a =
href=3D"mailto:buzzheavyyear@hotmail.com" =
class=3D"">buzzheavyyear@hotmail.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D"">

<style class=3D""><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div class=3D"hmmessage"><div dir=3D"ltr" class=3D"">Hi<br class=3D""><br =
class=3D"">I'm trying to work out why this example is failing to =
compile, as it was OK not so long ago :) - <br class=3D""><br =
class=3D"">File "dispatch.ml", line 14, characters 22-23:<br =
class=3D"">Error: Signature mismatch:<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Modules do not match:<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; functor (C : =
V1.CLOCK) (T : V1_LWT.TIME) -&gt;<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
sig<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type buffer =3D Cstruct.t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type ethif =3D E.t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type ipaddr =3D Ipaddr.V4.t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type prefix =3D Ipaddr.V4.t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type error =3D [ `Unimplemented | `Unknown of string ]<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type 'a io =3D 'a Lwt.t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type t =3D Ipv4.Make(E)(C)(T).t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val disconnect : t -&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type callback =3D src:ipaddr -&gt; dst:ipaddr -&gt; buffer =
-&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val input :<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; t -&gt;<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; tcp:callback -&gt;<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; udp:callback -&gt;<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; default:(proto:int -&gt; callback) -&gt; buffer =
-&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val allocate_frame :<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; t -&gt;<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; dst:ipaddr -&gt; proto:[ `ICMP | `TCP | `UDP ] =
-&gt; buffer * int<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val write : t -&gt; buffer -&gt; buffer -&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val writev : t -&gt; buffer -&gt; buffer list -&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val checksum : buffer -&gt; buffer list -&gt; int<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val get_source : t -&gt; dst:ipaddr -&gt; ipaddr<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val set_ip : t -&gt; ipaddr -&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val get_ip : t -&gt; ipaddr list<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val set_ip_netmask : t -&gt; prefix -&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val get_ip_netmasks : t -&gt; prefix list<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val set_ip_gateways : t -&gt; ipaddr list -&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val get_ip_gateways : t -&gt; ipaddr list<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type uipaddr =3D Ipaddr.t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val to_uipaddr : ipaddr -&gt; uipaddr<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val of_uipaddr : uipaddr -&gt; ipaddr option<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val input_arpv4 : t -&gt; buffer -&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val connect : ethif -&gt; [&gt; `Error of error | `Ok of t ] =
Lwt.t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
end<br class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; is not included =
in<br class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
V1_LWT.IP<br class=3D""><br class=3D""> 		 	   		=
  </div></div>
_______________________________________________<br =
class=3D"">MirageOS-devel mailing list<br class=3D""><a =
href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
class=3D"">MirageOS-devel@lists.xenproject.org</a><br =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel<br class=3D""></div></blockquote></div><br =
class=3D""></div></div></body></html>=

--Apple-Mail=_84E4483B-022C-4813-AE43-D8CA5C012F53--


--===============8146951613932847147==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============8146951613932847147==--


From mirageos-devel-bounces@lists.xenproject.org Tue May 19 16:44:36 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 16:44:36 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YukdA-0006vA-Ox; Tue, 19 May 2015 16:44:36 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1Yukd9-0006up-0w
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 16:44:35 +0000
Received: from [193.109.254.147] by server-16.bemta-14.messagelabs.com id
	43/D1-02680-2786B555; Tue, 19 May 2015 16:44:34 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-12.tower-27.messagelabs.com!1432053872!18950488!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=HTML_MESSAGE,
  RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26874 invoked from network); 19 May 2015 16:44:32 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-12.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 19 May 2015 16:44:32 -0000
Received: from flick.office (volstagg-0.srg.cl.cam.ac.uk [128.232.32.232]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 182d2b0a;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 19 May 2015 17:44:32 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <DUB128-W16DBAA05B244EDDF29E60DB4C30@phx.gbl>
Date: Tue, 19 May 2015 17:44:35 +0100
Message-Id: <017401A2-FAEC-4076-8E68-F141CE4DEB85@recoil.org>
References: <DUB128-W16DBAA05B244EDDF29E60DB4C30@phx.gbl>
To: Nick Betteridge <buzzheavyyear@hotmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] mirage/skeleton/xen/static_website failing
	compilation
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1908004292531145024=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============1908004292531145024==
Content-Type: multipart/alternative; boundary="Apple-Mail=_489000BB-1D33-4EBD-86F2-8F992687A76B"


--Apple-Mail=_489000BB-1D33-4EBD-86F2-8F992687A76B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=iso-8859-1

The V1_LWT type interface changes are here:
https://github.com/mirage/mirage/commits/master/types/V1_LWT.mli =
<https://github.com/mirage/mirage/commits/master/types/V1_LWT.mli>

And the only main addition was this in February for IPv6:
=
https://github.com/mirage/mirage/commit/fac5ec598d728bd559794f540ff0a56cc5=
abc51d#diff-be484a37f777d5945a68983604b384fc =
<https://github.com/mirage/mirage/commit/fac5ec598d728bd559794f540ff0a56cc=
5abc51d#diff-be484a37f777d5945a68983604b384fc>

But normally this sort of error is because of a mismatch in functor =
arguments -- can you check that the generated code or manually write =
code is in sync?  Which versions of the tools are you using?

-anil

> On 19 May 2015, at 17:34, Nick Betteridge <buzzheavyyear@hotmail.com> =
wrote:
>=20
> Hi
>=20
> I'm trying to work out why this example is failing to compile, as it =
was OK not so long ago :) -=20
>=20
> File "dispatch.ml", line 14, characters 22-23:
> Error: Signature mismatch:
>        Modules do not match:
>          functor (C : V1.CLOCK) (T : V1_LWT.TIME) ->
>            sig
>              type buffer =3D Cstruct.t
>              type ethif =3D E.t
>              type ipaddr =3D Ipaddr.V4.t
>              type prefix =3D Ipaddr.V4.t
>              type error =3D [ `Unimplemented | `Unknown of string ]
>              type 'a io =3D 'a Lwt.t
>              type t =3D Ipv4.Make(E)(C)(T).t
>              val disconnect : t -> unit io
>              type callback =3D src:ipaddr -> dst:ipaddr -> buffer -> =
unit io
>              val input :
>                t ->
>                tcp:callback ->
>                udp:callback ->
>                default:(proto:int -> callback) -> buffer -> unit io
>              val allocate_frame :
>                t ->
>                dst:ipaddr -> proto:[ `ICMP | `TCP | `UDP ] -> buffer * =
int
>              val write : t -> buffer -> buffer -> unit io
>              val writev : t -> buffer -> buffer list -> unit io
>              val checksum : buffer -> buffer list -> int
>              val get_source : t -> dst:ipaddr -> ipaddr
>              val set_ip : t -> ipaddr -> unit io
>              val get_ip : t -> ipaddr list
>              val set_ip_netmask : t -> prefix -> unit io
>              val get_ip_netmasks : t -> prefix list
>              val set_ip_gateways : t -> ipaddr list -> unit io
>              val get_ip_gateways : t -> ipaddr list
>              type uipaddr =3D Ipaddr.t
>              val to_uipaddr : ipaddr -> uipaddr
>              val of_uipaddr : uipaddr -> ipaddr option
>              val input_arpv4 : t -> buffer -> unit io
>              val connect : ethif -> [> `Error of error | `Ok of t ] =
Lwt.t
>            end
>        is not included in
>          V1_LWT.IP
>=20
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org =
<mailto:MirageOS-devel@lists.xenproject.org>
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel =
<http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>

--Apple-Mail=_489000BB-1D33-4EBD-86F2-8F992687A76B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=iso-8859-1

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Diso-8859-1"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">The V1_LWT type interface changes are here:<div class=3D""><a =
href=3D"https://github.com/mirage/mirage/commits/master/types/V1_LWT.mli" =
class=3D"">https://github.com/mirage/mirage/commits/master/types/V1_LWT.ml=
i</a></div><div class=3D""><br class=3D""></div><div class=3D"">And the =
only main addition was this in February for IPv6:</div><div class=3D""><a =
href=3D"https://github.com/mirage/mirage/commit/fac5ec598d728bd559794f540f=
f0a56cc5abc51d#diff-be484a37f777d5945a68983604b384fc" =
class=3D"">https://github.com/mirage/mirage/commit/fac5ec598d728bd559794f5=
40ff0a56cc5abc51d#diff-be484a37f777d5945a68983604b384fc</a></div><div =
class=3D""><br class=3D""></div><div class=3D"">But normally this sort =
of error is because of a mismatch in functor arguments -- can you check =
that the generated code or manually write code is in sync? &nbsp;Which =
versions of the tools are you using?</div><div class=3D""><br =
class=3D""></div><div class=3D"">-anil</div><div class=3D""><br =
class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D"">On =
19 May 2015, at 17:34, Nick Betteridge &lt;<a =
href=3D"mailto:buzzheavyyear@hotmail.com" =
class=3D"">buzzheavyyear@hotmail.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" =
style=3D"font-family: Calibri; font-size: 16px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D"">Hi<br class=3D""><br =
class=3D"">I'm trying to work out why this example is failing to =
compile, as it was OK not so long ago :) -<span =
class=3D"Apple-converted-space">&nbsp;</span><br class=3D""><br =
class=3D"">File "dispatch.ml", line 14, characters 22-23:<br =
class=3D"">Error: Signature mismatch:<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Modules do not match:<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; functor (C : =
V1.CLOCK) (T : V1_LWT.TIME) -&gt;<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
sig<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type buffer =3D Cstruct.t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type ethif =3D E.t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type ipaddr =3D Ipaddr.V4.t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type prefix =3D Ipaddr.V4.t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type error =3D [ `Unimplemented | `Unknown of string ]<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type 'a io =3D 'a Lwt.t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type t =3D Ipv4.Make(E)(C)(T).t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val disconnect : t -&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type callback =3D src:ipaddr -&gt; dst:ipaddr -&gt; buffer =
-&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val input :<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; t -&gt;<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; tcp:callback -&gt;<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; udp:callback -&gt;<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; default:(proto:int -&gt; callback) -&gt; buffer =
-&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val allocate_frame :<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; t -&gt;<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; dst:ipaddr -&gt; proto:[ `ICMP | `TCP | `UDP ] =
-&gt; buffer * int<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val write : t -&gt; buffer -&gt; buffer -&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val writev : t -&gt; buffer -&gt; buffer list -&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val checksum : buffer -&gt; buffer list -&gt; int<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val get_source : t -&gt; dst:ipaddr -&gt; ipaddr<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val set_ip : t -&gt; ipaddr -&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val get_ip : t -&gt; ipaddr list<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val set_ip_netmask : t -&gt; prefix -&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val get_ip_netmasks : t -&gt; prefix list<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val set_ip_gateways : t -&gt; ipaddr list -&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val get_ip_gateways : t -&gt; ipaddr list<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type uipaddr =3D Ipaddr.t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val to_uipaddr : ipaddr -&gt; uipaddr<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val of_uipaddr : uipaddr -&gt; ipaddr option<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val input_arpv4 : t -&gt; buffer -&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val connect : ethif -&gt; [&gt; `Error of error | `Ok of t ] =
Lwt.t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
end<br class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; is not included =
in<br class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
V1_LWT.IP<br class=3D""><br class=3D""></div><span style=3D"font-family: =
Calibri; font-size: 16px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" =
class=3D"">_______________________________________________</span><br =
style=3D"font-family: Calibri; font-size: 16px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Calibri; font-size: 16px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">MirageOS-devel mailing list</span><br =
style=3D"font-family: Calibri; font-size: 16px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><a =
href=3D"mailto:MirageOS-devel@lists.xenproject.org" style=3D"font-family: =
Calibri; font-size: 16px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" =
class=3D"">MirageOS-devel@lists.xenproject.org</a><br =
style=3D"font-family: Calibri; font-size: 16px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><a =
href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-deve=
l" style=3D"font-family: Calibri; font-size: 16px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel</a></div></blockquote></div><br class=3D""></div></body></html>=

--Apple-Mail=_489000BB-1D33-4EBD-86F2-8F992687A76B--


--===============1908004292531145024==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============1908004292531145024==--


From mirageos-devel-bounces@lists.xenproject.org Tue May 19 16:44:36 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 16:44:36 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YukdA-0006vA-Ox; Tue, 19 May 2015 16:44:36 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1Yukd9-0006up-0w
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 16:44:35 +0000
Received: from [193.109.254.147] by server-16.bemta-14.messagelabs.com id
	43/D1-02680-2786B555; Tue, 19 May 2015 16:44:34 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-12.tower-27.messagelabs.com!1432053872!18950488!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=HTML_MESSAGE,
  RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26874 invoked from network); 19 May 2015 16:44:32 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-12.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 19 May 2015 16:44:32 -0000
Received: from flick.office (volstagg-0.srg.cl.cam.ac.uk [128.232.32.232]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 182d2b0a;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 19 May 2015 17:44:32 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <DUB128-W16DBAA05B244EDDF29E60DB4C30@phx.gbl>
Date: Tue, 19 May 2015 17:44:35 +0100
Message-Id: <017401A2-FAEC-4076-8E68-F141CE4DEB85@recoil.org>
References: <DUB128-W16DBAA05B244EDDF29E60DB4C30@phx.gbl>
To: Nick Betteridge <buzzheavyyear@hotmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] mirage/skeleton/xen/static_website failing
	compilation
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1908004292531145024=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============1908004292531145024==
Content-Type: multipart/alternative; boundary="Apple-Mail=_489000BB-1D33-4EBD-86F2-8F992687A76B"


--Apple-Mail=_489000BB-1D33-4EBD-86F2-8F992687A76B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=iso-8859-1

The V1_LWT type interface changes are here:
https://github.com/mirage/mirage/commits/master/types/V1_LWT.mli =
<https://github.com/mirage/mirage/commits/master/types/V1_LWT.mli>

And the only main addition was this in February for IPv6:
=
https://github.com/mirage/mirage/commit/fac5ec598d728bd559794f540ff0a56cc5=
abc51d#diff-be484a37f777d5945a68983604b384fc =
<https://github.com/mirage/mirage/commit/fac5ec598d728bd559794f540ff0a56cc=
5abc51d#diff-be484a37f777d5945a68983604b384fc>

But normally this sort of error is because of a mismatch in functor =
arguments -- can you check that the generated code or manually write =
code is in sync?  Which versions of the tools are you using?

-anil

> On 19 May 2015, at 17:34, Nick Betteridge <buzzheavyyear@hotmail.com> =
wrote:
>=20
> Hi
>=20
> I'm trying to work out why this example is failing to compile, as it =
was OK not so long ago :) -=20
>=20
> File "dispatch.ml", line 14, characters 22-23:
> Error: Signature mismatch:
>        Modules do not match:
>          functor (C : V1.CLOCK) (T : V1_LWT.TIME) ->
>            sig
>              type buffer =3D Cstruct.t
>              type ethif =3D E.t
>              type ipaddr =3D Ipaddr.V4.t
>              type prefix =3D Ipaddr.V4.t
>              type error =3D [ `Unimplemented | `Unknown of string ]
>              type 'a io =3D 'a Lwt.t
>              type t =3D Ipv4.Make(E)(C)(T).t
>              val disconnect : t -> unit io
>              type callback =3D src:ipaddr -> dst:ipaddr -> buffer -> =
unit io
>              val input :
>                t ->
>                tcp:callback ->
>                udp:callback ->
>                default:(proto:int -> callback) -> buffer -> unit io
>              val allocate_frame :
>                t ->
>                dst:ipaddr -> proto:[ `ICMP | `TCP | `UDP ] -> buffer * =
int
>              val write : t -> buffer -> buffer -> unit io
>              val writev : t -> buffer -> buffer list -> unit io
>              val checksum : buffer -> buffer list -> int
>              val get_source : t -> dst:ipaddr -> ipaddr
>              val set_ip : t -> ipaddr -> unit io
>              val get_ip : t -> ipaddr list
>              val set_ip_netmask : t -> prefix -> unit io
>              val get_ip_netmasks : t -> prefix list
>              val set_ip_gateways : t -> ipaddr list -> unit io
>              val get_ip_gateways : t -> ipaddr list
>              type uipaddr =3D Ipaddr.t
>              val to_uipaddr : ipaddr -> uipaddr
>              val of_uipaddr : uipaddr -> ipaddr option
>              val input_arpv4 : t -> buffer -> unit io
>              val connect : ethif -> [> `Error of error | `Ok of t ] =
Lwt.t
>            end
>        is not included in
>          V1_LWT.IP
>=20
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org =
<mailto:MirageOS-devel@lists.xenproject.org>
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel =
<http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>

--Apple-Mail=_489000BB-1D33-4EBD-86F2-8F992687A76B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=iso-8859-1

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Diso-8859-1"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">The V1_LWT type interface changes are here:<div class=3D""><a =
href=3D"https://github.com/mirage/mirage/commits/master/types/V1_LWT.mli" =
class=3D"">https://github.com/mirage/mirage/commits/master/types/V1_LWT.ml=
i</a></div><div class=3D""><br class=3D""></div><div class=3D"">And the =
only main addition was this in February for IPv6:</div><div class=3D""><a =
href=3D"https://github.com/mirage/mirage/commit/fac5ec598d728bd559794f540f=
f0a56cc5abc51d#diff-be484a37f777d5945a68983604b384fc" =
class=3D"">https://github.com/mirage/mirage/commit/fac5ec598d728bd559794f5=
40ff0a56cc5abc51d#diff-be484a37f777d5945a68983604b384fc</a></div><div =
class=3D""><br class=3D""></div><div class=3D"">But normally this sort =
of error is because of a mismatch in functor arguments -- can you check =
that the generated code or manually write code is in sync? &nbsp;Which =
versions of the tools are you using?</div><div class=3D""><br =
class=3D""></div><div class=3D"">-anil</div><div class=3D""><br =
class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D"">On =
19 May 2015, at 17:34, Nick Betteridge &lt;<a =
href=3D"mailto:buzzheavyyear@hotmail.com" =
class=3D"">buzzheavyyear@hotmail.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" =
style=3D"font-family: Calibri; font-size: 16px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D"">Hi<br class=3D""><br =
class=3D"">I'm trying to work out why this example is failing to =
compile, as it was OK not so long ago :) -<span =
class=3D"Apple-converted-space">&nbsp;</span><br class=3D""><br =
class=3D"">File "dispatch.ml", line 14, characters 22-23:<br =
class=3D"">Error: Signature mismatch:<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Modules do not match:<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; functor (C : =
V1.CLOCK) (T : V1_LWT.TIME) -&gt;<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
sig<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type buffer =3D Cstruct.t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type ethif =3D E.t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type ipaddr =3D Ipaddr.V4.t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type prefix =3D Ipaddr.V4.t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type error =3D [ `Unimplemented | `Unknown of string ]<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type 'a io =3D 'a Lwt.t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type t =3D Ipv4.Make(E)(C)(T).t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val disconnect : t -&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type callback =3D src:ipaddr -&gt; dst:ipaddr -&gt; buffer =
-&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val input :<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; t -&gt;<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; tcp:callback -&gt;<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; udp:callback -&gt;<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; default:(proto:int -&gt; callback) -&gt; buffer =
-&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val allocate_frame :<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; t -&gt;<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; dst:ipaddr -&gt; proto:[ `ICMP | `TCP | `UDP ] =
-&gt; buffer * int<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val write : t -&gt; buffer -&gt; buffer -&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val writev : t -&gt; buffer -&gt; buffer list -&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val checksum : buffer -&gt; buffer list -&gt; int<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val get_source : t -&gt; dst:ipaddr -&gt; ipaddr<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val set_ip : t -&gt; ipaddr -&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val get_ip : t -&gt; ipaddr list<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val set_ip_netmask : t -&gt; prefix -&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val get_ip_netmasks : t -&gt; prefix list<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val set_ip_gateways : t -&gt; ipaddr list -&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val get_ip_gateways : t -&gt; ipaddr list<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; type uipaddr =3D Ipaddr.t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val to_uipaddr : ipaddr -&gt; uipaddr<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val of_uipaddr : uipaddr -&gt; ipaddr option<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val input_arpv4 : t -&gt; buffer -&gt; unit io<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; val connect : ethif -&gt; [&gt; `Error of error | `Ok of t ] =
Lwt.t<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
end<br class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; is not included =
in<br class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
V1_LWT.IP<br class=3D""><br class=3D""></div><span style=3D"font-family: =
Calibri; font-size: 16px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" =
class=3D"">_______________________________________________</span><br =
style=3D"font-family: Calibri; font-size: 16px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Calibri; font-size: 16px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">MirageOS-devel mailing list</span><br =
style=3D"font-family: Calibri; font-size: 16px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><a =
href=3D"mailto:MirageOS-devel@lists.xenproject.org" style=3D"font-family: =
Calibri; font-size: 16px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" =
class=3D"">MirageOS-devel@lists.xenproject.org</a><br =
style=3D"font-family: Calibri; font-size: 16px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><a =
href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-deve=
l" style=3D"font-family: Calibri; font-size: 16px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel</a></div></blockquote></div><br class=3D""></div></body></html>=

--Apple-Mail=_489000BB-1D33-4EBD-86F2-8F992687A76B--


--===============1908004292531145024==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============1908004292531145024==--


From mirageos-devel-bounces@lists.xenproject.org Tue May 19 17:06:43 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 17:06:43 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YukyL-0007ZG-Sz; Tue, 19 May 2015 17:06:29 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <buzzheavyyear@hotmail.com>) id 1YukyK-0007Yz-SG
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 17:06:28 +0000
Received: from [85.158.137.68] by server-6.bemta-3.messagelabs.com id
	F4/EA-03286-49D6B555; Tue, 19 May 2015 17:06:28 +0000
X-Env-Sender: buzzheavyyear@hotmail.com
X-Msg-Ref: server-14.tower-31.messagelabs.com!1432055187!9559156!1
X-Originating-IP: [157.55.2.106]
X-SpamReason: No, hits=0.7 required=7.0 tests=FORGED_HOTMAIL_RCVD,
	HTML_40_50,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 28958 invoked from network); 19 May 2015 17:06:27 -0000
Received: from dub004-omc4s31.hotmail.com (HELO DUB004-OMC4S31.hotmail.com)
	(157.55.2.106)
	by server-14.tower-31.messagelabs.com with AES256-SHA encrypted SMTP;
	19 May 2015 17:06:27 -0000
Received: from DUB128-W63 ([157.55.2.73]) by DUB004-OMC4S31.hotmail.com over
	TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); 
	Tue, 19 May 2015 10:06:27 -0700
X-TMN: [74c+NmAsvE/mQ9yPchzEyYflMPokt/yp]
X-Originating-Email: [buzzheavyyear@hotmail.com]
Message-ID: <DUB128-W631C4F38C919357D30088AB4C30@phx.gbl>
From: Nick Betteridge <buzzheavyyear@hotmail.com>
To: Anil Madhavapeddy <anil@recoil.org>, "thomas@gazagnaire.org"
	<thomas@gazagnaire.org>
Date: Tue, 19 May 2015 17:06:26 +0000
Importance: Normal
In-Reply-To: <017401A2-FAEC-4076-8E68-F141CE4DEB85@recoil.org>
References: <DUB128-W16DBAA05B244EDDF29E60DB4C30@phx.gbl>,
	<017401A2-FAEC-4076-8E68-F141CE4DEB85@recoil.org>
MIME-Version: 1.0
X-OriginalArrivalTime: 19 May 2015 17:06:27.0040 (UTC)
	FILETIME=[24778600:01D09256]
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] mirage/skeleton/xen/static_website failing
 compilation
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1368657374013875617=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============1368657374013875617==
Content-Type: multipart/alternative;
	boundary="_5fb5d582-1b7b-4c97-8968-a12cac5e56a7_"

--_5fb5d582-1b7b-4c97-8968-a12cac5e56a7_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Thomas=2C Anil=2C

>Which version or mirage/mirage-skeleton/mirage-tcpip do you have? Be =0A=
sure to either use all of the HEAD ones=2C or the one released in =0A=
opal-repository (after an `opam update -u`).=0A=


opam list gives:
mirage                       2.5.0
tcpip                        2.4.3

The V1_LWT type interface changes are here:https://github.com/mirage/mirage=
/commits/master/types/V1_LWT.mli
And the only main addition was this in February for IPv6:https://github.com=
/mirage/mirage/commit/fac5ec598d728bd559794f540ff0a56cc5abc51d#diff-be484a3=
7f777d5945a68983604b384fc
But normally this sort of error is because of a mismatch in functor argumen=
ts -- can you check that the generated code or manually write code is in sy=
nc?  Which versions of the tools are you using?

I've simply cloned mirage-skeleton=2C cd' to xen/static_website+ip=2C mirag=
e configure --xen=2C make depend and then make.

 		 	   		  =

--_5fb5d582-1b7b-4c97-8968-a12cac5e56a7_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 12pt=3B
font-family:Calibri
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>Hi Thomas=2C Anil=2C<br><br>&gt=
=3BWhich version or mirage/mirage-skeleton/mirage-tcpip do you have? Be =0A=
sure to either use all of the HEAD ones=2C or the one released in =0A=
opal-repository (after an `opam update -u`).=0A=
<br><br>opam list gives:<br>mirage&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&=
nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbs=
p=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B 2.5.0<br>tcpip=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nb=
sp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B 2.4.3<br><div><br>The V1_LWT type inter=
face changes are here:<div><a href=3D"https://github.com/mirage/mirage/comm=
its/master/types/V1_LWT.mli" target=3D"_blank">https://github.com/mirage/mi=
rage/commits/master/types/V1_LWT.mli</a></div><div><br></div><div>And the o=
nly main addition was this in February for IPv6:</div><div><a href=3D"https=
://github.com/mirage/mirage/commit/fac5ec598d728bd559794f540ff0a56cc5abc51d=
#diff-be484a37f777d5945a68983604b384fc" target=3D"_blank">https://github.co=
m/mirage/mirage/commit/fac5ec598d728bd559794f540ff0a56cc5abc51d#diff-be484a=
37f777d5945a68983604b384fc</a></div><div><br></div><div>But normally this s=
ort of error is because of a mismatch in functor arguments -- can you check=
 that the generated code or manually write code is in sync? &nbsp=3BWhich v=
ersions of the tools are you using?<br><br>I've simply cloned mirage-skelet=
on=2C cd' to xen/static_website+ip=2C mirage configure --xen=2C make depend=
 and then make.<br></div><br></div> 		 	   		  </div></body>
</html>=

--_5fb5d582-1b7b-4c97-8968-a12cac5e56a7_--


--===============1368657374013875617==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============1368657374013875617==--


From mirageos-devel-bounces@lists.xenproject.org Tue May 19 17:06:43 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 17:06:43 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YukyL-0007ZG-Sz; Tue, 19 May 2015 17:06:29 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <buzzheavyyear@hotmail.com>) id 1YukyK-0007Yz-SG
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 17:06:28 +0000
Received: from [85.158.137.68] by server-6.bemta-3.messagelabs.com id
	F4/EA-03286-49D6B555; Tue, 19 May 2015 17:06:28 +0000
X-Env-Sender: buzzheavyyear@hotmail.com
X-Msg-Ref: server-14.tower-31.messagelabs.com!1432055187!9559156!1
X-Originating-IP: [157.55.2.106]
X-SpamReason: No, hits=0.7 required=7.0 tests=FORGED_HOTMAIL_RCVD,
	HTML_40_50,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 28958 invoked from network); 19 May 2015 17:06:27 -0000
Received: from dub004-omc4s31.hotmail.com (HELO DUB004-OMC4S31.hotmail.com)
	(157.55.2.106)
	by server-14.tower-31.messagelabs.com with AES256-SHA encrypted SMTP;
	19 May 2015 17:06:27 -0000
Received: from DUB128-W63 ([157.55.2.73]) by DUB004-OMC4S31.hotmail.com over
	TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); 
	Tue, 19 May 2015 10:06:27 -0700
X-TMN: [74c+NmAsvE/mQ9yPchzEyYflMPokt/yp]
X-Originating-Email: [buzzheavyyear@hotmail.com]
Message-ID: <DUB128-W631C4F38C919357D30088AB4C30@phx.gbl>
From: Nick Betteridge <buzzheavyyear@hotmail.com>
To: Anil Madhavapeddy <anil@recoil.org>, "thomas@gazagnaire.org"
	<thomas@gazagnaire.org>
Date: Tue, 19 May 2015 17:06:26 +0000
Importance: Normal
In-Reply-To: <017401A2-FAEC-4076-8E68-F141CE4DEB85@recoil.org>
References: <DUB128-W16DBAA05B244EDDF29E60DB4C30@phx.gbl>,
	<017401A2-FAEC-4076-8E68-F141CE4DEB85@recoil.org>
MIME-Version: 1.0
X-OriginalArrivalTime: 19 May 2015 17:06:27.0040 (UTC)
	FILETIME=[24778600:01D09256]
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] mirage/skeleton/xen/static_website failing
 compilation
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1368657374013875617=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============1368657374013875617==
Content-Type: multipart/alternative;
	boundary="_5fb5d582-1b7b-4c97-8968-a12cac5e56a7_"

--_5fb5d582-1b7b-4c97-8968-a12cac5e56a7_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Thomas=2C Anil=2C

>Which version or mirage/mirage-skeleton/mirage-tcpip do you have? Be =0A=
sure to either use all of the HEAD ones=2C or the one released in =0A=
opal-repository (after an `opam update -u`).=0A=


opam list gives:
mirage                       2.5.0
tcpip                        2.4.3

The V1_LWT type interface changes are here:https://github.com/mirage/mirage=
/commits/master/types/V1_LWT.mli
And the only main addition was this in February for IPv6:https://github.com=
/mirage/mirage/commit/fac5ec598d728bd559794f540ff0a56cc5abc51d#diff-be484a3=
7f777d5945a68983604b384fc
But normally this sort of error is because of a mismatch in functor argumen=
ts -- can you check that the generated code or manually write code is in sy=
nc?  Which versions of the tools are you using?

I've simply cloned mirage-skeleton=2C cd' to xen/static_website+ip=2C mirag=
e configure --xen=2C make depend and then make.

 		 	   		  =

--_5fb5d582-1b7b-4c97-8968-a12cac5e56a7_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 12pt=3B
font-family:Calibri
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>Hi Thomas=2C Anil=2C<br><br>&gt=
=3BWhich version or mirage/mirage-skeleton/mirage-tcpip do you have? Be =0A=
sure to either use all of the HEAD ones=2C or the one released in =0A=
opal-repository (after an `opam update -u`).=0A=
<br><br>opam list gives:<br>mirage&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&=
nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbs=
p=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B 2.5.0<br>tcpip=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nb=
sp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B 2.4.3<br><div><br>The V1_LWT type inter=
face changes are here:<div><a href=3D"https://github.com/mirage/mirage/comm=
its/master/types/V1_LWT.mli" target=3D"_blank">https://github.com/mirage/mi=
rage/commits/master/types/V1_LWT.mli</a></div><div><br></div><div>And the o=
nly main addition was this in February for IPv6:</div><div><a href=3D"https=
://github.com/mirage/mirage/commit/fac5ec598d728bd559794f540ff0a56cc5abc51d=
#diff-be484a37f777d5945a68983604b384fc" target=3D"_blank">https://github.co=
m/mirage/mirage/commit/fac5ec598d728bd559794f540ff0a56cc5abc51d#diff-be484a=
37f777d5945a68983604b384fc</a></div><div><br></div><div>But normally this s=
ort of error is because of a mismatch in functor arguments -- can you check=
 that the generated code or manually write code is in sync? &nbsp=3BWhich v=
ersions of the tools are you using?<br><br>I've simply cloned mirage-skelet=
on=2C cd' to xen/static_website+ip=2C mirage configure --xen=2C make depend=
 and then make.<br></div><br></div> 		 	   		  </div></body>
</html>=

--_5fb5d582-1b7b-4c97-8968-a12cac5e56a7_--


--===============1368657374013875617==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============1368657374013875617==--


From mirageos-devel-bounces@lists.xenproject.org Tue May 19 18:35:55 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 18:35:55 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YumMj-0006VJ-NI; Tue, 19 May 2015 18:35:45 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <whitequark@whitequark.org>) id 1YumMi-0006VC-8i
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 18:35:44 +0000
Received: from [85.158.139.211] by server-3.bemta-5.messagelabs.com id
	B5/CC-03026-F728B555; Tue, 19 May 2015 18:35:43 +0000
X-Env-Sender: whitequark@whitequark.org
X-Msg-Ref: server-3.tower-206.messagelabs.com!1432060543!3744113!1
X-Originating-IP: [176.58.103.125]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 11366 invoked from network); 19 May 2015 18:35:43 -0000
Received: from fehu.whitequark.org (HELO mail.whitequark.org) (176.58.103.125)
	by server-3.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 19 May 2015 18:35:43 -0000
Received: by mail.whitequark.org (Postfix, from userid 33)
	id 565C611F2A2; Tue, 19 May 2015 18:35:42 +0000 (UTC)
To: Peter Zotov <whitequark@whitequark.org>,
	mirageos-devel@lists.xenproject.org, opam-devel@lists.ocaml.org,
	Anil  Madhavapeddy <avsm@recoil.org>
X-PHP-Originating-Script: 1000:rcube.php
MIME-Version: 1.0
Content-Length: 1804
Date: Tue, 19 May 2015 21:35:42 +0300
From: Peter Zotov <whitequark@whitequark.org>
In-Reply-To: <20150519143935.GG10420@nodbug.lucina.net>
References: <20150519085016.GB10420@nodbug.lucina.net>
	<ead9b8457cfa0007dd71c32655cc6bf1@whitequark.org>
	<20150519135807.GD10420@nodbug.lucina.net>
	<bfeaccab16596564cb4ecf775ae7bd70@whitequark.org>
	<20150519143935.GG10420@nodbug.lucina.net>
Message-ID: <e16672c645ad966d40434af5944e6df6@whitequark.org>
X-Sender: whitequark@whitequark.org
User-Agent: Roundcube Webmail/1.1.0
Subject: Re: [MirageOS-devel] Cross-compiling OCaml, Mirage OS for rumprun,
	OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: base64
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gMjAxNS0wNS0xOSAxNzozOSwgTWFydGluIEx1Y2luYSB3cm90ZToKPiBPbiBUdWVzZGF5LCAx
OS4wNS4yMDE1IGF0wqAxNzoxNSwgUGV0ZXIgWm90b3Ygd3JvdGU6Cj4+IE9uIDIwMTUtMDUtMTkg
MTY6NTgsIE1hcnRpbiBMdWNpbmEgd3JvdGU6Cj4+ID5UaGlzIGJlZ3MgdGhlIHF1ZXN0aW9uLCB3
aHkgZGlkIHlvdSB1c2UgdGhlIGFwcHJvYWNoI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WF0Y2hlcyBkdWUgdG8KYSBjb21waWxlciBpc3N1ZSwgYW5kIGFub3RoZXIgaXMgdGhhdCBzb21l
IHBlb3BsZSwgbGlrZSBtZSwgZG8gbm90CnVzZSBzeXN0ZW0gY29tcGlsZXJzIGF0IGFsbC4KCkJ1
dCwgaXQgZG9lcyBjb3ZlciB5b3VyIHVzZSBjYXNlIGFueXdheS4KCj4gCj4gTWFydGluCgotLSAK
UGV0ZXIgWm90b3YKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fCk1pcmFnZU9TLWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5w
cm9qZWN0Lm9yZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xp
c3RpbmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 18:35:55 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 18:35:55 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YumMj-0006VJ-NI; Tue, 19 May 2015 18:35:45 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <whitequark@whitequark.org>) id 1YumMi-0006VC-8i
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 18:35:44 +0000
Received: from [85.158.139.211] by server-3.bemta-5.messagelabs.com id
	B5/CC-03026-F728B555; Tue, 19 May 2015 18:35:43 +0000
X-Env-Sender: whitequark@whitequark.org
X-Msg-Ref: server-3.tower-206.messagelabs.com!1432060543!3744113!1
X-Originating-IP: [176.58.103.125]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 11366 invoked from network); 19 May 2015 18:35:43 -0000
Received: from fehu.whitequark.org (HELO mail.whitequark.org) (176.58.103.125)
	by server-3.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 19 May 2015 18:35:43 -0000
Received: by mail.whitequark.org (Postfix, from userid 33)
	id 565C611F2A2; Tue, 19 May 2015 18:35:42 +0000 (UTC)
To: Peter Zotov <whitequark@whitequark.org>,
	mirageos-devel@lists.xenproject.org, opam-devel@lists.ocaml.org,
	Anil  Madhavapeddy <avsm@recoil.org>
X-PHP-Originating-Script: 1000:rcube.php
MIME-Version: 1.0
Content-Length: 1804
Date: Tue, 19 May 2015 21:35:42 +0300
From: Peter Zotov <whitequark@whitequark.org>
In-Reply-To: <20150519143935.GG10420@nodbug.lucina.net>
References: <20150519085016.GB10420@nodbug.lucina.net>
	<ead9b8457cfa0007dd71c32655cc6bf1@whitequark.org>
	<20150519135807.GD10420@nodbug.lucina.net>
	<bfeaccab16596564cb4ecf775ae7bd70@whitequark.org>
	<20150519143935.GG10420@nodbug.lucina.net>
Message-ID: <e16672c645ad966d40434af5944e6df6@whitequark.org>
X-Sender: whitequark@whitequark.org
User-Agent: Roundcube Webmail/1.1.0
Subject: Re: [MirageOS-devel] Cross-compiling OCaml, Mirage OS for rumprun,
	OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: base64
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gMjAxNS0wNS0xOSAxNzozOSwgTWFydGluIEx1Y2luYSB3cm90ZToKPiBPbiBUdWVzZGF5LCAx
OS4wNS4yMDE1IGF0wqAxNzoxNSwgUGV0ZXIgWm90b3Ygd3JvdGU6Cj4+IE9uIDIwMTUtMDUtMTkg
MTY6NTgsIE1hcnRpbiBMdWNpbmEgd3JvdGU6Cj4+ID5UaGlzIGJlZ3MgdGhlIHF1ZXN0aW9uLCB3
aHkgZGlkIHlvdSB1c2UgdGhlIGFwcHJvYWNoIG9mIGJ1aWxkaW5nIHRoZQo+PiA+Y3Jvc3MtY29t
cGlsZXIgYXMgYSBub3JtYWwgT1BBTSBwYWNrYWdlLCByYXRoZXIgdGhhbiBhcyBhIGNvbXBpbGVy
Cj4+ID5wYWNrYWdlPwo+PiAKPj4gQmVjYXVzZSB0aGUgY3Jvc3MtY29tcGlsZXIgbmVlZHMgYSBu
b3JtYWwgY29tcGlsZXIgKGFuZCBpdHMgcnVudGltZSkKPj4gdG8gYnVpbGQgYW5kIGV4ZWN1dGUu
IEJlY2F1c2UgbWFueSBwYWNrYWdlcyAoZnJvbSBjYW1scDQgdG8gcHB4KQo+PiBkZXBlbmQgb24g
YnVpbGQtdGltZSBjb21wb25lbnRzIHRoYXQgZXhlY3V0ZSBvbiB0aGUgaG9zdCBhcmNoLgo+PiBZ
b3UgYWxzbyBzdGlsbCBoYXZlIHRvIGFkZCBzdWZmaXggdG8gdGhlIHZlcnNpb24gbnVtYmVyLCBv
ciBlbHNlCj4+IHRoZXJlIHdvdWxkIGJlIGEgY29uZmxpY3QgKEkgdGhpbmspLgo+IAo+IFdvdWxk
bid0IHRoZSBwcmVzZW5jZSBvZiBhbiBleHRlcm5hbCAobm9uLU9QQU0pIGNvbXBpbGVyIG9uIHRo
ZSBob3N0IGJlCj4gZW5vdWdoIHRvIGV4ZWN1dGUgdGhlIGNyb3NzLWNvbXBpbGVyIGFuZCBidWls
ZC10aW1lIGNvZGUgZnJvbSBwYWNrYWdlcz8KPiBUaGF0J3MgbW9yZSBvciBsZXNzIHdoYXQgeW91
ciBwYXRjaGVzIGFscmVhZHkgZG8gdG8gYm9vdHN0cmFwIHRoZQo+IGNvbXBpbGVyLi4uCgpZZXMu
IEluIGZhY3QsIGl0IHdvcmtzIHdpdGggdGhlIE9QQU0gc3dpdGNoIGBzeXN0ZW1gLiBPbmUgcHJv
YmxlbSBpcwp0aGF0IGl0IG9ubHkgd29ya3MgaWYgdGhlIGJpdG5lc3Mgb2YgaG9zdC90YXJnZXQg
bWF0Y2hlcyBkdWUgdG8KYSBjb21waWxlciBpc3N1ZSwgYW5kIGFub3RoZXIgaXMgdGhhdCBzb21l
IHBlb3BsZSwgbGlrZSBtZSwgZG8gbm90CnVzZSBzeXN0ZW0gY29tcGlsZXJzIGF0IGFsbC4KCkJ1
dCwgaXQgZG9lcyBjb3ZlciB5b3VyIHVzZSBjYXNlIGFueXdheS4KCj4gCj4gTWFydGluCgotLSAK
UGV0ZXIgWm90b3YKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fCk1pcmFnZU9TLWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5w
cm9qZWN0Lm9yZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xp
c3RpbmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 22:46:01 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 22:46:01 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YuqGm-0002Fu-5K; Tue, 19 May 2015 22:45:52 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <magnus@therning.org>) id 1YuqGj-0002Fh-Ve
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 22:45:50 +0000
Received: from [85.158.139.211] by server-5.bemta-5.messagelabs.com id
	5E/E9-03224-D1DBB555; Tue, 19 May 2015 22:45:49 +0000
X-Env-Sender: magnus@therning.org
X-Msg-Ref: server-15.tower-206.messagelabs.com!1432075548!8005370!1
X-Originating-IP: [209.85.215.45]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 5003 invoked from network); 19 May 2015 22:45:48 -0000
Received: from mail-la0-f45.google.com (HELO mail-la0-f45.google.com)
	(209.85.215.45)
	by server-15.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	19 May 2015 22:45:48 -0000
Received: by lagv1 with SMTP id v1so47626276lag.3
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 19 May 2015 15:45:48 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:date:from:to:subject:message-id:mime-version
	:content-type:content-disposition:user-agent;
	bh=Jfv2k/CbfE8K9ThnbXFnF/zJueU9Z/dwKEjzaLsDhlw=;
	b=HCgwzti4vKQyuAFoJUlSJTu3tm6YjepXJZqy76thUJNm+ca50YJ6M+9RY4xcRnQjXr
	2LJbnhY4wNsoQSmItjHEoy5xfwhpIN4RHehtI5g6JcAhQe184s7Acr/Nr7EL5i8xwm1j
	TLmsocHRPNqS7Oh9nkFV6GRrInb3m9/vDl5xAO6dSF/c7CSgnNmC3lihoWsqwxRKZSKI
	Tvng4pw5RZeSkOz1w2mPWPAY1/K1RUeGhBX9ruQCv4dqKyF8UB+jZKH7QlUIxFZ/jRdg
	uwV+drkZs7UrT/WctyWMdjQiCYxLXzd23PrbKfHoxwXbwIP3Lwrb4HHtCcr3Ehmv2VYT
	TKtg==
X-Gm-Message-State: ALoCoQmS08WtBya2/hiFrxEaE+qs1acVF7jEQOO0Xf8eNC3wBJtqzHLqSyCX5nehKRIqg+ujF9nG
X-Received: by 10.112.200.230 with SMTP id jv6mr16535152lbc.21.1432075547798; 
	Tue, 19 May 2015 15:45:47 -0700 (PDT)
Received: from tatooine (c83-248-178-110.bredband.comhem.se. [83.248.178.110])
	by mx.google.com with ESMTPSA id
	yq18sm4115593lbb.47.2015.05.19.15.45.46
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Tue, 19 May 2015 15:45:46 -0700 (PDT)
Date: Wed, 20 May 2015 00:45:44 +0200
From: Magnus Therning <magnus@therning.org>
To: mirageos-devel@lists.xenproject.org
Message-ID: <20150519224544.GA13972@tatooine>
MIME-Version: 1.0
User-Agent: Mutt/1.5.23 (2014-03-12)
Subject: [MirageOS-devel] Any way to get caml4p to run on ARM (cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============6645222519567000333=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============6645222519567000333==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG"
Content-Disposition: inline


--OgqxwSJOaUobr8KG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I can't seem to get `camlp4` to run to completion when building on
ARM.  I cloned mirage-decks, added a small deck, and then removed all
the others in an attempt to limit the compile time resource needs...
but still:

~~~
cd src && make
make[1]: Entering directory `/home/mirage/mirage-decks/src'
ocamlbuild -use-ocamlfind -pkgs lwt.syntax,conduit.mirage,cow.syntax,cowabl=
oga,cstruct,io-page,io-page.unix,lwt,mirage-clock-unix,mirage-console.unix,=
mirage-fs-unix,mirage-http,mirage-net-unix,mirage-types,mirage-types.lwt,mi=
rage.runtime,tcpip.stack-direct -tags "syntax(camlp4o),annot,bin_annot,stri=
ct_sequence,principal" -tag-line "<static*.*>: -syntax(camlp4o)" -cflag -g =
-lflags -g,-linkpkg main.native
+ ocamlfind ocamldep -package tcpip.stack-direct -package mirage.runtime -p=
ackage mirage-types.lwt -package mirage-types -package mirage-net-unix -pac=
kage mirage-http -package mirage-fs-unix -package mirage-console.unix -pack=
age mirage-clock-unix -package lwt -package io-page.unix -package io-page -=
package cstruct -package cowabloga -package cow.syntax -package conduit.mir=
age -package lwt.syntax -syntax camlp4o -modules main.ml > main.ml.depends
Segmentation fault
File "main.ml", line 1:
Error: Error while running external preprocessor
Command line: camlp4 '-I' '/home/mirage/.opam/4.02.1/lib/ocaml/camlp4' '-I'=
 '/home/mirage/.opam/4.02.1/lib/ocaml' '-I' '/home/mirage/.opam/4.02.1/lib/=
type_conv' '-I' '/home/mirage/.opam/4.02.1/lib/dyntype' '-I' '/home/mirage/=
=2Eopam/4.02.1/lib/xmlm' '-I' '/home/mirage/.opam/4.02.1/lib/uutf' '-I' '/h=
ome/mirage/.opam/4.02.1/lib/jsonm' '-I' '/home/mirage/.opam/4.02.1/lib/ocam=
l' '-I' '/home/mirage/.opam/4.02.1/lib/ocaml' '-I' '/home/mirage/.opam/4.02=
=2E1/lib/bytes' '-I' '/home/mirage/.opam/4.02.1/lib/ocplib-endian' '-I' '/h=
ome/mirage/.opam/4.02.1/lib/ocplib-endian' '-I' '/home/mirage/.opam/4.02.1/=
lib/sexplib' '-I' '/home/mirage/.opam/4.02.1/lib/cstruct' '-I' '/home/mirag=
e/.opam/4.02.1/lib/hex' '-I' '/home/mirage/.opam/4.02.1/lib/ezjsonm' '-I' '=
/home/mirage/.opam/4.02.1/lib/cow' '-I' '/home/mirage/.opam/4.02.1/lib/lwt'=
 '-I' '/home/mirage/.opam/4.02.1/lib/lwt' '-parser' 'o' '-parser' 'op' '-pr=
inter' 'p' 'str.cma' 'pa_type_conv.cma' 'pa_dyntype.cma' 'xmlm.cma' 'uutf.c=
ma' 'jsonm.cma' 'unix.cma' 'bigarray.cma' 'ocplib_endian.cma' 'bigstring.cm=
a' 'sexplib.cma' 'cstruct.cma' 'hex.cma' 'ezjsonm.cma' 'xmlm.cma' 'str.cma'=
 'pa_cow.cma' 'ezjsonm.cma' 'lwt-syntax-options.cma' 'lwt-syntax.cma'  'mai=
n.ml' > /tmp/ocamlpp0ea4f3

Command exited with code 2.
Compilation unsuccessful after building 1 target (0 cached) in 00:00:00.
make[1]: *** [main.native] Error 10
make[1]: Leaving directory `/home/mirage/mirage-decks/src'
make: *** [build] Error 2
~~~

I also have a small project of my own that uses `sexp` a bit, it also fails:

~~~
cd src && make build
make[1]: Entering directory `/home/mirage/mirage-kvsrv/src'
ocamlbuild -use-ocamlfind -pkgs lwt.syntax,conduit.mirage,core_kernel,mirag=
e-console.unix,mirage-http,mirage-types.lwt,sexplib.syntax,tcpip.stack-sock=
et -tags "syntax(camlp4o),annot,bin_annot,strict_sequence,principal" -tag-l=
ine "<static*.*>: -syntax(camlp4o)" -cflag -g -lflags -g,-linkpkg main.nati=
ve
+ ocamlfind ocamldep -package tcpip.stack-socket -package sexplib.syntax -p=
ackage mirage-types.lwt -package mirage-http -package mirage-console.unix -=
package core_kernel -package conduit.mirage -package lwt.syntax -syntax cam=
lp4o -modules main.ml > main.ml.depends
Segmentation fault
File "main.ml", line 1:
Error: Error while running external preprocessor
Command line: camlp4 '-I' '/home/mirage/.opam/4.02.1/lib/ocaml/camlp4' '-I'=
 '/home/mirage/.opam/4.02.1/lib/type_conv' '-I' '/home/mirage/.opam/4.02.1/=
lib/ocaml' '-I' '/home/mirage/.opam/4.02.1/lib/ocaml' '-I' '/home/mirage/.o=
pam/4.02.1/lib/sexplib' '-I' '/home/mirage/.opam/4.02.1/lib/sexplib' '-I' '=
/home/mirage/.opam/4.02.1/lib/lwt' '-I' '/home/mirage/.opam/4.02.1/lib/lwt'=
 '-parser' 'o' '-parser' 'op' '-printer' 'p' 'pa_type_conv.cma' 'unix.cma' =
'bigarray.cma' 'sexplib.cma' 'pa_sexp_conv.cma' 'lwt-syntax-options.cma' 'l=
wt-syntax.cma'  'main.ml' > /tmp/ocamlpp3e0d09

Command exited with code 2.
Compilation unsuccessful after building 1 target (0 cached) in 00:00:00.
make[1]: *** [main.native] Error 10
make[1]: Leaving directory `/home/mirage/mirage-kvsrv/src'
make: *** [build] Error 2
~~~

What can I do to improve my luck with building on my cubietruck?

/M

--=20
Magnus Therning                      OpenPGP: 0xAB4DFBA4=20
email: magnus@therning.org   jabber: magnus@therning.org
twitter: magthe               http://therning.org/magnus

"Sendmail" and "make" are two well known programs that are pretty widely
regarded as being debugged into existence. That's why their command
languages are so poorly thought out and difficult to learn.  It's not
just you -- everyone finds them troublesome.
     -- Peter van der Linden, Expert C Programming, p. 220

--OgqxwSJOaUobr8KG
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iEYEABECAAYFAlVbvRIACgkQiMWTaatN+6SVTACfeK9qXhKYlIF+c9TzW+PkLkS3
0X0AoM2tsS9oevWA6ffmEl1JVJLbQyRi
=IgzL
-----END PGP SIGNATURE-----

--OgqxwSJOaUobr8KG--


--===============6645222519567000333==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============6645222519567000333==--


From mirageos-devel-bounces@lists.xenproject.org Tue May 19 22:46:01 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 22:46:01 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YuqGm-0002Fu-5K; Tue, 19 May 2015 22:45:52 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <magnus@therning.org>) id 1YuqGj-0002Fh-Ve
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 22:45:50 +0000
Received: from [85.158.139.211] by server-5.bemta-5.messagelabs.com id
	5E/E9-03224-D1DBB555; Tue, 19 May 2015 22:45:49 +0000
X-Env-Sender: magnus@therning.org
X-Msg-Ref: server-15.tower-206.messagelabs.com!1432075548!8005370!1
X-Originating-IP: [209.85.215.45]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 5003 invoked from network); 19 May 2015 22:45:48 -0000
Received: from mail-la0-f45.google.com (HELO mail-la0-f45.google.com)
	(209.85.215.45)
	by server-15.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	19 May 2015 22:45:48 -0000
Received: by lagv1 with SMTP id v1so47626276lag.3
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 19 May 2015 15:45:48 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:date:from:to:subject:message-id:mime-version
	:content-type:content-disposition:user-agent;
	bh=Jfv2k/CbfE8K9ThnbXFnF/zJueU9Z/dwKEjzaLsDhlw=;
	b=HCgwzti4vKQyuAFoJUlSJTu3tm6YjepXJZqy76thUJNm+ca50YJ6M+9RY4xcRnQjXr
	2LJbnhY4wNsoQSmItjHEoy5xfwhpIN4RHehtI5g6JcAhQe184s7Acr/Nr7EL5i8xwm1j
	TLmsocHRPNqS7Oh9nkFV6GRrInb3m9/vDl5xAO6dSF/c7CSgnNmC3lihoWsqwxRKZSKI
	Tvng4pw5RZeSkOz1w2mPWPAY1/K1RUeGhBX9ruQCv4dqKyF8UB+jZKH7QlUIxFZ/jRdg
	uwV+drkZs7UrT/WctyWMdjQiCYxLXzd23PrbKfHoxwXbwIP3Lwrb4HHtCcr3Ehmv2VYT
	TKtg==
X-Gm-Message-State: ALoCoQmS08WtBya2/hiFrxEaE+qs1acVF7jEQOO0Xf8eNC3wBJtqzHLqSyCX5nehKRIqg+ujF9nG
X-Received: by 10.112.200.230 with SMTP id jv6mr16535152lbc.21.1432075547798; 
	Tue, 19 May 2015 15:45:47 -0700 (PDT)
Received: from tatooine (c83-248-178-110.bredband.comhem.se. [83.248.178.110])
	by mx.google.com with ESMTPSA id
	yq18sm4115593lbb.47.2015.05.19.15.45.46
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Tue, 19 May 2015 15:45:46 -0700 (PDT)
Date: Wed, 20 May 2015 00:45:44 +0200
From: Magnus Therning <magnus@therning.org>
To: mirageos-devel@lists.xenproject.org
Message-ID: <20150519224544.GA13972@tatooine>
MIME-Version: 1.0
User-Agent: Mutt/1.5.23 (2014-03-12)
Subject: [MirageOS-devel] Any way to get caml4p to run on ARM (cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============6645222519567000333=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============6645222519567000333==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG"
Content-Disposition: inline


--OgqxwSJOaUobr8KG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I can't seem to get `camlp4` to run to completion when building on
ARM.  I cloned mirage-decks, added a small deck, and then removed all
the others in an attempt to limit the compile time resource needs...
but still:

~~~
cd src && make
make[1]: Entering directory `/home/mirage/mirage-decks/src'
ocamlbuild -use-ocamlfind -pkgs lwt.syntax,conduit.mirage,cow.syntax,cowabl=
oga,cstruct,io-page,io-page.unix,lwt,mirage-clock-unix,mirage-console.unix,=
mirage-fs-unix,mirage-http,mirage-net-unix,mirage-types,mirage-types.lwt,mi=
rage.runtime,tcpip.stack-direct -tags "syntax(camlp4o),annot,bin_annot,stri=
ct_sequence,principal" -tag-line "<static*.*>: -syntax(camlp4o)" -cflag -g =
-lflags -g,-linkpkg main.native
+ ocamlfind ocamldep -package tcpip.stack-direct -package mirage.runtime -p=
ackage mirage-types.lwt -package mirage-types -package mirage-net-unix -pac=
kage mirage-http -package mirage-fs-unix -package mirage-console.unix -pack=
age mirage-clock-unix -package lwt -package io-page.unix -package io-page -=
package cstruct -package cowabloga -package cow.syntax -package conduit.mir=
age -package lwt.syntax -syntax camlp4o -modules main.ml > main.ml.depends
Segmentation fault
File "main.ml", line 1:
Error: Error while running external preprocessor
Command line: camlp4 '-I' '/home/mirage/.opam/4.02.1/lib/ocaml/camlp4' '-I'=
 '/home/mirage/.opam/4.02.1/lib/ocaml' '-I' '/home/mirage/.opam/4.02.1/lib/=
type_conv' '-I' '/home/mirage/.opam/4.02.1/lib/dyntype' '-I' '/home/mirage/=
=2Eopam/4.02.1/lib/xmlm' '-I' '/home/mirage/.opam/4.02.1/lib/uutf' '-I' '/h=
ome/mirage/.opam/4.02.1/lib/jsonm' '-I' '/home/mirage/.opam/4.02.1/lib/ocam=
l' '-I' '/home/mirage/.opam/4.02.1/lib/ocaml' '-I' '/home/mirage/.opam/4.02=
=2E1/lib/bytes' '-I' '/home/mirage/.opam/4.02.1/lib/ocplib-endian' '-I' '/h=
ome/mirage/.opam/4.02.1/lib/ocplib-endian' '-I' '/home/mirage/.opam/4.02.1/=
lib/sexplib' '-I' '/home/mirage/.opam/4.02.1/lib/cstruct' '-I' '/home/mirag=
e/.opam/4.02.1/lib/hex' '-I' '/home/mirage/.opam/4.02.1/lib/ezjsonm' '-I' '=
/home/mirage/.opam/4.02.1/lib/cow' '-I' '/home/mirage/.opam/4.02.1/lib/lwt'=
 '-I' '/home/mirage/.opam/4.02.1/lib/lwt' '-parser' 'o' '-parser' 'op' '-pr=
inter' 'p' 'str.cma' 'pa_type_conv.cma' 'pa_dyntype.cma' 'xmlm.cma' 'uutf.c=
ma' 'jsonm.cma' 'unix.cma' 'bigarray.cma' 'ocplib_endian.cma' 'bigstring.cm=
a' 'sexplib.cma' 'cstruct.cma' 'hex.cma' 'ezjsonm.cma' 'xmlm.cma' 'str.cma'=
 'pa_cow.cma' 'ezjsonm.cma' 'lwt-syntax-options.cma' 'lwt-syntax.cma'  'mai=
n.ml' > /tmp/ocamlpp0ea4f3

Command exited with code 2.
Compilation unsuccessful after building 1 target (0 cached) in 00:00:00.
make[1]: *** [main.native] Error 10
make[1]: Leaving directory `/home/mirage/mirage-decks/src'
make: *** [build] Error 2
~~~

I also have a small project of my own that uses `sexp` a bit, it also fails:

~~~
cd src && make build
make[1]: Entering directory `/home/mirage/mirage-kvsrv/src'
ocamlbuild -use-ocamlfind -pkgs lwt.syntax,conduit.mirage,core_kernel,mirag=
e-console.unix,mirage-http,mirage-types.lwt,sexplib.syntax,tcpip.stack-sock=
et -tags "syntax(camlp4o),annot,bin_annot,strict_sequence,principal" -tag-l=
ine "<static*.*>: -syntax(camlp4o)" -cflag -g -lflags -g,-linkpkg main.nati=
ve
+ ocamlfind ocamldep -package tcpip.stack-socket -package sexplib.syntax -p=
ackage mirage-types.lwt -package mirage-http -package mirage-console.unix -=
package core_kernel -package conduit.mirage -package lwt.syntax -syntax cam=
lp4o -modules main.ml > main.ml.depends
Segmentation fault
File "main.ml", line 1:
Error: Error while running external preprocessor
Command line: camlp4 '-I' '/home/mirage/.opam/4.02.1/lib/ocaml/camlp4' '-I'=
 '/home/mirage/.opam/4.02.1/lib/type_conv' '-I' '/home/mirage/.opam/4.02.1/=
lib/ocaml' '-I' '/home/mirage/.opam/4.02.1/lib/ocaml' '-I' '/home/mirage/.o=
pam/4.02.1/lib/sexplib' '-I' '/home/mirage/.opam/4.02.1/lib/sexplib' '-I' '=
/home/mirage/.opam/4.02.1/lib/lwt' '-I' '/home/mirage/.opam/4.02.1/lib/lwt'=
 '-parser' 'o' '-parser' 'op' '-printer' 'p' 'pa_type_conv.cma' 'unix.cma' =
'bigarray.cma' 'sexplib.cma' 'pa_sexp_conv.cma' 'lwt-syntax-options.cma' 'l=
wt-syntax.cma'  'main.ml' > /tmp/ocamlpp3e0d09

Command exited with code 2.
Compilation unsuccessful after building 1 target (0 cached) in 00:00:00.
make[1]: *** [main.native] Error 10
make[1]: Leaving directory `/home/mirage/mirage-kvsrv/src'
make: *** [build] Error 2
~~~

What can I do to improve my luck with building on my cubietruck?

/M

--=20
Magnus Therning                      OpenPGP: 0xAB4DFBA4=20
email: magnus@therning.org   jabber: magnus@therning.org
twitter: magthe               http://therning.org/magnus

"Sendmail" and "make" are two well known programs that are pretty widely
regarded as being debugged into existence. That's why their command
languages are so poorly thought out and difficult to learn.  It's not
just you -- everyone finds them troublesome.
     -- Peter van der Linden, Expert C Programming, p. 220

--OgqxwSJOaUobr8KG
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iEYEABECAAYFAlVbvRIACgkQiMWTaatN+6SVTACfeK9qXhKYlIF+c9TzW+PkLkS3
0X0AoM2tsS9oevWA6ffmEl1JVJLbQyRi
=IgzL
-----END PGP SIGNATURE-----

--OgqxwSJOaUobr8KG--


--===============6645222519567000333==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============6645222519567000333==--


From mirageos-devel-bounces@lists.xenproject.org Tue May 19 23:07:10 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 23:07:10 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YuqbM-0003jq-7z; Tue, 19 May 2015 23:07:08 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1YuqbL-0003ji-5l
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 23:07:07 +0000
Received: from [193.109.254.147] by server-8.bemta-14.messagelabs.com id
	E2/A7-03204-A12CB555; Tue, 19 May 2015 23:07:06 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-5.tower-27.messagelabs.com!1432076825!14371491!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26616 invoked from network); 19 May 2015 23:07:05 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-5.tower-27.messagelabs.com with SMTP;
	19 May 2015 23:07:05 -0000
Received: from [172.20.10.2]
	(98.235.197.178.dynamic.wless.lssmb00p-cgnat.res.cust.swisscom.ch
	[178.197.235.98])
	by smtp.webfaction.com (Postfix) with ESMTP id 8E07421028D2;
	Tue, 19 May 2015 23:07:04 +0000 (UTC)
Date: Wed, 20 May 2015 01:07:00 +0200
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Magnus Therning <magnus@therning.org>
Message-ID: <8E1454B34EB6400CB4530B321564A979@erratique.ch>
In-Reply-To: <20150519224544.GA13972@tatooine>
References: <20150519224544.GA13972@tatooine>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Any way to get caml4p to run on ARM
 (cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

TGUgbWVyY3JlZGksIDIwIG1haSAyMDE1IMOgIDAwOjQ1LCBNYWdudXMgVGhlcm5pbmcgYSDDqWNy
aXQgOgo+IEkgY2FuJ3Qgc2VlbSB0byBnZXQgYGNhbWxwNGAgdG8gcnVuIHRvIGNvbXBsZXRpb24g
d2hlbiBidWlsZGluZyBvbgo+IEFSTS4gSSBjbG9uZWQgbWlyYWdlLWRlY2tzLCBhZGRlZCBhIHNt
YWxsIGRlY2ssIGFuZCB0aGVuIHJlbW92ZWQgYWxsCj4gdGhlIG90aGVycyBpbiBhbiBhdHRlbXB0
IHRvIGxpbWl0IHRoZSBjb21waWxlIHRpbWUgcmVzb3VyY2UgbmVlZHMuLi4KPiBidXQgc3RpbGw6
CgpJbiB0aGUgcGFzdCBJIGhhZCBzaW1pbGFyIHByb2JsZW1zIG9uIHJwaSB3aXRoIGNhbWxwNCBi
ZWNhdXNlIGl0IHdhcyB1c2luZyB0b28gbXVjaCBtZW1vcnkgYW5kIGhhZCB0byBtYW51YWxseSBp
bmNyZWFzZSB0aGUgc3dhcCBzaXplIChzZWUgWzFdKS4gSXMgaXQgbWF5YmUgYSBzaW1pbGFyIHBy
b2JsZW0gPyAgCgpCZXN0LAoKRGFuaWVsCgpbMV0gaHR0cHM6Ly9naXRodWIuY29tL29jYW1sL29w
YW0vaXNzdWVzLzQ5MyNpc3N1ZWNvbW1lbnQtMTM5NTAyMDQKCgoKCl9fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCk1pcmFnZU9TLWRldmVsIG1haWxpbmcgbGlz
dApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpodHRwOi8vbGlzdHMueGVucHJv
amVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 23:07:10 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 23:07:10 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YuqbM-0003jq-7z; Tue, 19 May 2015 23:07:08 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1YuqbL-0003ji-5l
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 23:07:07 +0000
Received: from [193.109.254.147] by server-8.bemta-14.messagelabs.com id
	E2/A7-03204-A12CB555; Tue, 19 May 2015 23:07:06 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-5.tower-27.messagelabs.com!1432076825!14371491!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26616 invoked from network); 19 May 2015 23:07:05 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-5.tower-27.messagelabs.com with SMTP;
	19 May 2015 23:07:05 -0000
Received: from [172.20.10.2]
	(98.235.197.178.dynamic.wless.lssmb00p-cgnat.res.cust.swisscom.ch
	[178.197.235.98])
	by smtp.webfaction.com (Postfix) with ESMTP id 8E07421028D2;
	Tue, 19 May 2015 23:07:04 +0000 (UTC)
Date: Wed, 20 May 2015 01:07:00 +0200
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Magnus Therning <magnus@therning.org>
Message-ID: <8E1454B34EB6400CB4530B321564A979@erratique.ch>
In-Reply-To: <20150519224544.GA13972@tatooine>
References: <20150519224544.GA13972@tatooine>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Any way to get caml4p to run on ARM
 (cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

TGUgbWVyY3JlZGksIDIwIG1haSAyMDE1IMOgIDAwOjQ1LCBNYWdudXMgVGhlcm5pbmcgYSDDqWNy
aXQgOgo+IEkgY2FuJ3Qgc2VlbSB0byBnZXQgYGNhbWxwNGAgdG8gcnVuIHRvIGNvbXBsZXRpb24g
d2hlbiBidWlsZGluZyBvbgo+IEFSTS4gSSBjbG9uZWQgbWlyYWdlLWRlY2tzLCBhZGRlZCBhIHNt
YWxsIGRlY2ssIGFuZCB0aGVuIHJlbW92ZWQgYWxsCj4gdGhlIG90aGVycyBpbiBhbiBhdHRlbXB0
IHRvIGxpbWl0IHRoZSBjb21waWxlIHRpbWUgcmVzb3VyY2UgbmVlZHMuLi4KPiBidXQgc3RpbGw6
CgpJbiB0aGUgcGFzdCBJIGhhZCBzaW1pbGFyIHByb2JsZW1zIG9uIHJwaSB3aXRoIGNhbWxwNCBi
ZWNhdXNlIGl0IHdhcyB1c2luZyB0b28gbXVjaCBtZW1vcnkgYW5kIGhhZCB0byBtYW51YWxseSBp
bmNyZWFzZSB0aGUgc3dhcCBzaXplIChzZWUgWzFdKS4gSXMgaXQgbWF5YmUgYSBzaW1pbGFyIHBy
b2JsZW0gPyAgCgpCZXN0LAoKRGFuaWVsCgpbMV0gaHR0cHM6Ly9naXRodWIuY29tL29jYW1sL29w
YW0vaXNzdWVzLzQ5MyNpc3N1ZWNvbW1lbnQtMTM5NTAyMDQKCgoKCl9fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCk1pcmFnZU9TLWRldmVsIG1haWxpbmcgbGlz
dApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpodHRwOi8vbGlzdHMueGVucHJv
amVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 23:39:24 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 23:39:24 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yur6X-0005DE-6C; Tue, 19 May 2015 23:39:21 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1Yur6V-0005D9-V2
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 23:39:20 +0000
Received: from [85.158.139.211] by server-5.bemta-5.messagelabs.com id
	60/27-03224-7A9CB555; Tue, 19 May 2015 23:39:19 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-3.tower-206.messagelabs.com!1432078758!3778732!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 5357 invoked from network); 19 May 2015 23:39:18 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-3.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 19 May 2015 23:39:18 -0000
Received: from [192.168.1.39] (cpc7-cmbg14-2-0-cust238.5-4.cable.virginm.net
	[86.30.244.239]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id a064ede6;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Wed, 20 May 2015 00:39:17 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <8E1454B34EB6400CB4530B321564A979@erratique.ch>
Date: Wed, 20 May 2015 00:39:20 +0100
Message-Id: <1431F267-2996-47ED-A210-466507AFC1A0@recoil.org>
References: <20150519224544.GA13972@tatooine>
	<8E1454B34EB6400CB4530B321564A979@erratique.ch>
To: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Any way to get caml4p to run on ARM
	(cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gMjAgTWF5IDIwMTUsIGF0IDAwOjA3LCBEYW5pZWwgQsO8bnpsaSA8ZGFuaWVsLmJ1ZW56bGlA
ZXJyYXRpcXVlLmNoPiB3cm90ZToKPiAKPiBMZSBtZXJjcmVkaSwgMjAgbWFpIDIwMTUgw6AgMDA6
NDUsIE1hZ251cyBUaGVybmluZyBhIMOpY3JpdCA6Cj4+IEkgY2FuJ3Qgc2VlbSB0byBnZXQgYGNh
bWxwNGAgdG8gcnVuIHRvIGNvbXBsZXRpb24gd2hlbiBidWlsZGluZyBvbgo+PiBBUk0uIEkgY2xv
bmVkIG1pcmFnZS1kZWNrcywgYWRkZWQgYSBzbWFsbCBkZWNrLCBhbmQgdGhlbiByZW1vdmVkIGFs
bAo+PiB0aGUgb3RoZXJzIGluIGFuIGF0dGVtcHQgdG8gbGltaXQgdGhlIGNvbXBpbGUgdGltZSBy
ZXNvdXJjZSBuZWVkcy4uLgo+PiBidXQgc3RpbGw6Cj4gCj4gSW4gdGhlIHBhc3QgSSBoYWQgc2lt
aWxhciBwcm9ibGVtcyBvbiBycGkgd2l0aCBjYW1scDQgYmVjYXVzZSBpdCB3YXMgdXNpbmcgdG9v
IG11Y2ggbWVtb3J5IGFuZCBoYWQgdG8gbWFudWFsbHkgaW5jcmVhc2UgdGhlIHN3YXAgc2l6ZSAo
c2VlIFsxXSkuIElzIGl0IG1heWJlIGEgc2ltaWxhciBwcm9ibGVtID8gIAo+IAoKSW5jcmVhc2lu
ZyBzd2FwIGlzIGEgZGVmaW5pdGUgbmVjZXNzaXR5LiAgSSBhbHNvIG5vdGljZSB0aGF0IE1hZ251
cwppcyBjb21waWxpbmcgbWlyYWdlLWRlY2tzLCB3aGljaCBoYXMgZ3Jvd24gdmVyeSBsYXJnZSBy
ZWNlbnRseSwgYW5kIHNvCmhhcyBvdXRncm93biBgY3J1bmNoYC4gIEkgdXN1YWxseSBjcmVhdGUg
YSBuZXcgYHNsaWRlcy9gIGZvbGRlciB3aXRoCmp1c3QgbXkgY3VycmVudCB0YWxrIGFuZCB0aGUg
YHNsaWRlcy90ZW1wbGF0ZXMvYCBmb2xkZXIgYW5kIHRoZW4gY29tcGlsZQp0aGF0IG9uIEFSTSBp
bnN0ZWFkLgoKRG8geW91IHdhbnQgdG8gdHJ5IHRoYXQgYW5kIHNlZSBpZiBpdCBpbXByb3ZlcyB0
aGluZ3Mgb24geW91ciBDdWJpZSwgTWFnbnVzPwoKLWFuaWwKCgpfX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fXwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QK
TWlyYWdlT1MtZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2pl
Y3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Tue May 19 23:39:24 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 19 May 2015 23:39:24 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yur6X-0005DE-6C; Tue, 19 May 2015 23:39:21 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1Yur6V-0005D9-V2
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 23:39:20 +0000
Received: from [85.158.139.211] by server-5.bemta-5.messagelabs.com id
	60/27-03224-7A9CB555; Tue, 19 May 2015 23:39:19 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-3.tower-206.messagelabs.com!1432078758!3778732!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 5357 invoked from network); 19 May 2015 23:39:18 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-3.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 19 May 2015 23:39:18 -0000
Received: from [192.168.1.39] (cpc7-cmbg14-2-0-cust238.5-4.cable.virginm.net
	[86.30.244.239]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id a064ede6;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Wed, 20 May 2015 00:39:17 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <8E1454B34EB6400CB4530B321564A979@erratique.ch>
Date: Wed, 20 May 2015 00:39:20 +0100
Message-Id: <1431F267-2996-47ED-A210-466507AFC1A0@recoil.org>
References: <20150519224544.GA13972@tatooine>
	<8E1454B34EB6400CB4530B321564A979@erratique.ch>
To: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Any way to get caml4p to run on ARM
	(cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gMjAgTWF5IDIwMTUsIGF0IDAwOjA3LCBEYW5pZWwgQsO8bnpsaSA8ZGFuaWVsLmJ1ZW56bGlA
ZXJyYXRpcXVlLmNoPiB3cm90ZToKPiAKPiBMZSBtZXJjcmVkaSwgMjAgbWFpIDIwMTUgw6AgMDA6
NDUsIE1hZ251cyBUaGVybmluZyBhIMOpY3JpdCA6Cj4+IEkgY2FuJ3Qgc2VlbSB0byBnZXQgYGNh
bWxwNGAgdG8gcnVuIHRvIGNvbXBsZXRpb24gd2hlbiBidWlsZGluZyBvbgo+PiBBUk0uIEkgY2xv
bmVkIG1pcmFnZS1kZWNrcywgYWRkZWQgYSBzbWFsbCBkZWNrLCBhbmQgdGhlbiByZW1vdmVkIGFs
bAo+PiB0aGUgb3RoZXJzIGluIGFuIGF0dGVtcHQgdG8gbGltaXQgdGhlIGNvbXBpbGUgdGltZSBy
ZXNvdXJjZSBuZWVkcy4uLgo+PiBidXQgc3RpbGw6Cj4gCj4gSW4gdGhlIHBhc3QgSSBoYWQgc2lt
aWxhciBwcm9ibGVtcyBvbiBycGkgd2l0aCBjYW1scDQgYmVjYXVzZSBpdCB3YXMgdXNpbmcgdG9v
IG11Y2ggbWVtb3J5IGFuZCBoYWQgdG8gbWFudWFsbHkgaW5jcmVhc2UgdGhlIHN3YXAgc2l6ZSAo
c2VlIFsxXSkuIElzIGl0IG1heWJlIGEgc2ltaWxhciBwcm9ibGVtID8gIAo+IAoKSW5jcmVhc2lu
ZyBzd2FwIGlzIGEgZGVmaW5pdGUgbmVjZXNzaXR5LiAgSSBhbHNvIG5vdGljZSB0aGF0IE1hZ251
cwppcyBjb21waWxpbmcgbWlyYWdlLWRlY2tzLCB3aGljaCBoYXMgZ3Jvd24gdmVyeSBsYXJnZSBy
ZWNlbnRseSwgYW5kIHNvCmhhcyBvdXRncm93biBgY3J1bmNoYC4gIEkgdXN1YWxseSBjcmVhdGUg
YSBuZXcgYHNsaWRlcy9gIGZvbGRlciB3aXRoCmp1c3QgbXkgY3VycmVudCB0YWxrIGFuZCB0aGUg
YHNsaWRlcy90ZW1wbGF0ZXMvYCBmb2xkZXIgYW5kIHRoZW4gY29tcGlsZQp0aGF0IG9uIEFSTSBp
bnN0ZWFkLgoKRG8geW91IHdhbnQgdG8gdHJ5IHRoYXQgYW5kIHNlZSBpZiBpdCBpbXByb3ZlcyB0
aGluZ3Mgb24geW91ciBDdWJpZSwgTWFnbnVzPwoKLWFuaWwKCgpfX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fXwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QK
TWlyYWdlT1MtZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2pl
Y3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 07:06:46 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 07:06:46 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yuy5O-0003eI-Up; Wed, 20 May 2015 07:06:38 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <magnus@therning.org>) id 1Yuy5M-0003eD-UR
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 07:06:37 +0000
Received: from [193.109.254.147] by server-7.bemta-14.messagelabs.com id
	31/E8-03202-C723C555; Wed, 20 May 2015 07:06:36 +0000
X-Env-Sender: magnus@therning.org
X-Msg-Ref: server-10.tower-27.messagelabs.com!1432105586!19083160!1
X-Originating-IP: [209.85.223.177]
X-SpamReason: No, hits=0.3 required=7.0 tests=ML_RADAR_SPEW_LINKS_8,
	RCVD_BY_IP,spamassassin: ,async_handler: 
	YXN5bmNfZGVsYXk6IDAgKHRpbWVvdXQp\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 23628 invoked from network); 20 May 2015 07:06:27 -0000
Received: from mail-ie0-f177.google.com (HELO mail-ie0-f177.google.com)
	(209.85.223.177)
	by server-10.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	20 May 2015 07:06:27 -0000
Received: by iebgx4 with SMTP id gx4so32325156ieb.0
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 00:06:26 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type
	:content-transfer-encoding;
	bh=zAk0uHY5uJOTzSFVxMpr5MUXIgW0rlm+JMTlU9nuKao=;
	b=Vr1B5/WTU1UtB/A/wOVTwoUv0ntRCEhWOkpQau+qmBsFWqzuyGpuDCJL4gtz2see/O
	z3BRdYVidrAe9+2uNXutjSAs2AcLX7OoUpk92fVOY9ydID7QosiOC/yxLIkjJMec+ub2
	lE+eTxCSqQ928QOI+FNwaOagpsOKVL9EKUGAF4a28vrvvhQK9ircfHMwG8VLeCqY87fQ
	/V0p8e7udoVKcLHgkHJ9iWHhmjHXNruOvXQ90y5ZuSN0yRteT+MMLq5jFA6mRCxhHLcW
	5CED3YNwfUfOcMHZypqFoV+Y6lPOrAv0Wd8Bw15n4Wpjj0EqnZAt83yyw3QIaWwyK6SK
	PwVQ==
X-Gm-Message-State: ALoCoQkkdhqRurjIVW8lDw8ReGolib/2wgfa/Od2WFiK3Y8TqeIQBF1eBtxKrbtc+jU+DFvLDynM
MIME-Version: 1.0
X-Received: by 10.107.168.164 with SMTP id e36mr1457712ioj.87.1432105586227;
	Wed, 20 May 2015 00:06:26 -0700 (PDT)
Received: by 10.36.30.11 with HTTP; Wed, 20 May 2015 00:06:26 -0700 (PDT)
In-Reply-To: <1431F267-2996-47ED-A210-466507AFC1A0@recoil.org>
References: <20150519224544.GA13972@tatooine>
	<8E1454B34EB6400CB4530B321564A979@erratique.ch>
	<1431F267-2996-47ED-A210-466507AFC1A0@recoil.org>
Date: Wed, 20 May 2015 09:06:26 +0200
Message-ID: <CAAExw5sYfrSfu5hyGQx9cSEKZ7B5kv=7E-sPydtGC20JRxgtoA@mail.gmail.com>
From: Magnus Therning <magnus@therning.org>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Any way to get caml4p to run on ARM
	(cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gMjAgTWF5IDIwMTUgYXQgMDE6MzksIEFuaWwgTWFkaGF2YXBlZGR5IDxhbmlsQHJlY29pbC5v
cmc+IHdyb3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mluZy5vcmcgICBqYWJiZXI6IG1h
Z251c0B0aGVybmluZy5vcmcKdHdpdHRlcjogbWFndGhlICAgICAgICAgICAgICAgaHR0cDovL3Ro
ZXJuaW5nLm9yZy9tYWdudXMKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fCk1pcmFnZU9TLWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0
cy54ZW5wcm9qZWN0Lm9yZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWls
bWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 07:06:46 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 07:06:46 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yuy5O-0003eI-Up; Wed, 20 May 2015 07:06:38 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <magnus@therning.org>) id 1Yuy5M-0003eD-UR
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 07:06:37 +0000
Received: from [193.109.254.147] by server-7.bemta-14.messagelabs.com id
	31/E8-03202-C723C555; Wed, 20 May 2015 07:06:36 +0000
X-Env-Sender: magnus@therning.org
X-Msg-Ref: server-10.tower-27.messagelabs.com!1432105586!19083160!1
X-Originating-IP: [209.85.223.177]
X-SpamReason: No, hits=0.3 required=7.0 tests=ML_RADAR_SPEW_LINKS_8,
	RCVD_BY_IP,spamassassin: ,async_handler: 
	YXN5bmNfZGVsYXk6IDAgKHRpbWVvdXQp\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 23628 invoked from network); 20 May 2015 07:06:27 -0000
Received: from mail-ie0-f177.google.com (HELO mail-ie0-f177.google.com)
	(209.85.223.177)
	by server-10.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	20 May 2015 07:06:27 -0000
Received: by iebgx4 with SMTP id gx4so32325156ieb.0
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 00:06:26 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type
	:content-transfer-encoding;
	bh=zAk0uHY5uJOTzSFVxMpr5MUXIgW0rlm+JMTlU9nuKao=;
	b=Vr1B5/WTU1UtB/A/wOVTwoUv0ntRCEhWOkpQau+qmBsFWqzuyGpuDCJL4gtz2see/O
	z3BRdYVidrAe9+2uNXutjSAs2AcLX7OoUpk92fVOY9ydID7QosiOC/yxLIkjJMec+ub2
	lE+eTxCSqQ928QOI+FNwaOagpsOKVL9EKUGAF4a28vrvvhQK9ircfHMwG8VLeCqY87fQ
	/V0p8e7udoVKcLHgkHJ9iWHhmjHXNruOvXQ90y5ZuSN0yRteT+MMLq5jFA6mRCxhHLcW
	5CED3YNwfUfOcMHZypqFoV+Y6lPOrAv0Wd8Bw15n4Wpjj0EqnZAt83yyw3QIaWwyK6SK
	PwVQ==
X-Gm-Message-State: ALoCoQkkdhqRurjIVW8lDw8ReGolib/2wgfa/Od2WFiK3Y8TqeIQBF1eBtxKrbtc+jU+DFvLDynM
MIME-Version: 1.0
X-Received: by 10.107.168.164 with SMTP id e36mr1457712ioj.87.1432105586227;
	Wed, 20 May 2015 00:06:26 -0700 (PDT)
Received: by 10.36.30.11 with HTTP; Wed, 20 May 2015 00:06:26 -0700 (PDT)
In-Reply-To: <1431F267-2996-47ED-A210-466507AFC1A0@recoil.org>
References: <20150519224544.GA13972@tatooine>
	<8E1454B34EB6400CB4530B321564A979@erratique.ch>
	<1431F267-2996-47ED-A210-466507AFC1A0@recoil.org>
Date: Wed, 20 May 2015 09:06:26 +0200
Message-ID: <CAAExw5sYfrSfu5hyGQx9cSEKZ7B5kv=7E-sPydtGC20JRxgtoA@mail.gmail.com>
From: Magnus Therning <magnus@therning.org>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Any way to get caml4p to run on ARM
	(cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gMjAgTWF5IDIwMTUgYXQgMDE6MzksIEFuaWwgTWFkaGF2YXBlZGR5IDxhbmlsQHJlY29pbC5v
cmc+IHdyb3RlOgo+IE9uIDIwIE1heSAyMDE1LCBhdCAwMDowNywgRGFuaWVsIELDvG56bGkgPGRh
bmllbC5idWVuemxpQGVycmF0aXF1ZS5jaD4gd3JvdGU6Cj4+Cj4+IExlIG1lcmNyZWRpLCAyMCBt
YWkgMjAxNSDDoCAwMDo0NSwgTWFnbnVzIFRoZXJuaW5nIGEgw6ljcml0IDoKPj4+IEkgY2FuJ3Qg
c2VlbSB0byBnZXQgYGNhbWxwNGAgdG8gcnVuIHRvIGNvbXBsZXRpb24gd2hlbiBidWlsZGluZy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cvY2dpLWJpbi9tYWls
bWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 07:52:52 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 07:52:52 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yuyo4-0005a0-A4; Wed, 20 May 2015 07:52:48 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amc79@cam.ac.uk>) id 1Yuyo3-0005Zv-2v
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 07:52:47 +0000
Received: from [193.109.254.147] by server-12.bemta-14.messagelabs.com id
	76/9B-02507-E4D3C555; Wed, 20 May 2015 07:52:46 +0000
X-Env-Sender: amc79@cam.ac.uk
X-Msg-Ref: server-6.tower-27.messagelabs.com!1432108365!19083022!1
X-Originating-IP: [131.111.8.140]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 25692 invoked from network); 20 May 2015 07:52:45 -0000
Received: from ppsw-40.csi.cam.ac.uk (HELO ppsw-40.csi.cam.ac.uk)
	(131.111.8.140)
	by server-6.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 20 May 2015 07:52:45 -0000
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from host81-134-29-229.in-addr.btopenworld.com ([81.134.29.229]:1061
	helo=amirmacbook.home)
	by ppsw-40.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:587)
	with esmtpsa (PLAIN:amc79) (TLSv1:DHE-RSA-AES256-SHA:256)
	id 1Yuyo1-0006KF-kH (Exim 4.82_3-c0e5623) for
	mirageos-devel@lists.xenproject.org
	(return-path <amc79@cam.ac.uk>); Wed, 20 May 2015 08:52:45 +0100
From: Amir Chaudhry <amc79@cam.ac.uk>
Message-Id: <735E97B7-3237-4686-AA2B-A161E36DA222@cam.ac.uk>
Date: Wed, 20 May 2015 08:52:47 +0100
To: mirageos-devel@lists.xenproject.org
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Subject: [MirageOS-devel] Mirage fortnightly call - Wednesday 20th at 4pm BST
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGkgZm9sa3MsCgpUaGUgbmV4dCBNaXJhZ2UgY2FsbCB3aWxsIHRha2UgcGxhY2Ugb24gV2VkbmVz
ZGF5IGFmdGVybm9vbiBhdCA0cG0gQlNUIChpLmUuIHRvZGF5KSBhbmQgaXMgb3BlbiB0byBhbGwu
ICBXZSdsbCBiZSBiYWNrIG9uIEdvVG9NZWV0aW5nIHRoaXMgdGltZS4KCklmIHRoZXJlIGFyZSBh
bnkgaGljY3Vwcy9kZWxheXMgdGhlbiBJJ2xsIHN3aXRjaCB0byBhIHB1YmxpYyBHb29nbGUgSGFu
Z291dC4gIElmIHR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f
X19fX19fX19fX19fXwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKTWlyYWdlT1MtZGV2ZWxA
bGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4v
bWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 07:52:52 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 07:52:52 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yuyo4-0005a0-A4; Wed, 20 May 2015 07:52:48 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amc79@cam.ac.uk>) id 1Yuyo3-0005Zv-2v
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 07:52:47 +0000
Received: from [193.109.254.147] by server-12.bemta-14.messagelabs.com id
	76/9B-02507-E4D3C555; Wed, 20 May 2015 07:52:46 +0000
X-Env-Sender: amc79@cam.ac.uk
X-Msg-Ref: server-6.tower-27.messagelabs.com!1432108365!19083022!1
X-Originating-IP: [131.111.8.140]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 25692 invoked from network); 20 May 2015 07:52:45 -0000
Received: from ppsw-40.csi.cam.ac.uk (HELO ppsw-40.csi.cam.ac.uk)
	(131.111.8.140)
	by server-6.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 20 May 2015 07:52:45 -0000
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from host81-134-29-229.in-addr.btopenworld.com ([81.134.29.229]:1061
	helo=amirmacbook.home)
	by ppsw-40.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:587)
	with esmtpsa (PLAIN:amc79) (TLSv1:DHE-RSA-AES256-SHA:256)
	id 1Yuyo1-0006KF-kH (Exim 4.82_3-c0e5623) for
	mirageos-devel@lists.xenproject.org
	(return-path <amc79@cam.ac.uk>); Wed, 20 May 2015 08:52:45 +0100
From: Amir Chaudhry <amc79@cam.ac.uk>
Message-Id: <735E97B7-3237-4686-AA2B-A161E36DA222@cam.ac.uk>
Date: Wed, 20 May 2015 08:52:47 +0100
To: mirageos-devel@lists.xenproject.org
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Subject: [MirageOS-devel] Mirage fortnightly call - Wednesday 20th at 4pm BST
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGkgZm9sa3MsCgpUaGUgbmV4dCBNaXJhZ2UgY2FsbCB3aWxsIHRha2UgcGxhY2Ugb24gV2VkbmVz
ZGF5IGFmdGVybm9vbiBhdCA0cG0gQlNUIChpLmUuIHRvZGF5KSBhbmQgaXMgb3BlbiB0byBhbGwu
ICBXZSdsbCBiZSBiYWNrIG9uIEd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R0cHM6Ly9nbG9iYWwuZ290b21lZXRpbmcuY29tLzI1MDQ0MjA3Ny9udW1iZXJzZGlzcGxheS5o
dG1sCgpCZXN0IHdpc2hlcywKQW1pcgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fXwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKTWlyYWdlT1MtZGV2ZWxA
bGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4v
bWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 09:28:32 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 09:28:32 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv0Ib-00043m-Cc; Wed, 20 May 2015 09:28:25 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1Yv0Ia-00043g-1Y
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 09:28:24 +0000
Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id
	BF/9A-02633-7B35C555; Wed, 20 May 2015 09:28:23 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-10.tower-27.messagelabs.com!1432114102!19139434!1
X-Originating-IP: [74.125.82.54]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 14114 invoked from network); 20 May 2015 09:28:22 -0000
Received: from mail-wg0-f54.google.com (HELO mail-wg0-f54.google.com)
	(74.125.82.54)
	by server-10.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	20 May 2015 09:28:22 -0000
Received: by wghq2 with SMTP id q2so46172665wgh.1
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 02:28:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=JvjazI3/Tt7TlMB6ds7kk5olcvXybK5yxZl7BjxQ3io=;
	b=E4D/DnvEGqVlallziOOSaWJlP5jyQMT6Gy3D3f0jqaFnAggCFVFfi4R695/VXxVVWx
	SJV0CkRQGYnDCXZcVYLoHhilKBMhA2EODHnBSDMbqnalwn8oIK1CfPNs10lwVk/ks8hs
	m6GXydIsCZ8ZoKMj3ujLcquAHxbek9fXfmOTqPPIJ7QdUf9RNOyLVs4pAMsWvwVJhsdY
	FXzXAyzSLbmjy6DJPvF82XADWvZ+DvAhohuFQmk2p5gNPvIVW/DfXdSrrSwVUwET/5Op
	NTLulAupUqsHltKIMr9Hx4+aqj8UZ+6Qlv7ouuvwwfBBq6ameuiH/B3sczWggx8a7pPj
	towQ==
X-Received: by 10.194.61.208 with SMTP id s16mr63685363wjr.135.1432114101825; 
	Wed, 20 May 2015 02:28:21 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122])
	by mx.google.com with ESMTPSA id hn7sm1531912wjc.16.2015.05.20.02.28.20
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Wed, 20 May 2015 02:28:20 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <20150519224544.GA13972@tatooine>
Date: Wed, 20 May 2015 10:28:17 +0100
Message-Id: <E6CFDA08-BA38-42D4-890F-8BE2AE3237D8@gazagnaire.org>
References: <20150519224544.GA13972@tatooine>
To: Magnus Therning <magnus@therning.org>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Any way to get caml4p to run on ARM
	(cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

> I can't seem to get `camlp4` to run to completion when building on
> ARM.  I cloned mirage-decks, added a small deck, and then removed all
> the others in an attempt to limit the compile time resource needs...
> but still:
> 
> ~~~
> cd src && make
> make[1]: Entering directory `/home/mirage/mirage-decks/src'
> ocamlbuild -use-ocamlfind -pkgs lwt.syntax,conduit.mirage,cow.syntax,cowabloga,cstruct,io-page,io-page.unix,lwt,mirage-clock-unix,mirage-console.unix,mirage-fs-unix,mirage-http,mirage-net-unix,mirage-types,mirage-types.lwt,mirage.runtime,tcpip.stack-direct -tags "syntax(camlp4o),annot,bin_annot,strict_sequence,principal" -tag-line "<static*.*>: -syntax(camlp4o)" -cflag -g -lflags -g,-linkpkg main.native
> + ocamlfind ocamldep -package tcpip.stack-direct -package mirage.runtime -package mirage-types.lwt -package mirage-types -package mirage-net-unix -package mirage-http -package mirage-fs-unix -package mirage-console.unix -package mirage-clock-unix -package lwt -package io-page.unix -package io-page -package cstruct -package cowabloga -package cow.syntax -package conduit.mirage -package lwt.syntax -syntax camlp4o -modules main.ml > main.ml.depends
> Segmentation fault
> File "main.ml", line 1:
> Error: Error while running external preprocessor
> Command line: camlp4 '-I' '/home/mirage/.opam/4.02.1/lib/ocaml/camlp4' '-I' '/home/mirage/.opam/4.02.1/lib/ocaml' '-I' '/home/mirage/.opam/4.02.1/lib/type_conv' '-I' '/home/mirage/.opam/4.02.1/lib/dyntype' '-I' '/home/mirage/.opam/4.02.1/lib/xmlm' '-I' '/home/mirage/.opam/4.02.1/lib/uutf' '-I' '/home/mirage/.opam/4.02.1/lib/jsonm' '-I' '/home/mirage/.opam/4.02.1/lib/ocaml' '-I' '/home/mirage/.opam/4.02.1/lib/ocaml' '-I' '/home/mirage/.opam/4.02.1/lib/bytes' '-I' '/home/mirage/.opam/4.02.1/lib/ocplib-endian' '-I' '/home/mirage/.opam/4.02.1/lib/ocplib-endian' '-I' '/home/mirage/.opam/4.02.1/lib/sexplib' '-I' '/home/mirage/.opam/4.02.1/lib/cstruct' '-I' '/home/mirage/.opam/4.02.1/lib/hex' '-I' '/home/mirage/.opam/4.02.1/lib/ezjsonm' '-I' '/home/mirage/.opam/4.02.1/lib/cow' '-I' '/home/mirage/.opam/4.02.1/lib/lwt' '-I' '/home/mirage/.opam/4.02.1/lib/lwt' '-parser' 'o' '-parser' 'op' '-printer' 'p' 'str.cma' 'pa_type_conv.cma' 'pa_dyntype.cma' 'xmlm.cma' 'uutf.cma' 'jsonm.cma' 'unix.cma' 'bigarray.cma' 'ocplib_endian.cma' 'bigstring.cma' 'sexplib.cma' 'cstruct.cma' 'hex.cma' 'ezjsonm.cma' 'xmlm.cma' 'str.cma' 'pa_cow.cma' 'ezjsonm.cma' 'lwt-syntax-options.cma' 'lwt-syntax.cma'  'main.ml' > /tmp/ocamlpp0ea4f3

Try to remove it from LIBS in the generated Makefile and remove the "syntax(camlp4o)" in SYNTAX to see if this helps.
If yes, I'm happy to get rid of the automatic inclusion lwt.syntax by the mirage tool to avoid that.

Thomas

> 
> Command exited with code 2.
> Compilation unsuccessful after building 1 target (0 cached) in 00:00:00.
> make[1]: *** [main.native] Error 10
> make[1]: Leaving directory `/home/mirage/mirage-decks/src'
> make: *** [build] Error 2
> ~~~
> 
> I also have a small project of my own that uses `sexp` a bit, it also fails:
> 
> ~~~
> cd src && make build
> make[1]: Entering directory `/home/mirage/mirage-kvsrv/src'
> ocamlbuild -use-ocamlfind -pkgs lwt.syntax,conduit.mirage,core_kernel,mirage-console.unix,mirage-http,mirage-types.lwt,sexplib.syntax,tcpip.stack-socket -tags "syntax(camlp4o),annot,bin_annot,strict_sequence,principal" -tag-line "<static*.*>: -syntax(camlp4o)" -cflag -g -lflags -g,-linkpkg main.native
> + ocamlfind ocamldep -package tcpip.stack-socket -package sexplib.syntax -package mirage-types.lwt -package mirage-http -package mirage-console.unix -package core_kernel -package conduit.mirage -package lwt.syntax -syntax camlp4o -modules main.ml > main.ml.depends
> Segmentation fault
> File "main.ml", line 1:
> Error: Error while running external preprocessor
> Command line: camlp4 '-I' '/home/mirage/.opam/4.02.1/lib/ocaml/camlp4' '-I' '/home/mirage/.opam/4.02.1/lib/type_conv' '-I' '/home/mirage/.opam/4.02.1/lib/ocaml' '-I' '/home/mirage/.opam/4.02.1/lib/ocaml' '-I' '/home/mirage/.opam/4.02.1/lib/sexplib' '-I' '/home/mirage/.opam/4.02.1/lib/sexplib' '-I' '/home/mirage/.opam/4.02.1/lib/lwt' '-I' '/home/mirage/.opam/4.02.1/lib/lwt' '-parser' 'o' '-parser' 'op' '-printer' 'p' 'pa_type_conv.cma' 'unix.cma' 'bigarray.cma' 'sexplib.cma' 'pa_sexp_conv.cma' 'lwt-syntax-options.cma' 'lwt-syntax.cma'  'main.ml' > /tmp/ocamlpp3e0d09
> 
> Command exited with code 2.
> Compilation unsuccessful after building 1 target (0 cached) in 00:00:00.
> make[1]: *** [main.native] Error 10
> make[1]: Leaving directory `/home/mirage/mirage-kvsrv/src'
> make: *** [build] Error 2
> ~~~
> 
> What can I do to improve my luck with building on my cubietruck?
> 
> /M
> 
> -- 
> Magnus Therning                      OpenPGP: 0xAB4DFBA4 
> email: magnus@therning.org   jabber: magnus@therning.org
> twitter: magthe               http://therning.org/magnus
> 
> "Sendmail" and "make" are two well known programs that are pretty widely
> regarded as being debugged into existence. That's why their command
> languages are so poorly thought out and difficult to learn.  It's not
> just you -- everyone finds them troublesome.
>     -- Peter van der Linden, Expert C Programming, p. 220
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 09:28:32 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 09:28:32 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv0Ib-00043m-Cc; Wed, 20 May 2015 09:28:25 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1Yv0Ia-00043g-1Y
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 09:28:24 +0000
Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id
	BF/9A-02633-7B35C555; Wed, 20 May 2015 09:28:23 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-10.tower-27.messagelabs.com!1432114102!19139434!1
X-Originating-IP: [74.125.82.54]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 14114 invoked from network); 20 May 2015 09:28:22 -0000
Received: from mail-wg0-f54.google.com (HELO mail-wg0-f54.google.com)
	(74.125.82.54)
	by server-10.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	20 May 2015 09:28:22 -0000
Received: by wghq2 with SMTP id q2so46172665wgh.1
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 02:28:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=JvjazI3/Tt7TlMB6ds7kk5olcvXybK5yxZl7BjxQ3io=;
	b=E4D/DnvEGqVlallziOOSaWJlP5jyQMT6Gy3D3f0jqaFnAggCFVFfi4R695/VXxVVWx
	SJV0CkRQGYnDCXZcVYLoHhilKBMhA2EODHnBSDMbqnalwn8oIK1CfPNs10lwVk/ks8hs
	m6GXydIsCZ8ZoKMj3ujLcquAHxbek9fXfmOTqPPIJ7QdUf9RNOyLVs4pAMsWvwVJhsdY
	FXzXAyzSLbmjy6DJPvF82XADWvZ+DvAhohuFQmk2p5gNPvIVW/DfXdSrrSwVUwET/5Op
	NTLulAupUqsHltKIMr9Hx4+aqj8UZ+6Qlv7ouuvwwfBBq6ameuiH/B3sczWggx8a7pPj
	towQ==
X-Received: by 10.194.61.208 with SMTP id s16mr63685363wjr.135.1432114101825; 
	Wed, 20 May 2015 02:28:21 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122])
	by mx.google.com with ESMTPSA id hn7sm1531912wjc.16.2015.05.20.02.28.20
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Wed, 20 May 2015 02:28:20 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <20150519224544.GA13972@tatooine>
Date: Wed, 20 May 2015 10:28:17 +0100
Message-Id: <E6CFDA08-BA38-42D4-890F-8BE2AE3237D8@gazagnaire.org>
References: <20150519224544.GA13972@tatooine>
To: Magnus Therning <magnus@therning.org>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Any way to get caml4p to run on ARM
	(cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

> I can't seem to get `camlp4` to run to completion when building on
> ARM.  I cloned mirage-decks, added a small deck, and then removed all
> the others in an attempt to limit the compile time resource needs...
> but still:
> 
> ~~~
> cd src && make
> make[1]: Entering directory `/home/mirage/mirage-decks/src'
> ocamlbuild -use-ocamlfind -pkgs lwt.syntax,conduit.mirage,cow.syntax,cowabloga,cstruct,io-page,io-page.unix,lwt,mirage-clock-unix,mirage-console.unix,mirage-fs-unix,mirage-http,mirage-net-unix,mirage-types,mirage-types.lwt,mirage.runtime,tcpip.stack-direct -tags "syntax(camlp4o),annot,bin_annot,strict_sequence,principal" -tag-line "<static*.*>: -syntax(camlp4o)" -cflag -g -lflags -g,-linkpkg main.native
> + ocamlfind ocamldep -package tcpip.stack-direct -package mirage.runtime -package mirage-types.lwt -package mirage-types -package mirage-net-unix -package mirage-http -package mirage-fs-unix -package mirage-console.unix -package mirage-clock-unix -package lwt -package io-page.unix -package io-page -package cstruct -package cowabloga -package cow.syntax -package conduit.mirage -package lwt.syntax -syntax camlp4o -modules main.ml > main.ml.depends
> Segmentation fault
> File "main.ml", line 1:
> Error: Error while running external preprocessor
> Command line: camlp4 '-I' '/home/mirage/.opam/4.02.1/lib/ocaml/camlp4' '-I' '/home/mirage/.opam/4.02.1/lib/ocaml' '-I' '/home/mirage/.opam/4.02.1/lib/type_conv' '-I' '/home/mirage/.opam/4.02.1/lib/dyntype' '-I' '/home/mirage/.opam/4.02.1/lib/xmlm' '-I' '/home/mirage/.opam/4.02.1/lib/uutf' '-I' '/home/mirage/.opam/4.02.1/lib/jsonm' '-I' '/home/mirage/.opam/4.02.1/lib/ocaml' '-I' '/home/mirage/.opam/4.02.1/lib/ocaml' '-I' '/home/mirage/.opam/4.02.1/lib/bytes' '-I' '/home/mirage/.opam/4.02.1/lib/ocplib-endian' '-I' '/home/mirage/.opam/4.02.1/lib/ocplib-endian' '-I' '/home/mirage/.opam/4.02.1/lib/sexplib' '-I' '/home/mirage/.opam/4.02.1/lib/cstruct' '-I' '/home/mirage/.opam/4.02.1/lib/hex' '-I' '/home/mirage/.opam/4.02.1/lib/ezjsonm' '-I' '/home/mirage/.opam/4.02.1/lib/cow' '-I' '/home/mirage/.opam/4.02.1/lib/lwt' '-I' '/home/mirage/.opam/4.02.1/lib/lwt' '-parser' 'o' '-parser' 'op' '-printer' 'p' 'str.cma' 'pa_type_conv.cma' 'pa_dyntype.cma' 'xmlm.cma' 'uutf.cma' 'jsonm.cma' 'unix.cma' 'bigarray.cma' 'ocplib_endian.cma' 'bigstring.cma' 'sexplib.cma' 'cstruct.cma' 'hex.cma' 'ezjsonm.cma' 'xmlm.cma' 'str.cma' 'pa_cow.cma' 'ezjsonm.cma' 'lwt-syntax-options.cma' 'lwt-syntax.cma'  'main.ml' > /tmp/ocamlpp0ea4f3

Try to remove it from LIBS in the generated Makefile and remove the "syntax(camlp4o)" in SYNTAX to see if this helps.
If yes, I'm happy to get rid of the automatic inclusion lwt.syntax by the mirage tool to avoid that.

Thomas

> 
> Command exited with code 2.
> Compilation unsuccessful after building 1 target (0 cached) in 00:00:00.
> make[1]: *** [main.native] Error 10
> make[1]: Leaving directory `/home/mirage/mirage-decks/src'
> make: *** [build] Error 2
> ~~~
> 
> I also have a small project of my own that uses `sexp` a bit, it also fails:
> 
> ~~~
> cd src && make build
> make[1]: Entering directory `/home/mirage/mirage-kvsrv/src'
> ocamlbuild -use-ocamlfind -pkgs lwt.syntax,conduit.mirage,core_kernel,mirage-console.unix,mirage-http,mirage-types.lwt,sexplib.syntax,tcpip.stack-socket -tags "syntax(camlp4o),annot,bin_annot,strict_sequence,principal" -tag-line "<static*.*>: -syntax(camlp4o)" -cflag -g -lflags -g,-linkpkg main.native
> + ocamlfind ocamldep -package tcpip.stack-socket -package sexplib.syntax -package mirage-types.lwt -package mirage-http -package mirage-console.unix -package core_kernel -package conduit.mirage -package lwt.syntax -syntax camlp4o -modules main.ml > main.ml.depends
> Segmentation fault
> File "main.ml", line 1:
> Error: Error while running external preprocessor
> Command line: camlp4 '-I' '/home/mirage/.opam/4.02.1/lib/ocaml/camlp4' '-I' '/home/mirage/.opam/4.02.1/lib/type_conv' '-I' '/home/mirage/.opam/4.02.1/lib/ocaml' '-I' '/home/mirage/.opam/4.02.1/lib/ocaml' '-I' '/home/mirage/.opam/4.02.1/lib/sexplib' '-I' '/home/mirage/.opam/4.02.1/lib/sexplib' '-I' '/home/mirage/.opam/4.02.1/lib/lwt' '-I' '/home/mirage/.opam/4.02.1/lib/lwt' '-parser' 'o' '-parser' 'op' '-printer' 'p' 'pa_type_conv.cma' 'unix.cma' 'bigarray.cma' 'sexplib.cma' 'pa_sexp_conv.cma' 'lwt-syntax-options.cma' 'lwt-syntax.cma'  'main.ml' > /tmp/ocamlpp3e0d09
> 
> Command exited with code 2.
> Compilation unsuccessful after building 1 target (0 cached) in 00:00:00.
> make[1]: *** [main.native] Error 10
> make[1]: Leaving directory `/home/mirage/mirage-kvsrv/src'
> make: *** [build] Error 2
> ~~~
> 
> What can I do to improve my luck with building on my cubietruck?
> 
> /M
> 
> -- 
> Magnus Therning                      OpenPGP: 0xAB4DFBA4 
> email: magnus@therning.org   jabber: magnus@therning.org
> twitter: magthe               http://therning.org/magnus
> 
> "Sendmail" and "make" are two well known programs that are pretty widely
> regarded as being debugged into existence. That's why their command
> languages are so poorly thought out and difficult to learn.  It's not
> just you -- everyone finds them troublesome.
>     -- Peter van der Linden, Expert C Programming, p. 220
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 09:32:30 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 09:32:30 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv0MY-0004Ge-5h; Wed, 20 May 2015 09:32:30 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1Yv0MW-0004GY-Uq
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 09:32:29 +0000
Received: from [85.158.139.211] by server-4.bemta-5.messagelabs.com id
	2E/36-03195-CA45C555; Wed, 20 May 2015 09:32:28 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-8.tower-206.messagelabs.com!1432114347!11446564!1
X-Originating-IP: [74.125.82.50]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 1335 invoked from network); 20 May 2015 09:32:27 -0000
Received: from mail-wg0-f50.google.com (HELO mail-wg0-f50.google.com)
	(74.125.82.50)
	by server-8.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	20 May 2015 09:32:27 -0000
Received: by wgfl8 with SMTP id l8so46250676wgf.2
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 02:32:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=nMEYCV3Y9BtgjCsk9L4/3my7zwbXwNtuN7J03n0fS8k=;
	b=VzPwg8PENxgd9Ym32t1IcTGks6S3F06CgSEWXHI4YpKeWub4C8PFJ5CNyaMPuP0GpD
	ix/Xtp62Yei6eKjGiLoh2NLvSl3sw1V2rlpkhmFvXH2XzfQMOg9YmqdfnrSkbGtJZTqY
	O6lcIIMmwvG63V2jn664AtlBMLd9z0+uvQcE/rmhLWaFozOniLlfwZc1/j6FVCAyOkKA
	2E+l9pUj0YblajlWOEbSSDaqa2uIzfwrww0CAd9/mBIc9dBFZ8wyz15Z2xuFYB+p8Ra+
	zBJglMafNr0dDcX6KT9oMp2RCjlu4VrYvMB1siB1ijyXcDBG3JqRQFg38oPpyAWAC+4U
	ghIA==
X-Received: by 10.194.87.1 with SMTP id t1mr29916737wjz.24.1432114346750;
	Wed, 20 May 2015 02:32:26 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122])
	by mx.google.com with ESMTPSA id t17sm2484579wij.1.2015.05.20.02.32.25
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Wed, 20 May 2015 02:32:26 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <E6CFDA08-BA38-42D4-890F-8BE2AE3237D8@gazagnaire.org>
Date: Wed, 20 May 2015 10:32:24 +0100
Message-Id: <66D5BC78-B1D1-4A2D-B21A-0672393CC3B1@gazagnaire.org>
References: <20150519224544.GA13972@tatooine>
	<E6CFDA08-BA38-42D4-890F-8BE2AE3237D8@gazagnaire.org>
To: Magnus Therning <magnus@therning.org>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Any way to get caml4p to run on ARM
	(cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

> Try to remove it from LIBS in the generated Makefile and remove the "syntax(camlp4o)" in SYNTAX to see if this helps.
> If yes, I'm happy to get rid of the automatic inclusion lwt.syntax by the mirage tool to avoid that.

This might need a patch on mirage-decks to remove all the syntax extensions. I think that's a good think.



> 
> Thomas
> 
>> 
>> Command exited with code 2.
>> Compilation unsuccessful after building 1 target (0 cached) in 00:00:00.
>> make[1]: *** [main.native] Error 10
>> make[1]: Leaving directory `/home/mirage/mirage-decks/src'
>> make: *** [build] Error 2
>> ~~~
>> 
>> I also have a small project of my own that uses `sexp` a bit, it also fails:
>> 
>> ~~~
>> cd src && make build
>> make[1]: Entering directory `/home/mirage/mirage-kvsrv/src'
>> ocamlbuild -use-ocamlfind -pkgs lwt.syntax,conduit.mirage,core_kernel,mirage-console.unix,mirage-http,mirage-types.lwt,sexplib.syntax,tcpip.stack-socket -tags "syntax(camlp4o),annot,bin_annot,strict_sequence,principal" -tag-line "<static*.*>: -syntax(camlp4o)" -cflag -g -lflags -g,-linkpkg main.native
>> + ocamlfind ocamldep -package tcpip.stack-socket -package sexplib.syntax -package mirage-types.lwt -package mirage-http -package mirage-console.unix -package core_kernel -package conduit.mirage -package lwt.syntax -syntax camlp4o -modules main.ml > main.ml.depends
>> Segmentation fault
>> File "main.ml", line 1:
>> Error: Error while running external preprocessor
>> Command line: camlp4 '-I' '/home/mirage/.opam/4.02.1/lib/ocaml/camlp4' '-I' '/home/mirage/.opam/4.02.1/lib/type_conv' '-I' '/home/mirage/.opam/4.02.1/lib/ocaml' '-I' '/home/mirage/.opam/4.02.1/lib/ocaml' '-I' '/home/mirage/.opam/4.02.1/lib/sexplib' '-I' '/home/mirage/.opam/4.02.1/lib/sexplib' '-I' '/home/mirage/.opam/4.02.1/lib/lwt' '-I' '/home/mirage/.opam/4.02.1/lib/lwt' '-parser' 'o' '-parser' 'op' '-printer' 'p' 'pa_type_conv.cma' 'unix.cma' 'bigarray.cma' 'sexplib.cma' 'pa_sexp_conv.cma' 'lwt-syntax-options.cma' 'lwt-syntax.cma'  'main.ml' > /tmp/ocamlpp3e0d09
>> 
>> Command exited with code 2.
>> Compilation unsuccessful after building 1 target (0 cached) in 00:00:00.
>> make[1]: *** [main.native] Error 10
>> make[1]: Leaving directory `/home/mirage/mirage-kvsrv/src'
>> make: *** [build] Error 2
>> ~~~
>> 
>> What can I do to improve my luck with building on my cubietruck?
>> 
>> /M
>> 
>> -- 
>> Magnus Therning                      OpenPGP: 0xAB4DFBA4 
>> email: magnus@therning.org   jabber: magnus@therning.org
>> twitter: magthe               http://therning.org/magnus
>> 
>> "Sendmail" and "make" are two well known programs that are pretty widely
>> regarded as being debugged into existence. That's why their command
>> languages are so poorly thought out and difficult to learn.  It's not
>> just you -- everyone finds them troublesome.
>>    -- Peter van der Linden, Expert C Programming, p. 220
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> 


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 09:32:30 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 09:32:30 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv0MY-0004Ge-5h; Wed, 20 May 2015 09:32:30 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1Yv0MW-0004GY-Uq
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 09:32:29 +0000
Received: from [85.158.139.211] by server-4.bemta-5.messagelabs.com id
	2E/36-03195-CA45C555; Wed, 20 May 2015 09:32:28 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-8.tower-206.messagelabs.com!1432114347!11446564!1
X-Originating-IP: [74.125.82.50]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 1335 invoked from network); 20 May 2015 09:32:27 -0000
Received: from mail-wg0-f50.google.com (HELO mail-wg0-f50.google.com)
	(74.125.82.50)
	by server-8.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	20 May 2015 09:32:27 -0000
Received: by wgfl8 with SMTP id l8so46250676wgf.2
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 02:32:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=nMEYCV3Y9BtgjCsk9L4/3my7zwbXwNtuN7J03n0fS8k=;
	b=VzPwg8PENxgd9Ym32t1IcTGks6S3F06CgSEWXHI4YpKeWub4C8PFJ5CNyaMPuP0GpD
	ix/Xtp62Yei6eKjGiLoh2NLvSl3sw1V2rlpkhmFvXH2XzfQMOg9YmqdfnrSkbGtJZTqY
	O6lcIIMmwvG63V2jn664AtlBMLd9z0+uvQcE/rmhLWaFozOniLlfwZc1/j6FVCAyOkKA
	2E+l9pUj0YblajlWOEbSSDaqa2uIzfwrww0CAd9/mBIc9dBFZ8wyz15Z2xuFYB+p8Ra+
	zBJglMafNr0dDcX6KT9oMp2RCjlu4VrYvMB1siB1ijyXcDBG3JqRQFg38oPpyAWAC+4U
	ghIA==
X-Received: by 10.194.87.1 with SMTP id t1mr29916737wjz.24.1432114346750;
	Wed, 20 May 2015 02:32:26 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122])
	by mx.google.com with ESMTPSA id t17sm2484579wij.1.2015.05.20.02.32.25
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Wed, 20 May 2015 02:32:26 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <E6CFDA08-BA38-42D4-890F-8BE2AE3237D8@gazagnaire.org>
Date: Wed, 20 May 2015 10:32:24 +0100
Message-Id: <66D5BC78-B1D1-4A2D-B21A-0672393CC3B1@gazagnaire.org>
References: <20150519224544.GA13972@tatooine>
	<E6CFDA08-BA38-42D4-890F-8BE2AE3237D8@gazagnaire.org>
To: Magnus Therning <magnus@therning.org>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Any way to get caml4p to run on ARM
	(cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

> Try to remove it from LIBS in the generated Makefile and remove the "syntax(camlp4o)" in SYNTAX to see if this helps.
> If yes, I'm happy to get rid of the automatic inclusion lwt.syntax by the mirage tool to avoid that.

This might need a patch on mirage-decks to remove all the syntax extensions. I think that's a good think.



> 
> Thomas
> 
>> 
>> Command exited with code 2.
>> Compilation unsuccessful after building 1 target (0 cached) in 00:00:00.
>> make[1]: *** [main.native] Error 10
>> make[1]: Leaving directory `/home/mirage/mirage-decks/src'
>> make: *** [build] Error 2
>> ~~~
>> 
>> I also have a small project of my own that uses `sexp` a bit, it also fails:
>> 
>> ~~~
>> cd src && make build
>> make[1]: Entering directory `/home/mirage/mirage-kvsrv/src'
>> ocamlbuild -use-ocamlfind -pkgs lwt.syntax,conduit.mirage,core_kernel,mirage-console.unix,mirage-http,mirage-types.lwt,sexplib.syntax,tcpip.stack-socket -tags "syntax(camlp4o),annot,bin_annot,strict_sequence,principal" -tag-line "<static*.*>: -syntax(camlp4o)" -cflag -g -lflags -g,-linkpkg main.native
>> + ocamlfind ocamldep -package tcpip.stack-socket -package sexplib.syntax -package mirage-types.lwt -package mirage-http -package mirage-console.unix -package core_kernel -package conduit.mirage -package lwt.syntax -syntax camlp4o -modules main.ml > main.ml.depends
>> Segmentation fault
>> File "main.ml", line 1:
>> Error: Error while running external preprocessor
>> Command line: camlp4 '-I' '/home/mirage/.opam/4.02.1/lib/ocaml/camlp4' '-I' '/home/mirage/.opam/4.02.1/lib/type_conv' '-I' '/home/mirage/.opam/4.02.1/lib/ocaml' '-I' '/home/mirage/.opam/4.02.1/lib/ocaml' '-I' '/home/mirage/.opam/4.02.1/lib/sexplib' '-I' '/home/mirage/.opam/4.02.1/lib/sexplib' '-I' '/home/mirage/.opam/4.02.1/lib/lwt' '-I' '/home/mirage/.opam/4.02.1/lib/lwt' '-parser' 'o' '-parser' 'op' '-printer' 'p' 'pa_type_conv.cma' 'unix.cma' 'bigarray.cma' 'sexplib.cma' 'pa_sexp_conv.cma' 'lwt-syntax-options.cma' 'lwt-syntax.cma'  'main.ml' > /tmp/ocamlpp3e0d09
>> 
>> Command exited with code 2.
>> Compilation unsuccessful after building 1 target (0 cached) in 00:00:00.
>> make[1]: *** [main.native] Error 10
>> make[1]: Leaving directory `/home/mirage/mirage-kvsrv/src'
>> make: *** [build] Error 2
>> ~~~
>> 
>> What can I do to improve my luck with building on my cubietruck?
>> 
>> /M
>> 
>> -- 
>> Magnus Therning                      OpenPGP: 0xAB4DFBA4 
>> email: magnus@therning.org   jabber: magnus@therning.org
>> twitter: magthe               http://therning.org/magnus
>> 
>> "Sendmail" and "make" are two well known programs that are pretty widely
>> regarded as being debugged into existence. That's why their command
>> languages are so poorly thought out and difficult to learn.  It's not
>> just you -- everyone finds them troublesome.
>>    -- Peter van der Linden, Expert C Programming, p. 220
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> 


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 09:39:46 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 09:39:46 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv0TY-00058S-72; Wed, 20 May 2015 09:39:44 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1Yv0TW-00058L-M8
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 09:39:42 +0000
Received: from [85.158.137.68] by server-4.bemta-3.messagelabs.com id
	50/FE-03201-E565C555; Wed, 20 May 2015 09:39:42 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-7.tower-31.messagelabs.com!1432114780!10842523!1
X-Originating-IP: [74.125.82.42]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 1132 invoked from network); 20 May 2015 09:39:40 -0000
Received: from mail-wg0-f42.google.com (HELO mail-wg0-f42.google.com)
	(74.125.82.42)
	by server-7.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	20 May 2015 09:39:40 -0000
Received: by wgbgq6 with SMTP id gq6so46460524wgb.3
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 02:39:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=GMYV46EiOwo5nHU/kdw45tw3TTY6tNCXXGK1sxSq6XQ=;
	b=uoYvnPMbmwzR9IXxFqWIQcBBnthHFZM7MaHbocyS/IxHJ2LqHCfvnNBCTQcPZ1LvSQ
	TdU/mAc/0Vb8uJfm9D374hNQsUAtPc1kguUk+PJ9QI4+aTxoyvUcVc7kxmNiegbvHaWH
	7gcHKN2L28Cw85hBSJObMcGdV/+udkS5Uh6g/G6EnPRiKDCIIqSLWkUj9XuU6c1AhMMQ
	38HgwloUaLIfgvAcLKIh+9YMuoNR/Ye0XcoEGc/fh+ZWZ+xGyJYrej8RtK8kD90/t+Ul
	H1n4YF2faBgo/yLXGpiUD/4piNi3kTINqYICl1FHQjVT6ZpPZuuFVp+zPy1A0tpQcf5/
	peaw==
X-Received: by 10.180.97.7 with SMTP id dw7mr40285962wib.74.1432114780600;
	Wed, 20 May 2015 02:39:40 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122]) by mx.google.com with ESMTPSA id
	q10sm14782674wjo.38.2015.05.20.02.39.39
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Wed, 20 May 2015 02:39:39 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <66D5BC78-B1D1-4A2D-B21A-0672393CC3B1@gazagnaire.org>
Date: Wed, 20 May 2015 10:39:38 +0100
Message-Id: <CBF7FC0E-A1EF-4CE2-8F35-AFEE9C42F2F6@gazagnaire.org>
References: <20150519224544.GA13972@tatooine>
	<E6CFDA08-BA38-42D4-890F-8BE2AE3237D8@gazagnaire.org>
	<66D5BC78-B1D1-4A2D-B21A-0672393CC3B1@gazagnaire.org>
To: Magnus Therning <magnus@therning.org>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Any way to get caml4p to run on ARM
	(cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

>> Try to remove it from LIBS in the generated Makefile and remove the "syntax(camlp4o)" in SYNTAX to see if this helps.
>> If yes, I'm happy to get rid of the automatic inclusion lwt.syntax by the mirage tool to avoid that.
> 
> This might need a patch on mirage-decks to remove all the syntax extensions. I think that's a good think.

Sorry to spam the list again. This obviously won't be as easy as it could be in mirage-decks as we are using the cow syntax extension in various places. So to fix you bug, you might want to edit the SYNTAX flag in the Makefile to add "<main.*>: -syntax(camlp4o)" (similar to "static*.*" one). This will tell ocamlbuild to not use camlp4 on that file.

Hopes this help,
Thomas



> 
> 
> 
>> 
>> Thomas
>> 
>>> 
>>> Command exited with code 2.
>>> Compilation unsuccessful after building 1 target (0 cached) in 00:00:00.
>>> make[1]: *** [main.native] Error 10
>>> make[1]: Leaving directory `/home/mirage/mirage-decks/src'
>>> make: *** [build] Error 2
>>> ~~~
>>> 
>>> I also have a small project of my own that uses `sexp` a bit, it also fails:
>>> 
>>> ~~~
>>> cd src && make build
>>> make[1]: Entering directory `/home/mirage/mirage-kvsrv/src'
>>> ocamlbuild -use-ocamlfind -pkgs lwt.syntax,conduit.mirage,core_kernel,mirage-console.unix,mirage-http,mirage-types.lwt,sexplib.syntax,tcpip.stack-socket -tags "syntax(camlp4o),annot,bin_annot,strict_sequence,principal" -tag-line "<static*.*>: -syntax(camlp4o)" -cflag -g -lflags -g,-linkpkg main.native
>>> + ocamlfind ocamldep -package tcpip.stack-socket -package sexplib.syntax -package mirage-types.lwt -package mirage-http -package mirage-console.unix -package core_kernel -package conduit.mirage -package lwt.syntax -syntax camlp4o -modules main.ml > main.ml.depends
>>> Segmentation fault
>>> File "main.ml", line 1:
>>> Error: Error while running external preprocessor
>>> Command line: camlp4 '-I' '/home/mirage/.opam/4.02.1/lib/ocaml/camlp4' '-I' '/home/mirage/.opam/4.02.1/lib/type_conv' '-I' '/home/mirage/.opam/4.02.1/lib/ocaml' '-I' '/home/mirage/.opam/4.02.1/lib/ocaml' '-I' '/home/mirage/.opam/4.02.1/lib/sexplib' '-I' '/home/mirage/.opam/4.02.1/lib/sexplib' '-I' '/home/mirage/.opam/4.02.1/lib/lwt' '-I' '/home/mirage/.opam/4.02.1/lib/lwt' '-parser' 'o' '-parser' 'op' '-printer' 'p' 'pa_type_conv.cma' 'unix.cma' 'bigarray.cma' 'sexplib.cma' 'pa_sexp_conv.cma' 'lwt-syntax-options.cma' 'lwt-syntax.cma'  'main.ml' > /tmp/ocamlpp3e0d09
>>> 
>>> Command exited with code 2.
>>> Compilation unsuccessful after building 1 target (0 cached) in 00:00:00.
>>> make[1]: *** [main.native] Error 10
>>> make[1]: Leaving directory `/home/mirage/mirage-kvsrv/src'
>>> make: *** [build] Error 2
>>> ~~~
>>> 
>>> What can I do to improve my luck with building on my cubietruck?
>>> 
>>> /M
>>> 
>>> -- 
>>> Magnus Therning                      OpenPGP: 0xAB4DFBA4 
>>> email: magnus@therning.org   jabber: magnus@therning.org
>>> twitter: magthe               http://therning.org/magnus
>>> 
>>> "Sendmail" and "make" are two well known programs that are pretty widely
>>> regarded as being debugged into existence. That's why their command
>>> languages are so poorly thought out and difficult to learn.  It's not
>>> just you -- everyone finds them troublesome.
>>>   -- Peter van der Linden, Expert C Programming, p. 220
>>> _______________________________________________
>>> MirageOS-devel mailing list
>>> MirageOS-devel@lists.xenproject.org
>>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>> 
> 


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 09:39:46 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 09:39:46 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv0TY-00058S-72; Wed, 20 May 2015 09:39:44 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1Yv0TW-00058L-M8
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 09:39:42 +0000
Received: from [85.158.137.68] by server-4.bemta-3.messagelabs.com id
	50/FE-03201-E565C555; Wed, 20 May 2015 09:39:42 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-7.tower-31.messagelabs.com!1432114780!10842523!1
X-Originating-IP: [74.125.82.42]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 1132 invoked from network); 20 May 2015 09:39:40 -0000
Received: from mail-wg0-f42.google.com (HELO mail-wg0-f42.google.com)
	(74.125.82.42)
	by server-7.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	20 May 2015 09:39:40 -0000
Received: by wgbgq6 with SMTP id gq6so46460524wgb.3
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 02:39:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=GMYV46EiOwo5nHU/kdw45tw3TTY6tNCXXGK1sxSq6XQ=;
	b=uoYvnPMbmwzR9IXxFqWIQcBBnthHFZM7MaHbocyS/IxHJ2LqHCfvnNBCTQcPZ1LvSQ
	TdU/mAc/0Vb8uJfm9D374hNQsUAtPc1kguUk+PJ9QI4+aTxoyvUcVc7kxmNiegbvHaWH
	7gcHKN2L28Cw85hBSJObMcGdV/+udkS5Uh6g/G6EnPRiKDCIIqSLWkUj9XuU6c1AhMMQ
	38HgwloUaLIfgvAcLKIh+9YMuoNR/Ye0XcoEGc/fh+ZWZ+xGyJYrej8RtK8kD90/t+Ul
	H1n4YF2faBgo/yLXGpiUD/4piNi3kTINqYICl1FHQjVT6ZpPZuuFVp+zPy1A0tpQcf5/
	peaw==
X-Received: by 10.180.97.7 with SMTP id dw7mr40285962wib.74.1432114780600;
	Wed, 20 May 2015 02:39:40 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122]) by mx.google.com with ESMTPSA id
	q10sm14782674wjo.38.2015.05.20.02.39.39
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Wed, 20 May 2015 02:39:39 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <66D5BC78-B1D1-4A2D-B21A-0672393CC3B1@gazagnaire.org>
Date: Wed, 20 May 2015 10:39:38 +0100
Message-Id: <CBF7FC0E-A1EF-4CE2-8F35-AFEE9C42F2F6@gazagnaire.org>
References: <20150519224544.GA13972@tatooine>
	<E6CFDA08-BA38-42D4-890F-8BE2AE3237D8@gazagnaire.org>
	<66D5BC78-B1D1-4A2D-B21A-0672393CC3B1@gazagnaire.org>
To: Magnus Therning <magnus@therning.org>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Any way to get caml4p to run on ARM
	(cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

>> Try to remove it from LIBS in the generated Makefile and remove the "syntax(camlp4o)" in SYNTAX to see if this helps.
>> If yes, I'm happy to get rid of the automatic inclusion lwt.syntax by the mirage tool to avoid that.
> 
> This might need a patch on mirage-decks to remove all the syntax extensions. I think that's a good think.

Sorry to spam the list again. This obviously won't be as easy as it could be in mirage-decks as we are using the cow syntax extension in various places. So to fix you bug, you might want to edit the SYNTAX flag in the Makefile to add "<main.*>: -syntax(camlp4o)" (similar to "static*.*" one). This will tell ocamlbuild to not use camlp4 on that file.

Hopes this help,
Thomas



> 
> 
> 
>> 
>> Thomas
>> 
>>> 
>>> Command exited with code 2.
>>> Compilation unsuccessful after building 1 target (0 cached) in 00:00:00.
>>> make[1]: *** [main.native] Error 10
>>> make[1]: Leaving directory `/home/mirage/mirage-decks/src'
>>> make: *** [build] Error 2
>>> ~~~
>>> 
>>> I also have a small project of my own that uses `sexp` a bit, it also fails:
>>> 
>>> ~~~
>>> cd src && make build
>>> make[1]: Entering directory `/home/mirage/mirage-kvsrv/src'
>>> ocamlbuild -use-ocamlfind -pkgs lwt.syntax,conduit.mirage,core_kernel,mirage-console.unix,mirage-http,mirage-types.lwt,sexplib.syntax,tcpip.stack-socket -tags "syntax(camlp4o),annot,bin_annot,strict_sequence,principal" -tag-line "<static*.*>: -syntax(camlp4o)" -cflag -g -lflags -g,-linkpkg main.native
>>> + ocamlfind ocamldep -package tcpip.stack-socket -package sexplib.syntax -package mirage-types.lwt -package mirage-http -package mirage-console.unix -package core_kernel -package conduit.mirage -package lwt.syntax -syntax camlp4o -modules main.ml > main.ml.depends
>>> Segmentation fault
>>> File "main.ml", line 1:
>>> Error: Error while running external preprocessor
>>> Command line: camlp4 '-I' '/home/mirage/.opam/4.02.1/lib/ocaml/camlp4' '-I' '/home/mirage/.opam/4.02.1/lib/type_conv' '-I' '/home/mirage/.opam/4.02.1/lib/ocaml' '-I' '/home/mirage/.opam/4.02.1/lib/ocaml' '-I' '/home/mirage/.opam/4.02.1/lib/sexplib' '-I' '/home/mirage/.opam/4.02.1/lib/sexplib' '-I' '/home/mirage/.opam/4.02.1/lib/lwt' '-I' '/home/mirage/.opam/4.02.1/lib/lwt' '-parser' 'o' '-parser' 'op' '-printer' 'p' 'pa_type_conv.cma' 'unix.cma' 'bigarray.cma' 'sexplib.cma' 'pa_sexp_conv.cma' 'lwt-syntax-options.cma' 'lwt-syntax.cma'  'main.ml' > /tmp/ocamlpp3e0d09
>>> 
>>> Command exited with code 2.
>>> Compilation unsuccessful after building 1 target (0 cached) in 00:00:00.
>>> make[1]: *** [main.native] Error 10
>>> make[1]: Leaving directory `/home/mirage/mirage-kvsrv/src'
>>> make: *** [build] Error 2
>>> ~~~
>>> 
>>> What can I do to improve my luck with building on my cubietruck?
>>> 
>>> /M
>>> 
>>> -- 
>>> Magnus Therning                      OpenPGP: 0xAB4DFBA4 
>>> email: magnus@therning.org   jabber: magnus@therning.org
>>> twitter: magthe               http://therning.org/magnus
>>> 
>>> "Sendmail" and "make" are two well known programs that are pretty widely
>>> regarded as being debugged into existence. That's why their command
>>> languages are so poorly thought out and difficult to learn.  It's not
>>> just you -- everyone finds them troublesome.
>>>   -- Peter van der Linden, Expert C Programming, p. 220
>>> _______________________________________________
>>> MirageOS-devel mailing list
>>> MirageOS-devel@lists.xenproject.org
>>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>> 
> 


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 09:48:51 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 09:48:51 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv0cM-0005ra-Eu; Wed, 20 May 2015 09:48:50 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <gildor478@gmail.com>) id 1Yv0Jq-0004A9-Uv
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 09:29:43 +0000
Received: from [193.109.254.147] by server-6.bemta-14.messagelabs.com id
	EB/DF-03201-6045C555; Wed, 20 May 2015 09:29:42 +0000
X-Env-Sender: gildor478@gmail.com
X-Msg-Ref: server-5.tower-27.messagelabs.com!1432114179!14503433!1
X-Originating-IP: [74.125.82.41]
X-SpamReason: No, hits=0.9 required=7.0 tests=HTML_20_30,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 10632 invoked from network); 20 May 2015 09:29:39 -0000
Received: from mail-wg0-f41.google.com (HELO mail-wg0-f41.google.com)
	(74.125.82.41)
	by server-5.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	20 May 2015 09:29:39 -0000
Received: by wghq2 with SMTP id q2so46207854wgh.1
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 02:29:39 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:references:in-reply-to:from:date:message-id:subject:to
	:content-type;
	bh=8SMd04pK4em5j1QDS7PQjbwV21mhsppirjL30bCtadI=;
	b=TAXjAYViHDSn36WocOo7YpWUvuhbr3pVR2L7VfM1oGTbfqzow34m7Q6UhkgUOHRd3r
	R14+RaVT4vyakoUXog9CvnAeIaM74QNUnyDRpI78MTfHoYeMfnykODH4qPUTZo7YGr8j
	tjPtZin234pwvagdNpsLfwob4VSguycVHCSHKGZldt+vcLR318B/nc1TSgWez9REuIJf
	0nURoU9pcKyOvxgqSRQcICMofMqAQ61eos9oUhOerT5g7KW/9g318IKyTkc56CEMKFVR
	Qulr+8OqYdngEYAWaqbG62DRKicK9e8tsAB901QO0Yn1USnTcVipdgSW8PYlXABlfNCt
	Aayw==
X-Received: by 10.180.210.162 with SMTP id mv2mr40043605wic.59.1432114179529; 
	Wed, 20 May 2015 02:29:39 -0700 (PDT)
MIME-Version: 1.0
References: <20150519085016.GB10420@nodbug.lucina.net>
In-Reply-To: <20150519085016.GB10420@nodbug.lucina.net>
From: Sylvain Le Gall <sylvain+ocaml@le-gall.net>
Date: Wed, 20 May 2015 09:29:38 +0000
Message-ID: <CAOCAUGNFOuyVJf8HUdqwhCHYZOAr1vhQ1Po3FR4HPosX4PS3iQ@mail.gmail.com>
To: mirageos-devel@lists.xenproject.org, opam-devel@lists.ocaml.org, 
	Anil Madhavapeddy <avsm@recoil.org>
X-Mailman-Approved-At: Wed, 20 May 2015 09:48:48 +0000
Subject: Re: [MirageOS-devel] [opam-devel] Cross-compiling OCaml,
	Mirage OS for rumprun, OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1556672444315881333=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============1556672444315881333==
Content-Type: multipart/alternative; boundary=001a11c37daef2e28d05168010f8

--001a11c37daef2e28d05168010f8
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Le mar. 19 mai 2015 =C3=A0 10:50, Martin Lucina <martin@lucina.net> a =C3=
=A9crit :

> [Re-sending with correct opam-devel address]
>
> Hi all,
>
> I'm working on getting OCaml and Mirage OS running on top of the rumprun
> unikernel stack[1].
>
> Rumprun provides a unikernel stack with a POSIXy (NetBSD-HEAD) userspace
> and can run on Xen, QEMU/KVM, bare metal and POSIX userspace.  The
> resulting Mirage + rumprun unikernel will thus be able to run on all of t=
he
> platforms rumprun supports.
>
> The first step to get this working is building an OCaml cross compiler th=
at
> uses the rumprun cross compiler as its backend for building C code and
> linking.
>
> I've researched the various cross-compilation options for OCaml and for n=
ow
> have based my code off the approach used by Peter Zotov in his
> `opam-android' repository[2].
>
> My work in progress OPAM repository is here:
>
> https://github.com/mato/opam-rumprun
>
> This is enough to get an OCaml "Hello, World" running on rumprun, and I'v=
e
> also tested that the Unix package works as expected. So far so good.
>
> However, in order to get Mirage to compile, I need to cross-compile Lwt a=
nd
> that does not work as expected:
>
>     $ OCAMLFIND_TOOLCHAIN=3Drumprun ocaml setup.ml -configure --prefix
> /home/mato/.opam/system/x86_64-rumprun-netbsd/ --disable-libev
>
> Results in:
>
>     not checking for pkg-config
>     not checking for libev
>     testing for pthread: ........................... unavailable
>     not checking for glib
>
>     The following recquired C libraries are missing: pthread.
>
> The reason this happens is that discover.ml is invoking the following
> compile command:
>
> /home/mato/projects/rumpkernel/rumprun/app-tools/rumprun-xen-cc
> -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=3D64 -D_REENTRANT -c -I/usr/incl=
ude
> -o /tmp/lwt_stubf12ac7.o
> -I/home/mato/.opam/system/x86_64-rumprun-netbsd/lib/ocaml
> /tmp/lwt_stubf12ac7.c
>
> Note the inclusion of -I/usr/include -- this is presumably there so that
> the system OCaml compiler's headers are available, however it results in =
a
> conflict between the NetBSD headers provided by rumprun and the system
> headers.
>
> What can be done to fix the above? Should I be using a host compiler buil=
t
> and installed by OPAM rather than the system compiler (4.02.1-1ppa3~preci=
se
> on Debian wheezy). [I'll try this and see if it helps...]
>
> I tried to hack around the problem by using --enable-android-target, that
> causes discover.ml to succeed and the build then proceeds, failing on a
> different problem:
>
> E: Failure("Expected built file '_build/src/unix/dlllwt-unix_stubs.so'
> doesn't exist.")
>
> This is expected; the rumprun toolchain does not support dynamic linking
> and I have configured the ocaml-rumprun compiler with -no-shared-libs. Is
> there some way to tell OASIS to not expect any shared libraries to be
> built?
>

I suppose it will require to patch src/oasis/OASISLibrary l201 to have
ext_lib be an option rather than a string. OASIS can be forked and PR sent
on github, feel free to send a PR about that.


>
> General questions:
>
> 1) Is this the right strategy for building an OCaml cross-compiler and
> integrating with OPAM?
>
> AFAICS there are multiple approaches being used in the wild and OCaml
> upstream *claims* to include support for cross-compiling via -host and
> -target, however that support is not actually functional?
>
> For the rumprun support to be as user-friendly as possible, we need an ea=
sy
> way of switching the backend rumprun cross-compiler and linker used by
> ocaml when the user wants to switch platforms or architectures. The
> approach used by the android repository I based my work off implies eithe=
r:
>
> a) the user would have to *reinstall* the cross compiler (specifying eg.
> RUMPRUN_CC in the environment) and all packages using native code wheneve=
r
> they want to switch the backend compiler.
>
> b) we would have to provide different opam packages of the compiler and
> native libraries (Lwt) for each platform/arch combination supported by
> rumprun. This is unmanageable.
>
> 2) Is there an easy way to switch ocamlc and the various other parts of t=
he
> build system(s) involved into a verbose mode so that I can see what
> compilers are being invoked and why they fail? At the moment I'm using
> `strace' for this :-/
>
> All ideas and help much appreciated,
>
> Cheers,
>
> Martin
>
> [1] http://wiki.rumpkernel.org/Repo%3A-rumprun
> [2] https://github.com/whitequark/opam-android
> _______________________________________________
> opam-devel mailing list
> opam-devel@lists.ocaml.org
> http://lists.ocaml.org/listinfo/opam-devel
>

--001a11c37daef2e28d05168010f8
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br><div class=3D"gmail_quote">Le=C2=A0mar. 19 mai 201=
5 =C3=A0=C2=A010:50, Martin Lucina &lt;<a href=3D"mailto:martin@lucina.net"=
>martin@lucina.net</a>&gt; a =C3=A9crit=C2=A0:<br><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex">[Re-sending with correct opam-devel address]<br>
<br>
Hi all,<br>
<br>
I&#39;m working on getting OCaml and Mirage OS running on top of the rumpru=
n<br>
unikernel stack[1].<br>
<br>
Rumprun provides a unikernel stack with a POSIXy (NetBSD-HEAD) userspace<br=
>
and can run on Xen, QEMU/KVM, bare metal and POSIX userspace.=C2=A0 The<br>
resulting Mirage + rumprun unikernel will thus be able to run on all of the=
<br>
platforms rumprun supports.<br>
<br>
The first step to get this working is building an OCaml cross compiler that=
<br>
uses the rumprun cross compiler as its backend for building C code and<br>
linking.<br>
<br>
I&#39;ve researched the various cross-compilation options for OCaml and for=
 now<br>
have based my code off the approach used by Peter Zotov in his<br>
`opam-android&#39; repository[2].<br>
<br>
My work in progress OPAM repository is here:<br>
<br>
<a href=3D"https://github.com/mato/opam-rumprun" target=3D"_blank">https://=
github.com/mato/opam-rumprun</a><br>
<br>
This is enough to get an OCaml &quot;Hello, World&quot; running on rumprun,=
 and I&#39;ve<br>
also tested that the Unix package works as expected. So far so good.<br>
<br>
However, in order to get Mirage to compile, I need to cross-compile Lwt and=
<br>
that does not work as expected:<br>
<br>
=C2=A0 =C2=A0 $ OCAMLFIND_TOOLCHAIN=3Drumprun ocaml <a href=3D"http://setup=
.ml" target=3D"_blank">setup.ml</a> -configure --prefix /home/mato/.opam/sy=
stem/x86_64-rumprun-netbsd/ --disable-libev<br>
<br>
Results in:<br>
<br>
=C2=A0 =C2=A0 not checking for pkg-config<br>
=C2=A0 =C2=A0 not checking for libev<br>
=C2=A0 =C2=A0 testing for pthread: ........................... unavailable<=
br>
=C2=A0 =C2=A0 not checking for glib<br>
<br>
=C2=A0 =C2=A0 The following recquired C libraries are missing: pthread.<br>
<br>
The reason this happens is that <a href=3D"http://discover.ml" target=3D"_b=
lank">discover.ml</a> is invoking the following<br>
compile command:<br>
<br>
/home/mato/projects/rumpkernel/rumprun/app-tools/rumprun-xen-cc -fno-defer-=
pop -Wall -D_FILE_OFFSET_BITS=3D64 -D_REENTRANT -c -I/usr/include -o /tmp/l=
wt_stubf12ac7.o -I/home/mato/.opam/system/x86_64-rumprun-netbsd/lib/ocaml /=
tmp/lwt_stubf12ac7.c<br>
<br>
Note the inclusion of -I/usr/include -- this is presumably there so that<br=
>
the system OCaml compiler&#39;s headers are available, however it results i=
n a<br>
conflict between the NetBSD headers provided by rumprun and the system<br>
headers.<br>
<br>
What can be done to fix the above? Should I be using a host compiler built<=
br>
and installed by OPAM rather than the system compiler (4.02.1-1ppa3~precise=
<br>
on Debian wheezy). [I&#39;ll try this and see if it helps...]<br>
<br>
I tried to hack around the problem by using --enable-android-target, that<b=
r>
causes <a href=3D"http://discover.ml" target=3D"_blank">discover.ml</a> to =
succeed and the build then proceeds, failing on a<br>
different problem:<br>
<br>
E: Failure(&quot;Expected built file &#39;_build/src/unix/dlllwt-unix_stubs=
.so&#39; doesn&#39;t exist.&quot;)<br>
<br>
This is expected; the rumprun toolchain does not support dynamic linking<br=
>
and I have configured the ocaml-rumprun compiler with -no-shared-libs. Is<b=
r>
there some way to tell OASIS to not expect any shared libraries to be<br>
built?<br></blockquote><div><br></div><div>I suppose it will require to pat=
ch src/oasis/OASISLibrary l201 to have ext_lib be an option rather than a s=
tring. OASIS can be forked and PR sent on github, feel free to send a PR ab=
out that.</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
General questions:<br>
<br>
1) Is this the right strategy for building an OCaml cross-compiler and<br>
integrating with OPAM?<br>
<br>
AFAICS there are multiple approaches being used in the wild and OCaml<br>
upstream *claims* to include support for cross-compiling via -host and<br>
-target, however that support is not actually functional?<br>
<br>
For the rumprun support to be as user-friendly as possible, we need an easy=
<br>
way of switching the backend rumprun cross-compiler and linker used by<br>
ocaml when the user wants to switch platforms or architectures. The<br>
approach used by the android repository I based my work off implies either:=
<br>
<br>
a) the user would have to *reinstall* the cross compiler (specifying eg.<br=
>
RUMPRUN_CC in the environment) and all packages using native code whenever<=
br>
they want to switch the backend compiler.<br>
<br>
b) we would have to provide different opam packages of the compiler and<br>
native libraries (Lwt) for each platform/arch combination supported by<br>
rumprun. This is unmanageable.<br>
<br>
2) Is there an easy way to switch ocamlc and the various other parts of the=
<br>
build system(s) involved into a verbose mode so that I can see what<br>
compilers are being invoked and why they fail? At the moment I&#39;m using<=
br>
`strace&#39; for this :-/<br>
<br>
All ideas and help much appreciated,<br>
<br>
Cheers,<br>
<br>
Martin<br>
<br>
[1] <a href=3D"http://wiki.rumpkernel.org/Repo%3A-rumprun" target=3D"_blank=
">http://wiki.rumpkernel.org/Repo%3A-rumprun</a><br>
[2] <a href=3D"https://github.com/whitequark/opam-android" target=3D"_blank=
">https://github.com/whitequark/opam-android</a><br>
_______________________________________________<br>
opam-devel mailing list<br>
<a href=3D"mailto:opam-devel@lists.ocaml.org" target=3D"_blank">opam-devel@=
lists.ocaml.org</a><br>
<a href=3D"http://lists.ocaml.org/listinfo/opam-devel" target=3D"_blank">ht=
tp://lists.ocaml.org/listinfo/opam-devel</a><br>
</blockquote></div></div>

--001a11c37daef2e28d05168010f8--


--===============1556672444315881333==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============1556672444315881333==--


From mirageos-devel-bounces@lists.xenproject.org Wed May 20 09:48:51 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 09:48:51 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv0cM-0005rV-CI; Wed, 20 May 2015 09:48:50 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <adrien@notk.org>) id 1YumEg-0006Bl-A4
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 18:27:26 +0000
Received: from [193.109.254.147] by server-4.bemta-14.messagelabs.com id
	79/46-03245-D808B555; Tue, 19 May 2015 18:27:25 +0000
X-Env-Sender: adrien@notk.org
X-Msg-Ref: server-10.tower-27.messagelabs.com!1432060044!18963030!1
X-Originating-IP: [91.121.71.147]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 15949 invoked from network); 19 May 2015 18:27:24 -0000
Received: from nautica.notk.org (HELO nautica.notk.org) (91.121.71.147)
	by server-10.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 19 May 2015 18:27:24 -0000
Received: by nautica.notk.org (Postfix, from userid 1003)
	id 6511CC01D; Tue, 19 May 2015 20:27:23 +0200 (CEST)
Date: Tue, 19 May 2015 20:27:23 +0200
From: Adrien Nader <adrien@notk.org>
To: Gabriel Scherer <gabriel.scherer@gmail.com>
Message-ID: <20150519182723.GA11500@notk.org>
References: <20150519085016.GB10420@nodbug.lucina.net>
	<0671D956-7339-455E-8D07-FCB1BFC47924@gazagnaire.org>
	<20150519141251.GF10420@nodbug.lucina.net>
	<20150519144425.GH10420@nodbug.lucina.net>
	<58032E21FC304B29AF7973A5BF3ACDD7@erratique.ch>
	<20150519145324.GI10420@nodbug.lucina.net>
	<CAPFanBFyUwtG-Lr4iTatihvrzQEPSbizgGtws8xzca4O2_tvPg@mail.gmail.com>
MIME-Version: 1.0
Content-Length: 6031
Content-Disposition: inline
In-Reply-To: <CAPFanBFyUwtG-Lr4iTatihvrzQEPSbizgGtws8xzca4O2_tvPg@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Mailman-Approved-At: Wed, 20 May 2015 09:48:48 +0000
Cc: Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <mirageos-devel@lists.xenproject.org>,
	Peter Zotov <whitequark@whitequark.org>,
	opam-devel <opam-devel@lists.ocaml.org>,
	Anil Madhavapeddy <avsm@recoil.org>
Subject: Re: [MirageOS-devel] [opam-devel]  Cross-compiling OCaml,
 Mirage OS for rumprun, OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGksCgpUaGFua3MgZm9yIENjJ2luZyBtZS4KCkknbSBzb3JyeSwgdGhlIG1haWwgZ290IGEgYml0
IGxvbmcgYW5kIEknbSBhIHF1aXRlIHRpcmVkIHNvIGlmIGFueXRoaW5nCmlzbid0IGNsZWFyLCBk
b24ndCBoZXNpdGF0ZSB0byBnaXZlIHVwIHJlYWRpbmcgdGhlIHNlbnRlbmNlIG9yIHBhcmFncmFw
aAphbmQgYXNrIGZvciBhIGNsYXJpZmljYXRpb24uCgoKVGhlIHdvcmsgbmVlZGVkIHRvIHByb3Bl
cmx5IHN1cHBvcnQgY3Jvc3MtY29tcGlsYXRpb24sIGluY2x1ZGluZyBmb3IKV2luZG93cywgaXMg
YmlnZ2VyIHRoYW4gd2hhdCB3ZSBoYWQgdGhvdWdodCBhdCBmaXJzdC4gQmFjayB0aGVuIEkgd2Fz
CmFibGUgdG8gZmluZCBzb21lIG1vcmUgdGltZSBidXQgdGhlbiBpdCBnb3QgY2xlYXIgdGhhdCB3
ZSBoYWQgdG8gcHV0CnRoaW5ncyBpbnRvIHBlcnNwZWN0aXZlIGFuZCB1c2UgYSBuZXcgYXBwcm9h
Y2guCgpTbyBmYXIgdGhlcmUncyBwYXJ0IG9mIHRoZSBpbmZyYXN0cnVjdHVyZSAoY29uZmlndXJl
IGZvciBpbnN0YW5jZSkgYnV0Cm5vdCBldmVyeXRoaW5nLiBJdCB3YXMgbmV2ZXIgaW50ZW5kZWQg
YnkgbWUgdGhhdCA0LjAyIGFkdmVydGlzZWQKT09UQiBjcm9zcy1jb21waWxhdGlvbiBzdXBwb3J0
LiBJdCB3YXMgc3RpbGwgdGhvdWdodCB0aGF0IHRoZXJlIHdvdWxkIGJlCndvc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IHRoZSA0LjAyLjEgSU5TVEFMTCBmaWxlWzFdLCB3aGljaCBkb2N1bWVu
dHMgYSAiLXRhcmdldCIgb3B0aW9uIGFuZCBzYXlzCj4gPiBpdCB3aWxsIHByb2R1Y2UgYSBjcm9z
cy1jb21waWxlci4gIFRoZSBzd2l0Y2ggaXMgZXZlbiBhY2NlcHRlZCBieQo+ID4gY29uZmlndXJl
LCBidXQgdGhlIGd1dHMgZG9uJ3QgYWN0dWFsbHkgd29yay4KPiA+Cj4gPiBQZXJoYXBzIHNvbWUg
Y29tbWl0IHNudWNrIGluIHRvIDQuMDIuMSB3aGljaCBzaG91bGRuJ3QgaGF2ZT8KPiA+Cj4gPiBN
YXJ0aW4KPiA+Cj4gPiBbMV0gaHR0cHM6Ly9naXRodWIuY29tL29jYW1sL29jYW1sL2Jsb2IvNC4w
Mi4xL0lOU1RBTEwjTDY4Cj4gPiBfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fXwo+ID4gb3BhbS1kZXZlbCBtYWlsaW5nIGxpc3QKPiA+IG9wYW0tZGV2ZWxAbGlz
dHMub2NhbWwub3JnCj4gPiBodHRwOi8vbGlzdHMub2NhbWwub3JnL2xpc3RpbmZvL29wYW0tZGV2
ZWwKPiA+CgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpN
aXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKTWlyYWdlT1MtZGV2ZWxAbGlzdHMueGVucHJvamVj
dC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5m
by9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 09:48:51 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 09:48:51 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv0cM-0005ra-Eu; Wed, 20 May 2015 09:48:50 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <gildor478@gmail.com>) id 1Yv0Jq-0004A9-Uv
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 09:29:43 +0000
Received: from [193.109.254.147] by server-6.bemta-14.messagelabs.com id
	EB/DF-03201-6045C555; Wed, 20 May 2015 09:29:42 +0000
X-Env-Sender: gildor478@gmail.com
X-Msg-Ref: server-5.tower-27.messagelabs.com!1432114179!14503433!1
X-Originating-IP: [74.125.82.41]
X-SpamReason: No, hits=0.9 required=7.0 tests=HTML_20_30,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 10632 invoked from network); 20 May 2015 09:29:39 -0000
Received: from mail-wg0-f41.google.com (HELO mail-wg0-f41.google.com)
	(74.125.82.41)
	by server-5.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	20 May 2015 09:29:39 -0000
Received: by wghq2 with SMTP id q2so46207854wgh.1
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 02:29:39 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:references:in-reply-to:from:date:message-id:subject:to
	:content-type;
	bh=8SMd04pK4em5j1QDS7PQjbwV21mhsppirjL30bCtadI=;
	b=TAXjAYViHDSn36WocOo7YpWUvuhbr3pVR2L7VfM1oGTbfqzow34m7Q6UhkgUOHRd3r
	R14+RaVT4vyakoUXog9CvnAeIaM74QNUnyDRpI78MTfHoYeMfnykODH4qPUTZo7YGr8j
	tjPtZin234pwvagdNpsLfwob4VSguycVHCSHKGZldt+vcLR318B/nc1TSgWez9REuIJf
	0nURoU9pcKyOvxgqSRQcICMofMqAQ61eos9oUhOerT5g7KW/9g318IKyTkc56CEMKFVR
	Qulr+8OqYdngEYAWaqbG62DRKicK9e8tsAB901QO0Yn1USnTcVipdgSW8PYlXABlfNCt
	Aayw==
X-Received: by 10.180.210.162 with SMTP id mv2mr40043605wic.59.1432114179529; 
	Wed, 20 May 2015 02:29:39 -0700 (PDT)
MIME-Version: 1.0
References: <20150519085016.GB10420@nodbug.lucina.net>
In-Reply-To: <20150519085016.GB10420@nodbug.lucina.net>
From: Sylvain Le Gall <sylvain+ocaml@le-gall.net>
Date: Wed, 20 May 2015 09:29:38 +0000
Message-ID: <CAOCAUGNFOuyVJf8HUdqwhCHYZOAr1vhQ1Po3FR4HPosX4PS3iQ@mail.gmail.com>
To: mirageos-devel@lists.xenproject.org, opam-devel@lists.ocaml.org, 
	Anil Madhavapeddy <avsm@recoil.org>
X-Mailman-Approved-At: Wed, 20 May 2015 09:48:48 +0000
Subject: Re: [MirageOS-devel] [opam-devel] Cross-compiling OCaml,
	Mirage OS for rumprun, OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1556672444315881333=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============1556672444315881333==
Content-Type: multipart/alternative; boundary=001a11c37daef2e28d05168010f8

--001a11c37daef2e28d05168010f8
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Le mar. 19 mai 2015 =C3=A0 10:50, Martin Lucina <martin@lucina.net> a =C3=
=A9crit :

> [Re-sending with correct opam-devel address]
>
> Hi all,
>
> I'm working on getting OCaml and Mirage OS running on top of the rumprun
> unikernel stack[1].
>
> Rumprun provides a unikernel stack with a POSIXy (NetBSD-HEAD) userspace
> and can run on Xen, QEMU/KVM, bare metal and POSIX userspace.  The
> resulting Mirage + rumprun unikernel will thus be able to run on all of t=
he
> platforms rumprun supports.
>
> The first step to get this working is building an OCaml cross compiler th=
at
> uses the rumprun cross compiler as its backend for building C code and
> linking.
>
> I've researched the various cross-compilation options for OCaml and for n=
ow
> have based my code off the approach used by Peter Zotov in his
> `opam-android' repository[2].
>
> My work in progress OPAM repository is here:
>
> https://github.com/mato/opam-rumprun
>
> This is enough to get an OCaml "Hello, World" running on rumprun, and I'v=
e
> also tested that the Unix package works as expected. So far so good.
>
> However, in order to get Mirage to compile, I need to cross-compile Lwt a=
nd
> that does not work as expected:
>
>     $ OCAMLFIND_TOOLCHAIN=3Drumprun ocaml setup.ml -configure --prefix
> /home/mato/.opam/system/x86_64-rumprun-netbsd/ --disable-libev
>
> Results in:
>
>     not checking for pkg-config
>     not checking for libev
>     testing for pthread: ........................... unavailable
>     not checking for glib
>
>     The following recquired C libraries are missing: pthread.
>
> The reason this happens is that discover.ml is invoking the following
> compile command:
>
> /home/mato/projects/rumpkernel/rumprun/app-tools/rumprun-xen-cc
> -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=3D64 -D_REENTRANT -c -I/usr/incl=
ude
> -o /tmp/lwt_stubf12ac7.o
> -I/home/mato/.opam/system/x86_64-rumprun-netbsd/lib/ocaml
> /tmp/lwt_stubf12ac7.c
>
> Note the inclusion of -I/usr/include -- this is presumably there so that
> the system OCaml compiler's headers are available, however it results in =
a
> conflict between the NetBSD headers provided by rumprun and the system
> headers.
>
> What can be done to fix the above? Should I be using a host compiler buil=
t
> and installed by OPAM rather than the system compiler (4.02.1-1ppa3~preci=
se
> on Debian wheezy). [I'll try this and see if it helps...]
>
> I tried to hack around the problem by using --enable-android-target, that
> causes discover.ml to succeed and the build then proceeds, failing on a
> different problem:
>
> E: Failure("Expected built file '_build/src/unix/dlllwt-unix_stubs.so'
> doesn't exist.")
>
> This is expected; the rumprun toolchain does not support dynamic linking
> and I have configured the ocaml-rumprun compiler with -no-shared-libs. Is
> there some way to tell OASIS to not expect any shared libraries to be
> built?
>

I suppose it will require to patch src/oasis/OASISLibrary l201 to have
ext_lib be an option rather than a string. OASIS can be forked and PR sent
on github, feel free to send a PR about that.


>
> General questions:
>
> 1) Is this the right strategy for building an OCaml cross-compiler and
> integrating with OPAM?
>
> AFAICS there are multiple approaches being used in the wild and OCaml
> upstream *claims* to include support for cross-compiling via -host and
> -target, however that support is not actually functional?
>
> For the rumprun support to be as user-friendly as possible, we need an ea=
sy
> way of switching the backend rumprun cross-compiler and linker used by
> ocaml when the user wants to switch platforms or architectures. The
> approach used by the android repository I based my work off implies eithe=
r:
>
> a) the user would have to *reinstall* the cross compiler (specifying eg.
> RUMPRUN_CC in the environment) and all packages using native code wheneve=
r
> they want to switch the backend compiler.
>
> b) we would have to provide different opam packages of the compiler and
> native libraries (Lwt) for each platform/arch combination supported by
> rumprun. This is unmanageable.
>
> 2) Is there an easy way to switch ocamlc and the various other parts of t=
he
> build system(s) involved into a verbose mode so that I can see what
> compilers are being invoked and why they fail? At the moment I'm using
> `strace' for this :-/
>
> All ideas and help much appreciated,
>
> Cheers,
>
> Martin
>
> [1] http://wiki.rumpkernel.org/Repo%3A-rumprun
> [2] https://github.com/whitequark/opam-android
> _______________________________________________
> opam-devel mailing list
> opam-devel@lists.ocaml.org
> http://lists.ocaml.org/listinfo/opam-devel
>

--001a11c37daef2e28d05168010f8
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br><div class=3D"gmail_quote">Le=C2=A0mar. 19 mai 201=
5 =C3=A0=C2=A010:50, Martin Lucina &lt;<a href=3D"mailto:martin@lucina.net"=
>martin@lucina.net</a>&gt; a =C3=A9crit=C2=A0:<br><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex">[Re-sending with correct opam-devel address]<br>
<br>
Hi all,<br>
<br>
I&#39;m working on getting OCaml and Mirage OS running on top of the rumpru=
n<br>
unikernel stack[1].<br>
<br>
Rumprun provides a unikernel stack with a POSIXy (NetBSD-HEAD) userspace<br=
>
and can run on Xen, QEMU/KVM, bare metal and POSIX userspace.=C2=A0 The<br>
resulting Mirage + rumprun unikernel will thus be able to run on all of the=
<br>
platforms rumprun supports.<br>
<br>
The first step to get this working is building an OCaml cross compiler that=
<br>
uses the rumprun cross compiler as its backend for building C code and<br>
linking.<br>
<br>
I&#39;ve researched the various cross-compilation options for OCaml and for=
 now<br>
have based my code off the approach used by Peter Zotov in his<br>
`opam-android&#39; repository[2].<br>
<br>
My work in progress OPAM repository is here:<br>
<br>
<a href=3D"https://github.com/mato/opam-rumprun" target=3D"_blank">https://=
github.com/mato/opam-rumprun</a><br>
<br>
This is enough to get an OCaml &quot;Hello, World&quot; running on rumprun,=
 and I&#39;ve<br>
also tested that the Unix package works as expected. So far so good.<br>
<br>
However, in order to get Mirage to compile, I need to cross-compile Lwt and=
<br>
that does not work as expected:<br>
<br>
=C2=A0 =C2=A0 $ OCAMLFIND_TOOLCHAIN=3Drumprun ocaml <a href=3D"http://setup=
.ml" target=3D"_blank">setup.ml</a> -configure --prefix /home/mato/.opam/sy=
stem/x86_64-rumprun-netbsd/ --disable-libev<br>
<br>
Results in:<br>
<br>
=C2=A0 =C2=A0 not checking for pkg-config<br>
=C2=A0 =C2=A0 not checking for libev<br>
=C2=A0 =C2=A0 testing for pthread: ........................... unavailable<=
br>
=C2=A0 =C2=A0 not checking for glib<br>
<br>
=C2=A0 =C2=A0 The following recquired C libraries are missing: pthread.<br>
<br>
The reason this happens is that <a href=3D"http://discover.ml" target=3D"_b=
lank">discover.ml</a> is invoking the following<br>
compile command:<br>
<br>
/home/mato/projects/rumpkernel/rumprun/app-tools/rumprun-xen-cc -fno-defer-=
pop -Wall -D_FILE_OFFSET_BITS=3D64 -D_REENTRANT -c -I/usr/include -o /tmp/l=
wt_stubf12ac7.o -I/home/mato/.opam/system/x86_64-rumprun-netbsd/lib/ocaml /=
tmp/lwt_stubf12ac7.c<br>
<br>
Note the inclusion of -I/usr/include -- this is presumably there so that<br=
>
the system OCaml compiler&#39;s headers are available, however it results i=
n a<br>
conflict between the NetBSD headers provided by rumprun and the system<br>
headers.<br>
<br>
What can be done to fix the above? Should I be using a host compiler built<=
br>
and installed by OPAM rather than the system compiler (4.02.1-1ppa3~precise=
<br>
on Debian wheezy). [I&#39;ll try this and see if it helps...]<br>
<br>
I tried to hack around the problem by using --enable-android-target, that<b=
r>
causes <a href=3D"http://discover.ml" target=3D"_blank">discover.ml</a> to =
succeed and the build then proceeds, failing on a<br>
different problem:<br>
<br>
E: Failure(&quot;Expected built file &#39;_build/src/unix/dlllwt-unix_stubs=
.so&#39; doesn&#39;t exist.&quot;)<br>
<br>
This is expected; the rumprun toolchain does not support dynamic linking<br=
>
and I have configured the ocaml-rumprun compiler with -no-shared-libs. Is<b=
r>
there some way to tell OASIS to not expect any shared libraries to be<br>
built?<br></blockquote><div><br></div><div>I suppose it will require to pat=
ch src/oasis/OASISLibrary l201 to have ext_lib be an option rather than a s=
tring. OASIS can be forked and PR sent on github, feel free to send a PR ab=
out that.</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
General questions:<br>
<br>
1) Is this the right strategy for building an OCaml cross-compiler and<br>
integrating with OPAM?<br>
<br>
AFAICS there are multiple approaches being used in the wild and OCaml<br>
upstream *claims* to include support for cross-compiling via -host and<br>
-target, however that support is not actually functional?<br>
<br>
For the rumprun support to be as user-friendly as possible, we need an easy=
<br>
way of switching the backend rumprun cross-compiler and linker used by<br>
ocaml when the user wants to switch platforms or architectures. The<br>
approach used by the android repository I based my work off implies either:=
<br>
<br>
a) the user would have to *reinstall* the cross compiler (specifying eg.<br=
>
RUMPRUN_CC in the environment) and all packages using native code whenever<=
br>
they want to switch the backend compiler.<br>
<br>
b) we would have to provide different opam packages of the compiler and<br>
native libraries (Lwt) for each platform/arch combination supported by<br>
rumprun. This is unmanageable.<br>
<br>
2) Is there an easy way to switch ocamlc and the various other parts of the=
<br>
build system(s) involved into a verbose mode so that I can see what<br>
compilers are being invoked and why they fail? At the moment I&#39;m using<=
br>
`strace&#39; for this :-/<br>
<br>
All ideas and help much appreciated,<br>
<br>
Cheers,<br>
<br>
Martin<br>
<br>
[1] <a href=3D"http://wiki.rumpkernel.org/Repo%3A-rumprun" target=3D"_blank=
">http://wiki.rumpkernel.org/Repo%3A-rumprun</a><br>
[2] <a href=3D"https://github.com/whitequark/opam-android" target=3D"_blank=
">https://github.com/whitequark/opam-android</a><br>
_______________________________________________<br>
opam-devel mailing list<br>
<a href=3D"mailto:opam-devel@lists.ocaml.org" target=3D"_blank">opam-devel@=
lists.ocaml.org</a><br>
<a href=3D"http://lists.ocaml.org/listinfo/opam-devel" target=3D"_blank">ht=
tp://lists.ocaml.org/listinfo/opam-devel</a><br>
</blockquote></div></div>

--001a11c37daef2e28d05168010f8--


--===============1556672444315881333==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============1556672444315881333==--


From mirageos-devel-bounces@lists.xenproject.org Wed May 20 09:48:51 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 09:48:51 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv0cM-0005rV-CI; Wed, 20 May 2015 09:48:50 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <adrien@notk.org>) id 1YumEg-0006Bl-A4
	for mirageos-devel@lists.xenproject.org; Tue, 19 May 2015 18:27:26 +0000
Received: from [193.109.254.147] by server-4.bemta-14.messagelabs.com id
	79/46-03245-D808B555; Tue, 19 May 2015 18:27:25 +0000
X-Env-Sender: adrien@notk.org
X-Msg-Ref: server-10.tower-27.messagelabs.com!1432060044!18963030!1
X-Originating-IP: [91.121.71.147]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 15949 invoked from network); 19 May 2015 18:27:24 -0000
Received: from nautica.notk.org (HELO nautica.notk.org) (91.121.71.147)
	by server-10.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 19 May 2015 18:27:24 -0000
Received: by nautica.notk.org (Postfix, from userid 1003)
	id 6511CC01D; Tue, 19 May 2015 20:27:23 +0200 (CEST)
Date: Tue, 19 May 2015 20:27:23 +0200
From: Adrien Nader <adrien@notk.org>
To: Gabriel Scherer <gabriel.scherer@gmail.com>
Message-ID: <20150519182723.GA11500@notk.org>
References: <20150519085016.GB10420@nodbug.lucina.net>
	<0671D956-7339-455E-8D07-FCB1BFC47924@gazagnaire.org>
	<20150519141251.GF10420@nodbug.lucina.net>
	<20150519144425.GH10420@nodbug.lucina.net>
	<58032E21FC304B29AF7973A5BF3ACDD7@erratique.ch>
	<20150519145324.GI10420@nodbug.lucina.net>
	<CAPFanBFyUwtG-Lr4iTatihvrzQEPSbizgGtws8xzca4O2_tvPg@mail.gmail.com>
MIME-Version: 1.0
Content-Length: 6031
Content-Disposition: inline
In-Reply-To: <CAPFanBFyUwtG-Lr4iTatihvrzQEPSbizgGtws8xzca4O2_tvPg@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Mailman-Approved-At: Wed, 20 May 2015 09:48:48 +0000
Cc: Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <mirageos-devel@lists.xenproject.org>,
	Peter Zotov <whitequark@whitequark.org>,
	opam-devel <opam-devel@lists.ocaml.org>,
	Anil Madhavapeddy <avsm@recoil.org>
Subject: Re: [MirageOS-devel] [opam-devel]  Cross-compiling OCaml,
 Mirage OS for rumprun, OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGksCgpUaGFua3MgZm9yIENjJ2luZyBtZS4KCkknbSBzb3JyeSwgdGhlIG1haWwgZ290IGEgYml0
IGxvbmcgYW5kIEknbSBhIHF1aXRlIHRpcmVkIHNvIGlmIGFueXRoaW5nCmlzbid0IGNsZWFyLCBk
b24ndCBoZXNpdGF0ZSB0byBnaXZlIHVwIHJlYWRpbmcgdGhlIHNlbnRlbmNlIG9yIHBhcmFncmFw
aAphbmQgYXNrIGZvciBhIGNsYXJpZmljYXRpb24uCgoKVGhlIHdvcmsgbmVlZGVkIHRvIHByb3Bl
cmx5IHN1cHBvcnQgY3Jvc3MtY29tcGlsYXRpb24sIGlu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fX19fX19fX19fX19fX19f
X19fX19fX19fXwo+ID4gb3BhbS1kZXZlbCBtYWlsaW5nIGxpc3QKPiA+IG9wYW0tZGV2ZWxAbGlz
dHMub2NhbWwub3JnCj4gPiBodHRwOi8vbGlzdHMub2NhbWwub3JnL2xpc3RpbmZvL29wYW0tZGV2
ZWwKPiA+CgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpN
aXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKTWlyYWdlT1MtZGV2ZWxAbGlzdHMueGVucHJvamVj
dC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5m
by9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 10:02:18 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 10:02:18 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv0pI-00079h-T6; Wed, 20 May 2015 10:02:12 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <martin@lucina.net>) id 1Yv0pH-00078g-E5
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 10:02:11 +0000
Received: from [85.158.139.211] by server-14.bemta-5.messagelabs.com id
	CA/B5-02819-2AB5C555; Wed, 20 May 2015 10:02:10 +0000
X-Env-Sender: martin@lucina.net
X-Msg-Ref: server-11.tower-206.messagelabs.com!1432116129!7355159!1
X-Originating-IP: [62.176.169.44]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 27362 invoked from network); 20 May 2015 10:02:10 -0000
Received: from smtp.lucina.net (HELO smtp.lucina.net) (62.176.169.44)
	by server-11.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 20 May 2015 10:02:10 -0000
Received: from nodbug.lucina.net (chello089173222227.chello.sk
	[89.173.222.227])
	by smtp.lucina.net (Postfix) with ESMTPSA id 10930122811;
	Wed, 20 May 2015 12:01:20 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucina.net;
	s=dkim-201309; t=1432116080;
	bh=T7VEOjrOwV7ndAsfQqC7E6uxb4K7m/AxC6sExPbBv0I=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
	b=I44rJakK5i2wG7nnval5PP8LzVjSv9ogyuztLEYYKcxj5637FGSBlSIxPGMK8WVnO
	5eRomJRYOedms9hrzMxVn7oQPdObinAHRLh7yeN4C1ztEN6/0/P8Qha8ZEPVf0Nk51
	6I6dLpzUD5l2gBgC3eW3tFbhUYU9jo9A2ZUe/213gBUBbx4O/XxWKPWe9VRyOYI6nt
	dxmAkunTN4Xc6LP9AaPHTNXQUZOHPEKhIiCp2pGlFIcBRBBsGndOg0vot/NUd2ZFB9
	lu5ucVoE8ie5Ii8T9P7GW5cTiRT1I64P9CJlfZ9T5v0GYC+UvMvsgGH9BGsUtmPBYg
	Ppw9zF7LLXG6w==
Received: by nodbug.lucina.net (Postfix, from userid 1000)
	id CF5AA4C0E2C; Wed, 20 May 2015 12:02:20 +0200 (CEST)
Date: Wed, 20 May 2015 12:02:20 +0200
From: Martin Lucina <martin@lucina.net>
To: Peter Zotov <whitequark@whitequark.org>,
	mirageos-devel@lists.xenproject.org, opam-devel@lists.ocaml.org
Message-ID: <20150520100220.GB5283@nodbug.lucina.net>
Mail-Followup-To: Peter Zotov <whitequark@whitequark.org>,
	mirageos-devel@lists.xenproject.org, opam-devel@lists.ocaml.org,
	Sylvain Le Gall <sylvain+ocaml@le-gall.net>
References: <20150519085016.GB10420@nodbug.lucina.net>
	<ead9b8457cfa0007dd71c32655cc6bf1@whitequark.org>
	<20150519135807.GD10420@nodbug.lucina.net>
MIME-Version: 1.0
Content-Length: 2553
Content-Disposition: inline
In-Reply-To: <20150519135807.GD10420@nodbug.lucina.net>
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: Sylvain Le Gall <sylvain+ocaml@le-gall.net>
Subject: Re: [MirageOS-devel] Cross-compiling OCaml, Mirage OS for rumprun,
 OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On Tuesday, 19.05.2015 at=A015:58, Martin Lucina wrote:
> > >E: Failure("Expected built file '_build/src/unix/dlllwt-unix_stubs.so'
> > >doesn't exist.")
> > >
> > >This is expected; the rumprun toolchain does not support dynamic
> > >linking
> > >and I have configured the ocaml-rumprun compiler with
> > >-no-shared-libs. Is
> > >there some way to tell OASIS to not expect any shared libraries to be
> > >built?
> > =

> > Nope. OASIS is painfully inflexible, especially when cross-compiling.
> > You can probably patch setup.ml so that it thinks that the current
> > OCaml is built without dynlink, but this is package-specific.
> =

> Turns out it's a two-line patch, at least in the case of Lwt:
> =

> https://github.com/mato/opam-rumprun/commit/3d3a9f0b46a21370c7b619e14cbfd=
dec90acf433

Getting further through the list of Mirage dependencies, trying to get
sexplib building for rumprun hits another different problem with OASIS:

I use the following commands to build sexplib-rumprun, similar to what the
android build does:

  ["ocaml" "setup.ml" "-configure" "--prefix" "${prefix}/x86_64-rumprun-net=
bsd" "--disable-syntax"]
  ["ocamlbuild" "-use-ocamlfind" "-just-plugin"]
  ["env" "OCAMLFIND_TOOLCHAIN=3Drumprun" "ocaml" "setup.ml" "-build"]
  ["env" "OCAMLFIND_TOOLCHAIN=3Drumprun" "ocaml" "setup.ml" "-install"]
  ["find" sexplib:lib "-name" "pa_sexp_conv.*" "-exec" "ln" "-sf" "{}" "%{p=
refix}%/x86_64-rumprun-netbsd/lib/sexplib/" ";"] { type_conv-rumprun:instal=
led }

Now, sexplib tries to build a .cmxs which won't work with the rumprun
toolchain, so I've patched its setup.ml to force native_dynlink to be
false:

https://github.com/mato/opam-rumprun/blob/master/packages/sexplib-rumprun.1=
12.24.01/files/patches/oasis-disable-dynlink.patch

The problem I'm seeing is that if I run "opam install sexplib-rumprun
--verbose", it fails in the setup.ml -install setup with a stack overflow:

- Installed /home/mato/.opam/system/x86_64-rumprun-netbsd/lib/sexplib_unix/=
sexplib_unix.cmx
- Installed /home/mato/.opam/system/x86_64-rumprun-netbsd/lib/sexplib_unix/=
META
- E: Stack overflow
[ERROR] The compilation of sexplib-rumprun failed at "env
        OCAMLFIND_TOOLCHAIN=3Drumprun ocaml setup.ml -install".

However: If I run the OPAM build commands from a shell in the build
directory for sexplib, the install step works fine.

Any ideas?

Martin

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 10:02:18 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 10:02:18 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv0pI-00079h-T6; Wed, 20 May 2015 10:02:12 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <martin@lucina.net>) id 1Yv0pH-00078g-E5
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 10:02:11 +0000
Received: from [85.158.139.211] by server-14.bemta-5.messagelabs.com id
	CA/B5-02819-2AB5C555; Wed, 20 May 2015 10:02:10 +0000
X-Env-Sender: martin@lucina.net
X-Msg-Ref: server-11.tower-206.messagelabs.com!1432116129!7355159!1
X-Originating-IP: [62.176.169.44]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 27362 invoked from network); 20 May 2015 10:02:10 -0000
Received: from smtp.lucina.net (HELO smtp.lucina.net) (62.176.169.44)
	by server-11.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 20 May 2015 10:02:10 -0000
Received: from nodbug.lucina.net (chello089173222227.chello.sk
	[89.173.222.227])
	by smtp.lucina.net (Postfix) with ESMTPSA id 10930122811;
	Wed, 20 May 2015 12:01:20 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucina.net;
	s=dkim-201309; t=1432116080;
	bh=T7VEOjrOwV7ndAsfQqC7E6uxb4K7m/AxC6sExPbBv0I=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
	b=I44rJakK5i2wG7nnval5PP8LzVjSv9ogyuztLEYYKcxj5637FGSBlSIxPGMK8WVnO
	5eRomJRYOedms9hrzMxVn7oQPdObinAHRLh7yeN4C1ztEN6/0/P8Qha8ZEPVf0Nk51
	6I6dLpzUD5l2gBgC3eW3tFbhUYU9jo9A2ZUe/213gBUBbx4O/XxWKPWe9VRyOYI6nt
	dxmAkunTN4Xc6LP9AaPHTNXQUZOHPEKhIiCp2pGlFIcBRBBsGndOg0vot/NUd2ZFB9
	lu5ucVoE8ie5Ii8T9P7GW5cTiRT1I64P9CJlfZ9T5v0GYC+UvMvsgGH9BGsUtmPBYg
	Ppw9zF7LLXG6w==
Received: by nodbug.lucina.net (Postfix, from userid 1000)
	id CF5AA4C0E2C; Wed, 20 May 2015 12:02:20 +0200 (CEST)
Date: Wed, 20 May 2015 12:02:20 +0200
From: Martin Lucina <martin@lucina.net>
To: Peter Zotov <whitequark@whitequark.org>,
	mirageos-devel@lists.xenproject.org, opam-devel@lists.ocaml.org
Message-ID: <20150520100220.GB5283@nodbug.lucina.net>
Mail-Followup-To: Peter Zotov <whitequark@whitequark.org>,
	mirageos-devel@lists.xenproject.org, opam-devel@lists.ocaml.org,
	Sylvain Le Gall <sylvain+ocaml@le-gall.net>
References: <20150519085016.GB10420@nodbug.lucina.net>
	<ead9b8457cfa0007dd71c32655cc6bf1@whitequark.org>
	<20150519135807.GD10420@nodbug.lucina.net>
MIME-Version: 1.0
Content-Length: 2553
Content-Disposition: inline
In-Reply-To: <20150519135807.GD10420@nodbug.lucina.net>
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: Sylvain Le Gall <sylvain+ocaml@le-gall.net>
Subject: Re: [MirageOS-devel] Cross-compiling OCaml, Mirage OS for rumprun,
 OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On Tuesday, 19.05.2015 at=A015:58, Martin Lucina wrote:
> > >E: Failure("Expected built file '_build/src/unix/dlllwt-unix_stubs.so'
> > >doesn't exist.")
> > >
> > >This is expected; the rumprun toolchain does not support dynamic
> > >linking
> > >and I have configured the ocaml-rumprun compiler with
> > >-no-shared-libs. Is
> > >there some way to tell OASIS to not expect any shared libraries to be
> > >built?
> > =

> > Nope. OASIS is painfully inflexible, especially when cross-compiling.
> > You can probably patch setup.ml so that it thinks that the current
> > OCaml is built without dynlink, but this is package-specific.
> =

> Turns out it's a two-line patch, at least in the case of Lwt:
> =

> https://github.com/mato/opam-rumprun/commit/3d3a9f0b46a21370c7b619e14cbfd=
dec90acf433

Getting further through the list of Mirage dependencies, trying to get
sexplib building for rumprun hits another different problem with OASIS:

I use the following commands to build sexplib-rumprun, similar to what the
android build does:

  ["ocaml" "setup.ml" "-configure" "--prefix" "${prefix}/x86_64-rumprun-net=
bsd" "--disable-syntax"]
  ["ocamlbuild" "-use-ocamlfind" "-just-plugin"]
  ["env" "OCAMLFIND_TOOLCHAIN=3Drumprun" "ocaml" "setup.ml" "-build"]
  ["env" "OCAMLFIND_TOOLCHAIN=3Drumprun" "ocaml" "setup.ml" "-install"]
  ["find" sexplib:lib "-name" "pa_sexp_conv.*" "-exec" "ln" "-sf" "{}" "%{p=
refix}%/x86_64-rumprun-netbsd/lib/sexplib/" ";"] { type_conv-rumprun:instal=
led }

Now, sexplib tries to build a .cmxs which won't work with the rumprun
toolchain, so I've patched its setup.ml to force native_dynlink to be
false:

https://github.com/mato/opam-rumprun/blob/master/packages/sexplib-rumprun.1=
12.24.01/files/patches/oasis-disable-dynlink.patch

The problem I'm seeing is that if I run "opam install sexplib-rumprun
--verbose", it fails in the setup.ml -install setup with a stack overflow:

- Installed /home/mato/.opam/system/x86_64-rumprun-netbsd/lib/sexplib_unix/=
sexplib_unix.cmx
- Installed /home/mato/.opam/system/x86_64-rumprun-netbsd/lib/sexplib_unix/=
META
- E: Stack overflow
[ERROR] The compilation of sexplib-rumprun failed at "env
        OCAMLFIND_TOOLCHAIN=3Drumprun ocaml setup.ml -install".

However: If I run the OPAM build commands from a shell in the build
directory for sexplib, the install step works fine.

Any ideas?

Martin

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 10:43:04 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 10:43:04 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv1Sm-0002AE-IZ; Wed, 20 May 2015 10:43:00 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <martin@lucina.net>) id 1Yv1Sl-0002A6-2H
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 10:42:59 +0000
Received: from [193.109.254.147] by server-2.bemta-14.messagelabs.com id
	20/64-03031-2356C555; Wed, 20 May 2015 10:42:58 +0000
X-Env-Sender: martin@lucina.net
X-Msg-Ref: server-3.tower-27.messagelabs.com!1432118577!19081236!1
X-Originating-IP: [62.176.169.44]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 16496 invoked from network); 20 May 2015 10:42:57 -0000
Received: from smtp.lucina.net (HELO smtp.lucina.net) (62.176.169.44)
	by server-3.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 20 May 2015 10:42:57 -0000
Received: from nodbug.lucina.net (chello089173222227.chello.sk
	[89.173.222.227])
	by smtp.lucina.net (Postfix) with ESMTPSA id BEDEF122811;
	Wed, 20 May 2015 12:42:07 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucina.net;
	s=dkim-201309; t=1432118527;
	bh=298Trp+y1Wi2/I5NfVIM0kob2kAYX2Nhbg5KHBPzfxc=;
	h=Date:From:To:Subject:References:In-Reply-To:From;
	b=arpeqOWsPmEg3p4Ct+uD6Xj6a+F+tOEgXNBLSV6eFcBfCyKKu7J6a7sqQ1YT8sjnM
	x1etIEIe5pbBzN+/Go4xJS+wzJ7nL7lzp8M+7Pt8trtWItL1a2N78McOHI4yPsRjbz
	VAloITdGGC2wmx8RZA5SOmR/+7oNXtaUdgVqETyEAj683F57ufVfMPjJiN5zJ4zV3N
	eOfRkoVtXkJPQAB9BNwqzbQqU4kvxTD4nEImTRyPpIjR5/G37JpbIt07EybZKBxsr7
	9CgdtWNGnY6MglW00FD/MN6STZWHpNT3NdycJuxfW31JuXTrakj8zbT0JkPxsqIhBY
	Ko0v3OkCy+BXw==
Received: by nodbug.lucina.net (Postfix, from userid 1000)
	id B70AB4C0E2C; Wed, 20 May 2015 12:43:08 +0200 (CEST)
Date: Wed, 20 May 2015 12:43:08 +0200
From: Martin Lucina <martin@lucina.net>
To: Peter Zotov <whitequark@whitequark.org>,
	mirageos-devel@lists.xenproject.org, opam-devel@lists.ocaml.org,
	Sylvain Le Gall <sylvain+ocaml@le-gall.net>
Message-ID: <20150520104308.GC5283@nodbug.lucina.net>
Mail-Followup-To: Peter Zotov <whitequark@whitequark.org>,
	mirageos-devel@lists.xenproject.org, opam-devel@lists.ocaml.org,
	Sylvain Le Gall <sylvain+ocaml@le-gall.net>
References: <20150519085016.GB10420@nodbug.lucina.net>
	<ead9b8457cfa0007dd71c32655cc6bf1@whitequark.org>
	<20150519135807.GD10420@nodbug.lucina.net>
	<20150520100220.GB5283@nodbug.lucina.net>
MIME-Version: 1.0
Content-Length: 766
Content-Disposition: inline
In-Reply-To: <20150520100220.GB5283@nodbug.lucina.net>
User-Agent: Mutt/1.5.21 (2010-09-15)
Subject: Re: [MirageOS-devel] Cross-compiling OCaml, Mirage OS for rumprun,
 OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On Wednesday, 20.05.2015 at=A012:02, Martin Lucina wrote:
> Getting further through the list of Mirage dependencies, trying to get
> sexplib building for rumprun hits another different problem with OASIS:

*facepalm* Ok, sorry, this was caused by a two-character typo:

["ocaml" "setup.ml" "-configure" "--prefix" "${prefix}/x86_64-rumprun-netbs=
d" "--disable-syntax"]

should have been

["ocaml" "setup.ml" "-configure" "--prefix" "%{prefix}%/x86_64-rumprun-netb=
sd" "--disable-syntax"]

Still, "Stack overflow" is not a terribly descriptive error :-)

Sorry for the noise.

Martin

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 10:43:04 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 10:43:04 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv1Sm-0002AE-IZ; Wed, 20 May 2015 10:43:00 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <martin@lucina.net>) id 1Yv1Sl-0002A6-2H
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 10:42:59 +0000
Received: from [193.109.254.147] by server-2.bemta-14.messagelabs.com id
	20/64-03031-2356C555; Wed, 20 May 2015 10:42:58 +0000
X-Env-Sender: martin@lucina.net
X-Msg-Ref: server-3.tower-27.messagelabs.com!1432118577!19081236!1
X-Originating-IP: [62.176.169.44]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 16496 invoked from network); 20 May 2015 10:42:57 -0000
Received: from smtp.lucina.net (HELO smtp.lucina.net) (62.176.169.44)
	by server-3.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 20 May 2015 10:42:57 -0000
Received: from nodbug.lucina.net (chello089173222227.chello.sk
	[89.173.222.227])
	by smtp.lucina.net (Postfix) with ESMTPSA id BEDEF122811;
	Wed, 20 May 2015 12:42:07 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucina.net;
	s=dkim-201309; t=1432118527;
	bh=298Trp+y1Wi2/I5NfVIM0kob2kAYX2Nhbg5KHBPzfxc=;
	h=Date:From:To:Subject:References:In-Reply-To:From;
	b=arpeqOWsPmEg3p4Ct+uD6Xj6a+F+tOEgXNBLSV6eFcBfCyKKu7J6a7sqQ1YT8sjnM
	x1etIEIe5pbBzN+/Go4xJS+wzJ7nL7lzp8M+7Pt8trtWItL1a2N78McOHI4yPsRjbz
	VAloITdGGC2wmx8RZA5SOmR/+7oNXtaUdgVqETyEAj683F57ufVfMPjJiN5zJ4zV3N
	eOfRkoVtXkJPQAB9BNwqzbQqU4kvxTD4nEImTRyPpIjR5/G37JpbIt07EybZKBxsr7
	9CgdtWNGnY6MglW00FD/MN6STZWHpNT3NdycJuxfW31JuXTrakj8zbT0JkPxsqIhBY
	Ko0v3OkCy+BXw==
Received: by nodbug.lucina.net (Postfix, from userid 1000)
	id B70AB4C0E2C; Wed, 20 May 2015 12:43:08 +0200 (CEST)
Date: Wed, 20 May 2015 12:43:08 +0200
From: Martin Lucina <martin@lucina.net>
To: Peter Zotov <whitequark@whitequark.org>,
	mirageos-devel@lists.xenproject.org, opam-devel@lists.ocaml.org,
	Sylvain Le Gall <sylvain+ocaml@le-gall.net>
Message-ID: <20150520104308.GC5283@nodbug.lucina.net>
Mail-Followup-To: Peter Zotov <whitequark@whitequark.org>,
	mirageos-devel@lists.xenproject.org, opam-devel@lists.ocaml.org,
	Sylvain Le Gall <sylvain+ocaml@le-gall.net>
References: <20150519085016.GB10420@nodbug.lucina.net>
	<ead9b8457cfa0007dd71c32655cc6bf1@whitequark.org>
	<20150519135807.GD10420@nodbug.lucina.net>
	<20150520100220.GB5283@nodbug.lucina.net>
MIME-Version: 1.0
Content-Length: 766
Content-Disposition: inline
In-Reply-To: <20150520100220.GB5283@nodbug.lucina.net>
User-Agent: Mutt/1.5.21 (2010-09-15)
Subject: Re: [MirageOS-devel] Cross-compiling OCaml, Mirage OS for rumprun,
 OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On Wednesday, 20.05.2015 at=A012:02, Martin Lucina wrote:
> Getting further through the list of Mirage dependencies, trying to get
> sexplib building for rumprun hits another different problem with OASIS:

*facepalm* Ok, sorry, this was caused by a two-character typo:

["ocaml" "setup.ml" "-configure" "--prefix" "${prefix}/x86_64-rumprun-netbs=
d" "--disable-syntax"]

should have been

["ocaml" "setup.ml" "-configure" "--prefix" "%{prefix}%/x86_64-rumprun-netb=
sd" "--disable-syntax"]

Still, "Stack overflow" is not a terribly descriptive error :-)

Sorry for the noise.

Martin

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 10:58:25 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 10:58:25 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv1hf-0002zS-Lp; Wed, 20 May 2015 10:58:23 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1Yv1he-0002zJ-BQ
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 10:58:22 +0000
Received: from [193.109.254.147] by server-12.bemta-14.messagelabs.com id
	CC/24-02507-DC86C555; Wed, 20 May 2015 10:58:21 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-14.tower-27.messagelabs.com!1432119500!19174546!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 24131 invoked from network); 20 May 2015 10:58:20 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-14.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 20 May 2015 10:58:20 -0000
Received: from [192.168.1.39] (cpc7-cmbg14-2-0-cust238.5-4.cable.virginm.net
	[86.30.244.239]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 177b45f2;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Wed, 20 May 2015 11:58:20 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <20150520104308.GC5283@nodbug.lucina.net>
Date: Wed, 20 May 2015 11:58:19 +0100
Message-Id: <20365AE3-9561-4BCB-B845-81B42229B9A7@recoil.org>
References: <20150519085016.GB10420@nodbug.lucina.net>
	<ead9b8457cfa0007dd71c32655cc6bf1@whitequark.org>
	<20150519135807.GD10420@nodbug.lucina.net>
	<20150520100220.GB5283@nodbug.lucina.net>
	<20150520104308.GC5283@nodbug.lucina.net>
To: Martin Lucina <martin@lucina.net>
X-Mailer: Apple Mail (2.2098)
Cc: Peter Zotov <whitequark@whitequark.org>, opam-devel@lists.ocaml.org,
	mirageos-devel@lists.xenproject.org,
	Sylvain Le Gall <sylvain+ocaml@le-gall.net>
Subject: Re: [MirageOS-devel] [opam-devel]  Cross-compiling OCaml,
	Mirage OS for rumprun, OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 20 May 2015, at 11:43, Martin Lucina <martin@lucina.net> wrote:
> 
> On Wednesday, 20.05.2015 at 12:02, Martin Lucina wrote:
>> Getting further through the list of Mirage dependencies, trying to get
>> sexplib building for rumprun hits another different problem with OASIS:
> 
> *facepalm* Ok, sorry, this was caused by a two-character typo:
> 
> ["ocaml" "setup.ml" "-configure" "--prefix" "${prefix}/x86_64-rumprun-netbsd" "--disable-syntax"]
> 
> should have been
> 
> ["ocaml" "setup.ml" "-configure" "--prefix" "%{prefix}%/x86_64-rumprun-netbsd" "--disable-syntax"]
> 
> Still, "Stack overflow" is not a terribly descriptive error :-)
> 

That's definitely worth filing an upstream bug report about :-)

-anil


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 10:58:25 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 10:58:25 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv1hf-0002zS-Lp; Wed, 20 May 2015 10:58:23 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1Yv1he-0002zJ-BQ
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 10:58:22 +0000
Received: from [193.109.254.147] by server-12.bemta-14.messagelabs.com id
	CC/24-02507-DC86C555; Wed, 20 May 2015 10:58:21 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-14.tower-27.messagelabs.com!1432119500!19174546!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 24131 invoked from network); 20 May 2015 10:58:20 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-14.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 20 May 2015 10:58:20 -0000
Received: from [192.168.1.39] (cpc7-cmbg14-2-0-cust238.5-4.cable.virginm.net
	[86.30.244.239]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 177b45f2;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Wed, 20 May 2015 11:58:20 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <20150520104308.GC5283@nodbug.lucina.net>
Date: Wed, 20 May 2015 11:58:19 +0100
Message-Id: <20365AE3-9561-4BCB-B845-81B42229B9A7@recoil.org>
References: <20150519085016.GB10420@nodbug.lucina.net>
	<ead9b8457cfa0007dd71c32655cc6bf1@whitequark.org>
	<20150519135807.GD10420@nodbug.lucina.net>
	<20150520100220.GB5283@nodbug.lucina.net>
	<20150520104308.GC5283@nodbug.lucina.net>
To: Martin Lucina <martin@lucina.net>
X-Mailer: Apple Mail (2.2098)
Cc: Peter Zotov <whitequark@whitequark.org>, opam-devel@lists.ocaml.org,
	mirageos-devel@lists.xenproject.org,
	Sylvain Le Gall <sylvain+ocaml@le-gall.net>
Subject: Re: [MirageOS-devel] [opam-devel]  Cross-compiling OCaml,
	Mirage OS for rumprun, OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 20 May 2015, at 11:43, Martin Lucina <martin@lucina.net> wrote:
> 
> On Wednesday, 20.05.2015 at 12:02, Martin Lucina wrote:
>> Getting further through the list of Mirage dependencies, trying to get
>> sexplib building for rumprun hits another different problem with OASIS:
> 
> *facepalm* Ok, sorry, this was caused by a two-character typo:
> 
> ["ocaml" "setup.ml" "-configure" "--prefix" "${prefix}/x86_64-rumprun-netbsd" "--disable-syntax"]
> 
> should have been
> 
> ["ocaml" "setup.ml" "-configure" "--prefix" "%{prefix}%/x86_64-rumprun-netbsd" "--disable-syntax"]
> 
> Still, "Stack overflow" is not a terribly descriptive error :-)
> 

That's definitely worth filing an upstream bug report about :-)

-anil


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 12:32:28 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 12:32:28 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv3Ad-0000vh-2V; Wed, 20 May 2015 12:32:23 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <magnus@therning.org>) id 1Yv3Ab-0000vZ-JN
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 12:32:21 +0000
Received: from [85.158.139.211] by server-4.bemta-5.messagelabs.com id
	20/2D-03195-4DE7C555; Wed, 20 May 2015 12:32:20 +0000
X-Env-Sender: magnus@therning.org
X-Msg-Ref: server-14.tower-206.messagelabs.com!1432125139!6123878!1
X-Originating-IP: [209.85.223.178]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 7767 invoked from network); 20 May 2015 12:32:20 -0000
Received: from mail-ie0-f178.google.com (HELO mail-ie0-f178.google.com)
	(209.85.223.178)
	by server-14.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	20 May 2015 12:32:20 -0000
Received: by iebgx4 with SMTP id gx4so37604845ieb.0
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 05:32:19 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type
	:content-transfer-encoding;
	bh=V3K+QmzfZw4EcU/P/rUN1g5uEy0rHA8Fuw+4i2K+3mo=;
	b=L9TH3JUcL5KQAfdO6+QD+uMkqdbZxy9hJMnKOZytEuRem17vAgFtJLCJVJla1WN8qX
	HH5vs74KeYXlbav6Xc1y28e32ARZYIRYtCPbWowYhIeH23Dm/QsCdTkmPp4SaaWR7nbC
	q5pJt6wLY9U9+jcKVCuf6Iuk+gHRFr55V6uzZwwl6oQC72MjcV8H10EOjNO/lIr1Nenc
	oLYt9+imy/28UnMYnzLuB1o8KpIGaSUNYiyMVTGriR1ISVqQ1oDsOka5tHOa3SCtAg6B
	xa+PlhKfPxresRQAYor+NO1ou2U9ehwu4TWSoI3MUPoxRXonfoTZKUgqOvlIEup5NWqO
	YN9g==
X-Gm-Message-State: ALoCoQnfm4QBq9S3mMPaFuQFUaWaZjosOORpx5TtRjcnF7UybGjiDQ5s1IKMsXXGGRcIIN7Fa7UA
MIME-Version: 1.0
X-Received: by 10.107.168.164 with SMTP id e36mr2865272ioj.87.1432125139308;
	Wed, 20 May 2015 05:32:19 -0700 (PDT)
Received: by 10.36.30.11 with HTTP; Wed, 20 May 2015 05:32:19 -0700 (PDT)
In-Reply-To: <CBF7FC0E-A1EF-4CE2-8F35-AFEE9C42F2F6@gazagnaire.org>
References: <20150519224544.GA13972@tatooine>
	<E6CFDA08-BA38-42D4-890F-8BE2AE3237D8@gazagnaire.org>
	<66D5BC78-B1D1-4A2D-B21A-0672393CC3B1@gazagnaire.org>
	<CBF7FC0E-A1EF-4CE2-8F35-AFEE9C42F2F6@gazagnaire.org>
Date: Wed, 20 May 2015 14:32:19 +0200
Message-ID: <CAAExw5vWod3MfAR+Lvqg5bSLUyczrcgqS4YzZqy0NaCaTiO1NA@mail.gmail.com>
From: Magnus Therning <magnus@therning.org>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Any way to get caml4p to run on ARM
	(cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 20 May 2015 at 11:39, Thomas Gazagnaire <thomas@gazagnaire.org> wrote:
>>> Try to remove it from LIBS in the generated Makefile and remove the "syntax(camlp4o)" in SYNTAX to see if this helps.
>>> If yes, I'm happy to get rid of the automatic inclusion lwt.syntax by the mirage tool to avoid that.
>>
>> This might need a patch on mirage-decks to remove all the syntax extensions. I think that's a good think.
>
> Sorry to spam the list again. This obviously won't be as easy as it could be in mirage-decks as we are using the cow syntax extension in various places. So to fix you bug, you might want to edit the SYNTAX flag in the Makefile to add "<main.*>: -syntax(camlp4o)" (similar to "static*.*" one). This will tell ocamlbuild to not use camlp4 on that file.

I just did a quick check on a PC.  After `make configure` I modified
`src/Makefile` like this:

~~~
--- src/Makefile.orig    2015-05-20 14:27:51.887520390 +0200
+++ src/Makefile    2015-05-20 14:28:18.297382817 +0200
@@ -5,6 +5,7 @@
 SYNTAX = -tags "syntax(camlp4o),annot,bin_annot,strict_sequence,principal"

 SYNTAX += -tag-line "<static*.*>: -syntax(camlp4o)"
+SYNTAX += -tag-line "<main.*>: -syntax(camlp4o)"

 FLAGS  = -cflag -g -lflags -g,-linkpkg

~~~

But when comparing the log file (`src/_build/_log`) with and without
this change there's no difference (i.e. `-syntax(camlp4o)` is present
on each entry related to any file matching `main.*`).

I must have misunderstood your instructions.

/M

-- 
Magnus Therning                      OpenPGP: 0xAB4DFBA4
email: magnus@therning.org   jabber: magnus@therning.org
twitter: magthe               http://therning.org/magnus

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 12:32:28 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 12:32:28 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv3Ad-0000vh-2V; Wed, 20 May 2015 12:32:23 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <magnus@therning.org>) id 1Yv3Ab-0000vZ-JN
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 12:32:21 +0000
Received: from [85.158.139.211] by server-4.bemta-5.messagelabs.com id
	20/2D-03195-4DE7C555; Wed, 20 May 2015 12:32:20 +0000
X-Env-Sender: magnus@therning.org
X-Msg-Ref: server-14.tower-206.messagelabs.com!1432125139!6123878!1
X-Originating-IP: [209.85.223.178]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 7767 invoked from network); 20 May 2015 12:32:20 -0000
Received: from mail-ie0-f178.google.com (HELO mail-ie0-f178.google.com)
	(209.85.223.178)
	by server-14.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	20 May 2015 12:32:20 -0000
Received: by iebgx4 with SMTP id gx4so37604845ieb.0
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 05:32:19 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type
	:content-transfer-encoding;
	bh=V3K+QmzfZw4EcU/P/rUN1g5uEy0rHA8Fuw+4i2K+3mo=;
	b=L9TH3JUcL5KQAfdO6+QD+uMkqdbZxy9hJMnKOZytEuRem17vAgFtJLCJVJla1WN8qX
	HH5vs74KeYXlbav6Xc1y28e32ARZYIRYtCPbWowYhIeH23Dm/QsCdTkmPp4SaaWR7nbC
	q5pJt6wLY9U9+jcKVCuf6Iuk+gHRFr55V6uzZwwl6oQC72MjcV8H10EOjNO/lIr1Nenc
	oLYt9+imy/28UnMYnzLuB1o8KpIGaSUNYiyMVTGriR1ISVqQ1oDsOka5tHOa3SCtAg6B
	xa+PlhKfPxresRQAYor+NO1ou2U9ehwu4TWSoI3MUPoxRXonfoTZKUgqOvlIEup5NWqO
	YN9g==
X-Gm-Message-State: ALoCoQnfm4QBq9S3mMPaFuQFUaWaZjosOORpx5TtRjcnF7UybGjiDQ5s1IKMsXXGGRcIIN7Fa7UA
MIME-Version: 1.0
X-Received: by 10.107.168.164 with SMTP id e36mr2865272ioj.87.1432125139308;
	Wed, 20 May 2015 05:32:19 -0700 (PDT)
Received: by 10.36.30.11 with HTTP; Wed, 20 May 2015 05:32:19 -0700 (PDT)
In-Reply-To: <CBF7FC0E-A1EF-4CE2-8F35-AFEE9C42F2F6@gazagnaire.org>
References: <20150519224544.GA13972@tatooine>
	<E6CFDA08-BA38-42D4-890F-8BE2AE3237D8@gazagnaire.org>
	<66D5BC78-B1D1-4A2D-B21A-0672393CC3B1@gazagnaire.org>
	<CBF7FC0E-A1EF-4CE2-8F35-AFEE9C42F2F6@gazagnaire.org>
Date: Wed, 20 May 2015 14:32:19 +0200
Message-ID: <CAAExw5vWod3MfAR+Lvqg5bSLUyczrcgqS4YzZqy0NaCaTiO1NA@mail.gmail.com>
From: Magnus Therning <magnus@therning.org>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Any way to get caml4p to run on ARM
	(cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 20 May 2015 at 11:39, Thomas Gazagnaire <thomas@gazagnaire.org> wrote:
>>> Try to remove it from LIBS in the generated Makefile and remove the "syntax(camlp4o)" in SYNTAX to see if this helps.
>>> If yes, I'm happy to get rid of the automatic inclusion lwt.syntax by the mirage tool to avoid that.
>>
>> This might need a patch on mirage-decks to remove all the syntax extensions. I think that's a good think.
>
> Sorry to spam the list again. This obviously won't be as easy as it could be in mirage-decks as we are using the cow syntax extension in various places. So to fix you bug, you might want to edit the SYNTAX flag in the Makefile to add "<main.*>: -syntax(camlp4o)" (similar to "static*.*" one). This will tell ocamlbuild to not use camlp4 on that file.

I just did a quick check on a PC.  After `make configure` I modified
`src/Makefile` like this:

~~~
--- src/Makefile.orig    2015-05-20 14:27:51.887520390 +0200
+++ src/Makefile    2015-05-20 14:28:18.297382817 +0200
@@ -5,6 +5,7 @@
 SYNTAX = -tags "syntax(camlp4o),annot,bin_annot,strict_sequence,principal"

 SYNTAX += -tag-line "<static*.*>: -syntax(camlp4o)"
+SYNTAX += -tag-line "<main.*>: -syntax(camlp4o)"

 FLAGS  = -cflag -g -lflags -g,-linkpkg

~~~

But when comparing the log file (`src/_build/_log`) with and without
this change there's no difference (i.e. `-syntax(camlp4o)` is present
on each entry related to any file matching `main.*`).

I must have misunderstood your instructions.

/M

-- 
Magnus Therning                      OpenPGP: 0xAB4DFBA4
email: magnus@therning.org   jabber: magnus@therning.org
twitter: magthe               http://therning.org/magnus

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 13:16:20 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 13:16:20 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv3r7-00066r-Bd; Wed, 20 May 2015 13:16:17 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1Yv3r6-00066k-0n
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 13:16:16 +0000
Received: from [193.109.254.147] by server-4.bemta-14.messagelabs.com id
	8E/53-03245-E198C555; Wed, 20 May 2015 13:16:14 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-5.tower-27.messagelabs.com!1432127773!14594193!1
X-Originating-IP: [209.85.212.178]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 1727 invoked from network); 20 May 2015 13:16:13 -0000
Received: from mail-wi0-f178.google.com (HELO mail-wi0-f178.google.com)
	(209.85.212.178)
	by server-5.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	20 May 2015 13:16:13 -0000
Received: by wicmx19 with SMTP id mx19so154551774wic.0
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 06:16:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=fDRL5NOK8iUe+WRJdiUWZIjt2WErdDn9QxdAow+m+4Y=;
	b=Ppxpz3MI/vGCCFIM2Loav0rpXefw7DGLUz/MiRLtdPLex2hUDQsXLWKcVYUKr5IBRg
	6Ywio2K9epyV8tdI33uCSuw4iUpvS5YEjfqGVoUVbKu9caLvCojQW0vIf/9rGbxrFWbp
	xzZvrVW3FH95Zd6fCcTqrLH86UwTL3QyRP9+JdhJ3OpWJnge/ozhTTo4SVUVkx/Cjaoe
	Glb+WNBN+nZIH0wzQxJD7CJpfgzLy4l7q2hqMUW7ahgNb/IrTvm8A8QAQljqkpE/PtIt
	EAIyDUygkGRrqCCj/ehew0saU+Tnx7/5SErkJPtaASLj8Mq8X0HxEEeNKhp6GJxBIKAM
	3Fug==
X-Received: by 10.180.198.166 with SMTP id jd6mr34780000wic.48.1432127773001; 
	Wed, 20 May 2015 06:16:13 -0700 (PDT)
Received: from piana.mac.cl.cam.ac.uk (piana.mac.cl.cam.ac.uk. [128.232.56.38])
	by mx.google.com with ESMTPSA id
	bm9sm26810187wjc.21.2015.05.20.06.16.11
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Wed, 20 May 2015 06:16:12 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <CAAExw5vWod3MfAR+Lvqg5bSLUyczrcgqS4YzZqy0NaCaTiO1NA@mail.gmail.com>
Date: Wed, 20 May 2015 14:16:10 +0100
Message-Id: <690682D3-99A8-4976-8308-021D699E6878@gazagnaire.org>
References: <20150519224544.GA13972@tatooine>
	<E6CFDA08-BA38-42D4-890F-8BE2AE3237D8@gazagnaire.org>
	<66D5BC78-B1D1-4A2D-B21A-0672393CC3B1@gazagnaire.org>
	<CBF7FC0E-A1EF-4CE2-8F35-AFEE9C42F2F6@gazagnaire.org>
	<CAAExw5vWod3MfAR+Lvqg5bSLUyczrcgqS4YzZqy0NaCaTiO1NA@mail.gmail.com>
To: Magnus Therning <magnus@therning.org>
X-Mailer: Apple Mail (2.2098)
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Any way to get caml4p to run on ARM
	(cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

> I just did a quick check on a PC.  After `make configure` I modified
> `src/Makefile` like this:
> 
> ~~~
> --- src/Makefile.orig    2015-05-20 14:27:51.887520390 +0200
> +++ src/Makefile    2015-05-20 14:28:18.297382817 +0200
> @@ -5,6 +5,7 @@
> SYNTAX = -tags "syntax(camlp4o),annot,bin_annot,strict_sequence,principal"
> 
> SYNTAX += -tag-line "<static*.*>: -syntax(camlp4o)"
> +SYNTAX += -tag-line "<main.*>: -syntax(camlp4o)"
> 
> FLAGS  = -cflag -g -lflags -g,-linkpkg
> 
> ~~~
> 
> But when comparing the log file (`src/_build/_log`) with and without
> this change there's no difference (i.e. `-syntax(camlp4o)` is present
> on each entry related to any file matching `main.*`).
> 
> I must have misunderstood your instructions.

Indeed, the order in which the tag -tag and -tag-line predicates are taken into account doesn't seem very reliable ...

I've tried the following and it seems to work better:

SYNTAX = -tags "annot,bin_annot,strict_sequence,principal,thread"
SYNTAX += -tag-line "<static*.*> or <main.*>: -syntax(camlp4o)"
SYNTAX += -tag-line "not (<static*.*> or <main.*>): syntax(camlp4o)"

I've opened https://github.com/mirage/mirage/issues/405 to track that.

Thomas

> 
> /M
> 
> -- 
> Magnus Therning                      OpenPGP: 0xAB4DFBA4
> email: magnus@therning.org   jabber: magnus@therning.org
> twitter: magthe               http://therning.org/magnus


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 13:16:20 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 13:16:20 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv3r7-00066r-Bd; Wed, 20 May 2015 13:16:17 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1Yv3r6-00066k-0n
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 13:16:16 +0000
Received: from [193.109.254.147] by server-4.bemta-14.messagelabs.com id
	8E/53-03245-E198C555; Wed, 20 May 2015 13:16:14 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-5.tower-27.messagelabs.com!1432127773!14594193!1
X-Originating-IP: [209.85.212.178]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 1727 invoked from network); 20 May 2015 13:16:13 -0000
Received: from mail-wi0-f178.google.com (HELO mail-wi0-f178.google.com)
	(209.85.212.178)
	by server-5.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	20 May 2015 13:16:13 -0000
Received: by wicmx19 with SMTP id mx19so154551774wic.0
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 06:16:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=fDRL5NOK8iUe+WRJdiUWZIjt2WErdDn9QxdAow+m+4Y=;
	b=Ppxpz3MI/vGCCFIM2Loav0rpXefw7DGLUz/MiRLtdPLex2hUDQsXLWKcVYUKr5IBRg
	6Ywio2K9epyV8tdI33uCSuw4iUpvS5YEjfqGVoUVbKu9caLvCojQW0vIf/9rGbxrFWbp
	xzZvrVW3FH95Zd6fCcTqrLH86UwTL3QyRP9+JdhJ3OpWJnge/ozhTTo4SVUVkx/Cjaoe
	Glb+WNBN+nZIH0wzQxJD7CJpfgzLy4l7q2hqMUW7ahgNb/IrTvm8A8QAQljqkpE/PtIt
	EAIyDUygkGRrqCCj/ehew0saU+Tnx7/5SErkJPtaASLj8Mq8X0HxEEeNKhp6GJxBIKAM
	3Fug==
X-Received: by 10.180.198.166 with SMTP id jd6mr34780000wic.48.1432127773001; 
	Wed, 20 May 2015 06:16:13 -0700 (PDT)
Received: from piana.mac.cl.cam.ac.uk (piana.mac.cl.cam.ac.uk. [128.232.56.38])
	by mx.google.com with ESMTPSA id
	bm9sm26810187wjc.21.2015.05.20.06.16.11
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Wed, 20 May 2015 06:16:12 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <CAAExw5vWod3MfAR+Lvqg5bSLUyczrcgqS4YzZqy0NaCaTiO1NA@mail.gmail.com>
Date: Wed, 20 May 2015 14:16:10 +0100
Message-Id: <690682D3-99A8-4976-8308-021D699E6878@gazagnaire.org>
References: <20150519224544.GA13972@tatooine>
	<E6CFDA08-BA38-42D4-890F-8BE2AE3237D8@gazagnaire.org>
	<66D5BC78-B1D1-4A2D-B21A-0672393CC3B1@gazagnaire.org>
	<CBF7FC0E-A1EF-4CE2-8F35-AFEE9C42F2F6@gazagnaire.org>
	<CAAExw5vWod3MfAR+Lvqg5bSLUyczrcgqS4YzZqy0NaCaTiO1NA@mail.gmail.com>
To: Magnus Therning <magnus@therning.org>
X-Mailer: Apple Mail (2.2098)
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Any way to get caml4p to run on ARM
	(cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

> I just did a quick check on a PC.  After `make configure` I modified
> `src/Makefile` like this:
> 
> ~~~
> --- src/Makefile.orig    2015-05-20 14:27:51.887520390 +0200
> +++ src/Makefile    2015-05-20 14:28:18.297382817 +0200
> @@ -5,6 +5,7 @@
> SYNTAX = -tags "syntax(camlp4o),annot,bin_annot,strict_sequence,principal"
> 
> SYNTAX += -tag-line "<static*.*>: -syntax(camlp4o)"
> +SYNTAX += -tag-line "<main.*>: -syntax(camlp4o)"
> 
> FLAGS  = -cflag -g -lflags -g,-linkpkg
> 
> ~~~
> 
> But when comparing the log file (`src/_build/_log`) with and without
> this change there's no difference (i.e. `-syntax(camlp4o)` is present
> on each entry related to any file matching `main.*`).
> 
> I must have misunderstood your instructions.

Indeed, the order in which the tag -tag and -tag-line predicates are taken into account doesn't seem very reliable ...

I've tried the following and it seems to work better:

SYNTAX = -tags "annot,bin_annot,strict_sequence,principal,thread"
SYNTAX += -tag-line "<static*.*> or <main.*>: -syntax(camlp4o)"
SYNTAX += -tag-line "not (<static*.*> or <main.*>): syntax(camlp4o)"

I've opened https://github.com/mirage/mirage/issues/405 to track that.

Thomas

> 
> /M
> 
> -- 
> Magnus Therning                      OpenPGP: 0xAB4DFBA4
> email: magnus@therning.org   jabber: magnus@therning.org
> twitter: magthe               http://therning.org/magnus


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 13:27:58 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 13:27:58 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv42P-0007Gf-Cd; Wed, 20 May 2015 13:27:57 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <magnus@therning.org>) id 1Yv42O-0007GV-3g
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 13:27:56 +0000
Received: from [85.158.137.68] by server-8.bemta-3.messagelabs.com id
	26/54-03730-BDB8C555; Wed, 20 May 2015 13:27:55 +0000
X-Env-Sender: magnus@therning.org
X-Msg-Ref: server-15.tower-31.messagelabs.com!1432128473!10817933!1
X-Originating-IP: [209.85.213.175]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9748 invoked from network); 20 May 2015 13:27:54 -0000
Received: from mail-ig0-f175.google.com (HELO mail-ig0-f175.google.com)
	(209.85.213.175)
	by server-15.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	20 May 2015 13:27:54 -0000
Received: by igbyr2 with SMTP id yr2so102286076igb.0
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 06:27:53 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=4CeHGazachivxpYOuEglUNT3XSaCfxkTX5/qCmmLlnY=;
	b=QaDGSe2wRxXRlBdBxVw6Dbq9Xu2Cg9VQYa5Fp6i2bzDmFdz0jACgpWn1fvXXAIKx5T
	+kLJlvztVOGtgK6FhtRX2wBnMyV8qg4Yxd+7JwNGOMvD+opolW5CVPcBCq7ujiQ0RjFR
	hg6wOZ/IatcfpRTu+DmbeqtR+yC8z1AM0YgoiV9RJCulx0A9m5Esi0r4hW3tZT9wJy/7
	xZMkbF+J5Z3J2gOvJh+6vg1ImtHrsGQZSOlFLbH4KI7MMmlWyHu4S2zx3UpIKJkanPTz
	ZmzCAKs+8VeBdT+NK0i8jEnZ98+GaZglqqHP4C0R9GQe4Jt/6INVbl1o70Fe2pt5QVs/
	97Dw==
X-Gm-Message-State: ALoCoQkBli7b4aPQ9FDQ2QbMLRtCZFfwq5bR+C4a0TxSgEHWZRJ/lslf9RgcK00Yhcfl519c4Hrv
MIME-Version: 1.0
X-Received: by 10.50.33.51 with SMTP id o19mr28355684igi.45.1432128473446;
	Wed, 20 May 2015 06:27:53 -0700 (PDT)
Received: by 10.36.30.11 with HTTP; Wed, 20 May 2015 06:27:53 -0700 (PDT)
In-Reply-To: <690682D3-99A8-4976-8308-021D699E6878@gazagnaire.org>
References: <20150519224544.GA13972@tatooine>
	<E6CFDA08-BA38-42D4-890F-8BE2AE3237D8@gazagnaire.org>
	<66D5BC78-B1D1-4A2D-B21A-0672393CC3B1@gazagnaire.org>
	<CBF7FC0E-A1EF-4CE2-8F35-AFEE9C42F2F6@gazagnaire.org>
	<CAAExw5vWod3MfAR+Lvqg5bSLUyczrcgqS4YzZqy0NaCaTiO1NA@mail.gmail.com>
	<690682D3-99A8-4976-8308-021D699E6878@gazagnaire.org>
Date: Wed, 20 May 2015 15:27:53 +0200
Message-ID: <CAAExw5u=+K1xVKwsnt1j3itSpK05DmReVmVfZcJ-rXKp1X0e5A@mail.gmail.com>
From: Magnus Therning <magnus@therning.org>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Any way to get caml4p to run on ARM
	(cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 20 May 2015 at 15:16, Thomas Gazagnaire <thomas@gazagnaire.org> wrote:
>> I just did a quick check on a PC.  After `make configure` I modified
>> `src/Makefile` like this:
>>
>> ~~~
>> --- src/Makefile.orig    2015-05-20 14:27:51.887520390 +0200
>> +++ src/Makefile    2015-05-20 14:28:18.297382817 +0200
>> @@ -5,6 +5,7 @@
>> SYNTAX = -tags "syntax(camlp4o),annot,bin_annot,strict_sequence,principal"
>>
>> SYNTAX += -tag-line "<static*.*>: -syntax(camlp4o)"
>> +SYNTAX += -tag-line "<main.*>: -syntax(camlp4o)"
>>
>> FLAGS  = -cflag -g -lflags -g,-linkpkg
>>
>> ~~~
>>
>> But when comparing the log file (`src/_build/_log`) with and without
>> this change there's no difference (i.e. `-syntax(camlp4o)` is present
>> on each entry related to any file matching `main.*`).
>>
>> I must have misunderstood your instructions.
>
> Indeed, the order in which the tag -tag and -tag-line predicates are taken into account doesn't seem very reliable ...
>
> I've tried the following and it seems to work better:
>
> SYNTAX = -tags "annot,bin_annot,strict_sequence,principal,thread"
> SYNTAX += -tag-line "<static*.*> or <main.*>: -syntax(camlp4o)"
> SYNTAX += -tag-line "not (<static*.*> or <main.*>): syntax(camlp4o)"
>
> I've opened https://github.com/mirage/mirage/issues/405 to track that.

Excellent!  I've verified it on PC... will try it on my Cubie ASAP :)

I just tried and it looks like it would be enough to use the first and
last line from your solution above (i.e. the middle line doesn't seem
to add anything, which seems logical, but I guess it might be
problematic applying rational thought to the ocaml build tools ;):

~~~
SYNTAX = -tags "annot,bin_annot,strict_sequence,principal,thread"
SYNTAX += -tag-line "not (<static*.*> or <main.*>): syntax(camlp4o)"
~~~

/M

-- 
Magnus Therning                      OpenPGP: 0xAB4DFBA4
email: magnus@therning.org   jabber: magnus@therning.org
twitter: magthe               http://therning.org/magnus

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 13:27:58 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 13:27:58 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv42P-0007Gf-Cd; Wed, 20 May 2015 13:27:57 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <magnus@therning.org>) id 1Yv42O-0007GV-3g
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 13:27:56 +0000
Received: from [85.158.137.68] by server-8.bemta-3.messagelabs.com id
	26/54-03730-BDB8C555; Wed, 20 May 2015 13:27:55 +0000
X-Env-Sender: magnus@therning.org
X-Msg-Ref: server-15.tower-31.messagelabs.com!1432128473!10817933!1
X-Originating-IP: [209.85.213.175]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9748 invoked from network); 20 May 2015 13:27:54 -0000
Received: from mail-ig0-f175.google.com (HELO mail-ig0-f175.google.com)
	(209.85.213.175)
	by server-15.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	20 May 2015 13:27:54 -0000
Received: by igbyr2 with SMTP id yr2so102286076igb.0
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 06:27:53 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=4CeHGazachivxpYOuEglUNT3XSaCfxkTX5/qCmmLlnY=;
	b=QaDGSe2wRxXRlBdBxVw6Dbq9Xu2Cg9VQYa5Fp6i2bzDmFdz0jACgpWn1fvXXAIKx5T
	+kLJlvztVOGtgK6FhtRX2wBnMyV8qg4Yxd+7JwNGOMvD+opolW5CVPcBCq7ujiQ0RjFR
	hg6wOZ/IatcfpRTu+DmbeqtR+yC8z1AM0YgoiV9RJCulx0A9m5Esi0r4hW3tZT9wJy/7
	xZMkbF+J5Z3J2gOvJh+6vg1ImtHrsGQZSOlFLbH4KI7MMmlWyHu4S2zx3UpIKJkanPTz
	ZmzCAKs+8VeBdT+NK0i8jEnZ98+GaZglqqHP4C0R9GQe4Jt/6INVbl1o70Fe2pt5QVs/
	97Dw==
X-Gm-Message-State: ALoCoQkBli7b4aPQ9FDQ2QbMLRtCZFfwq5bR+C4a0TxSgEHWZRJ/lslf9RgcK00Yhcfl519c4Hrv
MIME-Version: 1.0
X-Received: by 10.50.33.51 with SMTP id o19mr28355684igi.45.1432128473446;
	Wed, 20 May 2015 06:27:53 -0700 (PDT)
Received: by 10.36.30.11 with HTTP; Wed, 20 May 2015 06:27:53 -0700 (PDT)
In-Reply-To: <690682D3-99A8-4976-8308-021D699E6878@gazagnaire.org>
References: <20150519224544.GA13972@tatooine>
	<E6CFDA08-BA38-42D4-890F-8BE2AE3237D8@gazagnaire.org>
	<66D5BC78-B1D1-4A2D-B21A-0672393CC3B1@gazagnaire.org>
	<CBF7FC0E-A1EF-4CE2-8F35-AFEE9C42F2F6@gazagnaire.org>
	<CAAExw5vWod3MfAR+Lvqg5bSLUyczrcgqS4YzZqy0NaCaTiO1NA@mail.gmail.com>
	<690682D3-99A8-4976-8308-021D699E6878@gazagnaire.org>
Date: Wed, 20 May 2015 15:27:53 +0200
Message-ID: <CAAExw5u=+K1xVKwsnt1j3itSpK05DmReVmVfZcJ-rXKp1X0e5A@mail.gmail.com>
From: Magnus Therning <magnus@therning.org>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Any way to get caml4p to run on ARM
	(cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 20 May 2015 at 15:16, Thomas Gazagnaire <thomas@gazagnaire.org> wrote:
>> I just did a quick check on a PC.  After `make configure` I modified
>> `src/Makefile` like this:
>>
>> ~~~
>> --- src/Makefile.orig    2015-05-20 14:27:51.887520390 +0200
>> +++ src/Makefile    2015-05-20 14:28:18.297382817 +0200
>> @@ -5,6 +5,7 @@
>> SYNTAX = -tags "syntax(camlp4o),annot,bin_annot,strict_sequence,principal"
>>
>> SYNTAX += -tag-line "<static*.*>: -syntax(camlp4o)"
>> +SYNTAX += -tag-line "<main.*>: -syntax(camlp4o)"
>>
>> FLAGS  = -cflag -g -lflags -g,-linkpkg
>>
>> ~~~
>>
>> But when comparing the log file (`src/_build/_log`) with and without
>> this change there's no difference (i.e. `-syntax(camlp4o)` is present
>> on each entry related to any file matching `main.*`).
>>
>> I must have misunderstood your instructions.
>
> Indeed, the order in which the tag -tag and -tag-line predicates are taken into account doesn't seem very reliable ...
>
> I've tried the following and it seems to work better:
>
> SYNTAX = -tags "annot,bin_annot,strict_sequence,principal,thread"
> SYNTAX += -tag-line "<static*.*> or <main.*>: -syntax(camlp4o)"
> SYNTAX += -tag-line "not (<static*.*> or <main.*>): syntax(camlp4o)"
>
> I've opened https://github.com/mirage/mirage/issues/405 to track that.

Excellent!  I've verified it on PC... will try it on my Cubie ASAP :)

I just tried and it looks like it would be enough to use the first and
last line from your solution above (i.e. the middle line doesn't seem
to add anything, which seems logical, but I guess it might be
problematic applying rational thought to the ocaml build tools ;):

~~~
SYNTAX = -tags "annot,bin_annot,strict_sequence,principal,thread"
SYNTAX += -tag-line "not (<static*.*> or <main.*>): syntax(camlp4o)"
~~~

/M

-- 
Magnus Therning                      OpenPGP: 0xAB4DFBA4
email: magnus@therning.org   jabber: magnus@therning.org
twitter: magthe               http://therning.org/magnus

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 13:40:22 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 13:40:22 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv4EL-0008LH-3y; Wed, 20 May 2015 13:40:17 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amc79@cam.ac.uk>) id 1Yv4EJ-0008Ku-Do
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 13:40:15 +0000
Received: from [193.109.254.147] by server-3.bemta-14.messagelabs.com id
	29/09-03032-CBE8C555; Wed, 20 May 2015 13:40:12 +0000
X-Env-Sender: amc79@cam.ac.uk
X-Msg-Ref: server-14.tower-27.messagelabs.com!1432129211!19238752!1
X-Originating-IP: [131.111.8.140]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 12686 invoked from network); 20 May 2015 13:40:12 -0000
Received: from ppsw-40.csi.cam.ac.uk (HELO ppsw-40.csi.cam.ac.uk)
	(131.111.8.140)
	by server-14.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 20 May 2015 13:40:12 -0000
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from dhcp-172-17-159-68.eduroam.wireless.private.cam.ac.uk
	([172.17.159.68]:53263)
	by ppsw-40.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:587)
	with esmtpsa (PLAIN:amc79) (TLSv1:DHE-RSA-AES256-SHA:256)
	id 1Yv4EF-0001nV-lP (Exim 4.82_3-c0e5623) for
	mirageos-devel@lists.xenproject.org
	(return-path <amc79@cam.ac.uk>); Wed, 20 May 2015 14:40:11 +0100
From: Amir Chaudhry <amc79@cam.ac.uk>
Message-Id: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>
Date: Wed, 20 May 2015 14:40:11 +0100
To: mirageos-devel@lists.xenproject.org
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Subject: [MirageOS-devel] TLS deployments/feedback needed
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGkgZm9sa3MsCgpUaGUgVExTIHdvcmsgaXMgcHJvY2VlZGluZyB3ZWxsIGFuZCB5b3UgbWlnaHQg
aGF2ZSBub3RpY2VkIHRoYXQgaHR0cHM6Ly9taXJhZ2UuaW8gaXMgd29ya2luZywgd2hpY2ggaXMg
dXNpbmcgdGhlIFRMUyBzdGFjay4gIFNpbmNlIHdl4oCZcmUgb24gdGhlIGJyaW5rIG9mIGRvaW5n
IHNvbWUgcmVsZWFzZXMsIGl04oCZcyBpbXBvcnRhbnQgdGhhdCB3ZSBnZXQgYSB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ugc2hvdWxkIHRyeSB0byBtYWtlIHN1
cmUgaXTigJlzIHdvcmtpbmcgd2VsbCB3aGVuIG90aGVycyB0cnkgaXQgb3V0LgoKUGxlYXNlIGRv
IGxldCB1cyBrbm93IGhvdyB5b3UgZ2V0IG9uIQoKVGhhbmtzLApBbWlyCgoKCl9fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCk1pcmFnZU9TLWRldmVsIG1haWxp
bmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpodHRwOi8vbGlzdHMu
eGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 13:40:22 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 13:40:22 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv4EL-0008LH-3y; Wed, 20 May 2015 13:40:17 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amc79@cam.ac.uk>) id 1Yv4EJ-0008Ku-Do
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 13:40:15 +0000
Received: from [193.109.254.147] by server-3.bemta-14.messagelabs.com id
	29/09-03032-CBE8C555; Wed, 20 May 2015 13:40:12 +0000
X-Env-Sender: amc79@cam.ac.uk
X-Msg-Ref: server-14.tower-27.messagelabs.com!1432129211!19238752!1
X-Originating-IP: [131.111.8.140]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 12686 invoked from network); 20 May 2015 13:40:12 -0000
Received: from ppsw-40.csi.cam.ac.uk (HELO ppsw-40.csi.cam.ac.uk)
	(131.111.8.140)
	by server-14.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 20 May 2015 13:40:12 -0000
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from dhcp-172-17-159-68.eduroam.wireless.private.cam.ac.uk
	([172.17.159.68]:53263)
	by ppsw-40.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:587)
	with esmtpsa (PLAIN:amc79) (TLSv1:DHE-RSA-AES256-SHA:256)
	id 1Yv4EF-0001nV-lP (Exim 4.82_3-c0e5623) for
	mirageos-devel@lists.xenproject.org
	(return-path <amc79@cam.ac.uk>); Wed, 20 May 2015 14:40:11 +0100
From: Amir Chaudhry <amc79@cam.ac.uk>
Message-Id: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>
Date: Wed, 20 May 2015 14:40:11 +0100
To: mirageos-devel@lists.xenproject.org
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Subject: [MirageOS-devel] TLS deployments/feedback needed
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.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bmcgYSBzdGF0aWMgd2Vic2l0ZSBj
b3VsZCBwcm9iYWJseSBoYXZlIGEgZ28gYXQgdGhpcyB3aXRoIG1pbmltYWwgcmlzay4gIFVudGls
IHJlY2VudGx5LCBpdCdzIG9ubHkgYmVlbiBkZXBsb3llZCBvbiB0aGUgUGluYXRhIGFuZCB0aGUg
VExTIGhhbmRzaGFrZSBzaXRlLiAgQWx0aG91Z2ggaXTigJlzIHdvcmtlZCB3ZWxsIOKAlCBhbmQg
YmVlbiBzdGFibGUg4oCUIGZvciB0aG9zZSBzaXRlcywgd2Ugc2hvdWxkIHRyeSB0byBtYWtlIHN1
cmUgaXTigJlzIHdvcmtpbmcgd2VsbCB3aGVuIG90aGVycyB0cnkgaXQgb3V0LgoKUGxlYXNlIGRv
IGxldCB1cyBrbm93IGhvdyB5b3UgZ2V0IG9uIQoKVGhhbmtzLApBbWlyCgoKCl9fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCk1pcmFnZU9TLWRldmVsIG1haWxp
bmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpodHRwOi8vbGlzdHMu
eGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 13:43:27 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 13:43:27 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv4HP-0000To-2M; Wed, 20 May 2015 13:43:27 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1Yv4HO-0000TY-55
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 13:43:26 +0000
Received: from [193.109.254.147] by server-7.bemta-14.messagelabs.com id
	DC/B7-03202-D7F8C555; Wed, 20 May 2015 13:43:25 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-10.tower-27.messagelabs.com!1432129404!19241459!1
X-Originating-IP: [209.85.212.176]
X-SpamReason: No, hits=0.6 required=7.0 tests=MAILTO_TO_SPAM_ADDR, RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9978 invoked from network); 20 May 2015 13:43:24 -0000
Received: from mail-wi0-f176.google.com (HELO mail-wi0-f176.google.com)
	(209.85.212.176)
	by server-10.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	20 May 2015 13:43:24 -0000
Received: by wibt6 with SMTP id t6so60670103wib.0
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 06:43:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type:content-transfer-encoding;
	bh=s5FxKp56j62AHCp+pA4eVnc7XF3+xb2PHdzwUBpRu1g=;
	b=wTpsY0HTCeX6PfKYYDAxY45N1LiR/89PyY2a0r6Uvz1F5ULKcvGWCiGgMi3AyInPjB
	2rxDMuw5qWXDKf5IhLCM0ahJyF5P4SAPMi/PR2mO1Ekp8kgRUC4VN2nygcPkCfsMweU7
	syxXVp1t+W+XzwmtMjH1myiZelaFgNXrKKSD5VPzSJ52K6KInfTyA8VsJFdTknzK2cZj
	kpTwcZK0Oqhxt+Sb1Ycy2jD8rwQM/aQ2Fq8vhEa+iXCrs6jbTXfQ7mou94ZUE+t6/+xA
	r8n+WBmdrfNRqblbd/YJ/ghy+bMIken7MXkakobnlMH3Nwa9QHS7PP4dngusGhP0GK3X
	zizw==
MIME-Version: 1.0
X-Received: by 10.180.73.230 with SMTP id o6mr42618069wiv.11.1432129404090;
	Wed, 20 May 2015 06:43:24 -0700 (PDT)
Received: by 10.28.226.193 with HTTP; Wed, 20 May 2015 06:43:24 -0700 (PDT)
In-Reply-To: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>
References: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>
Date: Wed, 20 May 2015 14:43:24 +0100
X-Google-Sender-Auth: UYZWTob7hVq6WIJtKgG3Nm_52tk
Message-ID: <CAN2Hq072a5SOVKYtK-NUC0tgkHqAfMg4Wci2X=e1BnK4GfPX=w@mail.gmail.com>
From: Richard Mortier <mort@cantab.net>
To: Amir Chaudhry <amc79@cam.ac.uk>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] TLS deployments/feedback needed
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Happy to give it a go, not sure how soon I'll be able to get to it. (I
have several related TODOs about my website though, so perhaps on
Friday.)

ISTR there was talk of producing step-by-step instructions for how to
handle the keys, certs etc required -- did that happen yet? Got a
pointer?

On 20 May 2015 at 14:40, Amir Chaudhry <amc79@cam.ac.uk> wrote:
> Hi folks,
>
> The TLS work is proceeding well and you might have noticed that https://mirage.io is working, which is using the TLS stack.  Since we're on the brink of doing some releases, it's important that we get a few more actual deployments out there to gather more feedback and highlight any issues.
>
> I'm inviting folks on this list to try out OCaml-TLS with some of the things they've already built.  Specifically, I'm wondering if:
>
> Thomas Leonard -- Would you (have you already) got the new stuff working with your REST service?  How about Cuekeeper?
>
> Mindy Preston -- Would you up for trying this out on your static website (i.e. run https://somerandomidiot.com)?
>
> Mort -- As for Mindy, would you be able to set up https://mort.io?
>
> In fact, *anyone* running a static website could probably have a go at this with minimal risk.  Until recently, it's only been deployed on the Pinata and the TLS handshake site.  Although it's worked well -- and been stable -- for those sites, we should try to make sure it's working well when others try it out.
>
> Please do let us know how you get on!
>
> Thanks,
> Amir
>
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel



-- 
Richard Mortier
mort@cantab.net

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 13:43:27 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 13:43:27 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv4HP-0000To-2M; Wed, 20 May 2015 13:43:27 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1Yv4HO-0000TY-55
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 13:43:26 +0000
Received: from [193.109.254.147] by server-7.bemta-14.messagelabs.com id
	DC/B7-03202-D7F8C555; Wed, 20 May 2015 13:43:25 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-10.tower-27.messagelabs.com!1432129404!19241459!1
X-Originating-IP: [209.85.212.176]
X-SpamReason: No, hits=0.6 required=7.0 tests=MAILTO_TO_SPAM_ADDR, RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9978 invoked from network); 20 May 2015 13:43:24 -0000
Received: from mail-wi0-f176.google.com (HELO mail-wi0-f176.google.com)
	(209.85.212.176)
	by server-10.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	20 May 2015 13:43:24 -0000
Received: by wibt6 with SMTP id t6so60670103wib.0
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 06:43:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type:content-transfer-encoding;
	bh=s5FxKp56j62AHCp+pA4eVnc7XF3+xb2PHdzwUBpRu1g=;
	b=wTpsY0HTCeX6PfKYYDAxY45N1LiR/89PyY2a0r6Uvz1F5ULKcvGWCiGgMi3AyInPjB
	2rxDMuw5qWXDKf5IhLCM0ahJyF5P4SAPMi/PR2mO1Ekp8kgRUC4VN2nygcPkCfsMweU7
	syxXVp1t+W+XzwmtMjH1myiZelaFgNXrKKSD5VPzSJ52K6KInfTyA8VsJFdTknzK2cZj
	kpTwcZK0Oqhxt+Sb1Ycy2jD8rwQM/aQ2Fq8vhEa+iXCrs6jbTXfQ7mou94ZUE+t6/+xA
	r8n+WBmdrfNRqblbd/YJ/ghy+bMIken7MXkakobnlMH3Nwa9QHS7PP4dngusGhP0GK3X
	zizw==
MIME-Version: 1.0
X-Received: by 10.180.73.230 with SMTP id o6mr42618069wiv.11.1432129404090;
	Wed, 20 May 2015 06:43:24 -0700 (PDT)
Received: by 10.28.226.193 with HTTP; Wed, 20 May 2015 06:43:24 -0700 (PDT)
In-Reply-To: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>
References: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>
Date: Wed, 20 May 2015 14:43:24 +0100
X-Google-Sender-Auth: UYZWTob7hVq6WIJtKgG3Nm_52tk
Message-ID: <CAN2Hq072a5SOVKYtK-NUC0tgkHqAfMg4Wci2X=e1BnK4GfPX=w@mail.gmail.com>
From: Richard Mortier <mort@cantab.net>
To: Amir Chaudhry <amc79@cam.ac.uk>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] TLS deployments/feedback needed
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Happy to give it a go, not sure how soon I'll be able to get to it. (I
have several related TODOs about my website though, so perhaps on
Friday.)

ISTR there was talk of producing step-by-step instructions for how to
handle the keys, certs etc required -- did that happen yet? Got a
pointer?

On 20 May 2015 at 14:40, Amir Chaudhry <amc79@cam.ac.uk> wrote:
> Hi folks,
>
> The TLS work is proceeding well and you might have noticed that https://mirage.io is working, which is using the TLS stack.  Since we're on the brink of doing some releases, it's important that we get a few more actual deployments out there to gather more feedback and highlight any issues.
>
> I'm inviting folks on this list to try out OCaml-TLS with some of the things they've already built.  Specifically, I'm wondering if:
>
> Thomas Leonard -- Would you (have you already) got the new stuff working with your REST service?  How about Cuekeeper?
>
> Mindy Preston -- Would you up for trying this out on your static website (i.e. run https://somerandomidiot.com)?
>
> Mort -- As for Mindy, would you be able to set up https://mort.io?
>
> In fact, *anyone* running a static website could probably have a go at this with minimal risk.  Until recently, it's only been deployed on the Pinata and the TLS handshake site.  Although it's worked well -- and been stable -- for those sites, we should try to make sure it's working well when others try it out.
>
> Please do let us know how you get on!
>
> Thanks,
> Amir
>
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel



-- 
Richard Mortier
mort@cantab.net

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 13:48:36 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 13:48:36 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv4MN-0000ox-Gn; Wed, 20 May 2015 13:48:35 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amc79@cam.ac.uk>) id 1Yv4MM-0000oq-SU
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 13:48:34 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	68/61-03040-2B09C555; Wed, 20 May 2015 13:48:34 +0000
X-Env-Sender: amc79@cam.ac.uk
X-Msg-Ref: server-14.tower-31.messagelabs.com!1432129713!8508527!1
X-Originating-IP: [131.111.8.140]
X-SpamReason: No, hits=0.3 required=7.0 tests=MAILTO_TO_SPAM_ADDR
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 18294 invoked from network); 20 May 2015 13:48:33 -0000
Received: from ppsw-40.csi.cam.ac.uk (HELO ppsw-40.csi.cam.ac.uk)
	(131.111.8.140)
	by server-14.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 20 May 2015 13:48:33 -0000
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from dhcp-172-17-159-68.eduroam.wireless.private.cam.ac.uk
	([172.17.159.68]:53652)
	by ppsw-40.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:25)
	with esmtpsa (PLAIN:amc79) (TLSv1:DHE-RSA-AES256-SHA:256)
	id 1Yv4MK-0004Uy-ls (Exim 4.82_3-c0e5623)
	(return-path <amc79@cam.ac.uk>); Wed, 20 May 2015 14:48:32 +0100
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Amir Chaudhry <amc79@cam.ac.uk>
In-Reply-To: <CAN2Hq072a5SOVKYtK-NUC0tgkHqAfMg4Wci2X=e1BnK4GfPX=w@mail.gmail.com>
Date: Wed, 20 May 2015 14:48:32 +0100
Message-Id: <64B12B30-A783-48FC-AD97-A78FA4680AE9@cam.ac.uk>
References: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>
	<CAN2Hq072a5SOVKYtK-NUC0tgkHqAfMg4Wci2X=e1BnK4GfPX=w@mail.gmail.com>
To: Richard Mortier <mort@cantab.net>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] TLS deployments/feedback needed
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: quoted-printable
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


> On 20 May 2015, at 14:43, Richard Mortier <mort@cantab.net> wrote:
> =

> Happy to give it a go, not sure how soon I'll be able to get to it. (I
> have several related TODOs about my website though, so perhaps on
> Friday.)

Thanks and Friday would be fine :)

> ISTR there was talk of producing step-by-step instructions for how to
> handle the keys, certs etc required -- did that happen yet? Got a
> pointer?

I think Anil was going to put something together that would take a reader f=
rom getting a certificate through to build and deploy (based on his experie=
nce w doing exactly that via Gandi).  That=92s not done yet as he=92s had t=
o work on other issues.  =


If anyone else on the list would like to have a go at putting that together=
, it would be very useful!

AC

> =

> On 20 May 2015 at 14:40, Amir Chaudhry <amc79@cam.ac.uk> wrote:
>> Hi folks,
>> =

>> The TLS work is proceeding well and you might have noticed that https://=
mirage.io is working, which is using the TLS stack.  Since we're on the bri=
nk of doing some releases, it's important that we get a few more actual dep=
loyments out there to gather more feedback and highlight any issues.
>> =

>> I'm inviting folks on this list to try out OCaml-TLS with some of the th=
ings they've already built.  Specifically, I'm wondering if:
>> =

>> Thomas Leonard -- Would you (have you already) got the new stuff working=
 with your REST service?  How about Cuekeeper?
>> =

>> Mindy Preston -- Would you up for trying this out on your static website=
 (i.e. run https://somerandomidiot.com)?
>> =

>> Mort -- As for Mindy, would you be able to set up https://mort.io?
>> =

>> In fact, *anyone* running a static website could probably have a go at t=
his with minimal risk.  Until recently, it's only been deployed on the Pina=
ta and the TLS handshake site.  Although it's worked well -- and been stabl=
e -- for those sites, we should try to make sure it's working well when oth=
ers try it out.
>> =

>> Please do let us know how you get on!
>> =

>> Thanks,
>> Amir
>> =

>> =

>> =

>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> =

> =

> =

> -- =

> Richard Mortier
> mort@cantab.net


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 13:48:36 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 13:48:36 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv4MN-0000ox-Gn; Wed, 20 May 2015 13:48:35 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amc79@cam.ac.uk>) id 1Yv4MM-0000oq-SU
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 13:48:34 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	68/61-03040-2B09C555; Wed, 20 May 2015 13:48:34 +0000
X-Env-Sender: amc79@cam.ac.uk
X-Msg-Ref: server-14.tower-31.messagelabs.com!1432129713!8508527!1
X-Originating-IP: [131.111.8.140]
X-SpamReason: No, hits=0.3 required=7.0 tests=MAILTO_TO_SPAM_ADDR
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 18294 invoked from network); 20 May 2015 13:48:33 -0000
Received: from ppsw-40.csi.cam.ac.uk (HELO ppsw-40.csi.cam.ac.uk)
	(131.111.8.140)
	by server-14.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 20 May 2015 13:48:33 -0000
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from dhcp-172-17-159-68.eduroam.wireless.private.cam.ac.uk
	([172.17.159.68]:53652)
	by ppsw-40.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:25)
	with esmtpsa (PLAIN:amc79) (TLSv1:DHE-RSA-AES256-SHA:256)
	id 1Yv4MK-0004Uy-ls (Exim 4.82_3-c0e5623)
	(return-path <amc79@cam.ac.uk>); Wed, 20 May 2015 14:48:32 +0100
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Amir Chaudhry <amc79@cam.ac.uk>
In-Reply-To: <CAN2Hq072a5SOVKYtK-NUC0tgkHqAfMg4Wci2X=e1BnK4GfPX=w@mail.gmail.com>
Date: Wed, 20 May 2015 14:48:32 +0100
Message-Id: <64B12B30-A783-48FC-AD97-A78FA4680AE9@cam.ac.uk>
References: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>
	<CAN2Hq072a5SOVKYtK-NUC0tgkHqAfMg4Wci2X=e1BnK4GfPX=w@mail.gmail.com>
To: Richard Mortier <mort@cantab.net>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] TLS deployments/feedback needed
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: quoted-printable
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


> On 20 May 2015, at 14:43, Richard Mortier <mort@cantab.net> wrote:
> =

> Happy to give it a go, not sure how soon I'll be able to get to it. (I
> have several related TODOs about my website though, so perhaps on
> Friday.)

Thanks and Friday would be fine :)

> ISTR there was talk of producing step-by-step instructions for how to
> handle the keys, certs etc required -- did that happen yet? Got a
> pointer?

I think Anil was going to put something together that would take a reader f=
rom getting a certificate through to build and deploy (based on his experie=
nce w doing exactly that via Gandi).  That=92s not done yet as he=92s had t=
o work on other issues.  =


If anyone else on the list would like to have a go at putting that together=
, it would be very useful!

AC

> =

> On 20 May 2015 at 14:40, Amir Chaudhry <amc79@cam.ac.uk> wrote:
>> Hi folks,
>> =

>> The TLS work is proceeding well and you might have noticed that https://=
mirage.io is working, which is using the TLS stack.  Since we're on the bri=
nk of doing some releases, it's important that we get a few more actual dep=
loyments out there to gather more feedback and highlight any issues.
>> =

>> I'm inviting folks on this list to try out OCaml-TLS with some of the th=
ings they've already built.  Specifically, I'm wondering if:
>> =

>> Thomas Leonard -- Would you (have you already) got the new stuff working=
 with your REST service?  How about Cuekeeper?
>> =

>> Mindy Preston -- Would you up for trying this out on your static website=
 (i.e. run https://somerandomidiot.com)?
>> =

>> Mort -- As for Mindy, would you be able to set up https://mort.io?
>> =

>> In fact, *anyone* running a static website could probably have a go at t=
his with minimal risk.  Until recently, it's only been deployed on the Pina=
ta and the TLS handshake site.  Although it's worked well -- and been stabl=
e -- for those sites, we should try to make sure it's working well when oth=
ers try it out.
>> =

>> Please do let us know how you get on!
>> =

>> Thanks,
>> Amir
>> =

>> =

>> =

>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> =

> =

> =

> -- =

> Richard Mortier
> mort@cantab.net


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 13:51:51 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 13:51:51 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv4PX-00011H-6O; Wed, 20 May 2015 13:51:51 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mindy@somerandomidiot.com>) id 1Yv4PW-00011A-Cb
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 13:51:50 +0000
Received: from [85.158.139.211] by server-14.bemta-5.messagelabs.com id
	EF/86-02819-5719C555; Wed, 20 May 2015 13:51:49 +0000
X-Env-Sender: mindy@somerandomidiot.com
X-Msg-Ref: server-9.tower-206.messagelabs.com!1432129909!11549116!1
X-Originating-IP: [217.70.183.196]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogMjE3LjcwLjE4My4xOTYgPT4gMzk1MTY=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 22845 invoked from network); 20 May 2015 13:51:49 -0000
Received: from relay4-d.mail.gandi.net (HELO relay4-d.mail.gandi.net)
	(217.70.183.196)
	by server-9.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 20 May 2015 13:51:49 -0000
Received: from mfilter20-d.gandi.net (mfilter20-d.gandi.net [217.70.178.148])
	by relay4-d.mail.gandi.net (Postfix) with ESMTP id F095D1720D2
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 15:51:48 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mfilter20-d.gandi.net
Received: from relay4-d.mail.gandi.net ([217.70.183.196])
	by mfilter20-d.gandi.net (mfilter20-d.gandi.net [10.0.15.180])
	(amavisd-new, port 10024)
	with ESMTP id VqgpOMLvUIQs for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 15:51:47 +0200 (CEST)
X-Originating-IP: 131.111.184.18
Received: from [172.17.25.190] (global-1-18.nat.csx.cam.ac.uk [131.111.184.18])
	(Authenticated sender: guybrush@somerandomidiot.com)
	by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 6845D172095
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 15:51:47 +0200 (CEST)
Message-ID: <555C9128.7060500@somerandomidiot.com>
Date: Wed, 20 May 2015 14:50:32 +0100
From: Mindy <mindy@somerandomidiot.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: mirageos-devel@lists.xenproject.org
References: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>	<CAN2Hq072a5SOVKYtK-NUC0tgkHqAfMg4Wci2X=e1BnK4GfPX=w@mail.gmail.com>
	<64B12B30-A783-48FC-AD97-A78FA4680AE9@cam.ac.uk>
In-Reply-To: <64B12B30-A783-48FC-AD97-A78FA4680AE9@cam.ac.uk>
Subject: Re: [MirageOS-devel] TLS deployments/feedback needed
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="windows-1252"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 05/20/2015 02:48 PM, Amir Chaudhry wrote:
>> On 20 May 2015, at 14:43, Richard Mortier <mort@cantab.net> wrote:
>>
>> Happy to give it a go, not sure how soon I'll be able to get to it. (I
>> have several related TODOs about my website though, so perhaps on
>> Friday.)
> Thanks and Friday would be fine :)
>
>> ISTR there was talk of producing step-by-step instructions for how to
>> handle the keys, certs etc required -- did that happen yet? Got a
>> pointer?
> I think Anil was going to put something together that would take a reader=
 from getting a certificate through to build and deploy (based on his exper=
ience w doing exactly that via Gandi).  That=92s not done yet as he=92s had=
 to work on other issues.
>
> If anyone else on the list would like to have a go at putting that togeth=
er, it would be very useful!
I'll take a run at setting it up and writing a HOWTO this afternoon, =

although the earliest I'll be able to actually publicly deploy anything =

is Friday.

-Mindy

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 13:51:51 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 13:51:51 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv4PX-00011H-6O; Wed, 20 May 2015 13:51:51 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mindy@somerandomidiot.com>) id 1Yv4PW-00011A-Cb
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 13:51:50 +0000
Received: from [85.158.139.211] by server-14.bemta-5.messagelabs.com id
	EF/86-02819-5719C555; Wed, 20 May 2015 13:51:49 +0000
X-Env-Sender: mindy@somerandomidiot.com
X-Msg-Ref: server-9.tower-206.messagelabs.com!1432129909!11549116!1
X-Originating-IP: [217.70.183.196]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogMjE3LjcwLjE4My4xOTYgPT4gMzk1MTY=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 22845 invoked from network); 20 May 2015 13:51:49 -0000
Received: from relay4-d.mail.gandi.net (HELO relay4-d.mail.gandi.net)
	(217.70.183.196)
	by server-9.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 20 May 2015 13:51:49 -0000
Received: from mfilter20-d.gandi.net (mfilter20-d.gandi.net [217.70.178.148])
	by relay4-d.mail.gandi.net (Postfix) with ESMTP id F095D1720D2
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 15:51:48 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mfilter20-d.gandi.net
Received: from relay4-d.mail.gandi.net ([217.70.183.196])
	by mfilter20-d.gandi.net (mfilter20-d.gandi.net [10.0.15.180])
	(amavisd-new, port 10024)
	with ESMTP id VqgpOMLvUIQs for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 15:51:47 +0200 (CEST)
X-Originating-IP: 131.111.184.18
Received: from [172.17.25.190] (global-1-18.nat.csx.cam.ac.uk [131.111.184.18])
	(Authenticated sender: guybrush@somerandomidiot.com)
	by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 6845D172095
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 15:51:47 +0200 (CEST)
Message-ID: <555C9128.7060500@somerandomidiot.com>
Date: Wed, 20 May 2015 14:50:32 +0100
From: Mindy <mindy@somerandomidiot.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: mirageos-devel@lists.xenproject.org
References: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>	<CAN2Hq072a5SOVKYtK-NUC0tgkHqAfMg4Wci2X=e1BnK4GfPX=w@mail.gmail.com>
	<64B12B30-A783-48FC-AD97-A78FA4680AE9@cam.ac.uk>
In-Reply-To: <64B12B30-A783-48FC-AD97-A78FA4680AE9@cam.ac.uk>
Subject: Re: [MirageOS-devel] TLS deployments/feedback needed
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="windows-1252"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 05/20/2015 02:48 PM, Amir Chaudhry wrote:
>> On 20 May 2015, at 14:43, Richard Mortier <mort@cantab.net> wrote:
>>
>> Happy to give it a go, not sure how soon I'll be able to get to it. (I
>> have several related TODOs about my website though, so perhaps on
>> Friday.)
> Thanks and Friday would be fine :)
>
>> ISTR there was talk of producing step-by-step instructions for how to
>> handle the keys, certs etc required -- did that happen yet? Got a
>> pointer?
> I think Anil was going to put something together that would take a reader=
 from getting a certificate through to build and deploy (based on his exper=
ience w doing exactly that via Gandi).  That=92s not done yet as he=92s had=
 to work on other issues.
>
> If anyone else on the list would like to have a go at putting that togeth=
er, it would be very useful!
I'll take a run at setting it up and writing a HOWTO this afternoon, =

although the earliest I'll be able to actually publicly deploy anything =

is Friday.

-Mindy

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 13:57:01 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 13:57:01 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv4UW-0001JD-1k; Wed, 20 May 2015 13:57:00 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1Yv4UU-0001Iy-FS
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 13:56:58 +0000
Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id
	A4/2A-02633-9A29C555; Wed, 20 May 2015 13:56:57 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-12.tower-27.messagelabs.com!1432130216!19255256!1
X-Originating-IP: [209.85.215.54]
X-SpamReason: No, hits=0.6 required=7.0 tests=MAILTO_TO_SPAM_ADDR, RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 4396 invoked from network); 20 May 2015 13:56:56 -0000
Received: from mail-la0-f54.google.com (HELO mail-la0-f54.google.com)
	(209.85.215.54)
	by server-12.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	20 May 2015 13:56:56 -0000
Received: by lagr1 with SMTP id r1so74781468lag.0
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 06:56:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type:content-transfer-encoding;
	bh=t1JX4TU4M9nxsJGNt5KNgdR71MYFDH4Uhuho+Kj45uo=;
	b=ow4+7MuaxjZByqe89W7sBz/ankSfnooFpiAOtz6ZDH7PoIDZwqUY/wnBqDd5Vv4Ofk
	bWnyyVXQr6zT2K58sEse+fKw1j/T8+criBW8NfX9V/jalc9Vs4tjTwmL+vU2EGllvEML
	1DJqtBO1XoSw2ttzQNYv9weBZ6axwNDSjvEDMQ06TtHnN/pyZMiND/rnKLGE8LsWzrgo
	9dizDgCA4a61CLbNA1nZkMgq/o1D5YLELiiqLe17Dln/I+7mqj+yaBsaYW+FxXHrwfH1
	mrS+7U2lPAp5WKDlXa5G3p8Yx+q8W6S/u1uRxETQ8SIwDSi4CaOm8H1GIpovJq7MGz8q
	j3sw==
MIME-Version: 1.0
X-Received: by 10.152.43.110 with SMTP id v14mr25758861lal.4.1432130215986;
	Wed, 20 May 2015 06:56:55 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Wed, 20 May 2015 06:56:55 -0700 (PDT)
In-Reply-To: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>
References: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>
Date: Wed, 20 May 2015 14:56:55 +0100
Message-ID: <CAG4opy9H7Nno4fPkFCnqHVfZAjEMP3S2zDzF4_Qwv5gfJREZDg@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Amir Chaudhry <amc79@cam.ac.uk>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] TLS deployments/feedback needed
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gMjAgTWF5IDIwMTUgYXQgMTQ6NDAsIEFtaXIgQ2hhdWRocnkgPGFtYzc5QGNhbS5hYy51az4g
d3JvdGU6Cj4gSGkgZm9sa3MsCj4KPiBUaGUgVExTIHdvcmsgaXMgcHJvY2VlZGluZyB3ZWxsIGFu
ZCB5b3UgbWlnaHQgaGF2ZSBub3RpY2VkIHRoYXQgaHR0cHM6Ly9taXJhZ2UuaW8gaXMgd29ya2lu
Zywgd2hpY2ggaXMgdXNpbmcgdGhlIFRMUyBzdGFjay4gIFNpbmNlIHdl4oCZcmUgb24gdGhlIGJy
aW5rIG9mIGRvaW5nIHNvbWUgcmVsZWFzZXMsIGl04oCZcyBpbXBvcnRhbnQgdGhhdCB3ZSBnZXQg
YSBmZXcgbW9yZSBhY3R1YWwgZGVwbG95bWVudHMgb3V0IHRoZXJlIHRvIGdhdGhlciBtb3JlIGZl
ZWRiYWNrIGFuZCBoaWdobGlnaHQgYW55IGlzc3Vlcy4KPgo+IEnigJltIGludml0aW5nIGZvbGtz
IG9uIHRoaXMgbGlzdCB0byB0cnkgb3V0IE9DYW1sLVRMUyB3aXRoIHNvbWUgb2YgdGhlIHRoaW5n
cyB0aGV54oCZdmUgYWxyZWFkeSBidWlsdC4gIFNwZWNpZmljYWxseSwgSeKAmW0gd29uZGVyaW5n
IGlmOgo+Cj4gVGhvbWFzIExlb25hcmQg4oCUIFdvdWxkIHlvdSAoaGF2ZSB5b3UgYWxyZWFkeSkg
Z290IHRoZSBuZXcgc3R1ZmYgd29ya2luZyB3aXRoIHlvdXIgUkVTVCBzZXJ2aWNlPyAgSG93IGFi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YWxseToKCiAgaHR0cHM6Ly9naXRodWIu
Y29tL3NhbW9odC9taXJhZ2Utc2VhbAoKCi0tIApEciBUaG9tYXMgTGVvbmFyZCAgICAgICAgaHR0
cDovL3Jvc2NpZHVzLmNvbS9ibG9nLwpHUEc6IERBOTggMjVBRSBDQUQwIDg5NzUgN0NEQSAgQkQ4
RSAwNzEzIDNGOTYgQ0E3NCBEOEJBCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fXwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKTWlyYWdlT1MtZGV2ZWxA
bGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4v
bWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 13:57:01 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 13:57:01 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv4UW-0001JD-1k; Wed, 20 May 2015 13:57:00 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1Yv4UU-0001Iy-FS
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 13:56:58 +0000
Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id
	A4/2A-02633-9A29C555; Wed, 20 May 2015 13:56:57 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-12.tower-27.messagelabs.com!1432130216!19255256!1
X-Originating-IP: [209.85.215.54]
X-SpamReason: No, hits=0.6 required=7.0 tests=MAILTO_TO_SPAM_ADDR, RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 4396 invoked from network); 20 May 2015 13:56:56 -0000
Received: from mail-la0-f54.google.com (HELO mail-la0-f54.google.com)
	(209.85.215.54)
	by server-12.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	20 May 2015 13:56:56 -0000
Received: by lagr1 with SMTP id r1so74781468lag.0
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 06:56:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type:content-transfer-encoding;
	bh=t1JX4TU4M9nxsJGNt5KNgdR71MYFDH4Uhuho+Kj45uo=;
	b=ow4+7MuaxjZByqe89W7sBz/ankSfnooFpiAOtz6ZDH7PoIDZwqUY/wnBqDd5Vv4Ofk
	bWnyyVXQr6zT2K58sEse+fKw1j/T8+criBW8NfX9V/jalc9Vs4tjTwmL+vU2EGllvEML
	1DJqtBO1XoSw2ttzQNYv9weBZ6axwNDSjvEDMQ06TtHnN/pyZMiND/rnKLGE8LsWzrgo
	9dizDgCA4a61CLbNA1nZkMgq/o1D5YLELiiqLe17Dln/I+7mqj+yaBsaYW+FxXHrwfH1
	mrS+7U2lPAp5WKDlXa5G3p8Yx+q8W6S/u1uRxETQ8SIwDSi4CaOm8H1GIpovJq7MGz8q
	j3sw==
MIME-Version: 1.0
X-Received: by 10.152.43.110 with SMTP id v14mr25758861lal.4.1432130215986;
	Wed, 20 May 2015 06:56:55 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Wed, 20 May 2015 06:56:55 -0700 (PDT)
In-Reply-To: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>
References: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>
Date: Wed, 20 May 2015 14:56:55 +0100
Message-ID: <CAG4opy9H7Nno4fPkFCnqHVfZAjEMP3S2zDzF4_Qwv5gfJREZDg@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Amir Chaudhry <amc79@cam.ac.uk>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] TLS deployments/feedback needed
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gMjAgTWF5IDIwMTUgYXQgMTQ6NDAsIEFtaXIgQ2hhdWRocnkgPGFtYzc5QGNhbS5hYy51az4g
d3JvdGU6Cj4gSGkgZm9sa3MsCj4KPiBUaGUgVExTIHdvcmsgaXMgcHJvY2VlZGluZyB3ZWxsIGFu
ZCB5b3UgbWlnaHQgaGF2ZSBub3RpY2VkIHRoYXQgaHR0cHM6Ly9taXJhZ2UuaW8gaXMgd29ya2lu
Zywgd2hpY2ggaXMgdXNpbmcgdGhlIFRMUyBzdGFjay4gIFNpbmNlIHdl4oCZcmUgb24gdGhlIGJy
aW5rIG9mIGRvaW5nIHNvbWUgcmVsZWFzZXMsIGl04oCZcyBpbXBvcnRhbnQgdGhhdCB3ZSBnZXQg
YSBmZXcgbW9yZSBhY3R1YWwgZGVwbG95bWVudHMgb3V0IHRoZXJlIHRvIGdhdGhlciBtb3JlIGZl
ZWRiY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TIGhhbmRzaGFrZSBzaXRlLiAg
QWx0aG91Z2ggaXTigJlzIHdvcmtlZCB3ZWxsIOKAlCBhbmQgYmVlbiBzdGFibGUg4oCUIGZvciB0
aG9zZSBzaXRlcywgd2Ugc2hvdWxkIHRyeSB0byBtYWtlIHN1cmUgaXTigJlzIHdvcmtpbmcgd2Vs
bCB3aGVuIG90aGVycyB0cnkgaXQgb3V0LgoKTm90ZSB0aGF0IFRob21hcyBHYXphZ25haXJlIGhh
cyBtYWRlIGEgdmVyeSBuaWNlIHRvb2wgZm9yIHR1cm5pbmcKc3RhdGljIHdlYi1zaXRlcyBpbnRv
IFRMUy1lbmFibGVkIHVuaWtlcm5lbHMgYXV0b21hdGljYWxseToKCiAgaHR0cHM6Ly9naXRodWIu
Y29tL3NhbW9odC9taXJhZ2Utc2VhbAoKCi0tIApEciBUaG9tYXMgTGVvbmFyZCAgICAgICAgaHR0
cDovL3Jvc2NpZHVzLmNvbS9ibG9nLwpHUEc6IERBOTggMjVBRSBDQUQwIDg5NzUgN0NEQSAgQkQ4
RSAwNzEzIDNGOTYgQ0E3NCBEOEJBCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fXwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKTWlyYWdlT1MtZGV2ZWxA
bGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4v
bWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 14:14:30 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 14:14:30 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv4lJ-0003Lq-JI; Wed, 20 May 2015 14:14:21 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <hannes@mehnert.org>) id 1Yv4lI-0003Le-5X
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 14:14:20 +0000
Received: from [85.158.139.211] by server-4.bemta-5.messagelabs.com id
	2C/4E-03195-BB69C555; Wed, 20 May 2015 14:14:19 +0000
X-Env-Sender: hannes@mehnert.org
X-Msg-Ref: server-12.tower-206.messagelabs.com!1432131258!11563833!1
X-Originating-IP: [213.73.89.200]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 25543 invoked from network); 20 May 2015 14:14:18 -0000
Received: from mail.mehnert.org (HELO mail.mehnert.org) (213.73.89.200)
	by server-12.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 20 May 2015 14:14:18 -0000
Received: from [172.17.159.95] (global-1-26.nat.csx.cam.ac.uk [131.111.184.26])
	(using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
	(Client CN "hannes@mehnert.org",
	Issuer "mehnert root CA" (not verified))
	by mail.mehnert.org (Postfix) with ESMTPS id 6C54B1F68
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 16:14:17 +0200 (CEST)
Message-ID: <555C96A6.6060100@mehnert.org>
Date: Wed, 20 May 2015 15:13:58 +0100
From: Hannes Mehnert <hannes@mehnert.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
	rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: mirageos-devel@lists.xenproject.org
References: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>
In-Reply-To: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>
OpenPGP: id=11B5464249B5BD858FFF6328BC896588DF7C28EE
Content-Length: 3810
Subject: Re: [MirageOS-devel] TLS deployments/feedback needed
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

LS0tLS1CRUdJTiBQR1AgU0lHTkVEIE1FU1NBR0UtLS0tLQpIYXNoOiBTSEEzODQKCkhleSwKCgpJ
IGJyaWVmbHkgd3JvdGUgdXAgd2hhdCBpcyB0aGUgY3VycmVudCBzZXQgb2YgdG9vbHMgYXZhaWxh
YmxlOgpodHRwczovL2dpdGh1Yi5jb20vaGFubmVzbS9taXJhZ2Utd3d3L2Jsb2IvdGxzLXRvb2xz
L3RtcGwvYmxvZy91c2luZy10bHMKLm1kCgpJdCB3b3VsZCBiZSBncmVhdCB0byBleHRlbmQgdGhp
cyB3aXRoIHRoaW5ncyBJIGZvcmdvdCBhbmQgd2l0aCBtb3JlCmRldGFpbGVkIGluc3RydWN0aW9u
cyBob3cgdG8gdXNlIHRoZW0gYWN0dWFsbHkgKHBsZWFzZSBiZWFyIHdpdGggbWUsCnRoZSB0bHNj
bGllbnQgaXMgbm90IHlldCByZWFkeSwgYW5kIGRlbWFuZHMgc29tZSBjaGFuZ2VzIHRvIFguNTA5
IEFQSSkKCgpoYW5uZXMKCk9uIDA1LzIwLzIwMTUgMTQ6NDAsIEFtaXIgQ2hhdWRocnkg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2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 14:14:30 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 14:14:30 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv4lJ-0003Lq-JI; Wed, 20 May 2015 14:14:21 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <hannes@mehnert.org>) id 1Yv4lI-0003Le-5X
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 14:14:20 +0000
Received: from [85.158.139.211] by server-4.bemta-5.messagelabs.com id
	2C/4E-03195-BB69C555; Wed, 20 May 2015 14:14:19 +0000
X-Env-Sender: hannes@mehnert.org
X-Msg-Ref: server-12.tower-206.messagelabs.com!1432131258!11563833!1
X-Originating-IP: [213.73.89.200]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 25543 invoked from network); 20 May 2015 14:14:18 -0000
Received: from mail.mehnert.org (HELO mail.mehnert.org) (213.73.89.200)
	by server-12.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 20 May 2015 14:14:18 -0000
Received: from [172.17.159.95] (global-1-26.nat.csx.cam.ac.uk [131.111.184.26])
	(using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
	(Client CN "hannes@mehnert.org",
	Issuer "mehnert root CA" (not verified))
	by mail.mehnert.org (Postfix) with ESMTPS id 6C54B1F68
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 16:14:17 +0200 (CEST)
Message-ID: <555C96A6.6060100@mehnert.org>
Date: Wed, 20 May 2015 15:13:58 +0100
From: Hannes Mehnert <hannes@mehnert.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
	rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: mirageos-devel@lists.xenproject.org
References: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>
In-Reply-To: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>
OpenPGP: id=11B5464249B5BD858FFF6328BC896588DF7C28EE
Content-Length: 3810
Subject: Re: [MirageOS-devel] TLS deployments/feedback needed
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

LS0tLS1CRUdJTiBQR1AgU0lHTkVEIE1FU1NBR0UtLS0tLQpIYXNoOiBTSEEzODQKCkhleSwKCgpJ
IGJyaWVmbHkgd3JvdGUgdXAgd2hhdCBpcyB0aGUgY3VycmVudCBzZXQgb2YgdG9vbHMgYXZhaWxh
YmxlOgpodHRwczovL2dpdGh1Yi5jb20vaGFubmVzbS9taXJhZ2Utd3d3L2Jsb2IvdGxzLXRvb2xz
L3RtcGwvYmxvZy91c2luZy10bHMKLm1kCgpJdCB3b3VsZCBiZSBncmVhdCB0byBleHRlbmQgdGhp
cyB3aXRoIHRoaW5ncyBJIGZvcmdvdCBhbmQgd2l0aCBtb3JlCmRldGFpbGVk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UkUtLS0tLQoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX18KTWlyYWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3Rz
LnhlbnByb2plY3Qub3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxt
YW4vbGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 14:20:57 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 14:20:57 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv4rg-0003ph-Vl; Wed, 20 May 2015 14:20:56 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1Yv4rf-0003pM-DJ
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 14:20:55 +0000
Received: from [85.158.139.211] by server-9.bemta-5.messagelabs.com id
	03/77-03561-6489C555; Wed, 20 May 2015 14:20:54 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-9.tower-206.messagelabs.com!1432131653!11559457!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 32647 invoked from network); 20 May 2015 14:20:53 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-9.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 20 May 2015 14:20:53 -0000
Received: from [10.0.0.95] (host81-149-102-120.in-addr.btopenworld.com
	[81.149.102.120]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 562f0a1a;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Wed, 20 May 2015 15:20:52 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <555C96A6.6060100@mehnert.org>
Date: Wed, 20 May 2015 15:20:52 +0100
Message-Id: <D7458B33-2BEA-4449-8A59-29FF4564FAC4@recoil.org>
References: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>
	<555C96A6.6060100@mehnert.org>
To: Hannes Mehnert <hannes@mehnert.org>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] TLS deployments/feedback needed
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SSBjYW4gZWRpdCB0aGlzIHdpdGggc29tZSBpbXByb3ZlbWVudHMgYWJvdXQgd2hlcmUgdG8gZ2V0
IGtleXMgZnJvbS4KSG93ZXZlciwgaW5zdGVhZCBvZiBhIGJsb2cgcG9zdCwgY291bGQgd2UgbWFr
ZSB0aGlzIGludG8gYSBkb2NzIHBhZ2UgC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TkFUVVJFLS0tLS0KPiAKPiBfX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwo+IE1pcmFnZU9TLWRldmVsIG1haWxpbmcg
bGlzdAo+IE1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCj4gaHR0cDovL2xpc3Rz
LnhlbnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAoK
Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCk1pcmFnZU9T
LWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpo
dHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFn
ZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 14:20:57 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 14:20:57 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv4rg-0003ph-Vl; Wed, 20 May 2015 14:20:56 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1Yv4rf-0003pM-DJ
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 14:20:55 +0000
Received: from [85.158.139.211] by server-9.bemta-5.messagelabs.com id
	03/77-03561-6489C555; Wed, 20 May 2015 14:20:54 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-9.tower-206.messagelabs.com!1432131653!11559457!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 32647 invoked from network); 20 May 2015 14:20:53 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-9.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 20 May 2015 14:20:53 -0000
Received: from [10.0.0.95] (host81-149-102-120.in-addr.btopenworld.com
	[81.149.102.120]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 562f0a1a;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Wed, 20 May 2015 15:20:52 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <555C96A6.6060100@mehnert.org>
Date: Wed, 20 May 2015 15:20:52 +0100
Message-Id: <D7458B33-2BEA-4449-8A59-29FF4564FAC4@recoil.org>
References: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>
	<555C96A6.6060100@mehnert.org>
To: Hannes Mehnert <hannes@mehnert.org>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] TLS deployments/feedback needed
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-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KPiBZZWNXa3RoeVV1ZTBMSElLd2FNZkJYeUpmcG1DdDVBS2dwbW9BMzM0RFNF
emQ4YWVUMktUU2Z1NlVkK1NRNzE3Cj4gVXhxM1c3MEkxbUliS2ZQWHMyL2FKUEY0dUE4WVpMQjdp
bE1VNStrL2dUVzI0TW1NY2RNNmV5VkwvMFd5Z3U4aAo+IFl4RS82dXArOURPcE9XUWZYejlECj4g
PWVqTGkKPiAtLS0tLUVORCBQR1AgU0lHTkFUVVJFLS0tLS0KPiAKPiBfX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwo+IE1pcmFnZU9TLWRldmVsIG1haWxpbmcg
bGlzdAo+IE1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCj4gaHR0cDovL2xpc3Rz
LnhlbnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAoK
Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCk1pcmFnZU9T
LWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpo
dHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFn
ZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 14:24:48 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 14:24:48 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv4vQ-0004Dg-0w; Wed, 20 May 2015 14:24:48 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <hannes@mehnert.org>) id 1Yv4vO-0004DP-Ey
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 14:24:46 +0000
Received: from [85.158.137.68] by server-4.bemta-3.messagelabs.com id
	2D/6C-03201-D299C555; Wed, 20 May 2015 14:24:45 +0000
X-Env-Sender: hannes@mehnert.org
X-Msg-Ref: server-6.tower-31.messagelabs.com!1432131884!6531227!1
X-Originating-IP: [213.73.89.200]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 25452 invoked from network); 20 May 2015 14:24:44 -0000
Received: from mail.mehnert.org (HELO mail.mehnert.org) (213.73.89.200)
	by server-6.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 20 May 2015 14:24:44 -0000
Received: from [172.17.159.95] (global-1-26.nat.csx.cam.ac.uk [131.111.184.26])
	(using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
	(Client CN "hannes@mehnert.org",
	Issuer "mehnert root CA" (not verified))
	by mail.mehnert.org (Postfix) with ESMTPS id 1AFEC1174;
	Wed, 20 May 2015 16:24:44 +0200 (CEST)
Message-ID: <555C9919.7080404@mehnert.org>
Date: Wed, 20 May 2015 15:24:25 +0100
From: Hannes Mehnert <hannes@mehnert.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
	rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: Anil Madhavapeddy <anil@recoil.org>
References: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>
	<555C96A6.6060100@mehnert.org>
	<D7458B33-2BEA-4449-8A59-29FF4564FAC4@recoil.org>
In-Reply-To: <D7458B33-2BEA-4449-8A59-29FF4564FAC4@recoil.org>
OpenPGP: id=11B5464249B5BD858FFF6328BC896588DF7C28EE
Content-Length: 5265
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] TLS deployments/feedback needed
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

LS0tLS1CRUdJTiBQR1AgU0lHTkVEIE1FU1NBR0UtLS0tLQpIYXNoOiBTSEEzODQKCnN1cmUsIGdy
ZWF0IGlkZWEuLiBub3cgYXQKaHR0cHM6Ly9naXRodWIuY29tL2hhbm5lc20vbWlyYWdlLXd3dy9i
bG9iL3Rscy10b29scy90bXBsL3dpa2kvdGxzLm1kCgpoYW5uZXMKCk9uIDA1LzIwLzIwMTUgMTU6
MjAsIEFuaWwgTWFkaGF2YXBlZGR5IHdyb3RlOgo+IEkgY2FuIGVkaXQgdGhpcyB3aXRoIHNvbWUg
aW1wcm92ZW1lbnRzIGFib3V0IHdoZXJlIHRvIGdldCBrZXlzCj4gZnJvbS4gSG93ZXZlciwgaW5z
dGVhZCBvZiBhIGJsb2cgcG9zdCwgY291bGQgd2UgbWFrZSB0aGlzIGludG8gYQo+IGRvY3MgcGFn
ZSBvbiB0aGUgc2l0ZSBzbyB0aGF0IHdlIGNhbiBtYWtlIG9uZ29pbmcgZWRpdHM/ICBUaGVuIHRo
ZQo+IGJsb2cgcG9zdCBjb3VsZCBqdXN0IHJlZmVyZW5jZSB0aGUgd2lraSBwYWdlIGFzIGEgcGVy
bWFs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TZCbTR0SENCZklL
d1YKZVRTbk5VN3NSZkhEZ09RSHJJdThCUlpIOVFnQW1INFhzdGplN0NWOEhGRzNyd3dCMlpZM1hE
TUZ5OHN3RStsaAo2NXA1Y0NMMWZTVTlSU0lHKytjYwo9N1lzeAotLS0tLUVORCBQR1AgU0lHTkFU
VVJFLS0tLS0KCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
Ck1pcmFnZU9TLWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9q
ZWN0Lm9yZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3Rp
bmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 14:24:48 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 14:24:48 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv4vQ-0004Dg-0w; Wed, 20 May 2015 14:24:48 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <hannes@mehnert.org>) id 1Yv4vO-0004DP-Ey
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 14:24:46 +0000
Received: from [85.158.137.68] by server-4.bemta-3.messagelabs.com id
	2D/6C-03201-D299C555; Wed, 20 May 2015 14:24:45 +0000
X-Env-Sender: hannes@mehnert.org
X-Msg-Ref: server-6.tower-31.messagelabs.com!1432131884!6531227!1
X-Originating-IP: [213.73.89.200]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 25452 invoked from network); 20 May 2015 14:24:44 -0000
Received: from mail.mehnert.org (HELO mail.mehnert.org) (213.73.89.200)
	by server-6.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 20 May 2015 14:24:44 -0000
Received: from [172.17.159.95] (global-1-26.nat.csx.cam.ac.uk [131.111.184.26])
	(using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
	(Client CN "hannes@mehnert.org",
	Issuer "mehnert root CA" (not verified))
	by mail.mehnert.org (Postfix) with ESMTPS id 1AFEC1174;
	Wed, 20 May 2015 16:24:44 +0200 (CEST)
Message-ID: <555C9919.7080404@mehnert.org>
Date: Wed, 20 May 2015 15:24:25 +0100
From: Hannes Mehnert <hannes@mehnert.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
	rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: Anil Madhavapeddy <anil@recoil.org>
References: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>
	<555C96A6.6060100@mehnert.org>
	<D7458B33-2BEA-4449-8A59-29FF4564FAC4@recoil.org>
In-Reply-To: <D7458B33-2BEA-4449-8A59-29FF4564FAC4@recoil.org>
OpenPGP: id=11B5464249B5BD858FFF6328BC896588DF7C28EE
Content-Length: 5265
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] TLS deployments/feedback needed
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

LS0tLS1CRUdJTiBQR1AgU0lHTkVEIE1FU1NBR0UtLS0tLQpIYXNoOiBTSEEzODQKCnN1cmUsIGdy
ZWF0IGlkZWEuLiBub3cgYXQKaHR0cHM6Ly9naXRodWIuY29tL2hhbm5lc20vbWlyYWdlLXd3dy9i
bG9iL3Rscy10b29scy90bXBsL3dpa2kvdGxzLm1kCgpoYW5uZXMKCk9uIDA1LzIwLzIwMTUgMTU6
MjAsIEFuaWwgTWFkaGF2YXBlZGR5IHdyb3RlOgo+IEkgY2FuIGVkaXQgdGhpcyB3aXRoIHNvbWUg
aW1wcm92ZW1lbnRzIGFib3V0IHdoZXJlIHRvIGdldCBrZXlzCj4gZnJvbS4gSG93ZXZlciwgaW5z
dGVhZCBvZiBhIGJsb2cgcG9zdCwgY291bGQgd2UgbWFrZSB0aGlzIGludG8gYQo+IGRvY3MgcGFn
ZSBvbiB0aGUgc2l0ZSBzbyB0aGF0IHdlIGNhbiBtYWtlIG9uZ29pbmcgZWRpdHM/ICBUaGVuIHRo
ZQo+IGJsb2cgcG9zdCBjb3VsZCBqdXN0IHJlZmVyZW5jZSB0aGUgd2lraSBwYWdlIGFzIGEgcGVy
bWFsaW5rLgo+IAo+IChJbiB0aGUgbWVkaXVtIHRlcm0sIEkgaW50ZW5kIHRvIHJlbW92ZSB0aGUg
d2lraS5tbCBjb2RlIGZyb20KPiBjb3dhYmxvZ2EgYW5kIGhhdmUgaXQganVzdCBjbG9uZSBhIEdp
dEh1YiB3aWtpIGZvciBpdHMgc291cmNlCj4gY29udGVudCBpbnN0ZWFkLiBGb3Igbm93IHdlJ2xs
IGhhdmUgdG8gZWRpdCBpdCBtYW51YWxseSB2aWEgcHVsbAo+IHJlcXVlc3RzKS4KPiAKPiAtYW5p
bAo+IAo+PiBPbiAyMCBNYXkgMjAx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vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3Rp
bmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 15:56:06 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 15:56:06 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv6Lh-00088F-8O; Wed, 20 May 2015 15:56:01 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <magnus@therning.org>) id 1Yv6Lf-00087x-PQ
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 15:56:00 +0000
Received: from [85.158.139.211] by server-17.bemta-5.messagelabs.com id
	E9/08-05057-F8EAC555; Wed, 20 May 2015 15:55:59 +0000
X-Env-Sender: magnus@therning.org
X-Msg-Ref: server-15.tower-206.messagelabs.com!1432137358!8244353!1
X-Originating-IP: [209.85.215.45]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 23705 invoked from network); 20 May 2015 15:55:58 -0000
Received: from mail-la0-f45.google.com (HELO mail-la0-f45.google.com)
	(209.85.215.45)
	by server-15.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	20 May 2015 15:55:58 -0000
Received: by laat2 with SMTP id t2so80382249laa.1
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 08:55:57 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:date:from:to:cc:subject:message-id:references
	:mime-version:content-type:content-disposition:in-reply-to
	:user-agent;
	bh=HnKVXoZU0jQ1hM8c0JZ7xNsnEH1PKxwZX38VOwRG3ZU=;
	b=aYVuN+ngt6cSugPGTMf7y5eLtw1Rcwt7zrs+8Fjmccq0fWnvhCVaislsqLctocWmvs
	Qv1WpgySNcEWQ4Aztt7o7fu9QcH6AbUKt/P9wLN48lSVye8qwfBRwjt9CWXcCQ6M+j1k
	YJH0LG8LF/xpDI/yrlnpeHUZkNp4PKvrF3DqcewY7e8+8wiHsju6gHCX0ivTecBDbGLN
	UJBZ07E1nCu8ELu+5T1+rZb54zARP8DLQefOvJIX/KypmFI9RoynjmuujKjhr2v5ikc4
	yQmN1iVLc61kjw9ra16PXZxqh4ju+kyszdbWdvWM56cpSvhfFdty2TjZ0k0+Omc65hUS
	uKSQ==
X-Gm-Message-State: ALoCoQlLq5tt3fXRAWo9OsUrMa0orm7FZPj4UVNSER/vykaj6ToNQ0dzEQvQax2aijyd7jdSKU9j
X-Received: by 10.112.138.195 with SMTP id qs3mr25497330lbb.47.1432137357578; 
	Wed, 20 May 2015 08:55:57 -0700 (PDT)
Received: from tatooine ([83.241.129.195]) by mx.google.com with ESMTPSA id
	lf12sm4665823lac.38.2015.05.20.08.55.55
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Wed, 20 May 2015 08:55:56 -0700 (PDT)
Date: Wed, 20 May 2015 17:46:59 +0200
From: Magnus Therning <magnus@therning.org>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
Message-ID: <20150520154659.GA2112@tatooine>
References: <20150519224544.GA13972@tatooine>
	<E6CFDA08-BA38-42D4-890F-8BE2AE3237D8@gazagnaire.org>
	<66D5BC78-B1D1-4A2D-B21A-0672393CC3B1@gazagnaire.org>
	<CBF7FC0E-A1EF-4CE2-8F35-AFEE9C42F2F6@gazagnaire.org>
	<CAAExw5vWod3MfAR+Lvqg5bSLUyczrcgqS4YzZqy0NaCaTiO1NA@mail.gmail.com>
	<690682D3-99A8-4976-8308-021D699E6878@gazagnaire.org>
	<CAAExw5u=+K1xVKwsnt1j3itSpK05DmReVmVfZcJ-rXKp1X0e5A@mail.gmail.com>
MIME-Version: 1.0
In-Reply-To: <CAAExw5u=+K1xVKwsnt1j3itSpK05DmReVmVfZcJ-rXKp1X0e5A@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Any way to get caml4p to run on ARM
 (cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============3245799425739231017=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============3245799425739231017==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="ZPt4rx8FFjLCG7dd"
Content-Disposition: inline


--ZPt4rx8FFjLCG7dd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, May 20, 2015 at 03:27:53PM +0200, Magnus Therning wrote:
> On 20 May 2015 at 15:16, Thomas Gazagnaire <thomas@gazagnaire.org> wrote:
> >> I just did a quick check on a PC.  After `make configure` I modified
> >> `src/Makefile` like this:
> >>
> >> ~~~
> >> --- src/Makefile.orig    2015-05-20 14:27:51.887520390 +0200
> >> +++ src/Makefile    2015-05-20 14:28:18.297382817 +0200
> >> @@ -5,6 +5,7 @@
> >> SYNTAX =3D -tags "syntax(camlp4o),annot,bin_annot,strict_sequence,prin=
cipal"
> >>
> >> SYNTAX +=3D -tag-line "<static*.*>: -syntax(camlp4o)"
> >> +SYNTAX +=3D -tag-line "<main.*>: -syntax(camlp4o)"
> >>
> >> FLAGS  =3D -cflag -g -lflags -g,-linkpkg
> >>
> >> ~~~
> >>
> >> But when comparing the log file (`src/_build/_log`) with and without
> >> this change there's no difference (i.e. `-syntax(camlp4o)` is present
> >> on each entry related to any file matching `main.*`).
> >>
> >> I must have misunderstood your instructions.
> >
> > Indeed, the order in which the tag -tag and -tag-line predicates are ta=
ken into account doesn't seem very reliable ...
> >
> > I've tried the following and it seems to work better:
> >
> > SYNTAX =3D -tags "annot,bin_annot,strict_sequence,principal,thread"
> > SYNTAX +=3D -tag-line "<static*.*> or <main.*>: -syntax(camlp4o)"
> > SYNTAX +=3D -tag-line "not (<static*.*> or <main.*>): syntax(camlp4o)"
> >
> > I've opened https://github.com/mirage/mirage/issues/405 to track that.
>=20
> Excellent!  I've verified it on PC... will try it on my Cubie ASAP :)
>=20
> I just tried and it looks like it would be enough to use the first and
> last line from your solution above (i.e. the middle line doesn't seem
> to add anything, which seems logical, but I guess it might be
> problematic applying rational thought to the ocaml build tools ;):
>=20
> ~~~
> SYNTAX =3D -tags "annot,bin_annot,strict_sequence,principal,thread"
> SYNTAX +=3D -tag-line "not (<static*.*> or <main.*>): syntax(camlp4o)"
> ~~~

Unfortunately the segmentation fault remains, but now on `server.ml`.
And I think `server.ml` really *has* to be passed through camlp4o,
right?

/M

--=20
Magnus Therning                      OpenPGP: 0xAB4DFBA4=20
email: magnus@therning.org   jabber: magnus@therning.org
twitter: magthe               http://therning.org/magnus

The right to search for truth implies also a duty; one must not
conceal any part of what one has recognized to be true.
     -- Albert Einstein

--ZPt4rx8FFjLCG7dd
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iEYEABECAAYFAlVcrG0ACgkQiMWTaatN+6SRYwCgqGXf3Tn0A2RLUKHZOiPoWNBm
we0An2pjbuqScw07cx2IIdirtA9DfKRh
=6J1A
-----END PGP SIGNATURE-----

--ZPt4rx8FFjLCG7dd--


--===============3245799425739231017==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============3245799425739231017==--


From mirageos-devel-bounces@lists.xenproject.org Wed May 20 15:56:06 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 15:56:06 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv6Lh-00088F-8O; Wed, 20 May 2015 15:56:01 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <magnus@therning.org>) id 1Yv6Lf-00087x-PQ
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 15:56:00 +0000
Received: from [85.158.139.211] by server-17.bemta-5.messagelabs.com id
	E9/08-05057-F8EAC555; Wed, 20 May 2015 15:55:59 +0000
X-Env-Sender: magnus@therning.org
X-Msg-Ref: server-15.tower-206.messagelabs.com!1432137358!8244353!1
X-Originating-IP: [209.85.215.45]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 23705 invoked from network); 20 May 2015 15:55:58 -0000
Received: from mail-la0-f45.google.com (HELO mail-la0-f45.google.com)
	(209.85.215.45)
	by server-15.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	20 May 2015 15:55:58 -0000
Received: by laat2 with SMTP id t2so80382249laa.1
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 08:55:57 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:date:from:to:cc:subject:message-id:references
	:mime-version:content-type:content-disposition:in-reply-to
	:user-agent;
	bh=HnKVXoZU0jQ1hM8c0JZ7xNsnEH1PKxwZX38VOwRG3ZU=;
	b=aYVuN+ngt6cSugPGTMf7y5eLtw1Rcwt7zrs+8Fjmccq0fWnvhCVaislsqLctocWmvs
	Qv1WpgySNcEWQ4Aztt7o7fu9QcH6AbUKt/P9wLN48lSVye8qwfBRwjt9CWXcCQ6M+j1k
	YJH0LG8LF/xpDI/yrlnpeHUZkNp4PKvrF3DqcewY7e8+8wiHsju6gHCX0ivTecBDbGLN
	UJBZ07E1nCu8ELu+5T1+rZb54zARP8DLQefOvJIX/KypmFI9RoynjmuujKjhr2v5ikc4
	yQmN1iVLc61kjw9ra16PXZxqh4ju+kyszdbWdvWM56cpSvhfFdty2TjZ0k0+Omc65hUS
	uKSQ==
X-Gm-Message-State: ALoCoQlLq5tt3fXRAWo9OsUrMa0orm7FZPj4UVNSER/vykaj6ToNQ0dzEQvQax2aijyd7jdSKU9j
X-Received: by 10.112.138.195 with SMTP id qs3mr25497330lbb.47.1432137357578; 
	Wed, 20 May 2015 08:55:57 -0700 (PDT)
Received: from tatooine ([83.241.129.195]) by mx.google.com with ESMTPSA id
	lf12sm4665823lac.38.2015.05.20.08.55.55
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Wed, 20 May 2015 08:55:56 -0700 (PDT)
Date: Wed, 20 May 2015 17:46:59 +0200
From: Magnus Therning <magnus@therning.org>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
Message-ID: <20150520154659.GA2112@tatooine>
References: <20150519224544.GA13972@tatooine>
	<E6CFDA08-BA38-42D4-890F-8BE2AE3237D8@gazagnaire.org>
	<66D5BC78-B1D1-4A2D-B21A-0672393CC3B1@gazagnaire.org>
	<CBF7FC0E-A1EF-4CE2-8F35-AFEE9C42F2F6@gazagnaire.org>
	<CAAExw5vWod3MfAR+Lvqg5bSLUyczrcgqS4YzZqy0NaCaTiO1NA@mail.gmail.com>
	<690682D3-99A8-4976-8308-021D699E6878@gazagnaire.org>
	<CAAExw5u=+K1xVKwsnt1j3itSpK05DmReVmVfZcJ-rXKp1X0e5A@mail.gmail.com>
MIME-Version: 1.0
In-Reply-To: <CAAExw5u=+K1xVKwsnt1j3itSpK05DmReVmVfZcJ-rXKp1X0e5A@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Any way to get caml4p to run on ARM
 (cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============3245799425739231017=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============3245799425739231017==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="ZPt4rx8FFjLCG7dd"
Content-Disposition: inline


--ZPt4rx8FFjLCG7dd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, May 20, 2015 at 03:27:53PM +0200, Magnus Therning wrote:
> On 20 May 2015 at 15:16, Thomas Gazagnaire <thomas@gazagnaire.org> wrote:
> >> I just did a quick check on a PC.  After `make configure` I modified
> >> `src/Makefile` like this:
> >>
> >> ~~~
> >> --- src/Makefile.orig    2015-05-20 14:27:51.887520390 +0200
> >> +++ src/Makefile    2015-05-20 14:28:18.297382817 +0200
> >> @@ -5,6 +5,7 @@
> >> SYNTAX =3D -tags "syntax(camlp4o),annot,bin_annot,strict_sequence,prin=
cipal"
> >>
> >> SYNTAX +=3D -tag-line "<static*.*>: -syntax(camlp4o)"
> >> +SYNTAX +=3D -tag-line "<main.*>: -syntax(camlp4o)"
> >>
> >> FLAGS  =3D -cflag -g -lflags -g,-linkpkg
> >>
> >> ~~~
> >>
> >> But when comparing the log file (`src/_build/_log`) with and without
> >> this change there's no difference (i.e. `-syntax(camlp4o)` is present
> >> on each entry related to any file matching `main.*`).
> >>
> >> I must have misunderstood your instructions.
> >
> > Indeed, the order in which the tag -tag and -tag-line predicates are ta=
ken into account doesn't seem very reliable ...
> >
> > I've tried the following and it seems to work better:
> >
> > SYNTAX =3D -tags "annot,bin_annot,strict_sequence,principal,thread"
> > SYNTAX +=3D -tag-line "<static*.*> or <main.*>: -syntax(camlp4o)"
> > SYNTAX +=3D -tag-line "not (<static*.*> or <main.*>): syntax(camlp4o)"
> >
> > I've opened https://github.com/mirage/mirage/issues/405 to track that.
>=20
> Excellent!  I've verified it on PC... will try it on my Cubie ASAP :)
>=20
> I just tried and it looks like it would be enough to use the first and
> last line from your solution above (i.e. the middle line doesn't seem
> to add anything, which seems logical, but I guess it might be
> problematic applying rational thought to the ocaml build tools ;):
>=20
> ~~~
> SYNTAX =3D -tags "annot,bin_annot,strict_sequence,principal,thread"
> SYNTAX +=3D -tag-line "not (<static*.*> or <main.*>): syntax(camlp4o)"
> ~~~

Unfortunately the segmentation fault remains, but now on `server.ml`.
And I think `server.ml` really *has* to be passed through camlp4o,
right?

/M

--=20
Magnus Therning                      OpenPGP: 0xAB4DFBA4=20
email: magnus@therning.org   jabber: magnus@therning.org
twitter: magthe               http://therning.org/magnus

The right to search for truth implies also a duty; one must not
conceal any part of what one has recognized to be true.
     -- Albert Einstein

--ZPt4rx8FFjLCG7dd
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iEYEABECAAYFAlVcrG0ACgkQiMWTaatN+6SRYwCgqGXf3Tn0A2RLUKHZOiPoWNBm
we0An2pjbuqScw07cx2IIdirtA9DfKRh
=6J1A
-----END PGP SIGNATURE-----

--ZPt4rx8FFjLCG7dd--


--===============3245799425739231017==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============3245799425739231017==--


From mirageos-devel-bounces@lists.xenproject.org Wed May 20 16:02:44 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 16:02:44 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv6SC-0000vv-5s; Wed, 20 May 2015 16:02:44 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mindy@somerandomidiot.com>) id 1Yv6SA-0000vf-3o
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 16:02:42 +0000
Received: from [85.158.139.211] by server-14.bemta-5.messagelabs.com id
	49/CD-02819-120BC555; Wed, 20 May 2015 16:02:41 +0000
X-Env-Sender: mindy@somerandomidiot.com
X-Msg-Ref: server-11.tower-206.messagelabs.com!1432137760!7476666!1
X-Originating-IP: [217.70.183.195]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogMjE3LjcwLjE4My4xOTUgPT4gMzc4NjI=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 17579 invoked from network); 20 May 2015 16:02:40 -0000
Received: from relay3-d.mail.gandi.net (HELO relay3-d.mail.gandi.net)
	(217.70.183.195)
	by server-11.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 20 May 2015 16:02:40 -0000
Received: from mfilter9-d.gandi.net (mfilter9-d.gandi.net [217.70.178.138])
	by relay3-d.mail.gandi.net (Postfix) with ESMTP id 6900FA810E
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 18:02:40 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mfilter9-d.gandi.net
Received: from relay3-d.mail.gandi.net ([217.70.183.195])
	by mfilter9-d.gandi.net (mfilter9-d.gandi.net [10.0.15.180])
	(amavisd-new, port 10024)
	with ESMTP id a8p0+1d0zByW for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 18:02:29 +0200 (CEST)
X-Originating-IP: 131.111.184.18
Received: from [172.17.25.190] (global-1-18.nat.csx.cam.ac.uk [131.111.184.18])
	(Authenticated sender: guybrush@somerandomidiot.com)
	by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id B6AA2A80B0
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 18:02:38 +0200 (CEST)
Message-ID: <555CAFD4.4070700@somerandomidiot.com>
Date: Wed, 20 May 2015 17:01:24 +0100
From: Mindy <mindy@somerandomidiot.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: mirageos-devel@lists.xenproject.org
References: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>
In-Reply-To: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>
Subject: Re: [MirageOS-devel] TLS deployments/feedback needed
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: base64
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

R29vZCBuZXdzIG9yIGJhZCBuZXdzLCBkZXBlbmRpbmcgb24gaG93IHlvdSBzbGljZSBpdDogcnVu
bmluZyB0aGUgCmV4dHJlbWVseSBuYWl2ZSB0ZXN0IHNjcmlwdCBiZWxvdzoKCmBgYApmb3IgaSBp
biBgc2VxIDEgMjAwMGA7IGRvIGN1cmwgLTEgLWsgaHR0cHM6Ly8xOTIuMTY4LjMuMiA+L2Rldi9u
dWxsOyBkb25lCmBgYAoKYWdhaW5zdCBhIHVuaWtlcm5lbCBnZW5lcmF0ZWQgd2l0aCBtaXJhZ2Ut
c2VhbCByZXN1bHRzIGluIHRoZSBmb2xsb3dpbmc6CgpgYGAKWzE5Mi4xNjguMy4xOjU5NDgxXSBU
TFMgb2sKWzY1OF0gc2VydmluZyAvLzE5Mi4xNjguMy4yLy4KQ2Fubm90IGhhbmRsZSBwYWdlIHJl
cXVlc3Qgb3JkZXIgOSEKWzY1OF0gY2xvc2luZy4KQ2Fubm90IGhhbmRsZSBwYWdlIHJlcXVlc3Qg
b3JkZXIgOSEKRmF0YWwgZXJyb3I6IG91dCBvZiBtZW1vcnkuCk1pcmFnZSBleGl0aW5nIHdpdGgg
c3RhdHVzIDIKRG9fZXhpdCBjYWxsZWQhCmJhc2UgaXM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:02:44 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 16:02:44 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv6SC-0000vv-5s; Wed, 20 May 2015 16:02:44 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mindy@somerandomidiot.com>) id 1Yv6SA-0000vf-3o
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 16:02:42 +0000
Received: from [85.158.139.211] by server-14.bemta-5.messagelabs.com id
	49/CD-02819-120BC555; Wed, 20 May 2015 16:02:41 +0000
X-Env-Sender: mindy@somerandomidiot.com
X-Msg-Ref: server-11.tower-206.messagelabs.com!1432137760!7476666!1
X-Originating-IP: [217.70.183.195]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogMjE3LjcwLjE4My4xOTUgPT4gMzc4NjI=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 17579 invoked from network); 20 May 2015 16:02:40 -0000
Received: from relay3-d.mail.gandi.net (HELO relay3-d.mail.gandi.net)
	(217.70.183.195)
	by server-11.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 20 May 2015 16:02:40 -0000
Received: from mfilter9-d.gandi.net (mfilter9-d.gandi.net [217.70.178.138])
	by relay3-d.mail.gandi.net (Postfix) with ESMTP id 6900FA810E
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 18:02:40 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mfilter9-d.gandi.net
Received: from relay3-d.mail.gandi.net ([217.70.183.195])
	by mfilter9-d.gandi.net (mfilter9-d.gandi.net [10.0.15.180])
	(amavisd-new, port 10024)
	with ESMTP id a8p0+1d0zByW for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 18:02:29 +0200 (CEST)
X-Originating-IP: 131.111.184.18
Received: from [172.17.25.190] (global-1-18.nat.csx.cam.ac.uk [131.111.184.18])
	(Authenticated sender: guybrush@somerandomidiot.com)
	by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id B6AA2A80B0
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 18:02:38 +0200 (CEST)
Message-ID: <555CAFD4.4070700@somerandomidiot.com>
Date: Wed, 20 May 2015 17:01:24 +0100
From: Mindy <mindy@somerandomidiot.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: mirageos-devel@lists.xenproject.org
References: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>
In-Reply-To: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>
Subject: Re: [MirageOS-devel] TLS deployments/feedback needed
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: base64
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

R29vZCBuZXdzIG9yIGJhZCBuZXdzLCBkZXBlbmRpbmcgb24gaG93IHlvdSBzbGljZS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3V0Lgo+Cj4gUGxlYXNlIGRvIGxldCB1cyBrbm93
IGhvdyB5b3UgZ2V0IG9uIQo+Cj4gVGhhbmtzLAo+IEFtaXIKPgo+Cj4KPiBfX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwo+IE1pcmFnZU9TLWRldmVsIG1haWxp
bmcgbGlzdAo+IE1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCj4gaHR0cDovL2xp
c3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZl
bAoKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCk1pcmFn
ZU9TLWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9y
ZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21p
cmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 16:06:33 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 16:06:33 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv6Vs-0001JJ-Cv; Wed, 20 May 2015 16:06:32 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1Yv6Vq-0001Iw-Ve
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 16:06:31 +0000
Received: from [85.158.139.211] by server-7.bemta-5.messagelabs.com id
	E2/50-03739-601BC555; Wed, 20 May 2015 16:06:30 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-7.tower-206.messagelabs.com!1432137989!11645359!1
X-Originating-IP: [74.125.82.45]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 25385 invoked from network); 20 May 2015 16:06:29 -0000
Received: from mail-wg0-f45.google.com (HELO mail-wg0-f45.google.com)
	(74.125.82.45)
	by server-7.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	20 May 2015 16:06:29 -0000
Received: by wghq2 with SMTP id q2so58009228wgh.1
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 09:06:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=DMH4o9LLaDtUlL8dsi3CrMyy2R4DdO4M5T8Rzwq0YiY=;
	b=FTu3bxWPuaYrzS/DYXB6YGM5Vc7mbJaTOVURSvmKqCWugIiHYGSOTJOtXhCdjpfSdD
	uckiVaZL3C9WAY8jVU25OeLx85A5kDH41ZAQF8tWXXCXRkPk6CPOL5MBFupliauXR1DN
	yYypRHEaMcxE8f5kGKUIMh2PE6iglIe4vJztbKsD5yOZqifiKABC/VDMEJShWWz+Q0GC
	iLUNdC6IGPydaOOVCSX/Yr++EyJGxWza0FNjlBp4knjImhn7XNH+AL//sK2Hb5PhpINj
	GgnDSKLGHNLEbpmkTLvDbgbWCNXYK3XYZPQo/cNJunbaWR5qgYUULmzjMNBYacO9l6/L
	vjSA==
X-Received: by 10.194.220.100 with SMTP id pv4mr67502465wjc.71.1432137989315; 
	Wed, 20 May 2015 09:06:29 -0700 (PDT)
Received: from piana.mac.cl.cam.ac.uk (piana.mac.cl.cam.ac.uk. [128.232.56.38])
	by mx.google.com with ESMTPSA id
	a18sm27551233wja.46.2015.05.20.09.06.27
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Wed, 20 May 2015 09:06:28 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <20150520154659.GA2112@tatooine>
Date: Wed, 20 May 2015 17:06:27 +0100
Message-Id: <970F5F64-E8C7-47EC-947B-030788DADC4B@gazagnaire.org>
References: <20150519224544.GA13972@tatooine>
	<E6CFDA08-BA38-42D4-890F-8BE2AE3237D8@gazagnaire.org>
	<66D5BC78-B1D1-4A2D-B21A-0672393CC3B1@gazagnaire.org>
	<CBF7FC0E-A1EF-4CE2-8F35-AFEE9C42F2F6@gazagnaire.org>
	<CAAExw5vWod3MfAR+Lvqg5bSLUyczrcgqS4YzZqy0NaCaTiO1NA@mail.gmail.com>
	<690682D3-99A8-4976-8308-021D699E6878@gazagnaire.org>
	<CAAExw5u=+K1xVKwsnt1j3itSpK05DmReVmVfZcJ-rXKp1X0e5A@mail.gmail.com>
	<20150520154659.GA2112@tatooine>
To: Magnus Therning <magnus@therning.org>
X-Mailer: Apple Mail (2.2098)
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Any way to get caml4p to run on ARM
	(cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

> 
> Unfortunately the segmentation fault remains, but now on `server.ml`.
> And I think `server.ml` really *has* to be passed through camlp4o,
> right?

--- a/src/server.ml
+++ b/src/server.ml
@@ -77,13 +77,15 @@ module Main
         in
         c_log (sp "URL: '%s'" path)
         >>= fun () ->
-        try_lwt
-          read_assets path >>= fun body ->
-          S.respond_string ~status:`OK ~body ()
-        with
-        | Failure m ->
-          Printf.printf "CATCH: '%s'\n%!" m;
-          dynamic read_slides req cpts
+        Lwt.catch
+          (fun () ->
+             read_assets path >>= fun body ->
+             S.respond_string ~status:`OK ~body ()
+          ) (function
+              | Failure m ->
+                Printf.printf "CATCH: '%s'\n%!" m;
+                dynamic read_slides req cpts
+              | e -> Lwt.fail e)
       in

       dispatch ~c_log ~read_assets ~read_slides ~conn_id ~req

should fix it. But you will have the same issue on the next one. 

Not sure why your cubi is segfauling. Can you increase the memory of dom0, or ulimit, or something else? Seems to work fine on my cubi ...

Thomas

> 
> /M
> 
> -- 
> Magnus Therning                      OpenPGP: 0xAB4DFBA4 
> email: magnus@therning.org   jabber: magnus@therning.org
> twitter: magthe               http://therning.org/magnus
> 
> The right to search for truth implies also a duty; one must not
> conceal any part of what one has recognized to be true.
>     -- Albert Einstein


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 16:06:33 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 16:06:33 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv6Vs-0001JJ-Cv; Wed, 20 May 2015 16:06:32 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1Yv6Vq-0001Iw-Ve
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 16:06:31 +0000
Received: from [85.158.139.211] by server-7.bemta-5.messagelabs.com id
	E2/50-03739-601BC555; Wed, 20 May 2015 16:06:30 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-7.tower-206.messagelabs.com!1432137989!11645359!1
X-Originating-IP: [74.125.82.45]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 25385 invoked from network); 20 May 2015 16:06:29 -0000
Received: from mail-wg0-f45.google.com (HELO mail-wg0-f45.google.com)
	(74.125.82.45)
	by server-7.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	20 May 2015 16:06:29 -0000
Received: by wghq2 with SMTP id q2so58009228wgh.1
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 09:06:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=DMH4o9LLaDtUlL8dsi3CrMyy2R4DdO4M5T8Rzwq0YiY=;
	b=FTu3bxWPuaYrzS/DYXB6YGM5Vc7mbJaTOVURSvmKqCWugIiHYGSOTJOtXhCdjpfSdD
	uckiVaZL3C9WAY8jVU25OeLx85A5kDH41ZAQF8tWXXCXRkPk6CPOL5MBFupliauXR1DN
	yYypRHEaMcxE8f5kGKUIMh2PE6iglIe4vJztbKsD5yOZqifiKABC/VDMEJShWWz+Q0GC
	iLUNdC6IGPydaOOVCSX/Yr++EyJGxWza0FNjlBp4knjImhn7XNH+AL//sK2Hb5PhpINj
	GgnDSKLGHNLEbpmkTLvDbgbWCNXYK3XYZPQo/cNJunbaWR5qgYUULmzjMNBYacO9l6/L
	vjSA==
X-Received: by 10.194.220.100 with SMTP id pv4mr67502465wjc.71.1432137989315; 
	Wed, 20 May 2015 09:06:29 -0700 (PDT)
Received: from piana.mac.cl.cam.ac.uk (piana.mac.cl.cam.ac.uk. [128.232.56.38])
	by mx.google.com with ESMTPSA id
	a18sm27551233wja.46.2015.05.20.09.06.27
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Wed, 20 May 2015 09:06:28 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <20150520154659.GA2112@tatooine>
Date: Wed, 20 May 2015 17:06:27 +0100
Message-Id: <970F5F64-E8C7-47EC-947B-030788DADC4B@gazagnaire.org>
References: <20150519224544.GA13972@tatooine>
	<E6CFDA08-BA38-42D4-890F-8BE2AE3237D8@gazagnaire.org>
	<66D5BC78-B1D1-4A2D-B21A-0672393CC3B1@gazagnaire.org>
	<CBF7FC0E-A1EF-4CE2-8F35-AFEE9C42F2F6@gazagnaire.org>
	<CAAExw5vWod3MfAR+Lvqg5bSLUyczrcgqS4YzZqy0NaCaTiO1NA@mail.gmail.com>
	<690682D3-99A8-4976-8308-021D699E6878@gazagnaire.org>
	<CAAExw5u=+K1xVKwsnt1j3itSpK05DmReVmVfZcJ-rXKp1X0e5A@mail.gmail.com>
	<20150520154659.GA2112@tatooine>
To: Magnus Therning <magnus@therning.org>
X-Mailer: Apple Mail (2.2098)
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Any way to get caml4p to run on ARM
	(cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

> 
> Unfortunately the segmentation fault remains, but now on `server.ml`.
> And I think `server.ml` really *has* to be passed through camlp4o,
> right?

--- a/src/server.ml
+++ b/src/server.ml
@@ -77,13 +77,15 @@ module Main
         in
         c_log (sp "URL: '%s'" path)
         >>= fun () ->
-        try_lwt
-          read_assets path >>= fun body ->
-          S.respond_string ~status:`OK ~body ()
-        with
-        | Failure m ->
-          Printf.printf "CATCH: '%s'\n%!" m;
-          dynamic read_slides req cpts
+        Lwt.catch
+          (fun () ->
+             read_assets path >>= fun body ->
+             S.respond_string ~status:`OK ~body ()
+          ) (function
+              | Failure m ->
+                Printf.printf "CATCH: '%s'\n%!" m;
+                dynamic read_slides req cpts
+              | e -> Lwt.fail e)
       in

       dispatch ~c_log ~read_assets ~read_slides ~conn_id ~req

should fix it. But you will have the same issue on the next one. 

Not sure why your cubi is segfauling. Can you increase the memory of dom0, or ulimit, or something else? Seems to work fine on my cubi ...

Thomas

> 
> /M
> 
> -- 
> Magnus Therning                      OpenPGP: 0xAB4DFBA4 
> email: magnus@therning.org   jabber: magnus@therning.org
> twitter: magthe               http://therning.org/magnus
> 
> The right to search for truth implies also a duty; one must not
> conceal any part of what one has recognized to be true.
>     -- Albert Einstein


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 16:11:35 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 16:11:35 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv6ak-0001rx-8i; Wed, 20 May 2015 16:11:34 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1Yv6ah-0001rV-Ob
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 16:11:32 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	FF/E9-03040-332BC555; Wed, 20 May 2015 16:11:31 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-14.tower-31.messagelabs.com!1432138290!8563973!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 2730 invoked from network); 20 May 2015 16:11:30 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-14.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 20 May 2015 16:11:30 -0000
Received: from [192.168.1.39] (cpc7-cmbg14-2-0-cust238.5-4.cable.virginm.net
	[86.30.244.239]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 85291264;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Wed, 20 May 2015 17:11:29 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <555CAFD4.4070700@somerandomidiot.com>
Date: Wed, 20 May 2015 17:11:29 +0100
Message-Id: <725A784E-11AE-445E-B566-D09871B3C82D@recoil.org>
References: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>
	<555CAFD4.4070700@somerandomidiot.com>
To: Mindy Preston <mindy@somerandomidiot.com>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] TLS deployments/feedback needed
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 20 May 2015, at 17:01, Mindy <mindy@somerandomidiot.com> wrote:
> 
> Good news or bad news, depending on how you slice it: running the extremely naive test script below:
> 
> ```
> for i in `seq 1 2000`; do curl -1 -k https://192.168.3.2 >/dev/null; done
> ```
> 
> against a unikernel generated with mirage-seal results in the following:

That's good news from my front, since it's easily reproducible!

Probably a good time to switch over to an issue on https://github.com/mirage/mirage/issues and take it from there.

Dave: did you ever get a chance to look at the block device naming issue that was hindering adding support for dynamic storage for Xen?  It's probably a good time to switch to dynamically loading in content for mirage-www and mirage-decks (with a buffer cache of course).  That would bring the required memory back down for the default case of mirage-seal.  I'll take a look if you haven't got time atm.

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 16:11:35 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 16:11:35 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv6ak-0001rx-8i; Wed, 20 May 2015 16:11:34 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1Yv6ah-0001rV-Ob
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 16:11:32 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	FF/E9-03040-332BC555; Wed, 20 May 2015 16:11:31 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-14.tower-31.messagelabs.com!1432138290!8563973!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 2730 invoked from network); 20 May 2015 16:11:30 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-14.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 20 May 2015 16:11:30 -0000
Received: from [192.168.1.39] (cpc7-cmbg14-2-0-cust238.5-4.cable.virginm.net
	[86.30.244.239]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 85291264;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Wed, 20 May 2015 17:11:29 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <555CAFD4.4070700@somerandomidiot.com>
Date: Wed, 20 May 2015 17:11:29 +0100
Message-Id: <725A784E-11AE-445E-B566-D09871B3C82D@recoil.org>
References: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>
	<555CAFD4.4070700@somerandomidiot.com>
To: Mindy Preston <mindy@somerandomidiot.com>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] TLS deployments/feedback needed
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 20 May 2015, at 17:01, Mindy <mindy@somerandomidiot.com> wrote:
> 
> Good news or bad news, depending on how you slice it: running the extremely naive test script below:
> 
> ```
> for i in `seq 1 2000`; do curl -1 -k https://192.168.3.2 >/dev/null; done
> ```
> 
> against a unikernel generated with mirage-seal results in the following:

That's good news from my front, since it's easily reproducible!

Probably a good time to switch over to an issue on https://github.com/mirage/mirage/issues and take it from there.

Dave: did you ever get a chance to look at the block device naming issue that was hindering adding support for dynamic storage for Xen?  It's probably a good time to switch to dynamically loading in content for mirage-www and mirage-decks (with a buffer cache of course).  That would bring the required memory back down for the default case of mirage-seal.  I'll take a look if you haven't got time atm.

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 16:13:51 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 16:13:51 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv6cx-0002R2-AZ; Wed, 20 May 2015 16:13:51 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1Yv6cw-0002QA-17
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 16:13:50 +0000
Received: from [85.158.137.68] by server-13.bemta-3.messagelabs.com id
	E4/C6-02919-DB2BC555; Wed, 20 May 2015 16:13:49 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-12.tower-31.messagelabs.com!1432138427!10944999!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 11458 invoked from network); 20 May 2015 16:13:48 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-12.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 20 May 2015 16:13:48 -0000
Received: from [192.168.1.39] (cpc7-cmbg14-2-0-cust238.5-4.cable.virginm.net
	[86.30.244.239]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 43e0c0a4;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Wed, 20 May 2015 17:13:47 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <20150520154659.GA2112@tatooine>
Date: Wed, 20 May 2015 17:13:46 +0100
Message-Id: <94FA4595-D290-48DE-A4A2-ACB3E85B74D9@recoil.org>
References: <20150519224544.GA13972@tatooine>
	<E6CFDA08-BA38-42D4-890F-8BE2AE3237D8@gazagnaire.org>
	<66D5BC78-B1D1-4A2D-B21A-0672393CC3B1@gazagnaire.org>
	<CBF7FC0E-A1EF-4CE2-8F35-AFEE9C42F2F6@gazagnaire.org>
	<CAAExw5vWod3MfAR+Lvqg5bSLUyczrcgqS4YzZqy0NaCaTiO1NA@mail.gmail.com>
	<690682D3-99A8-4976-8308-021D699E6878@gazagnaire.org>
	<CAAExw5u=+K1xVKwsnt1j3itSpK05DmReVmVfZcJ-rXKp1X0e5A@mail.gmail.com>
	<20150520154659.GA2112@tatooine>
To: Magnus Therning <magnus@therning.org>
X-Mailer: Apple Mail (2.2098)
Cc: Thomas Gazagnaire <thomas@gazagnaire.org>,
	MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Any way to get caml4p to run on ARM
	(cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 20 May 2015, at 16:46, Magnus Therning <magnus@therning.org> wrote:
> 
> Unfortunately the segmentation fault remains, but now on `server.ml`.

I saw these sorts of segmentation faults due to bad memory on one of my
first Cubieboards.  If you can find the command line involved (by passing
-classic-display to the ocamlbuild command) and run that under `gdb`,
it would be good to see how deterministic the crash is.  Removing camlp4
may just be masking the physical memory error by simply allocating less.

-anil


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 16:13:51 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 16:13:51 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv6cx-0002R2-AZ; Wed, 20 May 2015 16:13:51 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1Yv6cw-0002QA-17
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 16:13:50 +0000
Received: from [85.158.137.68] by server-13.bemta-3.messagelabs.com id
	E4/C6-02919-DB2BC555; Wed, 20 May 2015 16:13:49 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-12.tower-31.messagelabs.com!1432138427!10944999!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 11458 invoked from network); 20 May 2015 16:13:48 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-12.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 20 May 2015 16:13:48 -0000
Received: from [192.168.1.39] (cpc7-cmbg14-2-0-cust238.5-4.cable.virginm.net
	[86.30.244.239]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 43e0c0a4;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Wed, 20 May 2015 17:13:47 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <20150520154659.GA2112@tatooine>
Date: Wed, 20 May 2015 17:13:46 +0100
Message-Id: <94FA4595-D290-48DE-A4A2-ACB3E85B74D9@recoil.org>
References: <20150519224544.GA13972@tatooine>
	<E6CFDA08-BA38-42D4-890F-8BE2AE3237D8@gazagnaire.org>
	<66D5BC78-B1D1-4A2D-B21A-0672393CC3B1@gazagnaire.org>
	<CBF7FC0E-A1EF-4CE2-8F35-AFEE9C42F2F6@gazagnaire.org>
	<CAAExw5vWod3MfAR+Lvqg5bSLUyczrcgqS4YzZqy0NaCaTiO1NA@mail.gmail.com>
	<690682D3-99A8-4976-8308-021D699E6878@gazagnaire.org>
	<CAAExw5u=+K1xVKwsnt1j3itSpK05DmReVmVfZcJ-rXKp1X0e5A@mail.gmail.com>
	<20150520154659.GA2112@tatooine>
To: Magnus Therning <magnus@therning.org>
X-Mailer: Apple Mail (2.2098)
Cc: Thomas Gazagnaire <thomas@gazagnaire.org>,
	MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Any way to get caml4p to run on ARM
	(cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 20 May 2015, at 16:46, Magnus Therning <magnus@therning.org> wrote:
> 
> Unfortunately the segmentation fault remains, but now on `server.ml`.

I saw these sorts of segmentation faults due to bad memory on one of my
first Cubieboards.  If you can find the command line involved (by passing
-classic-display to the ocamlbuild command) and run that under `gdb`,
it would be good to see how deterministic the crash is.  Removing camlp4
may just be masking the physical memory error by simply allocating less.

-anil


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 16:17:31 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 16:17:31 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv6gU-0004Hm-DP; Wed, 20 May 2015 16:17:30 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <hannes@mehnert.org>) id 1Yv6gS-0004HB-QR
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 16:17:28 +0000
Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id
	09/79-02633-893BC555; Wed, 20 May 2015 16:17:28 +0000
X-Env-Sender: hannes@mehnert.org
X-Msg-Ref: server-7.tower-27.messagelabs.com!1432138647!19264002!1
X-Originating-IP: [213.73.89.200]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 19453 invoked from network); 20 May 2015 16:17:27 -0000
Received: from mail.mehnert.org (HELO mail.mehnert.org) (213.73.89.200)
	by server-7.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 20 May 2015 16:17:27 -0000
Received: from [172.17.159.95] (global-1-26.nat.csx.cam.ac.uk [131.111.184.26])
	(using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
	(Client CN "hannes@mehnert.org",
	Issuer "mehnert root CA" (not verified))
	by mail.mehnert.org (Postfix) with ESMTPS id 6ADAC10B8
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 18:17:26 +0200 (CEST)
Message-ID: <555CB382.2090904@mehnert.org>
Date: Wed, 20 May 2015 17:17:06 +0100
From: Hannes Mehnert <hannes@mehnert.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
	rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: mirageos-devel@lists.xenproject.org
References: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>
	<555CAFD4.4070700@somerandomidiot.com>
In-Reply-To: <555CAFD4.4070700@somerandomidiot.com>
OpenPGP: id=11B5464249B5BD858FFF6328BC896588DF7C28EE
Subject: Re: [MirageOS-devel] TLS deployments/feedback needed
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA384

On 05/20/2015 17:01, Mindy wrote:
> Good news or bad news, depending on how you slice it: running the 
> extremely naive test script below:
> 
> ``` for i in `seq 1 2000`; do curl -1 -k https://192.168.3.2
> >/dev/null; done ```
> 
> against a unikernel generated with mirage-seal results in the
> following:

if instead of invoking the cohttp dispatch (generated by mirage-seal),
responding with a static string, does the same issue happen?


hannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCQAGBQJVXLOCAAoJELyJZYjffCjuNnkP/0W8ztHpLTsU/Z2qoHKQny9d
/brhiXNpeDYWh+LsdHQgVpG2heICxcSCr03XHX35o3/7mdEwHhS+r/Y0O6EszFXd
ORIIA8824870b1DGMw2Nlx/hm0jA0K1YTOptbRQ+EzeOfPFhduBB7899Uf6IhCyN
s9H+4wBOXbhdZjlUSoG/DT0VDkl9VTqgGK1khs1rUtRW8mt70okhe+2PESHsfkeB
I/xBS7XtHERxl9UiYNDw8yPAhOAmAjrOlQ8xi8oRm+xEDgbeKF6w8muBul/xL2YU
+3LWbryDctTTIBaKqJCG9AMTHSCgKR8q6FAs1QeMSFuzkcotrGHrs28XLa8KxmhF
uFTXrAYtcp0imRmLuVEsn41148AMD+Hneio7tBm2LZ+zDyVZxLlsaklrAMBLxmLH
V35ceJptWuTASHKuzaAfUtjgj3vw8cFIomNRqFGfspxJHbtYzuB94WnPOWyy4PQv
uztu01OiLMaNPfGVpoo0Qy0zsnKQ4UN+lKAaLJ5cDJHKaQyhu4nXor/o79p3KYTm
at+bMP3aGekyBBdKXKR7OyZi2dfwYjCUEeSjEnt2rMWrL6FESh793thwWJo6LAaT
oGjYktKZE8uRhL7Us/5iKdl5jD4QPdWh48HdfksVKd4JF2zgVL9KE5HPTT9K1Ihq
u6EfmDfdtHdwUj1YMqB1
=dD+Y
-----END PGP SIGNATURE-----

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 16:17:31 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 16:17:31 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv6gU-0004Hm-DP; Wed, 20 May 2015 16:17:30 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <hannes@mehnert.org>) id 1Yv6gS-0004HB-QR
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 16:17:28 +0000
Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id
	09/79-02633-893BC555; Wed, 20 May 2015 16:17:28 +0000
X-Env-Sender: hannes@mehnert.org
X-Msg-Ref: server-7.tower-27.messagelabs.com!1432138647!19264002!1
X-Originating-IP: [213.73.89.200]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 19453 invoked from network); 20 May 2015 16:17:27 -0000
Received: from mail.mehnert.org (HELO mail.mehnert.org) (213.73.89.200)
	by server-7.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 20 May 2015 16:17:27 -0000
Received: from [172.17.159.95] (global-1-26.nat.csx.cam.ac.uk [131.111.184.26])
	(using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
	(Client CN "hannes@mehnert.org",
	Issuer "mehnert root CA" (not verified))
	by mail.mehnert.org (Postfix) with ESMTPS id 6ADAC10B8
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 18:17:26 +0200 (CEST)
Message-ID: <555CB382.2090904@mehnert.org>
Date: Wed, 20 May 2015 17:17:06 +0100
From: Hannes Mehnert <hannes@mehnert.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
	rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: mirageos-devel@lists.xenproject.org
References: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>
	<555CAFD4.4070700@somerandomidiot.com>
In-Reply-To: <555CAFD4.4070700@somerandomidiot.com>
OpenPGP: id=11B5464249B5BD858FFF6328BC896588DF7C28EE
Subject: Re: [MirageOS-devel] TLS deployments/feedback needed
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA384

On 05/20/2015 17:01, Mindy wrote:
> Good news or bad news, depending on how you slice it: running the 
> extremely naive test script below:
> 
> ``` for i in `seq 1 2000`; do curl -1 -k https://192.168.3.2
> >/dev/null; done ```
> 
> against a unikernel generated with mirage-seal results in the
> following:

if instead of invoking the cohttp dispatch (generated by mirage-seal),
responding with a static string, does the same issue happen?


hannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCQAGBQJVXLOCAAoJELyJZYjffCjuNnkP/0W8ztHpLTsU/Z2qoHKQny9d
/brhiXNpeDYWh+LsdHQgVpG2heICxcSCr03XHX35o3/7mdEwHhS+r/Y0O6EszFXd
ORIIA8824870b1DGMw2Nlx/hm0jA0K1YTOptbRQ+EzeOfPFhduBB7899Uf6IhCyN
s9H+4wBOXbhdZjlUSoG/DT0VDkl9VTqgGK1khs1rUtRW8mt70okhe+2PESHsfkeB
I/xBS7XtHERxl9UiYNDw8yPAhOAmAjrOlQ8xi8oRm+xEDgbeKF6w8muBul/xL2YU
+3LWbryDctTTIBaKqJCG9AMTHSCgKR8q6FAs1QeMSFuzkcotrGHrs28XLa8KxmhF
uFTXrAYtcp0imRmLuVEsn41148AMD+Hneio7tBm2LZ+zDyVZxLlsaklrAMBLxmLH
V35ceJptWuTASHKuzaAfUtjgj3vw8cFIomNRqFGfspxJHbtYzuB94WnPOWyy4PQv
uztu01OiLMaNPfGVpoo0Qy0zsnKQ4UN+lKAaLJ5cDJHKaQyhu4nXor/o79p3KYTm
at+bMP3aGekyBBdKXKR7OyZi2dfwYjCUEeSjEnt2rMWrL6FESh793thwWJo6LAaT
oGjYktKZE8uRhL7Us/5iKdl5jD4QPdWh48HdfksVKd4JF2zgVL9KE5HPTT9K1Ihq
u6EfmDfdtHdwUj1YMqB1
=dD+Y
-----END PGP SIGNATURE-----

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 16:22:23 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 16:22:23 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv6lD-0004gu-Cz; Wed, 20 May 2015 16:22:23 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mindy@somerandomidiot.com>) id 1Yv6lC-0004gn-R8
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 16:22:22 +0000
Received: from [85.158.137.68] by server-2.bemta-3.messagelabs.com id
	42/61-03079-EB4BC555; Wed, 20 May 2015 16:22:22 +0000
X-Env-Sender: mindy@somerandomidiot.com
X-Msg-Ref: server-2.tower-31.messagelabs.com!1432138940!11004578!1
X-Originating-IP: [217.70.183.195]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogMjE3LjcwLjE4My4xOTUgPT4gMzc4NjI=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 16418 invoked from network); 20 May 2015 16:22:21 -0000
Received: from relay3-d.mail.gandi.net (HELO relay3-d.mail.gandi.net)
	(217.70.183.195)
	by server-2.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 20 May 2015 16:22:21 -0000
Received: from mfilter36-d.gandi.net (mfilter36-d.gandi.net [217.70.178.167])
	by relay3-d.mail.gandi.net (Postfix) with ESMTP id 4EA04A80E5
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 18:22:20 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mfilter36-d.gandi.net
Received: from relay3-d.mail.gandi.net ([217.70.183.195])
	by mfilter36-d.gandi.net (mfilter36-d.gandi.net [10.0.15.180])
	(amavisd-new, port 10024)
	with ESMTP id Y9BfNGBDDJ4J for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 18:22:19 +0200 (CEST)
X-Originating-IP: 131.111.184.18
Received: from [172.17.25.190] (global-1-18.nat.csx.cam.ac.uk [131.111.184.18])
	(Authenticated sender: guybrush@somerandomidiot.com)
	by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 74AB2A80CA
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 18:22:18 +0200 (CEST)
Message-ID: <555CB46F.1090106@somerandomidiot.com>
Date: Wed, 20 May 2015 17:21:03 +0100
From: Mindy <mindy@somerandomidiot.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: mirageos-devel@lists.xenproject.org
References: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>	<555CAFD4.4070700@somerandomidiot.com>
	<555CB382.2090904@mehnert.org>
In-Reply-To: <555CB382.2090904@mehnert.org>
Subject: Re: [MirageOS-devel] TLS deployments/feedback needed
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Thinking similarly, I tested whether it crashes serving over cohttp 
without TLS, and it seems not to; I'll check that next.  Also just made 
an issue: https://github.com/mirage/mirage/issues/406

On 05/20/2015 05:17 PM, Hannes Mehnert wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA384
>
> On 05/20/2015 17:01, Mindy wrote:
>> Good news or bad news, depending on how you slice it: running the
>> extremely naive test script below:
>>
>> ``` for i in `seq 1 2000`; do curl -1 -k https://192.168.3.2
>>> /dev/null; done ```
>> against a unikernel generated with mirage-seal results in the
>> following:
> if instead of invoking the cohttp dispatch (generated by mirage-seal),
> responding with a static string, does the same issue happen?
>
>
> hannes
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iQIcBAEBCQAGBQJVXLOCAAoJELyJZYjffCjuNnkP/0W8ztHpLTsU/Z2qoHKQny9d
> /brhiXNpeDYWh+LsdHQgVpG2heICxcSCr03XHX35o3/7mdEwHhS+r/Y0O6EszFXd
> ORIIA8824870b1DGMw2Nlx/hm0jA0K1YTOptbRQ+EzeOfPFhduBB7899Uf6IhCyN
> s9H+4wBOXbhdZjlUSoG/DT0VDkl9VTqgGK1khs1rUtRW8mt70okhe+2PESHsfkeB
> I/xBS7XtHERxl9UiYNDw8yPAhOAmAjrOlQ8xi8oRm+xEDgbeKF6w8muBul/xL2YU
> +3LWbryDctTTIBaKqJCG9AMTHSCgKR8q6FAs1QeMSFuzkcotrGHrs28XLa8KxmhF
> uFTXrAYtcp0imRmLuVEsn41148AMD+Hneio7tBm2LZ+zDyVZxLlsaklrAMBLxmLH
> V35ceJptWuTASHKuzaAfUtjgj3vw8cFIomNRqFGfspxJHbtYzuB94WnPOWyy4PQv
> uztu01OiLMaNPfGVpoo0Qy0zsnKQ4UN+lKAaLJ5cDJHKaQyhu4nXor/o79p3KYTm
> at+bMP3aGekyBBdKXKR7OyZi2dfwYjCUEeSjEnt2rMWrL6FESh793thwWJo6LAaT
> oGjYktKZE8uRhL7Us/5iKdl5jD4QPdWh48HdfksVKd4JF2zgVL9KE5HPTT9K1Ihq
> u6EfmDfdtHdwUj1YMqB1
> =dD+Y
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 16:22:23 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 16:22:23 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv6lD-0004gu-Cz; Wed, 20 May 2015 16:22:23 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mindy@somerandomidiot.com>) id 1Yv6lC-0004gn-R8
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 16:22:22 +0000
Received: from [85.158.137.68] by server-2.bemta-3.messagelabs.com id
	42/61-03079-EB4BC555; Wed, 20 May 2015 16:22:22 +0000
X-Env-Sender: mindy@somerandomidiot.com
X-Msg-Ref: server-2.tower-31.messagelabs.com!1432138940!11004578!1
X-Originating-IP: [217.70.183.195]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogMjE3LjcwLjE4My4xOTUgPT4gMzc4NjI=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 16418 invoked from network); 20 May 2015 16:22:21 -0000
Received: from relay3-d.mail.gandi.net (HELO relay3-d.mail.gandi.net)
	(217.70.183.195)
	by server-2.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 20 May 2015 16:22:21 -0000
Received: from mfilter36-d.gandi.net (mfilter36-d.gandi.net [217.70.178.167])
	by relay3-d.mail.gandi.net (Postfix) with ESMTP id 4EA04A80E5
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 18:22:20 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mfilter36-d.gandi.net
Received: from relay3-d.mail.gandi.net ([217.70.183.195])
	by mfilter36-d.gandi.net (mfilter36-d.gandi.net [10.0.15.180])
	(amavisd-new, port 10024)
	with ESMTP id Y9BfNGBDDJ4J for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 18:22:19 +0200 (CEST)
X-Originating-IP: 131.111.184.18
Received: from [172.17.25.190] (global-1-18.nat.csx.cam.ac.uk [131.111.184.18])
	(Authenticated sender: guybrush@somerandomidiot.com)
	by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 74AB2A80CA
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 18:22:18 +0200 (CEST)
Message-ID: <555CB46F.1090106@somerandomidiot.com>
Date: Wed, 20 May 2015 17:21:03 +0100
From: Mindy <mindy@somerandomidiot.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: mirageos-devel@lists.xenproject.org
References: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>	<555CAFD4.4070700@somerandomidiot.com>
	<555CB382.2090904@mehnert.org>
In-Reply-To: <555CB382.2090904@mehnert.org>
Subject: Re: [MirageOS-devel] TLS deployments/feedback needed
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Thinking similarly, I tested whether it crashes serving over cohttp 
without TLS, and it seems not to; I'll check that next.  Also just made 
an issue: https://github.com/mirage/mirage/issues/406

On 05/20/2015 05:17 PM, Hannes Mehnert wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA384
>
> On 05/20/2015 17:01, Mindy wrote:
>> Good news or bad news, depending on how you slice it: running the
>> extremely naive test script below:
>>
>> ``` for i in `seq 1 2000`; do curl -1 -k https://192.168.3.2
>>> /dev/null; done ```
>> against a unikernel generated with mirage-seal results in the
>> following:
> if instead of invoking the cohttp dispatch (generated by mirage-seal),
> responding with a static string, does the same issue happen?
>
>
> hannes
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iQIcBAEBCQAGBQJVXLOCAAoJELyJZYjffCjuNnkP/0W8ztHpLTsU/Z2qoHKQny9d
> /brhiXNpeDYWh+LsdHQgVpG2heICxcSCr03XHX35o3/7mdEwHhS+r/Y0O6EszFXd
> ORIIA8824870b1DGMw2Nlx/hm0jA0K1YTOptbRQ+EzeOfPFhduBB7899Uf6IhCyN
> s9H+4wBOXbhdZjlUSoG/DT0VDkl9VTqgGK1khs1rUtRW8mt70okhe+2PESHsfkeB
> I/xBS7XtHERxl9UiYNDw8yPAhOAmAjrOlQ8xi8oRm+xEDgbeKF6w8muBul/xL2YU
> +3LWbryDctTTIBaKqJCG9AMTHSCgKR8q6FAs1QeMSFuzkcotrGHrs28XLa8KxmhF
> uFTXrAYtcp0imRmLuVEsn41148AMD+Hneio7tBm2LZ+zDyVZxLlsaklrAMBLxmLH
> V35ceJptWuTASHKuzaAfUtjgj3vw8cFIomNRqFGfspxJHbtYzuB94WnPOWyy4PQv
> uztu01OiLMaNPfGVpoo0Qy0zsnKQ4UN+lKAaLJ5cDJHKaQyhu4nXor/o79p3KYTm
> at+bMP3aGekyBBdKXKR7OyZi2dfwYjCUEeSjEnt2rMWrL6FESh793thwWJo6LAaT
> oGjYktKZE8uRhL7Us/5iKdl5jD4QPdWh48HdfksVKd4JF2zgVL9KE5HPTT9K1Ihq
> u6EfmDfdtHdwUj1YMqB1
> =dD+Y
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 16:43:07 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 16:43:07 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv75E-0007De-9m; Wed, 20 May 2015 16:43:04 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <magnus@therning.org>) id 1Yv75D-0007DG-6Y
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 16:43:03 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	A2/5A-03040-699BC555; Wed, 20 May 2015 16:43:02 +0000
X-Env-Sender: magnus@therning.org
X-Msg-Ref: server-2.tower-31.messagelabs.com!1432140181!11010057!1
X-Originating-IP: [209.85.215.51]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 29275 invoked from network); 20 May 2015 16:43:01 -0000
Received: from mail-la0-f51.google.com (HELO mail-la0-f51.google.com)
	(209.85.215.51)
	by server-2.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	20 May 2015 16:43:01 -0000
Received: by lagv1 with SMTP id v1so82987750lag.3
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 09:43:01 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:date:from:to:cc:subject:message-id:references
	:mime-version:content-type:content-disposition:in-reply-to
	:user-agent;
	bh=Pjquy+aqJpXfIcTbm+DXIOmWsRkUmwx4oGYM9VtV7po=;
	b=kfzyIfUM30LcEwgKNWl26TcJ7BwaVbh+V503mtRkiSDo8uKvXeTv/876VhglbVDixX
	tnsms9DBOp99RFFXEd+CvgdGCnHkFTy9TVkI3VSacWk7SPl0FMGbfS9j7f96mNncIq3B
	m4kQTGc6Sq3YhTp4aGRpmgdCKc8PuzkrxXzoxPfAGThFgKI9+a4G2RW3nmf2ZhJUSCS3
	yRixmPSBM3JAOacvd2vFhhtrnMmrFob6nkbEyJNYQrpanB8pjz8BHx++F2+qNEAkTXem
	RaqMDjlBTJf0LHUiOUb/uAs9U6C3jdnIKfOjc+GfAwBOgLzf5nUaSFy5mrC1CqTNqwih
	LNcw==
X-Gm-Message-State: ALoCoQkbgIlP/Wyul+jHbjL2KW0+9MabI4hRy3p7kCcDjgjALcn1jxFUIm1BI1gHvfOOs/vxmR+i
X-Received: by 10.112.161.66 with SMTP id xq2mr906307lbb.31.1432140181142;
	Wed, 20 May 2015 09:43:01 -0700 (PDT)
Received: from tatooine ([83.241.129.195])
	by mx.google.com with ESMTPSA id xf5sm4733078lbb.7.2015.05.20.09.42.59
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Wed, 20 May 2015 09:42:59 -0700 (PDT)
Date: Wed, 20 May 2015 18:42:57 +0200
From: Magnus Therning <magnus@therning.org>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
Message-ID: <20150520164257.GA3609@tatooine>
References: <20150519224544.GA13972@tatooine>
	<E6CFDA08-BA38-42D4-890F-8BE2AE3237D8@gazagnaire.org>
	<66D5BC78-B1D1-4A2D-B21A-0672393CC3B1@gazagnaire.org>
	<CBF7FC0E-A1EF-4CE2-8F35-AFEE9C42F2F6@gazagnaire.org>
	<CAAExw5vWod3MfAR+Lvqg5bSLUyczrcgqS4YzZqy0NaCaTiO1NA@mail.gmail.com>
	<690682D3-99A8-4976-8308-021D699E6878@gazagnaire.org>
	<CAAExw5u=+K1xVKwsnt1j3itSpK05DmReVmVfZcJ-rXKp1X0e5A@mail.gmail.com>
	<20150520154659.GA2112@tatooine>
	<970F5F64-E8C7-47EC-947B-030788DADC4B@gazagnaire.org>
MIME-Version: 1.0
In-Reply-To: <970F5F64-E8C7-47EC-947B-030788DADC4B@gazagnaire.org>
User-Agent: Mutt/1.5.23 (2014-03-12)
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Any way to get caml4p to run on ARM
 (cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5588796956483850048=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============5588796956483850048==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="fdj2RfSjLxBAspz7"
Content-Disposition: inline


--fdj2RfSjLxBAspz7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, May 20, 2015 at 05:06:27PM +0100, Thomas Gazagnaire wrote:
> >=20
> > Unfortunately the segmentation fault remains, but now on `server.ml`.
> > And I think `server.ml` really *has* to be passed through camlp4o,
> > right?
>=20
> --- a/src/server.ml
> +++ b/src/server.ml
> @@ -77,13 +77,15 @@ module Main
>          in
>          c_log (sp "URL: '%s'" path)
>          >>=3D fun () ->
> -        try_lwt
> -          read_assets path >>=3D fun body ->
> -          S.respond_string ~status:`OK ~body ()
> -        with
> -        | Failure m ->
> -          Printf.printf "CATCH: '%s'\n%!" m;
> -          dynamic read_slides req cpts
> +        Lwt.catch
> +          (fun () ->
> +             read_assets path >>=3D fun body ->
> +             S.respond_string ~status:`OK ~body ()
> +          ) (function
> +              | Failure m ->
> +                Printf.printf "CATCH: '%s'\n%!" m;
> +                dynamic read_slides req cpts
> +              | e -> Lwt.fail e)
>        in
>=20
>        dispatch ~c_log ~read_assets ~read_slides ~conn_id ~req
>=20
> should fix it. But you will have the same issue on the next one.=20
>=20
> Not sure why your cubi is segfauling. Can you increase the memory of
> dom0, or ulimit, or something else? Seems to work fine on my cubi
> ...

`ulimit` give "unlimited".

I'm not sure how to increase the memory of dom0... the memory-related
commands of `xe` seems to require the domain be halted when memory
ranges are modified.

/M

--=20
Magnus Therning                      OpenPGP: 0xAB4DFBA4=20
email: magnus@therning.org   jabber: magnus@therning.org
twitter: magthe               http://therning.org/magnus

If our ideas of intellectual property are wrong, we must change them,
improve them and return them to their original purpose. When
intellectual property rules diminish the supply of new ideas, they
steal from all of us.
     -- Andrew Brown, November 19, 2005, The Guardian

--fdj2RfSjLxBAspz7
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iEYEABECAAYFAlVcuZEACgkQiMWTaatN+6T4JwCfRfUbmkQ3VixlGT9MS3MYnOkf
IAYAn1or3Y8D1SRAycbrtRQ6K649YL9X
=OKxz
-----END PGP SIGNATURE-----

--fdj2RfSjLxBAspz7--


--===============5588796956483850048==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============5588796956483850048==--


From mirageos-devel-bounces@lists.xenproject.org Wed May 20 16:43:07 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 16:43:07 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv75E-0007De-9m; Wed, 20 May 2015 16:43:04 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <magnus@therning.org>) id 1Yv75D-0007DG-6Y
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 16:43:03 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	A2/5A-03040-699BC555; Wed, 20 May 2015 16:43:02 +0000
X-Env-Sender: magnus@therning.org
X-Msg-Ref: server-2.tower-31.messagelabs.com!1432140181!11010057!1
X-Originating-IP: [209.85.215.51]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 29275 invoked from network); 20 May 2015 16:43:01 -0000
Received: from mail-la0-f51.google.com (HELO mail-la0-f51.google.com)
	(209.85.215.51)
	by server-2.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	20 May 2015 16:43:01 -0000
Received: by lagv1 with SMTP id v1so82987750lag.3
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 09:43:01 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:date:from:to:cc:subject:message-id:references
	:mime-version:content-type:content-disposition:in-reply-to
	:user-agent;
	bh=Pjquy+aqJpXfIcTbm+DXIOmWsRkUmwx4oGYM9VtV7po=;
	b=kfzyIfUM30LcEwgKNWl26TcJ7BwaVbh+V503mtRkiSDo8uKvXeTv/876VhglbVDixX
	tnsms9DBOp99RFFXEd+CvgdGCnHkFTy9TVkI3VSacWk7SPl0FMGbfS9j7f96mNncIq3B
	m4kQTGc6Sq3YhTp4aGRpmgdCKc8PuzkrxXzoxPfAGThFgKI9+a4G2RW3nmf2ZhJUSCS3
	yRixmPSBM3JAOacvd2vFhhtrnMmrFob6nkbEyJNYQrpanB8pjz8BHx++F2+qNEAkTXem
	RaqMDjlBTJf0LHUiOUb/uAs9U6C3jdnIKfOjc+GfAwBOgLzf5nUaSFy5mrC1CqTNqwih
	LNcw==
X-Gm-Message-State: ALoCoQkbgIlP/Wyul+jHbjL2KW0+9MabI4hRy3p7kCcDjgjALcn1jxFUIm1BI1gHvfOOs/vxmR+i
X-Received: by 10.112.161.66 with SMTP id xq2mr906307lbb.31.1432140181142;
	Wed, 20 May 2015 09:43:01 -0700 (PDT)
Received: from tatooine ([83.241.129.195])
	by mx.google.com with ESMTPSA id xf5sm4733078lbb.7.2015.05.20.09.42.59
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Wed, 20 May 2015 09:42:59 -0700 (PDT)
Date: Wed, 20 May 2015 18:42:57 +0200
From: Magnus Therning <magnus@therning.org>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
Message-ID: <20150520164257.GA3609@tatooine>
References: <20150519224544.GA13972@tatooine>
	<E6CFDA08-BA38-42D4-890F-8BE2AE3237D8@gazagnaire.org>
	<66D5BC78-B1D1-4A2D-B21A-0672393CC3B1@gazagnaire.org>
	<CBF7FC0E-A1EF-4CE2-8F35-AFEE9C42F2F6@gazagnaire.org>
	<CAAExw5vWod3MfAR+Lvqg5bSLUyczrcgqS4YzZqy0NaCaTiO1NA@mail.gmail.com>
	<690682D3-99A8-4976-8308-021D699E6878@gazagnaire.org>
	<CAAExw5u=+K1xVKwsnt1j3itSpK05DmReVmVfZcJ-rXKp1X0e5A@mail.gmail.com>
	<20150520154659.GA2112@tatooine>
	<970F5F64-E8C7-47EC-947B-030788DADC4B@gazagnaire.org>
MIME-Version: 1.0
In-Reply-To: <970F5F64-E8C7-47EC-947B-030788DADC4B@gazagnaire.org>
User-Agent: Mutt/1.5.23 (2014-03-12)
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Any way to get caml4p to run on ARM
 (cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5588796956483850048=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============5588796956483850048==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="fdj2RfSjLxBAspz7"
Content-Disposition: inline


--fdj2RfSjLxBAspz7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, May 20, 2015 at 05:06:27PM +0100, Thomas Gazagnaire wrote:
> >=20
> > Unfortunately the segmentation fault remains, but now on `server.ml`.
> > And I think `server.ml` really *has* to be passed through camlp4o,
> > right?
>=20
> --- a/src/server.ml
> +++ b/src/server.ml
> @@ -77,13 +77,15 @@ module Main
>          in
>          c_log (sp "URL: '%s'" path)
>          >>=3D fun () ->
> -        try_lwt
> -          read_assets path >>=3D fun body ->
> -          S.respond_string ~status:`OK ~body ()
> -        with
> -        | Failure m ->
> -          Printf.printf "CATCH: '%s'\n%!" m;
> -          dynamic read_slides req cpts
> +        Lwt.catch
> +          (fun () ->
> +             read_assets path >>=3D fun body ->
> +             S.respond_string ~status:`OK ~body ()
> +          ) (function
> +              | Failure m ->
> +                Printf.printf "CATCH: '%s'\n%!" m;
> +                dynamic read_slides req cpts
> +              | e -> Lwt.fail e)
>        in
>=20
>        dispatch ~c_log ~read_assets ~read_slides ~conn_id ~req
>=20
> should fix it. But you will have the same issue on the next one.=20
>=20
> Not sure why your cubi is segfauling. Can you increase the memory of
> dom0, or ulimit, or something else? Seems to work fine on my cubi
> ...

`ulimit` give "unlimited".

I'm not sure how to increase the memory of dom0... the memory-related
commands of `xe` seems to require the domain be halted when memory
ranges are modified.

/M

--=20
Magnus Therning                      OpenPGP: 0xAB4DFBA4=20
email: magnus@therning.org   jabber: magnus@therning.org
twitter: magthe               http://therning.org/magnus

If our ideas of intellectual property are wrong, we must change them,
improve them and return them to their original purpose. When
intellectual property rules diminish the supply of new ideas, they
steal from all of us.
     -- Andrew Brown, November 19, 2005, The Guardian

--fdj2RfSjLxBAspz7
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iEYEABECAAYFAlVcuZEACgkQiMWTaatN+6T4JwCfRfUbmkQ3VixlGT9MS3MYnOkf
IAYAn1or3Y8D1SRAycbrtRQ6K649YL9X
=OKxz
-----END PGP SIGNATURE-----

--fdj2RfSjLxBAspz7--


--===============5588796956483850048==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============5588796956483850048==--


From mirageos-devel-bounces@lists.xenproject.org Wed May 20 16:46:26 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 16:46:26 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv78T-0007Ro-KY; Wed, 20 May 2015 16:46:25 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <magnus@therning.org>) id 1Yv78S-0007RU-BF
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 16:46:24 +0000
Received: from [85.158.137.68] by server-8.bemta-3.messagelabs.com id
	69/6D-03730-F5ABC555; Wed, 20 May 2015 16:46:23 +0000
X-Env-Sender: magnus@therning.org
X-Msg-Ref: server-15.tower-31.messagelabs.com!1432140382!10892439!1
X-Originating-IP: [209.85.215.51]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 646 invoked from network); 20 May 2015 16:46:23 -0000
Received: from mail-la0-f51.google.com (HELO mail-la0-f51.google.com)
	(209.85.215.51)
	by server-15.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	20 May 2015 16:46:23 -0000
Received: by lagv1 with SMTP id v1so83120861lag.3
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 09:46:22 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:date:from:to:cc:subject:message-id:references
	:mime-version:content-type:content-disposition:in-reply-to
	:user-agent;
	bh=EbsG6XlvE/mzSxN6RJAYVAVIDRq/QPPFchA4AnYah/w=;
	b=ikZHkd10ZvWcz6m3Tw2pV72ItK5LhmJewOsLuuf6V6BXE8dPW0vjbmEmg2oVDrxKiT
	VO8kolJmRTeVEFEyfBCp9cARoSHyRsiNCLUUKhWeW6bOdpN4dzvKqyO5kTKho1pDoUdz
	ZWjut084yv35/oVgnTk42JoGP2n/aIrQaoxjxTCNd4BvV5euKwZbcTMnpsHrRKDnxXd1
	/Oy56Cs9mPwwy3gT47xgOj3jqnn7EQE0DWlp1FrcXY8zmRnpHl3NwE0p0L/ea6c4yJgF
	TyzeVnOAmandAhxlucGKYdDmAv6f3i5zS3CDVvGo64inAYvIinyeXDWaWONq5sSNy0V+
	KgOg==
X-Gm-Message-State: ALoCoQkzHR16onN4E0zE1QtayuTdedCfpH/v4/xbThTeeblRrhxZysgbjvUbXJVSNzyDS/SVZ2+W
X-Received: by 10.112.219.70 with SMTP id pm6mr26139269lbc.41.1432140382512;
	Wed, 20 May 2015 09:46:22 -0700 (PDT)
Received: from tatooine ([83.241.129.195])
	by mx.google.com with ESMTPSA id yc3sm2348907lbb.6.2015.05.20.09.46.20
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Wed, 20 May 2015 09:46:21 -0700 (PDT)
Date: Wed, 20 May 2015 18:46:19 +0200
From: Magnus Therning <magnus@therning.org>
To: Anil Madhavapeddy <anil@recoil.org>
Message-ID: <20150520164619.GB3609@tatooine>
References: <20150519224544.GA13972@tatooine>
	<E6CFDA08-BA38-42D4-890F-8BE2AE3237D8@gazagnaire.org>
	<66D5BC78-B1D1-4A2D-B21A-0672393CC3B1@gazagnaire.org>
	<CBF7FC0E-A1EF-4CE2-8F35-AFEE9C42F2F6@gazagnaire.org>
	<CAAExw5vWod3MfAR+Lvqg5bSLUyczrcgqS4YzZqy0NaCaTiO1NA@mail.gmail.com>
	<690682D3-99A8-4976-8308-021D699E6878@gazagnaire.org>
	<CAAExw5u=+K1xVKwsnt1j3itSpK05DmReVmVfZcJ-rXKp1X0e5A@mail.gmail.com>
	<20150520154659.GA2112@tatooine>
	<94FA4595-D290-48DE-A4A2-ACB3E85B74D9@recoil.org>
MIME-Version: 1.0
In-Reply-To: <94FA4595-D290-48DE-A4A2-ACB3E85B74D9@recoil.org>
User-Agent: Mutt/1.5.23 (2014-03-12)
Cc: Thomas Gazagnaire <thomas@gazagnaire.org>,
	MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Any way to get caml4p to run on ARM
 (cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============7887552776668889382=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============7887552776668889382==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="0eh6TmSyL6TZE2Uz"
Content-Disposition: inline


--0eh6TmSyL6TZE2Uz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, May 20, 2015 at 05:13:46PM +0100, Anil Madhavapeddy wrote:
> On 20 May 2015, at 16:46, Magnus Therning <magnus@therning.org> wrote:
> >=20
> > Unfortunately the segmentation fault remains, but now on `server.ml`.
>=20
> I saw these sorts of segmentation faults due to bad memory on one of my
> first Cubieboards.  If you can find the command line involved (by passing
> -classic-display to the ocamlbuild command) and run that under `gdb`,
> it would be good to see how deterministic the crash is.  Removing camlp4
> may just be masking the physical memory error by simply allocating less.

That's a bit worrying! :(

When running the `camlp4` invocation manually I only get an "Out of
memory".  I'm not sure how to run `camlp4` under `gdb`; `camlp4`
itself isn't an executable and the `camlp4*.opt` all report that they
"Error: don't know what to do with str.cma".

/M

--=20
Magnus Therning                      OpenPGP: 0xAB4DFBA4=20
email: magnus@therning.org   jabber: magnus@therning.org
twitter: magthe               http://therning.org/magnus

Eagles may soar, but weasels don't get sucked into jet engines.

--0eh6TmSyL6TZE2Uz
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iEYEABECAAYFAlVculsACgkQiMWTaatN+6T24gCg2+0iA8ytgSdTuOe7uBhWkPQp
kvoAoKuGQrXnammAiLTbQ3wgbYUhJDL4
=qiJz
-----END PGP SIGNATURE-----

--0eh6TmSyL6TZE2Uz--


--===============7887552776668889382==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============7887552776668889382==--


From mirageos-devel-bounces@lists.xenproject.org Wed May 20 16:46:26 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 16:46:26 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv78T-0007Ro-KY; Wed, 20 May 2015 16:46:25 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <magnus@therning.org>) id 1Yv78S-0007RU-BF
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 16:46:24 +0000
Received: from [85.158.137.68] by server-8.bemta-3.messagelabs.com id
	69/6D-03730-F5ABC555; Wed, 20 May 2015 16:46:23 +0000
X-Env-Sender: magnus@therning.org
X-Msg-Ref: server-15.tower-31.messagelabs.com!1432140382!10892439!1
X-Originating-IP: [209.85.215.51]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 646 invoked from network); 20 May 2015 16:46:23 -0000
Received: from mail-la0-f51.google.com (HELO mail-la0-f51.google.com)
	(209.85.215.51)
	by server-15.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	20 May 2015 16:46:23 -0000
Received: by lagv1 with SMTP id v1so83120861lag.3
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 09:46:22 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:date:from:to:cc:subject:message-id:references
	:mime-version:content-type:content-disposition:in-reply-to
	:user-agent;
	bh=EbsG6XlvE/mzSxN6RJAYVAVIDRq/QPPFchA4AnYah/w=;
	b=ikZHkd10ZvWcz6m3Tw2pV72ItK5LhmJewOsLuuf6V6BXE8dPW0vjbmEmg2oVDrxKiT
	VO8kolJmRTeVEFEyfBCp9cARoSHyRsiNCLUUKhWeW6bOdpN4dzvKqyO5kTKho1pDoUdz
	ZWjut084yv35/oVgnTk42JoGP2n/aIrQaoxjxTCNd4BvV5euKwZbcTMnpsHrRKDnxXd1
	/Oy56Cs9mPwwy3gT47xgOj3jqnn7EQE0DWlp1FrcXY8zmRnpHl3NwE0p0L/ea6c4yJgF
	TyzeVnOAmandAhxlucGKYdDmAv6f3i5zS3CDVvGo64inAYvIinyeXDWaWONq5sSNy0V+
	KgOg==
X-Gm-Message-State: ALoCoQkzHR16onN4E0zE1QtayuTdedCfpH/v4/xbThTeeblRrhxZysgbjvUbXJVSNzyDS/SVZ2+W
X-Received: by 10.112.219.70 with SMTP id pm6mr26139269lbc.41.1432140382512;
	Wed, 20 May 2015 09:46:22 -0700 (PDT)
Received: from tatooine ([83.241.129.195])
	by mx.google.com with ESMTPSA id yc3sm2348907lbb.6.2015.05.20.09.46.20
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Wed, 20 May 2015 09:46:21 -0700 (PDT)
Date: Wed, 20 May 2015 18:46:19 +0200
From: Magnus Therning <magnus@therning.org>
To: Anil Madhavapeddy <anil@recoil.org>
Message-ID: <20150520164619.GB3609@tatooine>
References: <20150519224544.GA13972@tatooine>
	<E6CFDA08-BA38-42D4-890F-8BE2AE3237D8@gazagnaire.org>
	<66D5BC78-B1D1-4A2D-B21A-0672393CC3B1@gazagnaire.org>
	<CBF7FC0E-A1EF-4CE2-8F35-AFEE9C42F2F6@gazagnaire.org>
	<CAAExw5vWod3MfAR+Lvqg5bSLUyczrcgqS4YzZqy0NaCaTiO1NA@mail.gmail.com>
	<690682D3-99A8-4976-8308-021D699E6878@gazagnaire.org>
	<CAAExw5u=+K1xVKwsnt1j3itSpK05DmReVmVfZcJ-rXKp1X0e5A@mail.gmail.com>
	<20150520154659.GA2112@tatooine>
	<94FA4595-D290-48DE-A4A2-ACB3E85B74D9@recoil.org>
MIME-Version: 1.0
In-Reply-To: <94FA4595-D290-48DE-A4A2-ACB3E85B74D9@recoil.org>
User-Agent: Mutt/1.5.23 (2014-03-12)
Cc: Thomas Gazagnaire <thomas@gazagnaire.org>,
	MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Any way to get caml4p to run on ARM
 (cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============7887552776668889382=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============7887552776668889382==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="0eh6TmSyL6TZE2Uz"
Content-Disposition: inline


--0eh6TmSyL6TZE2Uz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, May 20, 2015 at 05:13:46PM +0100, Anil Madhavapeddy wrote:
> On 20 May 2015, at 16:46, Magnus Therning <magnus@therning.org> wrote:
> >=20
> > Unfortunately the segmentation fault remains, but now on `server.ml`.
>=20
> I saw these sorts of segmentation faults due to bad memory on one of my
> first Cubieboards.  If you can find the command line involved (by passing
> -classic-display to the ocamlbuild command) and run that under `gdb`,
> it would be good to see how deterministic the crash is.  Removing camlp4
> may just be masking the physical memory error by simply allocating less.

That's a bit worrying! :(

When running the `camlp4` invocation manually I only get an "Out of
memory".  I'm not sure how to run `camlp4` under `gdb`; `camlp4`
itself isn't an executable and the `camlp4*.opt` all report that they
"Error: don't know what to do with str.cma".

/M

--=20
Magnus Therning                      OpenPGP: 0xAB4DFBA4=20
email: magnus@therning.org   jabber: magnus@therning.org
twitter: magthe               http://therning.org/magnus

Eagles may soar, but weasels don't get sucked into jet engines.

--0eh6TmSyL6TZE2Uz
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iEYEABECAAYFAlVculsACgkQiMWTaatN+6T24gCg2+0iA8ytgSdTuOe7uBhWkPQp
kvoAoKuGQrXnammAiLTbQ3wgbYUhJDL4
=qiJz
-----END PGP SIGNATURE-----

--0eh6TmSyL6TZE2Uz--


--===============7887552776668889382==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============7887552776668889382==--


From mirageos-devel-bounces@lists.xenproject.org Wed May 20 17:47:56 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 17:47:56 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv85u-0004rF-89; Wed, 20 May 2015 17:47:50 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <Dave.Scott@citrix.com>) id 1Yv85s-0004r9-6h
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 17:47:48 +0000
Received: from [193.109.254.147] by server-3.bemta-14.messagelabs.com id
	D8/04-03032-3C8CC555; Wed, 20 May 2015 17:47:47 +0000
X-Env-Sender: Dave.Scott@citrix.com
X-Msg-Ref: server-9.tower-27.messagelabs.com!1432144066!19297492!1
X-Originating-IP: [185.25.65.24]
X-SpamReason: No, hits=0.0 required=7.0 tests=received_headers: No 
	Received headers
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 1815 invoked from network); 20 May 2015 17:47:46 -0000
Received: from smtp.ctxuk.citrix.com (HELO SMTP.EU.CITRIX.COM) (185.25.65.24)
	by server-9.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	20 May 2015 17:47:46 -0000
X-IronPort-AV: E=Sophos;i="5.13,465,1427760000"; 
   d="scan'208";a="257500"
From: Dave Scott <Dave.Scott@citrix.com>
To: Anil Madhavapeddy <anil@recoil.org>
Thread-Topic: [MirageOS-devel] TLS deployments/feedback needed
Thread-Index: AQHQkwKUHE/UzYQM+kWSMQ/mfuLi/52E5OQAgAAC0YCAABrkgA==
Date: Wed, 20 May 2015 17:47:44 +0000
Message-ID: <7AD634DE-5D38-4D72-B40B-0CADB4E39F51@citrix.com>
References: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>
	<555CAFD4.4070700@somerandomidiot.com>
	<725A784E-11AE-445E-B566-D09871B3C82D@recoil.org>
In-Reply-To: <725A784E-11AE-445E-B566-D09871B3C82D@recoil.org>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-ID: <1234B4096FCB294DA35BAFB44575115D@citrix.com>
MIME-Version: 1.0
X-DLP: AMS1
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] TLS deployments/feedback needed
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

DQo+IE9uIDIwIE1heSAyMDE1LCBhdCAxNzoxMSwgQW5pbCBNYWRoYXZhcGVkZHkgPGFuaWxAcmVj
b2lsLm9yZz4gd3JvdGU6DQo+IA0KPiBPbiAyMCBNYXkgMjAxNSwgYXQgMTc6MDEsIE1pbmR5IDxt
aW5keUBzb21lcmFuZG9taWRpb3QuY29tPiB3cm90ZToNCj4+IA0KPj4gR29vZCBuZXdzIG9yIGJh
ZCBuZXdzLCBkZXBlbmRpbmcgb24gaG93IHlvdSBzbGljZSBpdDogcnVubmluZyB0aGUgZXh0cmVt
ZWx5IG5haXZlIHRlc3Qgc2NyaXB0IGJlbG93Og0KPj4gDQo+PiBgYGANCj4+IGZvciBpIGluIGBz
ZXEgMSAyMDAwYDsgZG8gY3VybCAtMSAtayBodHRwczovL3NlY3VyZS13ZWIuY2lzY28uY29tLzFn
LUc3WC1qUjMxN1RBaHNzU19XeTYyS1JuMlQ2QkxJY20tMzlTV09NdlA4enhFNmQ0ZFJYVUN6alhh
V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GV2aWNlIGluIHRhciBmb3JtYXQgc28gdGhlIG1ham9yaXR5IG9mIHRo
ZSBkYXRhIGlzIGtlcHQgb24gZGlzay4NCg0KQ2hlZXJzLA0KRGF2ZQpfX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxp
c3QKTWlyYWdlT1MtZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnBy
b2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Wed May 20 17:47:56 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 20 May 2015 17:47:56 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yv85u-0004rF-89; Wed, 20 May 2015 17:47:50 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <Dave.Scott@citrix.com>) id 1Yv85s-0004r9-6h
	for mirageos-devel@lists.xenproject.org; Wed, 20 May 2015 17:47:48 +0000
Received: from [193.109.254.147] by server-3.bemta-14.messagelabs.com id
	D8/04-03032-3C8CC555; Wed, 20 May 2015 17:47:47 +0000
X-Env-Sender: Dave.Scott@citrix.com
X-Msg-Ref: server-9.tower-27.messagelabs.com!1432144066!19297492!1
X-Originating-IP: [185.25.65.24]
X-SpamReason: No, hits=0.0 required=7.0 tests=received_headers: No 
	Received headers
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 1815 invoked from network); 20 May 2015 17:47:46 -0000
Received: from smtp.ctxuk.citrix.com (HELO SMTP.EU.CITRIX.COM) (185.25.65.24)
	by server-9.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	20 May 2015 17:47:46 -0000
X-IronPort-AV: E=Sophos;i="5.13,465,1427760000"; 
   d="scan'208";a="257500"
From: Dave Scott <Dave.Scott@citrix.com>
To: Anil Madhavapeddy <anil@recoil.org>
Thread-Topic: [MirageOS-devel] TLS deployments/feedback needed
Thread-Index: AQHQkwKUHE/UzYQM+kWSMQ/mfuLi/52E5OQAgAAC0YCAABrkgA==
Date: Wed, 20 May 2015 17:47:44 +0000
Message-ID: <7AD634DE-5D38-4D72-B40B-0CADB4E39F51@citrix.com>
References: <521DEA21-4A3F-4BB5-BE6A-EE650B88EE49@cam.ac.uk>
	<555CAFD4.4070700@somerandomidiot.com>
	<725A784E-11AE-445E-B566-D09871B3C82D@recoil.org>
In-Reply-To: <725A784E-11AE-445E-B566-D09871B3C82D@recoil.org>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-ID: <1234B4096FCB294DA35BAFB44575115D@citrix.com>
MIME-Version: 1.0
X-DLP: AMS1
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] TLS deployments/feedback needed
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org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2l0
aCB0aGUgY29udGVudHMgYW5kIGF0dGFjaCB0aGF0IHdpdGggYSBuYW1lIHdlIGNvbnRyb2wgKOKA
mHh2ZGHigJkpLiBJbiBjYXNlcyB3aGVyZSBzb21lb25lIHdhbnRzIHRvIGNvbm5lY3QgYSBwZXJz
aXN0ZW50IGRhdGFiYXNlIHRvIGJvdGggYSBVbml4IHVuaWtlcm5lbCBieSBwYXRoIC9mb28vYmFy
IGFuZCBieSBYZW4geHZkYSx4dmRhIHdl4oCZZCBoYXZlIHRvIGRvIHNvbWV0aGluZyBkaWZmZXJl
bnQuDQoNClF1aXRlIGEgd2hpbGUgYWdvIEkgd3JvdGUgdGhpcyBwYXRjaDoNCg0KaHR0cHM6Ly9n
aXRodWIuY29tL2RqczU1L21pcmFnZS13d3cvY29tbWl0LzIyNGVmZDU5MmEwNGRlNWZlZTNmMGY5
NDM3YTgxYjYyY2M5Mzg0NjINCg0KVGhlIGlkZWEgd2FzIHRvIGtlZXAgYW4gaW4tbWVtb3J5IGlu
ZGV4IHRvIGEgYmxvY2sgZGV2aWNlIGluIHRhciBmb3JtYXQgc28gdGhlIG1ham9yaXR5IG9mIHRo
ZSBkYXRhIGlzIGtlcHQgb24gZGlzay4NCg0KQ2hlZXJzLA0KRGF2ZQpfX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxp
c3QKTWlyYWdlT1MtZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnBy
b2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Thu May 21 06:31:58 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 21 May 2015 06:31:58 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvK1H-0002ER-7G; Thu, 21 May 2015 06:31:51 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1YvK1F-0002EM-VQ
	for mirageos-devel@lists.xenproject.org; Thu, 21 May 2015 06:31:50 +0000
Received: from [193.109.254.147] by server-12.bemta-14.messagelabs.com id
	F2/A3-02507-5DB7D555; Thu, 21 May 2015 06:31:49 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-6.tower-27.messagelabs.com!1432189908!19417914!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 19557 invoked from network); 21 May 2015 06:31:48 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-6.tower-27.messagelabs.com with SMTP;
	21 May 2015 06:31:48 -0000
Received: from [192.168.1.103] (CPE-124-188-3-229.dccz1.win.bigpond.net.au
	[124.188.3.229])
	by mail.supercoders.com.au (Postfix) with ESMTPS id 4B5846019D
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 21 May 2015 06:31:47 +0000 (UTC)
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
Message-Id: <9D8EA117-E3D8-4845-B76F-4C424154CDA3@supercoders.com.au>
Date: Thu, 21 May 2015 16:31:44 +1000
To: mirageos-devel@lists.xenproject.org
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Subject: [MirageOS-devel] Anyone else have problems with openmirage.org?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SeKAmW0gdHJ5aW5nIHRvIGluc3RhbGwgTWlyYWdlT1MgYnV0IHRoZSB3ZWIgc2l0ZSBpcyBvZnRl
biB2ZXJ5IHNsb3cgb3IgdW5yZXNwb25zaXZlLgoKRG9lcyBhbnlvbmUgZWxzZSBoYXZlIHByb2Js
ZW1zIGFjY2Vzc2luZyBvcGVubWlyYWdlLm9yZz8KClJlbGF0ZWQgdG8gdGhpcyAtIGlzIG9wZW5t
aXJhZ2Uub3JnIHJ1bm5pbmcgb24gTWlyYWdlT1M/ICBJZiB5ZXMgdGhlbiBpdCBnaXZlcyBhIGxp
dHRsZSBjb25jZXJuIGFib3V0IHRoZSByZWFkaW5lc3Mgb2YgdGhlIHdlYiBzZXJ2ZXIgZm9yIHBy
b2R1Y3Rpb24gdXNhZ2UuICAKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX18KTWlyYWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3Rz
LnhlbnByb2plY3Qub3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxt
YW4vbGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Thu May 21 06:31:58 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 21 May 2015 06:31:58 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvK1H-0002ER-7G; Thu, 21 May 2015 06:31:51 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1YvK1F-0002EM-VQ
	for mirageos-devel@lists.xenproject.org; Thu, 21 May 2015 06:31:50 +0000
Received: from [193.109.254.147] by server-12.bemta-14.messagelabs.com id
	F2/A3-02507-5DB7D555; Thu, 21 May 2015 06:31:49 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-6.tower-27.messagelabs.com!1432189908!19417914!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 19557 invoked from network); 21 May 2015 06:31:48 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-6.tower-27.messagelabs.com with SMTP;
	21 May 2015 06:31:48 -0000
Received: from [192.168.1.103] (CPE-124-188-3-229.dccz1.win.bigpond.net.au
	[124.188.3.229])
	by mail.supercoders.com.au (Postfix) with ESMTPS id 4B5846019D
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 21 May 2015 06:31:47 +0000 (UTC)
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
Message-Id: <9D8EA117-E3D8-4845-B76F-4C424154CDA3@supercoders.com.au>
Date: Thu, 21 May 2015 16:31:44 +1000
To: mirageos-devel@lists.xenproject.org
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Subject: [MirageOS-devel] Anyone else have problems with openmirage.org?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SeKAmW0gdHJ5aW5nIHRvIGluc3RhbGwgTWlyYWdlT1MgYnV0IHRoZSB3ZWIgc2l0ZSBpcyBvZnRl
biB2ZXJ5IHNsb3cgb3IgdW5yZXNwb25zaXZlLgoKRG9lcyBhbnlvbmUgZWxzZSBoYXZlIHByb2Js
ZW1zIGFjY2Vzc2luZyBvcGVubWlyYWdlLm9yZz8KClJlbGF0ZWQgdG8gdGhpcyAtIGlzIG9wZW5t
aXJhZ2Uub3JnIHJ1bm5pbmcgb24gTWlyYWdlT1M/ICBJZiB5ZXMgdGhlbiBpdCBnaXZlcyBhIGxp
dHRsZSBjb25jZXJuIGFib3V0IHRoZSByZWFkaW5lc3Mgb2YgdGhlIHdlYiBzZXJ2ZXIgZm9yIHBy
b2R1Y3Rpb24gdXNhZ2UuICAKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX18KTWlyYWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3Rz
LnhlbnByb2plY3Qub3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxt
YW4vbGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Thu May 21 06:38:38 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 21 May 2015 06:38:38 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvK7p-0002kf-OT; Thu, 21 May 2015 06:38:37 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1YvK7n-0002ka-Qm
	for mirageos-devel@lists.xenproject.org; Thu, 21 May 2015 06:38:35 +0000
Received: from [85.158.137.68] by server-16.bemta-3.messagelabs.com id
	C5/02-02776-B6D7D555; Thu, 21 May 2015 06:38:35 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-10.tower-31.messagelabs.com!1432190314!11119809!1
X-Originating-IP: [209.85.212.174]
X-SpamReason: No, hits=0.8 required=7.0 tests=BODY_RANDOM_LONG,
  RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 23642 invoked from network); 21 May 2015 06:38:34 -0000
Received: from mail-wi0-f174.google.com (HELO mail-wi0-f174.google.com)
	(209.85.212.174)
	by server-10.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	21 May 2015 06:38:34 -0000
Received: by wibt6 with SMTP id t6so2388072wib.0
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 23:38:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type:content-transfer-encoding;
	bh=YBKPX2oP00f5m1o8TnXt+2OE+BZgfrQm3lKaPpdKNT4=;
	b=VP/BfM9iT49Vfsh3nt53X8mRJCw+/ueHwFFVXrFNlRSjc+zV6wtf708I62OYpWFYy9
	q5OG3PjJD6aSGd4yxCVR8voao47pdiW74Z2uxWIesEnRX2vK833ONhrS1ZvGFm3R1EXy
	YqcMCtlDWYUNDqZtbGIIQcTQuAaqsf3TPKKbOYU4qhbYIyYPqljMcvz0mZxUXe0m+9F4
	YCFPToBGr0O1s0mzQUW2oQd9yesPkaONfRAEVXUVE5Zkut8yhdPGb67RqhQR6lJdnYX2
	qimqpH19iPNOrrU9MRHJhf4HxMM+spFsjA8URlrfGxta6+T94hOqe+tHe7MJ7D0XuXDJ
	T0lA==
MIME-Version: 1.0
X-Received: by 10.181.13.198 with SMTP id fa6mr16463160wid.41.1432190314199;
	Wed, 20 May 2015 23:38:34 -0700 (PDT)
Received: by 10.28.226.193 with HTTP; Wed, 20 May 2015 23:38:34 -0700 (PDT)
In-Reply-To: <9D8EA117-E3D8-4845-B76F-4C424154CDA3@supercoders.com.au>
References: <9D8EA117-E3D8-4845-B76F-4C424154CDA3@supercoders.com.au>
Date: Thu, 21 May 2015 07:38:34 +0100
X-Google-Sender-Auth: RaZ9d3ewlgET_lrV8PceeHL6zPA
Message-ID: <CAN2Hq05nvqaBznUh4e25-2veaLyVD3zqEvykmV0KD_a4=eLR9w@mail.gmail.com>
From: Richard Mortier <mort@cantab.net>
To: Andrew Stuart <andrew.stuart@supercoders.com.au>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Anyone else have problems with openmirage.org?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGkgU3R1YXJ0OwoKT24gMjEgTWF5IDIwMTUgYXQgMDc6MzEsIEFuZHJldyBTdHVhcnQgPGFuZHJl
dy5zdHVhcnRAc3VwZXJjb2RlcnMuY29tLmF1PiB3cm90ZToKPiBJ4oCZbSB0cnlpbmcgdG8gaW5z
dGFsbCBNaXJhZ2VPUyBidXQgdGhlIHdlYiBzaXRlIGlzIG9mdGVuIHZlcnkgc2xvdyBvciB1bnJl
c3BvbnNpdmUuCj4KPiBEb2VzIGFueW9uZSBlbHNlIGhhdmUgcHJvYmxlbXMgYWNjZXNzaW5nIG9w
ZW5taXJhZ2Uub3JnPwoKQWNjZXNzaW5nIGl0IGp1c3Qgbm93IGl0IHNlZW1lZCByZXNwb25zaXZl
IHRvIG1lLiBBcmUgdGhlcmUgYW55CnBhcnRpY3VsYXIgbGlua3MgdGhhdCBhcmUgY29uc2lzdGVu
dGx5IHVucmVzcG9uc2l2ZSwgb3IgYW55IHBhcnRpY3VsYXIKcGVyaW9kcyB0aGF0IGl0J3MgYmVl
biB1bnJlc3BvbnNpdmUgZm9yIHlvdT8gIElmIHlvdSBjYW4gY2FwdHVyZQp0cmFjZXMgb2Ygc3Vj
aCBhY2Nlc3NlcywgYnkgYWxsIG1lYW5zIHBvc3QgdGhlbSBhcyBpc3N1ZXMgb24gdGhlCkdpdGh1
YiByZXBvIGFuZCB3ZSdsbCBsb29rIGludG8gaXQuCgo+IFJlbGF0ZWQgdG8gdGhpcyAtIGlzIG9w
ZW5taXJhZ2Uub3JnIHJ1bm5pbmcgb24gTWlyYWdlT1M/ICBJZiB5ZXMgdGhlbiBpdCBnaXZlcyBh
IGxpdHRsZSBjb25jZXJuIGFib3V0IHRoZSByZWFkaW5lc3Mgb2YgdGhlIHdlYiBzZXJ2ZXIgZm9y
IHByb2R1Y3Rpb24gdXNhZ2UuCj4KClllcywgdGhlIHNpdGUgaXMgYSBNaXJhZ2VPUyBhcHBsaWFu
Y2UuIFRoZXJlIGFyZSBjZXJ0YWlubHkgYXNwZWN0cwp0aGF0IG5lZWQgZnVydGhlciBkZXZlbG9w
bWVudCAoaGVuY2UgdGhlIDAueCB2ZXJzaW9uIG51bWJlciBmb3IKQ29odHRwLCB0aGUgd2ViIGxp
YnJhcnkpLCBidXQgdGhhdCBzaXRlIGhhcyBiZWVuIHNlbGYtaG9zdGVkIG5vdyBmb3IKc2V2ZXJh
bCB5ZWFycyB3aXRob3V0IG1ham9yIHByb2JsZW1zIChhbmQgdGhlIG9uZXMgd2UndmUgZm91bmQg
aGF2ZQpiZWVuIGZpeGVkISkuIEZvciBhbiBhbHRlcm5hdGl2ZSBpbnN0YW5jZSwgeW91IGNvdWxk
IGFsc28gdHJ5Cmh0dHBzOi8vbWlyYWdlLmlvIHdoaWNoIGhvc3RzIHRoZSBzYW1lIGNvbnRlbnQg
dmlhIHRoZSBuZXcgbnFzYi1UTFMKc3RhY2suCgotLSAKUmljaGFyZCBNb3J0aWVyCm1vcnRAY2Fu
dGFiLm5ldAoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18K
TWlyYWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2pl
Y3Qub3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGlu
Zm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Thu May 21 06:38:38 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 21 May 2015 06:38:38 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvK7p-0002kf-OT; Thu, 21 May 2015 06:38:37 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1YvK7n-0002ka-Qm
	for mirageos-devel@lists.xenproject.org; Thu, 21 May 2015 06:38:35 +0000
Received: from [85.158.137.68] by server-16.bemta-3.messagelabs.com id
	C5/02-02776-B6D7D555; Thu, 21 May 2015 06:38:35 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-10.tower-31.messagelabs.com!1432190314!11119809!1
X-Originating-IP: [209.85.212.174]
X-SpamReason: No, hits=0.8 required=7.0 tests=BODY_RANDOM_LONG,
  RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 23642 invoked from network); 21 May 2015 06:38:34 -0000
Received: from mail-wi0-f174.google.com (HELO mail-wi0-f174.google.com)
	(209.85.212.174)
	by server-10.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	21 May 2015 06:38:34 -0000
Received: by wibt6 with SMTP id t6so2388072wib.0
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 20 May 2015 23:38:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type:content-transfer-encoding;
	bh=YBKPX2oP00f5m1o8TnXt+2OE+BZgfrQm3lKaPpdKNT4=;
	b=VP/BfM9iT49Vfsh3nt53X8mRJCw+/ueHwFFVXrFNlRSjc+zV6wtf708I62OYpWFYy9
	q5OG3PjJD6aSGd4yxCVR8voao47pdiW74Z2uxWIesEnRX2vK833ONhrS1ZvGFm3R1EXy
	YqcMCtlDWYUNDqZtbGIIQcTQuAaqsf3TPKKbOYU4qhbYIyYPqljMcvz0mZxUXe0m+9F4
	YCFPToBGr0O1s0mzQUW2oQd9yesPkaONfRAEVXUVE5Zkut8yhdPGb67RqhQR6lJdnYX2
	qimqpH19iPNOrrU9MRHJhf4HxMM+spFsjA8URlrfGxta6+T94hOqe+tHe7MJ7D0XuXDJ
	T0lA==
MIME-Version: 1.0
X-Received: by 10.181.13.198 with SMTP id fa6mr16463160wid.41.1432190314199;
	Wed, 20 May 2015 23:38:34 -0700 (PDT)
Received: by 10.28.226.193 with HTTP; Wed, 20 May 2015 23:38:34 -0700 (PDT)
In-Reply-To: <9D8EA117-E3D8-4845-B76F-4C424154CDA3@supercoders.com.au>
References: <9D8EA117-E3D8-4845-B76F-4C424154CDA3@supercoders.com.au>
Date: Thu, 21 May 2015 07:38:34 +0100
X-Google-Sender-Auth: RaZ9d3ewlgET_lrV8PceeHL6zPA
Message-ID: <CAN2Hq05nvqaBznUh4e25-2veaLyVD3zqEvykmV0KD_a4=eLR9w@mail.gmail.com>
From: Richard Mortier <mort@cantab.net>
To: Andrew Stuart <andrew.stuart@supercoders.com.au>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Anyone else have problems with openmirage.org?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
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IFRoZXJlIGFyZSBjZXJ0YWlubHkgYXNwZWN0cwp0aGF0IG5lZWQgZnVydGhlciBkZXZlbG9w
bWVudCAoaGVuY2UgdGhlIDAueCB2ZXJzaW9uIG51bWJlciBmb3IKQ29odHRwLCB0aGUgd2ViIGxp
YnJhcnkpLCBidXQgdGhhdCBzaXRlIGhhcyBiZWVuIHNlbGYtaG9zdGVkIG5vdyBmb3IKc2V2ZXJh
bCB5ZWFycyB3aXRob3V0IG1ham9yIHByb2JsZW1zIChhbmQgdGhlIG9uZXMgd2UndmUgZm91bmQg
aGF2ZQpiZWVuIGZpeGVkISkuIEZvciBhbiBhbHRlcm5hdGl2ZSBpbnN0YW5jZSwgeW91IGNvdWxk
IGFsc28gdHJ5Cmh0dHBzOi8vbWlyYWdlLmlvIHdoaWNoIGhvc3RzIHRoZSBzYW1lIGNvbnRlbnQg
dmlhIHRoZSBuZXcgbnFzYi1UTFMKc3RhY2suCgotLSAKUmljaGFyZCBNb3J0aWVyCm1vcnRAY2Fu
dGFiLm5ldAoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18K
TWlyYWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2pl
Y3Qub3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGlu
Zm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Thu May 21 07:00:22 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 21 May 2015 07:00:22 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvKSp-0004Mz-Oy; Thu, 21 May 2015 07:00:19 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <gildor478@gmail.com>) id 1YvKSo-0004Mp-Sv
	for mirageos-devel@lists.xenproject.org; Thu, 21 May 2015 07:00:19 +0000
Received: from [85.158.137.68] by server-12.bemta-3.messagelabs.com id
	18/A7-02928-2828D555; Thu, 21 May 2015 07:00:18 +0000
X-Env-Sender: gildor478@gmail.com
X-Msg-Ref: server-15.tower-31.messagelabs.com!1432191616!11034022!1
X-Originating-IP: [209.85.212.175]
X-SpamReason: No, hits=0.1 required=7.0 tests=HTML_30_40,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 20440 invoked from network); 21 May 2015 07:00:16 -0000
Received: from mail-wi0-f175.google.com (HELO mail-wi0-f175.google.com)
	(209.85.212.175)
	by server-15.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	21 May 2015 07:00:16 -0000
Received: by wizk4 with SMTP id k4so3688134wiz.1
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 21 May 2015 00:00:16 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:references:in-reply-to:from:date:message-id:subject:to
	:content-type;
	bh=apf4mvcl2ES3ozg+XA3VVhANe9xN3bw6QUl80m3/+mM=;
	b=NKSE/qeTtLg7DlSinFyBl04N4Zq5xpiJdlXu1i53R0N+UtPWgg85V5hlk7vs78xFty
	xQCqyVaC04ldA0U00f81ZWBSHhCyNvwjcKYXko5K9nXkAkenwOcKwJwy68YiCGs4Xe5X
	UVxHanx0ESXHwgB5/MDJHO+FNj+R+ZHSK0uhvyqGZl9pMJzcgjkeqUUxWJ3KVBioUtag
	TSbYFefxOEqUBFY5yHrXcoGwzJkJrHUWBs+CpjTP61Sb4AMuMq6nve84nklpNQi/L6BV
	6Gko4GmHBGYtdr5eyQ3FOgi7leudF1XrOZY9ZOP15ralm6LFLBd0H+P7Ahhkj/RJokEe
	lVpQ==
X-Received: by 10.180.97.164 with SMTP id eb4mr3328569wib.3.1432191616321;
	Thu, 21 May 2015 00:00:16 -0700 (PDT)
MIME-Version: 1.0
References: <20150519085016.GB10420@nodbug.lucina.net>
	<ead9b8457cfa0007dd71c32655cc6bf1@whitequark.org>
	<20150519135807.GD10420@nodbug.lucina.net>
	<20150520100220.GB5283@nodbug.lucina.net>
In-Reply-To: <20150520100220.GB5283@nodbug.lucina.net>
From: Sylvain Le Gall <sylvain+ocaml@le-gall.net>
Date: Thu, 21 May 2015 07:00:14 +0000
Message-ID: <CAOCAUGP99HhCT8zbb9tAAn_ZWLqr87j2+tgeXkuFE3pSnZxdaA@mail.gmail.com>
To: Peter Zotov <whitequark@whitequark.org>,
	mirageos-devel@lists.xenproject.org, opam-devel@lists.ocaml.org
Subject: Re: [MirageOS-devel] Cross-compiling OCaml, Mirage OS for rumprun,
 OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0764435377150775346=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============0764435377150775346==
Content-Type: multipart/alternative; boundary=f46d044403208a9009051692182d

--f46d044403208a9009051692182d
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Le mer. 20 mai 2015 =C3=A0 12:02, Martin Lucina <martin@lucina.net> a =C3=
=A9crit :

> On Tuesday, 19.05.2015 at 15:58, Martin Lucina wrote:
> > > >E: Failure("Expected built file '_build/src/unix/dlllwt-unix_stubs.s=
o'
> > > >doesn't exist.")
> > > >
> > > >This is expected; the rumprun toolchain does not support dynamic
> > > >linking
> > > >and I have configured the ocaml-rumprun compiler with
> > > >-no-shared-libs. Is
> > > >there some way to tell OASIS to not expect any shared libraries to b=
e
> > > >built?
> > >
> > > Nope. OASIS is painfully inflexible, especially when cross-compiling.
> > > You can probably patch setup.ml so that it thinks that the current
> > > OCaml is built without dynlink, but this is package-specific.
> >
> > Turns out it's a two-line patch, at least in the case of Lwt:
> >
> >
> https://github.com/mato/opam-rumprun/commit/3d3a9f0b46a21370c7b619e14cbfd=
dec90acf433
>
> Getting further through the list of Mirage dependencies, trying to get
> sexplib building for rumprun hits another different problem with OASIS:
>
> I use the following commands to build sexplib-rumprun, similar to what th=
e
> android build does:
>
>   ["ocaml" "setup.ml" "-configure" "--prefix"
> "${prefix}/x86_64-rumprun-netbsd" "--disable-syntax"]
>   ["ocamlbuild" "-use-ocamlfind" "-just-plugin"]
>   ["env" "OCAMLFIND_TOOLCHAIN=3Drumprun" "ocaml" "setup.ml" "-build"]
>   ["env" "OCAMLFIND_TOOLCHAIN=3Drumprun" "ocaml" "setup.ml" "-install"]
>   ["find" sexplib:lib "-name" "pa_sexp_conv.*" "-exec" "ln" "-sf" "{}"
> "%{prefix}%/x86_64-rumprun-netbsd/lib/sexplib/" ";"] {
> type_conv-rumprun:installed }
>
> Now, sexplib tries to build a .cmxs which won't work with the rumprun
> toolchain, so I've patched its setup.ml to force native_dynlink to be
> false:
>
>
> https://github.com/mato/opam-rumprun/blob/master/packages/sexplib-rumprun=
.112.24.01/files/patches/oasis-disable-dynlink.patch
>
>
I think it would be far easier to add '--override native_dynlink false' to
the configure step.


> The problem I'm seeing is that if I run "opam install sexplib-rumprun
> --verbose", it fails in the setup.ml -install setup with a stack overflow=
:
>
> - Installed
> /home/mato/.opam/system/x86_64-rumprun-netbsd/lib/sexplib_unix/sexplib_un=
ix.cmx
> - Installed
> /home/mato/.opam/system/x86_64-rumprun-netbsd/lib/sexplib_unix/META
> - E: Stack overflow
> [ERROR] The compilation of sexplib-rumprun failed at "env
>         OCAMLFIND_TOOLCHAIN=3Drumprun ocaml setup.ml -install".
>
> However: If I run the OPAM build commands from a shell in the build
> directory for sexplib, the install step works fine.
>
> Any ideas?
>
> Martin
>

--f46d044403208a9009051692182d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br><div class=3D"gmail_quote">Le=C2=A0mer. 20 mai 201=
5 =C3=A0=C2=A012:02, Martin Lucina &lt;<a href=3D"mailto:martin@lucina.net"=
>martin@lucina.net</a>&gt; a =C3=A9crit=C2=A0:<br><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex">On Tuesday, 19.05.2015 at=C2=A015:58, Martin Lucina wrote:<br>
&gt; &gt; &gt;E: Failure(&quot;Expected built file &#39;_build/src/unix/dll=
lwt-unix_stubs.so&#39;<br>
&gt; &gt; &gt;doesn&#39;t exist.&quot;)<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;This is expected; the rumprun toolchain does not support dyna=
mic<br>
&gt; &gt; &gt;linking<br>
&gt; &gt; &gt;and I have configured the ocaml-rumprun compiler with<br>
&gt; &gt; &gt;-no-shared-libs. Is<br>
&gt; &gt; &gt;there some way to tell OASIS to not expect any shared librari=
es to be<br>
&gt; &gt; &gt;built?<br>
&gt; &gt;<br>
&gt; &gt; Nope. OASIS is painfully inflexible, especially when cross-compil=
ing.<br>
&gt; &gt; You can probably patch <a href=3D"http://setup.ml" target=3D"_bla=
nk">setup.ml</a> so that it thinks that the current<br>
&gt; &gt; OCaml is built without dynlink, but this is package-specific.<br>
&gt;<br>
&gt; Turns out it&#39;s a two-line patch, at least in the case of Lwt:<br>
&gt;<br>
&gt; <a href=3D"https://github.com/mato/opam-rumprun/commit/3d3a9f0b46a2137=
0c7b619e14cbfddec90acf433" target=3D"_blank">https://github.com/mato/opam-r=
umprun/commit/3d3a9f0b46a21370c7b619e14cbfddec90acf433</a><br>
<br>
Getting further through the list of Mirage dependencies, trying to get<br>
sexplib building for rumprun hits another different problem with OASIS:<br>
<br>
I use the following commands to build sexplib-rumprun, similar to what the<=
br>
android build does:<br>
<br>
=C2=A0 [&quot;ocaml&quot; &quot;<a href=3D"http://setup.ml" target=3D"_blan=
k">setup.ml</a>&quot; &quot;-configure&quot; &quot;--prefix&quot; &quot;${p=
refix}/x86_64-rumprun-netbsd&quot; &quot;--disable-syntax&quot;]<br>
=C2=A0 [&quot;ocamlbuild&quot; &quot;-use-ocamlfind&quot; &quot;-just-plugi=
n&quot;]<br>
=C2=A0 [&quot;env&quot; &quot;OCAMLFIND_TOOLCHAIN=3Drumprun&quot; &quot;oca=
ml&quot; &quot;<a href=3D"http://setup.ml" target=3D"_blank">setup.ml</a>&q=
uot; &quot;-build&quot;]<br>
=C2=A0 [&quot;env&quot; &quot;OCAMLFIND_TOOLCHAIN=3Drumprun&quot; &quot;oca=
ml&quot; &quot;<a href=3D"http://setup.ml" target=3D"_blank">setup.ml</a>&q=
uot; &quot;-install&quot;]<br>
=C2=A0 [&quot;find&quot; sexplib:lib &quot;-name&quot; &quot;pa_sexp_conv.*=
&quot; &quot;-exec&quot; &quot;ln&quot; &quot;-sf&quot; &quot;{}&quot; &quo=
t;%{prefix}%/x86_64-rumprun-netbsd/lib/sexplib/&quot; &quot;;&quot;] { type=
_conv-rumprun:installed }<br>
<br>
Now, sexplib tries to build a .cmxs which won&#39;t work with the rumprun<b=
r>
toolchain, so I&#39;ve patched its <a href=3D"http://setup.ml" target=3D"_b=
lank">setup.ml</a> to force native_dynlink to be<br>
false:<br>
<br>
<a href=3D"https://github.com/mato/opam-rumprun/blob/master/packages/sexpli=
b-rumprun.112.24.01/files/patches/oasis-disable-dynlink.patch" target=3D"_b=
lank">https://github.com/mato/opam-rumprun/blob/master/packages/sexplib-rum=
prun.112.24.01/files/patches/oasis-disable-dynlink.patch</a><br>
<br></blockquote><div><br></div><div>I think it would be far easier to add =
&#39;--override native_dynlink false&#39; to the configure step.</div><div>=
=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex">
The problem I&#39;m seeing is that if I run &quot;opam install sexplib-rump=
run<br>
--verbose&quot;, it fails in the <a href=3D"http://setup.ml" target=3D"_bla=
nk">setup.ml</a> -install setup with a stack overflow:<br>
<br>
- Installed /home/mato/.opam/system/x86_64-rumprun-netbsd/lib/sexplib_unix/=
sexplib_unix.cmx<br>
- Installed /home/mato/.opam/system/x86_64-rumprun-netbsd/lib/sexplib_unix/=
META<br>
- E: Stack overflow<br>
[ERROR] The compilation of sexplib-rumprun failed at &quot;env<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 OCAMLFIND_TOOLCHAIN=3Drumprun ocaml <a href=3D"=
http://setup.ml" target=3D"_blank">setup.ml</a> -install&quot;.<br>
<br>
However: If I run the OPAM build commands from a shell in the build<br>
directory for sexplib, the install step works fine.<br>
<br>
Any ideas?<br>
<br>
Martin<br>
</blockquote></div></div>

--f46d044403208a9009051692182d--


--===============0764435377150775346==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============0764435377150775346==--


From mirageos-devel-bounces@lists.xenproject.org Thu May 21 07:00:22 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 21 May 2015 07:00:22 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvKSp-0004Mz-Oy; Thu, 21 May 2015 07:00:19 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <gildor478@gmail.com>) id 1YvKSo-0004Mp-Sv
	for mirageos-devel@lists.xenproject.org; Thu, 21 May 2015 07:00:19 +0000
Received: from [85.158.137.68] by server-12.bemta-3.messagelabs.com id
	18/A7-02928-2828D555; Thu, 21 May 2015 07:00:18 +0000
X-Env-Sender: gildor478@gmail.com
X-Msg-Ref: server-15.tower-31.messagelabs.com!1432191616!11034022!1
X-Originating-IP: [209.85.212.175]
X-SpamReason: No, hits=0.1 required=7.0 tests=HTML_30_40,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 20440 invoked from network); 21 May 2015 07:00:16 -0000
Received: from mail-wi0-f175.google.com (HELO mail-wi0-f175.google.com)
	(209.85.212.175)
	by server-15.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	21 May 2015 07:00:16 -0000
Received: by wizk4 with SMTP id k4so3688134wiz.1
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 21 May 2015 00:00:16 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:references:in-reply-to:from:date:message-id:subject:to
	:content-type;
	bh=apf4mvcl2ES3ozg+XA3VVhANe9xN3bw6QUl80m3/+mM=;
	b=NKSE/qeTtLg7DlSinFyBl04N4Zq5xpiJdlXu1i53R0N+UtPWgg85V5hlk7vs78xFty
	xQCqyVaC04ldA0U00f81ZWBSHhCyNvwjcKYXko5K9nXkAkenwOcKwJwy68YiCGs4Xe5X
	UVxHanx0ESXHwgB5/MDJHO+FNj+R+ZHSK0uhvyqGZl9pMJzcgjkeqUUxWJ3KVBioUtag
	TSbYFefxOEqUBFY5yHrXcoGwzJkJrHUWBs+CpjTP61Sb4AMuMq6nve84nklpNQi/L6BV
	6Gko4GmHBGYtdr5eyQ3FOgi7leudF1XrOZY9ZOP15ralm6LFLBd0H+P7Ahhkj/RJokEe
	lVpQ==
X-Received: by 10.180.97.164 with SMTP id eb4mr3328569wib.3.1432191616321;
	Thu, 21 May 2015 00:00:16 -0700 (PDT)
MIME-Version: 1.0
References: <20150519085016.GB10420@nodbug.lucina.net>
	<ead9b8457cfa0007dd71c32655cc6bf1@whitequark.org>
	<20150519135807.GD10420@nodbug.lucina.net>
	<20150520100220.GB5283@nodbug.lucina.net>
In-Reply-To: <20150520100220.GB5283@nodbug.lucina.net>
From: Sylvain Le Gall <sylvain+ocaml@le-gall.net>
Date: Thu, 21 May 2015 07:00:14 +0000
Message-ID: <CAOCAUGP99HhCT8zbb9tAAn_ZWLqr87j2+tgeXkuFE3pSnZxdaA@mail.gmail.com>
To: Peter Zotov <whitequark@whitequark.org>,
	mirageos-devel@lists.xenproject.org, opam-devel@lists.ocaml.org
Subject: Re: [MirageOS-devel] Cross-compiling OCaml, Mirage OS for rumprun,
 OPAM integration
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0764435377150775346=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============0764435377150775346==
Content-Type: multipart/alternative; boundary=f46d044403208a9009051692182d

--f46d044403208a9009051692182d
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Le mer. 20 mai 2015 =C3=A0 12:02, Martin Lucina <martin@lucina.net> a =C3=
=A9crit :

> On Tuesday, 19.05.2015 at 15:58, Martin Lucina wrote:
> > > >E: Failure("Expected built file '_build/src/unix/dlllwt-unix_stubs.s=
o'
> > > >doesn't exist.")
> > > >
> > > >This is expected; the rumprun toolchain does not support dynamic
> > > >linking
> > > >and I have configured the ocaml-rumprun compiler with
> > > >-no-shared-libs. Is
> > > >there some way to tell OASIS to not expect any shared libraries to b=
e
> > > >built?
> > >
> > > Nope. OASIS is painfully inflexible, especially when cross-compiling.
> > > You can probably patch setup.ml so that it thinks that the current
> > > OCaml is built without dynlink, but this is package-specific.
> >
> > Turns out it's a two-line patch, at least in the case of Lwt:
> >
> >
> https://github.com/mato/opam-rumprun/commit/3d3a9f0b46a21370c7b619e14cbfd=
dec90acf433
>
> Getting further through the list of Mirage dependencies, trying to get
> sexplib building for rumprun hits another different problem with OASIS:
>
> I use the following commands to build sexplib-rumprun, similar to what th=
e
> android build does:
>
>   ["ocaml" "setup.ml" "-configure" "--prefix"
> "${prefix}/x86_64-rumprun-netbsd" "--disable-syntax"]
>   ["ocamlbuild" "-use-ocamlfind" "-just-plugin"]
>   ["env" "OCAMLFIND_TOOLCHAIN=3Drumprun" "ocaml" "setup.ml" "-build"]
>   ["env" "OCAMLFIND_TOOLCHAIN=3Drumprun" "ocaml" "setup.ml" "-install"]
>   ["find" sexplib:lib "-name" "pa_sexp_conv.*" "-exec" "ln" "-sf" "{}"
> "%{prefix}%/x86_64-rumprun-netbsd/lib/sexplib/" ";"] {
> type_conv-rumprun:installed }
>
> Now, sexplib tries to build a .cmxs which won't work with the rumprun
> toolchain, so I've patched its setup.ml to force native_dynlink to be
> false:
>
>
> https://github.com/mato/opam-rumprun/blob/master/packages/sexplib-rumprun=
.112.24.01/files/patches/oasis-disable-dynlink.patch
>
>
I think it would be far easier to add '--override native_dynlink false' to
the configure step.


> The problem I'm seeing is that if I run "opam install sexplib-rumprun
> --verbose", it fails in the setup.ml -install setup with a stack overflow=
:
>
> - Installed
> /home/mato/.opam/system/x86_64-rumprun-netbsd/lib/sexplib_unix/sexplib_un=
ix.cmx
> - Installed
> /home/mato/.opam/system/x86_64-rumprun-netbsd/lib/sexplib_unix/META
> - E: Stack overflow
> [ERROR] The compilation of sexplib-rumprun failed at "env
>         OCAMLFIND_TOOLCHAIN=3Drumprun ocaml setup.ml -install".
>
> However: If I run the OPAM build commands from a shell in the build
> directory for sexplib, the install step works fine.
>
> Any ideas?
>
> Martin
>

--f46d044403208a9009051692182d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br><div class=3D"gmail_quote">Le=C2=A0mer. 20 mai 201=
5 =C3=A0=C2=A012:02, Martin Lucina &lt;<a href=3D"mailto:martin@lucina.net"=
>martin@lucina.net</a>&gt; a =C3=A9crit=C2=A0:<br><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex">On Tuesday, 19.05.2015 at=C2=A015:58, Martin Lucina wrote:<br>
&gt; &gt; &gt;E: Failure(&quot;Expected built file &#39;_build/src/unix/dll=
lwt-unix_stubs.so&#39;<br>
&gt; &gt; &gt;doesn&#39;t exist.&quot;)<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;This is expected; the rumprun toolchain does not support dyna=
mic<br>
&gt; &gt; &gt;linking<br>
&gt; &gt; &gt;and I have configured the ocaml-rumprun compiler with<br>
&gt; &gt; &gt;-no-shared-libs. Is<br>
&gt; &gt; &gt;there some way to tell OASIS to not expect any shared librari=
es to be<br>
&gt; &gt; &gt;built?<br>
&gt; &gt;<br>
&gt; &gt; Nope. OASIS is painfully inflexible, especially when cross-compil=
ing.<br>
&gt; &gt; You can probably patch <a href=3D"http://setup.ml" target=3D"_bla=
nk">setup.ml</a> so that it thinks that the current<br>
&gt; &gt; OCaml is built without dynlink, but this is package-specific.<br>
&gt;<br>
&gt; Turns out it&#39;s a two-line patch, at least in the case of Lwt:<br>
&gt;<br>
&gt; <a href=3D"https://github.com/mato/opam-rumprun/commit/3d3a9f0b46a2137=
0c7b619e14cbfddec90acf433" target=3D"_blank">https://github.com/mato/opam-r=
umprun/commit/3d3a9f0b46a21370c7b619e14cbfddec90acf433</a><br>
<br>
Getting further through the list of Mirage dependencies, trying to get<br>
sexplib building for rumprun hits another different problem with OASIS:<br>
<br>
I use the following commands to build sexplib-rumprun, similar to what the<=
br>
android build does:<br>
<br>
=C2=A0 [&quot;ocaml&quot; &quot;<a href=3D"http://setup.ml" target=3D"_blan=
k">setup.ml</a>&quot; &quot;-configure&quot; &quot;--prefix&quot; &quot;${p=
refix}/x86_64-rumprun-netbsd&quot; &quot;--disable-syntax&quot;]<br>
=C2=A0 [&quot;ocamlbuild&quot; &quot;-use-ocamlfind&quot; &quot;-just-plugi=
n&quot;]<br>
=C2=A0 [&quot;env&quot; &quot;OCAMLFIND_TOOLCHAIN=3Drumprun&quot; &quot;oca=
ml&quot; &quot;<a href=3D"http://setup.ml" target=3D"_blank">setup.ml</a>&q=
uot; &quot;-build&quot;]<br>
=C2=A0 [&quot;env&quot; &quot;OCAMLFIND_TOOLCHAIN=3Drumprun&quot; &quot;oca=
ml&quot; &quot;<a href=3D"http://setup.ml" target=3D"_blank">setup.ml</a>&q=
uot; &quot;-install&quot;]<br>
=C2=A0 [&quot;find&quot; sexplib:lib &quot;-name&quot; &quot;pa_sexp_conv.*=
&quot; &quot;-exec&quot; &quot;ln&quot; &quot;-sf&quot; &quot;{}&quot; &quo=
t;%{prefix}%/x86_64-rumprun-netbsd/lib/sexplib/&quot; &quot;;&quot;] { type=
_conv-rumprun:installed }<br>
<br>
Now, sexplib tries to build a .cmxs which won&#39;t work with the rumprun<b=
r>
toolchain, so I&#39;ve patched its <a href=3D"http://setup.ml" target=3D"_b=
lank">setup.ml</a> to force native_dynlink to be<br>
false:<br>
<br>
<a href=3D"https://github.com/mato/opam-rumprun/blob/master/packages/sexpli=
b-rumprun.112.24.01/files/patches/oasis-disable-dynlink.patch" target=3D"_b=
lank">https://github.com/mato/opam-rumprun/blob/master/packages/sexplib-rum=
prun.112.24.01/files/patches/oasis-disable-dynlink.patch</a><br>
<br></blockquote><div><br></div><div>I think it would be far easier to add =
&#39;--override native_dynlink false&#39; to the configure step.</div><div>=
=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex">
The problem I&#39;m seeing is that if I run &quot;opam install sexplib-rump=
run<br>
--verbose&quot;, it fails in the <a href=3D"http://setup.ml" target=3D"_bla=
nk">setup.ml</a> -install setup with a stack overflow:<br>
<br>
- Installed /home/mato/.opam/system/x86_64-rumprun-netbsd/lib/sexplib_unix/=
sexplib_unix.cmx<br>
- Installed /home/mato/.opam/system/x86_64-rumprun-netbsd/lib/sexplib_unix/=
META<br>
- E: Stack overflow<br>
[ERROR] The compilation of sexplib-rumprun failed at &quot;env<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 OCAMLFIND_TOOLCHAIN=3Drumprun ocaml <a href=3D"=
http://setup.ml" target=3D"_blank">setup.ml</a> -install&quot;.<br>
<br>
However: If I run the OPAM build commands from a shell in the build<br>
directory for sexplib, the install step works fine.<br>
<br>
Any ideas?<br>
<br>
Martin<br>
</blockquote></div></div>

--f46d044403208a9009051692182d--


--===============0764435377150775346==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============0764435377150775346==--


From mirageos-devel-bounces@lists.xenproject.org Thu May 21 07:09:26 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 21 May 2015 07:09:26 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvKbd-0004on-J9; Thu, 21 May 2015 07:09:25 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1YvKbc-0004oZ-CD
	for mirageos-devel@lists.xenproject.org; Thu, 21 May 2015 07:09:24 +0000
Received: from [85.158.139.211] by server-17.bemta-5.messagelabs.com id
	F9/B7-05057-3A48D555; Thu, 21 May 2015 07:09:23 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-13.tower-206.messagelabs.com!1432192162!11739397!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 10313 invoked from network); 21 May 2015 07:09:23 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-13.tower-206.messagelabs.com with SMTP;
	21 May 2015 07:09:23 -0000
Received: from [192.168.1.103] (CPE-124-188-3-229.dccz1.win.bigpond.net.au
	[124.188.3.229])
	by mail.supercoders.com.au (Postfix) with ESMTPS id AD2956019D;
	Thu, 21 May 2015 07:09:21 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
In-Reply-To: <CAN2Hq05nvqaBznUh4e25-2veaLyVD3zqEvykmV0KD_a4=eLR9w@mail.gmail.com>
Date: Thu, 21 May 2015 17:09:19 +1000
Message-Id: <8C1F7C54-1410-4308-B6FA-D5768C26BE5B@supercoders.com.au>
References: <9D8EA117-E3D8-4845-B76F-4C424154CDA3@supercoders.com.au>
	<CAN2Hq05nvqaBznUh4e25-2veaLyVD3zqEvykmV0KD_a4=eLR9w@mail.gmail.com>
To: Richard Mortier <mort@cantab.net>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Anyone else have problems with openmirage.org?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

VmVyeSBzdHJhbmdlLgoKQm90aCBvcGVubWlyYWdlLm9yZyBhbmQgaHR0cHM6Ly9taXJhZ2UuaW8g
c29tZXRpbWVzIHJlc3BvbmQgcXVpdGUgcXVpY2tseSBhbmQgc29tZXRpbWVzIGp1c3QgaGFuZy4K
Ck5vIG90aGVyIHNpdGVzIGJlaGF2ZSB0aGlzIHdheSBmb3IgbWUgc28gaXQgc2VlbXMgdG8gYmUg
c29tZXRoaW5nIHNwZWNpZmljIHRvIHRoZXNlIHNpdGVzLgoKSSBoYXZlIHRyaWVkIGFsc28gZnJv
bSB2YXJpb3VzIHNlcnZlcnMgdGhhdCBJIGNvbnRyb2wgYXJvdW5kIHRoZSB3b3JsZCBhbmQgaXQg
YXBwZWFycyB0byBiZSBzcGVjaWZpYyB0byB0aGUgY29ubmVjdGlvbiBJIGFtIG9uIChpbiBBdXN0
cmFsaWEpLgoKSeKAmW0gZ3Vlc3NpbmcgaXTigJlzIHNvbWV0aGluZyB0byBkbyB3aXRoIHlvdXIg
SVNQIEJ5dGVNYXJrIGJ1dCBJIGRvbuKAmXQgaGF2ZSB0aGUgdGltZSBvciByZXNvdXJjZXMgdG8g
ZGlhZ25vc2UgZnVydGhlci4KCkFueXdheSwgc2luY2UgaXTigJlzIGp1c3QgbXkgbG9jYXRpb24g
SSBndWVzcyBpdHMgbm90IHdvcnRoIHB1cnN1aW5nIGJ1dCBpdCBpcyB2ZXJ5IHN0cmFuZ2UuCgoK
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTWlyYWdlT1Mt
ZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCmh0
dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbWlyYWdl
b3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Thu May 21 07:09:26 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 21 May 2015 07:09:26 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvKbd-0004on-J9; Thu, 21 May 2015 07:09:25 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1YvKbc-0004oZ-CD
	for mirageos-devel@lists.xenproject.org; Thu, 21 May 2015 07:09:24 +0000
Received: from [85.158.139.211] by server-17.bemta-5.messagelabs.com id
	F9/B7-05057-3A48D555; Thu, 21 May 2015 07:09:23 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-13.tower-206.messagelabs.com!1432192162!11739397!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 10313 invoked from network); 21 May 2015 07:09:23 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-13.tower-206.messagelabs.com with SMTP;
	21 May 2015 07:09:23 -0000
Received: from [192.168.1.103] (CPE-124-188-3-229.dccz1.win.bigpond.net.au
	[124.188.3.229])
	by mail.supercoders.com.au (Postfix) with ESMTPS id AD2956019D;
	Thu, 21 May 2015 07:09:21 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
In-Reply-To: <CAN2Hq05nvqaBznUh4e25-2veaLyVD3zqEvykmV0KD_a4=eLR9w@mail.gmail.com>
Date: Thu, 21 May 2015 17:09:19 +1000
Message-Id: <8C1F7C54-1410-4308-B6FA-D5768C26BE5B@supercoders.com.au>
References: <9D8EA117-E3D8-4845-B76F-4C424154CDA3@supercoders.com.au>
	<CAN2Hq05nvqaBznUh4e25-2veaLyVD3zqEvykmV0KD_a4=eLR9w@mail.gmail.com>
To: Richard Mortier <mort@cantab.net>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Anyone else have problems with openmirage.org?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

VmVyeSBzdHJhbmdlLgoKQm90aCBvcGVubWlyYWdlLm9yZyBhbmQgaHR0cHM6Ly9taXJhZ2UuaW8g
c29tZXRpbWVzIHJlc3BvbmQgcXVpdGUgcXVpY2tseSBhbmQgc29tZXRpbWVzIGp1c3QgaGFuZy4K
Ck5vIG90aGVyIHNpdGVzIGJlaGF2ZSB0aGlzIHdheSBmb3IgbWUgc28gaXQgc2VlbXMgdG8gYmUg
c29tZXRoaW5nIHNwZWNpZmljIHRvIHRoZXNlIHNpdGVzLgoKSSBoYXZlIHRyaWVkIGFsc28gZnJv
bSB2YXJpb3VzIHNlcnZlcnMgdGhhdCBJIGNvbnRyb2wgYXJvdW5kIHRoZSB3b3JsZCBhbmQgaXQg
YXBwZWFycyB0byBiZSBzcGVjaWZpYyB0byB0aGUgY29ubmVjdGlvbiBJIGFtIG9uIChpbiBBdXN0
cmFsaWEpLgoKSeKAmW0gZ3Vlc3NpbmcgaXTigJlzIHNvbWV0aGluZyB0byBkbyB3aXRoIHlvdXIg
SVNQIEJ5dGVNYXJrIGJ1dCBJIGRvbuKAmXQgaGF2ZSB0aGUgdGltZSBvciByZXNvdXJjZXMgdG8g
ZGlhZ25vc2UgZnVydGhlci4KCkFueXdheSwgc2luY2UgaXTigJlzIGp1c3QgbXkgbG9jYXRpb24g
SSBndWVzcyBpdHMgbm90IHdvcnRoIHB1cnN1aW5nIGJ1dCBpdCBpcyB2ZXJ5IHN0cmFuZ2UuCgoK
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTWlyYWdlT1Mt
ZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCmh0
dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbWlyYWdl
b3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Thu May 21 07:32:13 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 21 May 2015 07:32:13 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvKxa-0006St-R3; Thu, 21 May 2015 07:32:06 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <buzzheavyyear@hotmail.com>) id 1YvKxZ-0006So-Me
	for mirageos-devel@lists.xenproject.org; Thu, 21 May 2015 07:32:05 +0000
Received: from [85.158.139.211] by server-16.bemta-5.messagelabs.com id
	12/36-02824-5F98D555; Thu, 21 May 2015 07:32:05 +0000
X-Env-Sender: buzzheavyyear@hotmail.com
X-Msg-Ref: server-11.tower-206.messagelabs.com!1432193524!7599598!1
X-Originating-IP: [157.55.2.93]
X-SpamReason: No, hits=0.4 required=7.0 tests=FORGED_HOTMAIL_RCVD,
	HTML_60_70,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 6244 invoked from network); 21 May 2015 07:32:04 -0000
Received: from dub004-omc4s18.hotmail.com (HELO DUB004-OMC4S18.hotmail.com)
	(157.55.2.93)
	by server-11.tower-206.messagelabs.com with AES256-SHA encrypted SMTP;
	21 May 2015 07:32:04 -0000
Received: from DUB128-W83 ([157.55.2.72]) by DUB004-OMC4S18.hotmail.com over
	TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); 
	Thu, 21 May 2015 00:32:04 -0700
X-TMN: [X6O2GxSDVBDCXLxcISpdOEFI3STXQpib]
X-Originating-Email: [buzzheavyyear@hotmail.com]
Message-ID: <DUB128-W831F22255B2BD014A543FCB4C10@phx.gbl>
From: Nick Betteridge <buzzheavyyear@hotmail.com>
To: Andrew Stuart <andrew.stuart@supercoders.com.au>
Date: Thu, 21 May 2015 07:32:03 +0000
Importance: Normal
In-Reply-To: <8C1F7C54-1410-4308-B6FA-D5768C26BE5B@supercoders.com.au>
References: <9D8EA117-E3D8-4845-B76F-4C424154CDA3@supercoders.com.au>,
	<CAN2Hq05nvqaBznUh4e25-2veaLyVD3zqEvykmV0KD_a4=eLR9w@mail.gmail.com>,
	<8C1F7C54-1410-4308-B6FA-D5768C26BE5B@supercoders.com.au>
MIME-Version: 1.0
X-OriginalArrivalTime: 21 May 2015 07:32:04.0093 (UTC)
	FILETIME=[3BC6A2D0:01D09398]
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Anyone else have problems with openmirage.org?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============2451960416320021109=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============2451960416320021109==
Content-Type: multipart/alternative;
	boundary="_b8f27a9d-ba4f-4768-b80f-7e3e1627e309_"

--_b8f27a9d-ba4f-4768-b80f-7e3e1627e309_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Over the last couple of days I got an 'out of memory' error on openmirage.o=
rg/blog=2C yet open mirage  was fine.

 		 	   		  =

--_b8f27a9d-ba4f-4768-b80f-7e3e1627e309_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 12pt=3B
font-family:Calibri
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>Over the last couple of days I g=
ot an 'out of memory' error on openmirage.org/blog=2C yet open mirage&nbsp=
=3B was fine.<br><br> 		 	   		  </div></body>
</html>=

--_b8f27a9d-ba4f-4768-b80f-7e3e1627e309_--


--===============2451960416320021109==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============2451960416320021109==--


From mirageos-devel-bounces@lists.xenproject.org Thu May 21 07:32:13 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 21 May 2015 07:32:13 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvKxa-0006St-R3; Thu, 21 May 2015 07:32:06 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <buzzheavyyear@hotmail.com>) id 1YvKxZ-0006So-Me
	for mirageos-devel@lists.xenproject.org; Thu, 21 May 2015 07:32:05 +0000
Received: from [85.158.139.211] by server-16.bemta-5.messagelabs.com id
	12/36-02824-5F98D555; Thu, 21 May 2015 07:32:05 +0000
X-Env-Sender: buzzheavyyear@hotmail.com
X-Msg-Ref: server-11.tower-206.messagelabs.com!1432193524!7599598!1
X-Originating-IP: [157.55.2.93]
X-SpamReason: No, hits=0.4 required=7.0 tests=FORGED_HOTMAIL_RCVD,
	HTML_60_70,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 6244 invoked from network); 21 May 2015 07:32:04 -0000
Received: from dub004-omc4s18.hotmail.com (HELO DUB004-OMC4S18.hotmail.com)
	(157.55.2.93)
	by server-11.tower-206.messagelabs.com with AES256-SHA encrypted SMTP;
	21 May 2015 07:32:04 -0000
Received: from DUB128-W83 ([157.55.2.72]) by DUB004-OMC4S18.hotmail.com over
	TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); 
	Thu, 21 May 2015 00:32:04 -0700
X-TMN: [X6O2GxSDVBDCXLxcISpdOEFI3STXQpib]
X-Originating-Email: [buzzheavyyear@hotmail.com]
Message-ID: <DUB128-W831F22255B2BD014A543FCB4C10@phx.gbl>
From: Nick Betteridge <buzzheavyyear@hotmail.com>
To: Andrew Stuart <andrew.stuart@supercoders.com.au>
Date: Thu, 21 May 2015 07:32:03 +0000
Importance: Normal
In-Reply-To: <8C1F7C54-1410-4308-B6FA-D5768C26BE5B@supercoders.com.au>
References: <9D8EA117-E3D8-4845-B76F-4C424154CDA3@supercoders.com.au>,
	<CAN2Hq05nvqaBznUh4e25-2veaLyVD3zqEvykmV0KD_a4=eLR9w@mail.gmail.com>,
	<8C1F7C54-1410-4308-B6FA-D5768C26BE5B@supercoders.com.au>
MIME-Version: 1.0
X-OriginalArrivalTime: 21 May 2015 07:32:04.0093 (UTC)
	FILETIME=[3BC6A2D0:01D09398]
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Anyone else have problems with openmirage.org?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============2451960416320021109=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============2451960416320021109==
Content-Type: multipart/alternative;
	boundary="_b8f27a9d-ba4f-4768-b80f-7e3e1627e309_"

--_b8f27a9d-ba4f-4768-b80f-7e3e1627e309_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Over the last couple of days I got an 'out of memory' error on openmirage.o=
rg/blog=2C yet open mirage  was fine.

 		 	   		  =

--_b8f27a9d-ba4f-4768-b80f-7e3e1627e309_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 12pt=3B
font-family:Calibri
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>Over the last couple of days I g=
ot an 'out of memory' error on openmirage.org/blog=2C yet open mirage&nbsp=
=3B was fine.<br><br> 		 	   		  </div></body>
</html>=

--_b8f27a9d-ba4f-4768-b80f-7e3e1627e309_--


--===============2451960416320021109==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============2451960416320021109==--


From mirageos-devel-bounces@lists.xenproject.org Thu May 21 08:30:34 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 21 May 2015 08:30:34 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvLs7-0001q0-GJ; Thu, 21 May 2015 08:30:31 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amc79@cam.ac.uk>) id 1YvLs6-0001pv-Oz
	for mirageos-devel@lists.xenproject.org; Thu, 21 May 2015 08:30:30 +0000
Received: from [85.158.137.68] by server-6.bemta-3.messagelabs.com id
	18/94-03286-6A79D555; Thu, 21 May 2015 08:30:30 +0000
X-Env-Sender: amc79@cam.ac.uk
X-Msg-Ref: server-15.tower-31.messagelabs.com!1432197029!11071445!1
X-Originating-IP: [131.111.8.150]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogMTMxLjExMS44LjE1MCA9PiAxNDk0MDU=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26292 invoked from network); 21 May 2015 08:30:29 -0000
Received: from ppsw-50.csi.cam.ac.uk (HELO ppsw-50.csi.cam.ac.uk)
	(131.111.8.150)
	by server-15.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 21 May 2015 08:30:29 -0000
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from cpc17-cmbg14-2-0-cust360.5-4.cable.virginm.net
	([86.6.155.105]:64685 helo=[192.168.0.10])
	by ppsw-50.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.158]:587)
	with esmtpsa (PLAIN:amc79) (TLSv1:DHE-RSA-AES256-SHA:256)
	id 1YvLs2-0005nA-sO (Exim 4.82_3-c0e5623)
	(return-path <amc79@cam.ac.uk>); Thu, 21 May 2015 09:30:26 +0100
Mime-Version: 1.0 (1.0)
From: Amir Chaudhry <amc79@cam.ac.uk>
X-Mailer: iPhone Mail (12F70)
In-Reply-To: <DUB128-W831F22255B2BD014A543FCB4C10@phx.gbl>
Date: Thu, 21 May 2015 09:30:25 +0100
Message-Id: <201B91DC-35F2-4B71-B6FD-21D70F06BA74@cam.ac.uk>
References: <9D8EA117-E3D8-4845-B76F-4C424154CDA3@supercoders.com.au>
	<CAN2Hq05nvqaBznUh4e25-2veaLyVD3zqEvykmV0KD_a4=eLR9w@mail.gmail.com>
	<8C1F7C54-1410-4308-B6FA-D5768C26BE5B@supercoders.com.au>
	<DUB128-W831F22255B2BD014A543FCB4C10@phx.gbl>
To: Nick Betteridge <buzzheavyyear@hotmail.com>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Anyone else have problems with openmirage.org?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============6812587497522131736=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============6812587497522131736==
Content-Type: multipart/alternative;
	boundary=Apple-Mail-00DA67AB-CB63-4723-8581-409BE19A517F
Content-Transfer-Encoding: 7bit


--Apple-Mail-00DA67AB-CB63-4723-8581-409BE19A517F
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable

I noticed the same a couple of days ago. D'you remember which page(s) it was=
?

https://github.com/mirage/mirage-www/issues/321

Best wishes,
Amir

--
Sent via mobile

> On 21 May 2015, at 08:32, Nick Betteridge <buzzheavyyear@hotmail.com> wrot=
e:
>=20
> Over the last couple of days I got an 'out of memory' error on openmirage.=
org/blog, yet open mirage  was fine.
>=20
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--Apple-Mail-00DA67AB-CB63-4723-8581-409BE19A517F
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: 7bit

<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>I noticed the same a couple of days ago. D'you remember which page(s) it was?</div><div><br></div><div><a href="https://github.com/mirage/mirage-www/issues/321">https://github.com/mirage/mirage-www/issues/321</a><br><br>Best wishes,<div>Amir</div><div><br></div><div>--</div><div>Sent via mobile</div></div><div><br>On 21 May 2015, at 08:32, Nick Betteridge &lt;<a href="mailto:buzzheavyyear@hotmail.com">buzzheavyyear@hotmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div>

<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">Over the last couple of days I got an 'out of memory' error on <a href="http://openmirage.org/blog">openmirage.org/blog</a>, yet open mirage&nbsp; was fine.<br><br> 		 	   		  </div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>MirageOS-devel mailing list</span><br><span><a href="mailto:MirageOS-devel@lists.xenproject.org">MirageOS-devel@lists.xenproject.org</a></span><br><span><a href="http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel</a></span><br></div></blockquote></body></html>
--Apple-Mail-00DA67AB-CB63-4723-8581-409BE19A517F--


--===============6812587497522131736==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============6812587497522131736==--


From mirageos-devel-bounces@lists.xenproject.org Thu May 21 08:30:34 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 21 May 2015 08:30:34 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvLs7-0001q0-GJ; Thu, 21 May 2015 08:30:31 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amc79@cam.ac.uk>) id 1YvLs6-0001pv-Oz
	for mirageos-devel@lists.xenproject.org; Thu, 21 May 2015 08:30:30 +0000
Received: from [85.158.137.68] by server-6.bemta-3.messagelabs.com id
	18/94-03286-6A79D555; Thu, 21 May 2015 08:30:30 +0000
X-Env-Sender: amc79@cam.ac.uk
X-Msg-Ref: server-15.tower-31.messagelabs.com!1432197029!11071445!1
X-Originating-IP: [131.111.8.150]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogMTMxLjExMS44LjE1MCA9PiAxNDk0MDU=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26292 invoked from network); 21 May 2015 08:30:29 -0000
Received: from ppsw-50.csi.cam.ac.uk (HELO ppsw-50.csi.cam.ac.uk)
	(131.111.8.150)
	by server-15.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 21 May 2015 08:30:29 -0000
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from cpc17-cmbg14-2-0-cust360.5-4.cable.virginm.net
	([86.6.155.105]:64685 helo=[192.168.0.10])
	by ppsw-50.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.158]:587)
	with esmtpsa (PLAIN:amc79) (TLSv1:DHE-RSA-AES256-SHA:256)
	id 1YvLs2-0005nA-sO (Exim 4.82_3-c0e5623)
	(return-path <amc79@cam.ac.uk>); Thu, 21 May 2015 09:30:26 +0100
Mime-Version: 1.0 (1.0)
From: Amir Chaudhry <amc79@cam.ac.uk>
X-Mailer: iPhone Mail (12F70)
In-Reply-To: <DUB128-W831F22255B2BD014A543FCB4C10@phx.gbl>
Date: Thu, 21 May 2015 09:30:25 +0100
Message-Id: <201B91DC-35F2-4B71-B6FD-21D70F06BA74@cam.ac.uk>
References: <9D8EA117-E3D8-4845-B76F-4C424154CDA3@supercoders.com.au>
	<CAN2Hq05nvqaBznUh4e25-2veaLyVD3zqEvykmV0KD_a4=eLR9w@mail.gmail.com>
	<8C1F7C54-1410-4308-B6FA-D5768C26BE5B@supercoders.com.au>
	<DUB128-W831F22255B2BD014A543FCB4C10@phx.gbl>
To: Nick Betteridge <buzzheavyyear@hotmail.com>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Anyone else have problems with openmirage.org?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============6812587497522131736=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============6812587497522131736==
Content-Type: multipart/alternative;
	boundary=Apple-Mail-00DA67AB-CB63-4723-8581-409BE19A517F
Content-Transfer-Encoding: 7bit


--Apple-Mail-00DA67AB-CB63-4723-8581-409BE19A517F
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable

I noticed the same a couple of days ago. D'you remember which page(s) it was=
?

https://github.com/mirage/mirage-www/issues/321

Best wishes,
Amir

--
Sent via mobile

> On 21 May 2015, at 08:32, Nick Betteridge <buzzheavyyear@hotmail.com> wrot=
e:
>=20
> Over the last couple of days I got an 'out of memory' error on openmirage.=
org/blog, yet open mirage  was fine.
>=20
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--Apple-Mail-00DA67AB-CB63-4723-8581-409BE19A517F
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: 7bit

<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>I noticed the same a couple of days ago. D'you remember which page(s) it was?</div><div><br></div><div><a href="https://github.com/mirage/mirage-www/issues/321">https://github.com/mirage/mirage-www/issues/321</a><br><br>Best wishes,<div>Amir</div><div><br></div><div>--</div><div>Sent via mobile</div></div><div><br>On 21 May 2015, at 08:32, Nick Betteridge &lt;<a href="mailto:buzzheavyyear@hotmail.com">buzzheavyyear@hotmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div>

<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">Over the last couple of days I got an 'out of memory' error on <a href="http://openmirage.org/blog">openmirage.org/blog</a>, yet open mirage&nbsp; was fine.<br><br> 		 	   		  </div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>MirageOS-devel mailing list</span><br><span><a href="mailto:MirageOS-devel@lists.xenproject.org">MirageOS-devel@lists.xenproject.org</a></span><br><span><a href="http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel</a></span><br></div></blockquote></body></html>
--Apple-Mail-00DA67AB-CB63-4723-8581-409BE19A517F--


--===============6812587497522131736==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============6812587497522131736==--


From mirageos-devel-bounces@lists.xenproject.org Thu May 21 09:02:46 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 21 May 2015 09:02:46 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvMNF-0006J7-7Z; Thu, 21 May 2015 09:02:41 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YvMND-0006J2-V6
	for mirageos-devel@lists.xenproject.org; Thu, 21 May 2015 09:02:40 +0000
Received: from [85.158.137.68] by server-16.bemta-3.messagelabs.com id
	58/D7-02776-F2F9D555; Thu, 21 May 2015 09:02:39 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-9.tower-31.messagelabs.com!1432198940!7485568!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9970 invoked from network); 21 May 2015 09:02:20 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-9.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 21 May 2015 09:02:20 -0000
Received: from flick.office (volstagg-0.srg.cl.cam.ac.uk [128.232.32.232]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 1c0c1381;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Thu, 21 May 2015 10:02:19 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAHwFrZc1upCx9mEDS8wTwwkqurKBK5rDgVDceMZR-1howYsTbw@mail.gmail.com>
Date: Thu, 21 May 2015 10:02:18 +0100
Message-Id: <6A8B0F9B-30F6-463A-A40E-02FEB5CB2062@recoil.org>
References: <A60BE2F9-076A-4392-A5CB-E2748CCDA4A7@recoil.org>
	<CAHwFrZc1upCx9mEDS8wTwwkqurKBK5rDgVDceMZR-1howYsTbw@mail.gmail.com>
To: Len Maxwell <len@lnmx.org>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] CuBox-i 4x4: another ARM box
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

The ARM numbering scheme is exceedingly confusing -- it does indeed look
like it doesn't support the virtualisation extensions.  It'll be interesting
to see if it boots NetBSD at the moment, since then Martin's work on
Mirump will let us boot MirageOS on it without Xen.

The rPi 2 does have the virt extensions, but not the requisite interrupt
controller, and so will require a bunch of emulation code in Xen and KVM to
dispatch events to the virtual machines.

-anil

> On 14 May 2015, at 18:31, Len Maxwell <len@lnmx.org> wrote:
> 
> Hi,
> 
> What do I look for in an ARM to see if it could support Xen?  The Xen
> wiki [0] says that virtualization extensions are required (Cortex-A7,
> -A15, etc.).
> 
> Cubox uses Freescale i.MX6Q (A9) -- which has TrustZone, but not the
> virtualization extensions?
> 
> I did find something about running KVM on RasPi 2 [1] [2], which is a
> Broadcom A7.
> 
> [0]: http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions
> [1]: http://blog.flexvdi.es/2015/02/25/enabling-hyp-mode-on-the-raspberry-pi-2/
> [2]: http://blog.flexvdi.com/2015/03/17/enabling-kvm-virtualization-on-the-raspberry-pi-2/
> 
> 
> thanks,
> --
> Len
> 
> On Wed, May 13, 2015 at 12:32 PM, Anil Madhavapeddy <anil@recoil.org> wrote:
>> Another interesting ARM box that should support Xen, pointed out by Justin Cormack.
>> 
>> http://www.solid-run.com/product/cubox-i-4x4
>> 
>> 4 cores, 4GB RAM, SATA, gigabit ethernet.  Looks like a very good candidate for a (expensive but functional) home router.
>> 
>> -anil
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> 
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> 


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu May 21 09:02:46 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 21 May 2015 09:02:46 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvMNF-0006J7-7Z; Thu, 21 May 2015 09:02:41 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YvMND-0006J2-V6
	for mirageos-devel@lists.xenproject.org; Thu, 21 May 2015 09:02:40 +0000
Received: from [85.158.137.68] by server-16.bemta-3.messagelabs.com id
	58/D7-02776-F2F9D555; Thu, 21 May 2015 09:02:39 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-9.tower-31.messagelabs.com!1432198940!7485568!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9970 invoked from network); 21 May 2015 09:02:20 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-9.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 21 May 2015 09:02:20 -0000
Received: from flick.office (volstagg-0.srg.cl.cam.ac.uk [128.232.32.232]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 1c0c1381;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Thu, 21 May 2015 10:02:19 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAHwFrZc1upCx9mEDS8wTwwkqurKBK5rDgVDceMZR-1howYsTbw@mail.gmail.com>
Date: Thu, 21 May 2015 10:02:18 +0100
Message-Id: <6A8B0F9B-30F6-463A-A40E-02FEB5CB2062@recoil.org>
References: <A60BE2F9-076A-4392-A5CB-E2748CCDA4A7@recoil.org>
	<CAHwFrZc1upCx9mEDS8wTwwkqurKBK5rDgVDceMZR-1howYsTbw@mail.gmail.com>
To: Len Maxwell <len@lnmx.org>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] CuBox-i 4x4: another ARM box
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

The ARM numbering scheme is exceedingly confusing -- it does indeed look
like it doesn't support the virtualisation extensions.  It'll be interesting
to see if it boots NetBSD at the moment, since then Martin's work on
Mirump will let us boot MirageOS on it without Xen.

The rPi 2 does have the virt extensions, but not the requisite interrupt
controller, and so will require a bunch of emulation code in Xen and KVM to
dispatch events to the virtual machines.

-anil

> On 14 May 2015, at 18:31, Len Maxwell <len@lnmx.org> wrote:
> 
> Hi,
> 
> What do I look for in an ARM to see if it could support Xen?  The Xen
> wiki [0] says that virtualization extensions are required (Cortex-A7,
> -A15, etc.).
> 
> Cubox uses Freescale i.MX6Q (A9) -- which has TrustZone, but not the
> virtualization extensions?
> 
> I did find something about running KVM on RasPi 2 [1] [2], which is a
> Broadcom A7.
> 
> [0]: http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions
> [1]: http://blog.flexvdi.es/2015/02/25/enabling-hyp-mode-on-the-raspberry-pi-2/
> [2]: http://blog.flexvdi.com/2015/03/17/enabling-kvm-virtualization-on-the-raspberry-pi-2/
> 
> 
> thanks,
> --
> Len
> 
> On Wed, May 13, 2015 at 12:32 PM, Anil Madhavapeddy <anil@recoil.org> wrote:
>> Another interesting ARM box that should support Xen, pointed out by Justin Cormack.
>> 
>> http://www.solid-run.com/product/cubox-i-4x4
>> 
>> 4 cores, 4GB RAM, SATA, gigabit ethernet.  Looks like a very good candidate for a (expensive but functional) home router.
>> 
>> -anil
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> 
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> 


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu May 21 09:10:44 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 21 May 2015 09:10:44 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvMV1-0006c8-Ty; Thu, 21 May 2015 09:10:43 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1YvMV1-0006c1-BZ
	for mirageos-devel@lists.xenproject.org; Thu, 21 May 2015 09:10:43 +0000
Received: from [193.109.254.147] by server-7.bemta-14.messagelabs.com id
	56/76-03202-211AD555; Thu, 21 May 2015 09:10:42 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-3.tower-27.messagelabs.com!1432199441!19405691!1
X-Originating-IP: [209.85.212.182]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 19104 invoked from network); 21 May 2015 09:10:41 -0000
Received: from mail-wi0-f182.google.com (HELO mail-wi0-f182.google.com)
	(209.85.212.182)
	by server-3.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	21 May 2015 09:10:41 -0000
Received: by wibt6 with SMTP id t6so6435366wib.0
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 21 May 2015 02:10:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=/XqDNPgEulSKW/RjNgvh87QnlK1g3c7mivaFR4B5bAA=;
	b=wZAAw1PKboi1pSvwqyCTs4kyf/w+LjmJxCFw+BPDns2zuQcJ8t2b+7QDhfIIcscMWW
	wstq2Gu5gNW6M+GRHjZuzdqNnVk+O9Xx0b/xJBPFk8RiEet2e3dBANo+C3xCp1z3renY
	V1XbtK/NBP7Njl2LrkvxNbE09OEvuE8pTg4uRs5zWKg+yplHqIUszbo5keulEZNijE5L
	UYBXrsrc/jAPOWCUzp2xCBZCcraPnkuTNvGA438xLB3yvGLLDQlrxVfxUksDLBX6sJAi
	mn6Rr65Er/4EhA+JVzVIOSPr6ZeRQjDCcGFxddsy5NhlpMjdgJ2z4nceDti6BulKYPQ/
	2u0w==
MIME-Version: 1.0
X-Received: by 10.180.20.115 with SMTP id m19mr34578367wie.11.1432199440981;
	Thu, 21 May 2015 02:10:40 -0700 (PDT)
Received: by 10.28.226.193 with HTTP; Thu, 21 May 2015 02:10:40 -0700 (PDT)
In-Reply-To: <6A8B0F9B-30F6-463A-A40E-02FEB5CB2062@recoil.org>
References: <A60BE2F9-076A-4392-A5CB-E2748CCDA4A7@recoil.org>
	<CAHwFrZc1upCx9mEDS8wTwwkqurKBK5rDgVDceMZR-1howYsTbw@mail.gmail.com>
	<6A8B0F9B-30F6-463A-A40E-02FEB5CB2062@recoil.org>
Date: Thu, 21 May 2015 10:10:40 +0100
X-Google-Sender-Auth: g7rvX1WpT-b2na7Lm-By1kFds-0
Message-ID: <CAN2Hq06jqaoiH7zAw0nwiuEc2X+LqFWz-+pr+h=MNJ10CTvVQQ@mail.gmail.com>
From: Richard Mortier <mort@cantab.net>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] CuBox-i 4x4: another ARM box
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Out of curiosity, does anyone know of a good site that collates these
sorts of details for the range of ARM chips, boards, resellers, etc,
etc?

On 21 May 2015 at 10:02, Anil Madhavapeddy <anil@recoil.org> wrote:
> The ARM numbering scheme is exceedingly confusing -- it does indeed look
> like it doesn't support the virtualisation extensions.  It'll be interesting
> to see if it boots NetBSD at the moment, since then Martin's work on
> Mirump will let us boot MirageOS on it without Xen.
>
> The rPi 2 does have the virt extensions, but not the requisite interrupt
> controller, and so will require a bunch of emulation code in Xen and KVM to
> dispatch events to the virtual machines.
>
> -anil
>
>> On 14 May 2015, at 18:31, Len Maxwell <len@lnmx.org> wrote:
>>
>> Hi,
>>
>> What do I look for in an ARM to see if it could support Xen?  The Xen
>> wiki [0] says that virtualization extensions are required (Cortex-A7,
>> -A15, etc.).
>>
>> Cubox uses Freescale i.MX6Q (A9) -- which has TrustZone, but not the
>> virtualization extensions?
>>
>> I did find something about running KVM on RasPi 2 [1] [2], which is a
>> Broadcom A7.
>>
>> [0]: http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions
>> [1]: http://blog.flexvdi.es/2015/02/25/enabling-hyp-mode-on-the-raspberry-pi-2/
>> [2]: http://blog.flexvdi.com/2015/03/17/enabling-kvm-virtualization-on-the-raspberry-pi-2/
>>
>>
>> thanks,
>> --
>> Len
>>
>> On Wed, May 13, 2015 at 12:32 PM, Anil Madhavapeddy <anil@recoil.org> wrote:
>>> Another interesting ARM box that should support Xen, pointed out by Justin Cormack.
>>>
>>> http://www.solid-run.com/product/cubox-i-4x4
>>>
>>> 4 cores, 4GB RAM, SATA, gigabit ethernet.  Looks like a very good candidate for a (expensive but functional) home router.
>>>
>>> -anil
>>> _______________________________________________
>>> MirageOS-devel mailing list
>>> MirageOS-devel@lists.xenproject.org
>>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>>
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>>
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel



-- 
Richard Mortier
mort@cantab.net

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu May 21 09:10:44 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 21 May 2015 09:10:44 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvMV1-0006c8-Ty; Thu, 21 May 2015 09:10:43 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1YvMV1-0006c1-BZ
	for mirageos-devel@lists.xenproject.org; Thu, 21 May 2015 09:10:43 +0000
Received: from [193.109.254.147] by server-7.bemta-14.messagelabs.com id
	56/76-03202-211AD555; Thu, 21 May 2015 09:10:42 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-3.tower-27.messagelabs.com!1432199441!19405691!1
X-Originating-IP: [209.85.212.182]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 19104 invoked from network); 21 May 2015 09:10:41 -0000
Received: from mail-wi0-f182.google.com (HELO mail-wi0-f182.google.com)
	(209.85.212.182)
	by server-3.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	21 May 2015 09:10:41 -0000
Received: by wibt6 with SMTP id t6so6435366wib.0
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 21 May 2015 02:10:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=/XqDNPgEulSKW/RjNgvh87QnlK1g3c7mivaFR4B5bAA=;
	b=wZAAw1PKboi1pSvwqyCTs4kyf/w+LjmJxCFw+BPDns2zuQcJ8t2b+7QDhfIIcscMWW
	wstq2Gu5gNW6M+GRHjZuzdqNnVk+O9Xx0b/xJBPFk8RiEet2e3dBANo+C3xCp1z3renY
	V1XbtK/NBP7Njl2LrkvxNbE09OEvuE8pTg4uRs5zWKg+yplHqIUszbo5keulEZNijE5L
	UYBXrsrc/jAPOWCUzp2xCBZCcraPnkuTNvGA438xLB3yvGLLDQlrxVfxUksDLBX6sJAi
	mn6Rr65Er/4EhA+JVzVIOSPr6ZeRQjDCcGFxddsy5NhlpMjdgJ2z4nceDti6BulKYPQ/
	2u0w==
MIME-Version: 1.0
X-Received: by 10.180.20.115 with SMTP id m19mr34578367wie.11.1432199440981;
	Thu, 21 May 2015 02:10:40 -0700 (PDT)
Received: by 10.28.226.193 with HTTP; Thu, 21 May 2015 02:10:40 -0700 (PDT)
In-Reply-To: <6A8B0F9B-30F6-463A-A40E-02FEB5CB2062@recoil.org>
References: <A60BE2F9-076A-4392-A5CB-E2748CCDA4A7@recoil.org>
	<CAHwFrZc1upCx9mEDS8wTwwkqurKBK5rDgVDceMZR-1howYsTbw@mail.gmail.com>
	<6A8B0F9B-30F6-463A-A40E-02FEB5CB2062@recoil.org>
Date: Thu, 21 May 2015 10:10:40 +0100
X-Google-Sender-Auth: g7rvX1WpT-b2na7Lm-By1kFds-0
Message-ID: <CAN2Hq06jqaoiH7zAw0nwiuEc2X+LqFWz-+pr+h=MNJ10CTvVQQ@mail.gmail.com>
From: Richard Mortier <mort@cantab.net>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] CuBox-i 4x4: another ARM box
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Out of curiosity, does anyone know of a good site that collates these
sorts of details for the range of ARM chips, boards, resellers, etc,
etc?

On 21 May 2015 at 10:02, Anil Madhavapeddy <anil@recoil.org> wrote:
> The ARM numbering scheme is exceedingly confusing -- it does indeed look
> like it doesn't support the virtualisation extensions.  It'll be interesting
> to see if it boots NetBSD at the moment, since then Martin's work on
> Mirump will let us boot MirageOS on it without Xen.
>
> The rPi 2 does have the virt extensions, but not the requisite interrupt
> controller, and so will require a bunch of emulation code in Xen and KVM to
> dispatch events to the virtual machines.
>
> -anil
>
>> On 14 May 2015, at 18:31, Len Maxwell <len@lnmx.org> wrote:
>>
>> Hi,
>>
>> What do I look for in an ARM to see if it could support Xen?  The Xen
>> wiki [0] says that virtualization extensions are required (Cortex-A7,
>> -A15, etc.).
>>
>> Cubox uses Freescale i.MX6Q (A9) -- which has TrustZone, but not the
>> virtualization extensions?
>>
>> I did find something about running KVM on RasPi 2 [1] [2], which is a
>> Broadcom A7.
>>
>> [0]: http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions
>> [1]: http://blog.flexvdi.es/2015/02/25/enabling-hyp-mode-on-the-raspberry-pi-2/
>> [2]: http://blog.flexvdi.com/2015/03/17/enabling-kvm-virtualization-on-the-raspberry-pi-2/
>>
>>
>> thanks,
>> --
>> Len
>>
>> On Wed, May 13, 2015 at 12:32 PM, Anil Madhavapeddy <anil@recoil.org> wrote:
>>> Another interesting ARM box that should support Xen, pointed out by Justin Cormack.
>>>
>>> http://www.solid-run.com/product/cubox-i-4x4
>>>
>>> 4 cores, 4GB RAM, SATA, gigabit ethernet.  Looks like a very good candidate for a (expensive but functional) home router.
>>>
>>> -anil
>>> _______________________________________________
>>> MirageOS-devel mailing list
>>> MirageOS-devel@lists.xenproject.org
>>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>>
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>>
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel



-- 
Richard Mortier
mort@cantab.net

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu May 21 09:11:17 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 21 May 2015 09:11:17 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvMVZ-0006dn-1m; Thu, 21 May 2015 09:11:17 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <buzzheavyyear@hotmail.com>) id 1YvMVX-0006dZ-Kp
	for mirageos-devel@lists.xenproject.org; Thu, 21 May 2015 09:11:15 +0000
Received: from [85.158.137.68] by server-14.bemta-3.messagelabs.com id
	AC/B4-02948-E21AD555; Thu, 21 May 2015 09:11:10 +0000
X-Env-Sender: buzzheavyyear@hotmail.com
X-Msg-Ref: server-3.tower-31.messagelabs.com!1432199468!11259058!1
X-Originating-IP: [157.55.2.98]
X-SpamReason: No, hits=0.5 required=7.0 tests=FORGED_HOTMAIL_RCVD,
	HTML_50_60,HTML_MESSAGE,MAILTO_TO_SPAM_ADDR
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 2906 invoked from network); 21 May 2015 09:11:08 -0000
Received: from dub004-omc4s23.hotmail.com (HELO DUB004-OMC4S23.hotmail.com)
	(157.55.2.98)
	by server-3.tower-31.messagelabs.com with AES256-SHA encrypted SMTP;
	21 May 2015 09:11:08 -0000
Received: from DUB128-W18 ([157.55.2.71]) by DUB004-OMC4S23.hotmail.com over
	TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); 
	Thu, 21 May 2015 02:11:07 -0700
X-TMN: [uB7LtKM6yDfGKeGo0B94zO6aAWQFXVsT]
X-Originating-Email: [buzzheavyyear@hotmail.com]
Message-ID: <DUB128-W18A94B57ABB0CE654359D9B4C10@phx.gbl>
From: Nick Betteridge <buzzheavyyear@hotmail.com>
To: Amir Chaudhry <amc79@cam.ac.uk>
Date: Thu, 21 May 2015 09:11:07 +0000
Importance: Normal
In-Reply-To: <201B91DC-35F2-4B71-B6FD-21D70F06BA74@cam.ac.uk>
References: <9D8EA117-E3D8-4845-B76F-4C424154CDA3@supercoders.com.au>
	<CAN2Hq05nvqaBznUh4e25-2veaLyVD3zqEvykmV0KD_a4=eLR9w@mail.gmail.com>
	<8C1F7C54-1410-4308-B6FA-D5768C26BE5B@supercoders.com.au>
	<DUB128-W831F22255B2BD014A543FCB4C10@phx.gbl>,
	<201B91DC-35F2-4B71-B6FD-21D70F06BA74@cam.ac.uk>
MIME-Version: 1.0
X-OriginalArrivalTime: 21 May 2015 09:11:07.0461 (UTC)
	FILETIME=[124C9F50:01D093A6]
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Anyone else have problems with openmirage.org?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8549788634125410679=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============8549788634125410679==
Content-Type: multipart/alternative;
	boundary="_b6022e90-9735-4caf-a887-b950712e2ab8_"

--_b6022e90-9735-4caf-a887-b950712e2ab8_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Amir=2C

Well=2C I was actually trying to read http://openmirage.org/blog/intro-tcpi=
p as I was initially trying to get some of the skeleton examples to work.

The above link didn't work=2C but does now. However=2C I've noticed that if=
 I read a http://openmirage.org and then click a link - your pinata article=
=2C for example=2C then the actual link redirects to https://openmirage.org=
/blog/announcing-bitcoin-pinata and my firefox tells me 'unable to connect'=
=20

Best
Nick

Subject: Re: [MirageOS-devel] Anyone else have problems with openmirage.org=
?
From: amc79@cam.ac.uk
Date: Thu=2C 21 May 2015 09:30:25 +0100
CC: andrew.stuart@supercoders.com.au=3B mirageos-devel@lists.xenproject.org
To: buzzheavyyear@hotmail.com

I noticed the same a couple of days ago. D'you remember which page(s) it wa=
s?
https://github.com/mirage/mirage-www/issues/321

Best wishes=2CAmir
--Sent via mobile
On 21 May 2015=2C at 08:32=2C Nick Betteridge <buzzheavyyear@hotmail.com> w=
rote:

=0A=
=0A=
=0A=
Over the last couple of days I got an 'out of memory' error on openmirage.o=
rg/blog=2C yet open mirage  was fine.

 		 	   		  =0A=
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
 		 	   		  =

--_b6022e90-9735-4caf-a887-b950712e2ab8_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 12pt=3B
font-family:Calibri
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>Hi Amir=2C<br><br>Well=2C I was =
actually trying to read <a href=3D"http://openmirage.org/blog/intro-tcpip" =
target=3D"_blank">http://openmirage.org/blog/intro-tcpip</a> as I was initi=
ally trying to get some of the skeleton examples to work.<br><br>The above =
link didn't work=2C but does now. However=2C I've noticed that if I read a =
<a href=3D"http://openmirage.org" target=3D"_blank">http://openmirage.org</=
a> and then click a link - your pinata article=2C for example=2C then the a=
ctual link redirects to <a href=3D"https://openmirage.org/blog/announcing-b=
itcoin-pinata" target=3D"_blank">https://openmirage.org/blog/announcing-bit=
coin-pinata</a> and my firefox tells me 'unable to connect' <br><br>Best<br=
>Nick<br><br><div><hr id=3D"stopSpelling">Subject: Re: [MirageOS-devel] Any=
one else have problems with openmirage.org?<br>From: amc79@cam.ac.uk<br>Dat=
e: Thu=2C 21 May 2015 09:30:25 +0100<br>CC: andrew.stuart@supercoders.com.a=
u=3B mirageos-devel@lists.xenproject.org<br>To: buzzheavyyear@hotmail.com<b=
r><br><div>I noticed the same a couple of days ago. D'you remember which pa=
ge(s) it was?</div><div><br></div><div><a href=3D"https://github.com/mirage=
/mirage-www/issues/321" target=3D"_blank">https://github.com/mirage/mirage-=
www/issues/321</a><br><br>Best wishes=2C<div>Amir</div><div><br></div><div>=
--</div><div>Sent via mobile</div></div><div><br>On 21 May 2015=2C at 08:32=
=2C Nick Betteridge &lt=3B<a href=3D"mailto:buzzheavyyear@hotmail.com">buzz=
heavyyear@hotmail.com</a>&gt=3B wrote:<br><br></div><blockquote><div>=0A=
=0A=
<style><!--=0A=
.ExternalClass .ecxhmmessage P {=0A=
padding:0px=3B=0A=
}=0A=
=0A=
.ExternalClass body.ecxhmmessage {=0A=
font-size:12pt=3B=0A=
font-family:Calibri=3B=0A=
}=0A=
=0A=
--></style>=0A=
<div dir=3D"ltr">Over the last couple of days I got an 'out of memory' erro=
r on <a href=3D"http://openmirage.org/blog" target=3D"_blank">openmirage.or=
g/blog</a>=2C yet open mirage&nbsp=3B was fine.<br><br> 		 	   		  </div>=
=0A=
</div></blockquote><blockquote><div><span>_________________________________=
______________</span><br><span>MirageOS-devel mailing list</span><br><span>=
<a href=3D"mailto:MirageOS-devel@lists.xenproject.org">MirageOS-devel@lists=
.xenproject.org</a></span><br><span><a href=3D"http://lists.xenproject.org/=
cgi-bin/mailman/listinfo/mirageos-devel" target=3D"_blank">http://lists.xen=
project.org/cgi-bin/mailman/listinfo/mirageos-devel</a></span><br></div></b=
lockquote></div> 		 	   		  </div></body>
</html>=

--_b6022e90-9735-4caf-a887-b950712e2ab8_--


--===============8549788634125410679==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============8549788634125410679==--


From mirageos-devel-bounces@lists.xenproject.org Thu May 21 09:11:17 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 21 May 2015 09:11:17 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvMVZ-0006dn-1m; Thu, 21 May 2015 09:11:17 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <buzzheavyyear@hotmail.com>) id 1YvMVX-0006dZ-Kp
	for mirageos-devel@lists.xenproject.org; Thu, 21 May 2015 09:11:15 +0000
Received: from [85.158.137.68] by server-14.bemta-3.messagelabs.com id
	AC/B4-02948-E21AD555; Thu, 21 May 2015 09:11:10 +0000
X-Env-Sender: buzzheavyyear@hotmail.com
X-Msg-Ref: server-3.tower-31.messagelabs.com!1432199468!11259058!1
X-Originating-IP: [157.55.2.98]
X-SpamReason: No, hits=0.5 required=7.0 tests=FORGED_HOTMAIL_RCVD,
	HTML_50_60,HTML_MESSAGE,MAILTO_TO_SPAM_ADDR
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 2906 invoked from network); 21 May 2015 09:11:08 -0000
Received: from dub004-omc4s23.hotmail.com (HELO DUB004-OMC4S23.hotmail.com)
	(157.55.2.98)
	by server-3.tower-31.messagelabs.com with AES256-SHA encrypted SMTP;
	21 May 2015 09:11:08 -0000
Received: from DUB128-W18 ([157.55.2.71]) by DUB004-OMC4S23.hotmail.com over
	TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); 
	Thu, 21 May 2015 02:11:07 -0700
X-TMN: [uB7LtKM6yDfGKeGo0B94zO6aAWQFXVsT]
X-Originating-Email: [buzzheavyyear@hotmail.com]
Message-ID: <DUB128-W18A94B57ABB0CE654359D9B4C10@phx.gbl>
From: Nick Betteridge <buzzheavyyear@hotmail.com>
To: Amir Chaudhry <amc79@cam.ac.uk>
Date: Thu, 21 May 2015 09:11:07 +0000
Importance: Normal
In-Reply-To: <201B91DC-35F2-4B71-B6FD-21D70F06BA74@cam.ac.uk>
References: <9D8EA117-E3D8-4845-B76F-4C424154CDA3@supercoders.com.au>
	<CAN2Hq05nvqaBznUh4e25-2veaLyVD3zqEvykmV0KD_a4=eLR9w@mail.gmail.com>
	<8C1F7C54-1410-4308-B6FA-D5768C26BE5B@supercoders.com.au>
	<DUB128-W831F22255B2BD014A543FCB4C10@phx.gbl>,
	<201B91DC-35F2-4B71-B6FD-21D70F06BA74@cam.ac.uk>
MIME-Version: 1.0
X-OriginalArrivalTime: 21 May 2015 09:11:07.0461 (UTC)
	FILETIME=[124C9F50:01D093A6]
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Anyone else have problems with openmirage.org?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8549788634125410679=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============8549788634125410679==
Content-Type: multipart/alternative;
	boundary="_b6022e90-9735-4caf-a887-b950712e2ab8_"

--_b6022e90-9735-4caf-a887-b950712e2ab8_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Amir=2C

Well=2C I was actually trying to read http://openmirage.org/blog/intro-tcpi=
p as I was initially trying to get some of the skeleton examples to work.

The above link didn't work=2C but does now. However=2C I've noticed that if=
 I read a http://openmirage.org and then click a link - your pinata article=
=2C for example=2C then the actual link redirects to https://openmirage.org=
/blog/announcing-bitcoin-pinata and my firefox tells me 'unable to connect'=
=20

Best
Nick

Subject: Re: [MirageOS-devel] Anyone else have problems with openmirage.org=
?
From: amc79@cam.ac.uk
Date: Thu=2C 21 May 2015 09:30:25 +0100
CC: andrew.stuart@supercoders.com.au=3B mirageos-devel@lists.xenproject.org
To: buzzheavyyear@hotmail.com

I noticed the same a couple of days ago. D'you remember which page(s) it wa=
s?
https://github.com/mirage/mirage-www/issues/321

Best wishes=2CAmir
--Sent via mobile
On 21 May 2015=2C at 08:32=2C Nick Betteridge <buzzheavyyear@hotmail.com> w=
rote:

=0A=
=0A=
=0A=
Over the last couple of days I got an 'out of memory' error on openmirage.o=
rg/blog=2C yet open mirage  was fine.

 		 	   		  =0A=
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
 		 	   		  =

--_b6022e90-9735-4caf-a887-b950712e2ab8_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 12pt=3B
font-family:Calibri
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>Hi Amir=2C<br><br>Well=2C I was =
actually trying to read <a href=3D"http://openmirage.org/blog/intro-tcpip" =
target=3D"_blank">http://openmirage.org/blog/intro-tcpip</a> as I was initi=
ally trying to get some of the skeleton examples to work.<br><br>The above =
link didn't work=2C but does now. However=2C I've noticed that if I read a =
<a href=3D"http://openmirage.org" target=3D"_blank">http://openmirage.org</=
a> and then click a link - your pinata article=2C for example=2C then the a=
ctual link redirects to <a href=3D"https://openmirage.org/blog/announcing-b=
itcoin-pinata" target=3D"_blank">https://openmirage.org/blog/announcing-bit=
coin-pinata</a> and my firefox tells me 'unable to connect' <br><br>Best<br=
>Nick<br><br><div><hr id=3D"stopSpelling">Subject: Re: [MirageOS-devel] Any=
one else have problems with openmirage.org?<br>From: amc79@cam.ac.uk<br>Dat=
e: Thu=2C 21 May 2015 09:30:25 +0100<br>CC: andrew.stuart@supercoders.com.a=
u=3B mirageos-devel@lists.xenproject.org<br>To: buzzheavyyear@hotmail.com<b=
r><br><div>I noticed the same a couple of days ago. D'you remember which pa=
ge(s) it was?</div><div><br></div><div><a href=3D"https://github.com/mirage=
/mirage-www/issues/321" target=3D"_blank">https://github.com/mirage/mirage-=
www/issues/321</a><br><br>Best wishes=2C<div>Amir</div><div><br></div><div>=
--</div><div>Sent via mobile</div></div><div><br>On 21 May 2015=2C at 08:32=
=2C Nick Betteridge &lt=3B<a href=3D"mailto:buzzheavyyear@hotmail.com">buzz=
heavyyear@hotmail.com</a>&gt=3B wrote:<br><br></div><blockquote><div>=0A=
=0A=
<style><!--=0A=
.ExternalClass .ecxhmmessage P {=0A=
padding:0px=3B=0A=
}=0A=
=0A=
.ExternalClass body.ecxhmmessage {=0A=
font-size:12pt=3B=0A=
font-family:Calibri=3B=0A=
}=0A=
=0A=
--></style>=0A=
<div dir=3D"ltr">Over the last couple of days I got an 'out of memory' erro=
r on <a href=3D"http://openmirage.org/blog" target=3D"_blank">openmirage.or=
g/blog</a>=2C yet open mirage&nbsp=3B was fine.<br><br> 		 	   		  </div>=
=0A=
</div></blockquote><blockquote><div><span>_________________________________=
______________</span><br><span>MirageOS-devel mailing list</span><br><span>=
<a href=3D"mailto:MirageOS-devel@lists.xenproject.org">MirageOS-devel@lists=
.xenproject.org</a></span><br><span><a href=3D"http://lists.xenproject.org/=
cgi-bin/mailman/listinfo/mirageos-devel" target=3D"_blank">http://lists.xen=
project.org/cgi-bin/mailman/listinfo/mirageos-devel</a></span><br></div></b=
lockquote></div> 		 	   		  </div></body>
</html>=

--_b6022e90-9735-4caf-a887-b950712e2ab8_--


--===============8549788634125410679==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============8549788634125410679==--


From mirageos-devel-bounces@lists.xenproject.org Thu May 21 10:27:45 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 21 May 2015 10:27:45 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvNhU-0005Lx-3S; Thu, 21 May 2015 10:27:40 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YvNhS-0005Ls-N4
	for mirageos-devel@lists.xenproject.org; Thu, 21 May 2015 10:27:38 +0000
Received: from [85.158.139.211] by server-8.bemta-5.messagelabs.com id
	94/A0-03747-A13BD555; Thu, 21 May 2015 10:27:38 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-5.tower-206.messagelabs.com!1432204056!11766949!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.5 required=7.0 tests=MAILTO_TO_SPAM_ADDR,
	RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 1445 invoked from network); 21 May 2015 10:27:36 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-5.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 21 May 2015 10:27:36 -0000
Received: from flick.office (volstagg-0.srg.cl.cam.ac.uk [128.232.32.232]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id c8a5d0dd;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Thu, 21 May 2015 11:27:35 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <DUB128-W18A94B57ABB0CE654359D9B4C10@phx.gbl>
Date: Thu, 21 May 2015 11:27:34 +0100
Message-Id: <AEEC91EF-80EB-43BA-9127-8B62B8CF6DFF@recoil.org>
References: <9D8EA117-E3D8-4845-B76F-4C424154CDA3@supercoders.com.au>
	<CAN2Hq05nvqaBznUh4e25-2veaLyVD3zqEvykmV0KD_a4=eLR9w@mail.gmail.com>
	<8C1F7C54-1410-4308-B6FA-D5768C26BE5B@supercoders.com.au>
	<DUB128-W831F22255B2BD014A543FCB4C10@phx.gbl>
	<201B91DC-35F2-4B71-B6FD-21D70F06BA74@cam.ac.uk>
	<DUB128-W18A94B57ABB0CE654359D9B4C10@phx.gbl>
To: Nick Betteridge <buzzheavyyear@hotmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Anyone else have problems with openmirage.org?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

...and that was the bug, easily fixed now that you spotted it Nick :-)
Here's what's been happening with the live infrastructure:

- We've been running the bleeding edge version of MirageOS on openmirage.org
  with a stress test constantly running against it (a curl script in a loop)
  to help find memory leaks lurking in the TCP stack.  Several have been found
  and fixed, so this is all a good use of the live infrastructure.

- At the same time, the openmirage.org host was running in an old server in
  Cambridge University, and I migrated it over to Bytemark.  Cambridge hosting
  often went down due to some power instabilities here.

- Meanwhile, we're hard at work on preparing the Mirage 2.5 release which
  includes the Xen OCaml TLS stack.  This is deployed live on the new
  https://mirage.io site (for while we have a TLS certificate), and that is
  served from a fork of mirage-www that contains all the SSL serving logic.
  https://github.com/mirage/mirage-www/pull/317

- There was a mixup in the deployment scripts on the new server that led the
  openmirage.org to be compiled with the redirect logic from mirage.io, and
  so you're seeing all the https:// links.  I've now fixed this.

Andrew, if you're seeing the site hanging for some connections, this may be
due to some of the retransmit timer settings in the TCP stack due to you
coming in from a high latency high bandwidth connection.  I'm planning to
setup a permanent pcap trace on the live mirage.io site so that we can debug
and trace through these issues a lot more easily.  If you can get us a pcap
trace of a hang from one of your servers, that would be most helpful in
tracking this down.

cheers,
Anil

> On 21 May 2015, at 10:11, Nick Betteridge <buzzheavyyear@hotmail.com> wrote:
> 
> Hi Amir,
> 
> Well, I was actually trying to read http://openmirage.org/blog/intro-tcpip as I was initially trying to get some of the skeleton examples to work.
> 
> The above link didn't work, but does now. However, I've noticed that if I read a http://openmirage.org and then click a link - your pinata article, for example, then the actual link redirects to https://openmirage.org/blog/announcing-bitcoin-pinata and my firefox tells me 'unable to connect' 
> 
> Best
> Nick
> 
> Subject: Re: [MirageOS-devel] Anyone else have problems with openmirage.org?
> From: amc79@cam.ac.uk
> Date: Thu, 21 May 2015 09:30:25 +0100
> CC: andrew.stuart@supercoders.com.au; mirageos-devel@lists.xenproject.org
> To: buzzheavyyear@hotmail.com
> 
> I noticed the same a couple of days ago. D'you remember which page(s) it was?
> 
> https://github.com/mirage/mirage-www/issues/321
> 
> Best wishes,
> Amir
> 
> --
> Sent via mobile
> 
> On 21 May 2015, at 08:32, Nick Betteridge <buzzheavyyear@hotmail.com> wrote:
> 
> Over the last couple of days I got an 'out of memory' error on openmirage.org/blog, yet open mirage  was fine.
> 
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu May 21 10:27:45 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 21 May 2015 10:27:45 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvNhU-0005Lx-3S; Thu, 21 May 2015 10:27:40 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YvNhS-0005Ls-N4
	for mirageos-devel@lists.xenproject.org; Thu, 21 May 2015 10:27:38 +0000
Received: from [85.158.139.211] by server-8.bemta-5.messagelabs.com id
	94/A0-03747-A13BD555; Thu, 21 May 2015 10:27:38 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-5.tower-206.messagelabs.com!1432204056!11766949!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.5 required=7.0 tests=MAILTO_TO_SPAM_ADDR,
	RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 1445 invoked from network); 21 May 2015 10:27:36 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-5.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 21 May 2015 10:27:36 -0000
Received: from flick.office (volstagg-0.srg.cl.cam.ac.uk [128.232.32.232]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id c8a5d0dd;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Thu, 21 May 2015 11:27:35 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <DUB128-W18A94B57ABB0CE654359D9B4C10@phx.gbl>
Date: Thu, 21 May 2015 11:27:34 +0100
Message-Id: <AEEC91EF-80EB-43BA-9127-8B62B8CF6DFF@recoil.org>
References: <9D8EA117-E3D8-4845-B76F-4C424154CDA3@supercoders.com.au>
	<CAN2Hq05nvqaBznUh4e25-2veaLyVD3zqEvykmV0KD_a4=eLR9w@mail.gmail.com>
	<8C1F7C54-1410-4308-B6FA-D5768C26BE5B@supercoders.com.au>
	<DUB128-W831F22255B2BD014A543FCB4C10@phx.gbl>
	<201B91DC-35F2-4B71-B6FD-21D70F06BA74@cam.ac.uk>
	<DUB128-W18A94B57ABB0CE654359D9B4C10@phx.gbl>
To: Nick Betteridge <buzzheavyyear@hotmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Anyone else have problems with openmirage.org?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

...and that was the bug, easily fixed now that you spotted it Nick :-)
Here's what's been happening with the live infrastructure:

- We've been running the bleeding edge version of MirageOS on openmirage.org
  with a stress test constantly running against it (a curl script in a loop)
  to help find memory leaks lurking in the TCP stack.  Several have been found
  and fixed, so this is all a good use of the live infrastructure.

- At the same time, the openmirage.org host was running in an old server in
  Cambridge University, and I migrated it over to Bytemark.  Cambridge hosting
  often went down due to some power instabilities here.

- Meanwhile, we're hard at work on preparing the Mirage 2.5 release which
  includes the Xen OCaml TLS stack.  This is deployed live on the new
  https://mirage.io site (for while we have a TLS certificate), and that is
  served from a fork of mirage-www that contains all the SSL serving logic.
  https://github.com/mirage/mirage-www/pull/317

- There was a mixup in the deployment scripts on the new server that led the
  openmirage.org to be compiled with the redirect logic from mirage.io, and
  so you're seeing all the https:// links.  I've now fixed this.

Andrew, if you're seeing the site hanging for some connections, this may be
due to some of the retransmit timer settings in the TCP stack due to you
coming in from a high latency high bandwidth connection.  I'm planning to
setup a permanent pcap trace on the live mirage.io site so that we can debug
and trace through these issues a lot more easily.  If you can get us a pcap
trace of a hang from one of your servers, that would be most helpful in
tracking this down.

cheers,
Anil

> On 21 May 2015, at 10:11, Nick Betteridge <buzzheavyyear@hotmail.com> wrote:
> 
> Hi Amir,
> 
> Well, I was actually trying to read http://openmirage.org/blog/intro-tcpip as I was initially trying to get some of the skeleton examples to work.
> 
> The above link didn't work, but does now. However, I've noticed that if I read a http://openmirage.org and then click a link - your pinata article, for example, then the actual link redirects to https://openmirage.org/blog/announcing-bitcoin-pinata and my firefox tells me 'unable to connect' 
> 
> Best
> Nick
> 
> Subject: Re: [MirageOS-devel] Anyone else have problems with openmirage.org?
> From: amc79@cam.ac.uk
> Date: Thu, 21 May 2015 09:30:25 +0100
> CC: andrew.stuart@supercoders.com.au; mirageos-devel@lists.xenproject.org
> To: buzzheavyyear@hotmail.com
> 
> I noticed the same a couple of days ago. D'you remember which page(s) it was?
> 
> https://github.com/mirage/mirage-www/issues/321
> 
> Best wishes,
> Amir
> 
> --
> Sent via mobile
> 
> On 21 May 2015, at 08:32, Nick Betteridge <buzzheavyyear@hotmail.com> wrote:
> 
> Over the last couple of days I got an 'out of memory' error on openmirage.org/blog, yet open mirage  was fine.
> 
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu May 21 13:22:58 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 21 May 2015 13:22:58 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvQR1-0004xt-DH; Thu, 21 May 2015 13:22:51 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1YvQR0-0004xo-0K
	for mirageos-devel@lists.xenproject.org; Thu, 21 May 2015 13:22:50 +0000
Received: from [85.158.139.211] by server-14.bemta-5.messagelabs.com id
	3E/84-02819-92CDD555; Thu, 21 May 2015 13:22:49 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-14.tower-206.messagelabs.com!1432214568!6447043!1
X-Originating-IP: [209.85.215.44]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 28989 invoked from network); 21 May 2015 13:22:48 -0000
Received: from mail-la0-f44.google.com (HELO mail-la0-f44.google.com)
	(209.85.215.44)
	by server-14.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	21 May 2015 13:22:48 -0000
Received: by lagr1 with SMTP id r1so102323394lag.0
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 21 May 2015 06:22:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=xAFmKsFm9v/msQq3R6Pu7+4UPTrXorwq8G8BBhgjf30=;
	b=Nq9cNFeGw2zmvM/LUmk0B1erWBNlXlWWP3T/pv9cQRhX0m2/KxQg8XlJUUxbVinZeO
	BiyMDWJZurfLym4joeKbyPTvp+9XIlS6JNvRdfU4tOuGQ8dvH9dVgk2+AYCSNbbhNDo7
	5tb54IFWgeGXJ9QfGaKltaFvlXOwULx3ATyDiwaHOPsdbMdYt1PLVJjnVi/Ofk3BJNmu
	QqGs36bme7r61z/Wk9GWcUpQ1MIEgieyk/CtGRLnP9dnfsRUqGmE2VDtMCRdyTqapWqE
	jmdDdJ394BKV7nekHBhtQisU2KnHvB80SY68k9OYq7SdFCiq/qKy3W5QglfnkuLNqum1
	jtgg==
MIME-Version: 1.0
X-Received: by 10.153.7.104 with SMTP id db8mr2241609lad.124.1432214567982;
	Thu, 21 May 2015 06:22:47 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Thu, 21 May 2015 06:22:47 -0700 (PDT)
In-Reply-To: <20150520164619.GB3609@tatooine>
References: <20150519224544.GA13972@tatooine>
	<E6CFDA08-BA38-42D4-890F-8BE2AE3237D8@gazagnaire.org>
	<66D5BC78-B1D1-4A2D-B21A-0672393CC3B1@gazagnaire.org>
	<CBF7FC0E-A1EF-4CE2-8F35-AFEE9C42F2F6@gazagnaire.org>
	<CAAExw5vWod3MfAR+Lvqg5bSLUyczrcgqS4YzZqy0NaCaTiO1NA@mail.gmail.com>
	<690682D3-99A8-4976-8308-021D699E6878@gazagnaire.org>
	<CAAExw5u=+K1xVKwsnt1j3itSpK05DmReVmVfZcJ-rXKp1X0e5A@mail.gmail.com>
	<20150520154659.GA2112@tatooine>
	<94FA4595-D290-48DE-A4A2-ACB3E85B74D9@recoil.org>
	<20150520164619.GB3609@tatooine>
Date: Thu, 21 May 2015 14:22:47 +0100
Message-ID: <CAG4opy-wiv0=r-MAUd3egpjMNZxiqw8-A=j21p=5e+2XBmi_8A@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Magnus Therning <magnus@therning.org>
Cc: Thomas Gazagnaire <thomas@gazagnaire.org>,
	MirageOS Devel <mirageos-devel@lists.xenproject.org>,
	Anil Madhavapeddy <anil@recoil.org>
Subject: Re: [MirageOS-devel] Any way to get caml4p to run on ARM
	(cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 20 May 2015 at 17:46, Magnus Therning <magnus@therning.org> wrote:
> On Wed, May 20, 2015 at 05:13:46PM +0100, Anil Madhavapeddy wrote:
>> On 20 May 2015, at 16:46, Magnus Therning <magnus@therning.org> wrote:
>> >
>> > Unfortunately the segmentation fault remains, but now on `server.ml`.
>>
>> I saw these sorts of segmentation faults due to bad memory on one of my
>> first Cubieboards.  If you can find the command line involved (by passing
>> -classic-display to the ocamlbuild command) and run that under `gdb`,
>> it would be good to see how deterministic the crash is.  Removing camlp4
>> may just be masking the physical memory error by simply allocating less.
>
> That's a bit worrying! :(
>
> When running the `camlp4` invocation manually I only get an "Out of
> memory".  I'm not sure how to run `camlp4` under `gdb`; `camlp4`
> itself isn't an executable and the `camlp4*.opt` all report that they
> "Error: don't know what to do with str.cma".

Might be worth running memtester or similar.

(there's also an "mtest" command in U-Boot, but I think our build
doesn't enable it)


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu May 21 13:22:58 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 21 May 2015 13:22:58 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvQR1-0004xt-DH; Thu, 21 May 2015 13:22:51 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1YvQR0-0004xo-0K
	for mirageos-devel@lists.xenproject.org; Thu, 21 May 2015 13:22:50 +0000
Received: from [85.158.139.211] by server-14.bemta-5.messagelabs.com id
	3E/84-02819-92CDD555; Thu, 21 May 2015 13:22:49 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-14.tower-206.messagelabs.com!1432214568!6447043!1
X-Originating-IP: [209.85.215.44]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 28989 invoked from network); 21 May 2015 13:22:48 -0000
Received: from mail-la0-f44.google.com (HELO mail-la0-f44.google.com)
	(209.85.215.44)
	by server-14.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	21 May 2015 13:22:48 -0000
Received: by lagr1 with SMTP id r1so102323394lag.0
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 21 May 2015 06:22:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=xAFmKsFm9v/msQq3R6Pu7+4UPTrXorwq8G8BBhgjf30=;
	b=Nq9cNFeGw2zmvM/LUmk0B1erWBNlXlWWP3T/pv9cQRhX0m2/KxQg8XlJUUxbVinZeO
	BiyMDWJZurfLym4joeKbyPTvp+9XIlS6JNvRdfU4tOuGQ8dvH9dVgk2+AYCSNbbhNDo7
	5tb54IFWgeGXJ9QfGaKltaFvlXOwULx3ATyDiwaHOPsdbMdYt1PLVJjnVi/Ofk3BJNmu
	QqGs36bme7r61z/Wk9GWcUpQ1MIEgieyk/CtGRLnP9dnfsRUqGmE2VDtMCRdyTqapWqE
	jmdDdJ394BKV7nekHBhtQisU2KnHvB80SY68k9OYq7SdFCiq/qKy3W5QglfnkuLNqum1
	jtgg==
MIME-Version: 1.0
X-Received: by 10.153.7.104 with SMTP id db8mr2241609lad.124.1432214567982;
	Thu, 21 May 2015 06:22:47 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Thu, 21 May 2015 06:22:47 -0700 (PDT)
In-Reply-To: <20150520164619.GB3609@tatooine>
References: <20150519224544.GA13972@tatooine>
	<E6CFDA08-BA38-42D4-890F-8BE2AE3237D8@gazagnaire.org>
	<66D5BC78-B1D1-4A2D-B21A-0672393CC3B1@gazagnaire.org>
	<CBF7FC0E-A1EF-4CE2-8F35-AFEE9C42F2F6@gazagnaire.org>
	<CAAExw5vWod3MfAR+Lvqg5bSLUyczrcgqS4YzZqy0NaCaTiO1NA@mail.gmail.com>
	<690682D3-99A8-4976-8308-021D699E6878@gazagnaire.org>
	<CAAExw5u=+K1xVKwsnt1j3itSpK05DmReVmVfZcJ-rXKp1X0e5A@mail.gmail.com>
	<20150520154659.GA2112@tatooine>
	<94FA4595-D290-48DE-A4A2-ACB3E85B74D9@recoil.org>
	<20150520164619.GB3609@tatooine>
Date: Thu, 21 May 2015 14:22:47 +0100
Message-ID: <CAG4opy-wiv0=r-MAUd3egpjMNZxiqw8-A=j21p=5e+2XBmi_8A@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Magnus Therning <magnus@therning.org>
Cc: Thomas Gazagnaire <thomas@gazagnaire.org>,
	MirageOS Devel <mirageos-devel@lists.xenproject.org>,
	Anil Madhavapeddy <anil@recoil.org>
Subject: Re: [MirageOS-devel] Any way to get caml4p to run on ARM
	(cubietruck)?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 20 May 2015 at 17:46, Magnus Therning <magnus@therning.org> wrote:
> On Wed, May 20, 2015 at 05:13:46PM +0100, Anil Madhavapeddy wrote:
>> On 20 May 2015, at 16:46, Magnus Therning <magnus@therning.org> wrote:
>> >
>> > Unfortunately the segmentation fault remains, but now on `server.ml`.
>>
>> I saw these sorts of segmentation faults due to bad memory on one of my
>> first Cubieboards.  If you can find the command line involved (by passing
>> -classic-display to the ocamlbuild command) and run that under `gdb`,
>> it would be good to see how deterministic the crash is.  Removing camlp4
>> may just be masking the physical memory error by simply allocating less.
>
> That's a bit worrying! :(
>
> When running the `camlp4` invocation manually I only get an "Out of
> memory".  I'm not sure how to run `camlp4` under `gdb`; `camlp4`
> itself isn't an executable and the `camlp4*.opt` all report that they
> "Error: don't know what to do with str.cma".

Might be worth running memtester or similar.

(there's also an "mtest" command in U-Boot, but I think our build
doesn't enable it)


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 22 15:36:03 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 22 May 2015 15:36:03 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvozL-0005Kz-AZ; Fri, 22 May 2015 15:35:55 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <martin@lucina.net>) id 1YvozK-0005Ku-9S
	for mirageos-devel@lists.xenproject.org; Fri, 22 May 2015 15:35:54 +0000
Received: from [85.158.137.68] by server-14.bemta-3.messagelabs.com id
	5A/9D-02948-9DC4F555; Fri, 22 May 2015 15:35:53 +0000
X-Env-Sender: martin@lucina.net
X-Msg-Ref: server-9.tower-31.messagelabs.com!1432308949!8027852!1
X-Originating-IP: [62.176.169.44]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 6425 invoked from network); 22 May 2015 15:35:49 -0000
Received: from smtp.lucina.net (HELO smtp.lucina.net) (62.176.169.44)
	by server-9.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 22 May 2015 15:35:49 -0000
Received: from nodbug.lucina.net (chello089173222227.chello.sk
	[89.173.222.227])
	by smtp.lucina.net (Postfix) with ESMTPSA id 6A317122811;
	Fri, 22 May 2015 17:34:52 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucina.net;
	s=dkim-201309; t=1432308892;
	bh=MPzQfvnr8QdIc7ykfo0GxAsTF6BoxIjwGi1gvYoHWOo=;
	h=Date:From:To:Cc:Subject:From;
	b=f1ilUdP4SQ+sM+A+vGtFEB/Y/aQjyG0vpm0RK2eMseD4AURPjKBDqmfHxWT6IazRF
	X+svMbmlcJH70MNWDdjJMjhUy86q/gEflAQipGQ+8CrOgDFkKSo+QPqQj/eNE6PssD
	2rvAXNpf3kp6Q1kjMrfUnXJlRUzP4X/XzLztbLZA7T22Ul7fY5JFeQ8i5SI3XYvHox
	u0W6ueH++M66+lwQm2JrxxxzdSrd1i1IEG/Myvnvd4fO93WWXRFYcXZ8eTxiC3wQP0
	KgIXuO1msiDTaiLKXOsOMbZD6rtMODG0gLvo7tEAjeY0g1luDHGmo+kuVlGq6RT2vh
	0nL0Hg5qWonog==
Received: by nodbug.lucina.net (Postfix, from userid 1000)
	id 1A7E14C0E2C; Fri, 22 May 2015 17:35:59 +0200 (CEST)
Date: Fri, 22 May 2015 17:35:59 +0200
From: Martin Lucina <martin@lucina.net>
To: mirageos-devel@lists.xenproject.org, rumpkernel-users@freelists.org
Message-ID: <20150522153559.GA11907@nodbug.lucina.net>
Mail-Followup-To: mirageos-devel@lists.xenproject.org,
	rumpkernel-users@freelists.org, Anil Madhavapeddy <avsm@recoil.org>,
	Richard Mortier <mort@cantab.net>
MIME-Version: 1.0
Content-Disposition: inline
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: Richard Mortier <mort@cantab.net>, Anil Madhavapeddy <avsm@recoil.org>
Subject: [MirageOS-devel] OCaml and Mirage now running on rumprun,
	including bare metal
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi all,

in the spirit of "announce early and often", I now have a working OCaml
cross compiler toolchain building unikernels with the rumprun stack[1], and
basic support for Mirage OS working.

Here's a screenshot for proof of the mir-console example from
mirage-skeleton running on KVM:

http://ibin.co/22cIo40lGJxN

If you'd like to try this out, my OPAM repository is available here:

https://github.com/mato/opam-rumprun

Detailed instructions are in the README.md file in that repository.

Only the Mirage Clock and Console drivers are currently functional, I'll
add more as I progress with the port.

Enjoy!

Martin

[1] http://repo.rumpkernel.org/rumprun

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 22 15:36:03 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 22 May 2015 15:36:03 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvozL-0005Kz-AZ; Fri, 22 May 2015 15:35:55 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <martin@lucina.net>) id 1YvozK-0005Ku-9S
	for mirageos-devel@lists.xenproject.org; Fri, 22 May 2015 15:35:54 +0000
Received: from [85.158.137.68] by server-14.bemta-3.messagelabs.com id
	5A/9D-02948-9DC4F555; Fri, 22 May 2015 15:35:53 +0000
X-Env-Sender: martin@lucina.net
X-Msg-Ref: server-9.tower-31.messagelabs.com!1432308949!8027852!1
X-Originating-IP: [62.176.169.44]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 6425 invoked from network); 22 May 2015 15:35:49 -0000
Received: from smtp.lucina.net (HELO smtp.lucina.net) (62.176.169.44)
	by server-9.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 22 May 2015 15:35:49 -0000
Received: from nodbug.lucina.net (chello089173222227.chello.sk
	[89.173.222.227])
	by smtp.lucina.net (Postfix) with ESMTPSA id 6A317122811;
	Fri, 22 May 2015 17:34:52 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucina.net;
	s=dkim-201309; t=1432308892;
	bh=MPzQfvnr8QdIc7ykfo0GxAsTF6BoxIjwGi1gvYoHWOo=;
	h=Date:From:To:Cc:Subject:From;
	b=f1ilUdP4SQ+sM+A+vGtFEB/Y/aQjyG0vpm0RK2eMseD4AURPjKBDqmfHxWT6IazRF
	X+svMbmlcJH70MNWDdjJMjhUy86q/gEflAQipGQ+8CrOgDFkKSo+QPqQj/eNE6PssD
	2rvAXNpf3kp6Q1kjMrfUnXJlRUzP4X/XzLztbLZA7T22Ul7fY5JFeQ8i5SI3XYvHox
	u0W6ueH++M66+lwQm2JrxxxzdSrd1i1IEG/Myvnvd4fO93WWXRFYcXZ8eTxiC3wQP0
	KgIXuO1msiDTaiLKXOsOMbZD6rtMODG0gLvo7tEAjeY0g1luDHGmo+kuVlGq6RT2vh
	0nL0Hg5qWonog==
Received: by nodbug.lucina.net (Postfix, from userid 1000)
	id 1A7E14C0E2C; Fri, 22 May 2015 17:35:59 +0200 (CEST)
Date: Fri, 22 May 2015 17:35:59 +0200
From: Martin Lucina <martin@lucina.net>
To: mirageos-devel@lists.xenproject.org, rumpkernel-users@freelists.org
Message-ID: <20150522153559.GA11907@nodbug.lucina.net>
Mail-Followup-To: mirageos-devel@lists.xenproject.org,
	rumpkernel-users@freelists.org, Anil Madhavapeddy <avsm@recoil.org>,
	Richard Mortier <mort@cantab.net>
MIME-Version: 1.0
Content-Disposition: inline
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: Richard Mortier <mort@cantab.net>, Anil Madhavapeddy <avsm@recoil.org>
Subject: [MirageOS-devel] OCaml and Mirage now running on rumprun,
	including bare metal
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi all,

in the spirit of "announce early and often", I now have a working OCaml
cross compiler toolchain building unikernels with the rumprun stack[1], and
basic support for Mirage OS working.

Here's a screenshot for proof of the mir-console example from
mirage-skeleton running on KVM:

http://ibin.co/22cIo40lGJxN

If you'd like to try this out, my OPAM repository is available here:

https://github.com/mato/opam-rumprun

Detailed instructions are in the README.md file in that repository.

Only the Mirage Clock and Console drivers are currently functional, I'll
add more as I progress with the port.

Enjoy!

Martin

[1] http://repo.rumpkernel.org/rumprun

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 22 15:50:50 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 22 May 2015 15:50:50 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvpDk-0006pe-Sp; Fri, 22 May 2015 15:50:48 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1YvpDj-0006oo-Fo
	for mirageos-devel@lists.xenproject.org; Fri, 22 May 2015 15:50:47 +0000
Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id
	C1/D3-02633-6505F555; Fri, 22 May 2015 15:50:46 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-5.tower-27.messagelabs.com!1432309845!15367460!1
X-Originating-IP: [209.85.212.171]
X-SpamReason: No, hits=0.8 required=7.0 tests=BODY_RANDOM_LONG,
  RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 4881 invoked from network); 22 May 2015 15:50:46 -0000
Received: from mail-wi0-f171.google.com (HELO mail-wi0-f171.google.com)
	(209.85.212.171)
	by server-5.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	22 May 2015 15:50:46 -0000
Received: by wichy4 with SMTP id hy4so51715992wic.1
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 22 May 2015 08:50:45 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:content-type;
	bh=/KRzcrjbwkcQj6KiZaRAkbLHjxu0VTcl3IG3IlN/6Ig=;
	b=D8kqTNZGrP56W32GH6zEAxJWFMThtPZPgGiFnyYRit+JbfqZakrGlqdRy+TUVVod5u
	bBEorglkgi9a5Yp+kH/avJou4uTginhFe4ucyGBxz3Q2K85ciRu4jW2VdWIB2U90jCMM
	dHMcrDgIW4f6H7mIzA/Q7k/7m4W4HwXWcMW2JrENj/mshH5YnzDbP7qbFgr30yu3fLOJ
	IpA2y/vvqrIC4tyxObE90u0ffvSAwMaRB9mDass2gWghhBbsv6MoDMEoU+fyWGGghO89
	ynWpmX8eCfoGKgMgL/ZrPesUQtctqpL43LNWWZIWXfgubqEwN5ZTPqKAmPB0vXarbRqL
	LTeA==
X-Received: by 10.180.78.65 with SMTP id z1mr8914687wiw.14.1432309845627;
	Fri, 22 May 2015 08:50:45 -0700 (PDT)
Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com.
	[209.85.212.173])
	by mx.google.com with ESMTPSA id u3sm3700854wjq.36.2015.05.22.08.50.44
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Fri, 22 May 2015 08:50:45 -0700 (PDT)
Received: by wichy4 with SMTP id hy4so51715215wic.1
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 22 May 2015 08:50:44 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.180.7.169 with SMTP id k9mr8936351wia.70.1432309844164; Fri,
	22 May 2015 08:50:44 -0700 (PDT)
Received: by 10.28.226.193 with HTTP; Fri, 22 May 2015 08:50:44 -0700 (PDT)
In-Reply-To: <20150522153559.GA11907@nodbug.lucina.net>
References: <20150522153559.GA11907@nodbug.lucina.net>
Date: Fri, 22 May 2015 16:50:44 +0100
Message-ID: <CAN2Hq07T9=E+GWxn0tMK-Wcv3n6w63hmEmoZwLKJDHOTALJgzw@mail.gmail.com>
From: Richard Mortier <richard.mortier@cl.cam.ac.uk>
To: mirageos-devel <mirageos-devel@lists.xenproject.org>,
	rumpkernel-users@freelists.org, Anil Madhavapeddy <avsm@recoil.org>
Subject: Re: [MirageOS-devel] OCaml and Mirage now running on rumprun,
 including bare metal
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 22 May 2015 at 16:35, Martin Lucina <martin@lucina.net> wrote:
> Hi all,
>
> in the spirit of "announce early and often", I now have a working OCaml
> cross compiler toolchain building unikernels with the rumprun stack[1], and
> basic support for Mirage OS working.
>
> Here's a screenshot for proof of the mir-console example from
> mirage-skeleton running on KVM:
>
> http://ibin.co/22cIo40lGJxN

Awesome! :)

-- 
Richard Mortier
richard.mortier@cl.cam.ac.uk

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 22 15:50:50 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 22 May 2015 15:50:50 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvpDk-0006pe-Sp; Fri, 22 May 2015 15:50:48 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1YvpDj-0006oo-Fo
	for mirageos-devel@lists.xenproject.org; Fri, 22 May 2015 15:50:47 +0000
Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id
	C1/D3-02633-6505F555; Fri, 22 May 2015 15:50:46 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-5.tower-27.messagelabs.com!1432309845!15367460!1
X-Originating-IP: [209.85.212.171]
X-SpamReason: No, hits=0.8 required=7.0 tests=BODY_RANDOM_LONG,
  RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 4881 invoked from network); 22 May 2015 15:50:46 -0000
Received: from mail-wi0-f171.google.com (HELO mail-wi0-f171.google.com)
	(209.85.212.171)
	by server-5.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	22 May 2015 15:50:46 -0000
Received: by wichy4 with SMTP id hy4so51715992wic.1
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 22 May 2015 08:50:45 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:content-type;
	bh=/KRzcrjbwkcQj6KiZaRAkbLHjxu0VTcl3IG3IlN/6Ig=;
	b=D8kqTNZGrP56W32GH6zEAxJWFMThtPZPgGiFnyYRit+JbfqZakrGlqdRy+TUVVod5u
	bBEorglkgi9a5Yp+kH/avJou4uTginhFe4ucyGBxz3Q2K85ciRu4jW2VdWIB2U90jCMM
	dHMcrDgIW4f6H7mIzA/Q7k/7m4W4HwXWcMW2JrENj/mshH5YnzDbP7qbFgr30yu3fLOJ
	IpA2y/vvqrIC4tyxObE90u0ffvSAwMaRB9mDass2gWghhBbsv6MoDMEoU+fyWGGghO89
	ynWpmX8eCfoGKgMgL/ZrPesUQtctqpL43LNWWZIWXfgubqEwN5ZTPqKAmPB0vXarbRqL
	LTeA==
X-Received: by 10.180.78.65 with SMTP id z1mr8914687wiw.14.1432309845627;
	Fri, 22 May 2015 08:50:45 -0700 (PDT)
Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com.
	[209.85.212.173])
	by mx.google.com with ESMTPSA id u3sm3700854wjq.36.2015.05.22.08.50.44
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Fri, 22 May 2015 08:50:45 -0700 (PDT)
Received: by wichy4 with SMTP id hy4so51715215wic.1
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 22 May 2015 08:50:44 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.180.7.169 with SMTP id k9mr8936351wia.70.1432309844164; Fri,
	22 May 2015 08:50:44 -0700 (PDT)
Received: by 10.28.226.193 with HTTP; Fri, 22 May 2015 08:50:44 -0700 (PDT)
In-Reply-To: <20150522153559.GA11907@nodbug.lucina.net>
References: <20150522153559.GA11907@nodbug.lucina.net>
Date: Fri, 22 May 2015 16:50:44 +0100
Message-ID: <CAN2Hq07T9=E+GWxn0tMK-Wcv3n6w63hmEmoZwLKJDHOTALJgzw@mail.gmail.com>
From: Richard Mortier <richard.mortier@cl.cam.ac.uk>
To: mirageos-devel <mirageos-devel@lists.xenproject.org>,
	rumpkernel-users@freelists.org, Anil Madhavapeddy <avsm@recoil.org>
Subject: Re: [MirageOS-devel] OCaml and Mirage now running on rumprun,
 including bare metal
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 22 May 2015 at 16:35, Martin Lucina <martin@lucina.net> wrote:
> Hi all,
>
> in the spirit of "announce early and often", I now have a working OCaml
> cross compiler toolchain building unikernels with the rumprun stack[1], and
> basic support for Mirage OS working.
>
> Here's a screenshot for proof of the mir-console example from
> mirage-skeleton running on KVM:
>
> http://ibin.co/22cIo40lGJxN

Awesome! :)

-- 
Richard Mortier
richard.mortier@cl.cam.ac.uk

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 22 15:59:46 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 22 May 2015 15:59:46 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvpMN-0000QX-PU; Fri, 22 May 2015 15:59:43 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YvpML-0000QQ-MM
	for mirageos-devel@lists.xenproject.org; Fri, 22 May 2015 15:59:41 +0000
Received: from [85.158.137.68] by server-9.bemta-3.messagelabs.com id
	0F/2D-03028-D625F555; Fri, 22 May 2015 15:59:41 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-11.tower-31.messagelabs.com!1432310379!11777331!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.9 required=7.0 tests=BODY_RANDOM_LONG,
	MIME_QP_LONG_LINE,RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 5214 invoked from network); 22 May 2015 15:59:40 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-11.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 22 May 2015 15:59:40 -0000
Received: from [192.168.14.147] (no-dns-yet.demon.co.uk [62.49.66.12]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 49738b0d;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Fri, 22 May 2015 16:59:39 +0100 (BST)
Mime-Version: 1.0 (1.0)
From: Anil Madhavapeddy <anil@recoil.org>
X-Mailer: iPhone Mail (12F70)
In-Reply-To: <20150522153559.GA11907@nodbug.lucina.net>
Date: Fri, 22 May 2015 16:59:37 +0100
Message-Id: <ADD42BA7-7180-47E1-B8AF-15580F60B968@recoil.org>
References: <20150522153559.GA11907@nodbug.lucina.net>
To: Martin Lucina <martin@lucina.net>
Cc: Anil Madhavapeddy <avsm@recoil.org>,
	"rumpkernel-users@freelists.org" <rumpkernel-users@freelists.org>,
	Richard Mortier <mort@cantab.net>, "mirageos-devel@lists.xenproject.org"
	<mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] OCaml and Mirage now running on rumprun,
	including bare metal
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

In the spirit of "celebrate early and often", this is just amazingly quick work! I wait for a network driver port with baited breath, as then the entire TLS HTTPS server will boot on bare metal :)

Anil 


> On 22 May 2015, at 16:35, Martin Lucina <martin@lucina.net> wrote:
> 
> Hi all,
> 
> in the spirit of "announce early and often", I now have a working OCaml
> cross compiler toolchain building unikernels with the rumprun stack[1], and
> basic support for Mirage OS working.
> 
> Here's a screenshot for proof of the mir-console example from
> mirage-skeleton running on KVM:
> 
> http://ibin.co/22cIo40lGJxN
> 
> If you'd like to try this out, my OPAM repository is available here:
> 
> https://github.com/mato/opam-rumprun
> 
> Detailed instructions are in the README.md file in that repository.
> 
> Only the Mirage Clock and Console drivers are currently functional, I'll
> add more as I progress with the port.
> 
> Enjoy!
> 
> Martin
> 
> [1] http://repo.rumpkernel.org/rumprun
> 
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> 

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 22 15:59:46 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 22 May 2015 15:59:46 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvpMN-0000QX-PU; Fri, 22 May 2015 15:59:43 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YvpML-0000QQ-MM
	for mirageos-devel@lists.xenproject.org; Fri, 22 May 2015 15:59:41 +0000
Received: from [85.158.137.68] by server-9.bemta-3.messagelabs.com id
	0F/2D-03028-D625F555; Fri, 22 May 2015 15:59:41 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-11.tower-31.messagelabs.com!1432310379!11777331!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.9 required=7.0 tests=BODY_RANDOM_LONG,
	MIME_QP_LONG_LINE,RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 5214 invoked from network); 22 May 2015 15:59:40 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-11.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 22 May 2015 15:59:40 -0000
Received: from [192.168.14.147] (no-dns-yet.demon.co.uk [62.49.66.12]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 49738b0d;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Fri, 22 May 2015 16:59:39 +0100 (BST)
Mime-Version: 1.0 (1.0)
From: Anil Madhavapeddy <anil@recoil.org>
X-Mailer: iPhone Mail (12F70)
In-Reply-To: <20150522153559.GA11907@nodbug.lucina.net>
Date: Fri, 22 May 2015 16:59:37 +0100
Message-Id: <ADD42BA7-7180-47E1-B8AF-15580F60B968@recoil.org>
References: <20150522153559.GA11907@nodbug.lucina.net>
To: Martin Lucina <martin@lucina.net>
Cc: Anil Madhavapeddy <avsm@recoil.org>,
	"rumpkernel-users@freelists.org" <rumpkernel-users@freelists.org>,
	Richard Mortier <mort@cantab.net>, "mirageos-devel@lists.xenproject.org"
	<mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] OCaml and Mirage now running on rumprun,
	including bare metal
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

In the spirit of "celebrate early and often", this is just amazingly quick work! I wait for a network driver port with baited breath, as then the entire TLS HTTPS server will boot on bare metal :)

Anil 


> On 22 May 2015, at 16:35, Martin Lucina <martin@lucina.net> wrote:
> 
> Hi all,
> 
> in the spirit of "announce early and often", I now have a working OCaml
> cross compiler toolchain building unikernels with the rumprun stack[1], and
> basic support for Mirage OS working.
> 
> Here's a screenshot for proof of the mir-console example from
> mirage-skeleton running on KVM:
> 
> http://ibin.co/22cIo40lGJxN
> 
> If you'd like to try this out, my OPAM repository is available here:
> 
> https://github.com/mato/opam-rumprun
> 
> Detailed instructions are in the README.md file in that repository.
> 
> Only the Mirage Clock and Console drivers are currently functional, I'll
> add more as I progress with the port.
> 
> Enjoy!
> 
> Martin
> 
> [1] http://repo.rumpkernel.org/rumprun
> 
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> 

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 22 16:25:40 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 22 May 2015 16:25:40 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvplQ-0002DM-TQ; Fri, 22 May 2015 16:25:36 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <pooka@rumpkernel.org>) id 1YvpdJ-0001u3-PG
	for mirageos-devel@lists.xenproject.org; Fri, 22 May 2015 16:17:13 +0000
Received: from [193.109.254.147] by server-12.bemta-14.messagelabs.com id
	91/B4-02507-9865F555; Fri, 22 May 2015 16:17:13 +0000
X-Env-Sender: pooka@rumpkernel.org
X-Msg-Ref: server-8.tower-27.messagelabs.com!1432311432!20022900!1
X-Originating-IP: [130.233.192.7]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 2789 invoked from network); 22 May 2015 16:17:12 -0000
Received: from mail.cs.hut.fi (HELO mail.cs.hut.fi) (130.233.192.7)
	by server-8.tower-27.messagelabs.com with SMTP;
	22 May 2015 16:17:12 -0000
Received: from [127.0.0.1] (mannerheim.cs.hut.fi [130.233.193.8])
	by mail.cs.hut.fi (Postfix) with ESMTPS id 92CBA3081C7;
	Fri, 22 May 2015 19:17:10 +0300 (EEST)
Message-ID: <555F5685.2010909@rumpkernel.org>
Date: Fri, 22 May 2015 16:17:09 +0000
From: Antti Kantee <pooka@rumpkernel.org>
MIME-Version: 1.0
To: mirageos-devel@lists.xenproject.org, rumpkernel-users@freelists.org, 
	Anil Madhavapeddy <avsm@recoil.org>, Richard Mortier <mort@cantab.net>
References: <20150522153559.GA11907@nodbug.lucina.net>
In-Reply-To: <20150522153559.GA11907@nodbug.lucina.net>
X-Mailman-Approved-At: Fri, 22 May 2015 16:25:36 +0000
Subject: Re: [MirageOS-devel] OCaml and Mirage now running on rumprun,
	including bare metal
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 22/05/15 15:35, Martin Lucina wrote:
> Hi all,
>
> in the spirit of "announce early and often", I now have a working OCaml
> cross compiler toolchain building unikernels with the rumprun stack[1], and
> basic support for Mirage OS working.

Good show!  Supporting existing platforms and applications while 
enabling things to be done better where it matters most is a true 
realization of the rump kernel slogan "you can make an omelette without 
breaking the kitchen".

That said, can you expand on the motivations behind your work with a 
paragraph or so?  I don't recall the project being introduced at least 
on the rump kernel kernel list, and I while can guess the motivations, 
I'd rather not guess if I don't have to ;)

> Here's a screenshot for proof of the mir-console example from
> mirage-skeleton running on KVM:
>
> http://ibin.co/22cIo40lGJxN
>
> If you'd like to try this out, my OPAM repository is available here:
>
> https://github.com/mato/opam-rumprun

Is the screenshot from the "mirage on bare metal" example?

bug report for your README: I can't clone the mirage-skeleton repo using 
that url since I don't have the right creds, I need 
https://github.com/mirage/mirage-skeleton

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 22 16:25:40 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 22 May 2015 16:25:40 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvplQ-0002DM-TQ; Fri, 22 May 2015 16:25:36 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <pooka@rumpkernel.org>) id 1YvpdJ-0001u3-PG
	for mirageos-devel@lists.xenproject.org; Fri, 22 May 2015 16:17:13 +0000
Received: from [193.109.254.147] by server-12.bemta-14.messagelabs.com id
	91/B4-02507-9865F555; Fri, 22 May 2015 16:17:13 +0000
X-Env-Sender: pooka@rumpkernel.org
X-Msg-Ref: server-8.tower-27.messagelabs.com!1432311432!20022900!1
X-Originating-IP: [130.233.192.7]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 2789 invoked from network); 22 May 2015 16:17:12 -0000
Received: from mail.cs.hut.fi (HELO mail.cs.hut.fi) (130.233.192.7)
	by server-8.tower-27.messagelabs.com with SMTP;
	22 May 2015 16:17:12 -0000
Received: from [127.0.0.1] (mannerheim.cs.hut.fi [130.233.193.8])
	by mail.cs.hut.fi (Postfix) with ESMTPS id 92CBA3081C7;
	Fri, 22 May 2015 19:17:10 +0300 (EEST)
Message-ID: <555F5685.2010909@rumpkernel.org>
Date: Fri, 22 May 2015 16:17:09 +0000
From: Antti Kantee <pooka@rumpkernel.org>
MIME-Version: 1.0
To: mirageos-devel@lists.xenproject.org, rumpkernel-users@freelists.org, 
	Anil Madhavapeddy <avsm@recoil.org>, Richard Mortier <mort@cantab.net>
References: <20150522153559.GA11907@nodbug.lucina.net>
In-Reply-To: <20150522153559.GA11907@nodbug.lucina.net>
X-Mailman-Approved-At: Fri, 22 May 2015 16:25:36 +0000
Subject: Re: [MirageOS-devel] OCaml and Mirage now running on rumprun,
	including bare metal
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 22/05/15 15:35, Martin Lucina wrote:
> Hi all,
>
> in the spirit of "announce early and often", I now have a working OCaml
> cross compiler toolchain building unikernels with the rumprun stack[1], and
> basic support for Mirage OS working.

Good show!  Supporting existing platforms and applications while 
enabling things to be done better where it matters most is a true 
realization of the rump kernel slogan "you can make an omelette without 
breaking the kitchen".

That said, can you expand on the motivations behind your work with a 
paragraph or so?  I don't recall the project being introduced at least 
on the rump kernel kernel list, and I while can guess the motivations, 
I'd rather not guess if I don't have to ;)

> Here's a screenshot for proof of the mir-console example from
> mirage-skeleton running on KVM:
>
> http://ibin.co/22cIo40lGJxN
>
> If you'd like to try this out, my OPAM repository is available here:
>
> https://github.com/mato/opam-rumprun

Is the screenshot from the "mirage on bare metal" example?

bug report for your README: I can't clone the mirage-skeleton repo using 
that url since I don't have the right creds, I need 
https://github.com/mirage/mirage-skeleton

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 22 16:33:51 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 22 May 2015 16:33:51 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvptO-000390-AO; Fri, 22 May 2015 16:33:50 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <martin@lucina.net>) id 1YvptM-00038v-VO
	for mirageos-devel@lists.xenproject.org; Fri, 22 May 2015 16:33:49 +0000
Received: from [85.158.139.211] by server-11.bemta-5.messagelabs.com id
	C1/C1-02789-C6A5F555; Fri, 22 May 2015 16:33:48 +0000
X-Env-Sender: martin@lucina.net
X-Msg-Ref: server-15.tower-206.messagelabs.com!1432312427!8849259!1
X-Originating-IP: [62.176.169.44]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 6439 invoked from network); 22 May 2015 16:33:47 -0000
Received: from smtp.lucina.net (HELO smtp.lucina.net) (62.176.169.44)
	by server-15.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 22 May 2015 16:33:47 -0000
Received: from nodbug.lucina.net (chello089173222227.chello.sk
	[89.173.222.227])
	by smtp.lucina.net (Postfix) with ESMTPSA id ACCC7122811;
	Fri, 22 May 2015 18:32:50 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucina.net;
	s=dkim-201309; t=1432312370;
	bh=3G1Es3iwG0Uzg9W2CrFYqQsd2DawZKsw1/KND86W3gY=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
	b=YAfOZpkzvTovjRWgWWiolTjKv6DEmqdG11XkccAaVlCxDoTkwdpgOTlAAMRqbVnom
	zxQIVseelDvYPKiLUOJjuNn+OTqvyssmxkDkwbv0N7xdlWG8JvYVf72fKUl8YnaEe1
	dZyZk+124nfJ99dIsk+rrRvndl0im7A38KoBzIXXP2fi6SMFkstkG8GufUm+sfIdkq
	zMvLUHuKB9LQefNo7Nshvnwl7uL+/au6dmGTo1amEy5pI+qQC4y9+XSSUz6LwQfteX
	M60D6WAQaavgcjtDCnsDn0d2yMRUBhS94Hn7nsmXQ+2R4yDmxZYYcqu0Xa1KTVzz3I
	Deg50raFDD2yQ==
Received: by nodbug.lucina.net (Postfix, from userid 1000)
	id 7DE624C0E2C; Fri, 22 May 2015 18:33:57 +0200 (CEST)
Date: Fri, 22 May 2015 18:33:57 +0200
From: Martin Lucina <martin@lucina.net>
To: Antti Kantee <pooka@rumpkernel.org>
Message-ID: <20150522163357.GD11907@nodbug.lucina.net>
Mail-Followup-To: Antti Kantee <pooka@rumpkernel.org>,
	mirageos-devel@lists.xenproject.org, rumpkernel-users@freelists.org,
	Anil Madhavapeddy <avsm@recoil.org>,
	Richard Mortier <mort@cantab.net>
References: <20150522153559.GA11907@nodbug.lucina.net>
	<555F5685.2010909@rumpkernel.org>
MIME-Version: 1.0
Content-Length: 2239
Content-Disposition: inline
In-Reply-To: <555F5685.2010909@rumpkernel.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: rumpkernel-users@freelists.org, Anil Madhavapeddy <avsm@recoil.org>,
	mirageos-devel@lists.xenproject.org, Richard Mortier <mort@cantab.net>
Subject: Re: [MirageOS-devel] OCaml and Mirage now running on rumprun,
	including bare metal
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On Friday, 22.05.2015 at=A016:17, Antti Kantee wrote:
> On 22/05/15 15:35, Martin Lucina wrote:
> >Hi all,
> >
> >in the spirit of "announce early and often", I now have a working OCaml
> >cross compiler toolchain building unikernels with the rumprun stack[1], =
and
> >basic support for Mirage OS working.
> =

> Good show!  Supporting existing platforms and applications while
> enabling things to be done better where it matters most is a true
> realization of the rump kernel slogan "you can make an omelette
> without breaking the kitchen".
> =

> That said, can you expand on the motivations behind your work with a
> paragraph or so?  I don't recall the project being introduced at
> least on the rump kernel kernel list, and I while can guess the
> motivations, I'd rather not guess if I don't have to ;)

The Mirage folks have built a green-field implementation of a TCP/IP, TLS
and HTTP stack, all in memory-safe OCaml. What I'd like to get to is
being able to build systems which use the best of both worlds. For example,
have a Mirage unikernel serve TLS and/or HTTP, and talk FastCGI to a PHP
backend running on a rumprun unikernel.

The other interesting aspect is using Jitsu [1] to spawn just-in-time
unikernels on demand. This would let you have a bunch of unikernels which
are dormant and are only booted when the service they provide is actually
accessed.

Oh, and it's fun :-)

> >Here's a screenshot for proof of the mir-console example from
> >mirage-skeleton running on KVM:
> >
> >http://ibin.co/22cIo40lGJxN
> >
> >If you'd like to try this out, my OPAM repository is available here:
> >
> >https://github.com/mato/opam-rumprun
> =

> Is the screenshot from the "mirage on bare metal" example?

If you mean the example in the README, then yes.

> bug report for your README: I can't clone the mirage-skeleton repo
> using that url since I don't have the right creds, I need
> https://github.com/mirage/mirage-skeleton

Fixed, thanks, I've also fixed a couple more typos.

-mato

[1] http://anil.recoil.org/papers/2015-nsdi-jitsu.pdf

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 22 16:33:51 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 22 May 2015 16:33:51 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvptO-000390-AO; Fri, 22 May 2015 16:33:50 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <martin@lucina.net>) id 1YvptM-00038v-VO
	for mirageos-devel@lists.xenproject.org; Fri, 22 May 2015 16:33:49 +0000
Received: from [85.158.139.211] by server-11.bemta-5.messagelabs.com id
	C1/C1-02789-C6A5F555; Fri, 22 May 2015 16:33:48 +0000
X-Env-Sender: martin@lucina.net
X-Msg-Ref: server-15.tower-206.messagelabs.com!1432312427!8849259!1
X-Originating-IP: [62.176.169.44]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 6439 invoked from network); 22 May 2015 16:33:47 -0000
Received: from smtp.lucina.net (HELO smtp.lucina.net) (62.176.169.44)
	by server-15.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 22 May 2015 16:33:47 -0000
Received: from nodbug.lucina.net (chello089173222227.chello.sk
	[89.173.222.227])
	by smtp.lucina.net (Postfix) with ESMTPSA id ACCC7122811;
	Fri, 22 May 2015 18:32:50 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucina.net;
	s=dkim-201309; t=1432312370;
	bh=3G1Es3iwG0Uzg9W2CrFYqQsd2DawZKsw1/KND86W3gY=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
	b=YAfOZpkzvTovjRWgWWiolTjKv6DEmqdG11XkccAaVlCxDoTkwdpgOTlAAMRqbVnom
	zxQIVseelDvYPKiLUOJjuNn+OTqvyssmxkDkwbv0N7xdlWG8JvYVf72fKUl8YnaEe1
	dZyZk+124nfJ99dIsk+rrRvndl0im7A38KoBzIXXP2fi6SMFkstkG8GufUm+sfIdkq
	zMvLUHuKB9LQefNo7Nshvnwl7uL+/au6dmGTo1amEy5pI+qQC4y9+XSSUz6LwQfteX
	M60D6WAQaavgcjtDCnsDn0d2yMRUBhS94Hn7nsmXQ+2R4yDmxZYYcqu0Xa1KTVzz3I
	Deg50raFDD2yQ==
Received: by nodbug.lucina.net (Postfix, from userid 1000)
	id 7DE624C0E2C; Fri, 22 May 2015 18:33:57 +0200 (CEST)
Date: Fri, 22 May 2015 18:33:57 +0200
From: Martin Lucina <martin@lucina.net>
To: Antti Kantee <pooka@rumpkernel.org>
Message-ID: <20150522163357.GD11907@nodbug.lucina.net>
Mail-Followup-To: Antti Kantee <pooka@rumpkernel.org>,
	mirageos-devel@lists.xenproject.org, rumpkernel-users@freelists.org,
	Anil Madhavapeddy <avsm@recoil.org>,
	Richard Mortier <mort@cantab.net>
References: <20150522153559.GA11907@nodbug.lucina.net>
	<555F5685.2010909@rumpkernel.org>
MIME-Version: 1.0
Content-Length: 2239
Content-Disposition: inline
In-Reply-To: <555F5685.2010909@rumpkernel.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: rumpkernel-users@freelists.org, Anil Madhavapeddy <avsm@recoil.org>,
	mirageos-devel@lists.xenproject.org, Richard Mortier <mort@cantab.net>
Subject: Re: [MirageOS-devel] OCaml and Mirage now running on rumprun,
	including bare metal
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On Friday, 22.05.2015 at=A016:17, Antti Kantee wrote:
> On 22/05/15 15:35, Martin Lucina wrote:
> >Hi all,
> >
> >in the spirit of "announce early and often", I now have a working OCaml
> >cross compiler toolchain building unikernels with the rumprun stack[1], =
and
> >basic support for Mirage OS working.
> =

> Good show!  Supporting existing platforms and applications while
> enabling things to be done better where it matters most is a true
> realization of the rump kernel slogan "you can make an omelette
> without breaking the kitchen".
> =

> That said, can you expand on the motivations behind your work with a
> paragraph or so?  I don't recall the project being introduced at
> least on the rump kernel kernel list, and I while can guess the
> motivations, I'd rather not guess if I don't have to ;)

The Mirage folks have built a green-field implementation of a TCP/IP, TLS
and HTTP stack, all in memory-safe OCaml. What I'd like to get to is
being able to build systems which use the best of both worlds. For example,
have a Mirage unikernel serve TLS and/or HTTP, and talk FastCGI to a PHP
backend running on a rumprun unikernel.

The other interesting aspect is using Jitsu [1] to spawn just-in-time
unikernels on demand. This would let you have a bunch of unikernels which
are dormant and are only booted when the service they provide is actually
accessed.

Oh, and it's fun :-)

> >Here's a screenshot for proof of the mir-console example from
> >mirage-skeleton running on KVM:
> >
> >http://ibin.co/22cIo40lGJxN
> >
> >If you'd like to try this out, my OPAM repository is available here:
> >
> >https://github.com/mato/opam-rumprun
> =

> Is the screenshot from the "mirage on bare metal" example?

If you mean the example in the README, then yes.

> bug report for your README: I can't clone the mirage-skeleton repo
> using that url since I don't have the right creds, I need
> https://github.com/mirage/mirage-skeleton

Fixed, thanks, I've also fixed a couple more typos.

-mato

[1] http://anil.recoil.org/papers/2015-nsdi-jitsu.pdf

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 22 18:05:23 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 22 May 2015 18:05:23 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvrJt-0001ZY-AG; Fri, 22 May 2015 18:05:17 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <buzzheavyyear@hotmail.com>) id 1YvrJr-0001ZT-QG
	for mirageos-devel@lists.xenproject.org; Fri, 22 May 2015 18:05:15 +0000
Received: from [193.109.254.147] by server-16.bemta-14.messagelabs.com id
	0D/92-02680-BDF6F555; Fri, 22 May 2015 18:05:15 +0000
X-Env-Sender: buzzheavyyear@hotmail.com
X-Msg-Ref: server-5.tower-27.messagelabs.com!1432317914!15397006!1
X-Originating-IP: [157.55.2.10]
X-SpamReason: No, hits=1.0 required=7.0 tests=FORGED_HOTMAIL_RCVD,
	HTML_20_30,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 14596 invoked from network); 22 May 2015 18:05:14 -0000
Received: from dub004-omc3s1.hotmail.com (HELO DUB004-OMC3S1.hotmail.com)
	(157.55.2.10)
	by server-5.tower-27.messagelabs.com with AES256-SHA encrypted SMTP;
	22 May 2015 18:05:14 -0000
Received: from DUB128-W55 ([157.55.2.7]) by DUB004-OMC3S1.hotmail.com over TLS
	secured channel with Microsoft SMTPSVC(7.5.7601.22751); 
	Fri, 22 May 2015 11:05:13 -0700
X-TMN: [g4W7f6BmfWlBThr6PzQNUuJNh0zj8WeA]
X-Originating-Email: [buzzheavyyear@hotmail.com]
Message-ID: <DUB128-W55D59BB822E22E5B39C9C6B4C00@phx.gbl>
From: Nick Betteridge <buzzheavyyear@hotmail.com>
To: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Date: Fri, 22 May 2015 18:05:13 +0000
Importance: Normal
MIME-Version: 1.0
X-OriginalArrivalTime: 22 May 2015 18:05:13.0737 (UTC)
	FILETIME=[D9C80790:01D094B9]
Subject: [MirageOS-devel] cubieboard2 with two unikernels
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============9200797411424824425=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============9200797411424824425==
Content-Type: multipart/alternative;
	boundary="_5ed96619-93d6-45ad-a7d9-7caacf181ca4_"

--_5ed96619-93d6-45ad-a7d9-7caacf181ca4_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi

I've been trying to run two unikernals on the cubieboard=2C but each time I=
 try and xl create the second one=2C it always comes up with the following =
error:

sudo xl create www.xl
Parsing config from www.xl
libxl: notice: libxl_numa.c:494:libxl__get_numa_candidate: NUMA placement f=
ailed=2C performance might be affected
xc: error: panic: xc_dom_boot.c:191: xc_dom_boot_domU_map: failed to mmap d=
omU pages 0x88000+0x1 [mmap=2C errno=3D14 (Bad address)]: Internal error
libxl: error: libxl_dom.c:427:libxl__build_pv: xc_dom_build_image failed: B=
ad address
libxl: error: libxl_create.c:1022:domcreate_rebuild_done: cannot (re-)build=
 domain: -3

If I destroy the first=2C running unikernel and then reverse the order of c=
reation=2C the same error will occur again on the second create.

Does anyone have any ideas on this?

Cheers
Nick

 		 	   		  =

--_5ed96619-93d6-45ad-a7d9-7caacf181ca4_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 12pt=3B
font-family:Calibri
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>Hi<br><br>I've been trying to ru=
n two unikernals on the cubieboard=2C but each time I try and xl create the=
 second one=2C it always comes up with the following error:<br><br>sudo xl =
create www.xl<br>Parsing config from www.xl<br>libxl: notice: libxl_numa.c:=
494:libxl__get_numa_candidate: NUMA placement failed=2C performance might b=
e affected<br>xc: error: panic: xc_dom_boot.c:191: xc_dom_boot_domU_map: fa=
iled to mmap domU pages 0x88000+0x1 [mmap=2C errno=3D14 (Bad address)]: Int=
ernal error<br>libxl: error: libxl_dom.c:427:libxl__build_pv: xc_dom_build_=
image failed: Bad address<br>libxl: error: libxl_create.c:1022:domcreate_re=
build_done: cannot (re-)build domain: -3<br><br>If I destroy the first=2C r=
unning unikernel and then reverse the order of creation=2C the same error w=
ill occur again on the second create.<br><br>Does anyone have any ideas on =
this?<br><br>Cheers<br>Nick<br><br> 		 	   		  </div></body>
</html>=

--_5ed96619-93d6-45ad-a7d9-7caacf181ca4_--


--===============9200797411424824425==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============9200797411424824425==--


From mirageos-devel-bounces@lists.xenproject.org Fri May 22 18:05:23 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 22 May 2015 18:05:23 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvrJt-0001ZY-AG; Fri, 22 May 2015 18:05:17 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <buzzheavyyear@hotmail.com>) id 1YvrJr-0001ZT-QG
	for mirageos-devel@lists.xenproject.org; Fri, 22 May 2015 18:05:15 +0000
Received: from [193.109.254.147] by server-16.bemta-14.messagelabs.com id
	0D/92-02680-BDF6F555; Fri, 22 May 2015 18:05:15 +0000
X-Env-Sender: buzzheavyyear@hotmail.com
X-Msg-Ref: server-5.tower-27.messagelabs.com!1432317914!15397006!1
X-Originating-IP: [157.55.2.10]
X-SpamReason: No, hits=1.0 required=7.0 tests=FORGED_HOTMAIL_RCVD,
	HTML_20_30,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 14596 invoked from network); 22 May 2015 18:05:14 -0000
Received: from dub004-omc3s1.hotmail.com (HELO DUB004-OMC3S1.hotmail.com)
	(157.55.2.10)
	by server-5.tower-27.messagelabs.com with AES256-SHA encrypted SMTP;
	22 May 2015 18:05:14 -0000
Received: from DUB128-W55 ([157.55.2.7]) by DUB004-OMC3S1.hotmail.com over TLS
	secured channel with Microsoft SMTPSVC(7.5.7601.22751); 
	Fri, 22 May 2015 11:05:13 -0700
X-TMN: [g4W7f6BmfWlBThr6PzQNUuJNh0zj8WeA]
X-Originating-Email: [buzzheavyyear@hotmail.com]
Message-ID: <DUB128-W55D59BB822E22E5B39C9C6B4C00@phx.gbl>
From: Nick Betteridge <buzzheavyyear@hotmail.com>
To: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Date: Fri, 22 May 2015 18:05:13 +0000
Importance: Normal
MIME-Version: 1.0
X-OriginalArrivalTime: 22 May 2015 18:05:13.0737 (UTC)
	FILETIME=[D9C80790:01D094B9]
Subject: [MirageOS-devel] cubieboard2 with two unikernels
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============9200797411424824425=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============9200797411424824425==
Content-Type: multipart/alternative;
	boundary="_5ed96619-93d6-45ad-a7d9-7caacf181ca4_"

--_5ed96619-93d6-45ad-a7d9-7caacf181ca4_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi

I've been trying to run two unikernals on the cubieboard=2C but each time I=
 try and xl create the second one=2C it always comes up with the following =
error:

sudo xl create www.xl
Parsing config from www.xl
libxl: notice: libxl_numa.c:494:libxl__get_numa_candidate: NUMA placement f=
ailed=2C performance might be affected
xc: error: panic: xc_dom_boot.c:191: xc_dom_boot_domU_map: failed to mmap d=
omU pages 0x88000+0x1 [mmap=2C errno=3D14 (Bad address)]: Internal error
libxl: error: libxl_dom.c:427:libxl__build_pv: xc_dom_build_image failed: B=
ad address
libxl: error: libxl_create.c:1022:domcreate_rebuild_done: cannot (re-)build=
 domain: -3

If I destroy the first=2C running unikernel and then reverse the order of c=
reation=2C the same error will occur again on the second create.

Does anyone have any ideas on this?

Cheers
Nick

 		 	   		  =

--_5ed96619-93d6-45ad-a7d9-7caacf181ca4_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 12pt=3B
font-family:Calibri
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>Hi<br><br>I've been trying to ru=
n two unikernals on the cubieboard=2C but each time I try and xl create the=
 second one=2C it always comes up with the following error:<br><br>sudo xl =
create www.xl<br>Parsing config from www.xl<br>libxl: notice: libxl_numa.c:=
494:libxl__get_numa_candidate: NUMA placement failed=2C performance might b=
e affected<br>xc: error: panic: xc_dom_boot.c:191: xc_dom_boot_domU_map: fa=
iled to mmap domU pages 0x88000+0x1 [mmap=2C errno=3D14 (Bad address)]: Int=
ernal error<br>libxl: error: libxl_dom.c:427:libxl__build_pv: xc_dom_build_=
image failed: Bad address<br>libxl: error: libxl_create.c:1022:domcreate_re=
build_done: cannot (re-)build domain: -3<br><br>If I destroy the first=2C r=
unning unikernel and then reverse the order of creation=2C the same error w=
ill occur again on the second create.<br><br>Does anyone have any ideas on =
this?<br><br>Cheers<br>Nick<br><br> 		 	   		  </div></body>
</html>=

--_5ed96619-93d6-45ad-a7d9-7caacf181ca4_--


--===============9200797411424824425==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============9200797411424824425==--


From mirageos-devel-bounces@lists.xenproject.org Fri May 22 18:17:56 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 22 May 2015 18:17:56 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvrW5-0002t9-Ei; Fri, 22 May 2015 18:17:53 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1YvrW4-0002t4-N5
	for mirageos-devel@lists.xenproject.org; Fri, 22 May 2015 18:17:52 +0000
Received: from [193.109.254.147] by server-9.bemta-14.messagelabs.com id
	A2/DD-02790-0D27F555; Fri, 22 May 2015 18:17:52 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-15.tower-27.messagelabs.com!1432318670!20035284!1
X-Originating-IP: [209.85.215.51]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 12411 invoked from network); 22 May 2015 18:17:51 -0000
Received: from mail-la0-f51.google.com (HELO mail-la0-f51.google.com)
	(209.85.215.51)
	by server-15.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	22 May 2015 18:17:51 -0000
Received: by lagv1 with SMTP id v1so17964538lag.3
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 22 May 2015 11:17:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=Epqn45S3OHR2tjvzMuYyAUl8DogKOMsUZ1R6vDrpfog=;
	b=dH2PvJCkNrWGqsh5kjWP0ltS8jcpFwQ4rpBeTdJvIur3MlK6MK/8YLe6z1pYPBFp9F
	AjbqZwCyghVjPsiTtwnmTpZlfpow4cWT9QY2DtmhOCASjNTKNEkQuOPk0BpBXPzqzwVX
	H2gwELu8XTZ3WaU7/LaBfEwUrS/eH03T3lLBlyta8OsH1aL1d5zhX4HiDD5mMP3z+TGu
	VaKniuIcGSVEZw85RU7iToh/9uJX8u4Twbm1ksKNilZ275tweD+dcKenc8RXEDBozeMY
	Y176TewmgTo/heCEfUdU4dzEL4eV7Q0OMzOx1lS0J0RwnRA0q1Yt+4WERJc76rys+fEb
	KnWg==
MIME-Version: 1.0
X-Received: by 10.112.16.167 with SMTP id h7mr7563362lbd.124.1432318670407;
	Fri, 22 May 2015 11:17:50 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Fri, 22 May 2015 11:17:50 -0700 (PDT)
In-Reply-To: <DUB128-W55D59BB822E22E5B39C9C6B4C00@phx.gbl>
References: <DUB128-W55D59BB822E22E5B39C9C6B4C00@phx.gbl>
Date: Fri, 22 May 2015 19:17:50 +0100
Message-ID: <CAG4opy9OJ1LfLycPPjuUWNj=4FyY-0FnzBH1V+4V26FAsXpzkQ@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Nick Betteridge <buzzheavyyear@hotmail.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] cubieboard2 with two unikernels
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 22 May 2015 at 19:05, Nick Betteridge <buzzheavyyear@hotmail.com> wrote:
> Hi
>
> I've been trying to run two unikernals on the cubieboard, but each time I
> try and xl create the second one, it always comes up with the following
> error:
>
> sudo xl create www.xl
> Parsing config from www.xl
> libxl: notice: libxl_numa.c:494:libxl__get_numa_candidate: NUMA placement
> failed, performance might be affected
> xc: error: panic: xc_dom_boot.c:191: xc_dom_boot_domU_map: failed to mmap
> domU pages 0x88000+0x1 [mmap, errno=14 (Bad address)]: Internal error
> libxl: error: libxl_dom.c:427:libxl__build_pv: xc_dom_build_image failed:
> Bad address
> libxl: error: libxl_create.c:1022:domcreate_rebuild_done: cannot (re-)build
> domain: -3
>
> If I destroy the first, running unikernel and then reverse the order of
> creation, the same error will occur again on the second create.
>
> Does anyone have any ideas on this?

Do you have enough free RAM to run both at once? Try reducing the
memory in the .xl file for one of the unikernels...


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 22 18:17:56 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 22 May 2015 18:17:56 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YvrW5-0002t9-Ei; Fri, 22 May 2015 18:17:53 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1YvrW4-0002t4-N5
	for mirageos-devel@lists.xenproject.org; Fri, 22 May 2015 18:17:52 +0000
Received: from [193.109.254.147] by server-9.bemta-14.messagelabs.com id
	A2/DD-02790-0D27F555; Fri, 22 May 2015 18:17:52 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-15.tower-27.messagelabs.com!1432318670!20035284!1
X-Originating-IP: [209.85.215.51]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 12411 invoked from network); 22 May 2015 18:17:51 -0000
Received: from mail-la0-f51.google.com (HELO mail-la0-f51.google.com)
	(209.85.215.51)
	by server-15.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	22 May 2015 18:17:51 -0000
Received: by lagv1 with SMTP id v1so17964538lag.3
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 22 May 2015 11:17:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=Epqn45S3OHR2tjvzMuYyAUl8DogKOMsUZ1R6vDrpfog=;
	b=dH2PvJCkNrWGqsh5kjWP0ltS8jcpFwQ4rpBeTdJvIur3MlK6MK/8YLe6z1pYPBFp9F
	AjbqZwCyghVjPsiTtwnmTpZlfpow4cWT9QY2DtmhOCASjNTKNEkQuOPk0BpBXPzqzwVX
	H2gwELu8XTZ3WaU7/LaBfEwUrS/eH03T3lLBlyta8OsH1aL1d5zhX4HiDD5mMP3z+TGu
	VaKniuIcGSVEZw85RU7iToh/9uJX8u4Twbm1ksKNilZ275tweD+dcKenc8RXEDBozeMY
	Y176TewmgTo/heCEfUdU4dzEL4eV7Q0OMzOx1lS0J0RwnRA0q1Yt+4WERJc76rys+fEb
	KnWg==
MIME-Version: 1.0
X-Received: by 10.112.16.167 with SMTP id h7mr7563362lbd.124.1432318670407;
	Fri, 22 May 2015 11:17:50 -0700 (PDT)
Received: by 10.25.207.148 with HTTP; Fri, 22 May 2015 11:17:50 -0700 (PDT)
In-Reply-To: <DUB128-W55D59BB822E22E5B39C9C6B4C00@phx.gbl>
References: <DUB128-W55D59BB822E22E5B39C9C6B4C00@phx.gbl>
Date: Fri, 22 May 2015 19:17:50 +0100
Message-ID: <CAG4opy9OJ1LfLycPPjuUWNj=4FyY-0FnzBH1V+4V26FAsXpzkQ@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Nick Betteridge <buzzheavyyear@hotmail.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] cubieboard2 with two unikernels
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 22 May 2015 at 19:05, Nick Betteridge <buzzheavyyear@hotmail.com> wrote:
> Hi
>
> I've been trying to run two unikernals on the cubieboard, but each time I
> try and xl create the second one, it always comes up with the following
> error:
>
> sudo xl create www.xl
> Parsing config from www.xl
> libxl: notice: libxl_numa.c:494:libxl__get_numa_candidate: NUMA placement
> failed, performance might be affected
> xc: error: panic: xc_dom_boot.c:191: xc_dom_boot_domU_map: failed to mmap
> domU pages 0x88000+0x1 [mmap, errno=14 (Bad address)]: Internal error
> libxl: error: libxl_dom.c:427:libxl__build_pv: xc_dom_build_image failed:
> Bad address
> libxl: error: libxl_create.c:1022:domcreate_rebuild_done: cannot (re-)build
> domain: -3
>
> If I destroy the first, running unikernel and then reverse the order of
> creation, the same error will occur again on the second create.
>
> Does anyone have any ideas on this?

Do you have enough free RAM to run both at once? Try reducing the
memory in the .xl file for one of the unikernels...


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat May 23 16:27:15 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 23 May 2015 16:27:15 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YwCGP-0003YR-Dt; Sat, 23 May 2015 16:27:05 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <matthew.thomas.gray@gmail.com>) id 1YwCGO-0003YM-4N
	for mirageos-devel@lists.xenproject.org; Sat, 23 May 2015 16:27:04 +0000
Received: from [85.158.139.211] by server-8.bemta-5.messagelabs.com id
	BF/63-03747-75AA0655; Sat, 23 May 2015 16:27:03 +0000
X-Env-Sender: matthew.thomas.gray@gmail.com
X-Msg-Ref: server-4.tower-206.messagelabs.com!1432398422!12339747!1
X-Originating-IP: [209.85.212.173]
X-SpamReason: No, hits=0.9 required=7.0 tests=HTML_40_50,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 22120 invoked from network); 23 May 2015 16:27:02 -0000
Received: from mail-wi0-f173.google.com (HELO mail-wi0-f173.google.com)
	(209.85.212.173)
	by server-4.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	23 May 2015 16:27:02 -0000
Received: by wibt6 with SMTP id t6so14673858wib.0
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 23 May 2015 09:27:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=TWqRRnS4LbAwt/9EN/vzasrcjOarJdn/n1Gu+KhCGcc=;
	b=yoxkb42jP7JK0Ivxvx35ynfaidI3Ps2NTr2/eJW2WVCysBuk9J05ZQVUUgqfRKb4h6
	2jTm1OVnci1iLmcbWOe9CGNm0iQbXqXkGh1Q1Ni67pXlvaf8GxsWmmhBhu8sAbnZogOz
	AOWVBzBoqWdAPwmd5bvI9f5xpa8mbQFv9AlaMZW3yvo7jr/ffHAIFT6zW6wN6D8YL0+K
	L3I6aadyhhTULA05pu0MZOlaAUun68Kv73rooQSeX1mtJ5vaTzVKuZBkOlPUDC2cFMUb
	7YnhwGFj1Nd0qOOljn+6nf2lV89TtcKEWsY5bek3fSXPK0qlaeD0pEunmnQfL+pO34u8
	WVdg==
MIME-Version: 1.0
X-Received: by 10.194.178.227 with SMTP id db3mr24459262wjc.82.1432398421817; 
	Sat, 23 May 2015 09:27:01 -0700 (PDT)
Received: by 10.27.86.215 with HTTP; Sat, 23 May 2015 09:27:01 -0700 (PDT)
In-Reply-To: <EB4EDF3F-23AB-4EBA-9215-EE68862A8F08@recoil.org>
References: <CAMcK7jrBKKj3=iASmjPr36QnX0mzQHD5mtYf_U2vgSbT+Ly_mQ@mail.gmail.com>
	<EB4EDF3F-23AB-4EBA-9215-EE68862A8F08@recoil.org>
Date: Sat, 23 May 2015 17:27:01 +0100
Message-ID: <CAMcK7jpkEo28-pL1UzbjFPz5nvB0iN-CTPXeYt8L30-wFL2JMA@mail.gmail.com>
From: Matthew Gray <matthew.thomas.gray@gmail.com>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Talking about MirageOS at Devs in the Ditch,
	May 21st
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0550974738418897702=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============0550974738418897702==
Content-Type: multipart/alternative; boundary=089e013cc5181bfde60516c23f26

--089e013cc5181bfde60516c23f26
Content-Type: text/plain; charset=UTF-8

I've put the slides for this online here:
https://github.com/mattgray/devsintheditch-unikernel-talk

They are also hosted on github pages here -
http://mattgray.github.io/devsintheditch-unikernel-talk/

I'm going to get them up and running as a mirage-seal (or otherwise Mirage
OS) website somewhere soon as well, and write about how that went.

Nice to meet a some of you on Thursday!

Matt

On Thu, Apr 23, 2015 at 2:43 PM, Anil Madhavapeddy <anil@recoil.org> wrote:

> I'm really looking forward to this!  Of course, feel most free to ask
> questions on the list as usual with any blockers along the way...
>
> -anil
>
> On 23 Apr 2015, at 13:19, Matthew Gray <matthew.thomas.gray@gmail.com>
> wrote:
>
> Hello all,
>
> Just a heads up that I am going to be talking about unikernels and
> MirageOS a bit at Devs in the Ditch, which is a tech meetup run by 7digital
> (my employer)
>
> The event page is here:
> http://www.meetup.com/devs-in-the-ditch/events/221972483/ , I can see a
> few familiar names from this list have already signed up.
>
> My talk is going to be quite high-level, and focus on my experiences and
> motivations for wanting to learn about MirageOS, as well as showing off
> various cool projects (Jitsu springs to mind) that will hopefully
> encourages others to explore MirageOS. Anyway, I hope this is an acceptable
> topic for a beginner like me to talk about! If it's OK, I might run a few
> of the slides (*) past the list. Looking forward to meeting some of you on
> the 21st.
>
> thanks,
>
> Matt
>
> (*) which hopefully will be hosted using Mirage!
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>
>
>

--089e013cc5181bfde60516c23f26
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I&#39;ve put the slides for this online here:=C2=A0<a=
 href=3D"https://github.com/mattgray/devsintheditch-unikernel-talk">https:/=
/github.com/mattgray/devsintheditch-unikernel-talk</a></div><div><br></div>=
<div>They are also hosted on github pages here -=C2=A0<a href=3D"http://mat=
tgray.github.io/devsintheditch-unikernel-talk/">http://mattgray.github.io/d=
evsintheditch-unikernel-talk/</a></div><div><br></div><div>I&#39;m going to=
 get them up and running as a mirage-seal (or otherwise Mirage OS) website =
somewhere soon as well, and write about how that went.</div><div><br></div>=
<div>Nice to meet a some of you on Thursday!=C2=A0</div><div><br></div><div=
>Matt</div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">=
On Thu, Apr 23, 2015 at 2:43 PM, Anil Madhavapeddy <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:anil@recoil.org" target=3D"_blank">anil@recoil.org</a>&gt;<=
/span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex"><div style=3D"word-wrap:bre=
ak-word">I&#39;m really looking forward to this!=C2=A0 Of course, feel most=
 free to ask questions on the list as usual with any blockers along the way=
...<div><br></div><div>-anil</div><div><br><div><blockquote type=3D"cite"><=
div><div class=3D"h5"><div>On 23 Apr 2015, at 13:19, Matthew Gray &lt;<a hr=
ef=3D"mailto:matthew.thomas.gray@gmail.com" target=3D"_blank">matthew.thoma=
s.gray@gmail.com</a>&gt; wrote:</div><br></div></div><div><div><div class=
=3D"h5"><div dir=3D"ltr">Hello all,<div><br></div><div>Just a heads up that=
 I am going to be talking about unikernels and MirageOS a bit at Devs in th=
e Ditch, which is a tech meetup run by 7digital (my employer)</div><div><br=
></div><div>The event page is here:=C2=A0<a href=3D"http://www.meetup.com/d=
evs-in-the-ditch/events/221972483/" target=3D"_blank">http://www.meetup.com=
/devs-in-the-ditch/events/221972483/</a> , I can see a few familiar names f=
rom this list have already signed up.</div><div><br></div><div>My talk is g=
oing to be quite high-level, and focus on my experiences and motivations fo=
r wanting to learn about MirageOS, as well as showing off various cool proj=
ects (Jitsu springs to mind) that will hopefully encourages others to explo=
re MirageOS. Anyway, I hope this is an acceptable topic for a beginner like=
 me to talk about! If it&#39;s OK, I might run a few of the slides (*) past=
 the list. Looking forward to meeting some of you on the 21st.</div><div><b=
r></div><div>thanks,</div><div><br></div><div>Matt</div><div><br></div><div=
>(*) which hopefully will be hosted using Mirage!</div><div><br></div></div=
></div></div>
_______________________________________________<br>MirageOS-devel mailing l=
ist<br><a href=3D"mailto:MirageOS-devel@lists.xenproject.org" target=3D"_bl=
ank">MirageOS-devel@lists.xenproject.org</a><br><a href=3D"http://lists.xen=
project.org/cgi-bin/mailman/listinfo/mirageos-devel" target=3D"_blank">http=
://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel</a><br></di=
v></blockquote></div><br></div></div></blockquote></div><br></div>

--089e013cc5181bfde60516c23f26--


--===============0550974738418897702==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============0550974738418897702==--


From mirageos-devel-bounces@lists.xenproject.org Sat May 23 16:27:15 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 23 May 2015 16:27:15 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YwCGP-0003YR-Dt; Sat, 23 May 2015 16:27:05 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <matthew.thomas.gray@gmail.com>) id 1YwCGO-0003YM-4N
	for mirageos-devel@lists.xenproject.org; Sat, 23 May 2015 16:27:04 +0000
Received: from [85.158.139.211] by server-8.bemta-5.messagelabs.com id
	BF/63-03747-75AA0655; Sat, 23 May 2015 16:27:03 +0000
X-Env-Sender: matthew.thomas.gray@gmail.com
X-Msg-Ref: server-4.tower-206.messagelabs.com!1432398422!12339747!1
X-Originating-IP: [209.85.212.173]
X-SpamReason: No, hits=0.9 required=7.0 tests=HTML_40_50,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 22120 invoked from network); 23 May 2015 16:27:02 -0000
Received: from mail-wi0-f173.google.com (HELO mail-wi0-f173.google.com)
	(209.85.212.173)
	by server-4.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	23 May 2015 16:27:02 -0000
Received: by wibt6 with SMTP id t6so14673858wib.0
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 23 May 2015 09:27:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=TWqRRnS4LbAwt/9EN/vzasrcjOarJdn/n1Gu+KhCGcc=;
	b=yoxkb42jP7JK0Ivxvx35ynfaidI3Ps2NTr2/eJW2WVCysBuk9J05ZQVUUgqfRKb4h6
	2jTm1OVnci1iLmcbWOe9CGNm0iQbXqXkGh1Q1Ni67pXlvaf8GxsWmmhBhu8sAbnZogOz
	AOWVBzBoqWdAPwmd5bvI9f5xpa8mbQFv9AlaMZW3yvo7jr/ffHAIFT6zW6wN6D8YL0+K
	L3I6aadyhhTULA05pu0MZOlaAUun68Kv73rooQSeX1mtJ5vaTzVKuZBkOlPUDC2cFMUb
	7YnhwGFj1Nd0qOOljn+6nf2lV89TtcKEWsY5bek3fSXPK0qlaeD0pEunmnQfL+pO34u8
	WVdg==
MIME-Version: 1.0
X-Received: by 10.194.178.227 with SMTP id db3mr24459262wjc.82.1432398421817; 
	Sat, 23 May 2015 09:27:01 -0700 (PDT)
Received: by 10.27.86.215 with HTTP; Sat, 23 May 2015 09:27:01 -0700 (PDT)
In-Reply-To: <EB4EDF3F-23AB-4EBA-9215-EE68862A8F08@recoil.org>
References: <CAMcK7jrBKKj3=iASmjPr36QnX0mzQHD5mtYf_U2vgSbT+Ly_mQ@mail.gmail.com>
	<EB4EDF3F-23AB-4EBA-9215-EE68862A8F08@recoil.org>
Date: Sat, 23 May 2015 17:27:01 +0100
Message-ID: <CAMcK7jpkEo28-pL1UzbjFPz5nvB0iN-CTPXeYt8L30-wFL2JMA@mail.gmail.com>
From: Matthew Gray <matthew.thomas.gray@gmail.com>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Talking about MirageOS at Devs in the Ditch,
	May 21st
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0550974738418897702=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============0550974738418897702==
Content-Type: multipart/alternative; boundary=089e013cc5181bfde60516c23f26

--089e013cc5181bfde60516c23f26
Content-Type: text/plain; charset=UTF-8

I've put the slides for this online here:
https://github.com/mattgray/devsintheditch-unikernel-talk

They are also hosted on github pages here -
http://mattgray.github.io/devsintheditch-unikernel-talk/

I'm going to get them up and running as a mirage-seal (or otherwise Mirage
OS) website somewhere soon as well, and write about how that went.

Nice to meet a some of you on Thursday!

Matt

On Thu, Apr 23, 2015 at 2:43 PM, Anil Madhavapeddy <anil@recoil.org> wrote:

> I'm really looking forward to this!  Of course, feel most free to ask
> questions on the list as usual with any blockers along the way...
>
> -anil
>
> On 23 Apr 2015, at 13:19, Matthew Gray <matthew.thomas.gray@gmail.com>
> wrote:
>
> Hello all,
>
> Just a heads up that I am going to be talking about unikernels and
> MirageOS a bit at Devs in the Ditch, which is a tech meetup run by 7digital
> (my employer)
>
> The event page is here:
> http://www.meetup.com/devs-in-the-ditch/events/221972483/ , I can see a
> few familiar names from this list have already signed up.
>
> My talk is going to be quite high-level, and focus on my experiences and
> motivations for wanting to learn about MirageOS, as well as showing off
> various cool projects (Jitsu springs to mind) that will hopefully
> encourages others to explore MirageOS. Anyway, I hope this is an acceptable
> topic for a beginner like me to talk about! If it's OK, I might run a few
> of the slides (*) past the list. Looking forward to meeting some of you on
> the 21st.
>
> thanks,
>
> Matt
>
> (*) which hopefully will be hosted using Mirage!
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>
>
>

--089e013cc5181bfde60516c23f26
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I&#39;ve put the slides for this online here:=C2=A0<a=
 href=3D"https://github.com/mattgray/devsintheditch-unikernel-talk">https:/=
/github.com/mattgray/devsintheditch-unikernel-talk</a></div><div><br></div>=
<div>They are also hosted on github pages here -=C2=A0<a href=3D"http://mat=
tgray.github.io/devsintheditch-unikernel-talk/">http://mattgray.github.io/d=
evsintheditch-unikernel-talk/</a></div><div><br></div><div>I&#39;m going to=
 get them up and running as a mirage-seal (or otherwise Mirage OS) website =
somewhere soon as well, and write about how that went.</div><div><br></div>=
<div>Nice to meet a some of you on Thursday!=C2=A0</div><div><br></div><div=
>Matt</div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">=
On Thu, Apr 23, 2015 at 2:43 PM, Anil Madhavapeddy <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:anil@recoil.org" target=3D"_blank">anil@recoil.org</a>&gt;<=
/span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex"><div style=3D"word-wrap:bre=
ak-word">I&#39;m really looking forward to this!=C2=A0 Of course, feel most=
 free to ask questions on the list as usual with any blockers along the way=
...<div><br></div><div>-anil</div><div><br><div><blockquote type=3D"cite"><=
div><div class=3D"h5"><div>On 23 Apr 2015, at 13:19, Matthew Gray &lt;<a hr=
ef=3D"mailto:matthew.thomas.gray@gmail.com" target=3D"_blank">matthew.thoma=
s.gray@gmail.com</a>&gt; wrote:</div><br></div></div><div><div><div class=
=3D"h5"><div dir=3D"ltr">Hello all,<div><br></div><div>Just a heads up that=
 I am going to be talking about unikernels and MirageOS a bit at Devs in th=
e Ditch, which is a tech meetup run by 7digital (my employer)</div><div><br=
></div><div>The event page is here:=C2=A0<a href=3D"http://www.meetup.com/d=
evs-in-the-ditch/events/221972483/" target=3D"_blank">http://www.meetup.com=
/devs-in-the-ditch/events/221972483/</a> , I can see a few familiar names f=
rom this list have already signed up.</div><div><br></div><div>My talk is g=
oing to be quite high-level, and focus on my experiences and motivations fo=
r wanting to learn about MirageOS, as well as showing off various cool proj=
ects (Jitsu springs to mind) that will hopefully encourages others to explo=
re MirageOS. Anyway, I hope this is an acceptable topic for a beginner like=
 me to talk about! If it&#39;s OK, I might run a few of the slides (*) past=
 the list. Looking forward to meeting some of you on the 21st.</div><div><b=
r></div><div>thanks,</div><div><br></div><div>Matt</div><div><br></div><div=
>(*) which hopefully will be hosted using Mirage!</div><div><br></div></div=
></div></div>
_______________________________________________<br>MirageOS-devel mailing l=
ist<br><a href=3D"mailto:MirageOS-devel@lists.xenproject.org" target=3D"_bl=
ank">MirageOS-devel@lists.xenproject.org</a><br><a href=3D"http://lists.xen=
project.org/cgi-bin/mailman/listinfo/mirageos-devel" target=3D"_blank">http=
://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel</a><br></di=
v></blockquote></div><br></div></div></blockquote></div><br></div>

--089e013cc5181bfde60516c23f26--


--===============0550974738418897702==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============0550974738418897702==--


From mirageos-devel-bounces@lists.xenproject.org Sun May 24 16:32:18 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 24 May 2015 16:32:18 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YwYor-0006If-IR; Sun, 24 May 2015 16:32:09 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YwYoq-0006Ia-6q
	for mirageos-devel@lists.xenproject.org; Sun, 24 May 2015 16:32:08 +0000
Received: from [193.109.254.147] by server-7.bemta-14.messagelabs.com id
	8C/10-03202-70DF1655; Sun, 24 May 2015 16:32:07 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-10.tower-27.messagelabs.com!1432485125!20345753!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.3 required=7.0 tests=HTML_50_60,HTML_MESSAGE,
	RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 11031 invoked from network); 24 May 2015 16:32:05 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-10.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 24 May 2015 16:32:05 -0000
Received: from [10.200.1.187] (athedsl-4517800.home.otenet.gr [94.71.219.176]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id a3f8e027;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Sun, 24 May 2015 17:32:04 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAMcK7jpkEo28-pL1UzbjFPz5nvB0iN-CTPXeYt8L30-wFL2JMA@mail.gmail.com>
Date: Sun, 24 May 2015 17:32:05 +0100
Message-Id: <91F99BE0-436E-42C7-B3DC-D6D29E32B785@recoil.org>
References: <CAMcK7jrBKKj3=iASmjPr36QnX0mzQHD5mtYf_U2vgSbT+Ly_mQ@mail.gmail.com>
	<EB4EDF3F-23AB-4EBA-9215-EE68862A8F08@recoil.org>
	<CAMcK7jpkEo28-pL1UzbjFPz5nvB0iN-CTPXeYt8L30-wFL2JMA@mail.gmail.com>
To: Matthew Gray <matthew.thomas.gray@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Talking about MirageOS at Devs in the Ditch,
	May 21st
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============7046464070775501568=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============7046464070775501568==
Content-Type: multipart/alternative; boundary="Apple-Mail=_821B3DFB-5963-4A46-832A-7AC2AD8B60B6"


--Apple-Mail=_821B3DFB-5963-4A46-832A-7AC2AD8B60B6
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Thanks for arranging the talk, it was great fun!  The next thing on my =
list is to pick out one set of EC2 bindings so that we have an easy way =
to upload the unikernels to a hosting provider, which should make trying =
it out much easier for beginners in combination with mirage-seal.

cheers,
Anil
=20
> On 23 May 2015, at 17:27, Matthew Gray <matthew.thomas.gray@gmail.com> =
wrote:
>=20
> I've put the slides for this online here: =
https://github.com/mattgray/devsintheditch-unikernel-talk =
<https://github.com/mattgray/devsintheditch-unikernel-talk>
>=20
> They are also hosted on github pages here - =
http://mattgray.github.io/devsintheditch-unikernel-talk/ =
<http://mattgray.github.io/devsintheditch-unikernel-talk/>
>=20
> I'm going to get them up and running as a mirage-seal (or otherwise =
Mirage OS) website somewhere soon as well, and write about how that =
went.
>=20
> Nice to meet a some of you on Thursday!=20
>=20
> Matt
>=20
> On Thu, Apr 23, 2015 at 2:43 PM, Anil Madhavapeddy <anil@recoil.org =
<mailto:anil@recoil.org>> wrote:
> I'm really looking forward to this!  Of course, feel most free to ask =
questions on the list as usual with any blockers along the way...
>=20
> -anil
>=20
>> On 23 Apr 2015, at 13:19, Matthew Gray <matthew.thomas.gray@gmail.com =
<mailto:matthew.thomas.gray@gmail.com>> wrote:
>>=20
>> Hello all,
>>=20
>> Just a heads up that I am going to be talking about unikernels and =
MirageOS a bit at Devs in the Ditch, which is a tech meetup run by =
7digital (my employer)
>>=20
>> The event page is here: =
http://www.meetup.com/devs-in-the-ditch/events/221972483/ =
<http://www.meetup.com/devs-in-the-ditch/events/221972483/> , I can see =
a few familiar names from this list have already signed up.
>>=20
>> My talk is going to be quite high-level, and focus on my experiences =
and motivations for wanting to learn about MirageOS, as well as showing =
off various cool projects (Jitsu springs to mind) that will hopefully =
encourages others to explore MirageOS. Anyway, I hope this is an =
acceptable topic for a beginner like me to talk about! If it's OK, I =
might run a few of the slides (*) past the list. Looking forward to =
meeting some of you on the 21st.
>>=20
>> thanks,
>>=20
>> Matt
>>=20
>> (*) which hopefully will be hosted using Mirage!
>>=20
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org =
<mailto:MirageOS-devel@lists.xenproject.org>
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel =
<http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>
>=20
>=20
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


--Apple-Mail=_821B3DFB-5963-4A46-832A-7AC2AD8B60B6
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Thanks for arranging the talk, it was great fun! &nbsp;The =
next thing on my list is to pick out one set of EC2 bindings so that we =
have an easy way to upload the unikernels to a hosting provider, which =
should make trying it out much easier for beginners in combination with =
mirage-seal.<div class=3D""><br class=3D""></div><div =
class=3D"">cheers,</div><div class=3D"">Anil<br class=3D""><div =
class=3D"">&nbsp;<br class=3D""><div><blockquote type=3D"cite" =
class=3D""><div class=3D"">On 23 May 2015, at 17:27, Matthew Gray &lt;<a =
href=3D"mailto:matthew.thomas.gray@gmail.com" =
class=3D"">matthew.thomas.gray@gmail.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" =
class=3D""><div class=3D"">I've put the slides for this online =
here:&nbsp;<a =
href=3D"https://github.com/mattgray/devsintheditch-unikernel-talk" =
class=3D"">https://github.com/mattgray/devsintheditch-unikernel-talk</a></=
div><div class=3D""><br class=3D""></div><div class=3D"">They are also =
hosted on github pages here -&nbsp;<a =
href=3D"http://mattgray.github.io/devsintheditch-unikernel-talk/" =
class=3D"">http://mattgray.github.io/devsintheditch-unikernel-talk/</a></d=
iv><div class=3D""><br class=3D""></div><div class=3D"">I'm going to get =
them up and running as a mirage-seal (or otherwise Mirage OS) website =
somewhere soon as well, and write about how that went.</div><div =
class=3D""><br class=3D""></div><div class=3D"">Nice to meet a some of =
you on Thursday!&nbsp;</div><div class=3D""><br class=3D""></div><div =
class=3D"">Matt</div></div><div class=3D"gmail_extra"><br class=3D""><div =
class=3D"gmail_quote">On Thu, Apr 23, 2015 at 2:43 PM, Anil Madhavapeddy =
<span dir=3D"ltr" class=3D"">&lt;<a href=3D"mailto:anil@recoil.org" =
target=3D"_blank" class=3D"">anil@recoil.org</a>&gt;</span> wrote:<br =
class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div =
style=3D"word-wrap:break-word" class=3D"">I'm really looking forward to =
this!&nbsp; Of course, feel most free to ask questions on the list as =
usual with any blockers along the way...<div class=3D""><br =
class=3D""></div><div class=3D"">-anil</div><div class=3D""><br =
class=3D""><div class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D""><div class=3D"h5"><div class=3D"">On 23 Apr 2015, at 13:19, =
Matthew Gray &lt;<a href=3D"mailto:matthew.thomas.gray@gmail.com" =
target=3D"_blank" class=3D"">matthew.thomas.gray@gmail.com</a>&gt; =
wrote:</div><br class=3D""></div></div><div class=3D""><div =
class=3D""><div class=3D"h5"><div dir=3D"ltr" class=3D"">Hello all,<div =
class=3D""><br class=3D""></div><div class=3D"">Just a heads up that I =
am going to be talking about unikernels and MirageOS a bit at Devs in =
the Ditch, which is a tech meetup run by 7digital (my =
employer)</div><div class=3D""><br class=3D""></div><div class=3D"">The =
event page is here:&nbsp;<a =
href=3D"http://www.meetup.com/devs-in-the-ditch/events/221972483/" =
target=3D"_blank" =
class=3D"">http://www.meetup.com/devs-in-the-ditch/events/221972483/</a> =
, I can see a few familiar names from this list have already signed =
up.</div><div class=3D""><br class=3D""></div><div class=3D"">My talk is =
going to be quite high-level, and focus on my experiences and =
motivations for wanting to learn about MirageOS, as well as showing off =
various cool projects (Jitsu springs to mind) that will hopefully =
encourages others to explore MirageOS. Anyway, I hope this is an =
acceptable topic for a beginner like me to talk about! If it's OK, I =
might run a few of the slides (*) past the list. Looking forward to =
meeting some of you on the 21st.</div><div class=3D""><br =
class=3D""></div><div class=3D"">thanks,</div><div class=3D""><br =
class=3D""></div><div class=3D"">Matt</div><div class=3D""><br =
class=3D""></div><div class=3D"">(*) which hopefully will be hosted =
using Mirage!</div><div class=3D""><br class=3D""></div></div></div></div>=

_______________________________________________<br =
class=3D"">MirageOS-devel mailing list<br class=3D""><a =
href=3D"mailto:MirageOS-devel@lists.xenproject.org" target=3D"_blank" =
class=3D"">MirageOS-devel@lists.xenproject.org</a><br class=3D""><a =
href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-deve=
l" target=3D"_blank" =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel</a><br class=3D""></div></blockquote></div><br =
class=3D""></div></div></blockquote></div><br class=3D""></div>
_______________________________________________<br =
class=3D"">MirageOS-devel mailing list<br class=3D""><a =
href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
class=3D"">MirageOS-devel@lists.xenproject.org</a><br =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel<br class=3D""></div></blockquote></div><br =
class=3D""></div></div></body></html>=

--Apple-Mail=_821B3DFB-5963-4A46-832A-7AC2AD8B60B6--


--===============7046464070775501568==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============7046464070775501568==--


From mirageos-devel-bounces@lists.xenproject.org Sun May 24 16:32:18 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 24 May 2015 16:32:18 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YwYor-0006If-IR; Sun, 24 May 2015 16:32:09 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YwYoq-0006Ia-6q
	for mirageos-devel@lists.xenproject.org; Sun, 24 May 2015 16:32:08 +0000
Received: from [193.109.254.147] by server-7.bemta-14.messagelabs.com id
	8C/10-03202-70DF1655; Sun, 24 May 2015 16:32:07 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-10.tower-27.messagelabs.com!1432485125!20345753!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.3 required=7.0 tests=HTML_50_60,HTML_MESSAGE,
	RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 11031 invoked from network); 24 May 2015 16:32:05 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-10.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 24 May 2015 16:32:05 -0000
Received: from [10.200.1.187] (athedsl-4517800.home.otenet.gr [94.71.219.176]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id a3f8e027;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Sun, 24 May 2015 17:32:04 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAMcK7jpkEo28-pL1UzbjFPz5nvB0iN-CTPXeYt8L30-wFL2JMA@mail.gmail.com>
Date: Sun, 24 May 2015 17:32:05 +0100
Message-Id: <91F99BE0-436E-42C7-B3DC-D6D29E32B785@recoil.org>
References: <CAMcK7jrBKKj3=iASmjPr36QnX0mzQHD5mtYf_U2vgSbT+Ly_mQ@mail.gmail.com>
	<EB4EDF3F-23AB-4EBA-9215-EE68862A8F08@recoil.org>
	<CAMcK7jpkEo28-pL1UzbjFPz5nvB0iN-CTPXeYt8L30-wFL2JMA@mail.gmail.com>
To: Matthew Gray <matthew.thomas.gray@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Talking about MirageOS at Devs in the Ditch,
	May 21st
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============7046464070775501568=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============7046464070775501568==
Content-Type: multipart/alternative; boundary="Apple-Mail=_821B3DFB-5963-4A46-832A-7AC2AD8B60B6"


--Apple-Mail=_821B3DFB-5963-4A46-832A-7AC2AD8B60B6
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Thanks for arranging the talk, it was great fun!  The next thing on my =
list is to pick out one set of EC2 bindings so that we have an easy way =
to upload the unikernels to a hosting provider, which should make trying =
it out much easier for beginners in combination with mirage-seal.

cheers,
Anil
=20
> On 23 May 2015, at 17:27, Matthew Gray <matthew.thomas.gray@gmail.com> =
wrote:
>=20
> I've put the slides for this online here: =
https://github.com/mattgray/devsintheditch-unikernel-talk =
<https://github.com/mattgray/devsintheditch-unikernel-talk>
>=20
> They are also hosted on github pages here - =
http://mattgray.github.io/devsintheditch-unikernel-talk/ =
<http://mattgray.github.io/devsintheditch-unikernel-talk/>
>=20
> I'm going to get them up and running as a mirage-seal (or otherwise =
Mirage OS) website somewhere soon as well, and write about how that =
went.
>=20
> Nice to meet a some of you on Thursday!=20
>=20
> Matt
>=20
> On Thu, Apr 23, 2015 at 2:43 PM, Anil Madhavapeddy <anil@recoil.org =
<mailto:anil@recoil.org>> wrote:
> I'm really looking forward to this!  Of course, feel most free to ask =
questions on the list as usual with any blockers along the way...
>=20
> -anil
>=20
>> On 23 Apr 2015, at 13:19, Matthew Gray <matthew.thomas.gray@gmail.com =
<mailto:matthew.thomas.gray@gmail.com>> wrote:
>>=20
>> Hello all,
>>=20
>> Just a heads up that I am going to be talking about unikernels and =
MirageOS a bit at Devs in the Ditch, which is a tech meetup run by =
7digital (my employer)
>>=20
>> The event page is here: =
http://www.meetup.com/devs-in-the-ditch/events/221972483/ =
<http://www.meetup.com/devs-in-the-ditch/events/221972483/> , I can see =
a few familiar names from this list have already signed up.
>>=20
>> My talk is going to be quite high-level, and focus on my experiences =
and motivations for wanting to learn about MirageOS, as well as showing =
off various cool projects (Jitsu springs to mind) that will hopefully =
encourages others to explore MirageOS. Anyway, I hope this is an =
acceptable topic for a beginner like me to talk about! If it's OK, I =
might run a few of the slides (*) past the list. Looking forward to =
meeting some of you on the 21st.
>>=20
>> thanks,
>>=20
>> Matt
>>=20
>> (*) which hopefully will be hosted using Mirage!
>>=20
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org =
<mailto:MirageOS-devel@lists.xenproject.org>
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel =
<http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>
>=20
>=20
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


--Apple-Mail=_821B3DFB-5963-4A46-832A-7AC2AD8B60B6
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Thanks for arranging the talk, it was great fun! &nbsp;The =
next thing on my list is to pick out one set of EC2 bindings so that we =
have an easy way to upload the unikernels to a hosting provider, which =
should make trying it out much easier for beginners in combination with =
mirage-seal.<div class=3D""><br class=3D""></div><div =
class=3D"">cheers,</div><div class=3D"">Anil<br class=3D""><div =
class=3D"">&nbsp;<br class=3D""><div><blockquote type=3D"cite" =
class=3D""><div class=3D"">On 23 May 2015, at 17:27, Matthew Gray &lt;<a =
href=3D"mailto:matthew.thomas.gray@gmail.com" =
class=3D"">matthew.thomas.gray@gmail.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" =
class=3D""><div class=3D"">I've put the slides for this online =
here:&nbsp;<a =
href=3D"https://github.com/mattgray/devsintheditch-unikernel-talk" =
class=3D"">https://github.com/mattgray/devsintheditch-unikernel-talk</a></=
div><div class=3D""><br class=3D""></div><div class=3D"">They are also =
hosted on github pages here -&nbsp;<a =
href=3D"http://mattgray.github.io/devsintheditch-unikernel-talk/" =
class=3D"">http://mattgray.github.io/devsintheditch-unikernel-talk/</a></d=
iv><div class=3D""><br class=3D""></div><div class=3D"">I'm going to get =
them up and running as a mirage-seal (or otherwise Mirage OS) website =
somewhere soon as well, and write about how that went.</div><div =
class=3D""><br class=3D""></div><div class=3D"">Nice to meet a some of =
you on Thursday!&nbsp;</div><div class=3D""><br class=3D""></div><div =
class=3D"">Matt</div></div><div class=3D"gmail_extra"><br class=3D""><div =
class=3D"gmail_quote">On Thu, Apr 23, 2015 at 2:43 PM, Anil Madhavapeddy =
<span dir=3D"ltr" class=3D"">&lt;<a href=3D"mailto:anil@recoil.org" =
target=3D"_blank" class=3D"">anil@recoil.org</a>&gt;</span> wrote:<br =
class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div =
style=3D"word-wrap:break-word" class=3D"">I'm really looking forward to =
this!&nbsp; Of course, feel most free to ask questions on the list as =
usual with any blockers along the way...<div class=3D""><br =
class=3D""></div><div class=3D"">-anil</div><div class=3D""><br =
class=3D""><div class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D""><div class=3D"h5"><div class=3D"">On 23 Apr 2015, at 13:19, =
Matthew Gray &lt;<a href=3D"mailto:matthew.thomas.gray@gmail.com" =
target=3D"_blank" class=3D"">matthew.thomas.gray@gmail.com</a>&gt; =
wrote:</div><br class=3D""></div></div><div class=3D""><div =
class=3D""><div class=3D"h5"><div dir=3D"ltr" class=3D"">Hello all,<div =
class=3D""><br class=3D""></div><div class=3D"">Just a heads up that I =
am going to be talking about unikernels and MirageOS a bit at Devs in =
the Ditch, which is a tech meetup run by 7digital (my =
employer)</div><div class=3D""><br class=3D""></div><div class=3D"">The =
event page is here:&nbsp;<a =
href=3D"http://www.meetup.com/devs-in-the-ditch/events/221972483/" =
target=3D"_blank" =
class=3D"">http://www.meetup.com/devs-in-the-ditch/events/221972483/</a> =
, I can see a few familiar names from this list have already signed =
up.</div><div class=3D""><br class=3D""></div><div class=3D"">My talk is =
going to be quite high-level, and focus on my experiences and =
motivations for wanting to learn about MirageOS, as well as showing off =
various cool projects (Jitsu springs to mind) that will hopefully =
encourages others to explore MirageOS. Anyway, I hope this is an =
acceptable topic for a beginner like me to talk about! If it's OK, I =
might run a few of the slides (*) past the list. Looking forward to =
meeting some of you on the 21st.</div><div class=3D""><br =
class=3D""></div><div class=3D"">thanks,</div><div class=3D""><br =
class=3D""></div><div class=3D"">Matt</div><div class=3D""><br =
class=3D""></div><div class=3D"">(*) which hopefully will be hosted =
using Mirage!</div><div class=3D""><br class=3D""></div></div></div></div>=

_______________________________________________<br =
class=3D"">MirageOS-devel mailing list<br class=3D""><a =
href=3D"mailto:MirageOS-devel@lists.xenproject.org" target=3D"_blank" =
class=3D"">MirageOS-devel@lists.xenproject.org</a><br class=3D""><a =
href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-deve=
l" target=3D"_blank" =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel</a><br class=3D""></div></blockquote></div><br =
class=3D""></div></div></blockquote></div><br class=3D""></div>
_______________________________________________<br =
class=3D"">MirageOS-devel mailing list<br class=3D""><a =
href=3D"mailto:MirageOS-devel@lists.xenproject.org" =
class=3D"">MirageOS-devel@lists.xenproject.org</a><br =
class=3D"">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-d=
evel<br class=3D""></div></blockquote></div><br =
class=3D""></div></div></body></html>=

--Apple-Mail=_821B3DFB-5963-4A46-832A-7AC2AD8B60B6--


--===============7046464070775501568==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============7046464070775501568==--


From mirageos-devel-bounces@lists.xenproject.org Sun May 24 16:41:13 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 24 May 2015 16:41:13 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YwYxb-0006TV-Az; Sun, 24 May 2015 16:41:11 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YwYxa-0006TQ-9h
	for mirageos-devel@lists.xenproject.org; Sun, 24 May 2015 16:41:10 +0000
Received: from [193.109.254.147] by server-4.bemta-14.messagelabs.com id
	5D/8A-03245-52FF1655; Sun, 24 May 2015 16:41:09 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-7.tower-27.messagelabs.com!1432485668!20317012!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.7 required=7.0 tests=BODY_RANDOM_LONG, RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 32269 invoked from network); 24 May 2015 16:41:08 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-7.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 24 May 2015 16:41:08 -0000
Received: from [10.200.1.187] (athedsl-4517800.home.otenet.gr [94.71.219.176]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 15585ab0;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Sun, 24 May 2015 17:41:08 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <20150522163357.GD11907@nodbug.lucina.net>
Date: Sun, 24 May 2015 17:41:08 +0100
Message-Id: <BFD5A32E-18B2-4E21-AA52-4F31BE2FF1EC@recoil.org>
References: <20150522153559.GA11907@nodbug.lucina.net>
	<555F5685.2010909@rumpkernel.org>
	<20150522163357.GD11907@nodbug.lucina.net>
To: Martin Lucina <martin@lucina.net>
X-Mailer: Apple Mail (2.2098)
Cc: Antti Kantee <pooka@rumpkernel.org>, rumpkernel-users@freelists.org,
	mirageos-devel@lists.xenproject.org, Anil Madhavapeddy <avsm@recoil.org>,
	Richard Mortier <mort@cantab.net>
Subject: Re: [MirageOS-devel] OCaml and Mirage now running on rumprun,
	including bare metal
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 22 May 2015, at 17:33, Martin Lucina <martin@lucina.net> wrote:
> 
> On Friday, 22.05.2015 at 16:17, Antti Kantee wrote:
>> On 22/05/15 15:35, Martin Lucina wrote:
>>> Hi all,
>>> 
>>> in the spirit of "announce early and often", I now have a working OCaml
>>> cross compiler toolchain building unikernels with the rumprun stack[1], and
>>> basic support for Mirage OS working.
>> 
>> Good show!  Supporting existing platforms and applications while
>> enabling things to be done better where it matters most is a true
>> realization of the rump kernel slogan "you can make an omelette
>> without breaking the kitchen".
>> 
>> That said, can you expand on the motivations behind your work with a
>> paragraph or so?  I don't recall the project being introduced at
>> least on the rump kernel kernel list, and I while can guess the
>> motivations, I'd rather not guess if I don't have to ;)
> 
> The Mirage folks have built a green-field implementation of a TCP/IP, TLS
> and HTTP stack, all in memory-safe OCaml. What I'd like to get to is
> being able to build systems which use the best of both worlds. For example,
> have a Mirage unikernel serve TLS and/or HTTP, and talk FastCGI to a PHP
> backend running on a rumprun unikernel.
> 
> The other interesting aspect is using Jitsu [1] to spawn just-in-time
> unikernels on demand. This would let you have a bunch of unikernels which
> are dormant and are only booted when the service they provide is actually
> accessed.
> 

The other reason that this is so useful is that it opens up the other
non-Xen backends to Mirage (such as KVM) in the short term.  In the longer
term, we'd replace the virtio drivers with type-safe equivalents, but its
useful to be able to boot on KVM with the Rump drivers to get started
and have a stable point.

In general, the mixing of new type-safe drivers in Mirage/HaLVM and
newer languages such as Rust, combined with the stable Rump NetBSD drivers
is a pretty compelling way to migrate towards unikernels...

-anil


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sun May 24 16:41:13 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 24 May 2015 16:41:13 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YwYxb-0006TV-Az; Sun, 24 May 2015 16:41:11 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YwYxa-0006TQ-9h
	for mirageos-devel@lists.xenproject.org; Sun, 24 May 2015 16:41:10 +0000
Received: from [193.109.254.147] by server-4.bemta-14.messagelabs.com id
	5D/8A-03245-52FF1655; Sun, 24 May 2015 16:41:09 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-7.tower-27.messagelabs.com!1432485668!20317012!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.7 required=7.0 tests=BODY_RANDOM_LONG, RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 32269 invoked from network); 24 May 2015 16:41:08 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-7.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 24 May 2015 16:41:08 -0000
Received: from [10.200.1.187] (athedsl-4517800.home.otenet.gr [94.71.219.176]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 15585ab0;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Sun, 24 May 2015 17:41:08 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <20150522163357.GD11907@nodbug.lucina.net>
Date: Sun, 24 May 2015 17:41:08 +0100
Message-Id: <BFD5A32E-18B2-4E21-AA52-4F31BE2FF1EC@recoil.org>
References: <20150522153559.GA11907@nodbug.lucina.net>
	<555F5685.2010909@rumpkernel.org>
	<20150522163357.GD11907@nodbug.lucina.net>
To: Martin Lucina <martin@lucina.net>
X-Mailer: Apple Mail (2.2098)
Cc: Antti Kantee <pooka@rumpkernel.org>, rumpkernel-users@freelists.org,
	mirageos-devel@lists.xenproject.org, Anil Madhavapeddy <avsm@recoil.org>,
	Richard Mortier <mort@cantab.net>
Subject: Re: [MirageOS-devel] OCaml and Mirage now running on rumprun,
	including bare metal
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 22 May 2015, at 17:33, Martin Lucina <martin@lucina.net> wrote:
> 
> On Friday, 22.05.2015 at 16:17, Antti Kantee wrote:
>> On 22/05/15 15:35, Martin Lucina wrote:
>>> Hi all,
>>> 
>>> in the spirit of "announce early and often", I now have a working OCaml
>>> cross compiler toolchain building unikernels with the rumprun stack[1], and
>>> basic support for Mirage OS working.
>> 
>> Good show!  Supporting existing platforms and applications while
>> enabling things to be done better where it matters most is a true
>> realization of the rump kernel slogan "you can make an omelette
>> without breaking the kitchen".
>> 
>> That said, can you expand on the motivations behind your work with a
>> paragraph or so?  I don't recall the project being introduced at
>> least on the rump kernel kernel list, and I while can guess the
>> motivations, I'd rather not guess if I don't have to ;)
> 
> The Mirage folks have built a green-field implementation of a TCP/IP, TLS
> and HTTP stack, all in memory-safe OCaml. What I'd like to get to is
> being able to build systems which use the best of both worlds. For example,
> have a Mirage unikernel serve TLS and/or HTTP, and talk FastCGI to a PHP
> backend running on a rumprun unikernel.
> 
> The other interesting aspect is using Jitsu [1] to spawn just-in-time
> unikernels on demand. This would let you have a bunch of unikernels which
> are dormant and are only booted when the service they provide is actually
> accessed.
> 

The other reason that this is so useful is that it opens up the other
non-Xen backends to Mirage (such as KVM) in the short term.  In the longer
term, we'd replace the virtio drivers with type-safe equivalents, but its
useful to be able to boot on KVM with the Rump drivers to get started
and have a stable point.

In general, the mixing of new type-safe drivers in Mirage/HaLVM and
newer languages such as Rust, combined with the stable Rump NetBSD drivers
is a pretty compelling way to migrate towards unikernels...

-anil


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 27 13:47:29 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 27 May 2015 13:47:29 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yxbg1-00006E-OX; Wed, 27 May 2015 13:47:21 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <pooka@rumpkernel.org>) id 1Yxbg0-00005P-CU
	for mirageos-devel@lists.xenproject.org; Wed, 27 May 2015 13:47:20 +0000
Received: from [85.158.137.68] by server-11.bemta-3.messagelabs.com id
	80/4B-16518-7EAC5655; Wed, 27 May 2015 13:47:19 +0000
X-Env-Sender: pooka@rumpkernel.org
X-Msg-Ref: server-10.tower-31.messagelabs.com!1432734439!13005488!1
X-Originating-IP: [130.233.192.7]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 2805 invoked from network); 27 May 2015 13:47:19 -0000
Received: from mail.cs.hut.fi (HELO mail.cs.hut.fi) (130.233.192.7)
	by server-10.tower-31.messagelabs.com with SMTP;
	27 May 2015 13:47:19 -0000
Received: from [127.0.0.1] (mannerheim.cs.hut.fi [130.233.193.8])
	by mail.cs.hut.fi (Postfix) with ESMTPS id A2DE8308C33;
	Wed, 27 May 2015 16:47:17 +0300 (EEST)
Message-ID: <5565CAE4.9020005@rumpkernel.org>
Date: Wed, 27 May 2015 13:47:16 +0000
From: Antti Kantee <pooka@rumpkernel.org>
MIME-Version: 1.0
To: anil@recoil.org, Martin Lucina <martin@lucina.net>
References: <20150522153559.GA11907@nodbug.lucina.net>
	<555F5685.2010909@rumpkernel.org>
	<20150522163357.GD11907@nodbug.lucina.net>
	<BFD5A32E-18B2-4E21-AA52-4F31BE2FF1EC@recoil.org>
In-Reply-To: <BFD5A32E-18B2-4E21-AA52-4F31BE2FF1EC@recoil.org>
Cc: rumpkernel-users@freelists.org, mirageos-devel@lists.xenproject.org,
	Anil Madhavapeddy <avsm@recoil.org>, Richard Mortier <mort@cantab.net>
Subject: Re: [MirageOS-devel] OCaml and Mirage now running on rumprun,
 including bare metal
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 24/05/15 16:41, Anil Madhavapeddy wrote:
>>> Good show!  Supporting existing platforms and applications while
>>> enabling things to be done better where it matters most is a true
>>> realization of the rump kernel slogan "you can make an omelette
>>> without breaking the kitchen".
>>>
>>> That said, can you expand on the motivations behind your work with a
>>> paragraph or so?  I don't recall the project being introduced at
>>> least on the rump kernel kernel list, and I while can guess the
>>> motivations, I'd rather not guess if I don't have to ;)
>>
>> The Mirage folks have built a green-field implementation of a TCP/IP, TLS
>> and HTTP stack, all in memory-safe OCaml. What I'd like to get to is
>> being able to build systems which use the best of both worlds. For example,
>> have a Mirage unikernel serve TLS and/or HTTP, and talk FastCGI to a PHP
>> backend running on a rumprun unikernel.
>>
>> The other interesting aspect is using Jitsu [1] to spawn just-in-time
>> unikernels on demand. This would let you have a bunch of unikernels which
>> are dormant and are only booted when the service they provide is actually
>> accessed.
>>
>
> The other reason that this is so useful is that it opens up the other
> non-Xen backends to Mirage (such as KVM) in the short term.  In the longer
> term, we'd replace the virtio drivers with type-safe equivalents, but its
> useful to be able to boot on KVM with the Rump drivers to get started
> and have a stable point.
>
> In general, the mixing of new type-safe drivers in Mirage/HaLVM and
> newer languages such as Rust, combined with the stable Rump NetBSD drivers
> is a pretty compelling way to migrate towards unikernels...

This other reason is the one I see as the extremely interesting one. 
It's curious, the longer the current implementation provided by rump 
kernels (*) stays useful, the more disappointed I am since we have 
failed to provide better options to legacy software.  That said, even 
with newer languages existing, I will be extremely surprised if the 
current implementation will be obsolete in 10 or even 20 years -- the 
Tarzan who rewrites everything in safe languages in production quality 
simply doesn't exist.  I do hope people try to prove me wrong, though 
either way I win: either I'm right, or I have vastly better software at 
my fingertips.

For users, these types of synergies are truly exciting: being able to 
ride the wave of the latest omelette research while at all times having 
access to a fully equipped, working kitchen.  Getting more users and 
deployers on board also gives us good feedback on which reality-derived 
problem/component is currently in most urgent need of a solution.

*) the concept is generic, and I hope that future operatin^Wbottom 
layers of the software stack will retain separation between driver 
implementation and the environments the driver is usable in.

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed May 27 13:47:29 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 27 May 2015 13:47:29 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yxbg1-00006E-OX; Wed, 27 May 2015 13:47:21 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <pooka@rumpkernel.org>) id 1Yxbg0-00005P-CU
	for mirageos-devel@lists.xenproject.org; Wed, 27 May 2015 13:47:20 +0000
Received: from [85.158.137.68] by server-11.bemta-3.messagelabs.com id
	80/4B-16518-7EAC5655; Wed, 27 May 2015 13:47:19 +0000
X-Env-Sender: pooka@rumpkernel.org
X-Msg-Ref: server-10.tower-31.messagelabs.com!1432734439!13005488!1
X-Originating-IP: [130.233.192.7]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 2805 invoked from network); 27 May 2015 13:47:19 -0000
Received: from mail.cs.hut.fi (HELO mail.cs.hut.fi) (130.233.192.7)
	by server-10.tower-31.messagelabs.com with SMTP;
	27 May 2015 13:47:19 -0000
Received: from [127.0.0.1] (mannerheim.cs.hut.fi [130.233.193.8])
	by mail.cs.hut.fi (Postfix) with ESMTPS id A2DE8308C33;
	Wed, 27 May 2015 16:47:17 +0300 (EEST)
Message-ID: <5565CAE4.9020005@rumpkernel.org>
Date: Wed, 27 May 2015 13:47:16 +0000
From: Antti Kantee <pooka@rumpkernel.org>
MIME-Version: 1.0
To: anil@recoil.org, Martin Lucina <martin@lucina.net>
References: <20150522153559.GA11907@nodbug.lucina.net>
	<555F5685.2010909@rumpkernel.org>
	<20150522163357.GD11907@nodbug.lucina.net>
	<BFD5A32E-18B2-4E21-AA52-4F31BE2FF1EC@recoil.org>
In-Reply-To: <BFD5A32E-18B2-4E21-AA52-4F31BE2FF1EC@recoil.org>
Cc: rumpkernel-users@freelists.org, mirageos-devel@lists.xenproject.org,
	Anil Madhavapeddy <avsm@recoil.org>, Richard Mortier <mort@cantab.net>
Subject: Re: [MirageOS-devel] OCaml and Mirage now running on rumprun,
 including bare metal
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 24/05/15 16:41, Anil Madhavapeddy wrote:
>>> Good show!  Supporting existing platforms and applications while
>>> enabling things to be done better where it matters most is a true
>>> realization of the rump kernel slogan "you can make an omelette
>>> without breaking the kitchen".
>>>
>>> That said, can you expand on the motivations behind your work with a
>>> paragraph or so?  I don't recall the project being introduced at
>>> least on the rump kernel kernel list, and I while can guess the
>>> motivations, I'd rather not guess if I don't have to ;)
>>
>> The Mirage folks have built a green-field implementation of a TCP/IP, TLS
>> and HTTP stack, all in memory-safe OCaml. What I'd like to get to is
>> being able to build systems which use the best of both worlds. For example,
>> have a Mirage unikernel serve TLS and/or HTTP, and talk FastCGI to a PHP
>> backend running on a rumprun unikernel.
>>
>> The other interesting aspect is using Jitsu [1] to spawn just-in-time
>> unikernels on demand. This would let you have a bunch of unikernels which
>> are dormant and are only booted when the service they provide is actually
>> accessed.
>>
>
> The other reason that this is so useful is that it opens up the other
> non-Xen backends to Mirage (such as KVM) in the short term.  In the longer
> term, we'd replace the virtio drivers with type-safe equivalents, but its
> useful to be able to boot on KVM with the Rump drivers to get started
> and have a stable point.
>
> In general, the mixing of new type-safe drivers in Mirage/HaLVM and
> newer languages such as Rust, combined with the stable Rump NetBSD drivers
> is a pretty compelling way to migrate towards unikernels...

This other reason is the one I see as the extremely interesting one. 
It's curious, the longer the current implementation provided by rump 
kernels (*) stays useful, the more disappointed I am since we have 
failed to provide better options to legacy software.  That said, even 
with newer languages existing, I will be extremely surprised if the 
current implementation will be obsolete in 10 or even 20 years -- the 
Tarzan who rewrites everything in safe languages in production quality 
simply doesn't exist.  I do hope people try to prove me wrong, though 
either way I win: either I'm right, or I have vastly better software at 
my fingertips.

For users, these types of synergies are truly exciting: being able to 
ride the wave of the latest omelette research while at all times having 
access to a fully equipped, working kitchen.  Getting more users and 
deployers on board also gives us good feedback on which reality-derived 
problem/component is currently in most urgent need of a solution.

*) the concept is generic, and I hope that future operatin^Wbottom 
layers of the software stack will retain separation between driver 
implementation and the environments the driver is usable in.

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu May 28 00:10:32 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 28 May 2015 00:10:32 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YxlOz-0006vL-6r; Thu, 28 May 2015 00:10:25 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1YxlOx-0006vD-90
	for mirageos-devel@lists.xenproject.org; Thu, 28 May 2015 00:10:23 +0000
Received: from [85.158.139.211] by server-1.bemta-5.messagelabs.com id
	2B/DF-03041-EEC56655; Thu, 28 May 2015 00:10:22 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-8.tower-206.messagelabs.com!1432771821!13245564!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.7 required=7.0 tests=BODY_RANDOM_LONG,
	MIME_QP_LONG_LINE
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 13141 invoked from network); 28 May 2015 00:10:21 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-8.tower-206.messagelabs.com with SMTP;
	28 May 2015 00:10:21 -0000
Received: from [192.168.1.103] (CPE-124-188-3-229.dccz1.win.bigpond.net.au
	[124.188.3.229])
	by mail.supercoders.com.au (Postfix) with ESMTPS id 32B2260202
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 28 May 2015 00:10:20 +0000 (UTC)
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
Message-Id: <51054D0D-6D87-4725-B966-CCDFFD871B96@supercoders.com.au>
Date: Thu, 28 May 2015 10:10:18 +1000
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Subject: [MirageOS-devel] Error installing mirage ERROR while installing
	lwt.2.4.8
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGVsbG8gbWlyYWdlIGZvbGtzLAoKQW55b25lIGdvdCBhbnkgaWRlYXMgaG93IEkgbWlnaHQgbW92
ZSBwYXN0IHRoaXMgZXJyb3Igb24gaW5zdGFsbGF0aW9uPwoKSXQgc2VlbXMgdG8gYmUgYmFyZmlu
ZyBhdCAiRVJST1Igd2hpbGUgaW5zdGFsbGluZyBsd3QuMi40LjgiCgp1YnVudHVAY29udGlraTp+
L29wYW0kIG9wYW0gLS12ZXJzaW9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iJcgIGlu
c3RhbGwgY3N0cnVjdCAgICAgIDEuNi4wCiAg4oiXICBpbnN0YWxsIGlvLXBhZ2UgICAgICAxLjUu
MQogIOKIlyAgaW5zdGFsbCBpcGFkZHIgICAgICAgMi42LjEKICDiiJcgIGluc3RhbGwgbWlyYWdl
ICAgICAgIDIuNC4wCiAg4oiXICBpbnN0YWxsIG1pcmFnZS10eXBlcyAyLjMuMAogIOKIlyAgaW5z
dGFsbCBzZXhwbGliICAgICAgMTExLjI1LjAwClRoZSBmb2xsb3dpbmcgYWN0aW9ucyBmYWlsZWQK
ICDiiJcgIGluc3RhbGwgbHd0ICAgICAgIDIuNC44CiAg4oiXICBpbnN0YWxsIHR5cGVfY29udiAx
MTEuMTMuMDAKTm8gY2hhbmdlcyBoYXZlIGJlZW4gcGVyZm9ybWVkCnVidW50dUBjb250aWtpOn4v
b3BhbSQKCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpN
aXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKTWlyYWdlT1MtZGV2ZWxAbGlzdHMueGVucHJvamVj
dC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5m
by9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Thu May 28 00:10:32 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 28 May 2015 00:10:32 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YxlOz-0006vL-6r; Thu, 28 May 2015 00:10:25 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1YxlOx-0006vD-90
	for mirageos-devel@lists.xenproject.org; Thu, 28 May 2015 00:10:23 +0000
Received: from [85.158.139.211] by server-1.bemta-5.messagelabs.com id
	2B/DF-03041-EEC56655; Thu, 28 May 2015 00:10:22 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-8.tower-206.messagelabs.com!1432771821!13245564!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.7 required=7.0 tests=BODY_RANDOM_LONG,
	MIME_QP_LONG_LINE
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 13141 invoked from network); 28 May 2015 00:10:21 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-8.tower-206.messagelabs.com with SMTP;
	28 May 2015 00:10:21 -0000
Received: from [192.168.1.103] (CPE-124-188-3-229.dccz1.win.bigpond.net.au
	[124.188.3.229])
	by mail.supercoders.com.au (Postfix) with ESMTPS id 32B2260202
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 28 May 2015 00:10:20 +0000 (UTC)
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
Message-Id: <51054D0D-6D87-4725-B966-CCDFFD871B96@supercoders.com.au>
Date: Thu, 28 May 2015 10:10:18 +1000
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Subject: [MirageOS-devel] Error installing mirage ERROR while installing
	lwt.2.4.8
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGVsbG8gbWlyYWdlIGZvbGtzLAoKQW55b25lIGdvdCBhbnkgaWRlYXMgaG93IEkgbWlnaHQgbW92
ZSBwYXN0IHRoaXMgZXJyb3Igb24gaW5zdGFsbGF0aW9uPwoKSXQgc2VlbXMgdG8gYmUgYmFyZmlu
ZyBhdCAiRVJST1Igd2hpbGUgaW5zdGFsbGluZyBsd3QuMi40LjgiCgp1YnVudHVAY29udGlraTp+
L29wYW0kIG9wYW0gLS12ZXJzaW9uCjEuMy4wfmRldgoKCnVidW50dUBjb250aWtpOn4vb3BhbSQg
b2NhbWwgLXZlcnNpb24KVGhlIE9DYW1sIHRvcGxldmVsLCB2ZXJzaW9uIDQuMDEuMAoKdGhhbmtz
IQoKCkVycm9yIGxvZzoKCgoKdWJ1bnR1QGNvbnRpa2k6fi9vcGFtJCBvcGFtIGluc3RhbGwgbWly
YWdlClRoZSBmb2xsb3dpbmcgYWN0aW9ucyB3aWxsIGJlIHBlcmZvcm1lZDoKICDiiJcgIGluc3Rh
bGwgdHlwZV9jb252ICAgIDExMS4xMy4wMCAgICAgICAgICAgW3JlcXVpcmVkIGJ5IGNzdHJ1Y3Qs
IGlwYWRkcl0KICDiiJcgIGluc3RhbGwgbHd0ICAgICAgICAgIDIuNC44ICAgICAgICAgICAgICAg
W3JlcXVpcmVkIGJ5IG1pcmFnZV0KICDiiJcgIGluc3RhbGwgc2V4cGxpYiAgICAgIDExMS4yNS4w
MCAgICAgICAgICAgW3JlcXVpcmVkIGJ5IG1pcmFnZV0KICDiiJcgIGluc3RhbGwgaXBhZGRyICAg
ICAgIDIuNi4xICAgICAgICAgICAgICAgW3JlcXVpcmVkIGJ5IG1pcmFnZV0KICDi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3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5m
by9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Thu May 28 00:43:31 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 28 May 2015 00:43:31 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yxlux-0000r8-R8; Thu, 28 May 2015 00:43:27 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1Yxluw-0000r3-7T
	for mirageos-devel@lists.xenproject.org; Thu, 28 May 2015 00:43:26 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	B4/38-10437-DA466655; Thu, 28 May 2015 00:43:25 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-12.tower-31.messagelabs.com!1432773803!13123323!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.7 required=7.0 tests=BODY_RANDOM_LONG,
	MIME_QP_LONG_LINE
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 15682 invoked from network); 28 May 2015 00:43:24 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-12.tower-31.messagelabs.com with SMTP;
	28 May 2015 00:43:24 -0000
Received: from [192.168.1.103] (CPE-124-188-3-229.dccz1.win.bigpond.net.au
	[124.188.3.229])
	by mail.supercoders.com.au (Postfix) with ESMTPS id F2B6960202
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 28 May 2015 00:43:22 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
In-Reply-To: <51054D0D-6D87-4725-B966-CCDFFD871B96@supercoders.com.au>
Date: Thu, 28 May 2015 10:43:20 +1000
Message-Id: <9BBB66CD-DC93-47FD-B333-D0BD0F84C30C@supercoders.com.au>
References: <51054D0D-6D87-4725-B966-CCDFFD871B96@supercoders.com.au>
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
X-Mailer: Apple Mail (2.2098)
Subject: Re: [MirageOS-devel] Error installing mirage ERROR while installing
	lwt.2.4.8
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SSB3ZW50IG9uIGEgcmFtcGFnZSBvZiBnaXQgY2xvbmluZyBhbmQgaW5zdGFsbGluZyBhbmQgd2dl
dOKAmWluZyBhbGwgc29ydHMgb2YgbW9kdWxlcywgZmluYWxseSBkb3dubG9hZGluZyBzb3VyY2Ug
b2YgbHd0IHRoZW4gcnVubmluZzoKCm9wYW0gcmVpbnN0YWxsIG9jYW1sZmluZCBjYW1scDQKCnRo
ZW4gaW4gdGhlIGx3dCBkaXJlY3RvcnkKb2NhbWwgc2V0dXAubWwgLWNvbmZpZ3VyZQoKdGhlbiAK
b3BhbSBpbnN0YWxsIG1pcmFnZQoKaXQgc2VlbXMgdG8gaGF2ZSBtb3ZlZCBvbiBmcm9tIHRoYXQg
ZXJyb3IuCgpzb3JyeSB0aGF04oCZcyBub3QgbXVjaCBoZWxwIHRvIHRob3NlIHdobyBjb21lIGFm
dGVyIG1lIGJ1dCBnZXR0aW5nIG9jYW1sIGFuZCBvcGFtIGluc3RhbGxlZCBhbmQgY29uZmlndXJl
ZCBmZWVscyBhIGJ1aWx0IGxpa2UgYSB3YWxrIHRocm91Z2ggTWlya3dvb2QgYXQgdGhlIG1vbWVu
dCAtICJkb27igJl0IGxlYXZlIHRoZSBwYXRo4oCdIGJ1dCB5b3UgaGF2ZSB0bywgd2hpY2ggbGVh
ZHMgdG8gYWR2ZW50dXJlLgoKYXMKCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fXwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKTWlyYWdlT1MtZGV2ZWxA
bGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4v
bWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Thu May 28 00:43:31 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 28 May 2015 00:43:31 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yxlux-0000r8-R8; Thu, 28 May 2015 00:43:27 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1Yxluw-0000r3-7T
	for mirageos-devel@lists.xenproject.org; Thu, 28 May 2015 00:43:26 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	B4/38-10437-DA466655; Thu, 28 May 2015 00:43:25 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-12.tower-31.messagelabs.com!1432773803!13123323!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.7 required=7.0 tests=BODY_RANDOM_LONG,
	MIME_QP_LONG_LINE
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 15682 invoked from network); 28 May 2015 00:43:24 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-12.tower-31.messagelabs.com with SMTP;
	28 May 2015 00:43:24 -0000
Received: from [192.168.1.103] (CPE-124-188-3-229.dccz1.win.bigpond.net.au
	[124.188.3.229])
	by mail.supercoders.com.au (Postfix) with ESMTPS id F2B6960202
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 28 May 2015 00:43:22 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
In-Reply-To: <51054D0D-6D87-4725-B966-CCDFFD871B96@supercoders.com.au>
Date: Thu, 28 May 2015 10:43:20 +1000
Message-Id: <9BBB66CD-DC93-47FD-B333-D0BD0F84C30C@supercoders.com.au>
References: <51054D0D-6D87-4725-B966-CCDFFD871B96@supercoders.com.au>
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
X-Mailer: Apple Mail (2.2098)
Subject: Re: [MirageOS-devel] Error installing mirage ERROR while installing
	lwt.2.4.8
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SSB3ZW50IG9uIGEgcmFtcGFnZSBvZiBnaXQgY2xvbmluZyBhbmQgaW5zdGFsbGluZyBhbmQgd2dl
dOKAmWluZyBhbGwgc29ydHMgb2YgbW9kdWxlcywgZmluYWxseSBkb3dubG9hZGluZyBzb3VyY2Ug
b2YgbHd0IHRoZW4gcnVubmluZzoKCm9wYW0gcmVpbnN0YWxsIG9jYW1sZmluZCBjYW1scDQKCnRo
ZW4gaW4gdGhlIGx3dCBkaXJlY3RvcnkKb2NhbWwgc2V0dXAubWwgLWNvbmZpZ3VyZQoKdGhlbiAK
b3BhbSBpbnN0YWxsIG1pcmFnZQoKaXQgc2VlbXMgdG8gaGF2ZSBtb3ZlZCBvbiBmcm9tIHRoYXQg
ZXJyb3IuCgpzb3JyeSB0aGF04oCZcyBub3QgbXVjaCBoZWxwIHRvIHRob3NlIHdobyBjb21lIGFm
dGVyIG1lIGJ1dCBnZXR0aW5nIG9jYW1sIGFuZCBvcGFtIGluc3RhbGxlZCBhbmQgY29uZmlndXJl
ZCBmZWVscyBhIGJ1aWx0IGxpa2UgYSB3YWxrIHRocm91Z2ggTWlya3dvb2QgYXQgdGhlIG1vbWVu
dCAtICJkb27igJl0IGxlYXZlIHRoZSBwYXRo4oCdIGJ1dCB5b3UgaGF2ZSB0bywgd2hpY2ggbGVh
ZHMgdG8gYWR2ZW50dXJlLgoKYXMKCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fXwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKTWlyYWdlT1MtZGV2ZWxA
bGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4v
bWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Thu May 28 03:59:24 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 28 May 2015 03:59:24 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YxoyS-0003ZC-Qi; Thu, 28 May 2015 03:59:16 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1YxoyR-0003Z7-PU
	for mirageos-devel@lists.xenproject.org; Thu, 28 May 2015 03:59:15 +0000
Received: from [193.109.254.147] by server-11.bemta-14.messagelabs.com id
	91/33-02795-29296655; Thu, 28 May 2015 03:59:14 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-16.tower-27.messagelabs.com!1432785553!10445788!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 10107 invoked from network); 28 May 2015 03:59:13 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-16.tower-27.messagelabs.com with SMTP;
	28 May 2015 03:59:13 -0000
Received: from [192.168.1.103] (CPE-124-188-3-229.dccz1.win.bigpond.net.au
	[124.188.3.229])
	by mail.supercoders.com.au (Postfix) with ESMTPS id 99C5160202
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 28 May 2015 03:59:12 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
In-Reply-To: <9BBB66CD-DC93-47FD-B333-D0BD0F84C30C@supercoders.com.au>
Date: Thu, 28 May 2015 13:59:09 +1000
Message-Id: <6C560488-927E-4B41-A18C-BB32F0F9CE20@supercoders.com.au>
References: <51054D0D-6D87-4725-B966-CCDFFD871B96@supercoders.com.au>
	<9BBB66CD-DC93-47FD-B333-D0BD0F84C30C@supercoders.com.au>
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
X-Mailer: Apple Mail (2.2098)
Subject: Re: [MirageOS-devel] Error installing mirage ERROR while installing
	lwt.2.4.8
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Rm9yIGFueW9uZSB0cnlpbmcgdG8gaW5zdGFsbCB0byBVYnVudHUsIHRoaXMgaXMgdGhlIGluY2Fu
dGF0aW9uIHRoYXQgd29ya2VkIGZvciBtZSBmcm9tIGEgY2xlYW4gVWJ1bnR1IGluc3RhbGw6Cgpz
dWRvIGFwdC1nZXQgdXBkYXRlCnN1ZG8gYXB0LWdldCAteSBpbnN0YWxsIGJ1aWxkLWVzc2VudGlh
bCBtNCBvY2FtbCBvY2FtbC1uYXRpdmUtY29tcGlsZXJzIGNhbWxwNC1leHRyYSBnaXQgYnVpbGQt
ZXNzZW50aWFsIHVuemlwIGNhbWxwNC1leHRyYSBsaWJldi1kZXYKZ2l0IGNsb25lIGh0dHBzOi8v
Z2l0aHViLmNvbS9vY2FtbC9vcGFtLmdpdApjZCBvcGFtCi4vY29uZmlndXJlCm1ha2UgbGliLWV4
dAptYWtlCnN1ZG8gbWFrZSBpbnN0YWxsCm9wYW0gaW5pdApldmFsIGBvcGFtIGNvbmZpZyBlbnZg
Cm9wYW0gaW5zdGFsbCBtaXJhZ2UKCgoKSeKAmW0gbm90IHN1cmUgd2h5IEkgaGF2ZSBoYWQgc28g
bXVjaCB0cm91YmxlIHdpdGggdGhpcyBpbiB0aGUgcGFzdC4gSXQgc2VlbXMgdGhhdCBtYXliZSBk
b2luZyB0aGluZ3MgaW4gdGhlIHdyb25nIG9yZGVyIGNhbiBsZWFkIHRvIGRlcGVuZGVuY2llcyBt
aXNtYXRjaGluZyBvciBzb21ldGhpbmcuICBBbnl3YXkgdGhlIGFib3ZlIHdvcmtzIGZvciBtZS4K
CmFzCgoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTWly
YWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qu
b3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8v
bWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Thu May 28 03:59:24 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 28 May 2015 03:59:24 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YxoyS-0003ZC-Qi; Thu, 28 May 2015 03:59:16 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1YxoyR-0003Z7-PU
	for mirageos-devel@lists.xenproject.org; Thu, 28 May 2015 03:59:15 +0000
Received: from [193.109.254.147] by server-11.bemta-14.messagelabs.com id
	91/33-02795-29296655; Thu, 28 May 2015 03:59:14 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-16.tower-27.messagelabs.com!1432785553!10445788!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 10107 invoked from network); 28 May 2015 03:59:13 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-16.tower-27.messagelabs.com with SMTP;
	28 May 2015 03:59:13 -0000
Received: from [192.168.1.103] (CPE-124-188-3-229.dccz1.win.bigpond.net.au
	[124.188.3.229])
	by mail.supercoders.com.au (Postfix) with ESMTPS id 99C5160202
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 28 May 2015 03:59:12 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
In-Reply-To: <9BBB66CD-DC93-47FD-B333-D0BD0F84C30C@supercoders.com.au>
Date: Thu, 28 May 2015 13:59:09 +1000
Message-Id: <6C560488-927E-4B41-A18C-BB32F0F9CE20@supercoders.com.au>
References: <51054D0D-6D87-4725-B966-CCDFFD871B96@supercoders.com.au>
	<9BBB66CD-DC93-47FD-B333-D0BD0F84C30C@supercoders.com.au>
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
X-Mailer: Apple Mail (2.2098)
Subject: Re: [MirageOS-devel] Error installing mirage ERROR while installing
	lwt.2.4.8
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Rm9yIGFueW9uZSB0cnlpbmcgdG8gaW5zdGFsbCB0byBVYnVudHUsIHRoaXMgaXMgdGhlIGluY2Fu
dGF0aW9uIHRoYXQgd29ya2VkIGZvciBtZSBmcm9tIGEgY2xlYW4gVWJ1bnR1IGluc3RhbGw6Cgpz
dWRvIGFwdC1nZXQgdXBkYXRlCnN1ZG8gYXB0LWdldCAteSBpbnN0YWxsIGJ1aWxkLWVzc2VudGlh
bCBtNCBvY2FtbCBvY2FtbC1uYXRpdmUtY29tcGlsZXJzIGNhbWxwNC1leHRyYSBnaXQgYnVpbGQt
ZXNzZW50aWFsIHVuemlwIGNhbWxwNC1leHRyYSBsaWJldi1kZXYKZ2l0IGNsb25lIGh0dHBzOi8v
Z2l0aHViLmNvbS9vY2FtbC9vcGFtLmdpdApjZCBvcGFtCi4vY29uZmlndXJlCm1ha2UgbGliLWV4
dAptYWtlCnN1ZG8gbWFrZSBpbnN0YWxsCm9wYW0gaW5pdApldmFsIGBvcGFtIGNvbmZpZyBlbnZg
Cm9wYW0gaW5zdGFsbCBtaXJhZ2UKCgoKSeKAmW0gbm90IHN1cmUgd2h5IEkgaGF2ZSBoYWQgc28g
bXVjaCB0cm91YmxlIHdpdGggdGhpcyBpbiB0aGUgcGFzdC4gSXQgc2VlbXMgdGhhdCBtYXliZSBk
b2luZyB0aGluZ3MgaW4gdGhlIHdyb25nIG9yZGVyIGNhbiBsZWFkIHRvIGRlcGVuZGVuY2llcyBt
aXNtYXRjaGluZyBvciBzb21ldGhpbmcuICBBbnl3YXkgdGhlIGFib3ZlIHdvcmtzIGZvciBtZS4K
CmFzCgoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTWly
YWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qu
b3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8v
bWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Thu May 28 07:37:13 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 28 May 2015 07:37:13 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YxsNG-0004nA-5h; Thu, 28 May 2015 07:37:06 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YxsNE-0004n5-KT
	for mirageos-devel@lists.xenproject.org; Thu, 28 May 2015 07:37:04 +0000
Received: from [193.109.254.147] by server-11.bemta-14.messagelabs.com id
	88/7D-30658-0A5C6655; Thu, 28 May 2015 07:37:04 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-16.tower-27.messagelabs.com!1432798622!10494917!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.7 required=7.0 tests=BODY_RANDOM_LONG, RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 12092 invoked from network); 28 May 2015 07:37:03 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-16.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 28 May 2015 07:37:03 -0000
Received: from [10.200.1.187] (ppp-2-84-88-91.home.otenet.gr [2.84.88.91]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id e0d38ca5;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Thu, 28 May 2015 08:37:00 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <6C560488-927E-4B41-A18C-BB32F0F9CE20@supercoders.com.au>
Date: Thu, 28 May 2015 10:36:56 +0300
Message-Id: <3DED2CF6-FDA2-4394-A160-95CC4C2F5370@recoil.org>
References: <51054D0D-6D87-4725-B966-CCDFFD871B96@supercoders.com.au>
	<9BBB66CD-DC93-47FD-B333-D0BD0F84C30C@supercoders.com.au>
	<6C560488-927E-4B41-A18C-BB32F0F9CE20@supercoders.com.au>
To: Andrew Stuart <andrew.stuart@supercoders.com.au>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Error installing mirage ERROR while installing
	lwt.2.4.8
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@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2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKPiBNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9q
ZWN0Lm9yZwo+IGh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlz
dGluZm8vbWlyYWdlb3MtZGV2ZWwKCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fXwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKTWlyYWdlT1MtZGV2ZWxA
bGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4v
bWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Thu May 28 07:37:13 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 28 May 2015 07:37:13 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YxsNG-0004nA-5h; Thu, 28 May 2015 07:37:06 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1YxsNE-0004n5-KT
	for mirageos-devel@lists.xenproject.org; Thu, 28 May 2015 07:37:04 +0000
Received: from [193.109.254.147] by server-11.bemta-14.messagelabs.com id
	88/7D-30658-0A5C6655; Thu, 28 May 2015 07:37:04 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-16.tower-27.messagelabs.com!1432798622!10494917!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.7 required=7.0 tests=BODY_RANDOM_LONG, RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 12092 invoked from network); 28 May 2015 07:37:03 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-16.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 28 May 2015 07:37:03 -0000
Received: from [10.200.1.187] (ppp-2-84-88-91.home.otenet.gr [2.84.88.91]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id e0d38ca5;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Thu, 28 May 2015 08:37:00 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <6C560488-927E-4B41-A18C-BB32F0F9CE20@supercoders.com.au>
Date: Thu, 28 May 2015 10:36:56 +0300
Message-Id: <3DED2CF6-FDA2-4394-A160-95CC4C2F5370@recoil.org>
References: <51054D0D-6D87-4725-B966-CCDFFD871B96@supercoders.com.au>
	<9BBB66CD-DC93-47FD-B333-D0BD0F84C30C@supercoders.com.au>
	<6C560488-927E-4B41-A18C-BB32F0F9CE20@supercoders.com.au>
To: Andrew Stuart <andrew.stuart@supercoders.com.au>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Error installing mirage ERROR while installing
	lwt.2.4.8
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGkgQW5kcmV3LAoKSXQgbG9va3MgbGlrZSB5b3Ugd2VyZSBtaXNzaW5nIGEgc3lzdGVtIGNhbWxw
NCBpbnN0YWxsYXRpb24gaW4geW91ciBlYXJsaWVyIGJ1aWxkIGZhaWx1cmUuICBJZiB5b3UgaGF2
ZSBhIHN5c3RlbSBPQ2FtbCBjb21waWxlciBpbnN0YWxsZWQsIHlvdSBhbHNvIG5lZWQgdG8gaGF2
ZSBhIGNvcnJlc3BvbmRpbmcgY2FtbHA0LWV4dHJhIHBhY2thZ2UgaW5zdGFsbGVkLiAgVGhlcmUg
YXJlIHR3byBhbHRlcm5hdGl2ZXM6CgotIFVzZSB0aGUgVWJ1bnR1IFBQQSB3aXRoIHRoZSBsYXRl
c3Qgc3RhYmxlIE9QQU0uIFNlZSBodHRwOi8vb3BhbS5vY2FtbC5vcmcvZG9jL0luc3RhbGwuaHRt
bCNVYnVudHUKCi0gVGhlIGxhdGVzdCBVYnVudHUgVml2aWQgaGFzIE9QQU0gMS4yIGFscmVhZHks
IHNvIHlvdSBjYW4ganVzdCBkbyBgYXB0LWdldCBpbnN0YWxsIG9wYW1gIGFuZCB0aGVuIGJ1aWxk
IGEgY3VzdG9tIGNvbXBpbGVyIHN3aXRjaCB2aWEgIm9wYW0gc3dpdGNoIDQuMDIuMSIuICBUaGlz
IHdpbGwgYWxzbyBidWlsZCBjYW1scDQgaW5zaWRlIHRoZSBzd2l0Y2ggYXMgYSBwYWNrYWdlIGRl
cGVuZGVuY3kuCgpCb3RoIG9mIHRoZXNlIHNob3VsZCBhdm9pZCB0aGUgbmVlZCB0byBjbG9uZSBP
UEFNIGZyb20gaXRzIGdpdCBoZWFkLCB3aGljaCBpcyB0aGUgZGV2ZWxvcG1lbnQgdmVyc2lvbiBh
bmQgbWF5IGNvb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Zm9yIG1lLgo+IAo+IGFzCj4g
Cj4gCj4gX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KPiBN
aXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKPiBNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9q
ZWN0Lm9yZwo+IGh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlz
dGluZm8vbWlyYWdlb3MtZGV2ZWwKCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fXwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKTWlyYWdlT1MtZGV2ZWxA
bGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4v
bWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Thu May 28 21:08:25 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 28 May 2015 21:08:25 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yy52E-0002oN-TK; Thu, 28 May 2015 21:08:14 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <psxlco@nottingham.ac.uk>) id 1Yy52C-0002oI-LF
	for mirageos-devel@lists.xenproject.org; Thu, 28 May 2015 21:08:12 +0000
Received: from [85.158.139.211] by server-6.bemta-5.messagelabs.com id
	00/C0-03219-BB387655; Thu, 28 May 2015 21:08:11 +0000
X-Env-Sender: psxlco@nottingham.ac.uk
X-Msg-Ref: server-7.tower-206.messagelabs.com!1432847290!13597865!1
X-Originating-IP: [128.243.43.129]
X-SpamReason: No, hits=1.7 required=7.0 tests=BODY_RANDOM_LONG,
	HTML_00_10,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 19479 invoked from network); 28 May 2015 21:08:10 -0000
Received: from uidappmx06.nottingham.ac.uk (HELO uidappmx06.nottingham.ac.uk)
	(128.243.43.129) by server-7.tower-206.messagelabs.com with SMTP;
	28 May 2015 21:08:10 -0000
Received: from uidappmx06.nottingham.ac.uk (localhost.localdomain [127.0.0.1])
	by localhost (Email Security Appliance) with SMTP id
	415782DF6C7_56783BAB for <mirageos-devel@lists.xenproject.org>;
	Thu, 28 May 2015 21:08:10 +0000 (GMT)
Received: from smtp3.nottingham.ac.uk (smtp3.nottingham.ac.uk [128.243.44.55])
	by uidappmx06.nottingham.ac.uk (Sophos Email Appliance) with ESMTP
	id 136C92DD05B_56783BAF for <mirageos-devel@lists.xenproject.org>;
	Thu, 28 May 2015 21:08:10 +0000 (GMT)
Received: from uiwexhub02.ad.nottingham.ac.uk ([128.243.15.132])
	by smtp3.nottingham.ac.uk with esmtps (TLSv1:AES128-SHA:128)
	(Exim 4.85) (envelope-from <psxlco@nottingham.ac.uk>)
	id 1Yy529-0001UI-RU
	for mirageos-devel@lists.xenproject.org; Thu, 28 May 2015 22:08:10 +0100
From: =?ISO-8859-1?Q?Luis_Oviedo_Garc=EDa?= <psxlco@nottingham.ac.uk>
To: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Date: Thu, 28 May 2015 22:08:07 +0100
Thread-Topic: Problem building mirage app
Thread-Index: AdCZimW43zS/Rg6DQdOBWNgetND+LA==
Message-ID: <4f710v1g3ai7l0vk4ginl9ic.1432847287334@email.android.com>
Accept-Language: en-US, en-GB
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US, en-GB
MIME-Version: 1.0
X-Spam-Score: -0.0 (/)
Subject: [MirageOS-devel] Problem building mirage app
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1441072253828161089=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============1441072253828161089==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_4f710v1g3ai7l0vk4ginl9ic1432847287334emailandroidcom_"


--_000_4f710v1g3ai7l0vk4ginl9ic1432847287334emailandroidcom_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

SGksDQoNCldlIGFyZSB0cnlpbmcgdG8gYnVpbGQgYSBtaXJhZ2UteGVuIGFwcGxpYW5jZSBidXQg
dGhlIGZvbGxvd2luZyBlcnJvciBpcyBnb3Qgd2hlbiBidWlsZGluZzoNCiJsZDogY2Fubm90IGZp
bmQgLWxnbXAteGVuIg0KRG8geW91IGhhdmUgYW55IGlkZWFzIGhvdyB0byBzb2x2ZSB0aGlzPw0K
VGhhbmtzDQoNCkNhcmxvcw0KCgoKClRoaXMgbWVzc2FnZSBhbmQgYW55IGF0dGFjaG1lbnQgYXJl
IGludGVuZGVkIHNvbGVseSBmb3IgdGhlIGFkZHJlc3NlZQphbmQgbWF5IGNvbnRhaW4gY29uZmlk
ZW50aWFsIGluZm9ybWF0aW9uLiBJZiB5b3UgaGF2ZSByZWNlaXZlZCB0aGlzCm1lc3NhZ2UgaW4g
ZXJyb3IsIHB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YgTm90dGluZ2hhbSBtYXkgYmUgbW9uaXRvcmVkIGFzCnBlcm1p
dHRlZCBieSBVSyBsZWdpc2xhdGlvbi4KPC9QUkU+Cg==

--_000_4f710v1g3ai7l0vk4ginl9ic1432847287334emailandroidcom_--


--===============1441072253828161089==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============1441072253828161089==--


From mirageos-devel-bounces@lists.xenproject.org Thu May 28 21:08:25 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 28 May 2015 21:08:25 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yy52E-0002oN-TK; Thu, 28 May 2015 21:08:14 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <psxlco@nottingham.ac.uk>) id 1Yy52C-0002oI-LF
	for mirageos-devel@lists.xenproject.org; Thu, 28 May 2015 21:08:12 +0000
Received: from [85.158.139.211] by server-6.bemta-5.messagelabs.com id
	00/C0-03219-BB387655; Thu, 28 May 2015 21:08:11 +0000
X-Env-Sender: psxlco@nottingham.ac.uk
X-Msg-Ref: server-7.tower-206.messagelabs.com!1432847290!13597865!1
X-Originating-IP: [128.243.43.129]
X-SpamReason: No, hits=1.7 required=7.0 tests=BODY_RANDOM_LONG,
	HTML_00_10,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 19479 invoked from network); 28 May 2015 21:08:10 -0000
Received: from uidappmx06.nottingham.ac.uk (HELO uidappmx06.nottingham.ac.uk)
	(128.243.43.129) by server-7.tower-206.messagelabs.com with SMTP;
	28 May 2015 21:08:10 -0000
Received: from uidappmx06.nottingham.ac.uk (localhost.localdomain [127.0.0.1])
	by localhost (Email Security Appliance) with SMTP id
	415782DF6C7_56783BAB for <mirageos-devel@lists.xenproject.org>;
	Thu, 28 May 2015 21:08:10 +0000 (GMT)
Received: from smtp3.nottingham.ac.uk (smtp3.nottingham.ac.uk [128.243.44.55])
	by uidappmx06.nottingham.ac.uk (Sophos Email Appliance) with ESMTP
	id 136C92DD05B_56783BAF for <mirageos-devel@lists.xenproject.org>;
	Thu, 28 May 2015 21:08:10 +0000 (GMT)
Received: from uiwexhub02.ad.nottingham.ac.uk ([128.243.15.132])
	by smtp3.nottingham.ac.uk with esmtps (TLSv1:AES128-SHA:128)
	(Exim 4.85) (envelope-from <psxlco@nottingham.ac.uk>)
	id 1Yy529-0001UI-RU
	for mirageos-devel@lists.xenproject.org; Thu, 28 May 2015 22:08:10 +0100
From: =?ISO-8859-1?Q?Luis_Oviedo_Garc=EDa?= <psxlco@nottingham.ac.uk>
To: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Date: Thu, 28 May 2015 22:08:07 +0100
Thread-Topic: Problem building mirage app
Thread-Index: AdCZimW43zS/Rg6DQdOBWNgetND+LA==
Message-ID: <4f710v1g3ai7l0vk4ginl9ic.1432847287334@email.android.com>
Accept-Language: en-US, en-GB
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US, en-GB
MIME-Version: 1.0
X-Spam-Score: -0.0 (/)
Subject: [MirageOS-devel] Problem building mirage app
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1441072253828161089=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============1441072253828161089==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_4f710v1g3ai7l0vk4ginl9ic1432847287334emailandroidcom_"


--_000_4f710v1g3ai7l0vk4ginl9ic1432847287334emailandroidcom_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

SGksDQoNCldlIGFyZSB0cnlpbmcgdG8gYnVpbGQgYSBtaXJhZ2UteGVuIGFwcGxpYW5jZSBidXQg
dGhlIGZvbGxvd2luZyBlcnJvciBpcyBnb3Qgd2hlbiBidWlsZGluZzoNCiJsZDogY2Fubm90IGZp
bmQgLWxnbXAteGVuIg0KRG8geW91IGhhdmUgYW55IGlkZWFzIGhvdyB0byBzb2x2ZSB0aGlzPw0K
VGhhbmtzDQoNCkNhcmxvcw0KCgoKClRoaXMgbWVzc2FnZSBhbmQgYW55IGF0dGFjaG1lbnQgYXJl
IGludGVuZGVkIHNvbGVseSBmb3IgdGhlIGFkZHJlc3NlZQphbmQgbWF5IGNvbnRhaW4gY29uZmlk
ZW50aWFsIGluZm9ybWF0aW9uLiBJZiB5b3UgaGF2ZSByZWNlaXZlZCB0aGlzCm1lc3NhZ2UgaW4g
ZXJyb3IsIHBsZWFzZSBzZW5kIGl0IGJhY2sgdG8gbWUsIGFuZCBpbW1lZGlhdGVseSBkZWxldGUg
aXQuIAoKUGxlYXNlIGRvIG5vdCB1c2UsIGNvcHkgb3IgZGlzY2xvc2UgdGhlIGluZm9ybWF0aW9u
IGNvbnRhaW5lZCBpbiB0aGlzCm1lc3NhZ2Ugb3IgaW4gYW55IGF0dGFjaG1lbn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5kZWQgc29sZWx5IGZvciB0aGUgYWRkcmVzc2VlCmFuZCBtYXkgY29udGFpbiBjb25maWRl
bnRpYWwgaW5mb3JtYXRpb24uIElmIHlvdSBoYXZlIHJlY2VpdmVkIHRoaXMKbWVzc2FnZSBpbiBl
cnJvciwgcGxlYXNlIHNlbmQgaXQgYmFjayB0byBtZSwgYW5kIGltbWVkaWF0ZWx5IGRlbGV0ZSBp
dC4gCgpQbGVhc2UgZG8gbm90IHVzZSwgY29weSBvciBkaXNjbG9zZSB0aGUgaW5mb3JtYXRpb24g
Y29udGFpbmVkIGluIHRoaXMKbWVzc2FnZSBvciBpbiBhbnkgYXR0YWNobWVudC4gIEFueSB2aWV3
cyBvciBvcGluaW9ucyBleHByZXNzZWQgYnkgdGhlCmF1dGhvciBvZiB0aGlzIGVtYWlsIGRvIG5v
dCBuZWNlc3NhcmlseSByZWZsZWN0IHRoZSB2aWV3cyBvZiB0aGUKVW5pdmVyc2l0eSBvZiBOb3R0
aW5naGFtLgoKVGhpcyBtZXNzYWdlIGhhcyBiZWVuIGNoZWNrZWQgZm9yIHZpcnVzZXMgYnV0IHRo
ZSBjb250ZW50cyBvZiBhbgphdHRhY2htZW50IG1heSBzdGlsbCBjb250YWluIHNvZnR3YXJlIHZp
cnVzZXMgd2hpY2ggY291bGQgZGFtYWdlIHlvdXIKY29tcHV0ZXIgc3lzdGVtLCB5b3UgYXJlIGFk
dmlzZWQgdG8gcGVyZm9ybSB5b3VyIG93biBjaGVja3MuIEVtYWlsCmNvbW11bmljYXRpb25zIHdp
dGggdGhlIFVuaXZlcnNpdHkgb2YgTm90dGluZ2hhbSBtYXkgYmUgbW9uaXRvcmVkIGFzCnBlcm1p
dHRlZCBieSBVSyBsZWdpc2xhdGlvbi4KPC9QUkU+Cg==

--_000_4f710v1g3ai7l0vk4ginl9ic1432847287334emailandroidcom_--


--===============1441072253828161089==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============1441072253828161089==--


From mirageos-devel-bounces@lists.xenproject.org Thu May 28 21:40:06 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 28 May 2015 21:40:06 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yy5Wz-0005at-2E; Thu, 28 May 2015 21:40:01 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1Yy5Wx-0005an-JH
	for mirageos-devel@lists.xenproject.org; Thu, 28 May 2015 21:39:59 +0000
Received: from [85.158.139.211] by server-7.bemta-5.messagelabs.com id
	71/4C-03739-E2B87655; Thu, 28 May 2015 21:39:58 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-8.tower-206.messagelabs.com!1432849198!13535577!1
X-Originating-IP: [209.85.215.48]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 8717 invoked from network); 28 May 2015 21:39:58 -0000
Received: from mail-la0-f48.google.com (HELO mail-la0-f48.google.com)
	(209.85.215.48)
	by server-8.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	28 May 2015 21:39:58 -0000
Received: by laat2 with SMTP id t2so42186255laa.1
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 28 May 2015 14:39:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type:content-transfer-encoding;
	bh=9E5QO5YR6AGpQVB4nkn02z+V+iGH+KY6QRk17kfCqQ4=;
	b=dvolQCqbFto7dhpbQvUIaYxU0SP95ibSrCY4Wy5MfkS7h0WiGW4daHoFdjTfj2MBys
	EPSGmUywz/fNhNXn/SCASTaKBySRjXDtTRR2RpPHLs9aDr2nPd/+EpzqmOG6t5G5JTNq
	4WPzXTCTgKec0oIMw3612uq+jMjLw6Bb7cyf3bHCazfzdFnVYIOIzl16YP2u3V3Wwcf1
	oJTPIdf/e+/0wM7qNQES6YJUKIVlZLTW5aX+78lXBrzjgNL+GdQxAbLQB7CVSrXvGVkF
	QP8jLAk6lBUpQHk0qal2rnzM6oASCUkY9y9c/f4GHGGPja2qNUaPHrlEHdSdXz9LrAyr
	WYWg==
MIME-Version: 1.0
X-Received: by 10.112.134.167 with SMTP id pl7mr4806480lbb.50.1432849197764;
	Thu, 28 May 2015 14:39:57 -0700 (PDT)
Received: by 10.25.146.129 with HTTP; Thu, 28 May 2015 14:39:57 -0700 (PDT)
In-Reply-To: <4f710v1g3ai7l0vk4ginl9ic.1432847287334@email.android.com>
References: <4f710v1g3ai7l0vk4ginl9ic.1432847287334@email.android.com>
Date: Thu, 28 May 2015 22:39:57 +0100
Message-ID: <CAG4opy8-wqw425sJo7xBDjTvS+3MFU87qem8pqhTjghfBCh-kw@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: =?UTF-8?Q?Luis_Oviedo_Garc=C3=ADa?= <psxlco@nottingham.ac.uk>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Problem building mirage app
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gMjggTWF5IDIwMTUgYXQgMjI6MDgsIEx1aXMgT3ZpZWRvIEdhcmPDrWEgPHBzeGxjb0Bub3R0
aW5naGFtLmFjLnVrPiB3cm90ZToKPiBIaSwKPgo+IFdlIGFyZSB0cnlpbmcgdG8gYnVpbGQgYSBt
aXJhZ2UteGVuIGFwcGxpYW5jZSBidXQgdGhlIGZvbGxvd2luZyBlcnJvciBpcyBnb3QKPiB3aGVu
IGJ1aWxkaW5nOgo+ICJsZDogY2Fubm90IGZpbmQgLWxnbXAteGVuIgo+IERvIHlvdSBoYXZlIGFu
eSBpZGVhcyBob3cgdG8gc29sdmUgdGhpcz8KPiBUaGFua3MKCldoYXQgdmVyc2lvbnMgb2YgbWly
YWdlLCB0Y3BpcCwgbm9jcnlwdG8gYW5kIHphcml0aCBhcmUgeW91IHVzaW5nPwoKRG9lcyB5b3Vy
IGdlbmVyYXRlZCBNYWtlZmlsZSBjb250YWluICItTEBnbXAteGVuIj8gSWYgc28sIHlvdSBwcm9i
YWJseQpuZWVkIGEgbmV3ZXIgdmVyc2lvbiBvZiB0aGUgbWlyYWdlIHRvb2wgKHNvIHRoZSBAIGlz
IGV4cGFuZGVkKS4KCgotLSAKRHIgVGhvbWFzIExlb25hcmQgICAgICAgIGh0dHA6Ly9yb3NjaWR1
cy5jb20vYmxvZy8KR1BHOiBEQTk4IDI1QUUgQ0FEMCA4OTc1IDdDREEgIEJEOEUgMDcxMyAzRjk2
IENBNzQgRDhCQQoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X18KTWlyYWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnBy
b2plY3Qub3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlz
dGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Thu May 28 21:40:06 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 28 May 2015 21:40:06 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yy5Wz-0005at-2E; Thu, 28 May 2015 21:40:01 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1Yy5Wx-0005an-JH
	for mirageos-devel@lists.xenproject.org; Thu, 28 May 2015 21:39:59 +0000
Received: from [85.158.139.211] by server-7.bemta-5.messagelabs.com id
	71/4C-03739-E2B87655; Thu, 28 May 2015 21:39:58 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-8.tower-206.messagelabs.com!1432849198!13535577!1
X-Originating-IP: [209.85.215.48]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 8717 invoked from network); 28 May 2015 21:39:58 -0000
Received: from mail-la0-f48.google.com (HELO mail-la0-f48.google.com)
	(209.85.215.48)
	by server-8.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	28 May 2015 21:39:58 -0000
Received: by laat2 with SMTP id t2so42186255laa.1
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 28 May 2015 14:39:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type:content-transfer-encoding;
	bh=9E5QO5YR6AGpQVB4nkn02z+V+iGH+KY6QRk17kfCqQ4=;
	b=dvolQCqbFto7dhpbQvUIaYxU0SP95ibSrCY4Wy5MfkS7h0WiGW4daHoFdjTfj2MBys
	EPSGmUywz/fNhNXn/SCASTaKBySRjXDtTRR2RpPHLs9aDr2nPd/+EpzqmOG6t5G5JTNq
	4WPzXTCTgKec0oIMw3612uq+jMjLw6Bb7cyf3bHCazfzdFnVYIOIzl16YP2u3V3Wwcf1
	oJTPIdf/e+/0wM7qNQES6YJUKIVlZLTW5aX+78lXBrzjgNL+GdQxAbLQB7CVSrXvGVkF
	QP8jLAk6lBUpQHk0qal2rnzM6oASCUkY9y9c/f4GHGGPja2qNUaPHrlEHdSdXz9LrAyr
	WYWg==
MIME-Version: 1.0
X-Received: by 10.112.134.167 with SMTP id pl7mr4806480lbb.50.1432849197764;
	Thu, 28 May 2015 14:39:57 -0700 (PDT)
Received: by 10.25.146.129 with HTTP; Thu, 28 May 2015 14:39:57 -0700 (PDT)
In-Reply-To: <4f710v1g3ai7l0vk4ginl9ic.1432847287334@email.android.com>
References: <4f710v1g3ai7l0vk4ginl9ic.1432847287334@email.android.com>
Date: Thu, 28 May 2015 22:39:57 +0100
Message-ID: <CAG4opy8-wqw425sJo7xBDjTvS+3MFU87qem8pqhTjghfBCh-kw@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: =?UTF-8?Q?Luis_Oviedo_Garc=C3=ADa?= <psxlco@nottingham.ac.uk>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Problem building mirage app
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gMjggTWF5IDIwMTUgYXQgMjI6MDgsIEx1aXMgT3ZpZWRvIEdhcmPDrWEgPHBzeGxjb0Bub3R0
aW5naGFtLmFjLnVrPiB3cm90ZToKPiBIaSwKPgo+IFdlIGFyZSB0cnlpbmcgdG8gYnVpbGQgYSBt
aXJhZ2UteGVuIGFwcGxpYW5jZSBidXQgdGhlIGZvbGxvd2luZyBlcnJvciBpcyBnb3QKPiB3aGVu
IGJ1aWxkaW5nOgo+ICJsZDogY2Fubm90IGZpbmQgLWxnbXAteGVuIgo+IERvIHlvdSBoYXZlIGFu
eSBpZGVhcyBob3cgdG8gc29sdmUgdGhpcz8KPiBUaGFua3MKCldoYXQgdmVyc2lvbnMgb2YgbWly
YWdlLCB0Y3BpcCwgbm9jcnlwdG8gYW5kIHphcml0aCBhcmUgeW91IHVzaW5nPwoKRG9lcyB5b3Vy
IGdlbmVyYXRlZCBNYWtlZmlsZSBjb250YWluICItTEBnbXAteGVuIj8gSWYgc28sIHlvdSBwcm9i
YWJseQpuZWVkIGEgbmV3ZXIgdmVyc2lvbiBvZiB0aGUgbWlyYWdlIHRvb2wgKHNvIHRoZSBAIGlz
IGV4cGFuZGVkKS4KCgotLSAKRHIgVGhvbWFzIExlb25hcmQgICAgICAgIGh0dHA6Ly9yb3NjaWR1
cy5jb20vYmxvZy8KR1BHOiBEQTk4IDI1QUUgQ0FEMCA4OTc1IDdDREEgIEJEOEUgMDcxMyAzRjk2
IENBNzQgRDhCQQoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X18KTWlyYWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnBy
b2plY3Qub3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlz
dGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 03:06:25 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 03:06:25 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyAck-0005D6-Kb; Fri, 29 May 2015 03:06:18 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1YyAcj-0005D0-Eh
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 03:06:17 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	B7/D7-10437-8A7D7655; Fri, 29 May 2015 03:06:16 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-5.tower-31.messagelabs.com!1432868775!11151709!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 21487 invoked from network); 29 May 2015 03:06:15 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-5.tower-31.messagelabs.com with SMTP;
	29 May 2015 03:06:15 -0000
Received: from [192.168.1.103] (CPE-124-188-3-229.dccz1.win.bigpond.net.au
	[124.188.3.229])
	by mail.supercoders.com.au (Postfix) with ESMTPS id 2D0E060202
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 29 May 2015 03:06:14 +0000 (UTC)
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
Message-Id: <501ECF0F-39A3-4BA9-A3A9-912EDD286BCC@supercoders.com.au>
Date: Fri, 29 May 2015 13:06:11 +1000
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Subject: [MirageOS-devel] Routing.No_route_to_destination_address running
	Mirage web server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGVsbG8KCkkgYW0gdHJ5aW5nIHRvIHJ1biBhIHN0YXRpYyBNaXJhZ2Ugd2ViIHNlcnZlciBvbiBh
IGxvY2FsIFhlbiBzZXJ2ZXIuICAKCldoZW4gSSBkbyAKY3VybCAxOTIuMTY4LjEuMTExCmZyb20g
ZG9tMCBpdCB3b3JrcyBmaW5lLgoKV2hlbiBJIHRyeSB0byBhY2Nlc3MgMTkyLjE2OC4xLjExMSBm
cm9tIGFueSBvdGhlciBkZXZpY2Ugb24gdGhlIG5ldHdvcmsgSSBnZXQgdGhlIGVyc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nNtaXNzaW9uIG9uIHRpbWVyIHNlcSA9IDQ1Mjg4NjQ2NgpBUlA6IHJldHJ5aW5nIDE5Mi4xNjgu
MS4xMDMgKG49MikKQVJQOiB0cmFuc21pdHRpbmcgcHJvYmUgLT4gMTkyLjE2OC4xLjEwMwpUQ1Ag
cmV0cmFuc21pc3Npb24gb24gdGltZXIgc2VxID0gNDUyOTAzNTM2ClRDUCByZXRyYW5zbWlzc2lv
biBvbiB0aW1lciBzZXEgPSA0NTI4NzE1MzQKVENQIHJldHJhbnNtaXNzaW9uIG9uIHRpbWVyIHNl
cSA9IDQ1Mjg2NzM1MgpUQ1AgcmV0cmFuc21pc3Npb24gb24gdGltZXIgc2VxID0gNDUyODg3NDc3
ClRDUCByZXRyYW5zbWlzc2lvbiBvbiB0aW1lciBzZXEgPSA0NTI4Njk4MjEKVENQIHJldHJhbnNt
aXNzaW9uIG9uIHRpbWVyIHNlcSA9IDQ1Mjg3ODM4OApUQ1AgcmV0cmFuc21pc3Npb24gb24gdGlt
ZXIgc2VxID0gNDUyODU5MzA1Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fCk1pcmFnZU9TLWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0
cy54ZW5wcm9qZWN0Lm9yZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWls
bWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 03:06:25 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 03:06:25 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyAck-0005D6-Kb; Fri, 29 May 2015 03:06:18 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1YyAcj-0005D0-Eh
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 03:06:17 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	B7/D7-10437-8A7D7655; Fri, 29 May 2015 03:06:16 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-5.tower-31.messagelabs.com!1432868775!11151709!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 21487 invoked from network); 29 May 2015 03:06:15 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-5.tower-31.messagelabs.com with SMTP;
	29 May 2015 03:06:15 -0000
Received: from [192.168.1.103] (CPE-124-188-3-229.dccz1.win.bigpond.net.au
	[124.188.3.229])
	by mail.supercoders.com.au (Postfix) with ESMTPS id 2D0E060202
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 29 May 2015 03:06:14 +0000 (UTC)
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
Message-Id: <501ECF0F-39A3-4BA9-A3A9-912EDD286BCC@supercoders.com.au>
Date: Fri, 29 May 2015 13:06:11 +1000
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Subject: [MirageOS-devel] Routing.No_route_to_destination_address running
	Mirage web server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGVsbG8KCkkgYW0gdHJ5aW5nIHRvIHJ1biBhIHN0YXRpYyBNaXJhZ2Ugd2ViIHNlcnZlciBvbiBh
IGxvY2FsIFhlbiBzZXJ2ZXIuICAKCldoZW4gSSBkbyAKY3VybCAxOTIuMTY4LjEuMTExCmZyb20g
ZG9tMCBpdCB3b3JrcyBmaW5lLgoKV2hlbiBJIHRyeSB0byBhY2Nlc3MgMTkyLjE2OC4xLjExMSBm
cm9tIGFueSBvdGhlciBkZXZpY2Ugb24gdGhlIG5ldHdvcmsgSSBnZXQgdGhlIGVycm9ycyBiZWxv
dy4KClRoZSBjZmcgZmlsZSBpbmNsdWRlcyB0aGlzOgp2aWYJCT0gWyAnbWFjPWMwOmZmOmVlOmFh
OmZmOmVlLGJyaWRnZT14ZW5icjDigJkgXQoKSSBoYXZlIGFsc28gdHJpZWQKdmlmCQk9IFsgJ2Jy
aWRnZT14ZW5icjDigJkgXQoKSSBoYXZlIHZhcmlvdXMgb3RoZXIgZG9tdSBtYWNoaW5lcyBpbmNs
dWRpbmcgYW4gVWJ1bnR1IHdlYiBzZXJ2ZXIgdGhhdCBoYXZlIG5vIHByb2JsZW0gcmVzcG9uZGlu
ZyB0byBuZXR3b3JrIHJlcXVlc3RzIGZyb20gb3RoZXIgZGV2aWNlcyBvbiB0aGUgbmV0d29yay4K
CkFueSBoaW50cyB2YWx1ZWQuCgoKc2V0dGluZyAwMDAwMDAwMDAwMDAwMDAwLTAwMDAwMDAwMDAx
YTQwMDAgcmVhZG9ubHkKc2tpcH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1AgcmV0cmFuc21pc3Npb24gb24gdGlt
ZXIgc2VxID0gNDUyODU5MzA1Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fCk1pcmFnZU9TLWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0
cy54ZW5wcm9qZWN0Lm9yZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWls
bWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 06:25:02 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 06:25:02 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyDiv-0005xX-G9; Fri, 29 May 2015 06:24:53 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1YyDit-0005xS-Ef
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 06:24:51 +0000
Received: from [193.109.254.147] by server-2.bemta-14.messagelabs.com id
	81/1D-31258-23608655; Fri, 29 May 2015 06:24:50 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-14.tower-27.messagelabs.com!1432880689!18436693!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 13153 invoked from network); 29 May 2015 06:24:49 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-14.tower-27.messagelabs.com with SMTP;
	29 May 2015 06:24:49 -0000
Received: from [192.168.1.103] (CPE-124-188-3-229.dccz1.win.bigpond.net.au
	[124.188.3.229])
	by mail.supercoders.com.au (Postfix) with ESMTPS id CF7996009D
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 29 May 2015 06:24:48 +0000 (UTC)
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
Message-Id: <E0D0B7EA-6751-4A51-8765-726556195D2F@supercoders.com.au>
Date: Fri, 29 May 2015 16:24:46 +1000
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Subject: [MirageOS-devel] Web server MIME types / content types
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

It appears that the web server is not specifying the correct content types when serving files.

Am I correct or do I have things misconfigured?

If the content types are not being served correctly, is there an alternative web server for MirageOS that sets the content types correctly?

thanks!


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 06:25:02 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 06:25:02 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyDiv-0005xX-G9; Fri, 29 May 2015 06:24:53 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1YyDit-0005xS-Ef
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 06:24:51 +0000
Received: from [193.109.254.147] by server-2.bemta-14.messagelabs.com id
	81/1D-31258-23608655; Fri, 29 May 2015 06:24:50 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-14.tower-27.messagelabs.com!1432880689!18436693!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 13153 invoked from network); 29 May 2015 06:24:49 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-14.tower-27.messagelabs.com with SMTP;
	29 May 2015 06:24:49 -0000
Received: from [192.168.1.103] (CPE-124-188-3-229.dccz1.win.bigpond.net.au
	[124.188.3.229])
	by mail.supercoders.com.au (Postfix) with ESMTPS id CF7996009D
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 29 May 2015 06:24:48 +0000 (UTC)
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
Message-Id: <E0D0B7EA-6751-4A51-8765-726556195D2F@supercoders.com.au>
Date: Fri, 29 May 2015 16:24:46 +1000
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Subject: [MirageOS-devel] Web server MIME types / content types
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

It appears that the web server is not specifying the correct content types when serving files.

Am I correct or do I have things misconfigured?

If the content types are not being served correctly, is there an alternative web server for MirageOS that sets the content types correctly?

thanks!


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 09:41:03 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 09:41:03 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyGme-0002B9-H9; Fri, 29 May 2015 09:40:56 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <psxlco@nottingham.ac.uk>) id 1YyGmd-0002B0-6r
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 09:40:55 +0000
Received: from [85.158.137.68] by server-2.bemta-3.messagelabs.com id
	F9/D0-00727-62438655; Fri, 29 May 2015 09:40:54 +0000
X-Env-Sender: psxlco@nottingham.ac.uk
X-Msg-Ref: server-11.tower-31.messagelabs.com!1432892453!11242063!1
X-Originating-IP: [128.243.43.129]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 5586 invoked from network); 29 May 2015 09:40:54 -0000
Received: from uidappmx06.nottingham.ac.uk (HELO uidappmx06.nottingham.ac.uk)
	(128.243.43.129) by server-11.tower-31.messagelabs.com with SMTP;
	29 May 2015 09:40:54 -0000
Received: from uidappmx06.nottingham.ac.uk (localhost.localdomain [127.0.0.1])
	by localhost (Email Security Appliance) with SMTP id
	909C02CA4B4_5683425B; Fri, 29 May 2015 09:40:53 +0000 (GMT)
Received: from smtp4.nottingham.ac.uk (smtp4.nottingham.ac.uk [128.243.220.65])
	by uidappmx06.nottingham.ac.uk (Sophos Email Appliance) with ESMTP id
	6C2802DD8AC_5683425F; Fri, 29 May 2015 09:40:53 +0000 (GMT)
Received: from [10.154.171.138]
	by smtp4.nottingham.ac.uk with esmtp (Exim 4.85)
	(envelope-from <psxlco@nottingham.ac.uk>)
	id 1YyGmb-0003A6-75; Fri, 29 May 2015 10:40:53 +0100
Message-ID: <55683425.7000606@nottingham.ac.uk>
Date: Fri, 29 May 2015 10:40:53 +0100
From: Carlos Oviedo <psxlco@nottingham.ac.uk>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: Thomas Leonard <talex5@gmail.com>
References: <4f710v1g3ai7l0vk4ginl9ic.1432847287334@email.android.com>
	<CAG4opy8-wqw425sJo7xBDjTvS+3MFU87qem8pqhTjghfBCh-kw@mail.gmail.com>
In-Reply-To: <CAG4opy8-wqw425sJo7xBDjTvS+3MFU87qem8pqhTjghfBCh-kw@mail.gmail.com>
Content-Length: 2262
X-Spam-Score: 0.0 (/)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Problem building mirage app
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: base64
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGkgVGhvbWFzLAoKWWVzLCB0aGUgcHJvYmxlbSB3YXMgcmVsYXRlZCB0byB0aGUgaW5zdGFsbGVk
IE1pcmFnZSB2ZXJzaW9uICgyLjQuMCksIEkgCnVwZ3JhZGVkIGl0ICgyLjUuMCkgYW5kIGl0J3Mg
d29ya2luZyBub3csIHRoYW5rcy4KCk9uIDI4LzA1LzE1IDIyOjM5LCBUaG9tYXMgTGVvbmFyZCB3
cm90ZToKPiBPbiAyOCBNYXkgMjAxNSBhdCAyMjowOCwgTHVpcyBPdmllZG8gR2FyY8OtYSA8cHN4
bGNvQG5vdHRpbmdoYW0uYWMudWs+IHdyb3RlOgo+PiBIaSwKPj4KPj4gV2UgYXJlIHRyeWluZyB0
byBidWlsZCBhIG1pcmFnZS14ZW4gYXBwbGlhbmNlIGJ1dCB0aGUgZm9sbG93aW5nIGVycm9yIGlz
IGdvdAo+PiB3aGVuIGJ1aWxkaW5nOgo+PiAibGQ6IGNhbm5vdCBmaW5kIC1sZ21wLXhlbiIKPj4g
RG8geW91IGhhdmUgYW55IGlkZWFzIGhvdyB0byBzb2x2ZSB0aGlzPwo+PiBUaGFua3MKPiBXaGF0
IHZlcnNpb25zIG9mIG1pcmFnZSwgdGNwaXAsIG5vY3J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YWluIHNvZnR3YXJlIHZpcnVzZXMgd2hpY2ggY291
bGQgZGFtYWdlIHlvdXIKY29tcHV0ZXIgc3lzdGVtLCB5b3UgYXJlIGFkdmlzZWQgdG8gcGVyZm9y
bSB5b3VyIG93biBjaGVja3MuIEVtYWlsCmNvbW11bmljYXRpb25zIHdpdGggdGhlIFVuaXZlcnNp
dHkgb2YgTm90dGluZ2hhbSBtYXkgYmUgbW9uaXRvcmVkIGFzCnBlcm1pdHRlZCBieSBVSyBsZWdp
c2xhdGlvbi4KCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
XwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKTWlyYWdlT1MtZGV2ZWxAbGlzdHMueGVucHJv
amVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0
aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 09:41:03 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 09:41:03 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyGme-0002B9-H9; Fri, 29 May 2015 09:40:56 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <psxlco@nottingham.ac.uk>) id 1YyGmd-0002B0-6r
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 09:40:55 +0000
Received: from [85.158.137.68] by server-2.bemta-3.messagelabs.com id
	F9/D0-00727-62438655; Fri, 29 May 2015 09:40:54 +0000
X-Env-Sender: psxlco@nottingham.ac.uk
X-Msg-Ref: server-11.tower-31.messagelabs.com!1432892453!11242063!1
X-Originating-IP: [128.243.43.129]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 5586 invoked from network); 29 May 2015 09:40:54 -0000
Received: from uidappmx06.nottingham.ac.uk (HELO uidappmx06.nottingham.ac.uk)
	(128.243.43.129) by server-11.tower-31.messagelabs.com with SMTP;
	29 May 2015 09:40:54 -0000
Received: from uidappmx06.nottingham.ac.uk (localhost.localdomain [127.0.0.1])
	by localhost (Email Security Appliance) with SMTP id
	909C02CA4B4_5683425B; Fri, 29 May 2015 09:40:53 +0000 (GMT)
Received: from smtp4.nottingham.ac.uk (smtp4.nottingham.ac.uk [128.243.220.65])
	by uidappmx06.nottingham.ac.uk (Sophos Email Appliance) with ESMTP id
	6C2802DD8AC_5683425F; Fri, 29 May 2015 09:40:53 +0000 (GMT)
Received: from [10.154.171.138]
	by smtp4.nottingham.ac.uk with esmtp (Exim 4.85)
	(envelope-from <psxlco@nottingham.ac.uk>)
	id 1YyGmb-0003A6-75; Fri, 29 May 2015 10:40:53 +0100
Message-ID: <55683425.7000606@nottingham.ac.uk>
Date: Fri, 29 May 2015 10:40:53 +0100
From: Carlos Oviedo <psxlco@nottingham.ac.uk>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: Thomas Leonard <talex5@gmail.com>
References: <4f710v1g3ai7l0vk4ginl9ic.1432847287334@email.android.com>
	<CAG4opy8-wqw425sJo7xBDjTvS+3MFU87qem8pqhTjghfBCh-kw@mail.gmail.com>
In-Reply-To: <CAG4opy8-wqw425sJo7xBDjTvS+3MFU87qem8pqhTjghfBCh-kw@mail.gmail.com>
Content-Length: 2262
X-Spam-Score: 0.0 (/)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Problem building mirage app
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: base64
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGkgVGhvbWFzLAoKWWVzLCB0aGUgcHJvYmxlbSB3YXMgcmVsYXRlZCB0byB0aGUgaW5zdGFsbGVk
IE1pcmFnZSB2ZXJzaW9uICgyLjQuMCksIEkgCnVwZ3JhZGVkIGl0ICgyLjUuMCkgYW5kIGl0J3Mg
d29ya2luZyBub3csIHRoYW5rcy4KCk9uIDI4LzA1LzE1IDIyOjM5LCBUaG9tYXMgTGVvbmFyZCB3
cm90ZToKPiBPbiAyOCBNYXkgMjAxNSBhdCAyMjowOCwgTHVpcyBPdmllZG8gR2FyY8OtYSA8cHN4
bGNvQG5vdHRpbmdoYW0uYWMudWs+IHdyb3RlOgo+PiBIaSwKPj4KPj4gV2UgYXJlIHRyeWluZyB0
byBidWlsZCBhIG1pcmFnZS14ZW4gYXBwbGlhbmNlIGJ1dCB0aGUgZm9sbG93aW5nIGVycm9yIGlz
IGdvdAo+PiB3aGVuIGJ1aWxkaW5nOgo+PiAibGQ6IGNhbm5vdCBmaW5kIC1sZ21wLXhlbiIKPj4g
RG8geW91IGhhdmUgYW55IGlkZWFzIGhvdyB0byBzb2x2ZSB0aGlzPwo+PiBUaGFua3MKPiBXaGF0
IHZlcnNpb25zIG9mIG1pcmFnZSwgdGN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BzdGlsbCBjb250YWluIHNvZnR3YXJlIHZpcnVzZXMgd2hpY2ggY291
bGQgZGFtYWdlIHlvdXIKY29tcHV0ZXIgc3lzdGVtLCB5b3UgYXJlIGFkdmlzZWQgdG8gcGVyZm9y
bSB5b3VyIG93biBjaGVja3MuIEVtYWlsCmNvbW11bmljYXRpb25zIHdpdGggdGhlIFVuaXZlcnNp
dHkgb2YgTm90dGluZ2hhbSBtYXkgYmUgbW9uaXRvcmVkIGFzCnBlcm1pdHRlZCBieSBVSyBsZWdp
c2xhdGlvbi4KCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
XwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKTWlyYWdlT1MtZGV2ZWxAbGlzdHMueGVucHJv
amVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0
aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 10:06:41 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 10:06:41 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyHBW-0005JR-JJ; Fri, 29 May 2015 10:06:38 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <kosmo.zb@gmail.com>) id 1YyHBV-0005JM-O9
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 10:06:37 +0000
Received: from [193.109.254.147] by server-3.bemta-14.messagelabs.com id
	7D/B4-18676-D2A38655; Fri, 29 May 2015 10:06:37 +0000
X-Env-Sender: kosmo.zb@gmail.com
X-Msg-Ref: server-11.tower-27.messagelabs.com!1432893995!12389408!1
X-Originating-IP: [209.85.160.181]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 3419 invoked from network); 29 May 2015 10:06:36 -0000
Received: from mail-yk0-f181.google.com (HELO mail-yk0-f181.google.com)
	(209.85.160.181)
	by server-11.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	29 May 2015 10:06:36 -0000
Received: by yked142 with SMTP id d142so20967073yke.3
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 29 May 2015 03:06:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=wcf/NzX2qbh6ffq5Z9FmGC64O5mmSkRliaQJjGlj+Eo=;
	b=Efk1wx5fxry4c5QmezwDRmlMJcxeSTsgHznEElcBwVXF/s8gW9sasHJ4KBa26lBtDi
	Mf75IiuAcUoDvORHTCdbSoWMmViyNnOCzkq70qeBIxNRnIW2cl0dRm6JK7kyySBMX80J
	7S6q257eb5bG54quRvuURQEthZvoaFY6loR8ECjvUyJ+8GlTuXEhEI3XcBS1OkS5Ekp2
	OjyOg0IN7LIOGUr6t/c+kc/1KljIS1LBpUUfFYDSy5nV6pi3m/G0V9lb1yx1xQZ4UL+G
	IZV6sgr1OZOOMQEDNK3Ekn6/rEjrWGWXN1bpNhIoMAJFvh5gnvetNlpsnkIm+Kg7vY9s
	XC4A==
MIME-Version: 1.0
X-Received: by 10.236.31.98 with SMTP id l62mr7439725yha.110.1432893995210;
	Fri, 29 May 2015 03:06:35 -0700 (PDT)
Received: by 10.13.223.71 with HTTP; Fri, 29 May 2015 03:06:35 -0700 (PDT)
In-Reply-To: <E0D0B7EA-6751-4A51-8765-726556195D2F@supercoders.com.au>
References: <E0D0B7EA-6751-4A51-8765-726556195D2F@supercoders.com.au>
Date: Fri, 29 May 2015 11:06:35 +0100
X-Google-Sender-Auth: b0jNHyinUzQnlJ_BTT79Lf1ACWA
Message-ID: <CAAWM5TwVtO5COKfpPpZ_=nNSvrTM+uUXWw9ntMvTnpFhW3XeBA@mail.gmail.com>
From: David Sheets <sheets@alum.mit.edu>
To: Andrew Stuart <andrew.stuart@supercoders.com.au>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Web server MIME types / content types
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On Fri, May 29, 2015 at 7:24 AM, Andrew Stuart
<andrew.stuart@supercoders.com.au> wrote:
> It appears that the web server is not specifying the correct content types when serving files.

Which version of which web server are you using?

> Am I correct or do I have things misconfigured?

What are you serving and what media type is being set?

> If the content types are not being served correctly, is there an alternative web server for MirageOS that sets the content types correctly?

Perhaps. What configuration are you using?

> thanks!
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 10:06:41 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 10:06:41 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyHBW-0005JR-JJ; Fri, 29 May 2015 10:06:38 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <kosmo.zb@gmail.com>) id 1YyHBV-0005JM-O9
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 10:06:37 +0000
Received: from [193.109.254.147] by server-3.bemta-14.messagelabs.com id
	7D/B4-18676-D2A38655; Fri, 29 May 2015 10:06:37 +0000
X-Env-Sender: kosmo.zb@gmail.com
X-Msg-Ref: server-11.tower-27.messagelabs.com!1432893995!12389408!1
X-Originating-IP: [209.85.160.181]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 3419 invoked from network); 29 May 2015 10:06:36 -0000
Received: from mail-yk0-f181.google.com (HELO mail-yk0-f181.google.com)
	(209.85.160.181)
	by server-11.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	29 May 2015 10:06:36 -0000
Received: by yked142 with SMTP id d142so20967073yke.3
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 29 May 2015 03:06:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=wcf/NzX2qbh6ffq5Z9FmGC64O5mmSkRliaQJjGlj+Eo=;
	b=Efk1wx5fxry4c5QmezwDRmlMJcxeSTsgHznEElcBwVXF/s8gW9sasHJ4KBa26lBtDi
	Mf75IiuAcUoDvORHTCdbSoWMmViyNnOCzkq70qeBIxNRnIW2cl0dRm6JK7kyySBMX80J
	7S6q257eb5bG54quRvuURQEthZvoaFY6loR8ECjvUyJ+8GlTuXEhEI3XcBS1OkS5Ekp2
	OjyOg0IN7LIOGUr6t/c+kc/1KljIS1LBpUUfFYDSy5nV6pi3m/G0V9lb1yx1xQZ4UL+G
	IZV6sgr1OZOOMQEDNK3Ekn6/rEjrWGWXN1bpNhIoMAJFvh5gnvetNlpsnkIm+Kg7vY9s
	XC4A==
MIME-Version: 1.0
X-Received: by 10.236.31.98 with SMTP id l62mr7439725yha.110.1432893995210;
	Fri, 29 May 2015 03:06:35 -0700 (PDT)
Received: by 10.13.223.71 with HTTP; Fri, 29 May 2015 03:06:35 -0700 (PDT)
In-Reply-To: <E0D0B7EA-6751-4A51-8765-726556195D2F@supercoders.com.au>
References: <E0D0B7EA-6751-4A51-8765-726556195D2F@supercoders.com.au>
Date: Fri, 29 May 2015 11:06:35 +0100
X-Google-Sender-Auth: b0jNHyinUzQnlJ_BTT79Lf1ACWA
Message-ID: <CAAWM5TwVtO5COKfpPpZ_=nNSvrTM+uUXWw9ntMvTnpFhW3XeBA@mail.gmail.com>
From: David Sheets <sheets@alum.mit.edu>
To: Andrew Stuart <andrew.stuart@supercoders.com.au>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Web server MIME types / content types
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On Fri, May 29, 2015 at 7:24 AM, Andrew Stuart
<andrew.stuart@supercoders.com.au> wrote:
> It appears that the web server is not specifying the correct content types when serving files.

Which version of which web server are you using?

> Am I correct or do I have things misconfigured?

What are you serving and what media type is being set?

> If the content types are not being served correctly, is there an alternative web server for MirageOS that sets the content types correctly?

Perhaps. What configuration are you using?

> thanks!
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 10:50:15 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 10:50:15 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyHrb-0002w3-Cu; Fri, 29 May 2015 10:50:07 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1YyHra-0002vq-7Z
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 10:50:06 +0000
Received: from [85.158.137.68] by server-13.bemta-3.messagelabs.com id
	9E/3D-11060-D5448655; Fri, 29 May 2015 10:50:05 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-3.tower-31.messagelabs.com!1432896603!11298935!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 1977 invoked from network); 29 May 2015 10:50:04 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-3.tower-31.messagelabs.com with SMTP;
	29 May 2015 10:50:04 -0000
Received: from [192.168.1.103] (CPE-124-188-3-229.dccz1.win.bigpond.net.au
	[124.188.3.229])
	by mail.supercoders.com.au (Postfix) with ESMTPS id 5D9E66009D;
	Fri, 29 May 2015 10:50:02 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
In-Reply-To: <CAAWM5TwVtO5COKfpPpZ_=nNSvrTM+uUXWw9ntMvTnpFhW3XeBA@mail.gmail.com>
Date: Fri, 29 May 2015 20:49:59 +1000
Message-Id: <2D4CDABE-F35A-40A2-9685-B4CC9DD24135@supercoders.com.au>
References: <E0D0B7EA-6751-4A51-8765-726556195D2F@supercoders.com.au>
	<CAAWM5TwVtO5COKfpPpZ_=nNSvrTM+uUXWw9ntMvTnpFhW3XeBA@mail.gmail.com>
To: David Sheets <sheets@alum.mit.edu>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Web server MIME types / content types
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
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UUC8xLjEgMjAwIE9L
CkhUVFAvMS4xIDIwMCBPSwo8IGNvbnRlbnQtbGVuZ3RoOiAyMTI4MQpjb250ZW50LWxlbmd0aDog
MjEyODEKCjwKPGh0bWwgPgogPGhlYWQ+CgoKCgoKX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX18KTWlyYWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9T
LWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9j
Z2ktYmluL21haWxtYW4vbGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 10:50:15 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 10:50:15 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyHrb-0002w3-Cu; Fri, 29 May 2015 10:50:07 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1YyHra-0002vq-7Z
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 10:50:06 +0000
Received: from [85.158.137.68] by server-13.bemta-3.messagelabs.com id
	9E/3D-11060-D5448655; Fri, 29 May 2015 10:50:05 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-3.tower-31.messagelabs.com!1432896603!11298935!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 1977 invoked from network); 29 May 2015 10:50:04 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-3.tower-31.messagelabs.com with SMTP;
	29 May 2015 10:50:04 -0000
Received: from [192.168.1.103] (CPE-124-188-3-229.dccz1.win.bigpond.net.au
	[124.188.3.229])
	by mail.supercoders.com.au (Postfix) with ESMTPS id 5D9E66009D;
	Fri, 29 May 2015 10:50:02 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
In-Reply-To: <CAAWM5TwVtO5COKfpPpZ_=nNSvrTM+uUXWw9ntMvTnpFhW3XeBA@mail.gmail.com>
Date: Fri, 29 May 2015 20:49:59 +1000
Message-Id: <2D4CDABE-F35A-40A2-9685-B4CC9DD24135@supercoders.com.au>
References: <E0D0B7EA-6751-4A51-8765-726556195D2F@supercoders.com.au>
	<CAAWM5TwVtO5COKfpPpZ_=nNSvrTM+uUXWw9ntMvTnpFhW3XeBA@mail.gmail.com>
To: David Sheets <sheets@alum.mit.edu>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Web server MIME types / content types
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Pj4gV2hpY2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LWxlbmd0aDog
MjEyODEKCjwKPGh0bWwgPgogPGhlYWQ+CgoKCgoKX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX18KTWlyYWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9T
LWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9j
Z2ktYmluL21haWxtYW4vbGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 11:01:49 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 11:01:49 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyI2t-0004XJ-3M; Fri, 29 May 2015 11:01:47 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <a.m.ismail@aucegypt.edu>) id 1YyI2r-0004XE-Kt
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 11:01:45 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	48/1F-10437-81748655; Fri, 29 May 2015 11:01:44 +0000
X-Env-Sender: a.m.ismail@aucegypt.edu
X-Msg-Ref: server-10.tower-31.messagelabs.com!1432897302!11227891!1
X-Originating-IP: [209.85.212.182]
X-SpamReason: No, hits=1.2 required=7.0 tests=HTML_20_30,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 6699 invoked from network); 29 May 2015 11:01:43 -0000
Received: from mail-wi0-f182.google.com (HELO mail-wi0-f182.google.com)
	(209.85.212.182)
	by server-10.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	29 May 2015 11:01:43 -0000
Received: by wizo1 with SMTP id o1so18868845wiz.1
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 29 May 2015 04:01:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aucegypt.edu; s=apps;
	h=mime-version:date:message-id:subject:from:to:content-type;
	bh=pmsNZ6XxW4QBl/jadU4IjLX3ls90RaXWPnXshVe+kjU=;
	b=J/KoROCZFr/FukoJ/GdbhfbwRKLurkKl6nAKWbzItK2Qdk4ZQcUiZlaGsT3i7+WACO
	B7r/AJvAkk3hqnyc5AA91ZzxXKvQV7oObSA6C7dQ66xbEMZgePe+1hk/S7Hi1xs8qqCp
	pVNFqPFcuKdZkOM56KaGUkxxTht0pQqOzcdh4=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:date:message-id:subject:from:to
	:content-type;
	bh=pmsNZ6XxW4QBl/jadU4IjLX3ls90RaXWPnXshVe+kjU=;
	b=ZScHHSQvcw1mEb+iIw3NI/BZl75HWz3hIx0/OfTRfoPMnWZ2eUcOLHezzyN34NqQS4
	okiOJFTmdsZD6SBpnzTkO1PskoGDHxZlqil3HSeKBvst4czrkW99Czn52Dwvb7hiySxO
	eOqFZG9B+Dxa6ADegcLh0FW5sYKQVJPKX4c18Y1kEQaOn3VFjw9ZMlTgdh8/Ups8ibmh
	u/AHZw9Z5TW9AyypQUcEy25A8R4QS504CA4YmHJ99aF83LgXHWeAd+GbcaSeyB+ZRQ76
	DFEimdwj9Q6SfBmjrEJxVFXAw15ithGkJ9Jy8cER1lxayXLyJOxumW4pLWNNHiXZ9jcL
	sT6Q==
X-Gm-Message-State: ALoCoQm7pwywe8o0Vw57yOePIkE5cWLRhSqq/nqrSAEzEV1kemKH0SdNjnMeVkzvJrJ0pyW1plgq
MIME-Version: 1.0
X-Received: by 10.181.8.199 with SMTP id dm7mr5320740wid.88.1432897302406;
	Fri, 29 May 2015 04:01:42 -0700 (PDT)
Received: by 10.194.174.138 with HTTP; Fri, 29 May 2015 04:01:42 -0700 (PDT)
Date: Fri, 29 May 2015 13:01:42 +0200
Message-ID: <CACUqk8EnaAg=mkFsy2+Qf9JorSVx3n5=X6TsP8F2Fo6PW7g=_A@mail.gmail.com>
From: Ahmed Ismail <a.m.ismail@aucegypt.edu>
To: mirageos-devel@lists.xenproject.org
Subject: [MirageOS-devel] CT 'xl create' - Loops and Device Model
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============7203621600844167130=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============7203621600844167130==
Content-Type: multipart/alternative; boundary=001a1134cd60b5c0420517366697

--001a1134cd60b5c0420517366697
Content-Type: text/plain; charset=UTF-8

Hello,

I hope you're all having a wonderful day.

I was following the tutorial on openmirage, specifically at [1], when I
faced a few problems at the Linux DomU part.
The only differences between the tutorial and how I went about it is in my
choice for some variables i.e. hostname, ssh settings, etc.
1- Using the "/root/dom0_kernel" zImage, running xl create causes it to
enter an endless loop. All I get back is:
```
mirage@cubietruck:/media/disk$ sudo xl create domU_test -c
Parsing config from domU_test
```

'sudo xl list' shows that the guest is in a paused state.
Unpausing it, the guest enters a sort of limbo (no state present, just
dashes).
```
mirage@cubietruck:/media/disk$ sudo xl unpause Ubuntu-14.04
mirage@cubietruck:/media/disk$ sudo xl list
Name                                        ID   Mem VCPUs State Time(s)
(null)                                       0   512     2     r-----
18273.1
Ubuntu-14.04                                21   512     2     ------
4.4
```
2- Compiling the linux kernel seperately using gcc-4.9 on the CT, and
changing the cfg file to use the zImage kernel instead I get the following
error:
```
mirage@cubietruck:/media/disk$ sudo xl create -c XenGuest2.cfg
Parsing config from XenGuest2.cfg
libxl: error: libxl_dm.c:1388:device_model_spawn_outcome: domain 5 device
model: spawn failed (rc=-3)
libxl: error: libxl_create.c:1186:domcreate_devmodel_started: device model
did not start: -3
libxl: error: libxl_dm.c:1492:kill_device_model: Device Model already exited
```

Currently, my cfg file looks like this:
```
device_model_version = "qemu-xen"
device_model_override = "/usr/bin/qemu-arm-static"
kernel = "/media/disk/zImage"
memory = 512
name = "Test"
vcpus = 2
serial="pty"
disk = [ 'phy:/media/disk/XenGuest2.img,xvda1,w',
'phy:/media/disk/XenGuest2.swap,xvda2,w']
vif = ['bridge=xenbr0']
root = "/dev/xvda1 ro"
#extra = 'console=hvc0 xencons=tty root=/dev/xvda1'
```
But I've messed with it quite a bit, changing the device_model_override
value, disk and root/extra options.

Has anyone successfully created Xen guests on the cubietruck?
Care to share how you went about getting it to work?

Note: The unikernels work fine.

Thanks in advance.
-- 
Ahmed

--001a1134cd60b5c0420517366697
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello,<div><br></div><div>I hope you&#39;re all having a w=
onderful day.</div><div><br></div><div>I was following the tutorial on open=
mirage, specifically at [1], when I faced a few problems at the Linux DomU =
part.=C2=A0</div><div>The only differences between the tutorial and how I w=
ent about it is in my choice for some variables i.e. hostname, ssh settings=
, etc.=C2=A0</div><div>1- Using the &quot;/root/dom0_kernel&quot; zImage, r=
unning xl create causes it to enter an endless loop. All I get back is:</di=
v><div>```<br></div><div><div>mirage@cubietruck:/media/disk$ sudo xl create=
 domU_test -c</div><div>Parsing config from domU_test</div></div><div>```<b=
r></div><div><br></div><div>&#39;sudo xl list&#39; shows that the guest is =
in a paused state.=C2=A0</div><div>Unpausing it, the guest enters a sort of=
 limbo (no state present, just dashes).</div><div>```</div><div><div>mirage=
@cubietruck:/media/disk$ sudo xl unpause Ubuntu-14.04</div><div>mirage@cubi=
etruck:/media/disk$ sudo xl list</div><div>Name =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ID =C2=A0 Mem VCPUs<span style=3D"whi=
te-space:pre-wrap">	</span>State<span style=3D"white-space:pre-wrap">	</spa=
n>Time(s)</div><div>(null) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 0 =C2=A0 512 =C2=A0 =C2=A0 2 =C2=A0 =C2=A0 r----- =C2=A0 18273.1=
</div><div>Ubuntu-14.04 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A021 =C2=A0 512=
 =C2=A0 =C2=A0 2 =C2=A0 =C2=A0 ------ =C2=A0 =C2=A0 =C2=A0 4.4</div></div><=
div>```</div><div>2- Compiling the linux kernel seperately using gcc-4.9 on=
 the CT, and changing the cfg file to use the zImage kernel instead I get t=
he following error:</div><div>```</div><div><div>mirage@cubietruck:/media/d=
isk$ sudo xl create -c XenGuest2.cfg</div><div>Parsing config from XenGuest=
2.cfg</div><div>libxl: error: libxl_dm.c:1388:device_model_spawn_outcome: d=
omain 5 device model: spawn failed (rc=3D-3)</div><div>libxl: error: libxl_=
create.c:1186:domcreate_devmodel_started: device model did not start: -3</d=
iv><div>libxl: error: libxl_dm.c:1492:kill_device_model: Device Model alrea=
dy exited</div></div><div>```</div><div><br></div><div>Currently, my cfg fi=
le looks like this:</div><div>```</div><div><div>device_model_version =3D &=
quot;qemu-xen&quot;</div><div>device_model_override =3D &quot;/usr/bin/qemu=
-arm-static&quot;</div><div>kernel =3D &quot;/media/disk/zImage&quot;</div>=
<div>memory =3D 512</div><div>name =3D &quot;Test&quot;</div><div>vcpus =3D=
 2</div><div>serial=3D&quot;pty&quot;</div><div>disk =3D [ &#39;phy:/media/=
disk/XenGuest2.img,xvda1,w&#39;, &#39;phy:/media/disk/XenGuest2.swap,xvda2,=
w&#39;]</div><div>vif =3D [&#39;bridge=3Dxenbr0&#39;]</div><div>root =3D &q=
uot;/dev/xvda1 ro&quot;</div><div>#extra =3D &#39;console=3Dhvc0 xencons=3D=
tty root=3D/dev/xvda1&#39;</div><div>```</div></div><div>But I&#39;ve messe=
d with it quite a bit, changing the device_model_override value, disk and r=
oot/extra options.</div><div><br></div><div>Has anyone successfully created=
 Xen guests on the cubietruck?</div><div>Care to share how you went about g=
etting it to work?</div><div><br></div><div>Note: The unikernels work fine.=
</div><div><br></div><div>Thanks in advance.</div><div>-- <br><div><div dir=
=3D"ltr"><div><div dir=3D"ltr">Ahmed</div></div></div></div>
</div></div>

--001a1134cd60b5c0420517366697--


--===============7203621600844167130==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============7203621600844167130==--


From mirageos-devel-bounces@lists.xenproject.org Fri May 29 11:01:49 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 11:01:49 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyI2t-0004XJ-3M; Fri, 29 May 2015 11:01:47 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <a.m.ismail@aucegypt.edu>) id 1YyI2r-0004XE-Kt
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 11:01:45 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	48/1F-10437-81748655; Fri, 29 May 2015 11:01:44 +0000
X-Env-Sender: a.m.ismail@aucegypt.edu
X-Msg-Ref: server-10.tower-31.messagelabs.com!1432897302!11227891!1
X-Originating-IP: [209.85.212.182]
X-SpamReason: No, hits=1.2 required=7.0 tests=HTML_20_30,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 6699 invoked from network); 29 May 2015 11:01:43 -0000
Received: from mail-wi0-f182.google.com (HELO mail-wi0-f182.google.com)
	(209.85.212.182)
	by server-10.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	29 May 2015 11:01:43 -0000
Received: by wizo1 with SMTP id o1so18868845wiz.1
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 29 May 2015 04:01:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aucegypt.edu; s=apps;
	h=mime-version:date:message-id:subject:from:to:content-type;
	bh=pmsNZ6XxW4QBl/jadU4IjLX3ls90RaXWPnXshVe+kjU=;
	b=J/KoROCZFr/FukoJ/GdbhfbwRKLurkKl6nAKWbzItK2Qdk4ZQcUiZlaGsT3i7+WACO
	B7r/AJvAkk3hqnyc5AA91ZzxXKvQV7oObSA6C7dQ66xbEMZgePe+1hk/S7Hi1xs8qqCp
	pVNFqPFcuKdZkOM56KaGUkxxTht0pQqOzcdh4=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:date:message-id:subject:from:to
	:content-type;
	bh=pmsNZ6XxW4QBl/jadU4IjLX3ls90RaXWPnXshVe+kjU=;
	b=ZScHHSQvcw1mEb+iIw3NI/BZl75HWz3hIx0/OfTRfoPMnWZ2eUcOLHezzyN34NqQS4
	okiOJFTmdsZD6SBpnzTkO1PskoGDHxZlqil3HSeKBvst4czrkW99Czn52Dwvb7hiySxO
	eOqFZG9B+Dxa6ADegcLh0FW5sYKQVJPKX4c18Y1kEQaOn3VFjw9ZMlTgdh8/Ups8ibmh
	u/AHZw9Z5TW9AyypQUcEy25A8R4QS504CA4YmHJ99aF83LgXHWeAd+GbcaSeyB+ZRQ76
	DFEimdwj9Q6SfBmjrEJxVFXAw15ithGkJ9Jy8cER1lxayXLyJOxumW4pLWNNHiXZ9jcL
	sT6Q==
X-Gm-Message-State: ALoCoQm7pwywe8o0Vw57yOePIkE5cWLRhSqq/nqrSAEzEV1kemKH0SdNjnMeVkzvJrJ0pyW1plgq
MIME-Version: 1.0
X-Received: by 10.181.8.199 with SMTP id dm7mr5320740wid.88.1432897302406;
	Fri, 29 May 2015 04:01:42 -0700 (PDT)
Received: by 10.194.174.138 with HTTP; Fri, 29 May 2015 04:01:42 -0700 (PDT)
Date: Fri, 29 May 2015 13:01:42 +0200
Message-ID: <CACUqk8EnaAg=mkFsy2+Qf9JorSVx3n5=X6TsP8F2Fo6PW7g=_A@mail.gmail.com>
From: Ahmed Ismail <a.m.ismail@aucegypt.edu>
To: mirageos-devel@lists.xenproject.org
Subject: [MirageOS-devel] CT 'xl create' - Loops and Device Model
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============7203621600844167130=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============7203621600844167130==
Content-Type: multipart/alternative; boundary=001a1134cd60b5c0420517366697

--001a1134cd60b5c0420517366697
Content-Type: text/plain; charset=UTF-8

Hello,

I hope you're all having a wonderful day.

I was following the tutorial on openmirage, specifically at [1], when I
faced a few problems at the Linux DomU part.
The only differences between the tutorial and how I went about it is in my
choice for some variables i.e. hostname, ssh settings, etc.
1- Using the "/root/dom0_kernel" zImage, running xl create causes it to
enter an endless loop. All I get back is:
```
mirage@cubietruck:/media/disk$ sudo xl create domU_test -c
Parsing config from domU_test
```

'sudo xl list' shows that the guest is in a paused state.
Unpausing it, the guest enters a sort of limbo (no state present, just
dashes).
```
mirage@cubietruck:/media/disk$ sudo xl unpause Ubuntu-14.04
mirage@cubietruck:/media/disk$ sudo xl list
Name                                        ID   Mem VCPUs State Time(s)
(null)                                       0   512     2     r-----
18273.1
Ubuntu-14.04                                21   512     2     ------
4.4
```
2- Compiling the linux kernel seperately using gcc-4.9 on the CT, and
changing the cfg file to use the zImage kernel instead I get the following
error:
```
mirage@cubietruck:/media/disk$ sudo xl create -c XenGuest2.cfg
Parsing config from XenGuest2.cfg
libxl: error: libxl_dm.c:1388:device_model_spawn_outcome: domain 5 device
model: spawn failed (rc=-3)
libxl: error: libxl_create.c:1186:domcreate_devmodel_started: device model
did not start: -3
libxl: error: libxl_dm.c:1492:kill_device_model: Device Model already exited
```

Currently, my cfg file looks like this:
```
device_model_version = "qemu-xen"
device_model_override = "/usr/bin/qemu-arm-static"
kernel = "/media/disk/zImage"
memory = 512
name = "Test"
vcpus = 2
serial="pty"
disk = [ 'phy:/media/disk/XenGuest2.img,xvda1,w',
'phy:/media/disk/XenGuest2.swap,xvda2,w']
vif = ['bridge=xenbr0']
root = "/dev/xvda1 ro"
#extra = 'console=hvc0 xencons=tty root=/dev/xvda1'
```
But I've messed with it quite a bit, changing the device_model_override
value, disk and root/extra options.

Has anyone successfully created Xen guests on the cubietruck?
Care to share how you went about getting it to work?

Note: The unikernels work fine.

Thanks in advance.
-- 
Ahmed

--001a1134cd60b5c0420517366697
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello,<div><br></div><div>I hope you&#39;re all having a w=
onderful day.</div><div><br></div><div>I was following the tutorial on open=
mirage, specifically at [1], when I faced a few problems at the Linux DomU =
part.=C2=A0</div><div>The only differences between the tutorial and how I w=
ent about it is in my choice for some variables i.e. hostname, ssh settings=
, etc.=C2=A0</div><div>1- Using the &quot;/root/dom0_kernel&quot; zImage, r=
unning xl create causes it to enter an endless loop. All I get back is:</di=
v><div>```<br></div><div><div>mirage@cubietruck:/media/disk$ sudo xl create=
 domU_test -c</div><div>Parsing config from domU_test</div></div><div>```<b=
r></div><div><br></div><div>&#39;sudo xl list&#39; shows that the guest is =
in a paused state.=C2=A0</div><div>Unpausing it, the guest enters a sort of=
 limbo (no state present, just dashes).</div><div>```</div><div><div>mirage=
@cubietruck:/media/disk$ sudo xl unpause Ubuntu-14.04</div><div>mirage@cubi=
etruck:/media/disk$ sudo xl list</div><div>Name =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ID =C2=A0 Mem VCPUs<span style=3D"whi=
te-space:pre-wrap">	</span>State<span style=3D"white-space:pre-wrap">	</spa=
n>Time(s)</div><div>(null) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 0 =C2=A0 512 =C2=A0 =C2=A0 2 =C2=A0 =C2=A0 r----- =C2=A0 18273.1=
</div><div>Ubuntu-14.04 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A021 =C2=A0 512=
 =C2=A0 =C2=A0 2 =C2=A0 =C2=A0 ------ =C2=A0 =C2=A0 =C2=A0 4.4</div></div><=
div>```</div><div>2- Compiling the linux kernel seperately using gcc-4.9 on=
 the CT, and changing the cfg file to use the zImage kernel instead I get t=
he following error:</div><div>```</div><div><div>mirage@cubietruck:/media/d=
isk$ sudo xl create -c XenGuest2.cfg</div><div>Parsing config from XenGuest=
2.cfg</div><div>libxl: error: libxl_dm.c:1388:device_model_spawn_outcome: d=
omain 5 device model: spawn failed (rc=3D-3)</div><div>libxl: error: libxl_=
create.c:1186:domcreate_devmodel_started: device model did not start: -3</d=
iv><div>libxl: error: libxl_dm.c:1492:kill_device_model: Device Model alrea=
dy exited</div></div><div>```</div><div><br></div><div>Currently, my cfg fi=
le looks like this:</div><div>```</div><div><div>device_model_version =3D &=
quot;qemu-xen&quot;</div><div>device_model_override =3D &quot;/usr/bin/qemu=
-arm-static&quot;</div><div>kernel =3D &quot;/media/disk/zImage&quot;</div>=
<div>memory =3D 512</div><div>name =3D &quot;Test&quot;</div><div>vcpus =3D=
 2</div><div>serial=3D&quot;pty&quot;</div><div>disk =3D [ &#39;phy:/media/=
disk/XenGuest2.img,xvda1,w&#39;, &#39;phy:/media/disk/XenGuest2.swap,xvda2,=
w&#39;]</div><div>vif =3D [&#39;bridge=3Dxenbr0&#39;]</div><div>root =3D &q=
uot;/dev/xvda1 ro&quot;</div><div>#extra =3D &#39;console=3Dhvc0 xencons=3D=
tty root=3D/dev/xvda1&#39;</div><div>```</div></div><div>But I&#39;ve messe=
d with it quite a bit, changing the device_model_override value, disk and r=
oot/extra options.</div><div><br></div><div>Has anyone successfully created=
 Xen guests on the cubietruck?</div><div>Care to share how you went about g=
etting it to work?</div><div><br></div><div>Note: The unikernels work fine.=
</div><div><br></div><div>Thanks in advance.</div><div>-- <br><div><div dir=
=3D"ltr"><div><div dir=3D"ltr">Ahmed</div></div></div></div>
</div></div>

--001a1134cd60b5c0420517366697--


--===============7203621600844167130==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============7203621600844167130==--


From mirageos-devel-bounces@lists.xenproject.org Fri May 29 11:09:48 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 11:09:48 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyIAW-0005TU-Sd; Fri, 29 May 2015 11:09:40 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <a.m.ismail@aucegypt.edu>) id 1YyIAV-0005TP-3n
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 11:09:39 +0000
Received: from [85.158.139.211] by server-17.bemta-5.messagelabs.com id
	E0/6C-05057-2F848655; Fri, 29 May 2015 11:09:38 +0000
X-Env-Sender: a.m.ismail@aucegypt.edu
X-Msg-Ref: server-12.tower-206.messagelabs.com!1432897777!13698426!1
X-Originating-IP: [209.85.212.175]
X-SpamReason: No, hits=0.4 required=7.0 tests=HTML_30_40,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 14695 invoked from network); 29 May 2015 11:09:37 -0000
Received: from mail-wi0-f175.google.com (HELO mail-wi0-f175.google.com)
	(209.85.212.175)
	by server-12.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	29 May 2015 11:09:37 -0000
Received: by wizo1 with SMTP id o1so19128054wiz.1
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 29 May 2015 04:09:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aucegypt.edu; s=apps;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:content-type; bh=VkwtKJYDnSSRwhdyjhv0HEOdjpNT718gVNQ4oLbeX7s=;
	b=p7X6Kr4/eX2okMKNo161Kes8M1kI2HqNeiwsi2r4ql+FFu1LY9N+BRHCZ47Hp1kK7g
	SO/vyXYHnxT1NFoKMUNfM8Xqcy6HVZzrFG+NoRpgpqhPMn9SZDcgt1aIL162zKq0IayL
	zRBN3Ry+PzBsJFfhC66EolPykDlsYQ7KD8yB0=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type;
	bh=VkwtKJYDnSSRwhdyjhv0HEOdjpNT718gVNQ4oLbeX7s=;
	b=Ac0zRkE81VRFpCCm0FQqdQbYnRJVJ3D7X/DhX5VmlT6/2vAf5Y4/Q8sFBFIZQeN96U
	jJc4Dj0DV6XoQXfP1a8bCURbGBpV/fTcAUn+L7bO2cRh8tXJqgY955mWHqEO/1bmswsd
	59IudK29xOfVNDTgjezpNMWszeS7J0v0msyHR/hvx+LW/PhafC67t3P3OgVgJuuRKO9t
	8zjUzzXwHiqQnm+oSVYroKOvN7lMacYHIfKNRNPBFXfVzCZK553WhyPDFViSPWC1jhgc
	p7lq+F99pDnq/wxTZBMXgBJjb+yNGYK43OMvKvdLeGDdBjLoGP6Equig/WOjHlwXNe8c
	eCaw==
X-Gm-Message-State: ALoCoQkgLfYB1GQSMbdjTZzYHNpFcfcd8qhR/Gy396TGbCaex1n5Z1AKGtEgihPXR5cdbAViKfba
MIME-Version: 1.0
X-Received: by 10.180.77.136 with SMTP id s8mr5321422wiw.7.1432897776978; Fri,
	29 May 2015 04:09:36 -0700 (PDT)
Received: by 10.194.174.138 with HTTP; Fri, 29 May 2015 04:09:36 -0700 (PDT)
In-Reply-To: <CACUqk8EnaAg=mkFsy2+Qf9JorSVx3n5=X6TsP8F2Fo6PW7g=_A@mail.gmail.com>
References: <CACUqk8EnaAg=mkFsy2+Qf9JorSVx3n5=X6TsP8F2Fo6PW7g=_A@mail.gmail.com>
Date: Fri, 29 May 2015 13:09:36 +0200
Message-ID: <CACUqk8Hm14UwSFXpaWAEAHNo_OG5NnviXVdUWsMAdVmKbXNzSQ@mail.gmail.com>
From: Ahmed Ismail <a.m.ismail@aucegypt.edu>
To: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] CT 'xl create' - Loops and Device Model
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============2230279267877715780=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============2230279267877715780==
Content-Type: multipart/alternative; boundary=f46d043c80eeff261f05173682f4

--f46d043c80eeff261f05173682f4
Content-Type: text/plain; charset=UTF-8

Whoops!
Missed a few things. Sorry, it's been a long week.
1- [1] is http://openmirage.org/wiki/xen-on-cubieboard2
2- The Xen Guest used in 1 was using a debootstrapped image on
vg0/linux-guest-1 to follow [1] precisely; I was also messing with a
debootstrapped .img file on /media/disk.
3- The Xen Guest used in the second attempt was a debootstrapped image on
/media/disk with a formatted swap image, both of which were on /media/disk.

Cheers,

On Fri, May 29, 2015 at 1:01 PM, Ahmed Ismail <a.m.ismail@aucegypt.edu>
wrote:

> Hello,
>
> I hope you're all having a wonderful day.
>
> I was following the tutorial on openmirage, specifically at [1], when I
> faced a few problems at the Linux DomU part.
> The only differences between the tutorial and how I went about it is in my
> choice for some variables i.e. hostname, ssh settings, etc.
> 1- Using the "/root/dom0_kernel" zImage, running xl create causes it to
> enter an endless loop. All I get back is:
> ```
> mirage@cubietruck:/media/disk$ sudo xl create domU_test -c
> Parsing config from domU_test
> ```
>
> 'sudo xl list' shows that the guest is in a paused state.
> Unpausing it, the guest enters a sort of limbo (no state present, just
> dashes).
> ```
> mirage@cubietruck:/media/disk$ sudo xl unpause Ubuntu-14.04
> mirage@cubietruck:/media/disk$ sudo xl list
> Name                                        ID   Mem VCPUs State Time(s)
> (null)                                       0   512     2     r-----
> 18273.1
> Ubuntu-14.04                                21   512     2     ------
>   4.4
> ```
> 2- Compiling the linux kernel seperately using gcc-4.9 on the CT, and
> changing the cfg file to use the zImage kernel instead I get the following
> error:
> ```
> mirage@cubietruck:/media/disk$ sudo xl create -c XenGuest2.cfg
> Parsing config from XenGuest2.cfg
> libxl: error: libxl_dm.c:1388:device_model_spawn_outcome: domain 5 device
> model: spawn failed (rc=-3)
> libxl: error: libxl_create.c:1186:domcreate_devmodel_started: device model
> did not start: -3
> libxl: error: libxl_dm.c:1492:kill_device_model: Device Model already
> exited
> ```
>
> Currently, my cfg file looks like this:
> ```
> device_model_version = "qemu-xen"
> device_model_override = "/usr/bin/qemu-arm-static"
> kernel = "/media/disk/zImage"
> memory = 512
> name = "Test"
> vcpus = 2
> serial="pty"
> disk = [ 'phy:/media/disk/XenGuest2.img,xvda1,w',
> 'phy:/media/disk/XenGuest2.swap,xvda2,w']
> vif = ['bridge=xenbr0']
> root = "/dev/xvda1 ro"
> #extra = 'console=hvc0 xencons=tty root=/dev/xvda1'
> ```
> But I've messed with it quite a bit, changing the device_model_override
> value, disk and root/extra options.
>
> Has anyone successfully created Xen guests on the cubietruck?
> Care to share how you went about getting it to work?
>
> Note: The unikernels work fine.
>
> Thanks in advance.
> --
> Ahmed
>



-- 
Ahmed Ismail
MSc, Communications and Electronics Engineering Department
The American University in Cairo
Mobile: +2-0111-321-9234
Mail: a.m.ismail@aucegypt.edu
Skype: ahmedm.ismail

--f46d043c80eeff261f05173682f4
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Whoops!<div>Missed a few things. Sorry, it&#39;s been a lo=
ng week.<div>1- [1] is=C2=A0<a href=3D"http://openmirage.org/wiki/xen-on-cu=
bieboard2">http://openmirage.org/wiki/xen-on-cubieboard2</a></div><div>2- T=
he Xen Guest used in 1 was using a debootstrapped image on vg0/linux-guest-=
1 to follow [1] precisely; I was also messing with a debootstrapped .img fi=
le on /media/disk.<br></div><div>3- The Xen Guest used in the second attemp=
t was a debootstrapped image on /media/disk with a formatted swap image, bo=
th of which were on /media/disk.</div><div><br></div></div><div>Cheers,</di=
v></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Fri, M=
ay 29, 2015 at 1:01 PM, Ahmed Ismail <span dir=3D"ltr">&lt;<a href=3D"mailt=
o:a.m.ismail@aucegypt.edu" target=3D"_blank">a.m.ismail@aucegypt.edu</a>&gt=
;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">Hello,<d=
iv><br></div><div>I hope you&#39;re all having a wonderful day.</div><div><=
br></div><div>I was following the tutorial on openmirage, specifically at [=
1], when I faced a few problems at the Linux DomU part.=C2=A0</div><div>The=
 only differences between the tutorial and how I went about it is in my cho=
ice for some variables i.e. hostname, ssh settings, etc.=C2=A0</div><div>1-=
 Using the &quot;/root/dom0_kernel&quot; zImage, running xl create causes i=
t to enter an endless loop. All I get back is:</div><div>```<br></div><div>=
<div>mirage@cubietruck:/media/disk$ sudo xl create domU_test -c</div><div>P=
arsing config from domU_test</div></div><div>```<br></div><div><br></div><d=
iv>&#39;sudo xl list&#39; shows that the guest is in a paused state.=C2=A0<=
/div><div>Unpausing it, the guest enters a sort of limbo (no state present,=
 just dashes).</div><div>```</div><div><div>mirage@cubietruck:/media/disk$ =
sudo xl unpause Ubuntu-14.04</div><div>mirage@cubietruck:/media/disk$ sudo =
xl list</div><div>Name =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0ID =C2=A0 Mem VCPUs<span style=3D"white-space:pre-wrap">	</spa=
n>State<span style=3D"white-space:pre-wrap">	</span>Time(s)</div><div>(null=
) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0 =C2=A0 512 =
=C2=A0 =C2=A0 2 =C2=A0 =C2=A0 r----- =C2=A0 18273.1</div><div>Ubuntu-14.04 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A021 =C2=A0 512 =C2=A0 =C2=A0 2 =C2=A0 =
=C2=A0 ------ =C2=A0 =C2=A0 =C2=A0 4.4</div></div><div>```</div><div>2- Com=
piling the linux kernel seperately using gcc-4.9 on the CT, and changing th=
e cfg file to use the zImage kernel instead I get the following error:</div=
><div>```</div><div><div>mirage@cubietruck:/media/disk$ sudo xl create -c X=
enGuest2.cfg</div><div>Parsing config from XenGuest2.cfg</div><div>libxl: e=
rror: libxl_dm.c:1388:device_model_spawn_outcome: domain 5 device model: sp=
awn failed (rc=3D-3)</div><div>libxl: error: libxl_create.c:1186:domcreate_=
devmodel_started: device model did not start: -3</div><div>libxl: error: li=
bxl_dm.c:1492:kill_device_model: Device Model already exited</div></div><di=
v>```</div><div><br></div><div>Currently, my cfg file looks like this:</div=
><div>```</div><div><div>device_model_version =3D &quot;qemu-xen&quot;</div=
><div>device_model_override =3D &quot;/usr/bin/qemu-arm-static&quot;</div><=
div>kernel =3D &quot;/media/disk/zImage&quot;</div><div>memory =3D 512</div=
><div>name =3D &quot;Test&quot;</div><div>vcpus =3D 2</div><div>serial=3D&q=
uot;pty&quot;</div><div>disk =3D [ &#39;phy:/media/disk/XenGuest2.img,xvda1=
,w&#39;, &#39;phy:/media/disk/XenGuest2.swap,xvda2,w&#39;]</div><div>vif =
=3D [&#39;bridge=3Dxenbr0&#39;]</div><div>root =3D &quot;/dev/xvda1 ro&quot=
;</div><div>#extra =3D &#39;console=3Dhvc0 xencons=3Dtty root=3D/dev/xvda1&=
#39;</div><div>```</div></div><div>But I&#39;ve messed with it quite a bit,=
 changing the device_model_override value, disk and root/extra options.</di=
v><div><br></div><div>Has anyone successfully created Xen guests on the cub=
ietruck?</div><div>Care to share how you went about getting it to work?</di=
v><div><br></div><div>Note: The unikernels work fine.</div><div><br></div><=
div>Thanks in advance.</div><span class=3D"HOEnZb"><font color=3D"#888888">=
<div>-- <br><div><div dir=3D"ltr"><div><div dir=3D"ltr">Ahmed</div></div></=
div></div>
</div></font></span></div>
</blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div class=
=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr">Ahmed Ismail<br=
>MSc, Communications and Electronics Engineering Department<br>The American=
 University in Cairo<br>Mobile: +2-0111-321-9234<br>Mail: <a href=3D"mailto=
:a.m.ismail@aucegypt.edu" target=3D"_blank">a.m.ismail@aucegypt.edu</a><br>=
Skype: ahmedm.ismail</div></div></div></div>
</div>

--f46d043c80eeff261f05173682f4--


--===============2230279267877715780==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============2230279267877715780==--


From mirageos-devel-bounces@lists.xenproject.org Fri May 29 11:09:48 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 11:09:48 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyIAW-0005TU-Sd; Fri, 29 May 2015 11:09:40 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <a.m.ismail@aucegypt.edu>) id 1YyIAV-0005TP-3n
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 11:09:39 +0000
Received: from [85.158.139.211] by server-17.bemta-5.messagelabs.com id
	E0/6C-05057-2F848655; Fri, 29 May 2015 11:09:38 +0000
X-Env-Sender: a.m.ismail@aucegypt.edu
X-Msg-Ref: server-12.tower-206.messagelabs.com!1432897777!13698426!1
X-Originating-IP: [209.85.212.175]
X-SpamReason: No, hits=0.4 required=7.0 tests=HTML_30_40,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 14695 invoked from network); 29 May 2015 11:09:37 -0000
Received: from mail-wi0-f175.google.com (HELO mail-wi0-f175.google.com)
	(209.85.212.175)
	by server-12.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	29 May 2015 11:09:37 -0000
Received: by wizo1 with SMTP id o1so19128054wiz.1
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 29 May 2015 04:09:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aucegypt.edu; s=apps;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:content-type; bh=VkwtKJYDnSSRwhdyjhv0HEOdjpNT718gVNQ4oLbeX7s=;
	b=p7X6Kr4/eX2okMKNo161Kes8M1kI2HqNeiwsi2r4ql+FFu1LY9N+BRHCZ47Hp1kK7g
	SO/vyXYHnxT1NFoKMUNfM8Xqcy6HVZzrFG+NoRpgpqhPMn9SZDcgt1aIL162zKq0IayL
	zRBN3Ry+PzBsJFfhC66EolPykDlsYQ7KD8yB0=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type;
	bh=VkwtKJYDnSSRwhdyjhv0HEOdjpNT718gVNQ4oLbeX7s=;
	b=Ac0zRkE81VRFpCCm0FQqdQbYnRJVJ3D7X/DhX5VmlT6/2vAf5Y4/Q8sFBFIZQeN96U
	jJc4Dj0DV6XoQXfP1a8bCURbGBpV/fTcAUn+L7bO2cRh8tXJqgY955mWHqEO/1bmswsd
	59IudK29xOfVNDTgjezpNMWszeS7J0v0msyHR/hvx+LW/PhafC67t3P3OgVgJuuRKO9t
	8zjUzzXwHiqQnm+oSVYroKOvN7lMacYHIfKNRNPBFXfVzCZK553WhyPDFViSPWC1jhgc
	p7lq+F99pDnq/wxTZBMXgBJjb+yNGYK43OMvKvdLeGDdBjLoGP6Equig/WOjHlwXNe8c
	eCaw==
X-Gm-Message-State: ALoCoQkgLfYB1GQSMbdjTZzYHNpFcfcd8qhR/Gy396TGbCaex1n5Z1AKGtEgihPXR5cdbAViKfba
MIME-Version: 1.0
X-Received: by 10.180.77.136 with SMTP id s8mr5321422wiw.7.1432897776978; Fri,
	29 May 2015 04:09:36 -0700 (PDT)
Received: by 10.194.174.138 with HTTP; Fri, 29 May 2015 04:09:36 -0700 (PDT)
In-Reply-To: <CACUqk8EnaAg=mkFsy2+Qf9JorSVx3n5=X6TsP8F2Fo6PW7g=_A@mail.gmail.com>
References: <CACUqk8EnaAg=mkFsy2+Qf9JorSVx3n5=X6TsP8F2Fo6PW7g=_A@mail.gmail.com>
Date: Fri, 29 May 2015 13:09:36 +0200
Message-ID: <CACUqk8Hm14UwSFXpaWAEAHNo_OG5NnviXVdUWsMAdVmKbXNzSQ@mail.gmail.com>
From: Ahmed Ismail <a.m.ismail@aucegypt.edu>
To: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] CT 'xl create' - Loops and Device Model
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============2230279267877715780=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============2230279267877715780==
Content-Type: multipart/alternative; boundary=f46d043c80eeff261f05173682f4

--f46d043c80eeff261f05173682f4
Content-Type: text/plain; charset=UTF-8

Whoops!
Missed a few things. Sorry, it's been a long week.
1- [1] is http://openmirage.org/wiki/xen-on-cubieboard2
2- The Xen Guest used in 1 was using a debootstrapped image on
vg0/linux-guest-1 to follow [1] precisely; I was also messing with a
debootstrapped .img file on /media/disk.
3- The Xen Guest used in the second attempt was a debootstrapped image on
/media/disk with a formatted swap image, both of which were on /media/disk.

Cheers,

On Fri, May 29, 2015 at 1:01 PM, Ahmed Ismail <a.m.ismail@aucegypt.edu>
wrote:

> Hello,
>
> I hope you're all having a wonderful day.
>
> I was following the tutorial on openmirage, specifically at [1], when I
> faced a few problems at the Linux DomU part.
> The only differences between the tutorial and how I went about it is in my
> choice for some variables i.e. hostname, ssh settings, etc.
> 1- Using the "/root/dom0_kernel" zImage, running xl create causes it to
> enter an endless loop. All I get back is:
> ```
> mirage@cubietruck:/media/disk$ sudo xl create domU_test -c
> Parsing config from domU_test
> ```
>
> 'sudo xl list' shows that the guest is in a paused state.
> Unpausing it, the guest enters a sort of limbo (no state present, just
> dashes).
> ```
> mirage@cubietruck:/media/disk$ sudo xl unpause Ubuntu-14.04
> mirage@cubietruck:/media/disk$ sudo xl list
> Name                                        ID   Mem VCPUs State Time(s)
> (null)                                       0   512     2     r-----
> 18273.1
> Ubuntu-14.04                                21   512     2     ------
>   4.4
> ```
> 2- Compiling the linux kernel seperately using gcc-4.9 on the CT, and
> changing the cfg file to use the zImage kernel instead I get the following
> error:
> ```
> mirage@cubietruck:/media/disk$ sudo xl create -c XenGuest2.cfg
> Parsing config from XenGuest2.cfg
> libxl: error: libxl_dm.c:1388:device_model_spawn_outcome: domain 5 device
> model: spawn failed (rc=-3)
> libxl: error: libxl_create.c:1186:domcreate_devmodel_started: device model
> did not start: -3
> libxl: error: libxl_dm.c:1492:kill_device_model: Device Model already
> exited
> ```
>
> Currently, my cfg file looks like this:
> ```
> device_model_version = "qemu-xen"
> device_model_override = "/usr/bin/qemu-arm-static"
> kernel = "/media/disk/zImage"
> memory = 512
> name = "Test"
> vcpus = 2
> serial="pty"
> disk = [ 'phy:/media/disk/XenGuest2.img,xvda1,w',
> 'phy:/media/disk/XenGuest2.swap,xvda2,w']
> vif = ['bridge=xenbr0']
> root = "/dev/xvda1 ro"
> #extra = 'console=hvc0 xencons=tty root=/dev/xvda1'
> ```
> But I've messed with it quite a bit, changing the device_model_override
> value, disk and root/extra options.
>
> Has anyone successfully created Xen guests on the cubietruck?
> Care to share how you went about getting it to work?
>
> Note: The unikernels work fine.
>
> Thanks in advance.
> --
> Ahmed
>



-- 
Ahmed Ismail
MSc, Communications and Electronics Engineering Department
The American University in Cairo
Mobile: +2-0111-321-9234
Mail: a.m.ismail@aucegypt.edu
Skype: ahmedm.ismail

--f46d043c80eeff261f05173682f4
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Whoops!<div>Missed a few things. Sorry, it&#39;s been a lo=
ng week.<div>1- [1] is=C2=A0<a href=3D"http://openmirage.org/wiki/xen-on-cu=
bieboard2">http://openmirage.org/wiki/xen-on-cubieboard2</a></div><div>2- T=
he Xen Guest used in 1 was using a debootstrapped image on vg0/linux-guest-=
1 to follow [1] precisely; I was also messing with a debootstrapped .img fi=
le on /media/disk.<br></div><div>3- The Xen Guest used in the second attemp=
t was a debootstrapped image on /media/disk with a formatted swap image, bo=
th of which were on /media/disk.</div><div><br></div></div><div>Cheers,</di=
v></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Fri, M=
ay 29, 2015 at 1:01 PM, Ahmed Ismail <span dir=3D"ltr">&lt;<a href=3D"mailt=
o:a.m.ismail@aucegypt.edu" target=3D"_blank">a.m.ismail@aucegypt.edu</a>&gt=
;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">Hello,<d=
iv><br></div><div>I hope you&#39;re all having a wonderful day.</div><div><=
br></div><div>I was following the tutorial on openmirage, specifically at [=
1], when I faced a few problems at the Linux DomU part.=C2=A0</div><div>The=
 only differences between the tutorial and how I went about it is in my cho=
ice for some variables i.e. hostname, ssh settings, etc.=C2=A0</div><div>1-=
 Using the &quot;/root/dom0_kernel&quot; zImage, running xl create causes i=
t to enter an endless loop. All I get back is:</div><div>```<br></div><div>=
<div>mirage@cubietruck:/media/disk$ sudo xl create domU_test -c</div><div>P=
arsing config from domU_test</div></div><div>```<br></div><div><br></div><d=
iv>&#39;sudo xl list&#39; shows that the guest is in a paused state.=C2=A0<=
/div><div>Unpausing it, the guest enters a sort of limbo (no state present,=
 just dashes).</div><div>```</div><div><div>mirage@cubietruck:/media/disk$ =
sudo xl unpause Ubuntu-14.04</div><div>mirage@cubietruck:/media/disk$ sudo =
xl list</div><div>Name =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0ID =C2=A0 Mem VCPUs<span style=3D"white-space:pre-wrap">	</spa=
n>State<span style=3D"white-space:pre-wrap">	</span>Time(s)</div><div>(null=
) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0 =C2=A0 512 =
=C2=A0 =C2=A0 2 =C2=A0 =C2=A0 r----- =C2=A0 18273.1</div><div>Ubuntu-14.04 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A021 =C2=A0 512 =C2=A0 =C2=A0 2 =C2=A0 =
=C2=A0 ------ =C2=A0 =C2=A0 =C2=A0 4.4</div></div><div>```</div><div>2- Com=
piling the linux kernel seperately using gcc-4.9 on the CT, and changing th=
e cfg file to use the zImage kernel instead I get the following error:</div=
><div>```</div><div><div>mirage@cubietruck:/media/disk$ sudo xl create -c X=
enGuest2.cfg</div><div>Parsing config from XenGuest2.cfg</div><div>libxl: e=
rror: libxl_dm.c:1388:device_model_spawn_outcome: domain 5 device model: sp=
awn failed (rc=3D-3)</div><div>libxl: error: libxl_create.c:1186:domcreate_=
devmodel_started: device model did not start: -3</div><div>libxl: error: li=
bxl_dm.c:1492:kill_device_model: Device Model already exited</div></div><di=
v>```</div><div><br></div><div>Currently, my cfg file looks like this:</div=
><div>```</div><div><div>device_model_version =3D &quot;qemu-xen&quot;</div=
><div>device_model_override =3D &quot;/usr/bin/qemu-arm-static&quot;</div><=
div>kernel =3D &quot;/media/disk/zImage&quot;</div><div>memory =3D 512</div=
><div>name =3D &quot;Test&quot;</div><div>vcpus =3D 2</div><div>serial=3D&q=
uot;pty&quot;</div><div>disk =3D [ &#39;phy:/media/disk/XenGuest2.img,xvda1=
,w&#39;, &#39;phy:/media/disk/XenGuest2.swap,xvda2,w&#39;]</div><div>vif =
=3D [&#39;bridge=3Dxenbr0&#39;]</div><div>root =3D &quot;/dev/xvda1 ro&quot=
;</div><div>#extra =3D &#39;console=3Dhvc0 xencons=3Dtty root=3D/dev/xvda1&=
#39;</div><div>```</div></div><div>But I&#39;ve messed with it quite a bit,=
 changing the device_model_override value, disk and root/extra options.</di=
v><div><br></div><div>Has anyone successfully created Xen guests on the cub=
ietruck?</div><div>Care to share how you went about getting it to work?</di=
v><div><br></div><div>Note: The unikernels work fine.</div><div><br></div><=
div>Thanks in advance.</div><span class=3D"HOEnZb"><font color=3D"#888888">=
<div>-- <br><div><div dir=3D"ltr"><div><div dir=3D"ltr">Ahmed</div></div></=
div></div>
</div></font></span></div>
</blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div class=
=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr">Ahmed Ismail<br=
>MSc, Communications and Electronics Engineering Department<br>The American=
 University in Cairo<br>Mobile: +2-0111-321-9234<br>Mail: <a href=3D"mailto=
:a.m.ismail@aucegypt.edu" target=3D"_blank">a.m.ismail@aucegypt.edu</a><br>=
Skype: ahmedm.ismail</div></div></div></div>
</div>

--f46d043c80eeff261f05173682f4--


--===============2230279267877715780==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============2230279267877715780==--


From mirageos-devel-bounces@lists.xenproject.org Fri May 29 12:23:32 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 12:23:32 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyJJr-0004tv-5j; Fri, 29 May 2015 12:23:23 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <len@inthemail.org>) id 1YyJJo-0004tq-WD
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 12:23:21 +0000
Received: from [85.158.139.211] by server-3.bemta-5.messagelabs.com id
	0D/16-03026-73A58655; Fri, 29 May 2015 12:23:19 +0000
X-Env-Sender: len@inthemail.org
X-Msg-Ref: server-6.tower-206.messagelabs.com!1432902197!13718998!1
X-Originating-IP: [209.85.214.178]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26744 invoked from network); 29 May 2015 12:23:18 -0000
Received: from mail-ob0-f178.google.com (HELO mail-ob0-f178.google.com)
	(209.85.214.178)
	by server-6.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	29 May 2015 12:23:18 -0000
Received: by obbea2 with SMTP id ea2so55806365obb.3
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 29 May 2015 05:23:17 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type
	:content-transfer-encoding;
	bh=RHXPFFCmDVz6Az9tDnXKbmyAd8yfoq9k+9HkWw2YWS0=;
	b=OeWN1hQLQeFBOWVDmXA1AX0iaTxr/7Duv4XbvwsBLyqlK0IPBNdwPWVK2/UhGn6YZT
	BVYW930veUUNYnT/PYe2UOzspoeJXcSIYXgsGenxOtk4xDQ9ujIH7TKnKLoKpc+wPKDW
	xu6T0gvZh7iCEBiLJhrjwBP4YRdoOTYrqk6KMdKfB8LRdEP/3JKsT2m3/WSfcd+bfJwc
	jGn5KS6Ha+XL7ieagDuKmKz3qKSuAz3BTu1b1empXW5nXBbytmcEzAN72KxRIhQts0DN
	dICXw6SA2BkijNHooe3Jp9vddr+unXEuumyei4J+7J1vZH2Zyue8QuEhfYNDl0G20lRU
	qluQ==
X-Gm-Message-State: ALoCoQnFX1vmkxDR3UJkIB2loX4sFm3Q6tDvcZlubXkVDmTNdRlNN+L+frEu+sbIkb32lntQ54Bm
MIME-Version: 1.0
X-Received: by 10.202.228.85 with SMTP id b82mr1148689oih.58.1432902197246;
	Fri, 29 May 2015 05:23:17 -0700 (PDT)
Received: by 10.202.64.195 with HTTP; Fri, 29 May 2015 05:23:17 -0700 (PDT)
In-Reply-To: <2D4CDABE-F35A-40A2-9685-B4CC9DD24135@supercoders.com.au>
References: <E0D0B7EA-6751-4A51-8765-726556195D2F@supercoders.com.au>
	<CAAWM5TwVtO5COKfpPpZ_=nNSvrTM+uUXWw9ntMvTnpFhW3XeBA@mail.gmail.com>
	<2D4CDABE-F35A-40A2-9685-B4CC9DD24135@supercoders.com.au>
Date: Fri, 29 May 2015 08:23:17 -0400
Message-ID: <CAHwFrZeCArMk79TOTqqY-QJxYdYkAcp_wV+ffYY6D4a8ZY58jw@mail.gmail.com>
From: Len Maxwell <len@lnmx.org>
To: Andrew Stuart <andrew.stuart@supercoders.com.au>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Web server MIME types / content types
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGkgQW5kcmV3LAoKSXQgbG9va3MgbGlrZSBDb2h0dHAgd2lsbCByZXNwb25kIHdpdGggY29udGVu
dC10eXBlLCBidXQgb25seSB3aGVuCnVzaW5nIENvaHR0cF9sd3RfdW5peC5yZXNwb25kX2ZpbGUg
WzFdLiAgVGhhdCdzIGEgY29udmVuaWVuY2UgZnVuY3Rpb24KZm9yIHNlcnZpbmcgYSBmaWxlIGZy
b20gdGhlIGxvY2FsIGZpbGVzeXN0ZW0sIHdoaWNoIGFzc3VtZXMgdG9vIG11Y2gKZm9yIGEgdW5p
a2VybmVsIGVudmlyb25tZW50IChoZW5jZSBpdCBpcyBpbiB0aGUgX3VuaXggbW9kdWxlKS4KCkFz
c3VtaW5nIHlvdSBhcmUgdXNpbmcgc29tZXRoaW5nIGxpa2UgbWlyYWdlLXNrZWxldG9uL3N0YXRp
Y193ZWJzaXRlLAp5b3UgY2FuIGFkZCB0a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m8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 12:23:32 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 12:23:32 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyJJr-0004tv-5j; Fri, 29 May 2015 12:23:23 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <len@inthemail.org>) id 1YyJJo-0004tq-WD
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 12:23:21 +0000
Received: from [85.158.139.211] by server-3.bemta-5.messagelabs.com id
	0D/16-03026-73A58655; Fri, 29 May 2015 12:23:19 +0000
X-Env-Sender: len@inthemail.org
X-Msg-Ref: server-6.tower-206.messagelabs.com!1432902197!13718998!1
X-Originating-IP: [209.85.214.178]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26744 invoked from network); 29 May 2015 12:23:18 -0000
Received: from mail-ob0-f178.google.com (HELO mail-ob0-f178.google.com)
	(209.85.214.178)
	by server-6.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	29 May 2015 12:23:18 -0000
Received: by obbea2 with SMTP id ea2so55806365obb.3
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 29 May 2015 05:23:17 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type
	:content-transfer-encoding;
	bh=RHXPFFCmDVz6Az9tDnXKbmyAd8yfoq9k+9HkWw2YWS0=;
	b=OeWN1hQLQeFBOWVDmXA1AX0iaTxr/7Duv4XbvwsBLyqlK0IPBNdwPWVK2/UhGn6YZT
	BVYW930veUUNYnT/PYe2UOzspoeJXcSIYXgsGenxOtk4xDQ9ujIH7TKnKLoKpc+wPKDW
	xu6T0gvZh7iCEBiLJhrjwBP4YRdoOTYrqk6KMdKfB8LRdEP/3JKsT2m3/WSfcd+bfJwc
	jGn5KS6Ha+XL7ieagDuKmKz3qKSuAz3BTu1b1empXW5nXBbytmcEzAN72KxRIhQts0DN
	dICXw6SA2BkijNHooe3Jp9vddr+unXEuumyei4J+7J1vZH2Zyue8QuEhfYNDl0G20lRU
	qluQ==
X-Gm-Message-State: ALoCoQnFX1vmkxDR3UJkIB2loX4sFm3Q6tDvcZlubXkVDmTNdRlNN+L+frEu+sbIkb32lntQ54Bm
MIME-Version: 1.0
X-Received: by 10.202.228.85 with SMTP id b82mr1148689oih.58.1432902197246;
	Fri, 29 May 2015 05:23:17 -0700 (PDT)
Received: by 10.202.64.195 with HTTP; Fri, 29 May 2015 05:23:17 -0700 (PDT)
In-Reply-To: <2D4CDABE-F35A-40A2-9685-B4CC9DD24135@supercoders.com.au>
References: <E0D0B7EA-6751-4A51-8765-726556195D2F@supercoders.com.au>
	<CAAWM5TwVtO5COKfpPpZ_=nNSvrTM+uUXWw9ntMvTnpFhW3XeBA@mail.gmail.com>
	<2D4CDABE-F35A-40A2-9685-B4CC9DD24135@supercoders.com.au>
Date: Fri, 29 May 2015 08:23:17 -0400
Message-ID: <CAHwFrZeCArMk79TOTqqY-QJxYdYkAcp_wV+ffYY6D4a8ZY58jw@mail.gmail.com>
From: Len Maxwell <len@lnmx.org>
To: Andrew Stuart <andrew.stuart@supercoders.com.au>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Web server MIME types / content types
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGkgQW5kcmV3LAoKSXQgbG9va3MgbGlrZSBDb2h0dHAgd2lsbCByZXNwb25kIHdpdGggY29udGVu
dC10eXBlLCBidXQgb25seSB3aGVuCnVzaW5nIENvaHR0cF9sd3RfdW5peC5yZXNwb25kX2ZpbGUg
WzFdLiAgVGhhdCdzIGEgY29udmVuaWVuY2UgZnVuY3Rpb24KZm9yIHNlcnZpbmcgYSBmaWxlIGZy
b20gdGhlIGxvY2FsIGZpbGVzeXN0ZW0sIHdoaWNoIGFzc3VtZXMgdG9vIG11Y2gKZm9yIGEgdW5p
a2VybmVsIGVudmlyb25tZW50IChoZW5jZSBpdCBpcyBpbiB0aGUgX3VuaXggbW9kdWxlKS4KCkFz
c3VtaW5nIHlvdSBhcmUgdXNpbmcgc29tZXRoaW5nIGxpa2UgbWlyYWdlLXNrZWxldG9uL3N0YXRp
Y193ZWJzaXRlLAp5b3UgY2FuIGFkZCB0aGUgY29udGVudC10eXBlIGJpdHMgdG8geW91ciBkaXNw
YXRjaCBmdW5jdGlvbiBbMl0uCkFmdGVyIHJlYWRfZnMgcmV0dXJucyB0aGUgY29udGVudCBkYXRh
LCBmZWVkIHRoZSB2cGF0aCB0byBtYWdpYy1taW1lCnRvIGd1ZXNzIHRoZSB0eXBlIGFuZCBhZGQg
eW91ciBvd24gY29udGVudC10eXBlIGhlYWRlciAtLSBtYXliZToKCiAgIC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AqIENvbm5lY3RlZCB0byA1NC4xNzcuNzEuMjQ1ICg1NC4xNzcu
NzEuMjQ1KSBwb3J0IDgwICgjMCkKPj4gR0VUIC8gSFRUUC8xLjEKPj4gVXNlci1BZ2VudDogY3Vy
bC83LjM1LjAKPj4gSG9zdDogNTQuMTc3LjcxLjI0NQo+PiBBY2NlcHQ6ICovKgo+Pgo+IDwgSFRU
UC8xLjEgMjAwIE9LCj4gSFRUUC8xLjEgMjAwIE9LCj4gPCBjb250ZW50LWxlbmd0aDogMjEyODEK
PiBjb250ZW50LWxlbmd0aDogMjEyODEKPgo+IDwKPiA8aHRtbCA+Cj4gIDxoZWFkPgo+Cj4KPgo+
Cj4KPiBfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwo+IE1p
cmFnZU9TLWRldmVsIG1haWxpbmcgbGlzdAo+IE1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2pl
Y3Qub3JnCj4gaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0
aW5mby9taXJhZ2Vvcy1kZXZlbAoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX18KTWlyYWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxp
c3RzLnhlbnByb2plY3Qub3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21h
aWxtYW4vbGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 13:02:09 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 13:02:09 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyJvL-0001Fe-V1; Fri, 29 May 2015 13:02:07 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1YyJvK-0001FT-NO
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 13:02:06 +0000
Received: from [85.158.139.211] by server-2.bemta-5.messagelabs.com id
	A7/E4-03031-E4368655; Fri, 29 May 2015 13:02:06 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-11.tower-206.messagelabs.com!1432904524!9612662!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 20324 invoked from network); 29 May 2015 13:02:04 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-11.tower-206.messagelabs.com with SMTP;
	29 May 2015 13:02:04 -0000
Received: from [192.168.1.103] (CPE-124-188-3-229.dccz1.win.bigpond.net.au
	[124.188.3.229])
	by mail.supercoders.com.au (Postfix) with ESMTPS id 9FF876009D;
	Fri, 29 May 2015 13:02:02 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
In-Reply-To: <CAHwFrZeCArMk79TOTqqY-QJxYdYkAcp_wV+ffYY6D4a8ZY58jw@mail.gmail.com>
Date: Fri, 29 May 2015 23:01:59 +1000
Message-Id: <BB7E7898-C049-4A0B-84A7-5B0F8DB2A43C@supercoders.com.au>
References: <E0D0B7EA-6751-4A51-8765-726556195D2F@supercoders.com.au>
	<CAAWM5TwVtO5COKfpPpZ_=nNSvrTM+uUXWw9ntMvTnpFhW3XeBA@mail.gmail.com>
	<2D4CDABE-F35A-40A2-9685-B4CC9DD24135@supercoders.com.au>
	<CAHwFrZeCArMk79TOTqqY-QJxYdYkAcp_wV+ffYY6D4a8ZY58jw@mail.gmail.com>
To: Len Maxwell <len@lnmx.org>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Web server MIME types / content types
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGkgTGVuLAoKVGhhbmtzIGZvciB0aGUgcmVwbHkuIDotKQoKSSBob3BlIEnigJltIG5vdCBjb21p
bmcgYWNyb3NzIGFzIHRvbyBuZWdhdGl2ZSBpZiBJIHN1Z2dlc3QgdGhhdCB3aXRob3V0IHRoZSBj
b3JyZWN0IGNvbnRlbnQgdHlwZSBmb3IgSFRNTCBmaWxlcyB0aGUgTWlyYWdlb3MgdW5pa2VybmVs
IHdlYiBzZXJ2ZXIgc2VydmluZyBzdGF0aWMgZmlsZXMgaXMgZWZmZWN0aXZlbHkgYnJva2VuIGZv
ciByZWFsIHdvcmxkIGFwcGxpY2F0aW9uLiBTb3JyeSB0aGF0IHNvdW5kcyBhIGJpdCBoYXJzaCB3
cml0dGVuIGluIGFuIGVtYWlsLgoKRm9yIGV4YW1wbGUgaWYgeW91IGdvIHRvIGh0dHA6Ly81NC4x
NzcuNzEuMjQ1IGFuZCBjbGljayBvbiB0aGUg4oCcT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w
cm9qZWN0Lm9yZwo+IGh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4v
bGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwKCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fXwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKTWlyYWdlT1MtZGV2
ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1i
aW4vbWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 13:02:09 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 13:02:09 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyJvL-0001Fe-V1; Fri, 29 May 2015 13:02:07 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1YyJvK-0001FT-NO
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 13:02:06 +0000
Received: from [85.158.139.211] by server-2.bemta-5.messagelabs.com id
	A7/E4-03031-E4368655; Fri, 29 May 2015 13:02:06 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-11.tower-206.messagelabs.com!1432904524!9612662!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 20324 invoked from network); 29 May 2015 13:02:04 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-11.tower-206.messagelabs.com with SMTP;
	29 May 2015 13:02:04 -0000
Received: from [192.168.1.103] (CPE-124-188-3-229.dccz1.win.bigpond.net.au
	[124.188.3.229])
	by mail.supercoders.com.au (Postfix) with ESMTPS id 9FF876009D;
	Fri, 29 May 2015 13:02:02 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
In-Reply-To: <CAHwFrZeCArMk79TOTqqY-QJxYdYkAcp_wV+ffYY6D4a8ZY58jw@mail.gmail.com>
Date: Fri, 29 May 2015 23:01:59 +1000
Message-Id: <BB7E7898-C049-4A0B-84A7-5B0F8DB2A43C@supercoders.com.au>
References: <E0D0B7EA-6751-4A51-8765-726556195D2F@supercoders.com.au>
	<CAAWM5TwVtO5COKfpPpZ_=nNSvrTM+uUXWw9ntMvTnpFhW3XeBA@mail.gmail.com>
	<2D4CDABE-F35A-40A2-9685-B4CC9DD24135@supercoders.com.au>
	<CAHwFrZeCArMk79TOTqqY-QJxYdYkAcp_wV+ffYY6D4a8ZY58jw@mail.gmail.com>
To: Len Maxwell <len@lnmx.org>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Web server MIME types / content types
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding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KiAgIFRyeWluZyA1
NC4xNzcuNzEuMjQ1Li4uCj4gKiBDb25uZWN0ZWQgdG8gNTQuMTc3LjcxLjI0NSAoNTQuMTc3Ljcx
LjI0NSkgcG9ydCA4MCAoIzApCj4+IEdFVCAvIEhUVFAvMS4xCj4+IFVzZXItQWdlbnQ6IGN1cmwv
Ny4zNS4wCj4+IEhvc3Q6IDU0LjE3Ny43MS4yNDUKPj4gQWNjZXB0OiAqLyoKPj4gCj4gPCBIVFRQ
LzEuMSAyMDAgT0sKPiBIVFRQLzEuMSAyMDAgT0sKPiA8IGNvbnRlbnQtbGVuZ3RoOiAyMTI4MQo+
IGNvbnRlbnQtbGVuZ3RoOiAyMTI4MQo+IAo+IDwKPiA8aHRtbCA+Cj4gPGhlYWQ+Cj4gCj4gCj4g
Cj4gCj4gCj4gX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18K
PiBNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKPiBNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5w
cm9qZWN0Lm9yZwo+IGh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4v
bGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwKCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fXwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKTWlyYWdlT1MtZGV2
ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1i
aW4vbWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 13:22:05 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 13:22:05 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyKEd-0003Zu-8t; Fri, 29 May 2015 13:22:03 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1YyKEa-0003Zk-IE
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 13:22:00 +0000
Received: from [193.109.254.147] by server-11.bemta-14.messagelabs.com id
	31/4B-30658-7F768655; Fri, 29 May 2015 13:21:59 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-15.tower-27.messagelabs.com!1432905718!18591108!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 6690 invoked from network); 29 May 2015 13:21:58 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-15.tower-27.messagelabs.com with SMTP;
	29 May 2015 13:21:58 -0000
Received: from [192.168.1.103] (CPE-124-188-3-229.dccz1.win.bigpond.net.au
	[124.188.3.229])
	by mail.supercoders.com.au (Postfix) with ESMTPS id 996B06009D;
	Fri, 29 May 2015 13:21:57 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
In-Reply-To: <BB7E7898-C049-4A0B-84A7-5B0F8DB2A43C@supercoders.com.au>
Date: Fri, 29 May 2015 23:21:55 +1000
Message-Id: <43F559FB-905B-467F-AE5D-29EB16DF3F10@supercoders.com.au>
References: <E0D0B7EA-6751-4A51-8765-726556195D2F@supercoders.com.au>
	<CAAWM5TwVtO5COKfpPpZ_=nNSvrTM+uUXWw9ntMvTnpFhW3XeBA@mail.gmail.com>
	<2D4CDABE-F35A-40A2-9685-B4CC9DD24135@supercoders.com.au>
	<CAHwFrZeCArMk79TOTqqY-QJxYdYkAcp_wV+ffYY6D4a8ZY58jw@mail.gmail.com>
	<BB7E7898-C049-4A0B-84A7-5B0F8DB2A43C@supercoders.com.au>
To: Len Maxwell <len@lnmx.org>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Web server MIME types / content types
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Intriguing that http://openmirage.org/ returns content-type: text/html

I wonder what the difference is?

ubuntu@ip-172-30-2-123:~/www.supercoders.com.au$ curl -v -D - http://openmirage.org/
* Hostname was NOT found in DNS cache
*   Trying 46.43.42.147...
* Connected to openmirage.org (46.43.42.147) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.38.0
> Host: openmirage.org
> Accept: */*
>
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< content-length: 8520
content-length: 8520
< content-type: text/html; charset=UTF-8
content-type: text/html; charset=UTF-8

<


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 13:22:05 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 13:22:05 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyKEd-0003Zu-8t; Fri, 29 May 2015 13:22:03 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1YyKEa-0003Zk-IE
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 13:22:00 +0000
Received: from [193.109.254.147] by server-11.bemta-14.messagelabs.com id
	31/4B-30658-7F768655; Fri, 29 May 2015 13:21:59 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-15.tower-27.messagelabs.com!1432905718!18591108!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 6690 invoked from network); 29 May 2015 13:21:58 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-15.tower-27.messagelabs.com with SMTP;
	29 May 2015 13:21:58 -0000
Received: from [192.168.1.103] (CPE-124-188-3-229.dccz1.win.bigpond.net.au
	[124.188.3.229])
	by mail.supercoders.com.au (Postfix) with ESMTPS id 996B06009D;
	Fri, 29 May 2015 13:21:57 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
In-Reply-To: <BB7E7898-C049-4A0B-84A7-5B0F8DB2A43C@supercoders.com.au>
Date: Fri, 29 May 2015 23:21:55 +1000
Message-Id: <43F559FB-905B-467F-AE5D-29EB16DF3F10@supercoders.com.au>
References: <E0D0B7EA-6751-4A51-8765-726556195D2F@supercoders.com.au>
	<CAAWM5TwVtO5COKfpPpZ_=nNSvrTM+uUXWw9ntMvTnpFhW3XeBA@mail.gmail.com>
	<2D4CDABE-F35A-40A2-9685-B4CC9DD24135@supercoders.com.au>
	<CAHwFrZeCArMk79TOTqqY-QJxYdYkAcp_wV+ffYY6D4a8ZY58jw@mail.gmail.com>
	<BB7E7898-C049-4A0B-84A7-5B0F8DB2A43C@supercoders.com.au>
To: Len Maxwell <len@lnmx.org>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Web server MIME types / content types
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Intriguing that http://openmirage.org/ returns content-type: text/html

I wonder what the difference is?

ubuntu@ip-172-30-2-123:~/www.supercoders.com.au$ curl -v -D - http://openmirage.org/
* Hostname was NOT found in DNS cache
*   Trying 46.43.42.147...
* Connected to openmirage.org (46.43.42.147) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.38.0
> Host: openmirage.org
> Accept: */*
>
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< content-length: 8520
content-length: 8520
< content-type: text/html; charset=UTF-8
content-type: text/html; charset=UTF-8

<


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 13:30:35 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 13:30:35 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyKMq-0005jF-Iy; Fri, 29 May 2015 13:30:32 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <lukedunstan81@gmail.com>) id 1YyKMp-0005j3-It
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 13:30:31 +0000
Received: from [85.158.139.211] by server-8.bemta-5.messagelabs.com id
	9F/49-03747-6F968655; Fri, 29 May 2015 13:30:30 +0000
X-Env-Sender: lukedunstan81@gmail.com
X-Msg-Ref: server-12.tower-206.messagelabs.com!1432906229!13742688!1
X-Originating-IP: [209.85.217.175]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 24374 invoked from network); 29 May 2015 13:30:30 -0000
Received: from mail-lb0-f175.google.com (HELO mail-lb0-f175.google.com)
	(209.85.217.175)
	by server-12.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	29 May 2015 13:30:30 -0000
Received: by lbcue7 with SMTP id ue7so48490345lbc.0
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 29 May 2015 06:30:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=qfJ2DPWA0rc1PWxVUhhRtgG6OCaLP6d/ccd2Wi2A2Rw=;
	b=LZDE5Ojp4lGGMV6CRilpDIQapM5UedlG/NKO+9WRqCvBrqRquZl+ikYQVenDURBvAz
	/4XHliw+6VyXvJrgvziGJuE79DhEdflwoei3Pqi7jjaJyiMOQBhsWpqz8nTxDMCqC/Yc
	x400xhRvFP2SS9/OJDV0b0qkikGydZdWjR3gMUNVANIem5bcfEKU+FH+CMefRrULc6fy
	It9y2alw/8EXXqVedWJUVTOeffaLiF1txB28jBiNr6pfBQmCTQnG13b/fOPm5xp+rkuY
	26y1xM4n6+0eu+UJgG9O5pn4ZMRGgP4Cms4ugQlpV+Sp1FkNzYWMCXhtBMT4J3kEGrMM
	Uawg==
MIME-Version: 1.0
X-Received: by 10.112.118.206 with SMTP id ko14mr8033977lbb.28.1432906229454; 
	Fri, 29 May 2015 06:30:29 -0700 (PDT)
Received: by 10.112.119.197 with HTTP; Fri, 29 May 2015 06:30:29 -0700 (PDT)
In-Reply-To: <43F559FB-905B-467F-AE5D-29EB16DF3F10@supercoders.com.au>
References: <E0D0B7EA-6751-4A51-8765-726556195D2F@supercoders.com.au>
	<CAAWM5TwVtO5COKfpPpZ_=nNSvrTM+uUXWw9ntMvTnpFhW3XeBA@mail.gmail.com>
	<2D4CDABE-F35A-40A2-9685-B4CC9DD24135@supercoders.com.au>
	<CAHwFrZeCArMk79TOTqqY-QJxYdYkAcp_wV+ffYY6D4a8ZY58jw@mail.gmail.com>
	<BB7E7898-C049-4A0B-84A7-5B0F8DB2A43C@supercoders.com.au>
	<43F559FB-905B-467F-AE5D-29EB16DF3F10@supercoders.com.au>
Date: Fri, 29 May 2015 21:30:29 +0800
Message-ID: <CAEui0wXivFTWoGykDMaVjhCJrrHRygtAkAGBwWj+_yoGVSt4kg@mail.gmail.com>
From: Luke Dunstan <lukedunstan81@gmail.com>
To: Andrew Stuart <andrew.stuart@supercoders.com.au>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Web server MIME types / content types
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi Andrew,

Apparently the dispatch function sets the content type, as Len
suggested: https://github.com/mirage/mirage-www/blob/master/src/pages.ml#L121

Luke

On 29 May 2015 at 21:21, Andrew Stuart <andrew.stuart@supercoders.com.au> wrote:
> Intriguing that http://openmirage.org/ returns content-type: text/html
>
> I wonder what the difference is?
>
> ubuntu@ip-172-30-2-123:~/www.supercoders.com.au$ curl -v -D - http://openmirage.org/
> * Hostname was NOT found in DNS cache
> *   Trying 46.43.42.147...
> * Connected to openmirage.org (46.43.42.147) port 80 (#0)
>> GET / HTTP/1.1
>> User-Agent: curl/7.38.0
>> Host: openmirage.org
>> Accept: */*
>>
> < HTTP/1.1 200 OK
> HTTP/1.1 200 OK
> < content-length: 8520
> content-length: 8520
> < content-type: text/html; charset=UTF-8
> content-type: text/html; charset=UTF-8
>
> <
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 13:30:35 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 13:30:35 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyKMq-0005jF-Iy; Fri, 29 May 2015 13:30:32 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <lukedunstan81@gmail.com>) id 1YyKMp-0005j3-It
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 13:30:31 +0000
Received: from [85.158.139.211] by server-8.bemta-5.messagelabs.com id
	9F/49-03747-6F968655; Fri, 29 May 2015 13:30:30 +0000
X-Env-Sender: lukedunstan81@gmail.com
X-Msg-Ref: server-12.tower-206.messagelabs.com!1432906229!13742688!1
X-Originating-IP: [209.85.217.175]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 24374 invoked from network); 29 May 2015 13:30:30 -0000
Received: from mail-lb0-f175.google.com (HELO mail-lb0-f175.google.com)
	(209.85.217.175)
	by server-12.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	29 May 2015 13:30:30 -0000
Received: by lbcue7 with SMTP id ue7so48490345lbc.0
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 29 May 2015 06:30:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=qfJ2DPWA0rc1PWxVUhhRtgG6OCaLP6d/ccd2Wi2A2Rw=;
	b=LZDE5Ojp4lGGMV6CRilpDIQapM5UedlG/NKO+9WRqCvBrqRquZl+ikYQVenDURBvAz
	/4XHliw+6VyXvJrgvziGJuE79DhEdflwoei3Pqi7jjaJyiMOQBhsWpqz8nTxDMCqC/Yc
	x400xhRvFP2SS9/OJDV0b0qkikGydZdWjR3gMUNVANIem5bcfEKU+FH+CMefRrULc6fy
	It9y2alw/8EXXqVedWJUVTOeffaLiF1txB28jBiNr6pfBQmCTQnG13b/fOPm5xp+rkuY
	26y1xM4n6+0eu+UJgG9O5pn4ZMRGgP4Cms4ugQlpV+Sp1FkNzYWMCXhtBMT4J3kEGrMM
	Uawg==
MIME-Version: 1.0
X-Received: by 10.112.118.206 with SMTP id ko14mr8033977lbb.28.1432906229454; 
	Fri, 29 May 2015 06:30:29 -0700 (PDT)
Received: by 10.112.119.197 with HTTP; Fri, 29 May 2015 06:30:29 -0700 (PDT)
In-Reply-To: <43F559FB-905B-467F-AE5D-29EB16DF3F10@supercoders.com.au>
References: <E0D0B7EA-6751-4A51-8765-726556195D2F@supercoders.com.au>
	<CAAWM5TwVtO5COKfpPpZ_=nNSvrTM+uUXWw9ntMvTnpFhW3XeBA@mail.gmail.com>
	<2D4CDABE-F35A-40A2-9685-B4CC9DD24135@supercoders.com.au>
	<CAHwFrZeCArMk79TOTqqY-QJxYdYkAcp_wV+ffYY6D4a8ZY58jw@mail.gmail.com>
	<BB7E7898-C049-4A0B-84A7-5B0F8DB2A43C@supercoders.com.au>
	<43F559FB-905B-467F-AE5D-29EB16DF3F10@supercoders.com.au>
Date: Fri, 29 May 2015 21:30:29 +0800
Message-ID: <CAEui0wXivFTWoGykDMaVjhCJrrHRygtAkAGBwWj+_yoGVSt4kg@mail.gmail.com>
From: Luke Dunstan <lukedunstan81@gmail.com>
To: Andrew Stuart <andrew.stuart@supercoders.com.au>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Web server MIME types / content types
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi Andrew,

Apparently the dispatch function sets the content type, as Len
suggested: https://github.com/mirage/mirage-www/blob/master/src/pages.ml#L121

Luke

On 29 May 2015 at 21:21, Andrew Stuart <andrew.stuart@supercoders.com.au> wrote:
> Intriguing that http://openmirage.org/ returns content-type: text/html
>
> I wonder what the difference is?
>
> ubuntu@ip-172-30-2-123:~/www.supercoders.com.au$ curl -v -D - http://openmirage.org/
> * Hostname was NOT found in DNS cache
> *   Trying 46.43.42.147...
> * Connected to openmirage.org (46.43.42.147) port 80 (#0)
>> GET / HTTP/1.1
>> User-Agent: curl/7.38.0
>> Host: openmirage.org
>> Accept: */*
>>
> < HTTP/1.1 200 OK
> HTTP/1.1 200 OK
> < content-length: 8520
> content-length: 8520
> < content-type: text/html; charset=UTF-8
> content-type: text/html; charset=UTF-8
>
> <
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 13:40:52 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 13:40:52 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyKWn-000631-DL; Fri, 29 May 2015 13:40:49 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <len@inthemail.org>) id 1YyKWm-00062w-0R
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 13:40:48 +0000
Received: from [85.158.137.68] by server-4.bemta-3.messagelabs.com id
	E4/4E-32406-F5C68655; Fri, 29 May 2015 13:40:47 +0000
X-Env-Sender: len@inthemail.org
X-Msg-Ref: server-15.tower-31.messagelabs.com!1432906845!11197197!1
X-Originating-IP: [209.85.214.176]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 5602 invoked from network); 29 May 2015 13:40:46 -0000
Received: from mail-ob0-f176.google.com (HELO mail-ob0-f176.google.com)
	(209.85.214.176)
	by server-15.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	29 May 2015 13:40:46 -0000
Received: by obew15 with SMTP id w15so57683418obe.1
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 29 May 2015 06:40:45 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=xev0ZnOYBnatCoMva0H6hRNXsPVd7EflqdiUutgZsPI=;
	b=h4isxy16TC7kGqmyhnMIBuXzPIMu7ngpCKspEzadmu1ziU+wAIberElFRTPAG7u/AN
	e1pzQ4ynfJaquywrs/FyEtqt9Dtn3QIiMu/xVcvB5WGt3/Pw0ra8njGz60h3kyAF1hqX
	fH/wDKw3TZNPpTUlDDON+tYh+YfXNDn53hpZhZEeaAhWRdk4A4bwnySzGLb9etTgnIBi
	Ut3+8SRSCDzQmqs9R1F5ercsoq1LoXw9AP8Y/REiGljKOwHu5HCHUg7rZJZ/gsqc+iF3
	rHlFUqIq9wXBM3BB0pQu+nlWVkZxx9A89csf/iMxrhsMcBPSI8muTm34vtN70bD65OT0
	nT0Q==
X-Gm-Message-State: ALoCoQnnF0LOC2OlkqTzkEQeWUmvM8GdPQqnpH/sWq+lRAHIrCrMr6VWygYGKqKxGY5OlKh0eP/Z
MIME-Version: 1.0
X-Received: by 10.182.99.202 with SMTP id es10mr7066942obb.47.1432906844893;
	Fri, 29 May 2015 06:40:44 -0700 (PDT)
Received: by 10.202.64.195 with HTTP; Fri, 29 May 2015 06:40:44 -0700 (PDT)
In-Reply-To: <43F559FB-905B-467F-AE5D-29EB16DF3F10@supercoders.com.au>
References: <E0D0B7EA-6751-4A51-8765-726556195D2F@supercoders.com.au>
	<CAAWM5TwVtO5COKfpPpZ_=nNSvrTM+uUXWw9ntMvTnpFhW3XeBA@mail.gmail.com>
	<2D4CDABE-F35A-40A2-9685-B4CC9DD24135@supercoders.com.au>
	<CAHwFrZeCArMk79TOTqqY-QJxYdYkAcp_wV+ffYY6D4a8ZY58jw@mail.gmail.com>
	<BB7E7898-C049-4A0B-84A7-5B0F8DB2A43C@supercoders.com.au>
	<43F559FB-905B-467F-AE5D-29EB16DF3F10@supercoders.com.au>
Date: Fri, 29 May 2015 09:40:44 -0400
Message-ID: <CAHwFrZc-gxkx9v-LnPtrhwyM-76qeFTB7M6uASausho2E3D8zQ@mail.gmail.com>
From: Len Maxwell <len@lnmx.org>
To: Andrew Stuart <andrew.stuart@supercoders.com.au>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Web server MIME types / content types
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Andrew,

openmirage.org is built from mirage-www [1], which uses cowabloga [2].
It looks like mirage-www's dispatch fn supplies the content-type.

Note that mirage-www is purpose-built to serve the mirage homepage.
It's not a generic static file server, but a program that dynamically
generates pages, using content (mostly) embedded in the kernel.

[1] https://github.com/mirage/mirage-www
[2] https://github.com/mirage/cowabloga

--
Len


On Fri, May 29, 2015 at 9:21 AM, Andrew Stuart
<andrew.stuart@supercoders.com.au> wrote:
> Intriguing that http://openmirage.org/ returns content-type: text/html
>
> I wonder what the difference is?
>
> ubuntu@ip-172-30-2-123:~/www.supercoders.com.au$ curl -v -D - http://openmirage.org/
> * Hostname was NOT found in DNS cache
> *   Trying 46.43.42.147...
> * Connected to openmirage.org (46.43.42.147) port 80 (#0)
>> GET / HTTP/1.1
>> User-Agent: curl/7.38.0
>> Host: openmirage.org
>> Accept: */*
>>
> < HTTP/1.1 200 OK
> HTTP/1.1 200 OK
> < content-length: 8520
> content-length: 8520
> < content-type: text/html; charset=UTF-8
> content-type: text/html; charset=UTF-8
>
> <
>

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 13:40:52 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 13:40:52 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyKWn-000631-DL; Fri, 29 May 2015 13:40:49 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <len@inthemail.org>) id 1YyKWm-00062w-0R
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 13:40:48 +0000
Received: from [85.158.137.68] by server-4.bemta-3.messagelabs.com id
	E4/4E-32406-F5C68655; Fri, 29 May 2015 13:40:47 +0000
X-Env-Sender: len@inthemail.org
X-Msg-Ref: server-15.tower-31.messagelabs.com!1432906845!11197197!1
X-Originating-IP: [209.85.214.176]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 5602 invoked from network); 29 May 2015 13:40:46 -0000
Received: from mail-ob0-f176.google.com (HELO mail-ob0-f176.google.com)
	(209.85.214.176)
	by server-15.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	29 May 2015 13:40:46 -0000
Received: by obew15 with SMTP id w15so57683418obe.1
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 29 May 2015 06:40:45 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=xev0ZnOYBnatCoMva0H6hRNXsPVd7EflqdiUutgZsPI=;
	b=h4isxy16TC7kGqmyhnMIBuXzPIMu7ngpCKspEzadmu1ziU+wAIberElFRTPAG7u/AN
	e1pzQ4ynfJaquywrs/FyEtqt9Dtn3QIiMu/xVcvB5WGt3/Pw0ra8njGz60h3kyAF1hqX
	fH/wDKw3TZNPpTUlDDON+tYh+YfXNDn53hpZhZEeaAhWRdk4A4bwnySzGLb9etTgnIBi
	Ut3+8SRSCDzQmqs9R1F5ercsoq1LoXw9AP8Y/REiGljKOwHu5HCHUg7rZJZ/gsqc+iF3
	rHlFUqIq9wXBM3BB0pQu+nlWVkZxx9A89csf/iMxrhsMcBPSI8muTm34vtN70bD65OT0
	nT0Q==
X-Gm-Message-State: ALoCoQnnF0LOC2OlkqTzkEQeWUmvM8GdPQqnpH/sWq+lRAHIrCrMr6VWygYGKqKxGY5OlKh0eP/Z
MIME-Version: 1.0
X-Received: by 10.182.99.202 with SMTP id es10mr7066942obb.47.1432906844893;
	Fri, 29 May 2015 06:40:44 -0700 (PDT)
Received: by 10.202.64.195 with HTTP; Fri, 29 May 2015 06:40:44 -0700 (PDT)
In-Reply-To: <43F559FB-905B-467F-AE5D-29EB16DF3F10@supercoders.com.au>
References: <E0D0B7EA-6751-4A51-8765-726556195D2F@supercoders.com.au>
	<CAAWM5TwVtO5COKfpPpZ_=nNSvrTM+uUXWw9ntMvTnpFhW3XeBA@mail.gmail.com>
	<2D4CDABE-F35A-40A2-9685-B4CC9DD24135@supercoders.com.au>
	<CAHwFrZeCArMk79TOTqqY-QJxYdYkAcp_wV+ffYY6D4a8ZY58jw@mail.gmail.com>
	<BB7E7898-C049-4A0B-84A7-5B0F8DB2A43C@supercoders.com.au>
	<43F559FB-905B-467F-AE5D-29EB16DF3F10@supercoders.com.au>
Date: Fri, 29 May 2015 09:40:44 -0400
Message-ID: <CAHwFrZc-gxkx9v-LnPtrhwyM-76qeFTB7M6uASausho2E3D8zQ@mail.gmail.com>
From: Len Maxwell <len@lnmx.org>
To: Andrew Stuart <andrew.stuart@supercoders.com.au>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Web server MIME types / content types
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Andrew,

openmirage.org is built from mirage-www [1], which uses cowabloga [2].
It looks like mirage-www's dispatch fn supplies the content-type.

Note that mirage-www is purpose-built to serve the mirage homepage.
It's not a generic static file server, but a program that dynamically
generates pages, using content (mostly) embedded in the kernel.

[1] https://github.com/mirage/mirage-www
[2] https://github.com/mirage/cowabloga

--
Len


On Fri, May 29, 2015 at 9:21 AM, Andrew Stuart
<andrew.stuart@supercoders.com.au> wrote:
> Intriguing that http://openmirage.org/ returns content-type: text/html
>
> I wonder what the difference is?
>
> ubuntu@ip-172-30-2-123:~/www.supercoders.com.au$ curl -v -D - http://openmirage.org/
> * Hostname was NOT found in DNS cache
> *   Trying 46.43.42.147...
> * Connected to openmirage.org (46.43.42.147) port 80 (#0)
>> GET / HTTP/1.1
>> User-Agent: curl/7.38.0
>> Host: openmirage.org
>> Accept: */*
>>
> < HTTP/1.1 200 OK
> HTTP/1.1 200 OK
> < content-length: 8520
> content-length: 8520
> < content-type: text/html; charset=UTF-8
> content-type: text/html; charset=UTF-8
>
> <
>

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 13:41:34 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 13:41:34 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyKXW-0006DP-3E; Fri, 29 May 2015 13:41:34 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <lukedunstan81@gmail.com>) id 1YyKXU-0006CI-M1
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 13:41:32 +0000
Received: from [193.109.254.147] by server-11.bemta-14.messagelabs.com id
	5D/DB-30658-C8C68655; Fri, 29 May 2015 13:41:32 +0000
X-Env-Sender: lukedunstan81@gmail.com
X-Msg-Ref: server-10.tower-27.messagelabs.com!1432906890!18531806!1
X-Originating-IP: [209.85.217.182]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 7888 invoked from network); 29 May 2015 13:41:30 -0000
Received: from mail-lb0-f182.google.com (HELO mail-lb0-f182.google.com)
	(209.85.217.182)
	by server-10.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	29 May 2015 13:41:30 -0000
Received: by lbcue7 with SMTP id ue7so48698992lbc.0
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 29 May 2015 06:41:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type:content-transfer-encoding;
	bh=Saaqi4sUNr4LeSDqcj2/d2SFczQKg+flj1IT1Vejeek=;
	b=oCHX1gFMl7OkfsG2WiENJOn4yxlnQjWa5iydwNK2K++iXujnbPXCNJ1LLmYr3AFe73
	N6mWCssevctdujNSoDVU+iFjAyNVIEDvkzWRAyi5bVDKWQJE8FrYOZ6ZayehEA8XMpYu
	b1OaeUeSjtWKf4q+rfowS7IX/3qUW16BlwxcFEqNVZT3X4SAp8IRoNh14qjI+EFxW0Z9
	hlRhinGvLkUskV5+NQFIkHEKNt7yh9vVnzOMtoH7kFAUAgjbogskfV5kU2wAMzf9LPV7
	/dM3JbvhpHq1UWIePjkz3mnMroVuG7paFft4iSoCUwDct2axDbi2Pr6YMGvAlhvxUP1A
	kUBg==
MIME-Version: 1.0
X-Received: by 10.112.56.42 with SMTP id x10mr8037258lbp.123.1432906890303;
	Fri, 29 May 2015 06:41:30 -0700 (PDT)
Received: by 10.112.119.197 with HTTP; Fri, 29 May 2015 06:41:30 -0700 (PDT)
In-Reply-To: <501ECF0F-39A3-4BA9-A3A9-912EDD286BCC@supercoders.com.au>
References: <501ECF0F-39A3-4BA9-A3A9-912EDD286BCC@supercoders.com.au>
Date: Fri, 29 May 2015 21:41:30 +0800
Message-ID: <CAEui0wXvAyUgU_Na75X=cx8H6VRXGosinyA4Vi0MPyqim8VqTw@mail.gmail.com>
From: Luke Dunstan <lukedunstan81@gmail.com>
To: Andrew Stuart <andrew.stuart@supercoders.com.au>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Routing.No_route_to_destination_address
 running Mirage web server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

U3VwcG9zZWRseSB0aGUgdW5pa2VybmVsIGlzIG5vdCBzZWVpbm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FnZU9TLWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0
Lm9yZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZv
L21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 13:41:34 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 13:41:34 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyKXW-0006DP-3E; Fri, 29 May 2015 13:41:34 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <lukedunstan81@gmail.com>) id 1YyKXU-0006CI-M1
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 13:41:32 +0000
Received: from [193.109.254.147] by server-11.bemta-14.messagelabs.com id
	5D/DB-30658-C8C68655; Fri, 29 May 2015 13:41:32 +0000
X-Env-Sender: lukedunstan81@gmail.com
X-Msg-Ref: server-10.tower-27.messagelabs.com!1432906890!18531806!1
X-Originating-IP: [209.85.217.182]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 7888 invoked from network); 29 May 2015 13:41:30 -0000
Received: from mail-lb0-f182.google.com (HELO mail-lb0-f182.google.com)
	(209.85.217.182)
	by server-10.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	29 May 2015 13:41:30 -0000
Received: by lbcue7 with SMTP id ue7so48698992lbc.0
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 29 May 2015 06:41:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type:content-transfer-encoding;
	bh=Saaqi4sUNr4LeSDqcj2/d2SFczQKg+flj1IT1Vejeek=;
	b=oCHX1gFMl7OkfsG2WiENJOn4yxlnQjWa5iydwNK2K++iXujnbPXCNJ1LLmYr3AFe73
	N6mWCssevctdujNSoDVU+iFjAyNVIEDvkzWRAyi5bVDKWQJE8FrYOZ6ZayehEA8XMpYu
	b1OaeUeSjtWKf4q+rfowS7IX/3qUW16BlwxcFEqNVZT3X4SAp8IRoNh14qjI+EFxW0Z9
	hlRhinGvLkUskV5+NQFIkHEKNt7yh9vVnzOMtoH7kFAUAgjbogskfV5kU2wAMzf9LPV7
	/dM3JbvhpHq1UWIePjkz3mnMroVuG7paFft4iSoCUwDct2axDbi2Pr6YMGvAlhvxUP1A
	kUBg==
MIME-Version: 1.0
X-Received: by 10.112.56.42 with SMTP id x10mr8037258lbp.123.1432906890303;
	Fri, 29 May 2015 06:41:30 -0700 (PDT)
Received: by 10.112.119.197 with HTTP; Fri, 29 May 2015 06:41:30 -0700 (PDT)
In-Reply-To: <501ECF0F-39A3-4BA9-A3A9-912EDD286BCC@supercoders.com.au>
References: <501ECF0F-39A3-4BA9-A3A9-912EDD286BCC@supercoders.com.au>
Date: Fri, 29 May 2015 21:41:30 +0800
Message-ID: <CAEui0wXvAyUgU_Na75X=cx8H6VRXGosinyA4Vi0MPyqim8VqTw@mail.gmail.com>
From: Luke Dunstan <lukedunstan81@gmail.com>
To: Andrew Stuart <andrew.stuart@supercoders.com.au>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Routing.No_route_to_destination_address
 running Mirage web server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

U3VwcG9zZWRseSB0aGUgdW5pa2VybmVsIGlzIG5vdCBzZWVpbmcgYW4gQVJQIHJlc3BvbnNlIGZv
cgoxOTIuMTY4LjEuMTAzLiBXaGF0IGlzIGF0IHRoYXQgYWRkcmVzcz8gUHJlc3VtYWJseSB0aGUg
bWFjaGluZSBydW5uaW5nCnRoZSBIVFRQIGNsaWVudCwgYnV0IG5vdCBkb20wIHdoaWNoIGlzIHdv
cmtpbmcgZmluZT8gV291bGQgeW91IGJlIGFibGUKdG8gcnVuIHRjcGR1bXAgb24gZG9tMCB0byBj
YXB0dXJlIHRoZSBwYWNrZXRzIG9uIHhlbmJyMCBkdXJpbmcgdGhlCnByb2JsZW0/IE1heWJlIGFs
c28gcGluZyAxOTIuMTY4LjEuMTAzIGZyb20gZG9tMCBhZnRlcndhcmRzIGluIHRoZQpzYW1lIGNh
cHR1cmU/CgpCZXN0IHJlZ2FyZHMsCkx1a2UKCgpPbiAyOSBNYXkgMjAxNSBhdCAxMTowNiwgQW5k
cmV3IFN0dWFydCA8YW5kcmV3LnN0dWFydEBzdXBlcmNvZGVycy5jb20uYXU+IHdyb3RlOgo+IEhl
bGxvCj4KPiBJIGFtIHRyeWluZyB0byBydW4gYSBzdGF0aWMgTWlyYWdlIHdlYiBzZXJ2ZXIgb24g
YSBsb2NhbCBYZW4gc2VydmVyLgo+Cj4gV2hlbiBJIGRvCj4gY3VybCAxOTIuMTY4LjEuMTExCj4g
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24gb24gdGltZXIgc2VxID0gNDUyODU5MzA1Cj4gX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KPiBNaXJhZ2VPUy1kZXZlbCBt
YWlsaW5nIGxpc3QKPiBNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwo+IGh0dHA6
Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbWlyYWdlb3Mt
ZGV2ZWwKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCk1p
cmFnZU9TLWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0
Lm9yZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZv
L21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 15:49:14 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 15:49:14 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyMWy-0006gw-IH; Fri, 29 May 2015 15:49:08 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <len@inthemail.org>) id 1YyMWw-0006gn-Nd
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 15:49:06 +0000
Received: from [85.158.139.211] by server-9.bemta-5.messagelabs.com id
	B4/55-03561-27A88655; Fri, 29 May 2015 15:49:06 +0000
X-Env-Sender: len@inthemail.org
X-Msg-Ref: server-5.tower-206.messagelabs.com!1432914543!13762817!1
X-Originating-IP: [209.85.218.52]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 29666 invoked from network); 29 May 2015 15:49:04 -0000
Received: from mail-oi0-f52.google.com (HELO mail-oi0-f52.google.com)
	(209.85.218.52)
	by server-5.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	29 May 2015 15:49:04 -0000
Received: by oiww2 with SMTP id w2so59556855oiw.0
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 29 May 2015 08:49:03 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type
	:content-transfer-encoding;
	bh=jyo5q9E/2REQuJKnArzcAx8K3FUDcWkq7E2oU6kPdUY=;
	b=CqKlgp7hU18IWfXxAh/gkHPsX18nYucCShzGKwL/TEle3v5dsjlLIyaIfe/EQCCXkQ
	y6mI3EQ9ESYiLwakOyqddkJTcBFnMkmT6Fd9H9HkItr/TWUQpSy83ipLEatPIS2KsMH8
	5ZHxWXMswuN1pmCvijti2phlNwYBBCgjGFGY4J5fhVfUPiiDWmFLHnsTuVXIiuRtH6zc
	DorvlkQFnCut5v5bpRQQcOT/LrXw4IsPDYmHOsad/9yjqN8EvhZ/N4rTULaCfWCL4CVq
	IbXy6qiErb1K3KLPHCVmskhoOh/qVOVb4EPqOHpNZjn7SFlkkzIbRJ/GW3qiSrMNycdi
	HRrA==
X-Gm-Message-State: ALoCoQmoVECZcBLZowF3JzjSW7mUCNO1rfLrOKPBBvp2kZVILqt08/pQnun1ap5qyp7x7+hBLXY6
MIME-Version: 1.0
X-Received: by 10.202.194.214 with SMTP id s205mr7299829oif.39.1432914543348; 
	Fri, 29 May 2015 08:49:03 -0700 (PDT)
Received: by 10.202.64.195 with HTTP; Fri, 29 May 2015 08:49:03 -0700 (PDT)
In-Reply-To: <BB7E7898-C049-4A0B-84A7-5B0F8DB2A43C@supercoders.com.au>
References: <E0D0B7EA-6751-4A51-8765-726556195D2F@supercoders.com.au>
	<CAAWM5TwVtO5COKfpPpZ_=nNSvrTM+uUXWw9ntMvTnpFhW3XeBA@mail.gmail.com>
	<2D4CDABE-F35A-40A2-9685-B4CC9DD24135@supercoders.com.au>
	<CAHwFrZeCArMk79TOTqqY-QJxYdYkAcp_wV+ffYY6D4a8ZY58jw@mail.gmail.com>
	<BB7E7898-C049-4A0B-84A7-5B0F8DB2A43C@supercoders.com.au>
Date: Fri, 29 May 2015 11:49:03 -0400
Message-ID: <CAHwFrZef7v1+R_N7CPquEejyZ4kHgkcTEfE_qu-c51+3c4bw5A@mail.gmail.com>
From: Len Maxwell <len@lnmx.org>
To: Andrew Stuart <andrew.stuart@supercoders.com.au>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Web server MIME types / content types
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

QW5kcmV3LAoKT24gRnJpLCBNYXkgMjksIDIwMTUgYXQgOTowMSBBTSwgQW5kcmV3IFN0dWFydAo8
YW5kcmV3LnN0dWFydEBzdXBlcmNvZGVycy5jb20uYXU+IHdyb3RlOgo+IE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19fX19fX19fX19fX19fX18KTWlyYWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRl
dmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2kt
YmluL21haWxtYW4vbGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 15:49:14 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 15:49:14 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyMWy-0006gw-IH; Fri, 29 May 2015 15:49:08 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <len@inthemail.org>) id 1YyMWw-0006gn-Nd
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 15:49:06 +0000
Received: from [85.158.139.211] by server-9.bemta-5.messagelabs.com id
	B4/55-03561-27A88655; Fri, 29 May 2015 15:49:06 +0000
X-Env-Sender: len@inthemail.org
X-Msg-Ref: server-5.tower-206.messagelabs.com!1432914543!13762817!1
X-Originating-IP: [209.85.218.52]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 29666 invoked from network); 29 May 2015 15:49:04 -0000
Received: from mail-oi0-f52.google.com (HELO mail-oi0-f52.google.com)
	(209.85.218.52)
	by server-5.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	29 May 2015 15:49:04 -0000
Received: by oiww2 with SMTP id w2so59556855oiw.0
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 29 May 2015 08:49:03 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type
	:content-transfer-encoding;
	bh=jyo5q9E/2REQuJKnArzcAx8K3FUDcWkq7E2oU6kPdUY=;
	b=CqKlgp7hU18IWfXxAh/gkHPsX18nYucCShzGKwL/TEle3v5dsjlLIyaIfe/EQCCXkQ
	y6mI3EQ9ESYiLwakOyqddkJTcBFnMkmT6Fd9H9HkItr/TWUQpSy83ipLEatPIS2KsMH8
	5ZHxWXMswuN1pmCvijti2phlNwYBBCgjGFGY4J5fhVfUPiiDWmFLHnsTuVXIiuRtH6zc
	DorvlkQFnCut5v5bpRQQcOT/LrXw4IsPDYmHOsad/9yjqN8EvhZ/N4rTULaCfWCL4CVq
	IbXy6qiErb1K3KLPHCVmskhoOh/qVOVb4EPqOHpNZjn7SFlkkzIbRJ/GW3qiSrMNycdi
	HRrA==
X-Gm-Message-State: ALoCoQmoVECZcBLZowF3JzjSW7mUCNO1rfLrOKPBBvp2kZVILqt08/pQnun1ap5qyp7x7+hBLXY6
MIME-Version: 1.0
X-Received: by 10.202.194.214 with SMTP id s205mr7299829oif.39.1432914543348; 
	Fri, 29 May 2015 08:49:03 -0700 (PDT)
Received: by 10.202.64.195 with HTTP; Fri, 29 May 2015 08:49:03 -0700 (PDT)
In-Reply-To: <BB7E7898-C049-4A0B-84A7-5B0F8DB2A43C@supercoders.com.au>
References: <E0D0B7EA-6751-4A51-8765-726556195D2F@supercoders.com.au>
	<CAAWM5TwVtO5COKfpPpZ_=nNSvrTM+uUXWw9ntMvTnpFhW3XeBA@mail.gmail.com>
	<2D4CDABE-F35A-40A2-9685-B4CC9DD24135@supercoders.com.au>
	<CAHwFrZeCArMk79TOTqqY-QJxYdYkAcp_wV+ffYY6D4a8ZY58jw@mail.gmail.com>
	<BB7E7898-C049-4A0B-84A7-5B0F8DB2A43C@supercoders.com.au>
Date: Fri, 29 May 2015 11:49:03 -0400
Message-ID: <CAHwFrZef7v1+R_N7CPquEejyZ4kHgkcTEfE_qu-c51+3c4bw5A@mail.gmail.com>
From: Len Maxwell <len@lnmx.org>
To: Andrew Stuart <andrew.stuart@supercoders.com.au>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Web server MIME types / content types
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

QW5kcmV3LAoKT24gRnJpLCBNYXkgMjksIDIwMTUgYXQgOTowMSBBTSwgQW5kcmV3IFN0dWFydAo8
YW5kcmV3LnN0dWFydEBzdXBlcmNvZGVycy5jb20uYXU+IHdyb3RlOgo+IEhpIExlbiwKPgo+IFRo
YW5rcyBmb3IgdGhlIHJlcGx5LiA6LSkKPgo+IEkgaG9wZSBJ4oCZbSBub3QgY29taW5nIGFjcm9z
cyBhcyB0b28gbmVnYXRpdmUgaWYgSSBzdWdnZXN0IHRoYXQgd2l0aG91dCB0aGUgY29ycmVjdCBj
b250ZW50IHR5cGUgZm9yIEhUTUwgZmlsZXMgdGhlIE1pcmFnZW9zIHVuaWtlcm5lbCB3ZWIgc2Vy
dmVyIHNlcnZpbmcgc3RhdGljIGZpbGVzIGlzIGVmZmVjdGl2ZWx5IGJyb2tlbi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BtaWdodCB0YWtlIHNvbWUgaW5zcGlyYXRpb24gZnJvbSBPY3NpZ2Vu
IFs0XQphbmQgR28ncyBuZXQvaHR0cCBbNV0sIGFuZCB3b3VsZCBjb21wbGVtZW50IHRoZSAic3Rh
dGljIHdlYnNpdGUKZ2VuZXJhdG9yIiBwaW9uZWVyIHByb2plY3QgWzZdLgoKWzFdIGh0dHA6Ly9z
b21lcmFuZG9taWRpb3QuY29tL2Jsb2cvMjAxNC8wOC8xOS9pLWFtLXVuaWtlcm5lbC8KWzJdIGh0
dHA6Ly9pcy1hd2Vzb21lLm5ldC8yMDE0LzExL2J1aWxkaW5nLWEtYmxvZy13aXRoLW1pcmFnZS1v
cy8KWzNdIGh0dHA6Ly9hbWlyY2hhdWRocnkuY29tL2Zyb20tamVreWxsLXRvLXVuaWtlcm5lbC1p
bi1maWZ0eS1saW5lcy8KWzRdIGh0dHA6Ly9vY3NpZ2VuLm9yZwpbNV0gaHR0cDovL2dvbGFuZy5v
cmcvcGtnL25ldC9odHRwCls2XSBodHRwczovL2dpdGh1Yi5jb20vbWlyYWdlL21pcmFnZS13d3cv
d2lraS9QaW9uZWVyLVByb2plY3RzI2Jsb2ctYW5kLW9wYW0tYXdhcmUtc3RhdGljLXdlYnNpdGUt
Z2VuZXJhdG9yCgpjaGVlcnMsCi0tCkxlbgoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX18KTWlyYWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRl
dmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2kt
YmluL21haWxtYW4vbGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 20:16:31 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 20:16:31 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyQha-0005sV-Ow; Fri, 29 May 2015 20:16:22 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1YyQhZ-0005sK-DC
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 20:16:21 +0000
Received: from [85.158.139.211] by server-11.bemta-5.messagelabs.com id
	67/ED-02789-419C8655; Fri, 29 May 2015 20:16:20 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-10.tower-206.messagelabs.com!1432930579!8529183!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 2069 invoked from network); 29 May 2015 20:16:19 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-10.tower-206.messagelabs.com with SMTP;
	29 May 2015 20:16:19 -0000
Received: from [192.168.1.103] (CPE-124-188-3-229.dccz1.win.bigpond.net.au
	[124.188.3.229])
	by mail.supercoders.com.au (Postfix) with ESMTPS id 412E36009D;
	Fri, 29 May 2015 20:16:18 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
In-Reply-To: <CAHwFrZef7v1+R_N7CPquEejyZ4kHgkcTEfE_qu-c51+3c4bw5A@mail.gmail.com>
Date: Sat, 30 May 2015 06:16:15 +1000
Message-Id: <74ED4A59-F30B-49C8-B83C-44B9AA4F088F@supercoders.com.au>
References: <E0D0B7EA-6751-4A51-8765-726556195D2F@supercoders.com.au>
	<CAAWM5TwVtO5COKfpPpZ_=nNSvrTM+uUXWw9ntMvTnpFhW3XeBA@mail.gmail.com>
	<2D4CDABE-F35A-40A2-9685-B4CC9DD24135@supercoders.com.au>
	<CAHwFrZeCArMk79TOTqqY-QJxYdYkAcp_wV+ffYY6D4a8ZY58jw@mail.gmail.com>
	<BB7E7898-C049-4A0B-84A7-5B0F8DB2A43C@supercoders.com.au>
	<CAHwFrZef7v1+R_N7CPquEejyZ4kHgkcTEfE_qu-c51+3c4bw5A@mail.gmail.com>
To: Len Maxwell <len@lnmx.org>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Web server MIME types / content types
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Pj4gSG93ZXZlciwgSSBhZ3JlZSB0aGF0IHN0YXRpY193ZWJzaXRlIGV4YW1wbGUgY291bGQgYmUg
YmV0dGVyIGluIHRoaXMgcmVnYXJkLCBzbzogaHR0cHM6Ly9naXRodWIuY29tL21pcmFnZS9taXJh
Z2Utc2tlbGV0b24vcHVsbC84NwoKVGhhdOKAmXMgYSBmaXgsIHJpZ2h0PyBUaGF0IGlzIG1vc3Qg
b2JsaWdpbmcsIHRoYW5rIHlvdS4KCldoYXQgd291bGQgSSBuZWVkIHRvIGRvIGlmIEkgd2FudGVk
IHRvIG1ha2UgdXNlIG9mIHRoaXM/IEN1cnJlbnRseSBJIGluc3RhbGxlZCBNaXJhZ2UgZnJvbSBP
UEFNIGJ1dCB0aGlzIHByb2JhYmx5IHJlcXVpcmVzIGNsb25pbmcgTWlyYWdlIGZyb20gZ2l0PwoK
dGhhbmtzIGhlYXBzIGZvciBzb3J0aW5nIGl0IG91dCEKCkFuZHJldwoKCgpfX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5n
IGxpc3QKTWlyYWdlT1MtZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhl
bnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 20:16:31 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 20:16:31 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyQha-0005sV-Ow; Fri, 29 May 2015 20:16:22 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1YyQhZ-0005sK-DC
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 20:16:21 +0000
Received: from [85.158.139.211] by server-11.bemta-5.messagelabs.com id
	67/ED-02789-419C8655; Fri, 29 May 2015 20:16:20 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-10.tower-206.messagelabs.com!1432930579!8529183!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 2069 invoked from network); 29 May 2015 20:16:19 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-10.tower-206.messagelabs.com with SMTP;
	29 May 2015 20:16:19 -0000
Received: from [192.168.1.103] (CPE-124-188-3-229.dccz1.win.bigpond.net.au
	[124.188.3.229])
	by mail.supercoders.com.au (Postfix) with ESMTPS id 412E36009D;
	Fri, 29 May 2015 20:16:18 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
In-Reply-To: <CAHwFrZef7v1+R_N7CPquEejyZ4kHgkcTEfE_qu-c51+3c4bw5A@mail.gmail.com>
Date: Sat, 30 May 2015 06:16:15 +1000
Message-Id: <74ED4A59-F30B-49C8-B83C-44B9AA4F088F@supercoders.com.au>
References: <E0D0B7EA-6751-4A51-8765-726556195D2F@supercoders.com.au>
	<CAAWM5TwVtO5COKfpPpZ_=nNSvrTM+uUXWw9ntMvTnpFhW3XeBA@mail.gmail.com>
	<2D4CDABE-F35A-40A2-9685-B4CC9DD24135@supercoders.com.au>
	<CAHwFrZeCArMk79TOTqqY-QJxYdYkAcp_wV+ffYY6D4a8ZY58jw@mail.gmail.com>
	<BB7E7898-C049-4A0B-84A7-5B0F8DB2A43C@supercoders.com.au>
	<CAHwFrZef7v1+R_N7CPquEejyZ4kHgkcTEfE_qu-c51+3c4bw5A@mail.gmail.com>
To: Len Maxwell <len@lnmx.org>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Web server MIME types / content types
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Pj4gSG93ZXZlciwgSSBhZ3JlZSB0aGF0IHN0YXRpY193ZWJzaXRlIGV4YW1wbGUgY291bGQgYmUg
YmV0dGVyIGluIHRoaXMgcmVnYXJkLCBzbzogaHR0cHM6Ly9naXRodWIuY29tL21pcmFnZS9taXJh
Z2Utc2tlbGV0b24vcHVsbC84NwoKVGhhdOKAmXMgYSBmaXgsIHJpZ2h0PyBUaGF0IGlzIG1vc3Qg
b2JsaWdpbmcsIHRoYW5rIHlvdS4KCldoYXQgd291bGQgSSBuZWVkIHRvIGRvIGlmIEkgd2FudGVk
IHRvIG1ha2UgdXNlIG9mIHRoaXM/IEN1cnJlbnRseSBJIGluc3RhbGxlZCBNaXJhZ2UgZnJvbSBP
UEFNIGJ1dCB0aGlzIHByb2JhYmx5IHJlcXVpcmVzIGNsb25pbmcgTWlyYWdlIGZyb20gZ2l0PwoK
dGhhbmtzIGhlYXBzIGZvciBzb3J0aW5nIGl0IG91dCEKCkFuZHJldwoKCgpfX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5n
IGxpc3QKTWlyYWdlT1MtZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhl
bnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 20:43:46 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 20:43:46 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyR82-0008Jl-Rg; Fri, 29 May 2015 20:43:42 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1YyR81-0008Jg-8G
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 20:43:41 +0000
Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id
	96/EC-06739-C7FC8655; Fri, 29 May 2015 20:43:40 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-3.tower-27.messagelabs.com!1432932219!18603171!1
X-Originating-IP: [209.85.212.179]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 28609 invoked from network); 29 May 2015 20:43:39 -0000
Received: from mail-wi0-f179.google.com (HELO mail-wi0-f179.google.com)
	(209.85.212.179)
	by server-3.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	29 May 2015 20:43:39 -0000
Received: by wizo1 with SMTP id o1so37948838wiz.1
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 29 May 2015 13:43:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=Ppki6D2Nmkv9ffji3X2O1LFfamtdBMAo1zsdLERAlrc=;
	b=JdvLSJdNfLv4KDmunuFWiMmXsiTCX8+rNIBw5HO+DxkjyksQRgY/uKG3YW7uYMyf1l
	+eVUb6bPoc85Mqn0r/+JodHogMgPBO1abGISSOtCOS6c6cLA2J1e9+8zuncen6cZpihs
	UzbbiimS/c3RJuPo6J4zfl0IGDoyQg85AgkMJd7l20LrKz6D28DSjSuoII2A8+uFRmQs
	FfgAFTaAVKLUFZY2UqJjvUIEw9YMQkC4AlMnrlN7Gi8lsZTAD0zJPo5cweo6usdD5Z1I
	zgWmrPiKOZWs+wDTFRDTn2sK5nd6YLbnBGkmA0oj8gkhX2ZPU7OfXJr+U6JMsxIlt863
	OxMg==
X-Received: by 10.180.77.136 with SMTP id s8mr9864725wiw.7.1432932218512;
	Fri, 29 May 2015 13:43:38 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122])
	by mx.google.com with ESMTPSA id b10sm4684808wic.1.2015.05.29.13.43.35
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Fri, 29 May 2015 13:43:36 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <CAHwFrZef7v1+R_N7CPquEejyZ4kHgkcTEfE_qu-c51+3c4bw5A@mail.gmail.com>
Date: Fri, 29 May 2015 21:43:34 +0100
Message-Id: <19F3E0E1-86E1-4DAC-9635-699F780BCC14@gazagnaire.org>
References: <E0D0B7EA-6751-4A51-8765-726556195D2F@supercoders.com.au>
	<CAAWM5TwVtO5COKfpPpZ_=nNSvrTM+uUXWw9ntMvTnpFhW3XeBA@mail.gmail.com>
	<2D4CDABE-F35A-40A2-9685-B4CC9DD24135@supercoders.com.au>
	<CAHwFrZeCArMk79TOTqqY-QJxYdYkAcp_wV+ffYY6D4a8ZY58jw@mail.gmail.com>
	<BB7E7898-C049-4A0B-84A7-5B0F8DB2A43C@supercoders.com.au>
	<CAHwFrZef7v1+R_N7CPquEejyZ4kHgkcTEfE_qu-c51+3c4bw5A@mail.gmail.com>
To: Len Maxwell <len@lnmx.org>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Web server MIME types / content types
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

> It looks like mirage-seal is going in this direction, with the caveats
> that a) it's a testbed for TLS support, and b) it does not send
> content-type yet.

Thanks for noticing, I've created https://github.com/mirage/mirage-seal/issues/4 to track that. Patches are welcome :-)

I see mirage-seal as a default way to publish static contents with mirage in the near future. I plan to add a mode to serve HTTP contents only (but yes, currently the goal is to test the other libraries).

Thomas



>  My impression is that other folks start with
> static_website and hack it as needed to serve their purpose, ex. [1]
> [2] [3].
> 
> I think there is an opportunity for a library that fills in some of
> the missing content-serving features, like mime types, cache awareness
> (conditional GET), and compression, while staying within the bounds of
> Mirage compatibility.  It might take some inspiration from Ocsigen [4]
> and Go's net/http [5], and would complement the "static website
> generator" pioneer project [6].
> 
> [1] http://somerandomidiot.com/blog/2014/08/19/i-am-unikernel/
> [2] http://is-awesome.net/2014/11/building-a-blog-with-mirage-os/
> [3] http://amirchaudhry.com/from-jekyll-to-unikernel-in-fifty-lines/
> [4] http://ocsigen.org
> [5] http://golang.org/pkg/net/http
> [6] https://github.com/mirage/mirage-www/wiki/Pioneer-Projects#blog-and-opam-aware-static-website-generator
> 
> cheers,
> --
> Len
> 
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 20:43:46 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 20:43:46 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyR82-0008Jl-Rg; Fri, 29 May 2015 20:43:42 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1YyR81-0008Jg-8G
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 20:43:41 +0000
Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id
	96/EC-06739-C7FC8655; Fri, 29 May 2015 20:43:40 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-3.tower-27.messagelabs.com!1432932219!18603171!1
X-Originating-IP: [209.85.212.179]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 28609 invoked from network); 29 May 2015 20:43:39 -0000
Received: from mail-wi0-f179.google.com (HELO mail-wi0-f179.google.com)
	(209.85.212.179)
	by server-3.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	29 May 2015 20:43:39 -0000
Received: by wizo1 with SMTP id o1so37948838wiz.1
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 29 May 2015 13:43:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=Ppki6D2Nmkv9ffji3X2O1LFfamtdBMAo1zsdLERAlrc=;
	b=JdvLSJdNfLv4KDmunuFWiMmXsiTCX8+rNIBw5HO+DxkjyksQRgY/uKG3YW7uYMyf1l
	+eVUb6bPoc85Mqn0r/+JodHogMgPBO1abGISSOtCOS6c6cLA2J1e9+8zuncen6cZpihs
	UzbbiimS/c3RJuPo6J4zfl0IGDoyQg85AgkMJd7l20LrKz6D28DSjSuoII2A8+uFRmQs
	FfgAFTaAVKLUFZY2UqJjvUIEw9YMQkC4AlMnrlN7Gi8lsZTAD0zJPo5cweo6usdD5Z1I
	zgWmrPiKOZWs+wDTFRDTn2sK5nd6YLbnBGkmA0oj8gkhX2ZPU7OfXJr+U6JMsxIlt863
	OxMg==
X-Received: by 10.180.77.136 with SMTP id s8mr9864725wiw.7.1432932218512;
	Fri, 29 May 2015 13:43:38 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122])
	by mx.google.com with ESMTPSA id b10sm4684808wic.1.2015.05.29.13.43.35
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Fri, 29 May 2015 13:43:36 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <CAHwFrZef7v1+R_N7CPquEejyZ4kHgkcTEfE_qu-c51+3c4bw5A@mail.gmail.com>
Date: Fri, 29 May 2015 21:43:34 +0100
Message-Id: <19F3E0E1-86E1-4DAC-9635-699F780BCC14@gazagnaire.org>
References: <E0D0B7EA-6751-4A51-8765-726556195D2F@supercoders.com.au>
	<CAAWM5TwVtO5COKfpPpZ_=nNSvrTM+uUXWw9ntMvTnpFhW3XeBA@mail.gmail.com>
	<2D4CDABE-F35A-40A2-9685-B4CC9DD24135@supercoders.com.au>
	<CAHwFrZeCArMk79TOTqqY-QJxYdYkAcp_wV+ffYY6D4a8ZY58jw@mail.gmail.com>
	<BB7E7898-C049-4A0B-84A7-5B0F8DB2A43C@supercoders.com.au>
	<CAHwFrZef7v1+R_N7CPquEejyZ4kHgkcTEfE_qu-c51+3c4bw5A@mail.gmail.com>
To: Len Maxwell <len@lnmx.org>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Web server MIME types / content types
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

> It looks like mirage-seal is going in this direction, with the caveats
> that a) it's a testbed for TLS support, and b) it does not send
> content-type yet.

Thanks for noticing, I've created https://github.com/mirage/mirage-seal/issues/4 to track that. Patches are welcome :-)

I see mirage-seal as a default way to publish static contents with mirage in the near future. I plan to add a mode to serve HTTP contents only (but yes, currently the goal is to test the other libraries).

Thomas



>  My impression is that other folks start with
> static_website and hack it as needed to serve their purpose, ex. [1]
> [2] [3].
> 
> I think there is an opportunity for a library that fills in some of
> the missing content-serving features, like mime types, cache awareness
> (conditional GET), and compression, while staying within the bounds of
> Mirage compatibility.  It might take some inspiration from Ocsigen [4]
> and Go's net/http [5], and would complement the "static website
> generator" pioneer project [6].
> 
> [1] http://somerandomidiot.com/blog/2014/08/19/i-am-unikernel/
> [2] http://is-awesome.net/2014/11/building-a-blog-with-mirage-os/
> [3] http://amirchaudhry.com/from-jekyll-to-unikernel-in-fifty-lines/
> [4] http://ocsigen.org
> [5] http://golang.org/pkg/net/http
> [6] https://github.com/mirage/mirage-www/wiki/Pioneer-Projects#blog-and-opam-aware-static-website-generator
> 
> cheers,
> --
> Len
> 
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 20:53:55 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 20:53:55 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyRHt-0000hX-Lu; Fri, 29 May 2015 20:53:53 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <len@inthemail.org>) id 1YyRHs-0000hS-AD
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 20:53:52 +0000
Received: from [193.109.254.147] by server-14.bemta-14.messagelabs.com id
	BF/6E-21300-FD1D8655; Fri, 29 May 2015 20:53:51 +0000
X-Env-Sender: len@inthemail.org
X-Msg-Ref: server-2.tower-27.messagelabs.com!1432932829!18672597!1
X-Originating-IP: [209.85.218.52]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 12370 invoked from network); 29 May 2015 20:53:50 -0000
Received: from mail-oi0-f52.google.com (HELO mail-oi0-f52.google.com)
	(209.85.218.52)
	by server-2.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	29 May 2015 20:53:50 -0000
Received: by oihd6 with SMTP id d6so65546360oih.2
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 29 May 2015 13:53:49 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type
	:content-transfer-encoding;
	bh=Su9T1gR3HnyKeTwN80b7+cFWmi5T5qZl15zgFsdrn4w=;
	b=OtI/nmH1w1w2vYWQ0+X0gIKjperdvmthLC5qE7qNW0IgukxqSUA1NzGVPrww8r8YqF
	BZdPfKKpWI83pft994KBdJl0P9Il2gMKQDUCg/Nk8NmU3fqj2cbmSsP1UmbUzAAAKdhR
	GXc0/7WAbJ1F3F59nFWqUI8A0x+7GErBv8ELFefXFgo/X51EIXdbnPJ7QA0o3eqhbqy+
	RmmvyhgP5UXo4m6OcuH++8lKyaH35g5OIg/nr6X4bp9KLaa5efFL+xndtun9o/TPMAU6
	FhEftVuXZZ9OgiEBtt1w9q5suGegEYM+GhCRrJywq6KLEErpUuyUNLEwQ07jHsmzoFDj
	iVqw==
X-Gm-Message-State: ALoCoQmnWTAEhtvMj8RV+QWyi/H0VIs2I8hYLpLTjZTX7Cw81hPYwmEnVgAw/iOKxcwAmhs3+oip
MIME-Version: 1.0
X-Received: by 10.202.201.22 with SMTP id z22mr2232015oif.130.1432932829461;
	Fri, 29 May 2015 13:53:49 -0700 (PDT)
Received: by 10.202.64.195 with HTTP; Fri, 29 May 2015 13:53:49 -0700 (PDT)
In-Reply-To: <74ED4A59-F30B-49C8-B83C-44B9AA4F088F@supercoders.com.au>
References: <E0D0B7EA-6751-4A51-8765-726556195D2F@supercoders.com.au>
	<CAAWM5TwVtO5COKfpPpZ_=nNSvrTM+uUXWw9ntMvTnpFhW3XeBA@mail.gmail.com>
	<2D4CDABE-F35A-40A2-9685-B4CC9DD24135@supercoders.com.au>
	<CAHwFrZeCArMk79TOTqqY-QJxYdYkAcp_wV+ffYY6D4a8ZY58jw@mail.gmail.com>
	<BB7E7898-C049-4A0B-84A7-5B0F8DB2A43C@supercoders.com.au>
	<CAHwFrZef7v1+R_N7CPquEejyZ4kHgkcTEfE_qu-c51+3c4bw5A@mail.gmail.com>
	<74ED4A59-F30B-49C8-B83C-44B9AA4F088F@supercoders.com.au>
Date: Fri, 29 May 2015 16:53:49 -0400
Message-ID: <CAHwFrZeC9_Jy-n3RAG0AbHG9w1+P8XX5r34MEFPK4nWS9j=x3w@mail.gmail.com>
From: Len Maxwell <len@lnmx.org>
To: Andrew Stuart <andrew.stuart@supercoders.com.au>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Web server MIME types / content types
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

QW5kcmV3LAoKVGhhbmtzIGZvciBwb2ludGluZyBvdXQgdGhlIHByb2JsZW0gaW4gdGhlIGZpcnN0
IHBsYWNlLgoKVGhlIFBSIGFkZHMgY29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oYXTigJlzIGEgZml4LCByaWdodD8gVGhhdCBpcyBtb3N0IG9ibGlnaW5nLCB0aGFuayB5b3Uu
Cj4KPiBXaGF0IHdvdWxkIEkgbmVlZCB0byBkbyBpZiBJIHdhbnRlZCB0byBtYWtlIHVzZSBvZiB0
aGlzPyBDdXJyZW50bHkgSSBpbnN0YWxsZWQgTWlyYWdlIGZyb20gT1BBTSBidXQgdGhpcyBwcm9i
YWJseSByZXF1aXJlcyBjbG9uaW5nIE1pcmFnZSBmcm9tIGdpdD8KPgo+IHRoYW5rcyBoZWFwcyBm
b3Igc29ydGluZyBpdCBvdXQhCj4KPiBBbmRyZXcKPgo+CgpfX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fXwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKTWly
YWdlT1MtZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qu
b3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 20:53:55 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 20:53:55 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyRHt-0000hX-Lu; Fri, 29 May 2015 20:53:53 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <len@inthemail.org>) id 1YyRHs-0000hS-AD
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 20:53:52 +0000
Received: from [193.109.254.147] by server-14.bemta-14.messagelabs.com id
	BF/6E-21300-FD1D8655; Fri, 29 May 2015 20:53:51 +0000
X-Env-Sender: len@inthemail.org
X-Msg-Ref: server-2.tower-27.messagelabs.com!1432932829!18672597!1
X-Originating-IP: [209.85.218.52]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 12370 invoked from network); 29 May 2015 20:53:50 -0000
Received: from mail-oi0-f52.google.com (HELO mail-oi0-f52.google.com)
	(209.85.218.52)
	by server-2.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	29 May 2015 20:53:50 -0000
Received: by oihd6 with SMTP id d6so65546360oih.2
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 29 May 2015 13:53:49 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type
	:content-transfer-encoding;
	bh=Su9T1gR3HnyKeTwN80b7+cFWmi5T5qZl15zgFsdrn4w=;
	b=OtI/nmH1w1w2vYWQ0+X0gIKjperdvmthLC5qE7qNW0IgukxqSUA1NzGVPrww8r8YqF
	BZdPfKKpWI83pft994KBdJl0P9Il2gMKQDUCg/Nk8NmU3fqj2cbmSsP1UmbUzAAAKdhR
	GXc0/7WAbJ1F3F59nFWqUI8A0x+7GErBv8ELFefXFgo/X51EIXdbnPJ7QA0o3eqhbqy+
	RmmvyhgP5UXo4m6OcuH++8lKyaH35g5OIg/nr6X4bp9KLaa5efFL+xndtun9o/TPMAU6
	FhEftVuXZZ9OgiEBtt1w9q5suGegEYM+GhCRrJywq6KLEErpUuyUNLEwQ07jHsmzoFDj
	iVqw==
X-Gm-Message-State: ALoCoQmnWTAEhtvMj8RV+QWyi/H0VIs2I8hYLpLTjZTX7Cw81hPYwmEnVgAw/iOKxcwAmhs3+oip
MIME-Version: 1.0
X-Received: by 10.202.201.22 with SMTP id z22mr2232015oif.130.1432932829461;
	Fri, 29 May 2015 13:53:49 -0700 (PDT)
Received: by 10.202.64.195 with HTTP; Fri, 29 May 2015 13:53:49 -0700 (PDT)
In-Reply-To: <74ED4A59-F30B-49C8-B83C-44B9AA4F088F@supercoders.com.au>
References: <E0D0B7EA-6751-4A51-8765-726556195D2F@supercoders.com.au>
	<CAAWM5TwVtO5COKfpPpZ_=nNSvrTM+uUXWw9ntMvTnpFhW3XeBA@mail.gmail.com>
	<2D4CDABE-F35A-40A2-9685-B4CC9DD24135@supercoders.com.au>
	<CAHwFrZeCArMk79TOTqqY-QJxYdYkAcp_wV+ffYY6D4a8ZY58jw@mail.gmail.com>
	<BB7E7898-C049-4A0B-84A7-5B0F8DB2A43C@supercoders.com.au>
	<CAHwFrZef7v1+R_N7CPquEejyZ4kHgkcTEfE_qu-c51+3c4bw5A@mail.gmail.com>
	<74ED4A59-F30B-49C8-B83C-44B9AA4F088F@supercoders.com.au>
Date: Fri, 29 May 2015 16:53:49 -0400
Message-ID: <CAHwFrZeC9_Jy-n3RAG0AbHG9w1+P8XX5r34MEFPK4nWS9j=x3w@mail.gmail.com>
From: Len Maxwell <len@lnmx.org>
To: Andrew Stuart <andrew.stuart@supercoders.com.au>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Web server MIME types / content types
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-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0aWNfd2Vic2l0ZSBleGFtcGxlIGNvdWxkIGJlIGJldHRlciBpbiB0aGlzIHJlZ2FyZCwg
c286IGh0dHBzOi8vZ2l0aHViLmNvbS9taXJhZ2UvbWlyYWdlLXNrZWxldG9uL3B1bGwvODcKPgo+
IFRoYXTigJlzIGEgZml4LCByaWdodD8gVGhhdCBpcyBtb3N0IG9ibGlnaW5nLCB0aGFuayB5b3Uu
Cj4KPiBXaGF0IHdvdWxkIEkgbmVlZCB0byBkbyBpZiBJIHdhbnRlZCB0byBtYWtlIHVzZSBvZiB0
aGlzPyBDdXJyZW50bHkgSSBpbnN0YWxsZWQgTWlyYWdlIGZyb20gT1BBTSBidXQgdGhpcyBwcm9i
YWJseSByZXF1aXJlcyBjbG9uaW5nIE1pcmFnZSBmcm9tIGdpdD8KPgo+IHRoYW5rcyBoZWFwcyBm
b3Igc29ydGluZyBpdCBvdXQhCj4KPiBBbmRyZXcKPgo+CgpfX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fXwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKTWly
YWdlT1MtZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qu
b3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 21:03:36 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 21:03:36 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyRRG-0001fM-QQ; Fri, 29 May 2015 21:03:34 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1YyRRG-0001fG-3i
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 21:03:34 +0000
Received: from [193.109.254.147] by server-4.bemta-14.messagelabs.com id
	90/1A-27764-524D8655; Fri, 29 May 2015 21:03:33 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-11.tower-27.messagelabs.com!1432933411!12564488!1
X-Originating-IP: [209.85.212.176]
X-SpamReason: No, hits=0.6 required=7.0 tests=MAILTO_TO_SPAM_ADDR, RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 27678 invoked from network); 29 May 2015 21:03:31 -0000
Received: from mail-wi0-f176.google.com (HELO mail-wi0-f176.google.com)
	(209.85.212.176)
	by server-11.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	29 May 2015 21:03:31 -0000
Received: by wifw1 with SMTP id w1so38539633wif.0
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 29 May 2015 14:03:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type:content-transfer-encoding;
	bh=0FPZL2XEdBW4Fe/WXY1B4VXq4uQjwYzpLvU7iNi35pI=;
	b=CUqmDTv8UMJLf2TanT2x8MPHHTnfcUYIVeH0AyrMgZ+5T14mgt4lYiKz+sSEp7iDYR
	vNw3PmXByz9vgY/qi12Epb4o9QuV6f6kiPx4WntpQtHDNDcZQ4nz6ClkzQBbmmGuyIGi
	mQDJroC22SR93Wb/YUZI6VXk4QDIlC09Vzm80vQuD+kXfe4JqjexhebWvUuoeBE9Sl0d
	QsLvKeq0cAzs0gcZHhqmhPbOoStLN09nFOnX7xzBA0F+N2xNg+dDZvtqhZ7h7A7+iWBo
	vkOzMf1SUchUQBquwCyE+28aZLEp9cER0SKcmIn6i+VmbF35NgMDj8OLEJEcCEfUPx8l
	rglg==
MIME-Version: 1.0
X-Received: by 10.180.95.10 with SMTP id dg10mr10213396wib.41.1432933410734;
	Fri, 29 May 2015 14:03:30 -0700 (PDT)
Received: by 10.28.226.193 with HTTP; Fri, 29 May 2015 14:03:30 -0700 (PDT)
In-Reply-To: <CAEui0wXvAyUgU_Na75X=cx8H6VRXGosinyA4Vi0MPyqim8VqTw@mail.gmail.com>
References: <501ECF0F-39A3-4BA9-A3A9-912EDD286BCC@supercoders.com.au>
	<CAEui0wXvAyUgU_Na75X=cx8H6VRXGosinyA4Vi0MPyqim8VqTw@mail.gmail.com>
Date: Fri, 29 May 2015 22:03:30 +0100
X-Google-Sender-Auth: UYrt3_NnIMJDXur4809Qjfhmpk8
Message-ID: <CAN2Hq07DuTfavNEqvmLWhdbX3qne1MrBp9AJoAAn3+=e6xq4dg@mail.gmail.com>
From: Richard Mortier <mort@cantab.net>
To: Luke Dunstan <lukedunstan81@gmail.com>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Routing.No_route_to_destination_address
 running Mirage web server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T3V0cHV0IG9mIGBpZmNvbmZpZ2AgaW4gZG9tMCBtYXkgYWxzbyBiZSB1c2VmdWwuL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o+PiBUQ1AgcmV0cmFuc21p
c3Npb24gb24gdGltZXIgc2VxID0gNDUyODU5MzA1Cj4+IF9fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fCj4+IE1pcmFnZU9TLWRldmVsIG1haWxpbmcgbGlzdAo+
PiBNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwo+PiBodHRwOi8vbGlzdHMueGVu
cHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCj4KPiBf
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwo+IE1pcmFnZU9T
LWRldmVsIG1haWxpbmcgbGlzdAo+IE1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3Jn
Cj4gaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9t
aXJhZ2Vvcy1kZXZlbAoKCgotLSAKUmljaGFyZCBNb3J0aWVyCm1vcnRAY2FudGFiLm5ldAoKX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTWlyYWdlT1MtZGV2
ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCmh0dHA6
Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbWlyYWdlb3Mt
ZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 21:03:36 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 21:03:36 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyRRG-0001fM-QQ; Fri, 29 May 2015 21:03:34 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1YyRRG-0001fG-3i
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 21:03:34 +0000
Received: from [193.109.254.147] by server-4.bemta-14.messagelabs.com id
	90/1A-27764-524D8655; Fri, 29 May 2015 21:03:33 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-11.tower-27.messagelabs.com!1432933411!12564488!1
X-Originating-IP: [209.85.212.176]
X-SpamReason: No, hits=0.6 required=7.0 tests=MAILTO_TO_SPAM_ADDR, RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 27678 invoked from network); 29 May 2015 21:03:31 -0000
Received: from mail-wi0-f176.google.com (HELO mail-wi0-f176.google.com)
	(209.85.212.176)
	by server-11.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	29 May 2015 21:03:31 -0000
Received: by wifw1 with SMTP id w1so38539633wif.0
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 29 May 2015 14:03:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type:content-transfer-encoding;
	bh=0FPZL2XEdBW4Fe/WXY1B4VXq4uQjwYzpLvU7iNi35pI=;
	b=CUqmDTv8UMJLf2TanT2x8MPHHTnfcUYIVeH0AyrMgZ+5T14mgt4lYiKz+sSEp7iDYR
	vNw3PmXByz9vgY/qi12Epb4o9QuV6f6kiPx4WntpQtHDNDcZQ4nz6ClkzQBbmmGuyIGi
	mQDJroC22SR93Wb/YUZI6VXk4QDIlC09Vzm80vQuD+kXfe4JqjexhebWvUuoeBE9Sl0d
	QsLvKeq0cAzs0gcZHhqmhPbOoStLN09nFOnX7xzBA0F+N2xNg+dDZvtqhZ7h7A7+iWBo
	vkOzMf1SUchUQBquwCyE+28aZLEp9cER0SKcmIn6i+VmbF35NgMDj8OLEJEcCEfUPx8l
	rglg==
MIME-Version: 1.0
X-Received: by 10.180.95.10 with SMTP id dg10mr10213396wib.41.1432933410734;
	Fri, 29 May 2015 14:03:30 -0700 (PDT)
Received: by 10.28.226.193 with HTTP; Fri, 29 May 2015 14:03:30 -0700 (PDT)
In-Reply-To: <CAEui0wXvAyUgU_Na75X=cx8H6VRXGosinyA4Vi0MPyqim8VqTw@mail.gmail.com>
References: <501ECF0F-39A3-4BA9-A3A9-912EDD286BCC@supercoders.com.au>
	<CAEui0wXvAyUgU_Na75X=cx8H6VRXGosinyA4Vi0MPyqim8VqTw@mail.gmail.com>
Date: Fri, 29 May 2015 22:03:30 +0100
X-Google-Sender-Auth: UYrt3_NnIMJDXur4809Qjfhmpk8
Message-ID: <CAN2Hq07DuTfavNEqvmLWhdbX3qne1MrBp9AJoAAn3+=e6xq4dg@mail.gmail.com>
From: Richard Mortier <mort@cantab.net>
To: Luke Dunstan <lukedunstan81@gmail.com>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Routing.No_route_to_destination_address
 running Mirage web server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@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zc2lvbiBvbiB0aW1lciBzZXEgPSA0NTI4Njk4MjEKPj4gVENQ
IHJldHJhbnNtaXNzaW9uIG9uIHRpbWVyIHNlcSA9IDQ1Mjg3ODM4OAo+PiBUQ1AgcmV0cmFuc21p
c3Npb24gb24gdGltZXIgc2VxID0gNDUyODU5MzA1Cj4+IF9fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fCj4+IE1pcmFnZU9TLWRldmVsIG1haWxpbmcgbGlzdAo+
PiBNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwo+PiBodHRwOi8vbGlzdHMueGVu
cHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCj4KPiBf
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwo+IE1pcmFnZU9T
LWRldmVsIG1haWxpbmcgbGlzdAo+IE1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3Jn
Cj4gaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9t
aXJhZ2Vvcy1kZXZlbAoKCgotLSAKUmljaGFyZCBNb3J0aWVyCm1vcnRAY2FudGFiLm5ldAoKX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTWlyYWdlT1MtZGV2
ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCmh0dHA6
Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbWlyYWdlb3Mt
ZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 21:27:22 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 21:27:22 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyRoB-0003rz-Kj; Fri, 29 May 2015 21:27:15 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1YyRoA-0003qU-4D
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 21:27:14 +0000
Received: from [85.158.139.211] by server-5.bemta-5.messagelabs.com id
	4D/CA-03224-1B9D8655; Fri, 29 May 2015 21:27:13 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-3.tower-206.messagelabs.com!1432934832!6245891!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 11048 invoked from network); 29 May 2015 21:27:12 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-3.tower-206.messagelabs.com with SMTP;
	29 May 2015 21:27:12 -0000
Received: from [192.168.1.103] (CPE-124-188-3-229.dccz1.win.bigpond.net.au
	[124.188.3.229])
	by mail.supercoders.com.au (Postfix) with ESMTPS id C32246009D;
	Fri, 29 May 2015 21:27:10 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
In-Reply-To: <CAHwFrZeC9_Jy-n3RAG0AbHG9w1+P8XX5r34MEFPK4nWS9j=x3w@mail.gmail.com>
Date: Sat, 30 May 2015 07:27:08 +1000
Message-Id: <40176A06-C540-4C42-8695-C85BD499F6D8@supercoders.com.au>
References: <E0D0B7EA-6751-4A51-8765-726556195D2F@supercoders.com.au>
	<CAAWM5TwVtO5COKfpPpZ_=nNSvrTM+uUXWw9ntMvTnpFhW3XeBA@mail.gmail.com>
	<2D4CDABE-F35A-40A2-9685-B4CC9DD24135@supercoders.com.au>
	<CAHwFrZeCArMk79TOTqqY-QJxYdYkAcp_wV+ffYY6D4a8ZY58jw@mail.gmail.com>
	<BB7E7898-C049-4A0B-84A7-5B0F8DB2A43C@supercoders.com.au>
	<CAHwFrZef7v1+R_N7CPquEejyZ4kHgkcTEfE_qu-c51+3c4bw5A@mail.gmail.com>
	<74ED4A59-F30B-49C8-B83C-44B9AA4F088F@supercoders.com.au>
	<CAHwFrZeC9_Jy-n3RAG0AbHG9w1+P8XX5r34MEFPK4nWS9j=x3w@mail.gmail.com>
To: Len Maxwell <len@lnmx.org>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Web server MIME types / content types
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Ahhh. How satisfying. 

That was the last problem to resolve in a long process of trying to make Mirageos run as a static web server.
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 21:27:22 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 21:27:22 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YyRoB-0003rz-Kj; Fri, 29 May 2015 21:27:15 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1YyRoA-0003qU-4D
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 21:27:14 +0000
Received: from [85.158.139.211] by server-5.bemta-5.messagelabs.com id
	4D/CA-03224-1B9D8655; Fri, 29 May 2015 21:27:13 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-3.tower-206.messagelabs.com!1432934832!6245891!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 11048 invoked from network); 29 May 2015 21:27:12 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-3.tower-206.messagelabs.com with SMTP;
	29 May 2015 21:27:12 -0000
Received: from [192.168.1.103] (CPE-124-188-3-229.dccz1.win.bigpond.net.au
	[124.188.3.229])
	by mail.supercoders.com.au (Postfix) with ESMTPS id C32246009D;
	Fri, 29 May 2015 21:27:10 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
In-Reply-To: <CAHwFrZeC9_Jy-n3RAG0AbHG9w1+P8XX5r34MEFPK4nWS9j=x3w@mail.gmail.com>
Date: Sat, 30 May 2015 07:27:08 +1000
Message-Id: <40176A06-C540-4C42-8695-C85BD499F6D8@supercoders.com.au>
References: <E0D0B7EA-6751-4A51-8765-726556195D2F@supercoders.com.au>
	<CAAWM5TwVtO5COKfpPpZ_=nNSvrTM+uUXWw9ntMvTnpFhW3XeBA@mail.gmail.com>
	<2D4CDABE-F35A-40A2-9685-B4CC9DD24135@supercoders.com.au>
	<CAHwFrZeCArMk79TOTqqY-QJxYdYkAcp_wV+ffYY6D4a8ZY58jw@mail.gmail.com>
	<BB7E7898-C049-4A0B-84A7-5B0F8DB2A43C@supercoders.com.au>
	<CAHwFrZef7v1+R_N7CPquEejyZ4kHgkcTEfE_qu-c51+3c4bw5A@mail.gmail.com>
	<74ED4A59-F30B-49C8-B83C-44B9AA4F088F@supercoders.com.au>
	<CAHwFrZeC9_Jy-n3RAG0AbHG9w1+P8XX5r34MEFPK4nWS9j=x3w@mail.gmail.com>
To: Len Maxwell <len@lnmx.org>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Web server MIME types / content types
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Ahhh. How satisfying. 

That was the last problem to resolve in a long process of trying to make Mirageos run as a static web server.
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 22:10:25 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 22:10:25 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YySTu-0008IL-KY; Fri, 29 May 2015 22:10:22 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1YySTt-0008IB-3j
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 22:10:21 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	77/90-10437-CC3E8655; Fri, 29 May 2015 22:10:20 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-12.tower-31.messagelabs.com!1432937417!11369579!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 29883 invoked from network); 29 May 2015 22:10:18 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-12.tower-31.messagelabs.com with SMTP;
	29 May 2015 22:10:18 -0000
Received: from [192.168.1.103] (CPE-124-188-3-229.dccz1.win.bigpond.net.au
	[124.188.3.229])
	by mail.supercoders.com.au (Postfix) with ESMTPS id 9DD576009D;
	Fri, 29 May 2015 22:10:16 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
In-Reply-To: <CAEui0wXvAyUgU_Na75X=cx8H6VRXGosinyA4Vi0MPyqim8VqTw@mail.gmail.com>
Date: Sat, 30 May 2015 08:10:14 +1000
Message-Id: <92FE53BC-6749-4D99-8321-B27F31813820@supercoders.com.au>
References: <501ECF0F-39A3-4BA9-A3A9-912EDD286BCC@supercoders.com.au>
	<CAEui0wXvAyUgU_Na75X=cx8H6VRXGosinyA4Vi0MPyqim8VqTw@mail.gmail.com>
To: Luke Dunstan <lukedunstan81@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Routing.No_route_to_destination_address
	running Mirage web server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

192.168.1.103 is my Mac
192.168.1.1 is my laptop which is a Xen host

>>Output of `ifconfig` in dom0 may also be useful...?

from 192.168.1.1

ifconfig -a

root@contiki:/home/ubuntu# ifconfig -a
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:47 errors:0 dropped:0 overruns:0 frame:0
          TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4883 (4.8 KB)  TX bytes:4883 (4.8 KB)

p2p1      Link encap:Ethernet  HWaddr f8:a9:63:4a:2f:65
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2034949 errors:0 dropped:0 overruns:0 frame:0
          TX packets:49325 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1306847225 (1.3 GB)  TX bytes:21560010 (21.5 MB)

wlan0     Link encap:Ethernet  HWaddr 30:3a:64:af:08:b1
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

xenbr0    Link encap:Ethernet  HWaddr f8:a9:63:4a:2f:65
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::faa9:63ff:fe4a:2f65/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:101804 errors:0 dropped:6 overruns:0 frame:0
          TX packets:48823 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:80428756 (80.4 MB)  TX bytes:21535927 (21.5 MB)

root@contiki:/home/ubuntu#

>> Would you be able to run tcpdump on dom0 to capture the packets on xenbr0 during the problem? 

18:04:34.751705 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:16:3e:0b:8c:b2 (oui Unknown), length 552
18:04:34.754623 ARP, Request who-has 192.168.1.118 tell 192.168.1.254, length 46
18:04:35.073860 IP 192.168.1.1.56640 > google-public-dns-a.google.com.domain: 32842+ PTR? 255.255.255.255.in-addr.arpa. (46)
18:04:35.095372 IP google-public-dns-a.google.com.domain > 192.168.1.1.56640: 32842 NXDomain 0/1/0 (114)
18:04:35.095933 IP 192.168.1.1.49621 > google-public-dns-a.google.com.domain: 53358+ PTR? 0.0.0.0.in-addr.arpa. (38)
18:04:35.253334 IP google-public-dns-a.google.com.domain > 192.168.1.1.49621: 53358 NXDomain 0/1/0 (106)
18:04:35.253926 IP 192.168.1.1.39641 > google-public-dns-a.google.com.domain: 42061+ PTR? 118.1.168.192.in-addr.arpa. (44)
18:04:35.275753 IP google-public-dns-a.google.com.domain > 192.168.1.1.39641: 42061 NXDomain 0/0/0 (44)
18:04:35.742541 ARP, Request who-has 192.168.1.118 tell 192.168.1.254, length 46
18:04:35.744513 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:16:3e:0b:8c:b2 (oui Unknown), length 552
18:04:35.759648 ARP, Reply 192.168.1.118 is-at 00:16:3e:0b:8c:b2 (oui Unknown), length 28
18:04:35.760446 ARP, Request who-has 192.168.1.254 (Broadcast) tell 192.168.1.118, length 28
18:04:40.081644 ARP, Request who-has 192.168.1.1 tell 192.168.1.254, length 46
18:04:40.081688 ARP, Reply 192.168.1.1 is-at f8:a9:63:4a:2f:65 (oui Unknown), length 28
18:04:40.202520 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 253
18:04:40.203443 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 317
18:04:40.204363 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 327
18:04:40.205246 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 325
18:04:40.206343 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 321
18:04:40.207293 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 301
18:04:40.208165 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 333
18:04:40.209021 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 315
18:04:40.209917 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 317
18:04:40.210819 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 317
18:05:10.127384 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 253
18:05:10.128315 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 317
18:05:10.129214 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 327
18:05:10.130115 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 325
18:05:10.131016 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 321
18:05:10.131872 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 301
18:05:10.132744 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 333
18:05:10.133642 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 315
18:05:10.134542 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 317
18:05:10.135443 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 317
18:05:19.093280 IP 192.168.1.115.52323 > 239.255.255.250.1900: UDP, length 407
18:05:19.114282 IP 192.168.1.115.52323 > 239.255.255.250.1900: UDP, length 416
18:05:19.136352 IP 192.168.1.115.52323 > 239.255.255.250.1900: UDP, length 463
18:05:19.157109 IP 192.168.1.115.52323 > 239.255.255.250.1900: UDP, length 471
18:05:19.177950 IP 192.168.1.115.52323 > 239.255.255.250.1900: UDP, length 473
18:05:19.198741 IP 192.168.1.115.52323 > 239.255.255.250.1900: UDP, length 461
18:05:19.219891 IP 192.168.1.115.52323 > 239.255.255.250.1900: UDP, length 447
18:05:19.320863 IP 192.168.1.115.52323 > 239.255.255.250.1900: UDP, length 407
18:05:19.342378 IP 192.168.1.115.52323 > 239.255.255.250.1900: UDP, length 416
18:05:19.365113 IP 192.168.1.115.52323 > 239.255.255.250.1900: UDP, length 463
18:05:19.386710 IP 192.168.1.115.52323 > 239.255.255.250.1900: UDP, length 471
18:05:19.408173 IP 192.168.1.115.52323 > 239.255.255.250.1900: UDP, length 473
18:05:19.430274 IP 192.168.1.115.52323 > 239.255.255.250.1900: UDP, length 461
18:05:19.451756 IP 192.168.1.115.52323 > 239.255.255.250.1900: UDP, length 447
18:05:20.094903 IP 192.168.1.1.49362 > google-public-dns-a.google.com.domain: 7308+ PTR? 115.1.168.192.in-addr.arpa. (44)
18:05:20.118259 IP google-public-dns-a.google.com.domain > 192.168.1.1.49362: 7308 NXDomain 0/0/0 (44)
18:05:25.095635 ARP, Request who-has 192.168.1.254 tell 192.168.1.1, length 28
18:05:25.096152 ARP, Reply 192.168.1.254 is-at 00:04:ed:b2:9d:0e (oui Unknown), length 46
18:05:31.559255 ARP, Request who-has 192.168.1.118 tell 192.168.1.103, length 46
18:05:31.560938 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:32.104190 IP 192.168.1.1.53235 > google-public-dns-a.google.com.domain: 42097+ PTR? 103.1.168.192.in-addr.arpa. (44)
18:05:32.126014 IP google-public-dns-a.google.com.domain > 192.168.1.1.53235: 42097 NXDomain 0/0/0 (44)
18:05:33.061136 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:34.561235 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:36.061430 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:37.108474 ARP, Request who-has 192.168.1.1 tell 192.168.1.254, length 46
18:05:37.108518 ARP, Reply 192.168.1.1 is-at f8:a9:63:4a:2f:65 (oui Unknown), length 28
18:05:37.568855 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:39.069039 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:40.052202 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 253
18:05:40.053153 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 317
18:05:40.054033 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 327
18:05:40.055161 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 325
18:05:40.056071 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 321
18:05:40.056969 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 301
18:05:40.057873 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 333
18:05:40.058756 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 315
18:05:40.059646 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 317
18:05:40.060571 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 317
18:05:40.569169 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:42.069264 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:44.572788 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:46.072930 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:47.573089 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:49.073256 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:50.621140 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:52.121252 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:53.621365 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:55.121496 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:57.576917 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:59.077114 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:06:00.577260 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:06:02.077380 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:06:03.598891 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
^C
171 packets captured
171 packets received by filter
0 packets dropped by kernel
root@contiki:/home/ubuntu/mirage-test#

>>Maybe also ping 192.168.1.103 from dom0 afterwards in the same capture?

--- 192.168.1.1 ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.991/1.275/1.458/0.203 ms
andrew-stuarts-macbook-pro:~ andrewstuartsupercoders$ ping 192.168.1.118
PING 192.168.1.118 (192.168.1.118): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
Request timeout for icmp_seq 4
Request timeout for icmp_seq 5
Request timeout for icmp_seq 6
Request timeout for icmp_seq 7
Request timeout for icmp_seq 8
Request timeout for icmp_seq 9
Request timeout for icmp_seq 10
Request timeout for icmp_seq 11
Request timeout for icmp_seq 12
Request timeout for icmp_seq 13
Request timeout for icmp_seq 14
Request timeout for icmp_seq 15
Request timeout for icmp_seq 16
Request timeout for icmp_seq 17
Request timeout for icmp_seq 18
Request timeout for icmp_seq 19
Request timeout for icmp_seq 20
Request timeout for icmp_seq 21

4.725972 ARP, Request who-has 192.168.1.118 tell 192.168.1.103, length 46
18:08:34.727239 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:08:36.227419 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:08:37.727567 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:08:39.227718 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:08:39.601421 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 253
18:08:39.602367 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 317
18:08:39.603252 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 327
18:08:39.604158 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 325
18:08:39.604994 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 321
18:08:39.605881 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 301
18:08:39.606773 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 333
18:08:39.607676 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 315
18:08:39.608575 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 317
18:08:39.609460 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 317
18:08:40.743315 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:08:42.243504 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:08:43.743664 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:08:45.243787 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:08:46.760310 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:08:48.260488 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28





_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 22:10:25 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 22:10:25 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YySTu-0008IL-KY; Fri, 29 May 2015 22:10:22 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1YySTt-0008IB-3j
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 22:10:21 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	77/90-10437-CC3E8655; Fri, 29 May 2015 22:10:20 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-12.tower-31.messagelabs.com!1432937417!11369579!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 29883 invoked from network); 29 May 2015 22:10:18 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-12.tower-31.messagelabs.com with SMTP;
	29 May 2015 22:10:18 -0000
Received: from [192.168.1.103] (CPE-124-188-3-229.dccz1.win.bigpond.net.au
	[124.188.3.229])
	by mail.supercoders.com.au (Postfix) with ESMTPS id 9DD576009D;
	Fri, 29 May 2015 22:10:16 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
In-Reply-To: <CAEui0wXvAyUgU_Na75X=cx8H6VRXGosinyA4Vi0MPyqim8VqTw@mail.gmail.com>
Date: Sat, 30 May 2015 08:10:14 +1000
Message-Id: <92FE53BC-6749-4D99-8321-B27F31813820@supercoders.com.au>
References: <501ECF0F-39A3-4BA9-A3A9-912EDD286BCC@supercoders.com.au>
	<CAEui0wXvAyUgU_Na75X=cx8H6VRXGosinyA4Vi0MPyqim8VqTw@mail.gmail.com>
To: Luke Dunstan <lukedunstan81@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Routing.No_route_to_destination_address
	running Mirage web server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

192.168.1.103 is my Mac
192.168.1.1 is my laptop which is a Xen host

>>Output of `ifconfig` in dom0 may also be useful...?

from 192.168.1.1

ifconfig -a

root@contiki:/home/ubuntu# ifconfig -a
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:47 errors:0 dropped:0 overruns:0 frame:0
          TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4883 (4.8 KB)  TX bytes:4883 (4.8 KB)

p2p1      Link encap:Ethernet  HWaddr f8:a9:63:4a:2f:65
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2034949 errors:0 dropped:0 overruns:0 frame:0
          TX packets:49325 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1306847225 (1.3 GB)  TX bytes:21560010 (21.5 MB)

wlan0     Link encap:Ethernet  HWaddr 30:3a:64:af:08:b1
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

xenbr0    Link encap:Ethernet  HWaddr f8:a9:63:4a:2f:65
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::faa9:63ff:fe4a:2f65/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:101804 errors:0 dropped:6 overruns:0 frame:0
          TX packets:48823 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:80428756 (80.4 MB)  TX bytes:21535927 (21.5 MB)

root@contiki:/home/ubuntu#

>> Would you be able to run tcpdump on dom0 to capture the packets on xenbr0 during the problem? 

18:04:34.751705 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:16:3e:0b:8c:b2 (oui Unknown), length 552
18:04:34.754623 ARP, Request who-has 192.168.1.118 tell 192.168.1.254, length 46
18:04:35.073860 IP 192.168.1.1.56640 > google-public-dns-a.google.com.domain: 32842+ PTR? 255.255.255.255.in-addr.arpa. (46)
18:04:35.095372 IP google-public-dns-a.google.com.domain > 192.168.1.1.56640: 32842 NXDomain 0/1/0 (114)
18:04:35.095933 IP 192.168.1.1.49621 > google-public-dns-a.google.com.domain: 53358+ PTR? 0.0.0.0.in-addr.arpa. (38)
18:04:35.253334 IP google-public-dns-a.google.com.domain > 192.168.1.1.49621: 53358 NXDomain 0/1/0 (106)
18:04:35.253926 IP 192.168.1.1.39641 > google-public-dns-a.google.com.domain: 42061+ PTR? 118.1.168.192.in-addr.arpa. (44)
18:04:35.275753 IP google-public-dns-a.google.com.domain > 192.168.1.1.39641: 42061 NXDomain 0/0/0 (44)
18:04:35.742541 ARP, Request who-has 192.168.1.118 tell 192.168.1.254, length 46
18:04:35.744513 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:16:3e:0b:8c:b2 (oui Unknown), length 552
18:04:35.759648 ARP, Reply 192.168.1.118 is-at 00:16:3e:0b:8c:b2 (oui Unknown), length 28
18:04:35.760446 ARP, Request who-has 192.168.1.254 (Broadcast) tell 192.168.1.118, length 28
18:04:40.081644 ARP, Request who-has 192.168.1.1 tell 192.168.1.254, length 46
18:04:40.081688 ARP, Reply 192.168.1.1 is-at f8:a9:63:4a:2f:65 (oui Unknown), length 28
18:04:40.202520 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 253
18:04:40.203443 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 317
18:04:40.204363 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 327
18:04:40.205246 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 325
18:04:40.206343 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 321
18:04:40.207293 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 301
18:04:40.208165 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 333
18:04:40.209021 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 315
18:04:40.209917 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 317
18:04:40.210819 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 317
18:05:10.127384 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 253
18:05:10.128315 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 317
18:05:10.129214 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 327
18:05:10.130115 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 325
18:05:10.131016 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 321
18:05:10.131872 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 301
18:05:10.132744 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 333
18:05:10.133642 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 315
18:05:10.134542 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 317
18:05:10.135443 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 317
18:05:19.093280 IP 192.168.1.115.52323 > 239.255.255.250.1900: UDP, length 407
18:05:19.114282 IP 192.168.1.115.52323 > 239.255.255.250.1900: UDP, length 416
18:05:19.136352 IP 192.168.1.115.52323 > 239.255.255.250.1900: UDP, length 463
18:05:19.157109 IP 192.168.1.115.52323 > 239.255.255.250.1900: UDP, length 471
18:05:19.177950 IP 192.168.1.115.52323 > 239.255.255.250.1900: UDP, length 473
18:05:19.198741 IP 192.168.1.115.52323 > 239.255.255.250.1900: UDP, length 461
18:05:19.219891 IP 192.168.1.115.52323 > 239.255.255.250.1900: UDP, length 447
18:05:19.320863 IP 192.168.1.115.52323 > 239.255.255.250.1900: UDP, length 407
18:05:19.342378 IP 192.168.1.115.52323 > 239.255.255.250.1900: UDP, length 416
18:05:19.365113 IP 192.168.1.115.52323 > 239.255.255.250.1900: UDP, length 463
18:05:19.386710 IP 192.168.1.115.52323 > 239.255.255.250.1900: UDP, length 471
18:05:19.408173 IP 192.168.1.115.52323 > 239.255.255.250.1900: UDP, length 473
18:05:19.430274 IP 192.168.1.115.52323 > 239.255.255.250.1900: UDP, length 461
18:05:19.451756 IP 192.168.1.115.52323 > 239.255.255.250.1900: UDP, length 447
18:05:20.094903 IP 192.168.1.1.49362 > google-public-dns-a.google.com.domain: 7308+ PTR? 115.1.168.192.in-addr.arpa. (44)
18:05:20.118259 IP google-public-dns-a.google.com.domain > 192.168.1.1.49362: 7308 NXDomain 0/0/0 (44)
18:05:25.095635 ARP, Request who-has 192.168.1.254 tell 192.168.1.1, length 28
18:05:25.096152 ARP, Reply 192.168.1.254 is-at 00:04:ed:b2:9d:0e (oui Unknown), length 46
18:05:31.559255 ARP, Request who-has 192.168.1.118 tell 192.168.1.103, length 46
18:05:31.560938 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:32.104190 IP 192.168.1.1.53235 > google-public-dns-a.google.com.domain: 42097+ PTR? 103.1.168.192.in-addr.arpa. (44)
18:05:32.126014 IP google-public-dns-a.google.com.domain > 192.168.1.1.53235: 42097 NXDomain 0/0/0 (44)
18:05:33.061136 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:34.561235 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:36.061430 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:37.108474 ARP, Request who-has 192.168.1.1 tell 192.168.1.254, length 46
18:05:37.108518 ARP, Reply 192.168.1.1 is-at f8:a9:63:4a:2f:65 (oui Unknown), length 28
18:05:37.568855 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:39.069039 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:40.052202 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 253
18:05:40.053153 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 317
18:05:40.054033 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 327
18:05:40.055161 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 325
18:05:40.056071 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 321
18:05:40.056969 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 301
18:05:40.057873 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 333
18:05:40.058756 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 315
18:05:40.059646 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 317
18:05:40.060571 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 317
18:05:40.569169 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:42.069264 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:44.572788 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:46.072930 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:47.573089 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:49.073256 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:50.621140 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:52.121252 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:53.621365 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:55.121496 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:57.576917 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:05:59.077114 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:06:00.577260 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:06:02.077380 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:06:03.598891 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
^C
171 packets captured
171 packets received by filter
0 packets dropped by kernel
root@contiki:/home/ubuntu/mirage-test#

>>Maybe also ping 192.168.1.103 from dom0 afterwards in the same capture?

--- 192.168.1.1 ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.991/1.275/1.458/0.203 ms
andrew-stuarts-macbook-pro:~ andrewstuartsupercoders$ ping 192.168.1.118
PING 192.168.1.118 (192.168.1.118): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
Request timeout for icmp_seq 4
Request timeout for icmp_seq 5
Request timeout for icmp_seq 6
Request timeout for icmp_seq 7
Request timeout for icmp_seq 8
Request timeout for icmp_seq 9
Request timeout for icmp_seq 10
Request timeout for icmp_seq 11
Request timeout for icmp_seq 12
Request timeout for icmp_seq 13
Request timeout for icmp_seq 14
Request timeout for icmp_seq 15
Request timeout for icmp_seq 16
Request timeout for icmp_seq 17
Request timeout for icmp_seq 18
Request timeout for icmp_seq 19
Request timeout for icmp_seq 20
Request timeout for icmp_seq 21

4.725972 ARP, Request who-has 192.168.1.118 tell 192.168.1.103, length 46
18:08:34.727239 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:08:36.227419 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:08:37.727567 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:08:39.227718 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:08:39.601421 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 253
18:08:39.602367 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 317
18:08:39.603252 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 327
18:08:39.604158 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 325
18:08:39.604994 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 321
18:08:39.605881 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 301
18:08:39.606773 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 333
18:08:39.607676 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 315
18:08:39.608575 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 317
18:08:39.609460 IP 192.168.1.254.nfs > 239.255.255.250.1900: UDP, length 317
18:08:40.743315 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:08:42.243504 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:08:43.743664 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:08:45.243787 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:08:46.760310 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28
18:08:48.260488 ARP, Request who-has 192.168.1.103 (Broadcast) tell 192.168.1.118, length 28





_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 22:11:31 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 22:11:31 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YySV0-0008MK-RS; Fri, 29 May 2015 22:11:30 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1YySUz-0008ME-Ez
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 22:11:29 +0000
Received: from [193.109.254.147] by server-10.bemta-14.messagelabs.com id
	D5/60-30151-E04E8655; Fri, 29 May 2015 22:11:26 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-15.tower-27.messagelabs.com!1432937485!18704460!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 22483 invoked from network); 29 May 2015 22:11:25 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-15.tower-27.messagelabs.com with SMTP;
	29 May 2015 22:11:25 -0000
Received: from [192.168.1.103] (CPE-124-188-3-229.dccz1.win.bigpond.net.au
	[124.188.3.229])
	by mail.supercoders.com.au (Postfix) with ESMTPS id B537E6009D;
	Fri, 29 May 2015 22:11:24 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
In-Reply-To: <92FE53BC-6749-4D99-8321-B27F31813820@supercoders.com.au>
Date: Sat, 30 May 2015 08:11:23 +1000
Message-Id: <E0ADDF2E-E449-48DB-8EF0-A6F93DABC521@supercoders.com.au>
References: <501ECF0F-39A3-4BA9-A3A9-912EDD286BCC@supercoders.com.au>
	<CAEui0wXvAyUgU_Na75X=cx8H6VRXGosinyA4Vi0MPyqim8VqTw@mail.gmail.com>
	<92FE53BC-6749-4D99-8321-B27F31813820@supercoders.com.au>
To: Luke Dunstan <lukedunstan81@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Routing.No_route_to_destination_address
	running Mirage web server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Clearly I have configured something wrong as the same unikernel works when run on EC2.



_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 22:11:31 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 22:11:31 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YySV0-0008MK-RS; Fri, 29 May 2015 22:11:30 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1YySUz-0008ME-Ez
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 22:11:29 +0000
Received: from [193.109.254.147] by server-10.bemta-14.messagelabs.com id
	D5/60-30151-E04E8655; Fri, 29 May 2015 22:11:26 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-15.tower-27.messagelabs.com!1432937485!18704460!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 22483 invoked from network); 29 May 2015 22:11:25 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-15.tower-27.messagelabs.com with SMTP;
	29 May 2015 22:11:25 -0000
Received: from [192.168.1.103] (CPE-124-188-3-229.dccz1.win.bigpond.net.au
	[124.188.3.229])
	by mail.supercoders.com.au (Postfix) with ESMTPS id B537E6009D;
	Fri, 29 May 2015 22:11:24 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
In-Reply-To: <92FE53BC-6749-4D99-8321-B27F31813820@supercoders.com.au>
Date: Sat, 30 May 2015 08:11:23 +1000
Message-Id: <E0ADDF2E-E449-48DB-8EF0-A6F93DABC521@supercoders.com.au>
References: <501ECF0F-39A3-4BA9-A3A9-912EDD286BCC@supercoders.com.au>
	<CAEui0wXvAyUgU_Na75X=cx8H6VRXGosinyA4Vi0MPyqim8VqTw@mail.gmail.com>
	<92FE53BC-6749-4D99-8321-B27F31813820@supercoders.com.au>
To: Luke Dunstan <lukedunstan81@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Routing.No_route_to_destination_address
	running Mirage web server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Clearly I have configured something wrong as the same unikernel works when run on EC2.



_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 22:18:14 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 22:18:14 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YySbV-0000hp-GZ; Fri, 29 May 2015 22:18:13 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1YySbT-0000hk-RQ
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 22:18:12 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	76/14-10437-3A5E8655; Fri, 29 May 2015 22:18:11 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-11.tower-31.messagelabs.com!1432937890!11449378!1
X-Originating-IP: [209.85.212.172]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 3482 invoked from network); 29 May 2015 22:18:10 -0000
Received: from mail-wi0-f172.google.com (HELO mail-wi0-f172.google.com)
	(209.85.212.172)
	by server-11.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	29 May 2015 22:18:10 -0000
Received: by wizo1 with SMTP id o1so40078103wiz.1
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 29 May 2015 15:18:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=KRPri97CcEZ15OtgfhleN4UZ4iZfVtrcTGD68TD6WWM=;
	b=CoC47jx1jh4CunIc5PRYWXBA7lDHXUysJ/kPle8kCrASDnQzBOl40eEan/MMc0bHLu
	XHploZC1J6w5psQIctZmRWBQ/KK/ba169c2A94Pcl9nh7b3LyCJR4NINiGZ7GXMQjRUh
	uqkBh4b6OSjsZR0CltiaVgqjm1FdmHBrlNfBF8QzgO8fNuQoYjn1tB5ii6jV34pCynEi
	puETfQi4cQQ09Lnd12EZO5+d6TjgwRDz5CoZvYMv9Tb74FvCQYFTi6vMUMhyhmPr3OYp
	fIZsi0lB5Cf1aIMX65GWHqjaml4XhjSYERfJbLt3jhbnypQI9APml2GybWT1eKjwDokM
	3c9Q==
MIME-Version: 1.0
X-Received: by 10.180.95.10 with SMTP id dg10mr10681879wib.41.1432937890136;
	Fri, 29 May 2015 15:18:10 -0700 (PDT)
Received: by 10.28.226.193 with HTTP; Fri, 29 May 2015 15:18:10 -0700 (PDT)
In-Reply-To: <E0ADDF2E-E449-48DB-8EF0-A6F93DABC521@supercoders.com.au>
References: <501ECF0F-39A3-4BA9-A3A9-912EDD286BCC@supercoders.com.au>
	<CAEui0wXvAyUgU_Na75X=cx8H6VRXGosinyA4Vi0MPyqim8VqTw@mail.gmail.com>
	<92FE53BC-6749-4D99-8321-B27F31813820@supercoders.com.au>
	<E0ADDF2E-E449-48DB-8EF0-A6F93DABC521@supercoders.com.au>
Date: Fri, 29 May 2015 23:18:10 +0100
X-Google-Sender-Auth: IyY1ksU7Q60olDvzJVB3gKFhzQg
Message-ID: <CAN2Hq07cbvHe=HBaqPUEiq=EOYMDPwVnrRvrp7dtPz34L1QikA@mail.gmail.com>
From: Richard Mortier <mort@cantab.net>
To: Andrew Stuart <andrew.stuart@supercoders.com.au>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Routing.No_route_to_destination_address
 running Mirage web server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

I think I also see 192.168.1.118 ARPing for 192.168.1.103 with no
response -- what's 192.168.1.118?
It doesn't seem to be an interface on the Xen box but that capture was
taken on xenbr0 on the Xen box, right?

Sorry if this is a *really* stupid question but-- are you sure that
your Mac has physical reachability to the laptop running Xen?

On 29 May 2015 at 23:11, Andrew Stuart <andrew.stuart@supercoders.com.au> wrote:
> Clearly I have configured something wrong as the same unikernel works when run on EC2.
>
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel



-- 
Richard Mortier
mort@cantab.net

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 22:18:14 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 22:18:14 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YySbV-0000hp-GZ; Fri, 29 May 2015 22:18:13 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1YySbT-0000hk-RQ
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 22:18:12 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	76/14-10437-3A5E8655; Fri, 29 May 2015 22:18:11 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-11.tower-31.messagelabs.com!1432937890!11449378!1
X-Originating-IP: [209.85.212.172]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 3482 invoked from network); 29 May 2015 22:18:10 -0000
Received: from mail-wi0-f172.google.com (HELO mail-wi0-f172.google.com)
	(209.85.212.172)
	by server-11.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	29 May 2015 22:18:10 -0000
Received: by wizo1 with SMTP id o1so40078103wiz.1
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 29 May 2015 15:18:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=KRPri97CcEZ15OtgfhleN4UZ4iZfVtrcTGD68TD6WWM=;
	b=CoC47jx1jh4CunIc5PRYWXBA7lDHXUysJ/kPle8kCrASDnQzBOl40eEan/MMc0bHLu
	XHploZC1J6w5psQIctZmRWBQ/KK/ba169c2A94Pcl9nh7b3LyCJR4NINiGZ7GXMQjRUh
	uqkBh4b6OSjsZR0CltiaVgqjm1FdmHBrlNfBF8QzgO8fNuQoYjn1tB5ii6jV34pCynEi
	puETfQi4cQQ09Lnd12EZO5+d6TjgwRDz5CoZvYMv9Tb74FvCQYFTi6vMUMhyhmPr3OYp
	fIZsi0lB5Cf1aIMX65GWHqjaml4XhjSYERfJbLt3jhbnypQI9APml2GybWT1eKjwDokM
	3c9Q==
MIME-Version: 1.0
X-Received: by 10.180.95.10 with SMTP id dg10mr10681879wib.41.1432937890136;
	Fri, 29 May 2015 15:18:10 -0700 (PDT)
Received: by 10.28.226.193 with HTTP; Fri, 29 May 2015 15:18:10 -0700 (PDT)
In-Reply-To: <E0ADDF2E-E449-48DB-8EF0-A6F93DABC521@supercoders.com.au>
References: <501ECF0F-39A3-4BA9-A3A9-912EDD286BCC@supercoders.com.au>
	<CAEui0wXvAyUgU_Na75X=cx8H6VRXGosinyA4Vi0MPyqim8VqTw@mail.gmail.com>
	<92FE53BC-6749-4D99-8321-B27F31813820@supercoders.com.au>
	<E0ADDF2E-E449-48DB-8EF0-A6F93DABC521@supercoders.com.au>
Date: Fri, 29 May 2015 23:18:10 +0100
X-Google-Sender-Auth: IyY1ksU7Q60olDvzJVB3gKFhzQg
Message-ID: <CAN2Hq07cbvHe=HBaqPUEiq=EOYMDPwVnrRvrp7dtPz34L1QikA@mail.gmail.com>
From: Richard Mortier <mort@cantab.net>
To: Andrew Stuart <andrew.stuart@supercoders.com.au>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Routing.No_route_to_destination_address
 running Mirage web server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

I think I also see 192.168.1.118 ARPing for 192.168.1.103 with no
response -- what's 192.168.1.118?
It doesn't seem to be an interface on the Xen box but that capture was
taken on xenbr0 on the Xen box, right?

Sorry if this is a *really* stupid question but-- are you sure that
your Mac has physical reachability to the laptop running Xen?

On 29 May 2015 at 23:11, Andrew Stuart <andrew.stuart@supercoders.com.au> wrote:
> Clearly I have configured something wrong as the same unikernel works when run on EC2.
>
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel



-- 
Richard Mortier
mort@cantab.net

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 22:43:06 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 22:43:06 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YySzI-0002Nm-Kb; Fri, 29 May 2015 22:42:48 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1YySzG-0002Nh-4f
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 22:42:46 +0000
Received: from [85.158.139.211] by server-2.bemta-5.messagelabs.com id
	D8/AC-03031-56BE8655; Fri, 29 May 2015 22:42:45 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-16.tower-206.messagelabs.com!1432939361!10958161!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 21252 invoked from network); 29 May 2015 22:42:42 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-16.tower-206.messagelabs.com with SMTP;
	29 May 2015 22:42:42 -0000
Received: from [192.168.1.103] (CPE-124-188-3-229.dccz1.win.bigpond.net.au
	[124.188.3.229])
	by mail.supercoders.com.au (Postfix) with ESMTPS id 9AFBC60311;
	Fri, 29 May 2015 22:42:40 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
In-Reply-To: <CAN2Hq07cbvHe=HBaqPUEiq=EOYMDPwVnrRvrp7dtPz34L1QikA@mail.gmail.com>
Date: Sat, 30 May 2015 08:42:37 +1000
Message-Id: <5BB96470-E67A-434B-AD43-87B149C28461@supercoders.com.au>
References: <501ECF0F-39A3-4BA9-A3A9-912EDD286BCC@supercoders.com.au>
	<CAEui0wXvAyUgU_Na75X=cx8H6VRXGosinyA4Vi0MPyqim8VqTw@mail.gmail.com>
	<92FE53BC-6749-4D99-8321-B27F31813820@supercoders.com.au>
	<E0ADDF2E-E449-48DB-8EF0-A6F93DABC521@supercoders.com.au>
	<CAN2Hq07cbvHe=HBaqPUEiq=EOYMDPwVnrRvrp7dtPz34L1QikA@mail.gmail.com>
To: Richard Mortier <mort@cantab.net>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Routing.No_route_to_destination_address
	running Mirage web server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

>> what's 192.168.1.118?
My Mirageos unikernel

>>It doesn't seem to be an interface on the Xen box but that capture was taken on xenbr0 on the Xen box, right?
Yes it is on the xen box

>>Sorry if this is a *really* stupid question but-- are you sure that your Mac has physical reachability to the laptop running Xen?
Yes, if I run Ubuntu/Nginx as Domu then 192.168.1.103 talks with no problem at all.



_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri May 29 22:43:06 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 29 May 2015 22:43:06 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YySzI-0002Nm-Kb; Fri, 29 May 2015 22:42:48 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1YySzG-0002Nh-4f
	for mirageos-devel@lists.xenproject.org; Fri, 29 May 2015 22:42:46 +0000
Received: from [85.158.139.211] by server-2.bemta-5.messagelabs.com id
	D8/AC-03031-56BE8655; Fri, 29 May 2015 22:42:45 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-16.tower-206.messagelabs.com!1432939361!10958161!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 21252 invoked from network); 29 May 2015 22:42:42 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-16.tower-206.messagelabs.com with SMTP;
	29 May 2015 22:42:42 -0000
Received: from [192.168.1.103] (CPE-124-188-3-229.dccz1.win.bigpond.net.au
	[124.188.3.229])
	by mail.supercoders.com.au (Postfix) with ESMTPS id 9AFBC60311;
	Fri, 29 May 2015 22:42:40 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
In-Reply-To: <CAN2Hq07cbvHe=HBaqPUEiq=EOYMDPwVnrRvrp7dtPz34L1QikA@mail.gmail.com>
Date: Sat, 30 May 2015 08:42:37 +1000
Message-Id: <5BB96470-E67A-434B-AD43-87B149C28461@supercoders.com.au>
References: <501ECF0F-39A3-4BA9-A3A9-912EDD286BCC@supercoders.com.au>
	<CAEui0wXvAyUgU_Na75X=cx8H6VRXGosinyA4Vi0MPyqim8VqTw@mail.gmail.com>
	<92FE53BC-6749-4D99-8321-B27F31813820@supercoders.com.au>
	<E0ADDF2E-E449-48DB-8EF0-A6F93DABC521@supercoders.com.au>
	<CAN2Hq07cbvHe=HBaqPUEiq=EOYMDPwVnrRvrp7dtPz34L1QikA@mail.gmail.com>
To: Richard Mortier <mort@cantab.net>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Routing.No_route_to_destination_address
	running Mirage web server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

>> what's 192.168.1.118?
My Mirageos unikernel

>>It doesn't seem to be an interface on the Xen box but that capture was taken on xenbr0 on the Xen box, right?
Yes it is on the xen box

>>Sorry if this is a *really* stupid question but-- are you sure that your Mac has physical reachability to the laptop running Xen?
Yes, if I run Ubuntu/Nginx as Domu then 192.168.1.103 talks with no problem at all.



_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat May 30 07:40:01 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 30 May 2015 07:40:01 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YybMz-0000BQ-Fz; Sat, 30 May 2015 07:39:49 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <lukedunstan81@gmail.com>) id 1YybMy-0000BL-3b
	for mirageos-devel@lists.xenproject.org; Sat, 30 May 2015 07:39:48 +0000
Received: from [85.158.139.211] by server-1.bemta-5.messagelabs.com id
	CD/18-03041-34969655; Sat, 30 May 2015 07:39:47 +0000
X-Env-Sender: lukedunstan81@gmail.com
X-Msg-Ref: server-9.tower-206.messagelabs.com!1432971582!12520156!1
X-Originating-IP: [209.85.217.174]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26783 invoked from network); 30 May 2015 07:39:43 -0000
Received: from mail-lb0-f174.google.com (HELO mail-lb0-f174.google.com)
	(209.85.217.174)
	by server-9.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	30 May 2015 07:39:43 -0000
Received: by lbcmx3 with SMTP id mx3so60480741lbc.1
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 30 May 2015 00:39:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=GShAgoQ8tydD0oteX9b9qqNyiOE5ASJ24SC9M7iWDZk=;
	b=Tw/38afSxi8GDpYyFeuvRjeHeImasFqSi1OldoQPuC0EW0nRo3pwva/A2Wus8Z3GYu
	kLudDcLWUTwX0KbRAWjzbcITbVBBZa0h6wfONHUTpB/fCTQqjPfzv0Ep+a4F9kdMZmAG
	kgbxIO3tZHuGioic3fGRoOGurO3JJVXkofKqEK/bT7y28lNC+Osw1PVbUz1aCSOYekEK
	xBBaXOK4qZpenSIsFOwTAxHONaiErmR3Z9QiY4pDWyDb28JvSf77DTWmILVUBrwCC4uM
	XCV+x8NPUXyLRbkh8PAMo3VvqJg6kvCkC/AMP+HDlQr0YpR0wALEqc9qgoWtmAHyfdsr
	FkWg==
MIME-Version: 1.0
X-Received: by 10.152.8.6 with SMTP id n6mr11782430laa.116.1432971582399; Sat,
	30 May 2015 00:39:42 -0700 (PDT)
Received: by 10.112.119.179 with HTTP; Sat, 30 May 2015 00:39:42 -0700 (PDT)
In-Reply-To: <5BB96470-E67A-434B-AD43-87B149C28461@supercoders.com.au>
References: <501ECF0F-39A3-4BA9-A3A9-912EDD286BCC@supercoders.com.au>
	<CAEui0wXvAyUgU_Na75X=cx8H6VRXGosinyA4Vi0MPyqim8VqTw@mail.gmail.com>
	<92FE53BC-6749-4D99-8321-B27F31813820@supercoders.com.au>
	<E0ADDF2E-E449-48DB-8EF0-A6F93DABC521@supercoders.com.au>
	<CAN2Hq07cbvHe=HBaqPUEiq=EOYMDPwVnrRvrp7dtPz34L1QikA@mail.gmail.com>
	<5BB96470-E67A-434B-AD43-87B149C28461@supercoders.com.au>
Date: Sat, 30 May 2015 15:39:42 +0800
Message-ID: <CAEui0wUZH2moQVN1A5QcowMq570bfL0CDaF=mJy+sDuE-c77PA@mail.gmail.com>
From: Luke Dunstan <lukedunstan81@gmail.com>
To: Andrew Stuart <andrew.stuart@supercoders.com.au>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Routing.No_route_to_destination_address
 running Mirage web server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Thanks. It does seem to be a configuration issue of some kind. At
least the capture looks consistent with the console messages from the
unikernel.

I understand that the ping was done from your Mac to the unikernel?
What I meant to ask is to see a working capture (e.g. ping Mac ->
dom0, or capture Mac -> Ubuntu domU HTTP) in addition to the
non-working one (Mac to unikernel).

If you set your unikernel MAC address to the same as your working
Ubuntu domU (while the Ubuntu domU is stopped of course), does it make
any difference to the problem? Even if it doesn't help, it would be a
more direct comparison between the good and bad captures. Perhaps
attach the pcap files if it is not too much trouble?

Luke


On 30 May 2015 at 06:42, Andrew Stuart <andrew.stuart@supercoders.com.au> wrote:
>>> what's 192.168.1.118?
> My Mirageos unikernel
>
>>>It doesn't seem to be an interface on the Xen box but that capture was taken on xenbr0 on the Xen box, right?
> Yes it is on the xen box
>
>>>Sorry if this is a *really* stupid question but-- are you sure that your Mac has physical reachability to the laptop running Xen?
> Yes, if I run Ubuntu/Nginx as Domu then 192.168.1.103 talks with no problem at all.
>
>

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat May 30 07:40:01 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 30 May 2015 07:40:01 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1YybMz-0000BQ-Fz; Sat, 30 May 2015 07:39:49 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <lukedunstan81@gmail.com>) id 1YybMy-0000BL-3b
	for mirageos-devel@lists.xenproject.org; Sat, 30 May 2015 07:39:48 +0000
Received: from [85.158.139.211] by server-1.bemta-5.messagelabs.com id
	CD/18-03041-34969655; Sat, 30 May 2015 07:39:47 +0000
X-Env-Sender: lukedunstan81@gmail.com
X-Msg-Ref: server-9.tower-206.messagelabs.com!1432971582!12520156!1
X-Originating-IP: [209.85.217.174]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26783 invoked from network); 30 May 2015 07:39:43 -0000
Received: from mail-lb0-f174.google.com (HELO mail-lb0-f174.google.com)
	(209.85.217.174)
	by server-9.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	30 May 2015 07:39:43 -0000
Received: by lbcmx3 with SMTP id mx3so60480741lbc.1
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 30 May 2015 00:39:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=GShAgoQ8tydD0oteX9b9qqNyiOE5ASJ24SC9M7iWDZk=;
	b=Tw/38afSxi8GDpYyFeuvRjeHeImasFqSi1OldoQPuC0EW0nRo3pwva/A2Wus8Z3GYu
	kLudDcLWUTwX0KbRAWjzbcITbVBBZa0h6wfONHUTpB/fCTQqjPfzv0Ep+a4F9kdMZmAG
	kgbxIO3tZHuGioic3fGRoOGurO3JJVXkofKqEK/bT7y28lNC+Osw1PVbUz1aCSOYekEK
	xBBaXOK4qZpenSIsFOwTAxHONaiErmR3Z9QiY4pDWyDb28JvSf77DTWmILVUBrwCC4uM
	XCV+x8NPUXyLRbkh8PAMo3VvqJg6kvCkC/AMP+HDlQr0YpR0wALEqc9qgoWtmAHyfdsr
	FkWg==
MIME-Version: 1.0
X-Received: by 10.152.8.6 with SMTP id n6mr11782430laa.116.1432971582399; Sat,
	30 May 2015 00:39:42 -0700 (PDT)
Received: by 10.112.119.179 with HTTP; Sat, 30 May 2015 00:39:42 -0700 (PDT)
In-Reply-To: <5BB96470-E67A-434B-AD43-87B149C28461@supercoders.com.au>
References: <501ECF0F-39A3-4BA9-A3A9-912EDD286BCC@supercoders.com.au>
	<CAEui0wXvAyUgU_Na75X=cx8H6VRXGosinyA4Vi0MPyqim8VqTw@mail.gmail.com>
	<92FE53BC-6749-4D99-8321-B27F31813820@supercoders.com.au>
	<E0ADDF2E-E449-48DB-8EF0-A6F93DABC521@supercoders.com.au>
	<CAN2Hq07cbvHe=HBaqPUEiq=EOYMDPwVnrRvrp7dtPz34L1QikA@mail.gmail.com>
	<5BB96470-E67A-434B-AD43-87B149C28461@supercoders.com.au>
Date: Sat, 30 May 2015 15:39:42 +0800
Message-ID: <CAEui0wUZH2moQVN1A5QcowMq570bfL0CDaF=mJy+sDuE-c77PA@mail.gmail.com>
From: Luke Dunstan <lukedunstan81@gmail.com>
To: Andrew Stuart <andrew.stuart@supercoders.com.au>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Routing.No_route_to_destination_address
 running Mirage web server
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Thanks. It does seem to be a configuration issue of some kind. At
least the capture looks consistent with the console messages from the
unikernel.

I understand that the ping was done from your Mac to the unikernel?
What I meant to ask is to see a working capture (e.g. ping Mac ->
dom0, or capture Mac -> Ubuntu domU HTTP) in addition to the
non-working one (Mac to unikernel).

If you set your unikernel MAC address to the same as your working
Ubuntu domU (while the Ubuntu domU is stopped of course), does it make
any difference to the problem? Even if it doesn't help, it would be a
more direct comparison between the good and bad captures. Perhaps
attach the pcap files if it is not too much trouble?

Luke


On 30 May 2015 at 06:42, Andrew Stuart <andrew.stuart@supercoders.com.au> wrote:
>>> what's 192.168.1.118?
> My Mirageos unikernel
>
>>>It doesn't seem to be an interface on the Xen box but that capture was taken on xenbr0 on the Xen box, right?
> Yes it is on the xen box
>
>>>Sorry if this is a *really* stupid question but-- are you sure that your Mac has physical reachability to the laptop running Xen?
> Yes, if I run Ubuntu/Nginx as Domu then 192.168.1.103 talks with no problem at all.
>
>

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat May 30 20:02:59 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 30 May 2015 20:02:59 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yymy1-0005X1-Hy; Sat, 30 May 2015 20:02:49 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <matthew.thomas.gray@gmail.com>) id 1Yymxz-0005Ww-SQ
	for mirageos-devel@lists.xenproject.org; Sat, 30 May 2015 20:02:48 +0000
Received: from [85.158.137.68] by server-10.bemta-3.messagelabs.com id
	34/B2-03895-7671A655; Sat, 30 May 2015 20:02:47 +0000
X-Env-Sender: matthew.thomas.gray@gmail.com
X-Msg-Ref: server-5.tower-31.messagelabs.com!1433016165!11615066!1
X-Originating-IP: [74.125.82.45]
X-SpamReason: No, hits=0.4 required=7.0 tests=HTML_50_60,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 25846 invoked from network); 30 May 2015 20:02:45 -0000
Received: from mail-wg0-f45.google.com (HELO mail-wg0-f45.google.com)
	(74.125.82.45)
	by server-5.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	30 May 2015 20:02:45 -0000
Received: by wgv5 with SMTP id 5so86221275wgv.1
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 30 May 2015 13:02:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=EZ8WpVw/3Mwd1820HQf2+cV9jwAfe75ucJyRYUYCRW4=;
	b=rAqHIsGSyPs4y4LTLfHBkpU8asfg0E5iw9Q/gMo0HV6XG3k7zUy4TGq2C7RHwjSTxA
	A4WOCFJvnTd+gPw0iy1mK2ANYbp09MrMU5b6PrRH8PSAEAl/lQLV0SU5VCkGpUtcI0ae
	xTXnnNiswsCaYOHsXkpeWS1hPNYw2Peo53ne6QQF+DTuqZJWD8bLbpt4Naq9GiBwcWwZ
	Jl80/VcWn68h9UDalyfJJIk35pe1bE1srCbwD1JRC7dqAyHWaJNrm+Inaa3HpyQg057x
	Cm+NrPv27s8XipN3UpYskEuytDmUTOSYqSjGCf4u0VTdjuQ+ogNdg0T870r+STroUHI9
	Y+ww==
MIME-Version: 1.0
X-Received: by 10.180.8.41 with SMTP id o9mr7056542wia.83.1433016164728; Sat,
	30 May 2015 13:02:44 -0700 (PDT)
Received: by 10.27.86.215 with HTTP; Sat, 30 May 2015 13:02:44 -0700 (PDT)
In-Reply-To: <19F3E0E1-86E1-4DAC-9635-699F780BCC14@gazagnaire.org>
References: <E0D0B7EA-6751-4A51-8765-726556195D2F@supercoders.com.au>
	<CAAWM5TwVtO5COKfpPpZ_=nNSvrTM+uUXWw9ntMvTnpFhW3XeBA@mail.gmail.com>
	<2D4CDABE-F35A-40A2-9685-B4CC9DD24135@supercoders.com.au>
	<CAHwFrZeCArMk79TOTqqY-QJxYdYkAcp_wV+ffYY6D4a8ZY58jw@mail.gmail.com>
	<BB7E7898-C049-4A0B-84A7-5B0F8DB2A43C@supercoders.com.au>
	<CAHwFrZef7v1+R_N7CPquEejyZ4kHgkcTEfE_qu-c51+3c4bw5A@mail.gmail.com>
	<19F3E0E1-86E1-4DAC-9635-699F780BCC14@gazagnaire.org>
Date: Sat, 30 May 2015 21:02:44 +0100
Message-ID: <CAMcK7jqRWq3ysWJwiMYxq9f4cOKbA8uEBvC9tpDDBXO=qZaZEQ@mail.gmail.com>
From: Matthew Gray <matthew.thomas.gray@gmail.com>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Web server MIME types / content types
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============2437840325193535171=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============2437840325193535171==
Content-Type: multipart/alternative; boundary=f46d04428f3474c535051752130d

--f46d04428f3474c535051752130d
Content-Type: text/plain; charset=UTF-8

On Fri, May 29, 2015 at 9:43 PM, Thomas Gazagnaire <thomas@gazagnaire.org>
wrote:

> > It looks like mirage-seal is going in this direction, with the caveats
> > that a) it's a testbed for TLS support, and b) it does not send
> > content-type yet.
>
> Thanks for noticing, I've created
> https://github.com/mirage/mirage-seal/issues/4 to track that. Patches are
> welcome :-)
>

Here's a patch https://github.com/mirage/mirage-seal/pull/7,  - I more or
less lifted it verbatim from Len's patch... :)


> I see mirage-seal as a default way to publish static contents with mirage
> in the near future. I plan to add a mode to serve HTTP contents only (but
> yes, currently the goal is to test the other libraries).
>

I could definitely use HTTP-only, I'll have a look at doing that next.



>
> Thomas
>
>
>
> >  My impression is that other folks start with
> > static_website and hack it as needed to serve their purpose, ex. [1]
> > [2] [3].
> >
> > I think there is an opportunity for a library that fills in some of
> > the missing content-serving features, like mime types, cache awareness
> > (conditional GET), and compression, while staying within the bounds of
> > Mirage compatibility.  It might take some inspiration from Ocsigen [4]
> > and Go's net/http [5], and would complement the "static website
> > generator" pioneer project [6].
> >
> > [1] http://somerandomidiot.com/blog/2014/08/19/i-am-unikernel/
> > [2] http://is-awesome.net/2014/11/building-a-blog-with-mirage-os/
> > [3] http://amirchaudhry.com/from-jekyll-to-unikernel-in-fifty-lines/
> > [4] http://ocsigen.org
> > [5] http://golang.org/pkg/net/http
> > [6]
> https://github.com/mirage/mirage-www/wiki/Pioneer-Projects#blog-and-opam-aware-static-website-generator
> >
> > cheers,
> > --
> > Len
> >
> > _______________________________________________
> > MirageOS-devel mailing list
> > MirageOS-devel@lists.xenproject.org
> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>

--f46d04428f3474c535051752130d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>On Fri, May 29, 2015 at 9:43 PM, Thomas Gazagnaire <s=
pan dir=3D"ltr">&lt;<a href=3D"mailto:thomas@gazagnaire.org" target=3D"_bla=
nk">thomas@gazagnaire.org</a>&gt;</span> wrote:<br></div><div class=3D"gmai=
l_extra"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(20=
4,204,204);border-left-style:solid;padding-left:1ex"><span class=3D"">&gt; =
It looks like mirage-seal is going in this direction, with the caveats<br>
&gt; that a) it&#39;s a testbed for TLS support, and b) it does not send<br=
>
&gt; content-type yet.<br>
<br>
</span>Thanks for noticing, I&#39;ve created <a href=3D"https://github.com/=
mirage/mirage-seal/issues/4" target=3D"_blank">https://github.com/mirage/mi=
rage-seal/issues/4</a> to track that. Patches are welcome :-)<br></blockquo=
te><div><br></div><div>Here&#39;s a patch=C2=A0<a href=3D"https://github.co=
m/mirage/mirage-seal/pull/7">https://github.com/mirage/mirage-seal/pull/7</=
a>, =C2=A0- I more or less lifted it verbatim from Len&#39;s patch... :)<br=
></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0=
px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);b=
order-left-style:solid;padding-left:1ex">
I see mirage-seal as a default way to publish static contents with mirage i=
n the near future. I plan to add a mode to serve HTTP contents only (but ye=
s, currently the goal is to test the other libraries).<br></blockquote><div=
><br></div><div>I could definitely use HTTP-only, I&#39;ll have a look at d=
oing that next.</div><div><br></div><div>=C2=A0</div><blockquote class=3D"g=
mail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-=
left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span class=3D""><font color=3D"#888888"><br>
Thomas<br>
</font></span><div class=3D""><div class=3D"h5"><br>
<br>
<br>
&gt;=C2=A0 My impression is that other folks start with<br>
&gt; static_website and hack it as needed to serve their purpose, ex. [1]<b=
r>
&gt; [2] [3].<br>
&gt;<br>
&gt; I think there is an opportunity for a library that fills in some of<br=
>
&gt; the missing content-serving features, like mime types, cache awareness=
<br>
&gt; (conditional GET), and compression, while staying within the bounds of=
<br>
&gt; Mirage compatibility.=C2=A0 It might take some inspiration from Ocsige=
n [4]<br>
&gt; and Go&#39;s net/http [5], and would complement the &quot;static websi=
te<br>
&gt; generator&quot; pioneer project [6].<br>
&gt;<br>
&gt; [1] <a href=3D"http://somerandomidiot.com/blog/2014/08/19/i-am-unikern=
el/" target=3D"_blank">http://somerandomidiot.com/blog/2014/08/19/i-am-unik=
ernel/</a><br>
&gt; [2] <a href=3D"http://is-awesome.net/2014/11/building-a-blog-with-mira=
ge-os/" target=3D"_blank">http://is-awesome.net/2014/11/building-a-blog-wit=
h-mirage-os/</a><br>
&gt; [3] <a href=3D"http://amirchaudhry.com/from-jekyll-to-unikernel-in-fif=
ty-lines/" target=3D"_blank">http://amirchaudhry.com/from-jekyll-to-unikern=
el-in-fifty-lines/</a><br>
&gt; [4] <a href=3D"http://ocsigen.org" target=3D"_blank">http://ocsigen.or=
g</a><br>
&gt; [5] <a href=3D"http://golang.org/pkg/net/http" target=3D"_blank">http:=
//golang.org/pkg/net/http</a><br>
&gt; [6] <a href=3D"https://github.com/mirage/mirage-www/wiki/Pioneer-Proje=
cts#blog-and-opam-aware-static-website-generator" target=3D"_blank">https:/=
/github.com/mirage/mirage-www/wiki/Pioneer-Projects#blog-and-opam-aware-sta=
tic-website-generator</a><br>
&gt;<br>
&gt; cheers,<br>
&gt; --<br>
&gt; Len<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; MirageOS-devel mailing list<br>
&gt; <a href=3D"mailto:MirageOS-devel@lists.xenproject.org">MirageOS-devel@=
lists.xenproject.org</a><br>
&gt; <a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirage=
os-devel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/lis=
tinfo/mirageos-devel</a><br>
<br>
<br>
_______________________________________________<br>
MirageOS-devel mailing list<br>
<a href=3D"mailto:MirageOS-devel@lists.xenproject.org">MirageOS-devel@lists=
.xenproject.org</a><br>
<a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-de=
vel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/listinfo=
/mirageos-devel</a><br>
</div></div></blockquote></div><br></div></div>

--f46d04428f3474c535051752130d--


--===============2437840325193535171==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============2437840325193535171==--


From mirageos-devel-bounces@lists.xenproject.org Sat May 30 20:02:59 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 30 May 2015 20:02:59 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yymy1-0005X1-Hy; Sat, 30 May 2015 20:02:49 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <matthew.thomas.gray@gmail.com>) id 1Yymxz-0005Ww-SQ
	for mirageos-devel@lists.xenproject.org; Sat, 30 May 2015 20:02:48 +0000
Received: from [85.158.137.68] by server-10.bemta-3.messagelabs.com id
	34/B2-03895-7671A655; Sat, 30 May 2015 20:02:47 +0000
X-Env-Sender: matthew.thomas.gray@gmail.com
X-Msg-Ref: server-5.tower-31.messagelabs.com!1433016165!11615066!1
X-Originating-IP: [74.125.82.45]
X-SpamReason: No, hits=0.4 required=7.0 tests=HTML_50_60,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 25846 invoked from network); 30 May 2015 20:02:45 -0000
Received: from mail-wg0-f45.google.com (HELO mail-wg0-f45.google.com)
	(74.125.82.45)
	by server-5.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	30 May 2015 20:02:45 -0000
Received: by wgv5 with SMTP id 5so86221275wgv.1
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 30 May 2015 13:02:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=EZ8WpVw/3Mwd1820HQf2+cV9jwAfe75ucJyRYUYCRW4=;
	b=rAqHIsGSyPs4y4LTLfHBkpU8asfg0E5iw9Q/gMo0HV6XG3k7zUy4TGq2C7RHwjSTxA
	A4WOCFJvnTd+gPw0iy1mK2ANYbp09MrMU5b6PrRH8PSAEAl/lQLV0SU5VCkGpUtcI0ae
	xTXnnNiswsCaYOHsXkpeWS1hPNYw2Peo53ne6QQF+DTuqZJWD8bLbpt4Naq9GiBwcWwZ
	Jl80/VcWn68h9UDalyfJJIk35pe1bE1srCbwD1JRC7dqAyHWaJNrm+Inaa3HpyQg057x
	Cm+NrPv27s8XipN3UpYskEuytDmUTOSYqSjGCf4u0VTdjuQ+ogNdg0T870r+STroUHI9
	Y+ww==
MIME-Version: 1.0
X-Received: by 10.180.8.41 with SMTP id o9mr7056542wia.83.1433016164728; Sat,
	30 May 2015 13:02:44 -0700 (PDT)
Received: by 10.27.86.215 with HTTP; Sat, 30 May 2015 13:02:44 -0700 (PDT)
In-Reply-To: <19F3E0E1-86E1-4DAC-9635-699F780BCC14@gazagnaire.org>
References: <E0D0B7EA-6751-4A51-8765-726556195D2F@supercoders.com.au>
	<CAAWM5TwVtO5COKfpPpZ_=nNSvrTM+uUXWw9ntMvTnpFhW3XeBA@mail.gmail.com>
	<2D4CDABE-F35A-40A2-9685-B4CC9DD24135@supercoders.com.au>
	<CAHwFrZeCArMk79TOTqqY-QJxYdYkAcp_wV+ffYY6D4a8ZY58jw@mail.gmail.com>
	<BB7E7898-C049-4A0B-84A7-5B0F8DB2A43C@supercoders.com.au>
	<CAHwFrZef7v1+R_N7CPquEejyZ4kHgkcTEfE_qu-c51+3c4bw5A@mail.gmail.com>
	<19F3E0E1-86E1-4DAC-9635-699F780BCC14@gazagnaire.org>
Date: Sat, 30 May 2015 21:02:44 +0100
Message-ID: <CAMcK7jqRWq3ysWJwiMYxq9f4cOKbA8uEBvC9tpDDBXO=qZaZEQ@mail.gmail.com>
From: Matthew Gray <matthew.thomas.gray@gmail.com>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Web server MIME types / content types
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============2437840325193535171=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============2437840325193535171==
Content-Type: multipart/alternative; boundary=f46d04428f3474c535051752130d

--f46d04428f3474c535051752130d
Content-Type: text/plain; charset=UTF-8

On Fri, May 29, 2015 at 9:43 PM, Thomas Gazagnaire <thomas@gazagnaire.org>
wrote:

> > It looks like mirage-seal is going in this direction, with the caveats
> > that a) it's a testbed for TLS support, and b) it does not send
> > content-type yet.
>
> Thanks for noticing, I've created
> https://github.com/mirage/mirage-seal/issues/4 to track that. Patches are
> welcome :-)
>

Here's a patch https://github.com/mirage/mirage-seal/pull/7,  - I more or
less lifted it verbatim from Len's patch... :)


> I see mirage-seal as a default way to publish static contents with mirage
> in the near future. I plan to add a mode to serve HTTP contents only (but
> yes, currently the goal is to test the other libraries).
>

I could definitely use HTTP-only, I'll have a look at doing that next.



>
> Thomas
>
>
>
> >  My impression is that other folks start with
> > static_website and hack it as needed to serve their purpose, ex. [1]
> > [2] [3].
> >
> > I think there is an opportunity for a library that fills in some of
> > the missing content-serving features, like mime types, cache awareness
> > (conditional GET), and compression, while staying within the bounds of
> > Mirage compatibility.  It might take some inspiration from Ocsigen [4]
> > and Go's net/http [5], and would complement the "static website
> > generator" pioneer project [6].
> >
> > [1] http://somerandomidiot.com/blog/2014/08/19/i-am-unikernel/
> > [2] http://is-awesome.net/2014/11/building-a-blog-with-mirage-os/
> > [3] http://amirchaudhry.com/from-jekyll-to-unikernel-in-fifty-lines/
> > [4] http://ocsigen.org
> > [5] http://golang.org/pkg/net/http
> > [6]
> https://github.com/mirage/mirage-www/wiki/Pioneer-Projects#blog-and-opam-aware-static-website-generator
> >
> > cheers,
> > --
> > Len
> >
> > _______________________________________________
> > MirageOS-devel mailing list
> > MirageOS-devel@lists.xenproject.org
> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>

--f46d04428f3474c535051752130d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>On Fri, May 29, 2015 at 9:43 PM, Thomas Gazagnaire <s=
pan dir=3D"ltr">&lt;<a href=3D"mailto:thomas@gazagnaire.org" target=3D"_bla=
nk">thomas@gazagnaire.org</a>&gt;</span> wrote:<br></div><div class=3D"gmai=
l_extra"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(20=
4,204,204);border-left-style:solid;padding-left:1ex"><span class=3D"">&gt; =
It looks like mirage-seal is going in this direction, with the caveats<br>
&gt; that a) it&#39;s a testbed for TLS support, and b) it does not send<br=
>
&gt; content-type yet.<br>
<br>
</span>Thanks for noticing, I&#39;ve created <a href=3D"https://github.com/=
mirage/mirage-seal/issues/4" target=3D"_blank">https://github.com/mirage/mi=
rage-seal/issues/4</a> to track that. Patches are welcome :-)<br></blockquo=
te><div><br></div><div>Here&#39;s a patch=C2=A0<a href=3D"https://github.co=
m/mirage/mirage-seal/pull/7">https://github.com/mirage/mirage-seal/pull/7</=
a>, =C2=A0- I more or less lifted it verbatim from Len&#39;s patch... :)<br=
></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0=
px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);b=
order-left-style:solid;padding-left:1ex">
I see mirage-seal as a default way to publish static contents with mirage i=
n the near future. I plan to add a mode to serve HTTP contents only (but ye=
s, currently the goal is to test the other libraries).<br></blockquote><div=
><br></div><div>I could definitely use HTTP-only, I&#39;ll have a look at d=
oing that next.</div><div><br></div><div>=C2=A0</div><blockquote class=3D"g=
mail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-=
left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span class=3D""><font color=3D"#888888"><br>
Thomas<br>
</font></span><div class=3D""><div class=3D"h5"><br>
<br>
<br>
&gt;=C2=A0 My impression is that other folks start with<br>
&gt; static_website and hack it as needed to serve their purpose, ex. [1]<b=
r>
&gt; [2] [3].<br>
&gt;<br>
&gt; I think there is an opportunity for a library that fills in some of<br=
>
&gt; the missing content-serving features, like mime types, cache awareness=
<br>
&gt; (conditional GET), and compression, while staying within the bounds of=
<br>
&gt; Mirage compatibility.=C2=A0 It might take some inspiration from Ocsige=
n [4]<br>
&gt; and Go&#39;s net/http [5], and would complement the &quot;static websi=
te<br>
&gt; generator&quot; pioneer project [6].<br>
&gt;<br>
&gt; [1] <a href=3D"http://somerandomidiot.com/blog/2014/08/19/i-am-unikern=
el/" target=3D"_blank">http://somerandomidiot.com/blog/2014/08/19/i-am-unik=
ernel/</a><br>
&gt; [2] <a href=3D"http://is-awesome.net/2014/11/building-a-blog-with-mira=
ge-os/" target=3D"_blank">http://is-awesome.net/2014/11/building-a-blog-wit=
h-mirage-os/</a><br>
&gt; [3] <a href=3D"http://amirchaudhry.com/from-jekyll-to-unikernel-in-fif=
ty-lines/" target=3D"_blank">http://amirchaudhry.com/from-jekyll-to-unikern=
el-in-fifty-lines/</a><br>
&gt; [4] <a href=3D"http://ocsigen.org" target=3D"_blank">http://ocsigen.or=
g</a><br>
&gt; [5] <a href=3D"http://golang.org/pkg/net/http" target=3D"_blank">http:=
//golang.org/pkg/net/http</a><br>
&gt; [6] <a href=3D"https://github.com/mirage/mirage-www/wiki/Pioneer-Proje=
cts#blog-and-opam-aware-static-website-generator" target=3D"_blank">https:/=
/github.com/mirage/mirage-www/wiki/Pioneer-Projects#blog-and-opam-aware-sta=
tic-website-generator</a><br>
&gt;<br>
&gt; cheers,<br>
&gt; --<br>
&gt; Len<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; MirageOS-devel mailing list<br>
&gt; <a href=3D"mailto:MirageOS-devel@lists.xenproject.org">MirageOS-devel@=
lists.xenproject.org</a><br>
&gt; <a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirage=
os-devel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/lis=
tinfo/mirageos-devel</a><br>
<br>
<br>
_______________________________________________<br>
MirageOS-devel mailing list<br>
<a href=3D"mailto:MirageOS-devel@lists.xenproject.org">MirageOS-devel@lists=
.xenproject.org</a><br>
<a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-de=
vel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/listinfo=
/mirageos-devel</a><br>
</div></div></blockquote></div><br></div></div>

--f46d04428f3474c535051752130d--


--===============2437840325193535171==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============2437840325193535171==--


From mirageos-devel-bounces@lists.xenproject.org Sun May 31 15:15:29 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 31 May 2015 15:15:29 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yz4xO-0003AB-4h; Sun, 31 May 2015 15:15:22 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <lukedunstan81@gmail.com>) id 1Yz4xM-0003A6-9O
	for mirageos-devel@lists.xenproject.org; Sun, 31 May 2015 15:15:20 +0000
Received: from [85.158.139.211] by server-10.bemta-5.messagelabs.com id
	20/54-02789-7852B655; Sun, 31 May 2015 15:15:19 +0000
X-Env-Sender: lukedunstan81@gmail.com
X-Msg-Ref: server-14.tower-206.messagelabs.com!1433085318!8612519!1
X-Originating-IP: [209.85.217.174]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 10062 invoked from network); 31 May 2015 15:15:18 -0000
Received: from mail-lb0-f174.google.com (HELO mail-lb0-f174.google.com)
	(209.85.217.174)
	by server-14.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	31 May 2015 15:15:18 -0000
Received: by lbcue7 with SMTP id ue7so71467590lbc.0
	for <mirageos-devel@lists.xenproject.org>;
	Sun, 31 May 2015 08:15:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=1cHLxK3hIyeJwHGR1GSJrKfw+qe/MMEfwMVG4A7wrb0=;
	b=mAJzAW+cAUgL315uyI+/d5rt4gDLPlLnBFQQgV6xaqbEvYlw42Tu76iRjHE5RV/vGC
	hU6A7C+lvA5Vy3sfbae4ArRYhbvTvY8gidJtuUDzhhakpkbGbis4A+M++FNPq7jQ94dx
	jJ/QEb1TfkvyNUzqvI92vwaKRmCB1f7SYb1PxNTzB/3KrnYsfpzXPjZv5Yw0Zb6Ssvss
	R06YPoCvb21vANy59FYT6iycPHbM5OMzxl8I//EaCca1favo7TAXigbJze4aSO4l26Zu
	/0saMCqA6K4TvEV9AmPOeZffRoMwakj2dA/neYK9oc9PTPy7RBofOIPDO2aCqBJ/hpEM
	q0ZA==
MIME-Version: 1.0
X-Received: by 10.112.118.206 with SMTP id ko14mr16992940lbb.28.1433085318137; 
	Sun, 31 May 2015 08:15:18 -0700 (PDT)
Received: by 10.112.119.179 with HTTP; Sun, 31 May 2015 08:15:18 -0700 (PDT)
In-Reply-To: <CACUqk8Hm14UwSFXpaWAEAHNo_OG5NnviXVdUWsMAdVmKbXNzSQ@mail.gmail.com>
References: <CACUqk8EnaAg=mkFsy2+Qf9JorSVx3n5=X6TsP8F2Fo6PW7g=_A@mail.gmail.com>
	<CACUqk8Hm14UwSFXpaWAEAHNo_OG5NnviXVdUWsMAdVmKbXNzSQ@mail.gmail.com>
Date: Sun, 31 May 2015 23:15:18 +0800
Message-ID: <CAEui0wWPYsvg-FYQVCHRBAmWhW8y4Sjq0AX8sfd_dtDaMK70+g@mail.gmail.com>
From: Luke Dunstan <lukedunstan81@gmail.com>
To: Ahmed Ismail <a.m.ismail@aucegypt.edu>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] CT 'xl create' - Loops and Device Model
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi Ahmed,

Have you tried reducing the domU memory usage to 256 MB? (and revert
the rest of domU_test to the original from the article, including the
original kernel) I don't know much about how Xen memory allocation
works but given that dom0 has 512 MB it might be too optimistic to
expect 512 MB to be available to a guest. Of course if that fixes your
problem then the article should be updated (it might have been tested
on the Cubietruck when it was written).

Luke


On 29 May 2015 at 19:09, Ahmed Ismail <a.m.ismail@aucegypt.edu> wrote:
> Whoops!
> Missed a few things. Sorry, it's been a long week.
> 1- [1] is http://openmirage.org/wiki/xen-on-cubieboard2
> 2- The Xen Guest used in 1 was using a debootstrapped image on
> vg0/linux-guest-1 to follow [1] precisely; I was also messing with a
> debootstrapped .img file on /media/disk.
> 3- The Xen Guest used in the second attempt was a debootstrapped image on
> /media/disk with a formatted swap image, both of which were on /media/disk.
>
> Cheers,
>
> On Fri, May 29, 2015 at 1:01 PM, Ahmed Ismail <a.m.ismail@aucegypt.edu>
> wrote:
>>
>> Hello,
>>
>> I hope you're all having a wonderful day.
>>
>> I was following the tutorial on openmirage, specifically at [1], when I
>> faced a few problems at the Linux DomU part.
>> The only differences between the tutorial and how I went about it is in my
>> choice for some variables i.e. hostname, ssh settings, etc.
>> 1- Using the "/root/dom0_kernel" zImage, running xl create causes it to
>> enter an endless loop. All I get back is:
>> ```
>> mirage@cubietruck:/media/disk$ sudo xl create domU_test -c
>> Parsing config from domU_test
>> ```
>>
>> 'sudo xl list' shows that the guest is in a paused state.
>> Unpausing it, the guest enters a sort of limbo (no state present, just
>> dashes).
>> ```
>> mirage@cubietruck:/media/disk$ sudo xl unpause Ubuntu-14.04
>> mirage@cubietruck:/media/disk$ sudo xl list
>> Name                                        ID   Mem VCPUs State Time(s)
>> (null)                                       0   512     2     r-----
>> 18273.1
>> Ubuntu-14.04                                21   512     2     ------
>> 4.4
>> ```
>> 2- Compiling the linux kernel seperately using gcc-4.9 on the CT, and
>> changing the cfg file to use the zImage kernel instead I get the following
>> error:
>> ```
>> mirage@cubietruck:/media/disk$ sudo xl create -c XenGuest2.cfg
>> Parsing config from XenGuest2.cfg
>> libxl: error: libxl_dm.c:1388:device_model_spawn_outcome: domain 5 device
>> model: spawn failed (rc=-3)
>> libxl: error: libxl_create.c:1186:domcreate_devmodel_started: device model
>> did not start: -3
>> libxl: error: libxl_dm.c:1492:kill_device_model: Device Model already
>> exited
>> ```
>>
>> Currently, my cfg file looks like this:
>> ```
>> device_model_version = "qemu-xen"
>> device_model_override = "/usr/bin/qemu-arm-static"
>> kernel = "/media/disk/zImage"
>> memory = 512
>> name = "Test"
>> vcpus = 2
>> serial="pty"
>> disk = [ 'phy:/media/disk/XenGuest2.img,xvda1,w',
>> 'phy:/media/disk/XenGuest2.swap,xvda2,w']
>> vif = ['bridge=xenbr0']
>> root = "/dev/xvda1 ro"
>> #extra = 'console=hvc0 xencons=tty root=/dev/xvda1'
>> ```
>> But I've messed with it quite a bit, changing the device_model_override
>> value, disk and root/extra options.
>>
>> Has anyone successfully created Xen guests on the cubietruck?
>> Care to share how you went about getting it to work?
>>
>> Note: The unikernels work fine.
>>
>> Thanks in advance.
>> --
>> Ahmed
>
>
>
>
> --
> Ahmed Ismail
> MSc, Communications and Electronics Engineering Department
> The American University in Cairo
> Mobile: +2-0111-321-9234
> Mail: a.m.ismail@aucegypt.edu
> Skype: ahmedm.ismail
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sun May 31 15:15:29 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 31 May 2015 15:15:29 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1Yz4xO-0003AB-4h; Sun, 31 May 2015 15:15:22 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <lukedunstan81@gmail.com>) id 1Yz4xM-0003A6-9O
	for mirageos-devel@lists.xenproject.org; Sun, 31 May 2015 15:15:20 +0000
Received: from [85.158.139.211] by server-10.bemta-5.messagelabs.com id
	20/54-02789-7852B655; Sun, 31 May 2015 15:15:19 +0000
X-Env-Sender: lukedunstan81@gmail.com
X-Msg-Ref: server-14.tower-206.messagelabs.com!1433085318!8612519!1
X-Originating-IP: [209.85.217.174]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.15; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 10062 invoked from network); 31 May 2015 15:15:18 -0000
Received: from mail-lb0-f174.google.com (HELO mail-lb0-f174.google.com)
	(209.85.217.174)
	by server-14.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	31 May 2015 15:15:18 -0000
Received: by lbcue7 with SMTP id ue7so71467590lbc.0
	for <mirageos-devel@lists.xenproject.org>;
	Sun, 31 May 2015 08:15:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=1cHLxK3hIyeJwHGR1GSJrKfw+qe/MMEfwMVG4A7wrb0=;
	b=mAJzAW+cAUgL315uyI+/d5rt4gDLPlLnBFQQgV6xaqbEvYlw42Tu76iRjHE5RV/vGC
	hU6A7C+lvA5Vy3sfbae4ArRYhbvTvY8gidJtuUDzhhakpkbGbis4A+M++FNPq7jQ94dx
	jJ/QEb1TfkvyNUzqvI92vwaKRmCB1f7SYb1PxNTzB/3KrnYsfpzXPjZv5Yw0Zb6Ssvss
	R06YPoCvb21vANy59FYT6iycPHbM5OMzxl8I//EaCca1favo7TAXigbJze4aSO4l26Zu
	/0saMCqA6K4TvEV9AmPOeZffRoMwakj2dA/neYK9oc9PTPy7RBofOIPDO2aCqBJ/hpEM
	q0ZA==
MIME-Version: 1.0
X-Received: by 10.112.118.206 with SMTP id ko14mr16992940lbb.28.1433085318137; 
	Sun, 31 May 2015 08:15:18 -0700 (PDT)
Received: by 10.112.119.179 with HTTP; Sun, 31 May 2015 08:15:18 -0700 (PDT)
In-Reply-To: <CACUqk8Hm14UwSFXpaWAEAHNo_OG5NnviXVdUWsMAdVmKbXNzSQ@mail.gmail.com>
References: <CACUqk8EnaAg=mkFsy2+Qf9JorSVx3n5=X6TsP8F2Fo6PW7g=_A@mail.gmail.com>
	<CACUqk8Hm14UwSFXpaWAEAHNo_OG5NnviXVdUWsMAdVmKbXNzSQ@mail.gmail.com>
Date: Sun, 31 May 2015 23:15:18 +0800
Message-ID: <CAEui0wWPYsvg-FYQVCHRBAmWhW8y4Sjq0AX8sfd_dtDaMK70+g@mail.gmail.com>
From: Luke Dunstan <lukedunstan81@gmail.com>
To: Ahmed Ismail <a.m.ismail@aucegypt.edu>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] CT 'xl create' - Loops and Device Model
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi Ahmed,

Have you tried reducing the domU memory usage to 256 MB? (and revert
the rest of domU_test to the original from the article, including the
original kernel) I don't know much about how Xen memory allocation
works but given that dom0 has 512 MB it might be too optimistic to
expect 512 MB to be available to a guest. Of course if that fixes your
problem then the article should be updated (it might have been tested
on the Cubietruck when it was written).

Luke


On 29 May 2015 at 19:09, Ahmed Ismail <a.m.ismail@aucegypt.edu> wrote:
> Whoops!
> Missed a few things. Sorry, it's been a long week.
> 1- [1] is http://openmirage.org/wiki/xen-on-cubieboard2
> 2- The Xen Guest used in 1 was using a debootstrapped image on
> vg0/linux-guest-1 to follow [1] precisely; I was also messing with a
> debootstrapped .img file on /media/disk.
> 3- The Xen Guest used in the second attempt was a debootstrapped image on
> /media/disk with a formatted swap image, both of which were on /media/disk.
>
> Cheers,
>
> On Fri, May 29, 2015 at 1:01 PM, Ahmed Ismail <a.m.ismail@aucegypt.edu>
> wrote:
>>
>> Hello,
>>
>> I hope you're all having a wonderful day.
>>
>> I was following the tutorial on openmirage, specifically at [1], when I
>> faced a few problems at the Linux DomU part.
>> The only differences between the tutorial and how I went about it is in my
>> choice for some variables i.e. hostname, ssh settings, etc.
>> 1- Using the "/root/dom0_kernel" zImage, running xl create causes it to
>> enter an endless loop. All I get back is:
>> ```
>> mirage@cubietruck:/media/disk$ sudo xl create domU_test -c
>> Parsing config from domU_test
>> ```
>>
>> 'sudo xl list' shows that the guest is in a paused state.
>> Unpausing it, the guest enters a sort of limbo (no state present, just
>> dashes).
>> ```
>> mirage@cubietruck:/media/disk$ sudo xl unpause Ubuntu-14.04
>> mirage@cubietruck:/media/disk$ sudo xl list
>> Name                                        ID   Mem VCPUs State Time(s)
>> (null)                                       0   512     2     r-----
>> 18273.1
>> Ubuntu-14.04                                21   512     2     ------
>> 4.4
>> ```
>> 2- Compiling the linux kernel seperately using gcc-4.9 on the CT, and
>> changing the cfg file to use the zImage kernel instead I get the following
>> error:
>> ```
>> mirage@cubietruck:/media/disk$ sudo xl create -c XenGuest2.cfg
>> Parsing config from XenGuest2.cfg
>> libxl: error: libxl_dm.c:1388:device_model_spawn_outcome: domain 5 device
>> model: spawn failed (rc=-3)
>> libxl: error: libxl_create.c:1186:domcreate_devmodel_started: device model
>> did not start: -3
>> libxl: error: libxl_dm.c:1492:kill_device_model: Device Model already
>> exited
>> ```
>>
>> Currently, my cfg file looks like this:
>> ```
>> device_model_version = "qemu-xen"
>> device_model_override = "/usr/bin/qemu-arm-static"
>> kernel = "/media/disk/zImage"
>> memory = 512
>> name = "Test"
>> vcpus = 2
>> serial="pty"
>> disk = [ 'phy:/media/disk/XenGuest2.img,xvda1,w',
>> 'phy:/media/disk/XenGuest2.swap,xvda2,w']
>> vif = ['bridge=xenbr0']
>> root = "/dev/xvda1 ro"
>> #extra = 'console=hvc0 xencons=tty root=/dev/xvda1'
>> ```
>> But I've messed with it quite a bit, changing the device_model_override
>> value, disk and root/extra options.
>>
>> Has anyone successfully created Xen guests on the cubietruck?
>> Care to share how you went about getting it to work?
>>
>> Note: The unikernels work fine.
>>
>> Thanks in advance.
>> --
>> Ahmed
>
>
>
>
> --
> Ahmed Ismail
> MSc, Communications and Electronics Engineering Department
> The American University in Cairo
> Mobile: +2-0111-321-9234
> Mail: a.m.ismail@aucegypt.edu
> Skype: ahmedm.ismail
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

