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

Re: [Xen-devel] Re: [Xen-users] [HOWTO] Running Xen 4.0 host (dom0) with Redhat Enterprise Linux 6 (RHEL6)


  • To: Digimer <linux@xxxxxxxxxxx>
  • From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
  • Date: Wed, 1 Dec 2010 01:11:38 -0800 (PST)
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 01 Dec 2010 01:12:33 -0800
  • 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=jPvceq/zvMtlD+oAMdqRQXrxe08/dNrkE4MDz8pvo1TzkU7JCQ16lZJaO+X+qZItFEfMMNSur/HARmIWW/W7GdiXaMo1xtZ8V+93AKARpZTFk+TiJJHKhhvrDn6QTkIRL7fv9UH1juRs9nLk2doHPjRzp79povOiFh6wSIS7A/M=;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

-------------------------------------------
RPMS setup with no hackery
-------------------------------------------
# rpmbuild -bb -with firmware kernel.spec ( original version)

All required rpms get built .

Setting up Install Process
Examining kernel-2.6.32.26-174.xendom0.el6.x86_64.rpm: kernel-2.6.32.26-174.xendom0.el6.x86_64
Marking kernel-2.6.32.26-174.xendom0.el6.x86_64.rpm as an update to kernel-2.6.32-71.el6.x86_64
Marking kernel-2.6.32.26-174.xendom0.el6.x86_64.rpm as an update to kernel-2.6.32-71.7.1.el6.x86_64
Examining kernel-debuginfo-2.6.32.26-174.xendom0.el6.x86_64.rpm: kernel-debuginfo-2.6.32.26-174.xendom0.el6.x86_64
Marking kernel-debuginfo-2.6.32.26-174.xendom0.el6.x86_64.rpm to be installed
Examining kernel-debuginfo-common-x86_64-2.6.32.26-174.xendom0.el6.x86_64.rpm: kernel-debuginfo-common-x86_64-2.6.32.26-174.xendom0.el6.x86_64
Marking kernel-debuginfo-common-x86_64-2.6.32.26-174.xendom0.el6.x86_64.rpm to be installed
Examining kernel-devel-2.6.32.26-174.xendom0.el6.x86_64.rpm: kernel-devel-2.6.32.26-174.xendom0.el6.x86_64
Marking kernel-devel-2.6.32.26-174.xendom0.el6.x86_64.rpm as an update to kernel-devel-2.6.32-71.el6.x86_64
Marking kernel-devel-2.6.32.26-174.xendom0.el6.x86_64.rpm as an update to kernel-devel-2.6.32-71.7.1.el6.x86_64
Examining kernel-firmware-2.6.32.26-174.xendom0.el6.x86_64.rpm: kernel-firmware-2.6.32.26-174.xendom0.el6.x86_64
Marking kernel-firmware-2.6.32.26-174.xendom0.el6.x86_64.rpm to be installed
Examining kernel-headers-2.6.32.26-174.xendom0.el6.x86_64.rpm: kernel-headers-2.6.32.26-174.xendom0.el6.x86_64
Marking kernel-headers-2.6.32.26-174.xendom0.el6.x86_64.rpm as an update to kernel-headers-2.6.32-71.7.1.el6.x86_64
Resolving Dependencies
--> Running transaction check
---> Package kernel.x86_64 0:2.6.32.26-174.xendom0.el6 set to be installed
---> Package kernel-debuginfo.x86_64 0:2.6.32.26-174.xendom0.el6 set to be updated
---> Package kernel-debuginfo-common-x86_64.x86_64 0:2.6.32.26-174.xendom0.el6 set to be updated
---> Package kernel-devel.x86_64 0:2.6.32.26-174.xendom0.el6 set to be installed
---> Package kernel-firmware.x86_64 0:2.6.32.26-174.xendom0.el6 set to be updated
---> Package kernel-headers.x86_64 0:2.6.32.26-174.xendom0.el6 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================
 Package            Arch   Version                    Repository                                            Size
=================================================================================================================
Installing:
 kernel             x86_64 2.6.32.26-174.xendom0.el6  /kernel-2.6.32.26-174.xendom0.el6.x86_64              91 M
 kernel-debuginfo   x86_64 2.6.32.26-174.xendom0.el6  /kernel-debuginfo-2.6.32.26-174.xendom0.el6.x86_64   1.1 G
 kernel-debuginfo-common-x86_64
                    x86_64 2.6.32.26-174.xendom0.el6  /kernel-debuginfo-common-x86_64-2.6.32.26-174.xendom0.el6.x86_64
                                                                                                           151 M
 kernel-devel       x86_64 2.6.32.26-174.xendom0.el6  /kernel-devel-2.6.32.26-174.xendom0.el6.x86_64        22 M
 kernel-firmware    x86_64 2.6.32.26-174.xendom0.el6  /kernel-firmware-2.6.32.26-174.xendom0.el6.x86_64    2.2 M
Updating:
 kernel-headers     x86_64 2.6.32.26-174.xendom0.el6  /kernel-headers-2.6.32.26-174.xendom0.el6.x86_64     2.3 M

Transaction Summary
=================================================================================================================
Install       5 Package(s)
Upgrade       1 Package(s)

Total size: 1.4 G
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : kernel-debuginfo-common-x86_64-2.6.32.26-174.xendom0.el6.x86_64                           1/7
  Installing     : kernel-firmware-2.6.32.26-174.xendom0.el6.x86_64                                          2/7
  Installing     : kernel-debuginfo-2.6.32.26-174.xendom0.el6.x86_64                                         3/7
  Updating       : kernel-headers-2.6.32.26-174.xendom0.el6.x86_64                                           4/7
  Installing     : kernel-devel-2.6.32.26-174.xendom0.el6.x86_64                                             5/7
  Installing     : kernel-2.6.32.26-174.xendom0.el6.x86_64                                                   6/7
  Cleanup        : kernel-headers-2.6.32-71.7.1.el6.x86_64                                                   7/7

Installed:
  kernel.x86_64 0:2.6.32.26-174.xendom0.el6                                                                     
  kernel-debuginfo.x86_64 0:2.6.32.26-174.xendom0.el6                                                           
  kernel-debuginfo-common-x86_64.x86_64 0:2.6.32.26-174.xendom0.el6                                             
  kernel-devel.x86_64 0:2.6.32.26-174.xendom0.el6                                                               
  kernel-firmware.x86_64 0:2.6.32.26-174.xendom0.el6                                                            

Updated:
  kernel-headers.x86_64 0:2.6.32.26-174.xendom0.el6                                                             

Complete!


Boris.

--- On Mon, 11/29/10, Digimer <linux@xxxxxxxxxxx> wrote:

From: Digimer <linux@xxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [Xen-users] [HOWTO] Running Xen 4.0 host (dom0) with Redhat Enterprise Linux 6 (RHEL6)
To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Date: Monday, November 29, 2010, 10:50 PM

On 11/29/2010 02:40 PM, Boris Derzhavets wrote:
> Could it be considered as update for "HOWTO" ?
>
> http://bderzhavets.wordpress.com/2010/11/29/rebuild-kernel-2-6-32-26-174-xendom0-fc12-src-rpm-on-rhel-server-6/
>
> Boris.

I ran through this tonight, and I did get it working and installed, so thank you. :)

If I can make a couple suggestions?

1. Provide a downloadable patch file and and example showing how to use patch for those who might be less familiar with it.

2. After compile and install, disable the epel repo as it triggers these errors:

------------------------------------------------------------------------
[root@an-node03 x86_64]# yum update
Loaded plugins: refresh-packagekit, rhnplugin
epel                                 | 3.7 kB     00:00
epel/primary_db                      | 3.4 MB     00:07
rhel-x86_64-server-6                 | 1.8 kB     00:00
rhel-x86_64-server-6/primary         | 1.6 MB     00:03
rhel-x86_64-server-6                              3562/3562
rhel-x86_64-server-ha-6              | 1.8 kB     00:00
rhel-x86_64-server-ha-6/primary      |  13 kB     00:00
rhel-x86_64-server-ha-6                               35/35
rhel-x86_64-server-optional-6        | 1.6 kB     00:00
rhel-x86_64-server-optional-6/primary| 695 kB     00:01
rhel-x86_64-server-optional-6                     2672/2672
Setting up Update Process
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: pkgconfig(augeas) >= 0.5.0 for package: netcf-devel-0.1.6-4.el6.x86_64
---> Package augeas-devel.x86_64 0:0.7.3-1.el5 set to be updated
--> Processing Dependency: augeas-libs = 0.7.2-3.el6 for package: augeas-devel-0.7.2-3.el6.i686
---> Package augeas-libs.x86_64 0:0.7.3-1.el5 set to be updated
---> Package cvs.x86_64 0:1.11.23-11.el6_0.1 set to be updated
---> Package fontpackages-filesystem.noarch 0:1.44-1.el5.1 set to be updated
---> Package iwl6000-firmware.noarch 0:9.193.4.1-1.el5 set to be updated
---> Package libldb.x86_64 0:0.9.10-25.el5 set to be updated
---> Package libtalloc.x86_64 0:2.0.1-7.el5 set to be updated
---> Package libtdb.x86_64 0:1.2.1-4.el5 set to be updated
---> Package python-nose.noarch 0:0.11.3-2.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-nose-0.11.3-2.el5.noarch
---> Package python-paramiko.noarch 0:1.7.6-1.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-paramiko-1.7.6-1.el5.noarch
---> Package xorg-x11-drv-qxl.x86_64 0:0.0.12-2.1.el6_0.1 set to be updated
--> Running transaction check
---> Package augeas-devel.i686 0:0.7.2-3.el6 set to be updated
---> Package augeas-libs.i686 0:0.7.2-3.el6 set to be updated
--> Processing Dependency: libselinux.so.1 for package: augeas-libs-0.7.2-3.el6.i686
---> Package python-nose.noarch 0:0.11.3-2.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-nose-0.11.3-2.el5.noarch
---> Package python-paramiko.noarch 0:1.7.6-1.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-paramiko-1.7.6-1.el5.noarch
--> Running transaction check
---> Package libselinux.i686 0:2.0.94-2.el6 set to be updated
---> Package python-nose.noarch 0:0.11.3-2.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-nose-0.11.3-2.el5.noarch
---> Package python-paramiko.noarch 0:1.7.6-1.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-paramiko-1.7.6-1.el5.noarch
--> Finished Dependency Resolution
Error: Package: python-nose-0.11.3-2.el5.noarch (epel)
           Requires: python(abi) = 2.4
           Installed: python-2.6.5-3.el6.x86_64 (@Red Hat Enterprise Linux/6.0)
               python(abi) = 2.6
           Available: python26-2.6.5-5.el5.x86_64 (epel)
               python(abi) = 2.6
Error: Package: python-paramiko-1.7.6-1.el5.noarch (epel)
           Requires: python(abi) = 2.4
           Installed: python-2.6.5-3.el6.x86_64 (@Red Hat Enterprise Linux/6.0)
               python(abi) = 2.6
           Available: python26-2.6.5-5.el5.x86_64 (epel)
               python(abi) = 2.6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
------------------------------------------------------------------------

I had to change /etc/yum.repos.d/epel.repo to 'enabled=0' and then run 'yum clean all && yum update' to get yum running again.

These are small issues though, and I'd vote for a reference in Pasi's tutorial as an option against compiling from source (though I'd leave that option in place).

I would like to use this to add myoung's kernel as an option in pxdi, if that is ok with you.

-- Digimer
E-Mail: digimer@xxxxxxxxxxx
AN!Whitepapers: http://alteeve.com
Node Assassin:  http://nodeassassin.org

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

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

 


Rackspace

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