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: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] RuntimeError: domUloader
From: Ralf Jansen <jansen_expedition@xxxxxxxx>
Date: Wed, 4 Jul 2007 18:14:25 +0200 (CEST)
Delivery-date: Wed, 04 Jul 2007 09:12:24 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.de; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=ZuTB4UYyPPVCPY93XhLsz3hANy5FTx4p7XQ0agXRj3r79APFO6EBHPALlS6+e02VO8pukTpMBBmhwht1642fD4kIEzXCW81kHKSV2iZ4dHj2s2In40F/RAgUyzHldsmQ/S5XBwMdlHPu7A1MQPc4T/DBfEyFIeJ/kPhtymL19RE=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <468BB828.8080304@xxxxxxxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxx> 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
>
>
>
> 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
<Prev in Thread] Current Thread [Next in Thread>