<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.26.2">
</HEAD>
<BODY>
<TT><FONT COLOR="#000000">Package: xen-utils-3.2-1</FONT></TT><BR>
<TT><FONT COLOR="#000000">Version: 3.2.1-2</FONT></TT><BR>
<TT><FONT COLOR="#000000">Severity: normal</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#000000">Under this Xen setup, (Linux) HVM guests fail to have network active when</FONT></TT><BR>
<TT><FONT COLOR="#000000">running with *routed* networking, as some hosting providers require (in my</FONT></TT><BR>
<TT><FONT COLOR="#000000">case, OVH).</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#000000">In this scenario:</FONT></TT><BR>
<TT><FONT COLOR="#000000">&nbsp;* the host is a described below</FONT></TT><BR>
<TT><FONT COLOR="#000000">&nbsp;* the guest runs as HVM.</FONT></TT><BR>
<TT><FONT COLOR="#000000">&nbsp;* the guest runs exclusively with ioemu; virtual network drivers are not</FONT></TT><BR>
<TT><FONT COLOR="#000000">&nbsp;available (vanilla lenny guest, xen-vnif.ko does not exist, xen-netfront</FONT></TT><BR>
<TT><FONT COLOR="#000000">&nbsp;refuses to load despite the XenBus PCI device appearing)</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#000000">What xen/qemu-dm did is to build two network interfaces:</FONT></TT><BR>
<TT><FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* vifN.0 was used to send packets from the host to the guest</FONT></TT><BR>
<TT><FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;routing was enabled towards this interface. No virtual hardware</FONT></TT><BR>
<TT><FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;drivers took care of this network link, so all packets ended up</FONT></TT><BR>
<TT><FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dropped.</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* tapM was used by the guest to deliver packets from its virtual</FONT></TT><BR>
<TT><FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eth0.&nbsp; All packets were classified &quot;martians&quot; by the host and</FONT></TT><BR>
<TT><FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rejected.</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#000000">The reason why this happened is that the scripts/qemu-dm script *assumes*</FONT></TT><BR>
<TT><FONT COLOR="#000000">only bridging is ever used, and the scripts/vif-routing *assumes* only</FONT></TT><BR>
<TT><FONT COLOR="#000000">netfront is ever used. Here we have routing and ioemu, which causes the</FONT></TT><BR>
<TT><FONT COLOR="#000000">failure described above.</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-- Cyrille</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#000000">-- System Information:</FONT></TT><BR>
<TT><FONT COLOR="#000000">Debian Release: squeeze/sid</FONT></TT><BR>
<TT><FONT COLOR="#000000">&nbsp; APT prefers testing</FONT></TT><BR>
<TT><FONT COLOR="#000000">&nbsp; APT policy: (800, 'testing'), (600, 'unstable')</FONT></TT><BR>
<TT><FONT COLOR="#000000">Architecture: amd64 (x86_64)</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#000000">Kernel: Linux 2.6.26-1-xen-amd64 (SMP w/4 CPU cores)</FONT></TT><BR>
<TT><FONT COLOR="#000000">Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)</FONT></TT><BR>
<TT><FONT COLOR="#000000">Shell: /bin/sh linked to /bin/bash</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#000000">Versions of packages xen-utils-3.2-1 depends on:</FONT></TT><BR>
<TT><FONT COLOR="#000000">ii&nbsp; e2fslibs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.41.9-1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ext2/ext3/ext4 file system librari</FONT></TT><BR>
<TT><FONT COLOR="#000000">ii&nbsp; iproute&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 20090324-1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; networking and traffic control too</FONT></TT><BR>
<TT><FONT COLOR="#000000">ii&nbsp; libc6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.9-25&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GNU C Library: Shared libraries</FONT></TT><BR>
<TT><FONT COLOR="#000000">ii&nbsp; libgcrypt11&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.4.4-4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LGPL Crypto library - runtime libr</FONT></TT><BR>
<TT><FONT COLOR="#000000">ii&nbsp; libgnutls26&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.8.4-1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the GNU TLS library - runtime libr</FONT></TT><BR>
<TT><FONT COLOR="#000000">ii&nbsp; libncurses5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5.7+20090803-2&nbsp;&nbsp;&nbsp; shared libraries for terminal hand</FONT></TT><BR>
<TT><FONT COLOR="#000000">ii&nbsp; libsdl1.2debian&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.2.13-2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Simple DirectMedia Layer</FONT></TT><BR>
<TT><FONT COLOR="#000000">ii&nbsp; libxenstore3.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3.4.0-2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Xenstore communications library fo</FONT></TT><BR>
<TT><FONT COLOR="#000000">ii&nbsp; python&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.5.4-2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; An interactive high-level object-o</FONT></TT><BR>
<TT><FONT COLOR="#000000">ii&nbsp; python-central&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.6.11&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; register and build utility for Pyt</FONT></TT><BR>
<TT><FONT COLOR="#000000">ii&nbsp; udev&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 146-5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/ and hotplug management daemo</FONT></TT><BR>
<TT><FONT COLOR="#000000">ii&nbsp; xen-utils-common&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3.3.1-2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XEN administrative tools - common </FONT></TT><BR>
<TT><FONT COLOR="#000000">ii&nbsp; zlib1g&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1:1.2.3.3.dfsg-15 compression library - runtime</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#000000">Versions of packages xen-utils-3.2-1 recommends:</FONT></TT><BR>
<TT><FONT COLOR="#000000">ii&nbsp; bridge-utils&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.4-5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Utilities for configuring the Linu</FONT></TT><BR>
<TT><FONT COLOR="#000000">ii&nbsp; xen-hypervisor-3.2-1-amd64 [x 3.2.1-2&nbsp;&nbsp;&nbsp; The Xen Hypervisor on AMD64</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#000000">Versions of packages xen-utils-3.2-1 suggests:</FONT></TT><BR>
<TT><FONT COLOR="#000000">pn&nbsp; xen-docs-3.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;none&gt;&nbsp;&nbsp;&nbsp;&nbsp; (no description available)</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#000000">-- no debconf information</FONT></TT>
</BODY>
</HTML>