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 be connected.Hotplugscri

To: Mike Viau <viaum@xxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Error: Device 0 (vif) could not be connected.Hotplugscripts not working
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Wed, 24 Feb 2010 06:59:23 -0800 (PST)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 24 Feb 2010 07:05:18 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1267023564; bh=6fhjJAJk2MugTqew1n7HOZ7Zcho3CpNEJg7t7NxcYqQ=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=RD7RQu/Y3CQdXUvM05/iiqZUa5A+ivHol63Svx34V7bcegzLd6osctzyfTqZr5IBZ4upmhh+ZeV8kZzOyB4+uomOWMtu1WfKD7C/sQaKTfyrAU0D86JY5Qt6DG+ZIloCiiaiD/e5neA5nykLC6eNYyw7xVexQztgM3pq5RuQBKY=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=PQohZkG0GCHDACX/X5ZjB2dG2ZPKTsVOGitRD0uUIWy6a9XSuKmeByIsDTuUEbiDGc/N6ga4uW5JFNYtqn6Yct584/tH5eKyM5sfg/MbhDVzsUqkUQySAHwBdoHxtJdA37ufd2teCEngQvHN3fKwMvo3I9EFhiTk9YaHto+Thds=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BAY107-W23D6C645E87F5BCD0757C7EF420@xxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi  Mike,
Submit your .config , please .  I  would suspect you just missed bridged networking
linking . I always tune manually configs for xenified and pvops kernels for about
1.5 years. Several times i asked for JF's support, but there were not network hotplug
issues

Boris.

--- On Tue, 2/23/10, Mike Viau <viaum@xxxxxxxxxxxxxxx> wrote:

From: Mike Viau <viaum@xxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Error: Device 0 (vif) could not be connected.Hotplugscripts not working
To: itobin@xxxxxxxxxxxxx
Cc: bderzhavets@xxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx, pasik@xxxxxx
Date: Tuesday, February 23, 2010, 6:17 PM

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>