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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
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: <type ''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) 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 "<string>", line 1, in <lambda> 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 <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 = [ ''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 > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Any ideas anyone please ? -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 = [ ''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 > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel