Jamie Moore
2005-Dec-16 22:02 UTC
RE: [Xen-users] Error: Device ... could not beconnected.Hotplugscripts not working.
What is your guest listing in /sys/devices/xen/? Do you see vif-0 as well as your vdb? Regards, Jamie Moore -----Original Message----- From: Nick Couchman [mailto:Nick.Couchman@seakr.com] Sent: Friday, December 16, 2005 1:54 PM To: xen-users@lists.xensource.com; Jamie Moore Subject: RE: [Xen-users] Error: Device ... could not beconnected.Hotplugscripts not working. Officially confirmed that this does not solve the problem. Thanks for the tip - I appreciate the help! Nick Couchman Systems Integrator SEAKR Engineering, Inc. 6221 South Racine Circle Centennial, CO 80111 Main: (303) 790-8499 Fax: (303) 790-8720 Web: http://www.seakr.com>>> "Jamie Moore" <jmoore@sphera.com> >>>Mine was the same way, any device caused this error. In fact my problems was right when the guest was booting, after the kernel image was uncompressed and it tried to mount the device it failed. We could be talking about the same error. Try rebooting the host machine without the memory directive in grub and see if it works. Regards, Jamie Moore -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Nick Couchman Sent: Friday, December 16, 2005 1:19 PM To: xen-users@lists.xensource.com Subject: RE: [Xen-users] Error: Device ... could not be connected.Hotplugscripts not working. I''ll give it a try, but this is actually happening on two different systems. One has dom0_mem set to 131072 and one has dom0_mem set to 262144. It also isn''t limited to the NIC, it seems to be any device that the guest tries to access. Thanks, Nick Couchman Systems Integrator SEAKR Engineering, Inc. 6221 South Racine Circle Centennial, CO 80111 Main: (303) 790-8499 Fax: (303) 790-8720 Web: http://www.seakr.com>>> "Jamie Moore" <jmoore@sphera.com> >>>I got this same error but only when I set a Dom0 memory limit in the host grup config (i.e. dom0_mem=...) I had mine set to 131072. I never tried a different value but always when I had that one I got this error. When I removed that it went away and the guest Nic booted fine. Not sure if this is the same problem you have but it could be related and possibly this points you somewhere :) Regards, Jamie Moore -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Nick Couchman Sent: Friday, December 16, 2005 1:10 PM To: xen-users@lists.xensource.com Subject: [Xen-users] Error: Device ... could not be connected. Hotplugscripts not working. Well, it feels like I''ve been very needy lately, but I''m getting very frustrated trying to get Xen 3 to work. My latest problem is errors connecting devices. If I have a network card present in my domU configuration, I get the following error message on the command line: Error: Device 0 (vif) could not be connected. Hotplug scripts not working. If I set the configuration so that there are no NICs in the domU, I receive the following error message, instead: Error: Device 769 (vbd) could not be connected. Hotplug scripts not working. I have tried adding lines to the /etc/xen/scripts/block script (and other scripts) to debug it, including redirecting stderr output to another file, but I don''t get anything logged in the file. There is nothing to do with either udev or hotplug in my /var/log/messages file. I have udev 068, so the Xen installer installed the files necessary for using udev instead of hotplug. I''ve verified that the udev rule file is installed in the correct place, and udevd is running: xen-server00:~ # ps -ef | grep udev root 4384 1 0 13:58 ? 00:00:00 /sbin/udevd --daemon I''ve been through the list archives - both the user list and the developer list - looking for solutions, but none of the postings seem to apply to my situation, or at least trying the suggestions in those posting haven''t gotten me anywhere. I''m running a clean, lean install of SuSE10. I didn''t install the SuSE RPM''s for XEN, I downloaded the XEN source and built everything from source. Right now the only thing I''m trying to run is the simple ttylinux image provided on the XEN site for testing. I''ve attached the files xend.log, xend-debug.log, xend.trace (bzipped), and the domain configuration file (ttylinux). Can someone point out what in the world I''m missing that''s causing this headache? Also, I''ve verified that I have the necessary packages installed. bridge-utils is installed, and a quick glance at both "brctl show" and "ifconfig -a" show the the ethernet interfaces are being connected. The problems with the vbd seem to indicate that this isn''t limited to networking, though. Thanks, _______________________________________________ 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
Sanjay Upadhyay
2005-Dec-17 08:44 UTC
[Xen-users] Error: Device ... could not beconnected.Hotplugscripts not working.
Hi, I have had the same error bugging for a long time. beating around the bush didnt solve the issue. If you go back to 2.0.7 the problem is solved, however if you like to remain with the unstable version, then I suggest update your source. I had this issue, and then one fine morning I pulled the source from hg (latest cvs version to mean), 'make world' and the problem was solved. I dont know who solved it :) or whats the real issue there. but whoever did thanks to him. Also Note that before you do a make install , please delete your previous /etc/xen folder As many on the list, I am also looking for a detailed documentation from the maintainers so that the magic is unveiled to the common newbies. I dont if one exists, but pointers and helps are so much welcome. regards Sanjay Upadhyay On 12/17/05, Jamie Moore <jmoore@sphera.com> wrote:> What is your guest listing in /sys/devices/xen/? Do you see vif-0 as > well as your vdb? > > Regards, > > Jamie Moore > > -----Original Message----- > From: Nick Couchman [mailto:Nick.Couchman@seakr.com] > Sent: Friday, December 16, 2005 1:54 PM > To: xen-users@lists.xensource.com; Jamie Moore > Subject: RE: [Xen-users] Error: Device ... could not > beconnected.Hotplugscripts not working. > > Officially confirmed that this does not solve the problem. > > Thanks for the tip - I appreciate the help! > > Nick Couchman > Systems Integrator > SEAKR Engineering, Inc. > 6221 South Racine Circle > Centennial, CO 80111 > Main: (303) 790-8499 > Fax: (303) 790-8720 > Web: http://www.seakr.com > > >>> "Jamie Moore" <jmoore@sphera.com> >>> > Mine was the same way, any device caused this error. In fact my problems > was right when the guest was booting, after the kernel image was > uncompressed and it tried to mount the device it failed. We could be > talking about the same error. Try rebooting the host machine without the > memory directive in grub and see if it works. > > Regards, > > Jamie Moore > > -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Nick > Couchman > Sent: Friday, December 16, 2005 1:19 PM > To: xen-users@lists.xensource.com > Subject: RE: [Xen-users] Error: Device ... could not be > connected.Hotplugscripts not working. > > I'll give it a try, but this is actually happening on two different > systems. One has dom0_mem set to 131072 and one has dom0_mem set to > 262144. It also isn't limited to the NIC, it seems to be any device > that the guest tries to access. > > Thanks, > > Nick Couchman > Systems Integrator > SEAKR Engineering, Inc. > 6221 South Racine Circle > Centennial, CO 80111 > Main: (303) 790-8499 > Fax: (303) 790-8720 > Web: http://www.seakr.com > > >>> "Jamie Moore" <jmoore@sphera.com> >>> > I got this same error but only when I set a Dom0 memory limit in the > host grup config (i.e. dom0_mem=...) I had mine set to 131072. I never > tried a different value but always when I had that one I got this error. > When I removed that it went away and the guest Nic booted fine. Not sure > if this is the same problem you have but it could be related and > possibly this points you somewhere :) > > Regards, > > Jamie Moore > > -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Nick > Couchman > Sent: Friday, December 16, 2005 1:10 PM > To: xen-users@lists.xensource.com > Subject: [Xen-users] Error: Device ... could not be connected. > Hotplugscripts not working. > > Well, it feels like I've been very needy lately, but I'm getting very > frustrated trying to get Xen 3 to work. My latest problem is errors > connecting devices. If I have a network card present in my domU > configuration, I get the following error message on the command line: > > Error: Device 0 (vif) could not be connected. Hotplug scripts not > working. > > If I set the configuration so that there are no NICs in the domU, I > receive the following error message, instead: > > Error: Device 769 (vbd) could not be connected. Hotplug scripts not > working. > > I have tried adding lines to the /etc/xen/scripts/block script (and > other scripts) to debug it, including redirecting stderr output to > another file, but I don't get anything logged in the file. There is > nothing to do with either udev or hotplug in my /var/log/messages file. > I have udev 068, so the Xen installer installed the files necessary for > using udev instead of hotplug. I've verified that the udev rule file is > installed in the correct place, and udevd is running: > > xen-server00:~ # ps -ef | grep udev > root 4384 1 0 13:58 ? 00:00:00 /sbin/udevd --daemon > > I've been through the list archives - both the user list and the > developer list - looking for solutions, but none of the postings seem to > apply to my situation, or at least trying the suggestions in those > posting haven't gotten me anywhere. I'm running a clean, lean install > of SuSE10. I didn't install the SuSE RPM's for XEN, I downloaded the > XEN source and built everything from source. Right now the only thing > I'm trying to run is the simple ttylinux image provided on the XEN site > for testing. I've attached the files xend.log, xend-debug.log, > xend.trace (bzipped), and the domain configuration file (ttylinux). Can > someone point out what in the world I'm missing that's causing this > headache? > > Also, I've verified that I have the necessary packages installed. > bridge-utils is installed, and a quick glance at both "brctl show" and > "ifconfig -a" show the the ethernet interfaces are being connected. The > problems with the vbd seem to indicate that this isn't limited to > networking, though. > > Thanks, > > > _______________________________________________ > 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 >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users