| 
         
xen-users
RE: [Xen-users] Error: Device 0 (vif) could not	beconnected.Hotplugscrip
 
Think i found it 
  
Device drivers -à   <*> Xen backend network device 
  
I have compiled the kernel with that option and now it works at
last! 
  
Thanks for the help guys 
  
Ian 
  
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Boris
Derzhavets 
Sent: 24 February 2010 17:13 
To: Mike Viau 
Cc: xen-users@xxxxxxxxxxxxxxxxxxx 
Subject: RE: [Xen-users] Error: Device 0 (vif) could not
beconnected.Hotplugscripts not working 
 
  
 
  | 
   Hard link <*> Network Bridging and XEN-> Backend
  Drivers in Dom0 <*> 
  It fixes your config. That's all. 
   
  B. 
   
  --- On Wed, 2/24/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: bderzhavets@xxxxxxxxx 
  Cc: xen-users@xxxxxxxxxxxxxxxxxxx 
  Date: Wednesday, February 24, 2010, 10:08 AM 
  
  Non-working .config attached. 
   
  I have been doing my best to try and read up on the options that were setup
  differently in the working .config you sent me.  
   
  Do you know if JF setup some sort of wiki for configuring a xenified kernel? 
   
  Thanks. 
   
    
  -M 
   
   
   
   
  
    
  
  Date: Wed, 24 Feb 2010
  06:59:23 -0800 
  From: bderzhavets@xxxxxxxxx 
  Subject: RE: [Xen-users] Error: Device 0 (vif) could not be
  connected.Hotplugscripts not working 
  To: mike.viau@xxxxxxxxxxxxxxx 
  CC: xen-users@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.
     
     
     | 
    
   
    
  
    
  
  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>
 |  
- RE: [Xen-users] Error: Device 0 (vif) could not be connected.Hotplug	scripts not working, (continued)
- RE: [Xen-users] Error: Device 0 (vif) could not be connected.Hotplug	scripts not working, Ian Tobin
 
- RE: [Xen-users] Error: Device 0 (vif) could not be connected.Hotplug	scripts not working, Ian Tobin
 - RE: [Xen-users] Error: Device 0 (vif) could not be	connected.Hotplugscripts not working, Ian Tobin
 - RE: [Xen-users] Error: Device 0 (vif) could not be	connected.Hotplugscripts not working, Ian Tobin
 - RE: [Xen-users] Error: Device 0 (vif) could not be	connected.Hotplugscripts not working, Mike Viau
 - RE: [Xen-users] Error: Device 0 (vif) could not	beconnected.Hotplugscripts not working, Ian Tobin
 
- RE: [Xen-users] Error: Device 0 (vif) could not be	connected.Hotplugscripts not working, Boris Derzhavets
 - RE: [Xen-users] Error: Device 0 (vif) could not be	connected.Hotplugscripts not working, Mike Viau
 - RE: [Xen-users] Error: Device 0 (vif) could not be	connected.Hotplugscripts not working, Boris Derzhavets
 - RE: [Xen-users] Error: Device 0 (vif) could not	beconnected.Hotplugscripts not working, Ian Tobin
 
- RE: [Xen-users] Error: Device 0 (vif) could not	beconnected.Hotplugscripts not working,
Ian Tobin <=
 - Re: [Xen-users] Error: Device 0 (vif) could not	beconnected.Hotplugscripts not working, Pasi Kärkkäinen
 - RE: [Xen-users] Error: Device 0 (vif) could	notbeconnected.Hotplugscripts not working, Ian Tobin
 - RE: [Xen-users] Error: Device 0 (vif) could notbeconnected.	Hotplugscripts not working, Mike Viau
 
    
 
 |  
  
 | 
    |