Puthiyaparambil, Aravindh
2005-Nov-04 17:20 UTC
RE: [Xen-users] Error "Device 0 (vif) could not be connected"
Yes, I saw that problem and removing the vif line or changing it to vif0 fixed it for me. Aravindh> -----Original Message----- > From: wei huang [mailto:huanwei@cse.ohio-state.edu] > Sent: Friday, November 04, 2005 12:14 PM > To: Puthiyaparambil, Aravindh > Cc: Mark Williamson; xen-users@lists.xensource.com; ewan@xensource.com > Subject: RE: [Xen-users] Error "Device 0 (vif) could not be connected" > > Hi > > Thank you for your suggestion. > > I do have a vif line in my config: > vif = [ ''mac=aa:00:00:00:01:05, bridge=xenbr0'' ] > > But unfortunately, I tried either change it to vif0 or remote it. Iget> the same error: > #c4xen# /etc/xen> sudo xm create -c as4_conf > Using config file "as4_conf". > Error: Error creating domain: Device 0 (vif) could not be connected. > Backend device not found! > > Do you see the same problem and you fix that in this way? > > Thank you again! > > Regards, > Wei Huang > > On Fri, 4 Nov 2005, Puthiyaparambil, Aravindh wrote: > > > I think you have a line that say "vif=.." in your DomU config. Makethat> > line vif0 or delete it. That should get you going. Though I am notsure> > if this is a bug. > > > > Cheers, > > Aravindh > > > > > -----Original Message----- > > > From: Mark Williamson [mailto:mark.williamson@cl.cam.ac.uk] > > > Sent: Friday, November 04, 2005 11:32 AM > > > To: xen-users@lists.xensource.com > > > Cc: ewan@xensource.com; wei huang > > > Subject: Re: [Xen-users] Error "Device 0 (vif) could not beconnected"> > > > > > I also saw this error (on yesterday''s pull), haven''t had todiagnose> > it > > > yet. > > > > > > Apparently this message is something to do with Xend detecting a > > failure / > > > problem with the hotplug scripts... Ewan (cc''ed) suggested Icheck my> > > hotplug / udev setup was working and that I look forhotplug-related> > > errors > > > in the main syslog. > > > > > > HTH, > > > Mark > > > > > > On Friday 04 November 2005 16:21, wei huang wrote: > > > > Hi, > > > > > > > > I have a problem to start domU on my server. > > > > > > > > Everything upto "xm create" look normal. However, it pops upsaying> > > > the above error message when I try to create domU. > > > > > > > > I verified that xend has started and vif device is created, hereis> > the > > > > > > > > vif0.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF > > > > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > > > > RX packets:11076 errors:0 dropped:0 overruns:0 frame:0 > > > > TX packets:28742 errors:0 dropped:0 overruns:0carrier:0> > > > collisions:0 txqueuelen:0 > > > > RX bytes:2260133 (2.1 MiB) TX bytes:28955962 (27.6MiB)> > ''0'', > > > > ''script'': ''/etc/xen/scripts/vif-bridge'', ''frontend-id'': ''6'', > > ''domain'': > > > > ''domu-as4-1'', ''frontend'': ''/local/domain/6/device/vif/0''} to > > > > /local/domain/0/backend/vif/6/0. > > > > [2005-11-04 11:08:03 xend.XendDomainInfo] ERROR(XendDomainInfo:158)> > > > Domain construction failed > > > > Traceback (most recent call last): > > > > File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 152,in> > create > > > > vm.initDomain() > > > > File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1109,in> > > > initDomain > > > > self.createDevices() > > > > File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1222,in> > > > createDevices > > > > self.createDevice(n, c) > > > > File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 893,in> > > > createDevice > > > > return > > self.getDeviceController(deviceClass).createDevice(devconfig) > > > > File "/usr/lib/python/xen/xend/server/DevController.py", line72,> > in > > > > createDevice > > > > raise VmError( ("Device %s (%s) could not be connected. " > > > > VmError: Device 0 (vif) could not be connected. Backend devicenot> > > found! > > > > [2005-11-04 11:08:03 xend.XendDomainInfo] DEBUG > > (XendDomainInfo:1156) > > > > XendDomainInfo.destroy: domid=6 > > > > [2005-11-04 11:08:03 xend.XendDomainInfo] DEBUG > > (XendDomainInfo:1164) > > > > XendDomainInfo.destroyDomain(6) > > > > [2005-11-04 11:08:03 xend] ERROR (SrvBase:87) Request createfailed.> > > > Traceback (most recent call last): > > > > File "/usr/lib/python/xen/web/SrvBase.py", line 85, in perform > > > > return op_method(op, req) > > > > File "/usr/lib/python/xen/xend/server/SrvDomainDir.py", line82,> > in > > > > op_create > > > > raise XendError("Error creating domain: " + str(ex)) > > > > XendError: Error creating domain: Device 0 (vif) could not be > > connected. > > > > Backend device not found! > > > > > > > > Would you please instruct what might be the problem? > > > > > > > > Thanks > > > > > > > > > > > > Regards, > > > > Wei Huang > > > > > > > > > > > > > > > > _______________________________________________ > > > > Xen-users mailing list > > > > Xen-users@lists.xensource.com > > > > http://lists.xensource.com/xen-users > > > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
wei huang
2005-Nov-04 17:39 UTC
RE: [Xen-users] Error "Device 0 (vif) could not be connected"
That is really weird. I verify again and start everything from scatch. But it doesn''t work for me... Thank you anyway. Regards, Wei Huang On Fri, 4 Nov 2005, Puthiyaparambil, Aravindh wrote:> Yes, I saw that problem and removing the vif line or changing it to vif0 > fixed it for me. > > Aravindh > > > -----Original Message----- > > From: wei huang [mailto:huanwei@cse.ohio-state.edu] > > Sent: Friday, November 04, 2005 12:14 PM > > To: Puthiyaparambil, Aravindh > > Cc: Mark Williamson; xen-users@lists.xensource.com; ewan@xensource.com > > Subject: RE: [Xen-users] Error "Device 0 (vif) could not be connected" > > > > Hi > > > > Thank you for your suggestion. > > > > I do have a vif line in my config: > > vif = [ ''mac=aa:00:00:00:01:05, bridge=xenbr0'' ] > > > > But unfortunately, I tried either change it to vif0 or remote it. I > get > > the same error: > > #c4xen# /etc/xen> sudo xm create -c as4_conf > > Using config file "as4_conf". > > Error: Error creating domain: Device 0 (vif) could not be connected. > > Backend device not found! > > > > Do you see the same problem and you fix that in this way? > > > > Thank you again! > > > > Regards, > > Wei Huang > > > > On Fri, 4 Nov 2005, Puthiyaparambil, Aravindh wrote: > > > > > I think you have a line that say "vif=.." in your DomU config. Make > that > > > line vif0 or delete it. That should get you going. Though I am not > sure > > > if this is a bug. > > > > > > Cheers, > > > Aravindh > > > > > > > -----Original Message----- > > > > From: Mark Williamson [mailto:mark.williamson@cl.cam.ac.uk] > > > > Sent: Friday, November 04, 2005 11:32 AM > > > > To: xen-users@lists.xensource.com > > > > Cc: ewan@xensource.com; wei huang > > > > Subject: Re: [Xen-users] Error "Device 0 (vif) could not be > connected" > > > > > > > > I also saw this error (on yesterday''s pull), haven''t had to > diagnose > > > it > > > > yet. > > > > > > > > Apparently this message is something to do with Xend detecting a > > > failure / > > > > problem with the hotplug scripts... Ewan (cc''ed) suggested I > check my > > > > hotplug / udev setup was working and that I look for > hotplug-related > > > > errors > > > > in the main syslog. > > > > > > > > HTH, > > > > Mark > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users