I create my cfg file with xen-tools. When i try to start the VM i get this error: xm create minni-xen0.cfg Using config file "minni-xen0.cfg". Error: Device 2049 (vbd) could not be connected. Hotplug scripts not working. if I go to download the Hotplug i get: apt-get install hotplug Lettura della lista dei pacchetti in corso... Fatto Generazione dell''albero delle dipendenze in corso... Fatto Pacchetti suggeriti: ifrename Pacchetti raccomandati: pciutils I seguenti pacchetti saranno RIMOSSI: initramfs-tools linux-image-2.6.18-6-xen-amd64 udev xen-hypervisor-3.0.3-1-amd64 xen-utils-3.0.3-1 xen-utils-common I seguenti pacchetti NUOVI (NEW) saranno installati: hotplug 0 aggiornati, 1 installati, 6 da rimuovere e 22 non aggiornati. è necessario prendere 0B/67,3kB di archivi. Dopo l''estrazione, verranno liberati 4997kB di spazio su disco. Continuare [S/n]? why Hotplug want uninstall Xen? I do not understand .. Any suggestions? -- View this message in context: http://www.nabble.com/conflict-between-XEN-udev-and-Hotplug-tp24607532p24607532.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
.. translate from italian : I seguenti pacchetti saranno RIMOSSI: initramfs-tools linux-image-2.6.18-6-xen-amd64 udev xen-hypervisor-3.0.3-1-amd64 xen-utils-3.0.3-1 xen-utils-common is Follows packages will be removed : initramfs-tools linux-image-2.6.18-6-xen-amd64 udev xen-hypervisor-3.0.3-1-amd64 xen-utils-3.0.3-1 xen-utils-common -- View this message in context: http://www.nabble.com/conflict-between-XEN-udev-and-Hotplug-tp24607532p24607557.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fabian Zimmermann
2009-Jul-22 18:02 UTC
Re: [Xen-users] conflict between XEN-udev and Hotplug
Hi _sc_,> Follows packages will be removed : > initramfs-tools linux-image-2.6.18-6-xen-amd64 udev > xen-hypervisor-3.0.3-1-amd64 xen-utils-3.0.3-1 xen-utils-common >because: xen-hypervisor needs udev and udev conflicts with hotplug so if you try to install hotplug, udev will be removed, which will remove xen-hypervisor, too. Cu, Fabian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Fabian, thanks for the reply. But why when I create my virtual machine i get this message : Error: Device 2049 (vbd) could not be connected. Hotplug scripts not working. :confused: XEN requires Hotplug?? or not? I do not understand what is the problem and how to solve it.. Fabian Zimmermann-2 wrote:> > Hi _sc_, >> Follows packages will be removed : >> initramfs-tools linux-image-2.6.18-6-xen-amd64 udev >> xen-hypervisor-3.0.3-1-amd64 xen-utils-3.0.3-1 xen-utils-common >> > because: > > xen-hypervisor needs udev > > and > > udev conflicts with hotplug > > so if you try to install hotplug, udev will be removed, which will > remove xen-hypervisor, too. > > Cu, > Fabian > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >-- View this message in context: http://www.nabble.com/conflict-between-XEN-udev-and-Hotplug-tp24607532p24621410.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, Could you post your minni-xen0.cfg file it seems to be the cause of errors. Regards, Geza> Hi Fabian, thanks for the reply. > But why when I create my virtual machine i get this message : > Error: Device 2049 (vbd) could not be connected. Hotplug scripts not > working. > :confused: > XEN requires Hotplug?? or not? > I do not understand what is the problem and how to solve it.. > > > Fabian Zimmermann-2 wrote: > >> Hi _sc_, >> >>> Follows packages will be removed : >>> initramfs-tools linux-image-2.6.18-6-xen-amd64 udev >>> xen-hypervisor-3.0.3-1-amd64 xen-utils-3.0.3-1 xen-utils-common >>> >>> >> because: >> >> xen-hypervisor needs udev >> >> and >> >> udev conflicts with hotplug >> >> so if you try to install hotplug, udev will be removed, which will >> remove xen-hypervisor, too. >> >> Cu, >> Fabian >> >> _______________________________________________ >> 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
Fabian Zimmermann
2009-Jul-23 20:53 UTC
Re: [Xen-users] conflict between XEN-udev and Hotplug
Hi _sc_,> But why when I create my virtual machine i get this message : > Error: Device 2049 (vbd) could not be connected. Hotplug scripts not > working. > :confused: > XEN requires Hotplug?? or not? > I do not understand what is the problem and how to solve it..As far as I know, XEN does NOT require the old hotplug-system. It''s running fine with udev. Maybe your udevd is not running or some udev-rules are missing. Try to google a bit, I think some similar problems have already been discussed on this list. Maybe it would help if you could provide the output of udevmonitor/udevadm during DomU-start. Bye, Fabian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
François Delpierre
2009-Jul-23 21:36 UTC
Re: [Xen-users] conflict between XEN-udev and Hotplug
Dear Fabian, Xen hotplug script has nothing to do with linux hotplug that is now replaced by udev. Your error message just tells that the xen hotplug script is not working, but does not ask you to install the hotplug software. I have to admin that xen error messages are really a pity... and the error message you get cannot help me in finding an answer that correct the problem. You should first look in /var/log/xen/ about the log files (xend.log and qemu-dm-...log), and check your disk = [...] line. Remove you cdrom or any vbd (virtual block device) other than your main boot disk. Regards, François ----- Original Message ----- From: "Fabian Zimmermann" <xen-users@z-technologies.de> To: "_sc_" <sc00@tiscali.it> Cc: xen-users@lists.xensource.com Sent: Thursday, 23 July, 2009 22:53:52 GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna Subject: Re: [Xen-users] conflict between XEN-udev and Hotplug Hi _sc_,> But why when I create my virtual machine i get this message : > Error: Device 2049 (vbd) could not be connected. Hotplug scripts not > working. > :confused: > XEN requires Hotplug?? or not? > I do not understand what is the problem and how to solve it..As far as I know, XEN does NOT require the old hotplug-system. It''s running fine with udev. Maybe your udevd is not running or some udev-rules are missing. Try to google a bit, I think some similar problems have already been discussed on this list. Maybe it would help if you could provide the output of udevmonitor/udevadm during DomU-start. Bye, Fabian _______________________________________________ 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
thanks François , in xend.lo i get these error messages: xend 2370] DEBUG (__init__:1072) exception looking up device number for xvda1: [Errno 2] No such file or directory: ''/dev/xvda1'' [2009-07-24 11:32:20 xend 2370] DEBUG (__init__:1072) DevController: writing {''backend-id'': ''0'', ''virtual-device'': ''51713'', ''device-type'': ''disk'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/1/51713''} to /local/domain/1/device/vbd/51713. [2009-07-24 11:32:20 xend 2370] DEBUG (__init__:1072) DevController: writing {''domain'': ''iagservice01'', ''frontend'': ''/local/domain/1/device/vbd/51713'', ''dev'': ''xvda1'', ''state'': ''1'', ''params'': ''/magazzino/iagservice01/iagservice01System'', ''mode'': ''w'', ''online'': ''1'', ''frontend-id'': ''1'', ''type'': ''phy''} to /local/domain/0/backend/vbd/1/51713. [2009-07-24 11:32:20 xend 2370] DEBUG (__init__:1072) exception looking up device number for xvda2: [Errno 2] No such file or directory: ''/dev/xvda2'' you can help me to understand them? xensource-2 wrote:> > Dear Fabian, > > Xen hotplug script has nothing to do with linux hotplug that is now > replaced by udev. > Your error message just tells that the xen hotplug script is not working, > but does not ask you to install the hotplug software. > I have to admin that xen error messages are really a pity... and the error > message you get cannot help me in finding an answer that correct the > problem. > You should first look in /var/log/xen/ about the log files (xend.log and > qemu-dm-...log), and check your disk = [...] line. Remove you cdrom or any > vbd (virtual block device) other than your main boot disk. > > Regards, > > François > > ----- Original Message ----- > From: "Fabian Zimmermann" <xen-users@z-technologies.de> > To: "_sc_" <sc00@tiscali.it> > Cc: xen-users@lists.xensource.com > Sent: Thursday, 23 July, 2009 22:53:52 GMT +01:00 Amsterdam / Berlin / > Bern / Rome / Stockholm / Vienna > Subject: Re: [Xen-users] conflict between XEN-udev and Hotplug > > Hi _sc_, >> But why when I create my virtual machine i get this message : >> Error: Device 2049 (vbd) could not be connected. Hotplug scripts not >> working. >> :confused: >> XEN requires Hotplug?? or not? >> I do not understand what is the problem and how to solve it.. > > As far as I know, XEN does NOT require the old hotplug-system. It''s > running fine with udev. Maybe your udevd is not running or some > udev-rules are missing. Try to google a bit, I think some similar > problems have already been discussed on this list. > > Maybe it would help if you could provide the output of > udevmonitor/udevadm during DomU-start. > > Bye, > Fabian > > _______________________________________________ > 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 >-- View this message in context: http://www.nabble.com/conflict-between-XEN-udev-and-Hotplug-tp24607532p24640457.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fabian Zimmermann
2009-Jul-24 11:47 UTC
Re: [Xen-users] conflict between XEN-udev and Hotplug
Hi _sc_,> xend 2370] DEBUG (__init__:1072) exception looking up device number for > xvda1: [Errno 2] No such file or directory: ''/dev/xvda1'' > [2009-07-24 11:32:20 xend 2370] DEBUG (__init__:1072) DevController: writing > {''backend-id'': ''0'', ''virtual-device'': ''51713'', ''device-type'': ''disk'', > ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/1/51713''} to > /local/domain/1/device/vbd/51713. > [2009-07-24 11:32:20 xend 2370] DEBUG (__init__:1072) DevController: writing > {''domain'': ''iagservice01'', ''frontend'': ''/local/domain/1/device/vbd/51713'', > ''dev'': ''xvda1'', ''state'': ''1'', ''params'': > ''/magazzino/iagservice01/iagservice01System'', ''mode'': ''w'', ''online'': ''1'', > ''frontend-id'': ''1'', ''type'': ''phy''} to /local/domain/0/backend/vbd/1/51713. > [2009-07-24 11:32:20 xend 2370] DEBUG (__init__:1072) exception looking up > device number for xvda2: [Errno 2] No such file or directory: ''/dev/xvda2'' > > you can help me to understand them?Could you please post your minni-xen0.cfg? Bye, Fabian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Fabian, the config file is: # Configuration file for the Xen instance minni-xen0, created on # Wed Jul 22 18:04:21 2009. # Kernel + memory size kernel = ''/boot/vmlinuz-2.6.18-6-xen-amd64'' ramdisk = ''/boot/initrd.img-2.6.18-6-xen-amd64'' memory = ''512'' # Disk device(s). root = ''/dev/sda1 ro'' disk = [ ''phy:xen-lvm/minni-xen0-disk,sda1,w'', ''phy:xen-lvm/minni-xen0-swap,sda2,w'' ] # Hostname name = ''minni-xen0'' # Networking vif = [ ''ip=10.0.0.52'' ] # Behaviour on_poweroff = ''destroy'' on_reboot = ''restart'' on_crash = ''restart'' Fabian Zimmermann-2 wrote:> > Hi _sc_, > >> xend 2370] DEBUG (__init__:1072) exception looking up device number for >> xvda1: [Errno 2] No such file or directory: ''/dev/xvda1'' >> [2009-07-24 11:32:20 xend 2370] DEBUG (__init__:1072) DevController: >> writing >> {''backend-id'': ''0'', ''virtual-device'': ''51713'', ''device-type'': ''disk'', >> ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/1/51713''} to >> /local/domain/1/device/vbd/51713. >> [2009-07-24 11:32:20 xend 2370] DEBUG (__init__:1072) DevController: >> writing >> {''domain'': ''iagservice01'', ''frontend'': >> ''/local/domain/1/device/vbd/51713'', >> ''dev'': ''xvda1'', ''state'': ''1'', ''params'': >> ''/magazzino/iagservice01/iagservice01System'', ''mode'': ''w'', ''online'': ''1'', >> ''frontend-id'': ''1'', ''type'': ''phy''} to >> /local/domain/0/backend/vbd/1/51713. >> [2009-07-24 11:32:20 xend 2370] DEBUG (__init__:1072) exception looking >> up >> device number for xvda2: [Errno 2] No such file or directory: >> ''/dev/xvda2'' >> >> you can help me to understand them? > > Could you please post your minni-xen0.cfg? > > Bye, > Fabian > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >-- View this message in context: http://www.nabble.com/conflict-between-XEN-udev-and-Hotplug-tp24607532p24644324.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users