All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <Ian.Campbell@citrix.com>
To: Teck Choon Giam <giamteckchoon@gmail.com>
Cc: "xen-devel@lists.xen.org" <xen-devel@lists.xen.org>,
	Roger Pau Monne <roger.pau@citrix.com>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>,
	M A Young <m.a.young@durham.ac.uk>
Subject: Re: [patch] xen udev rule interfering with openvpn
Date: Mon, 21 May 2012 14:04:18 +0100	[thread overview]
Message-ID: <1337605458.24660.122.camel@zakaz.uk.xensource.com> (raw)
In-Reply-To: <CAEwRVpO8kU-XMF2j6De49XbK5FxnQmqShRX7+qYWTnBo7QE7yw@mail.gmail.com>

On Mon, 2012-05-21 at 13:51 +0100, Teck Choon Giam wrote:

> > How does case #7 fail? Do you get both devices created but not placed on
> > the bridge or something else?
> 
> I am not sure just in #7 fail to create.  The error as below:
> 
> # xm create hvmdomaintest-vifname.cfg
> Using config file "./hvmdomaintest-vifname.cfg".
> Error: Device 0 (vif) could not be connected. ip link set vif1.0-emu
> name b1-emu failed

So am I correct that you use vifname="b1"? I wonder if there was any
output from this command. Did anything appear in
var/log/xen/xen-hotplug.log ?

> >
> > What names do the devices end up with? ("ifconfig -a", while guest is
> > running, "brctl show" also useful)
> 
> Can't even create the hvmdomain with vifname set.
>   If you mean trying
> to capture the ifconfig -a output while xm create hvmdomain with
> vifname set... the interval for xm create hvmdomain with vifname set
> is too short for me to issue ifconfig -a and brctl show output in
> another terminal :(

Yes, that's something of a problem.

One approach you could try is to add the commands to the vif-bridge
script and re-direct to a file. One useful place to do that might be in
vif-common.sh just before the
	do_or_die ip link set "$dev" name "$vifname"
calls. e.g. add
	( ifconfig -a ; brctl show ) >> /tmp/hotplug.dbg.log
or something. You might also want to add ">> /tmp/hotplug.dbg.log" to
the door_die so that it's output can also be logged.

> Just to confirm... are we going to "throw away" xm in 4.2 and use only xl?

Not yet, they will both existing in 4.2 but xl will now be considered
the default. We hope to be able to get rid of xm in the 4.3 time frame,
but that depends on a variety of factors.

> 
> Thanks.
> 
> Kindest regards,
> Giam Teck Choon
> 
> 
> >
> > Ian.
> >

  reply	other threads:[~2012-05-21 13:04 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-16 19:03 [patch] xen udev rule interfering with openvpn M A Young
2012-04-17 10:26 ` Ian Campbell
2012-04-17 13:08   ` Roger Pau Monne
2012-04-18 18:25   ` Teck Choon Giam
2012-04-19  6:39     ` Ian Campbell
2012-04-20  9:03       ` Ian Campbell
2012-04-20 10:38         ` Ian Jackson
2012-04-20 10:48           ` Ian Campbell
2012-04-20 10:55             ` Ian Jackson
2012-04-20 11:00               ` Ian Campbell
2012-04-20 11:04                 ` Ian Jackson
2012-04-20 13:21                   ` Ian Campbell
2012-04-20 15:26                     ` Teck Choon Giam
2012-04-20 15:38                       ` Ian Campbell
2012-04-20 16:34                         ` Teck Choon Giam
2012-04-25  9:59                   ` Ian Campbell
2012-04-25 10:11                     ` Ian Jackson
2012-04-25 10:14                       ` Ian Campbell
2012-04-25 12:58                         ` Ian Campbell
2012-04-25 13:16                           ` Roger Pau Monne
2012-04-25 13:38                             ` Ian Campbell
2012-05-11 14:53                           ` Ian Jackson
2012-05-11 23:53                             ` Teck Choon Giam
2012-05-12  7:29                               ` Teck Choon Giam
2012-05-12 22:00                                 ` Teck Choon Giam
2012-05-12 22:30                                   ` Ian Campbell
2012-05-12 23:37                                     ` Teck Choon Giam
2012-05-13  0:39                                       ` Teck Choon Giam
2012-05-21 12:31                                         ` Ian Campbell
2012-05-21 12:51                                           ` Teck Choon Giam
2012-05-21 13:04                                             ` Ian Campbell [this message]
2012-05-21 13:16                                               ` Teck Choon Giam
2012-05-22 13:19                                                 ` Ian Campbell
2012-05-23  2:22                                                   ` Teck Choon Giam
2012-05-23  9:37                                                     ` Ian Campbell
2012-05-23 13:04                                                       ` Teck Choon Giam
2012-05-23 14:54                                                         ` Teck Choon Giam
2012-05-21 12:24                                       ` Teck Choon Giam
2012-05-21 12:49                                         ` Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1337605458.24660.122.camel@zakaz.uk.xensource.com \
    --to=ian.campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=giamteckchoon@gmail.com \
    --cc=m.a.young@durham.ac.uk \
    --cc=roger.pau@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.