[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MirageOS-devel] mirage-www on xen and networking (on ARM)



I've finally managed to set up an ARM system that can compile
successfully (based on the pre-built image with swap added and an NTP
client installed).  Compiling for unix now works perfectly fine,
albeit a bit slow.

The next step was to get mirage-www into a xen image.  I've
succesfully built and started the following two configurations:

    MODE=xen FS=crunch NET=direct DHCP=true PORT=80
    MODE=xen FS=crunch DEPLOY=true ADDR=192.168.0.21 MASK=255.255.255.0 
GWS=192.168.0.1 PORT=80

In both cases I've modified www.xl to contain

    vif = [ 'bridge=xenbr0' ]

In both cases the VM comes up just fine, when using DCHP it gets an IP
without issues.  Then, when sitting there waiting for a connection I
get this on the console:

    RX exn File "lib/ipv4.ml", line 181, characters 4-10: Assertion failed

# When using DHCP

The DHCP setup works fine (I think):

    Sending DHCP broadcast (length 552)
    DHCP response:
    input ciaddr 0.0.0.0 yiaddr 192.168.0.21
    siaddr 192.168.0.1 giaddr 0.0.0.0
    chaddr 00163e2f813700000000000000000000 sname  file 
    DHCP: offer received
                        IPv4: 192.168.0.21
                                          Netmask: 255.255.255.0
                                                                Gateways: 
[192.168.0.1]
     sg:true gso_tcpv4:true rx_copy:true rx_flip:false smart_poll:false
    ARP: sending gratuitous from 192.168.0.21
    DHCP offer received and bound to 192.168.0.21 nm 255.255.255.0 gw 
[192.168.0.1]
    Manager: configuration done
    RX exn File "lib/ipv4.ml", line 181, characters 4-10: Assertion failed
    RX exn File "lib/ipv4.ml", line 181, characters 4-10: Assertion failed
    RX exn File "lib/ipv4.ml", line 181, characters 4-10: Assertion failed
    ARP responding to: who-has 192.168.0.21?
    ARP: transmitting probe -> 192.168.0.11
    ARP: updating 192.168.0.11 -> 00:c2:c6:0f:72:dd

When making a request to 192.168.0.21 I get a bit of a response, but not a full
one and the console is filled with stuff like this:

    200 GET /
    RX exn File "lib/ipv4.ml", line 181, characters 4-10: Assertion failed
    RX exn File "lib/ipv4.ml", line 181, characters 4-10: Assertion failed
    RX exn File "lib/ipv4.ml", line 181, characters 4-10: Assertion failed
    RX exn File "lib/ipv4.ml", line 181, characters 4-10: Assertion failed
    TCP retransmission on timer seq = 452908524
    RX exn File "lib/ipv4.ml", line 181, characters 4-10: Assertion failed
    TCP retransmission on timer seq = 452908524
    RX exn File "lib/ipv4.ml", line 181, characters 4-10: Assertion failed
    TCP retransmission on timer seq = 452908524
    RX exn File "lib/ipv4.ml", line 181, characters 4-10: Assertion failed
    TCP retransmission on timer seq = 452908524
    RX exn File "lib/ipv4.ml", line 181, characters 4-10: Assertion failed
    TCP retransmission on timer seq = 452908524
    RX exn File "lib/ipv4.ml", line 181, characters 4-10: Assertion failed
    ARP responding to: who-has 192.168.0.21?

Clearly I'm doing something wrong here, but what?  Any and all suggestions are
welcome.

/M

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

The ultimate goal of all computer science is the program.  The
performance of programs was once the noblest function of computer
science, and computer science was indispensable to great programs.
Today, programming and computer science exist in complacent isolation,
and can be [rescued only] by conscious coöperation and collaboration
of all programmers.

Attachment: pgpID3VYDFewL.pgp
Description: PGP signature

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.