[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] ramdisk option in domU config file does not work


  • To: Li Ge <lge@xxxxxxxxxx>
  • From: Boris Lenzinger <boris.lenzinger@xxxxxxxxx>
  • Date: Tue, 26 Jul 2005 11:18:05 +0200
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 26 Jul 2005 09:16:44 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:user-agent:x-accept-language:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=qRqrjVzAK4aJm0Oo/Ofk40/oS8Y+YZpnD+WWAr2cVX8KnaQkIBuBwZNFdrMxM1OlMSUy7PKuzMuL74o+7ecntoT6AlzN7XJ5FIRGnh8BInUL9qujfOcJVrjkvPh14vMPHxc/qPeHBTqDNBMUk1pz7WAnJSdfXZnEgGT13pgIvXQ=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi,

I had this problem (well I think it was the same): you do not have enough free memory to run your instance.

run:
xm info

It will tell you how much free memory you have.
First solution is to decrease the memory in the configuration to check if you can run your configuration.
If it is working (and you need more memory), decrease memory of dom0.

If still not working, what is the log file saying ? (/var/log/xend.log on a fedora distribution)

Boris

Li Ge wrote:

Hi,
I added ramdisk option in domU config file to let it load initrd when domU is booting up. I got the follow error message:

# xm create /root/vm1.cfg -c
Using config file "/root/vm1.cfg".
Error: Error creating domain: (0, 'Error')

When I commented the ramdisk option out, the problem went away and I could start domU without a problem. Here is the domU config file I used:

# Kernel image file.
kernel = "/boot/vmlinuz-2.6-xenU"

# Optional ramdisk.
#ramdisk = "/boot/initrd-2.6.12-xenU-reiserFS"
ramdisk = "/boot/initrd-2.6.12-xenU"

# Initial memory allocation (in megabytes) for the new domain.
memory = 128

# A name for your domain. All domains must have different names.
name = "vm1"

disk = [ 'phy:sda7,hda1,w' ]

# Set if you want dhcp to allocate the IP address.
#dhcp="dhcp"
# Set netmask.
#netmask=
# Set default gateway.
#gateway=
# Set the hostname.
#hostname= "vm%d" % vmid

# Set root device.
root = "/dev/hda1 ro"

# Sets runlevel 4.
extra = "4"

Could it be something I've missed? The xen version is the xen-unstable tree with latest changeset 5814.

Thanks,
Li

------------------------------------------------------------------------

_______________________________________________
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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.