List-id: MirageOS development <cl-mirage.lists.cam.ac.uk>
I'll take a look at this -- which script did you use to wrap up the EC2 kernel for upload William? (just curious if you've been using the AWS OCaml bindings for this, or doing it manually)
-anil
On 18 Sep 2013, at 23:57, William Le Ferrand <warnegia@xxxxxxxxx> wrote:
Yes, I tried that but the error only occurs in EC2; it's raised somewhere in the DHCP module it seems ..
On Wed, Sep 18, 2013 at 2:12 PM, David Scott <scott.dj@xxxxxxxxx> wrote:
Hi,
I usually start by recompiling the app as a Unix process (using "mirage-unix" rather than "mirage-xen"). Assuming the bug manifests there (probably: I suspect the String.sub problem is coming from the http-level rather than the xen driver-level) then you can use regular debugging tools, set OCAMLRUNPARAM=b etc.
Debugging in-situ on EC2 is currently a matter of inserting printf's and reading the code-- not ideal.
HTH
Dave
On Wed, Sep 18, 2013 at 9:45 PM, William Le Ferrand <warnegia@xxxxxxxxx> wrote:
hello everyone
I'm running the simplest cohttp application possible in EC2, the instance boots but quickly complains :