Hello, i want to run 14 virtual Machines with xen. But i get the following error-message: xen-Dom0-Backup:/etc/xen/vm # xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 14133 4 r----- 59.7 c10 8 254 1 -b---- 13.7 c2 1 254 1 -b---- 14.1 c3 2 254 1 -b---- 14.0 c5 3 254 1 ------ 14.0 c6 4 254 1 -b---- 14.0 c7 5 254 1 -b---- 13.9 c8 6 254 1 -b---- 13.9 c9 7 254 1 -b---- 13.9 xen-Dom0-Backup:/etc/xen/vm # xm create c14 Using config file "c14". /dev/loop8: Datei oder Verzeichnis nicht gefunden Traceback (most recent call last): File "/usr/lib/xen/boot/domUloader.py", line 495, in ? main(sys.argv) File "/usr/lib/xen/boot/domUloader.py", line 481, in main setupDisks(disks) File "/usr/lib/xen/boot/domUloader.py", line 280, in setupDisks setupOneDisk(disk) File "/usr/lib/xen/boot/domUloader.py", line 272, in setupOneDisk wdisk = Wholedisk(cfg[1], physdev, loopfile) File "/usr/lib/xen/boot/domUloader.py", line 100, in __init__ self.pcount = self.scanpartitions() File "/usr/lib/xen/boot/domUloader.py", line 127, in scanpartitions self.loopsetup() File "/usr/lib/xen/boot/domUloader.py", line 112, in loopsetup raise RuntimeError("domUloader: Failure setting up loop dev") RuntimeError: domUloader: Failure setting up loop dev Error: Boot loader didn''t return any data! Does someone know why i can not start more than 8 vms? Here is my config-file: disk = [ ''phy:/dev/sdc14,hda2,w'', ''file:/mnt/swapspace/c14_swap.img,hda1,w'' ] memory = 254 vcpus = 1 name = ''c14'' vif = [ ''mac=00:16:3e:1b:90:14'' ] localtime = 1 on_poweroff = ''destroy'' on_reboot = ''restart'' on_crash = ''restart'' extra = '' TERM=xterm'' bootloader = ''/usr/lib/xen/boot/domUloader.py'' bootentry = ''hda2:/boot/vmlinuz-xen,/boot/initrd-xen'' Thank you, r. jansen --------------------------------- Besseren Schutz gegen Spam - jetzt bei dem neuen Yahoo! Mail . _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Ralf, you need more loop devices. So append this to dom0 kernel: max_loop=255, if you are using grub, edit the menu.lst and put something like: kernel module /boot/vmlinuz-2.6-xen0 root=/dev/sda1 ro max_loop=255 if you are using udev all will work all right, if not you probably must create the devices: /dev/loopXX Regards, Marc Ralf Jansen wrote:> Hello, > i want to run 14 virtual Machines with xen. But i get the following > error-message: > > > xen-Dom0-Backup:/etc/xen/vm # xm list > Name ID Mem(MiB) VCPUs State Time(s) > Domain-0 0 14133 4 r----- 59.7 > c10 8 254 1 -b---- 13.7 > c2 1 254 1 -b---- 14.1 > c3 2 254 1 -b---- 14.0 > c5 3 254 1 ------ 14.0 > c6 4 254 1 -b---- 14.0 > c7 5 254 1 -b---- 13.9 > c8 6 254 1 -b---- 13.9 > c9 7 254 1 -b---- 13.9 > xen-Dom0-Backup:/etc/xen/vm # xm create c14 > Using config file "c14". > /dev/loop8: Datei oder Verzeichnis nicht gefunden > Traceback (most recent call last): > File "/usr/lib/xen/boot/domUloader.py", line 495, in ? > main(sys.argv) > File "/usr/lib/xen/boot/domUloader.py", line 481, in main > setupDisks(disks) > File "/usr/lib/xen/boot/domUloader.py", line 280, in setupDisks > setupOneDisk(disk) > File "/usr/lib/xen/boot/domUloader.py", line 272, in setupOneDisk > wdisk = Wholedisk(cfg[1], physdev, loopfile) > File "/usr/lib/xen/boot/domUloader.py", line 100, in __init__ > self.pcount = self.scanpartitions() > File "/usr/lib/xen/boot/domUloader.py", line 127, in scanpartitions > self.loopsetup() > File "/usr/lib/xen/boot/domUloader.py", line 112, in loopsetup > raise RuntimeError("domUloader: Failure setting up loop dev") > RuntimeError: domUloader: Failure setting up loop dev > Error: Boot loader didn''t return any data! > > Does someone know why i can not start more than 8 vms? > Here is my config-file: > > disk = [ ''phy:/dev/sdc14,hda2,w'', > ''file:/mnt/swapspace/c14_swap.img,hda1,w'' ] > memory = 254 > vcpus = 1 > name = ''c14'' > vif = [ ''mac=00:16:3e:1b:90:14'' ] > localtime = 1 > on_poweroff = ''destroy'' > on_reboot = ''restart'' > on_crash = ''restart'' > extra = '' TERM=xterm'' > bootloader = ''/usr/lib/xen/boot/domUloader.py'' > bootentry = ''hda2:/boot/vmlinuz-xen,/boot/initrd-xen'' > > > Thank you, > r. jansen > > ------------------------------------------------------------------------ > Besseren Schutz gegen Spam - jetzt bei dem neuen Yahoo! Mail > <http://de.rd.yahoo.com/evt=40589/*http://de.docs.yahoo.com/ymail/landing.html%20>. > > ------------------------------------------------------------------------ > > _______________________________________________ > 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
Hi Marc, thank you. I create loop devices with: for ((i=8;i<=255;i+=1)); do mknod -m 660 /dev/loop$i b 7 $i; done and use the following /boot/grub/menu.lst: title XEN root (hd0,0) kernel /boot/xen.gz module /boot/vmlinuz-xen root=/dev/sda1 max_loop=255 dom0_mem=512M mem=16G vga=0x31a resume=/dev/sda3 splash=silent showopts module /boot/initrd-xen After rebooting i still have the same error-message: Using config file "/etc/xen/vm/c14". /dev/loop8: Kein passendes Gerät bzw. keine passende Adresse gefunden Traceback (most recent call last): File "/usr/lib/xen/boot/domUloader.py", line 495, in ? main(sys.argv) File "/usr/lib/xen/boot/domUloader.py", line 481, in main setupDisks(disks) File "/usr/lib/xen/boot/domUloader.py", line 280, in setupDisks setupOneDisk(disk) File "/usr/lib/xen/boot/domUloader.py", line 272, in setupOneDisk wdisk = Wholedisk(cfg[1], physdev, loopfile) File "/usr/lib/xen/boot/domUloader.py", line 100, in __init__ self.pcount = self.scanpartitions() File "/usr/lib/xen/boot/domUloader.py", line 127, in scanpartitions self.loopsetup() File "/usr/lib/xen/boot/domUloader.py", line 112, in loopsetup raise RuntimeError("domUloader: Failure setting up loop dev") RuntimeError: domUloader: Failure setting up loop dev Error: Boot loader didn''t return any data! xen-Dom0-Backup:/dev # Regards, Ralf Marc Patino Gómez <mpatino@es.clara.net> schrieb: Hi Ralf, you need more loop devices. So append this to dom0 kernel: max_loop=255, if you are using grub, edit the menu.lst and put something like: kernel module /boot/vmlinuz-2.6-xen0 root=/dev/sda1 ro max_loop=255 if you are using udev all will work all right, if not you probably must create the devices: /dev/loopXX Regards, Marc Ralf Jansen wrote:> Hello, > i want to run 14 virtual Machines with xen. But i get the following > error-message: > > > xen-Dom0-Backup:/etc/xen/vm # xm list > Name ID Mem(MiB) VCPUs State Time(s) > Domain-0 0 14133 4 r----- 59.7 > c10 8 254 1 -b---- 13.7 > c2 1 254 1 -b---- 14.1 > c3 2 254 1 -b---- 14.0 > c5 3 254 1 ------ 14.0 > c6 4 254 1 -b---- 14.0 > c7 5 254 1 -b---- 13.9 > c8 6 254 1 -b---- 13.9 > c9 7 254 1 -b---- 13.9 > xen-Dom0-Backup:/etc/xen/vm # xm create c14 > Using config file "c14". > /dev/loop8: Datei oder Verzeichnis nicht gefunden > Traceback (most recent call last): > File "/usr/lib/xen/boot/domUloader.py", line 495, in ? > main(sys.argv) > File "/usr/lib/xen/boot/domUloader.py", line 481, in main > setupDisks(disks) > File "/usr/lib/xen/boot/domUloader.py", line 280, in setupDisks > setupOneDisk(disk) > File "/usr/lib/xen/boot/domUloader.py", line 272, in setupOneDisk > wdisk = Wholedisk(cfg[1], physdev, loopfile) > File "/usr/lib/xen/boot/domUloader.py", line 100, in __init__ > self.pcount = self.scanpartitions() > File "/usr/lib/xen/boot/domUloader.py", line 127, in scanpartitions > self.loopsetup() > File "/usr/lib/xen/boot/domUloader.py", line 112, in loopsetup > raise RuntimeError("domUloader: Failure setting up loop dev") > RuntimeError: domUloader: Failure setting up loop dev > Error: Boot loader didn''t return any data! > > Does someone know why i can not start more than 8 vms? > Here is my config-file: > > disk = [ ''phy:/dev/sdc14,hda2,w'', > ''file:/mnt/swapspace/c14_swap.img,hda1,w'' ] > memory = 254 > vcpus = 1 > name = ''c14'' > vif = [ ''mac=00:16:3e:1b:90:14'' ] > localtime = 1 > on_poweroff = ''destroy'' > on_reboot = ''restart'' > on_crash = ''restart'' > extra = '' TERM=xterm'' > bootloader = ''/usr/lib/xen/boot/domUloader.py'' > bootentry = ''hda2:/boot/vmlinuz-xen,/boot/initrd-xen'' > > > Thank you, > r. jansen > > ------------------------------------------------------------------------ > Besseren Schutz gegen Spam - jetzt bei dem neuen Yahoo! Mail > . > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 --------------------------------- BE A BETTER HEIMWERKER: Jetzt Frage stellen und einen von 44 iPods gewinnen! --0-407834858-1183565665=:33603 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi Marc,<br>thank you. I create loop devices with:<br><br>for ((i=8;i<=255;i+=1)); do mknod -m 660 /dev/loop$i b 7 $i; done<br><br>and use the following /boot/grub/menu.lst:<br><br>title XEN<br> root (hd0,0)<br> kernel /boot/xen.gz<br> module /boot/vmlinuz-xen root=/dev/sda1 max_loop=255 dom0_mem=512M mem=16G vga=0x31a resume=/dev/sda3 splash=silent showopts<br> module /boot/initrd-xen<br><br>After rebooting i still have the same error-message:<br><br>Using config file "/etc/xen/vm/c14".<br>/dev/loop8: Kein passendes Gerät bzw. keine passende Adresse gefunden<br>Traceback (most recent call last):<br> File "/usr/lib/xen/boot/domUloader.py", line 495, in ?<br> main(sys.argv)<br> File "/usr/lib/xen/boot/domUloader.py", line 481, in main<br> setupDisks(disks)<br> File "/usr/lib/xen/boot/domUloader.py", line 280, in setupDisks<br> setupOneDisk(disk)<br> File "/usr/lib/xen/boot/domUloader.py", line 272, in setupOneDisk<br> wdisk = Wholedisk(cfg[1], physdev, loopfile)<br> File "/usr/lib/xen/boot/domUloader.py", line 100, in __init__<br> self.pcount = self.scanpartitions()<br> File "/usr/lib/xen/boot/domUloader.py", line 127, in scanpartitions<br> self.loopsetup()<br> File "/usr/lib/xen/boot/domUloader.py", line 112, in loopsetup<br> raise RuntimeError("domUloader: Failure setting up loop dev")<br>RuntimeError: domUloader: Failure setting up loop dev<br>Error: Boot loader didn''t return any data!<br>xen-Dom0-Backup:/dev # <br><br>Regards,<br>Ralf<br><br><br><b><i>Marc Patino Gómez <mpatino@es.clara.net></i></b> schrieb:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Hi Ralf,<br><br>you need more loop devices. So append this to dom0 kernel: max_loop=255,<br><br>if you are using grub, edit the menu.lst and put something like:<br><br>kernel module /boot/vmlinuz-2.6-xen0 root=/dev/sda1 ro max_loop=255<br><br>if you are using udev all will work all right, if not you probably must <br>create the devices: /dev/loopXX<br><br>Regards,<br><br>Marc<br><br>Ralf Jansen wrote:<br>> Hello,<br>> i want to run 14 virtual Machines with xen. But i get the following <br>> error-message:<br>><br>><br>> xen-Dom0-Backup:/etc/xen/vm # xm list<br>> Name ID Mem(MiB) VCPUs State Time(s)<br>> Domain-0 0 14133 4 r----- 59.7<br>> c10 8 254 1 -b---- 13.7<br>> c2 1 254 1 -b---- 14.1<br>> c3 2 254 1 -b---- 14.0<br>> c5 3 254 1 ------ 14.0<br>> c6 4 254 1 -b---- 14.0<br>> c7 5 254 1 -b---- 13.9<br>> c8 6 254 1 -b---- 13.9<br>> c9 7 254 1 -b---- 13.9<br>> xen-Dom0-Backup:/etc/xen/vm # xm create c14<br>> Using config file "c14".<br>> /dev/loop8: Datei oder Verzeichnis nicht gefunden<br>> Traceback (most recent call last):<br>> File "/usr/lib/xen/boot/domUloader.py", line 495, in ?<br>> main(sys.argv)<br>> File "/usr/lib/xen/boot/domUloader.py", line 481, in main<br>> setupDisks(disks)<br>> File "/usr/lib/xen/boot/domUloader.py", line 280, in setupDisks<br>> setupOneDisk(disk)<br>> File "/usr/lib/xen/boot/domUloader.py", line 272, in setupOneDisk<br>> wdisk = Wholedisk(cfg[1], physdev, loopfile)<br>> File "/usr/lib/xen/boot/domUloader.py", line 100, in __init__<br>> self.pcount = self.scanpartitions()<br>> File "/usr/lib/xen/boot/domUloader.py", line 127, in scanpartitions<br>> self.loopsetup()<br>> File "/usr/lib/xen/boot/domUloader.py", line 112, in loopsetup<br>> raise RuntimeError("domUloader: Failure setting up loop dev")<br>> RuntimeError: domUloader: Failure setting up loop dev<br>> Error: Boot loader didn''t return any data!<br>><br>> Does someone know why i can not start more than 8 vms?<br>> Here is my config-file:<br>><br>> disk = [ ''phy:/dev/sdc14,hda2,w'', <br>> ''file:/mnt/swapspace/c14_swap.img,hda1,w'' ]<br>> memory = 254<br>> vcpus = 1<br>> name = ''c14''<br>> vif = [ ''mac=00:16:3e:1b:90:14'' ]<br>> localtime = 1<br>> on_poweroff = ''destroy''<br>> on_reboot = ''restart''<br>> on_crash = ''restart''<br>> extra = '' TERM=xterm''<br>> bootloader = ''/usr/lib/xen/boot/domUloader.py''<br>> bootentry = ''hda2:/boot/vmlinuz-xen,/boot/initrd-xen''<br>><br>><br>> Thank you,<br>> r. jansen<br>><br>> ------------------------------------------------------------------------<br>> Besseren Schutz gegen Spam - jetzt bei dem neuen Yahoo! Mail <br>> <http: //de.rd.yahoo.com/evt="40589/*http://de.docs.yahoo.com/ymail/landing.html%20">. <br>><br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________<br>> Xen-users mailing list<br>> Xen-users@lists.xensource.com<br>> http://lists.xensource.com/xen-users<br><br><br>_______________________________________________<br>Xen-users mailing list<br>Xen-users@lists.xensource.com<br>http://lists.xensource.com/xen-users<br></http:></blockquote><br><p>  <hr size=1> <a href="http://de.rd.yahoo.com/evt=48734/*http://de.promotions.yahoo.com/clever/be-a-better/heimwerker.html" target=_new><b>BE A BETTER HEIMWERKER:</b> Jetzt Frage stellen und einen von 44 iPods gewinnen!</a>--0-407834858-1183565665=:33603-- --===============0051007879=Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users --===============0051007879==--
Hi Ralf, to be sure that problem is related with loop devices, you can make the following test: - Create a vbd: # dd if=/dev/zero of=/tmp/test.img bs=4k count=10000 # mkfs.ext3 /tmp/test.img - Try to mount it, (with the 7 xen domU running) # mkdir /mnt/test # mount -o loop /tmp/test.img /mnt/test With losetup command, you can check the loop devices, for example: #losetup /dev/loop1 /dev/loop1: [0804]:11239436 (/xen/images/popeye.img) In my dom0 kernels shows some messages about how many loop are avaliable: # dmesg | grep -i loop loop: loaded (max 255 devices) Regards, Marc Ralf Jansen wrote:> Sorry, yes, here the translation.: > > No matching Device found or no correkt address found. > > Regards, > Ralf > > */mpatino@es.clara.net/* schrieb: > > Hi Ralf, > > can you translate > > Kein passendes Gerät bzw. keine passende Adresse gefunden > > sorry but I don''t understand german. > > Regards, > > Marc > > > Hi Marc, > > thank you. I create loop devices with: > > > > for ((i=8;i<=255;i+=1)); do mknod -m 660 /dev/loop$i b 7 $i; done > > > > and use the following /boot/grub/menu.lst: > > > > title XEN > > root (hd0,0) > > kernel /boot/xen.gz > > module /boot/vmlinuz-xen root=/dev/sda1 max_loop=255 dom0_mem=512M > > mem=16G vga=0x31a resume=/dev/sda3 splash=silent showopts > > module /boot/initrd-xen > > > > After rebooting i still have the same error-message: > > > > Using config file "/etc/xen/vm/c14". > > /dev/loop8: Kein passendes Gerät bzw. keine passende Adresse > gefunden > > Traceback (most recent call last): > > File "/usr/lib/xen/boot/domUloader.py", line 495, in ? > > main(sys.argv) > > File "/usr/lib/xen/boot/domUloader.py", line 481, in main > > setupDisks(disks) > > File "/usr/lib/xen/boot/domUloader.py", line 280, in setupDisks > > setupOneDisk(disk) > > File "/usr/lib/xen/boot/domUloader.py", line 272, in setupOneDisk > > wdisk = Wholedisk(cfg[1], physdev, loopfile) > > File "/usr/lib/xen/boot/domUloader.py", line 100, in __init__ > > self.pcount = self.scanpartitions() > > File "/usr/lib/xen/boot/domUloader.py", line 127, in scanpartitions > > self.loopsetup() > > File "/usr/lib/xen/boot/domUloader.py", line 112, in loopsetup > > raise RuntimeError("domUloader: Failure setting up loop dev") > > RuntimeError: domUloader: Failure setting up loop dev > > Error: Boot loader didn''t return any data! > > xen-Dom0-Backup:/dev # > > > > Regards, > > Ralf > > > > > > Marc Patino Gómez schrieb: Hi Ralf, > > > > you need more loop devices. So append this to dom0 kernel: > max_loop=255, > > > > if you are using grub, edit the menu.lst and put something like: > > > > kernel module /boot/vmlinuz-2.6-xen0 root=/dev/sda1 ro > > max_loop=255 > > > > if you are using udev all will work all right, if not you > probably must > > create the devices: /dev/loopXX > > > > Regards, > > > > Marc > > > > Ralf Jansen wrote: > >> Hello, > >> i want to run 14 virtual Machines with xen. But i get the following > >> error-message: > >> > >> > >> xen-Dom0-Backup:/etc/xen/vm # xm list > >> Name ID Mem(MiB) VCPUs State Time(s) > >> Domain-0 0 14133 4 r----- 59.7 > >> c10 8 254 1 -b---- 13.7 > >> c2 1 254 1 -b---- 14.1 > >> c3 2 254 1 -b---- 14.0 > >> c5 3 254 1 ------ 14.0 > >> c6 4 254 1 -b---- 14.0 > >> c7 5 254 1 -b---- 13.9 > >> c8 6 254 1 -b---- 13.9 > >> c9 7 254 1 -b---- 13.9 > >> xen-Dom0-Backup:/etc/xen/vm # xm create c14 > >> Using config file "c14". > >> /dev/loop8: Datei oder Verzeichnis nicht gefunden > >> Traceback (most recent call last): > >> File "/usr/lib/xen/boot/domUloader.py", line 495, in ? > >> main(sys.argv) > >> File "/usr/lib/xen/boot/domUloader.py", line 481, in main > >> setupDisks(disks) > >> File "/usr/lib/xen/boot/domUloader.py", line 280, in setupDisks > >> setupOneDisk(disk) > >> File "/usr/lib/xen/boot/domUloader.py", line 272, in setupOneDisk > >> wdisk = Wholedisk(cfg[1], physdev, loopfile) > >> File "/usr/lib/xen/boot/domUloader.py", line 100, in __init__ > >> self.pcount = self.scanpartitions() > >> File "/usr/lib/xen/boot/domUloader.py", line 127, in scanpartitions > >> self.loopsetup() > >> File "/usr/lib/xen/boot/domUloader.py", line 112, in loopsetup > >> raise RuntimeError("domUloader: Failure setting up loop dev") > >> RuntimeError: domUloader: Failure setting up loop dev > >> Error: Boot loader didn''t return any data! > >> > >> Does someone know why i can not start more than 8 vms? > >> Here is my config-file: > >> > >> disk = [ ''phy:/dev/sdc14,hda2,w'', > >> ''file:/mnt/swapspace/c14_swap.img,hda1,w'' ] > >> memory = 254 > >> vcpus = 1 > >> name = ''c14'' > >> vif = [ ''mac=00:16:3e:1b:90:14'' ] > >> localtime = 1 > >> on_poweroff = ''destroy'' > >> on_reboot = ''restart'' > >> on_crash = ''restart'' > >> extra = '' TERM=xterm'' > >> bootloader = ''/usr/lib/xen/boot/domUloader.py'' > >> bootentry = ''hda2:/boot/vmlinuz-xen,/boot/initrd-xen'' > >> > >> > >> Thank you, > >> r. jansen > >> > >> > ------------------------------------------------------------------------ > >> Besseren Schutz gegen Spam - jetzt bei dem neuen Yahoo! Mail > >> . > >> > >> > ------------------------------------------------------------------------ > >> > >> _______________________________________________ > >> 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 > > > > > > > > --------------------------------- > > BE A BETTER HEIMWERKER: Jetzt Frage stellen und einen von 44 iPods > > gewinnen! _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > ------------------------------------------------------------------------ > Was Sie schon immer wissen wollten aber nie zu Fragen trauten? Yahoo! > Clever > <http://de.rd.yahoo.com/xx/searchpromo/i/tagline/cleverfp/*http://de.answers.yahoo.com> > hilft Ihnen._______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users