WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] Error: Device 0 (vif) could not beconnected.Hotplugscrip

To: "Mike Viau" <viaum@xxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Error: Device 0 (vif) could not beconnected.Hotplugscripts not working
From: "Ian Tobin" <itobin@xxxxxxxxxxxxx>
Date: Tue, 23 Feb 2010 23:44:52 -0000
Cc: bderzhavets@xxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 23 Feb 2010 15:46:18 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <930085.59579.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>, <039E0B4AA9103344A80DA55DDDC76A93239894@xxxxxxxxxxxxxxxxxxxxxx>, <20100223201058.GY2761@xxxxxxxxxxx>, <039E0B4AA9103344A80DA55DDDC76A93239896@xxxxxxxxxxxxxxxxxxxxxx>, <039E0B4AA9103344A80DA55DDDC76A93239899@xxxxxxxxxxxxxxxxxxxxxx>, <039E0B4AA9103344A80DA55DDDC76A9323989A@xxxxxxxxxxxxxxxxxxxxxx> <BAY107-W23D6C645E87F5BCD0757C7EF420@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acq03mjfb6LfOUt2QMah7QpR2wAQXgAA34HQ
Thread-topic: [Xen-users] Error: Device 0 (vif) could not beconnected.Hotplugscripts not working

Interesting, so something in the config could be causing this.

 

Im going to try Pasi’s config and see if that makes any difference.

 

I must say i had it working before but because i had played around so much I had to do a fresh install.

 

--Ian

 

 

From: xtreme911@xxxxxxx [mailto:xtreme911@xxxxxxx] On Behalf Of Mike Viau
Sent: 23 February 2010 23:18
To: Ian Tobin
Cc: bderzhavets@xxxxxxxxx; xen-users@xxxxxxxxxxxxxxxxxxx; pasik@xxxxxx
Subject: RE: [Xen-users] Error: Device 0 (vif) could not beconnected.Hotplugscripts not working

 

I am using udev 0.125-7+lenny3 with a xenified 2.6.31.12 kernel. I was getting "Error: Device 0 (vif) could not be connected.Hotplugscripts not working" initially, but by using the .config provided thankfully by Boris (bderzhavets@xxxxxxxxx) with the exact same setup, the error went away.

I see you are using the PV OPS kernel though......



-M



> Subject: RE: [Xen-users] Error: Device 0 (vif) could not be connected.Hotplugscripts not working
> Date: Tue, 23 Feb 2010 22:59:29 +0000
> From: itobin@xxxxxxxxxxxxx
> To: itobin@xxxxxxxxxxxxx; pasik@xxxxxx
> CC: bderzhavets@xxxxxxxxx; xen-users@xxxxxxxxxxxxxxxxxxx
>
> Ignore that, it was a slight error in the disk line.
>
> Im lost with this, its very odd.
>
> -----Original Message-----
> From: Ian Tobin
> Sent: 23 February 2010 22:48
> To: Ian Tobin; Pasi Kärkkäinen
> Cc: Boris Derzhavets; xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [Xen-users] Error: Device 0 (vif) could not be connected.Hotplugscripts not working
>
> Going back through the log, only thing i found was this
>
> raise XendError("Unknown device type: %s" % name)
> XendError: Unknown device type: None
>
> Not sure if that is the cause
>
>
> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Ian Tobin
> Sent: 23 February 2010 22:38
> To: Pasi Kärkkäinen
> Cc: Boris Derzhavets; xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [Xen-users] Error: Device 0 (vif) could not be connected.Hotplugscripts not working
>
> Well i have upgraded to squeeze which has installed udev (151-2)
>
> This still hasn't has any affect :(
>
> Also grub2 got installed and it messed up everything, i managed to get it back to grub-legacy but thats going to caused more headaches for people.
>
> Any other ideas?
>
> thanks
>
>
>
> -----Original Message-----
> From: Pasi Kärkkäinen [mailto:pasik@xxxxxx]
> Sent: 23 February 2010 20:11
> To: Ian Tobin
> Cc: Boris Derzhavets; xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-users] Error: Device 0 (vif) could not be connected.Hotplug scripts not working
>
> On Tue, Feb 23, 2010 at 08:06:50PM -0000, Ian Tobin wrote:
> > Confirmed,
> >
> >
> >
> > Exact same issue on 32bit. I don't think you can use lenny without udev
> > being installed??
> >
>
> So maybe you need a newer udev version then?
>
> -- Pasi
>
> >
> >
> >
> >
> > From: Boris Derzhavets [mailto:bderzhavets@xxxxxxxxx]
> > Sent: 23 February 2010 19:34
> > To: Ian Tobin; Pasi Kärkkäinen
> > Cc: xen-users@xxxxxxxxxxxxxxxxxxx
> > Subject: Re: [Xen-users] Error: Device 0 (vif) could not be connected.
> > Hotplug scripts not working
> >
> >
> >
> > I would guess udev is installed, but 2.6.31.X kernel is to high for this
> > udev.
> > It doesn't happen on Jaunty&Karmic Servers (9.04, 9.10)
> >
> > Boris.
> > P.S. Just a guess.
> >
> > --- On Tue, 2/23/10, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
> >
> > From: Pasi Kärkkäinen <pasik@xxxxxx>
> > Subject: Re: [Xen-users] Error: Device 0 (vif) could not be connected.
> > Hotplug scripts not working
> > To: "Ian Tobin" <itobin@xxxxxxxxxxxxx>
> > Cc: xen-users@xxxxxxxxxxxxxxxxxxx
> > Date: Tuesday, February 23, 2010, 2:24 PM
> >
> > On Tue, Feb 23, 2010 at 01:30:12PM -0000, Ian Tobin wrote:
> > > Hello,
> > >
> > > Can anyone help?
> > >
> > > I have again installed a fresh OS Debian Lenny 64bit and done the
> > > following
> > >
> > > Xen:
> > > downloaded xen-3.4.2.tar.gz and extract it
> > > cd xen-3.4.2
> > > make xen
> > > make tools
> > > make stubdom
> > >
> > > cd dist/install/
> > > cp -R * /
> > >
> > > downloaded Jeremys kernel
> > >
> > > make menuconfig
> > > make bzImage
> > > make modules
> > > make modules_install
> > > add to /etc/fstab none /proc/xen xenfs defaults 0 0
> > > cp -a arch/x86/boot/bzImage /boot/vmlinuz-2.6.31.6
> > > cp -a System.map /boot/System.map-2.6.31.6
> > > cp -a .config /boot/config-2.6.31.6
> > > depmod -a
> > > update-initramfs -c -k 2.6.31.6
> > >
> > > added grub line and rebooted. XEN starts but DomU just keeps coming up
> > > about hotplug scripts not working.
> > >
> > > Anyone?
> > >
> >
> > Does "xm log" have more details about the error? Do you have udev
> > installed in dom0?
> >
> > What's your udev version?
> >
> > -- Pasi
> >
> > > Thanks
> > >
> > > Ian
> > >
> > >
> > > -----Original Message-----
> > > From: Tej [mailto:[1]bewith.tej@xxxxxxxxx]
> > > Sent: 20 February 2010 12:04
> > > To: Ian Tobin
> > > Cc: [2]xen-users@xxxxxxxxxxxxxxxxxxx
> > > Subject: Re: [Xen-users] Error: Device 0 (vif) could not be connected.
> > > Hotplug scripts not working
> > >
> > > On Sat, Feb 20, 2010 at 5:25 AM, Ian Tobin <[3]itobin@xxxxxxxxxxxxx>
> > wrote:
> > > > Hi guys,
> > > >
> > > >
> > > >
> > > > Familiar issue.
> > > >
> > > >
> > > >
> > > > Running pv_ops kernel 2.6.31.6 64 bit on Debian Lenny
> > > >
> > > >
> > > >
> > > > Everytime i build the server i get the same issue. The build goes well
> > > but
> > > > as soon as i try and start a DomU i get this problem.
> > > >
> > > >
> > > >
> > > > Have checked the bridge everytime which exists, checked vif config
> > > which is
> > > > fine and also have tried live configs from another server to no
> > > effect.
> > > >
> > > >
> > > >
> > > > Logs show nothing.
> > > >
> > > >
> > > >
> > > > Interesting i have found if i have 2 ssh windows open i can issue xm
> > > create
> > > > domu in one window and while it hangs jump to the other and issue xm
> > > unpause
> > > > domu and then jump back to the other and issue ctrl+c the and the domU
> > > will
> > > > start with networking!
> > > >
> > > >
> > > >
> > > > Im really puzzled but it sounds to me like a bug in one of the xen
> > > scripts.
> > > >
> > > >
> > > >
> > > > Anyone else had this issue?
> > >
> > > I had this issue couple of time.... But I go for some quick fix for it.
> > > what your udev directory says:
> > >
> > > # ls -l /etc/udev/rules.d
> > >
> > > If not hotplug scripts exist, copy it from tools (could be some
> > > dependency issue e.g uuid not installed )
> > >
> > > >
> > > >
> > > >
> > > > Ian
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Xen-users mailing list
> > > > [4]Xen-users@xxxxxxxxxxxxxxxxxxx
> > > > [5]http://lists.xensource.com/xen-users
> > > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Xen-users mailing list
> > > [6]Xen-users@xxxxxxxxxxxxxxxxxxx
> > > [7]http://lists.xensource.com/xen-users
> >
> > _______________________________________________
> > Xen-users mailing list
> > [8]Xen-users@xxxxxxxxxxxxxxxxxxx
> > [9]http://lists.xensource.com/xen-users
> >
> >
> >
> > References
> >
> > Visible links
> > 1. file:///mc/compose?to=bewith.tej@xxxxxxxxx
> > 2. file:///mc/compose?to=xen-users@xxxxxxxxxxxxxxxxxxx
> > 3. file:///mc/compose?to=itobin@xxxxxxxxxxxxx
> > 4. file:///mc/compose?to=Xen-users@xxxxxxxxxxxxxxxxxxx
> > 5. http://lists.xensource.com/xen-users
> > 6. file:///mc/compose?to=Xen-users@xxxxxxxxxxxxxxxxxxx
> > 7. http://lists.xensource.com/xen-users
> > 8. file:///mc/compose?to=Xen-users@xxxxxxxxxxxxxxxxxxx
> > 9. http://lists.xensource.com/xen-users
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users


Live connected with Hotmail on your phone. Learn more.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>