|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Hotplug scripts not working / problem with loopback driver
Craig, i have a similar experience using Xen 3.0.1 and a pristine Ubuntu 5.04. First i need to modprobe loop in order to get anywhere.I simply tried to boot/shutdown the same VM over and over again. For each boot/shutdown i had one more process [loop?] lying around. After some iterations i had the following processes: root 6190 0.0 0.0 0 0 ? S< 15:41 0:00 [loop0] root 6479 0.0 0.0 0 0 ? S< 15:42 0:00 [loop1] root 6628 0.0 0.0 0 0 ? S< 15:42 0:00 [loop2] root 6998 0.0 0.0 0 0 ? S< 15:44 0:00 [loop3] root 7090 0.0 0.0 0 0 ? S< 15:44 0:00 [loop4] root 7490 0.0 0.0 0 0 ? S< 15:45 0:00 [loop5] root 7609 0.1 0.0 0 0 ? S< 15:45 0:00 [loop6] root 8050 0.0 0.0 0 0 ? S< 15:46 0:00 [loop7] And from here on i get the following error: Using config file "/opt/mln/projects/root/ugo/ubuntu_xen.cfg".Error: Device 770 (vbd) could not be connected. Backend device not found. I cannot "rmmod loop" either because it says it is in use. I can reboot and do the same thing over again. Is there a problem releasing the loopbacks? Do you see the same accumulation of processes? Regards On Feb 5, 2006, at 12:39 PM, Craig Webster wrote: Hi list,I'm having a bit of an annoying problem which, being new to Xen and the loopback device, I have no idea how to fix.Everything was running along fine with 4 VMs, I attempted to add a 5th VM and it couldn't connect to the backend devices. A quick Google suggested that increasing the max_loop parameter for the kernel (loopback driver is compiled in, not a module) would fix this so I added that param to my grub.conf and rebooted.When I tried to start any of the previously working VMs I now get this happening:saturn vm # xm create subversion.cfg -c Using config file "subversion.cfg".Error: Device 769 (vbd) could not be connected. Hotplug scripts not working.saturn vm # xm destroy subversion saturn vm # xm create subversion.cfg -c Using config file "subversion.cfg".Error: Device 770 (vbd) could not be connected. Backend device not found.saturn vm # xm destroy subversion saturn vm # xm create subversion.cfg -c Using config file "subversion.cfg".Error: Device 770 (vbd) could not be connected. Backend device not found.I have since tried removing the max_loop param from my grub.conf and rebooting but the same problem keeps coming up. Google suggested removing the memory limit on dom0 but that didn't make any difference; I still got the same error.Looking at the logs it appears that there's something wrong with my loopbacks or block hotplug script, but I don't know enough to know what to Google for next.Commenting out the disk parameter in my vm config file allows the boot process to get much further (until it tries to mount the disks).These are the log entries: saturn vm # tail /var/log/xen-hotplug.logmkdir: cannot create directory `/var/run/xen-hotplug/block': File exists mkdir: cannot create directory `/var/run/xen-hotplug/block': File exists[... repeated lots ...]mkdir: cannot create directory `/var/run/xen-hotplug/block': File exists _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |