From: Ian Campbell Subject: Re: Unable to create VM with nic device on Arndale Date: Fri, 17 Jan 2014 10:44:36 +0000 Message-ID: <1389955476.6697.58.camel@kazak.uk.xensource.com> References: <52B181EB.6080303@samsung.com> <21169.39199.902511.563980@mariner.uk.xensource.com> <52B1A1B9.70307@samsung.com> <1387373404.28680.19.camel@kazak.uk.xensource.com> <52B1B616.4010402@samsung.com> <1389951973.6697.47.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "Dennis Lan (dlan)" Cc: Eugene Fedotov , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Fri, 2014-01-17 at 18:37 +0800, Dennis Lan (dlan) wrote: > On Fri, Jan 17, 2014 at 5:46 PM, Ian Campbell wrote: > > On Fri, 2014-01-17 at 17:33 +0800, Dennis Lan (dlan) wrote: > >> I'm also hit this problem, using xen-4.4.0-rc2 release, on x86_64 machine. > >> but I've tested with xen-4.3.1 the same settings, and have no problem > > > > Do you have a bridge configured? What is the output of "brctl show" and > > "ifconfig -a" while the guest is running? > > > >> libxl: debug: libxl_event.c:559:libxl__ev_xswatch_register: watch w=0x62acd8 wpath=/local/domain/0/backend/vif/5/0/state token=3/1: register slotnum=3 > >> libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x62acd8 wpath=/local/domain/0/backend/vif/5/0/state token=3/1: event epath=/local/domain/0/backend/vif/5/0/state > >> libxl: debug: libxl_event.c:646:devstate_watch_callback: backend /local/domain/0/backend/vif/5/0/state wanted state 2 still waiting state 1 > >> libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x62acd8 wpath=/local/domain/0/backend/vif/5/0/state token=3/1: event epath=/local/domain/0/backend/vif/5/0/state > >> libxl: debug: libxl_event.c:642:devstate_watch_callback: backend /local/domain/0/backend/vif/5/0/state wanted state 2 ok > >> libxl: debug: libxl_event.c:595:libxl__ev_xswatch_deregister: watch w=0x62acd8 wpath=/local/domain/0/backend/vif/5/0/state token=3/1: deregister slotnum=3 > >> libxl: debug: libxl_event.c:607:libxl__ev_xswatch_deregister: watch w=0x62acd8: deregister unregistered > >> libxl: debug: libxl_event.c:607:libxl__ev_xswatch_deregister: watch w=0x62ad60: deregister unregistered > >> libxl: error: libxl_create.c:1206:domcreate_attach_vtpms: unable to add nic devices > > > > It seems to have waited for the backend to hit state 2, which happens, > > and then it has failed for some reason, which I can't see here. It might > > be worth adding some debug to the vif hotplug script to see if it is > > running at all. > > > > Are you using the vif script's from Xen 4.4? Perhaps you have got some > > stale 4.3.1 scripts sitting around? > > > > Ian. > > > I think there is no problem with bridge and script(exactly same as 4.4) I still think the next step is to instrument the scripts and see what is going on. > btw, If I install xen-4.3.1, then everyting works fine. Have you looked into the differences? Ian.