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] Error: int argument required

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Error: int argument required
From: Pesov Vlado <vpesov@xxxxxxxxxxxxxx>
Date: Tue, 12 Feb 2008 19:33:42 +0100
Delivery-date: Tue, 12 Feb 2008 10:34:19 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <BLU106-W19BBE47ABBBCCF42E7B867942B0@xxxxxxx>
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>
References: <BLU106-W19BBE47ABBBCCF42E7B867942B0@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)
Jarkko Ypäjä wrote:
Hi,

I've got XEN kernel(2.6.18-5) running nicely on my debian etch box but I've got a problem when adding a new vps client.

After running xm create /etc/xen/xen1.domain.com.cfg I get this error
Error: int argument required

My xen1.domain.com.conf is here: http://paste.servut.us/lnv

I believe that here is the problem:

root = '/dev/md1 ro'

disk = [ 'file:/vserver/domains/xen1.xxxx.com/disk.img,md1,w',
'file:/vserver/domains/xen1.xxxx.com/swap.img,md2,w' ]

First of all, try to use other devices than md1. I think more appropriate is hda, hdb, hdd, hdc,..., sda, sdb, sdd,... Or you can try to load the image disk by mda. And I don't understand why do you need to load root filesystem with 'ro' parametar? In my configurations I use hd{a..z} and it is working. Maybe you can also solve your
problem if you specify the parametar:

device_model

Regards.

Note: The disk.img and swap.img will be recognized as two separate disks, and not like a part of one disk.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

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