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] xen and fedora, FC4 T1

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] xen and fedora, FC4 T1
From: "Fernando Maior" <fernando@xxxxxxxxxxxxx>
Date: Wed, 6 Apr 2005 13:28:35 -0300 (BRST)
Delivery-date: Wed, 06 Apr 2005 16:30:09 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <4253F36E.7030800@xxxxxxxxxxxxxxxxx>
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: <4253F36E.7030800@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.2
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
>   <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
>   <title></title>
> </head>
> <body bgcolor="#ffffff" text="#000000">
> <p><font size="2">Hi</font>
> </p>
> <p><font size="2">I've just installed xen on FC4 T1. When I run</font>
> </p>
> <p><font size="2">xm create -c rawhide</font>
> </p>
> <p><font size="2">I get the following:</font>
> </p>
> <p><font size="2">Using config file "/etc/xen/rawhide".</font>
> <br>
> <font size="2">Error: Error creating domain: (12, 'Cannot allocate
> memory')</font>
> </p>
> <p><font size="2">Can anybody please help.</font>
> </p>
> <p><font size="2">Here's my config files:</font>
> </p>
> <p><font size="2">/etc/xen/rawhide:</font>
> <br>
> <font size="2">kernel ="/boot/vmlinuz-2.6.11-1.1225_FC4xenU"</font>
> <br>
> <font size="2">memory = 9</font>
> <br>
> <font size="2">name = "rawhide"</font>
> <br>
> <font size="2">nics = 1</font>
> <br>
> <font size="2">disk = ['<a
>  
> href="file:/root/fedora.img,/dev/mapper/VolGroup00-LogVol00,w%27">file:/root/fedora.img,/dev/mapper/VolGroup00-LogVol00,w'</a>]</font>
> <br>
> <font size="2">root = "/dev/mapper/VolGroup00-LogVol00 ro"</font>
> </p>
> <p><font size="2">/mnt/xen/etc/fstab:</font>
> <br>
> <font
> size="2">/dev/mapper/VolGroup00-LogVol00
> /
> </font>
> <br>
> <font size="2">ext3    defaults 1 1</font>
> <br>
> <font
> size="2">none
> /dev/pts
> devpts
> gid=5,mode=620 0 0</font>
> <br>
> <font
> size="2">none
> /dev/shm
> tmpfs
> defaults 0 0</font>
> <br>
> <font
> size="2">none
> /proc
> proc
> defaults 0 0</font>
> <br>
> <font
> size="2">none
> /sys
> sysfs
> defaults 0 0</font>
> </p>
> <p><font size="2">/etc/fstab of host server:</font>
> <br>
> <font size="2">/dev/VolGroup00/LogVol00
> /
> ext3
> defaults        </font>
> <br>
> <font size="2">1 1</font>
> <br>
> <font size="2">LABEL=/boot
> /boot
> ext3
> defaults        1 2</font>
> <br>
> <font size="2">/dev/devpts
> /dev/pts
> devpts
> gid=5,mode=620  0 0</font>
> <br>
> <font
> size="2">/dev/shm
> /dev/shm
> tmpfs
> defaults        0 0</font>
> <br>
> <font
> size="2">/dev/proc
> /proc
> proc
> defaults        0 0</font>
> <br>
> <font
> size="2">/dev/sys
> /sys
> sysfs
> defaults        0 0</font>
> <br>
> <font size="2">/dev/VolGroup00/LogVol01
> swap
> swap
> defaults        </font>
> <br>
> <font size="2">0 0</font>
> <br>
> <font
> size="2">/dev/hdc
> /media/cdrom
> auto    </font>
> <br>
> <font 
> size="2">pamconsole,exec,noauto,fscontext=system_u:object_r:removable_t,managed
> 0 0</font>
> </p>
> <p><font size="2">I'm running the following kernel:</font>
> <br>
> <font size="2">2.6.11-1.1225_FC4xen0 SMP<br>
> </font></p>
>
> total       used
> free     shared    buffers
> cached<br>
> Mem:
> 482        288
> 193
> 0
> 7
> 214<br>
> -/+ buffers/cache:
> 66        416<br>
> Swap:
> 1023          0
> 1023<br>
> <br>
> xm list<br>
> Name              Id
> Mem(MB)  CPU  State  Time(s)  Console<br>
> Domain-0
> 0      486    0  r----  63030.3<br>
> <p><font size="2">Many Thanks</font>
> <br>
> <font size="2">Shaz</font>
> </p>
> <BR><PRE>
>
>
>
> Chase de Vere Financial Solutions plc operates under the trading names of 
> Chase de Vere Private
> Clients, Chase de Vere Employee Benefits and Moneyextra.
> Chase de Vere Financial Solutions plc is an independent financial adviser and 
> is authorised and
> regulated by the Financial Services Authority.
>
> Registered Office: 1 King Street, Manchester M2 6AW.  Registered in England 
> No: 1723284  VAT No:
> 503 374571
> A wholly owned subsidiary of AWD Group plc.  AWD Group plc is a member of AWD 
> Holding AG, Europe's
> premier independent financial services group.
>
>
> ***************************************************************************
> This message is intended for the named recipient only and is confidential
> and no other person can place any reliance upon it.
>
> The recipient acknowledges that transmissions made via the Internet can be
> corrupted and therefore Chase de Vere Financial Solutions plc does not give
> any warranty as to the quality or accuracy of any information contained in
> this message or assumes any liability for it or for its transmission,
> reception or storage.
>
> This footnote also confirms that this e-mail message has been swept for the
> presence of computer viruses.
>
> Chase de Vere Financial Solutions plc is authorised and regulated by the
> Financial Services Authority and is an independent financial adviser
> ***************************************************************************
> </pre><BR></body>
> </html>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

Shaz,

Please, do not use html formatting for your messages to the list,
it is very dificult to sort out the tags and understand what you
mean. I, for sure, will not answer your email if you continue to
send it in html format.

1) I believe it is not a good idea to have the same root for both
   domain 0 and the other domains. I would recommend to have one
   pair of partitions (root+swap) for each domain but 0. I am doing
   such configuration, and it helps me get more secure that way.
   Also, you are mounting your root partition as RW both for domain
   0 and rawhide.. you will get problems when both domains start
   writing to the same partition/file.

2) For you to configure memory there is a formula:
   mem(xen)+mem(dom0)+mem(dom1)+...+mem(domN)=total amount of ram
   as for mem(xen) you need 64k,
   as for mem(dom0) you may be using 256M,
   as for mem(domN) depends on what you are using, at least 64M.

   For example, if you have 512MB ram, start the dom0 with 262144
   (256MB) and start every other domain with "memory = 64".

3) I also realize you did not create a swap space for your
   domain rawhide. Do you believe you will never swap?

-- 
Bye,
Fernando Maciel Souto Maior
fernando@xxxxxxxxxxxxx
http://www.araujo.com.br
+55+31 3270-5886
LPIC/1 # 31908

AVISO-------------------------------------------------------------
Esta mensagem pode conter informacao confidencial ou privilegiada.
Se voce nao for o destinatario ou a pessoa autorizada a receber
esta mensagem, nao pode usar, copiar ou divulgar as informacoes
nela contidas ou tomar qualquer acao baseada nessas informacoes.
Se voce recebeu esta mensagem por engano, favor avisar o remetente
imediatamente, respondendo o e-mail e em seguida apagando-o.
Obrigado pela cooperacao.

DISCLAIMER--------------------------------------------------------
This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose or take any action based
on any information herein. If you have received this message in
error, please advise the sender immediately by replying to this
e-mail and delete this message. Thank you for your cooperation.

------------------------------------------------------------------
This email was sent using SquirrelMail - http://squirrelmail.org

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

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