From: Dulloor Subject: Re: stubdom (with vif) startup failure Date: Fri, 20 Feb 2009 15:56:47 -0500 Message-ID: <940bcfd20902201256n4c11498dlb6f0a123de8b5295@mail.gmail.com> References: <940bcfd20902201224k6944bf49yc1b9de998966b26f@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1478107913==" Return-path: In-Reply-To: <940bcfd20902201224k6944bf49yc1b9de998966b26f@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --===============1478107913== Content-Type: multipart/alternative; boundary=00032557470626bc7e04635fe416 --00032557470626bc7e04635fe416 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Problem is irrespective of vif-bridge or vif-nat. With vif-bridge, I get the following in qemu-dm.log : *** xm create -c /data/xen-devel/xen-guest-confs/linux.hvm-dm target=13 memory=32 videoram=4 extra=" -d 13" Using config file "/data/xen-devel/xen-guest-confs/linux.hvm-dm". Started domain linux.hvm-dm (id=14) Unexpected error: Please report to xen-devel@lists.xensource.com Traceback (most recent call last): File "/usr/sbin/xm", line 10, in main.main(sys.argv) File "//usr/lib/python/xen/xm/main.py", line 2953, in main _, rc = _run_cmd(cmd, cmd_name, args) File "//usr/lib/python/xen/xm/main.py", line 2977, in _run_cmd return True, cmd(args) File "", line 1, in File "//usr/lib/python/xen/xm/main.py", line 1381, in xm_importcommand cmd.main([command] + args) File "//usr/lib/python/xen/xm/create.py", line 1329, in main do_console(sxp.child_value(config, 'name', -1)) File "//usr/lib/python/xen/xm/create.py", line 1356, in do_console (p, rv) = os.waitpid(cpid, os.WNOHANG) OSError: [Errno 10] No child processes *** "brctl show" output is : bridge name bridge id STP enabled interfaces eth0 8000.001d0907323d no peth0 *** thanks dulloor On Fri, Feb 20, 2009 at 3:24 PM, Dulloor wrote: > Hey, > > I have a problem getting a linux HVM (stubdom) working, when I have a > network(vif) configuration. I am at xen-unstable tip and using kubuntu > hardy. > > *** > I mean - > vif = [ 'ip=10.0.0.5', 'type=ioemu, ip=10.0.0.1' ] is a problem, and > vif = [ '', 'type=ioemu, ip=10.0.0.1' ] is not. > *** > > *** > The qemu-log shows the following error (added an extra print info) - > xm create -c /data/xen-devel/xen-guest-confs/linux.hvm-dm target=8 > memory=32 videoram=4 extra=" -d 8" > Using config file "/data/xen-devel/xen-guest-confs/linux.hvm-dm". > Error: Device 1 (vif) could not be connected. ip route add 10.0.0.1 dev > vif9.1 src 10.0.0.128 failed > *** > > *** > The vif interfaces get created properly (as shown by udevmonitor) : > UDEV [1235161178.765079] add /devices/xen-backend/vfb-8-0 > (xen-backend) > UEVENT[1235161178.798868] add /devices/xen-backend/vif-8-0 > (xen-backend) > UDEV [1235161178.800035] add /devices/xen-backend/vif-8-0 > (xen-backend) > UEVENT[1235161178.808032] add /class/net/vif8.0 (net) > UEVENT[1235161178.808056] online /devices/xen-backend/vif-8-0 > (xen-backend) > UDEV [1235161178.809192] add /class/net/vif8.0 (net) > UDEV [1235161178.809873] online /devices/xen-backend/vif-8-0 > (xen-backend) > UDEV [1235161178.927119] add /devices/xen-backend/console-8-0 > (xen-backend) > UDEV [1235161179.433184] add /devices/xen-backend/vkbd-9-0 > (xen-backend) > UDEV [1235161179.469299] add /devices/xen-backend/vfb-9-0 > (xen-backend) > UDEV [1235161179.505958] add /devices/xen-backend/vbd-9-768 > (xen-backend) > UEVENT[1235161179.545319] add /devices/xen-backend/vbd-9-5632 > (xen-backend) > UDEV [1235161179.549514] add /devices/xen-backend/vbd-9-5632 > (xen-backend) > UEVENT[1235161179.588920] add /devices/xen-backend/vif-9-0 > (xen-backend) > UDEV [1235161179.589735] add /devices/xen-backend/vif-9-0 > (xen-backend) > UEVENT[1235161179.592308] add /class/net/vif9.0 (net) > UEVENT[1235161179.592325] online /devices/xen-backend/vif-9-0 > (xen-backend) > UDEV [1235161179.592955] add /class/net/vif9.0 (net) > UDEV [1235161179.593645] online /devices/xen-backend/vif-9-0 > (xen-backend) > UEVENT[1235161179.645029] add /devices/xen-backend/vif-9-1 > (xen-backend) > UDEV [1235161179.645522] add /devices/xen-backend/vif-9-1 > (xen-backend) > UEVENT[1235161179.647080] add /class/net/vif9.1 (net) > UEVENT[1235161179.648318] online /devices/xen-backend/vif-9-1 > (xen-backend) > UDEV [1235161179.648959] add /class/net/vif9.1 (net) > UDEV [1235161179.649637] online /devices/xen-backend/vif-9-1 > (xen-backend) > UEVENT[1235161179.769995] add /devices/xen-backend/console-9-0 > (xen-backend) > UDEV [1235161179.771212] add /devices/xen-backend/console-9-0 > (xen-backend) > UEVENT[1235161180.147784] remove /devices/xen-backend/vkbd-9-0 > (xen-backend) > UDEV [1235161180.148338] remove /devices/xen-backend/vkbd-9-0 > (xen-backend) > UEVENT[1235161180.174375] remove /devices/xen-backend/vfb-9-0 > (xen-backend) > UDEV [1235161180.174753] remove /devices/xen-backend/vfb-9-0 > (xen-backend) > UEVENT[1235161180.199455] remove /devices/xen-backend/console-9-0 > (xen-backend) > UDEV [1235161180.199927] remove /devices/xen-backend/console-9-0 > (xen-backend) > UEVENT[1235161180.217561] remove /devices/xen-backend/vbd-9-768 > (xen-backend) > UEVENT[1235161180.218699] remove /devices/xen-backend/vbd-9-5632 > (xen-backend) > UEVENT[1235161180.219699] offline /devices/xen-backend/vif-9-0 > (xen-backend) > UDEV [1235161180.220173] remove /devices/xen-backend/vbd-9-768 > (xen-backend) > UDEV [1235161180.220930] offline /devices/xen-backend/vif-9-0 > (xen-backend) > UDEV [1235161180.221188] remove /devices/xen-backend/vbd-9-5632 > (xen-backend) > UEVENT[1235161180.416047] remove /class/net/vif9.0 (net) > UEVENT[1235161180.416328] remove /devices/xen-backend/vif-9-0 > (xen-backend) > UEVENT[1235161180.416673] offline /devices/xen-backend/vif-9-1 > (xen-backend) > UDEV [1235161180.419046] remove /class/net/vif9.0 (net) > UDEV [1235161180.419587] remove /devices/xen-backend/vif-9-0 > (xen-backend) > UDEV [1235161180.420152] offline /devices/xen-backend/vif-9-1 > (xen-backend) > UEVENT[1235161180.596000] remove /class/net/vif9.1 (net) > UEVENT[1235161180.596261] remove /devices/xen-backend/vif-9-1 > (xen-backend) > UDEV [1235161180.598250] remove /class/net/vif9.1 (net) > UDEV [1235161180.608525] remove /devices/xen-backend/vif-9-1 > (xen-backend) > *** > > Any help is appreciated. > > thanks > dulloor > > > --00032557470626bc7e04635fe416 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Problem is irrespective of vif-bridge or vif-nat. With vif-bridge, I get th= e following in qemu-dm.log :

***
xm create -c /data/xen-devel/xen= -guest-confs/linux.hvm-dm target=3D13 memory=3D32 videoram=3D4 extra=3D&quo= t; -d 13"
Using config file "/data/xen-devel/xen-guest-confs/linux.hvm-dm".=
Started domain linux.hvm-dm (id=3D14)
Unexpected error: <type = 9;exceptions.OSError'>

Please report to xen-devel@lists.xensource.com
Traceback (most recent call last):
  File "/usr/sbin/xm",= line 10, in <module>
    main.main(sys.argv)
&n= bsp; File "//usr/lib/python/xen/xm/main.py", line 2953, in main    _, rc =3D _run_cmd(cmd, cmd_name, args)
  File "//usr/lib/python/xen/xm/main.py", line 2977, in _run= _cmd
    return True, cmd(args)
  File "<= string>", line 1, in <lambda>
  File "//usr/lib/= python/xen/xm/main.py", line 1381, in xm_importcommand
    cmd.main([command] + args)
  File "//usr/li= b/python/xen/xm/create.py", line 1329, in main
    d= o_console(sxp.child_value(config, 'name', -1))
  File "= ;//usr/lib/python/xen/xm/create.py", line 1356, in do_console
    (p, rv) =3D os.waitpid(cpid, os.WNOHANG)
OSError: [Er= rno 10] No child processes

***

"brctl show" output = is :
bridge name     bridge id   &nbs= p;           STP enabled&= nbsp;    interfaces
eth0     &nb= sp;      8000.001d0907323d    =    no          =     peth0

***

thanks
dulloor

On Fri, = Feb 20, 2009 at 3:24 PM, Dulloor <dulloor@gmail.com> wrote:
Hey,

I have a problem getting a linux HVM (stubdom) working, when I = have a network(vif)  configuration. I am at xen-unstable tip and using= kubuntu hardy.

***
I mean -
vif =3D [ 'ip=3D10.0.0.5'= , 'type=3Dioemu, ip=3D10.0.0.1' ] is a problem, and
vif =3D [ '', 'type=3Dioemu, ip=3D10.0.0.1' ] is not.
**= *

***
The qemu-log shows the following error (added an extra prin= t info) -
xm create -c /data/xen-devel/xen-guest-confs/linux.hvm-dm targ= et=3D8 memory=3D32 videoram=3D4 extra=3D" -d 8"
Using config file "/data/xen-devel/xen-guest-confs/linux.hvm-dm".=
Error: Device 1 (vif) could not be connected. ip route add 10.0.0.1 dev= vif9.1 src 10.0.0.128 failed
***

***
The vif interfaces get c= reated properly (as shown by udevmonitor) :
UDEV  [1235161178.765079] add      /devices/x= en-backend/vfb-8-0 (xen-backend)
UEVENT[1235161178.798868] add &nbs= p;    /devices/xen-backend/vif-8-0 (xen-backend)
UDEV&nbs= p; [1235161178.800035] add      /devices/xen-backe= nd/vif-8-0 (xen-backend)
UEVENT[1235161178.808032] add      /class/net/vif8= .0 (net)
UEVENT[1235161178.808056] online   /devices/xen-backe= nd/vif-8-0 (xen-backend)
UDEV  [1235161178.809192] add  &= nbsp;   /class/net/vif8.0 (net)
UDEV  [1235161178.809873]= online   /devices/xen-backend/vif-8-0 (xen-backend)
UDEV  [1235161178.927119] add      /devices/x= en-backend/console-8-0 (xen-backend)
UDEV  [1235161179.433184] add&= nbsp;     /devices/xen-backend/vkbd-9-0 (xen-backend)UDEV  [1235161179.469299] add      /devices= /xen-backend/vfb-9-0 (xen-backend)
UDEV  [1235161179.505958] add      /devices/x= en-backend/vbd-9-768 (xen-backend)
UEVENT[1235161179.545319] add &n= bsp;    /devices/xen-backend/vbd-9-5632 (xen-backend)
UDE= V  [1235161179.549514] add      /devices/xen-= backend/vbd-9-5632 (xen-backend)
UEVENT[1235161179.588920] add      /devices/xen-ba= ckend/vif-9-0 (xen-backend)
UDEV  [1235161179.589735] add &nbs= p;    /devices/xen-backend/vif-9-0 (xen-backend)
UEVENT[1= 235161179.592308] add      /class/net/vif9.0 (net)=
UEVENT[1235161179.592325] online   /devices/xen-backend/vif-9-0 (= xen-backend)
UDEV  [1235161179.592955] add    &= nbsp; /class/net/vif9.0 (net)
UDEV  [1235161179.593645] online = ;  /devices/xen-backend/vif-9-0 (xen-backend)
UEVENT[1235161179.645029] add      /devices/xen-ba= ckend/vif-9-1 (xen-backend)
UDEV  [1235161179.645522] add &nbs= p;    /devices/xen-backend/vif-9-1 (xen-backend)
UEVENT[1= 235161179.647080] add      /class/net/vif9.1 (net)=
UEVENT[1235161179.648318] online   /devices/xen-backend/vif-9-1 (= xen-backend)
UDEV  [1235161179.648959] add    &= nbsp; /class/net/vif9.1 (net)
UDEV  [1235161179.649637] online = ;  /devices/xen-backend/vif-9-1 (xen-backend)
UEVENT[1235161179.769995] add      /devices/xen-ba= ckend/console-9-0 (xen-backend)
UDEV  [1235161179.771212] add =      /devices/xen-backend/console-9-0 (xen-backend)
= UEVENT[1235161180.147784] remove   /devices/xen-backend/vkbd-9-0 = (xen-backend)
UDEV  [1235161180.148338] remove   /devices/xen-backend/vkbd= -9-0 (xen-backend)
UEVENT[1235161180.174375] remove   /devices= /xen-backend/vfb-9-0 (xen-backend)
UDEV  [1235161180.174753] remove=    /devices/xen-backend/vfb-9-0 (xen-backend)
UEVENT[1235161180.199455] remove   /devices/xen-backend/console-9= -0 (xen-backend)
UDEV  [1235161180.199927] remove   /devi= ces/xen-backend/console-9-0 (xen-backend)
UEVENT[1235161180.217561] remo= ve   /devices/xen-backend/vbd-9-768 (xen-backend)
UEVENT[1235161180.218699] remove   /devices/xen-backend/vbd-9-563= 2 (xen-backend)
UEVENT[1235161180.219699] offline  /devices/xen-bac= kend/vif-9-0 (xen-backend)
UDEV  [1235161180.220173] remove &n= bsp; /devices/xen-backend/vbd-9-768 (xen-backend)
UDEV  [1235161180.220930] offline  /devices/xen-backend/vif-9-0 (= xen-backend)
UDEV  [1235161180.221188] remove   /devices/= xen-backend/vbd-9-5632 (xen-backend)
UEVENT[1235161180.416047] remove&nb= sp;  /class/net/vif9.0 (net)
UEVENT[1235161180.416328] remove   /devices/xen-backend/vif-9-0 (= xen-backend)
UEVENT[1235161180.416673] offline  /devices/xen-backen= d/vif-9-1 (xen-backend)
UDEV  [1235161180.419046] remove  = ; /class/net/vif9.0 (net)
UDEV  [1235161180.419587] remove   /devices/xen-backend/vif-= 9-0 (xen-backend)
UDEV  [1235161180.420152] offline  /devices/= xen-backend/vif-9-1 (xen-backend)
UEVENT[1235161180.596000] remove =   /class/net/vif9.1 (net)
UEVENT[1235161180.596261] remove   /devices/xen-backend/vif-9-1 (= xen-backend)
UDEV  [1235161180.598250] remove   /class/ne= t/vif9.1 (net)
UDEV  [1235161180.608525] remove   /device= s/xen-backend/vif-9-1 (xen-backend)
***

Any help is appreciated.

thanks
dulloor



--00032557470626bc7e04635fe416-- --===============1478107913== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1478107913==--