[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>, Fasiha Ashraf <feehapk@xxxxxxxxxxx>
  • From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
  • Date: Fri, 16 Oct 2009 11:24:22 -0700 (PDT)
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 16 Oct 2009 11:26:06 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=fnv+rb918/J/6ES0MpGPBsJNW1/WzHJKH8pp5krH0puV3XeuYZOC1KJUvmqCD2zu3Ad+wKid3ISroo/JRHyWml0wcjYeki0yQ9pkeUPQZGzwJ7cp++g9BzI1HZ6cEFahjAy4zhYqp8b2KQdDAZ0LtCheQqe59uHNVd1Qv85//7M=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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?

YES

# cd xen-3.4.1
# make uninstall
# rpm -iv xen-3.4.1-4.src.rpm
# cd rpmbuild/SPEC
# rpmbuild -ba ./xen.spec
. . . . . . . .

> or just i should skip that step and start installing libvirt?

NO

When xen 3.4.1 and tools  are installed via generated rpms proceed with libvirt install
as suggested.

>  Also tell me should it be done from my dom0 or from the base kernel(nonexen)?

From base kernel environment.

Then install pvops ( or xenified kernel) , create grub entry and reboot.
Currently , 2.6.31.4 (pvops) is running in Dom0 on top of F11 in my environment.
Random xend crashes take place, service xend start to recover.

Boris.

--- On Fri, 10/16/09, Fasiha Ashraf <feehapk@xxxxxxxxxxx> wrote:

From: Fasiha Ashraf <feehapk@xxxxxxxxxxx>
Subject: Re: [Xen-users] working with latest -xen kernel?
To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Friday, October 16, 2009, 3:33 AM

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.

-----Inline Attachment Follows-----

_______________________________________________
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®.