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

Re: [Xen-users] working with latest -xen kernel?


  • To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
  • From: Fasiha Ashraf <feehapk@xxxxxxxxxxx>
  • Date: Fri, 16 Oct 2009 13:03:30 +0530 (IST)
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 16 Oct 2009 00:35:50 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=JrpWqauAi+dzSQifcgDuEmOFXwRoML11fBOQ5ICVNllhxGvt74croT8ETX7y7QJNq271GrXYgZRtTzTN+LYpGu0YE5tq9E/wkhA9otTNY/8JcJnD33+k+wS42++9OOD9+TNr0jN059fvp9wz3cCfyeBCWRfVwyx7D49Gmmx/VU8=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Fri, Oct 16, 2009 at 11:54 AM, Fasiha Ashraf <feehapk@xxxxxxxxxxx> wrote:
>
> Hi,
> I have noticed that you have build xen-3-4-1-dom0-kernel-2-6-30-rc6-tip-on-top-of-fedora-11. Please help in creating VMs it this case. my virt-manager and virt-install are not working. and I am following this link to create xen DomUs http://bderzhavets.wordpress.com/2009/06/10/setup-fedora-11-pv-domu-at-xen-3-4-1-dom0-kernel-2-6-30-rc6-tip-on-top-of-fedora-11/#comment-618

Did you also read his update on that post, linking to
http://bderzhavets.wordpress.com/2009/08/20/setup-libvirt-0-7-0-6-xen-3-4-1-dom0-on-to-fedora-11-64-bit/
?
Yes I did, but i have a question about it as well, Since i have compiled xen with this kernel version, Do i need to install it from rpm as well? or just i should skip that step and start installing libvirt?Also tell me should it be done from my dom0 or from the base kernel(nonexen)?

>
> this error while running #vncviewer localhost:0
>
> Copyright (C) 2002-2005 RealVNC Ltd.
> Copyright (C) 2000-2006 TightVNC Group
> Copyright (C) 2004-2009 Peter Astrand for Cendio AB
> See http://www.tigervnc.org for information on TigerVNC.
> vncviewer: unable to open display ââ

I'd start with running "xm list" and see if your domU is actually
running or not. After that, do something like
I am getting dom0 with running status
[root@Server1-FC11 xendoms]# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  7077     8     r-----     64.9
F11-G1S1                                     1   500     1     -b----      1.1
F11-G2S1                                     2   500     1     -b----      1.1

netstat -anp | egrep "(:59)(.+)(LISTEN)"
[root@Server1-FC11 xendoms]# netstat -anp | egrep "(:59)(.+)(LISTEN)"
tcp        0      0 127.0.0.1:5900              0.0.0.0:*                   LISTEN      2490/qemu-dm       
tcp        0      0 127.0.0.1:5901              0.0.0.0:*                   LISTEN      2623/qemu-dm       

to see if there's any process listening on port 5900+. If a domU was
started and it has a vnc GUI, there should be some qemu-dm process
shown there.

>
> Also i have some confusion about disk specs what i use are:
> disk = [ 'phy:/dev/loop0,xvda,w' ]
> Cause i am not using lvm. Here is my

Where does loop0 come from? If you're using disk/partition as domU
storage you can simply specify the block device (e.g. /dev/sdb,
/dev/sda4, etc.). If you're using file you can directly use tap:aio.
[root@Server1-FC11 xendoms]# fdisk -l
Disk /dev/sda: 438.4 GB, 438489317376 bytes
255 heads, 63 sectors/track, 53309 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000080

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          13      104391   83  Linux
/dev/sda2              14        2180    17406427+  82  Linux swap / Solaris
/dev/sda3            2181       42776   326087370   83  Linux
/dev/sda4           42777       53309    84606322+   5  Extended
/dev/sda5   *       42777       53309    84606291   83  Linux

>
> my disk specs are right or not? Any suggestions??

I'm guessing you specified the wrong disk and domU didn't start at all.
I am not using LVM partitions. when i specified one dom disk as /dev/sda i have nothing for next dom. In such situation is it good to use file? like u suggest.
--
Fajar

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


Yahoo! India has a new look. Take a sneak peek.
_______________________________________________
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®.