WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] RuntimeError: domUloader

To: Ralf Jansen <jansen_expedition@xxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] RuntimeError: domUloader
From: Marc Patino Gómez <mpatino@xxxxxxxxxxxx>
Date: Fri, 06 Jul 2007 10:42:38 +0200
Delivery-date: Fri, 06 Jul 2007 01:40:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070704222006.29813.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: CLARANET SAU
References: <20070704222006.29813.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.10 (X11/20070403)
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@xxxxxxxxxxxx/* 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@xxxxxxxxxxxxxxxxxxx
    >> http://lists.xensource.com/xen-users
    >
    >
    > _______________________________________________
    > Xen-users mailing list
    > Xen-users@xxxxxxxxxxxxxxxxxxx
    > 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@xxxxxxxxxxxxxxxxxxx
    > 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>