Hello everyone:
I am currently install xen 3.4.2 on centOS 5.5 with linux
kernel version 2.6.18.8.
It works during the procedure make dist -j 4 and make install -j4, but
when I make the
initrd image of xen it shows the following error:
Looking for deps of module pata_marvell
No module pata_marvell found for kernel 2.6.18.8-xen, aborting.
How can I fix it?
Thanks.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Pasi Kärkkäinen
2011-Jul-14 12:22 UTC
Re: [Xen-devel] How Can I install xen 3.4.2 from source code
On Thu, Jul 14, 2011 at 08:03:18PM +0800, m00nlight wrote:> Hello everyone: > I am currently install xen 3.4.2 on centOS 5.5 with linux kernel > version 2.6.18.8. > It works during the procedure make dist -j 4 and make install -j4, but > when I make the > initrd image of xen it shows the following error: > Looking for deps of module pata_marvell > No module pata_marvell found for kernel 2.6.18.8-xen, aborting. > How can I fix it? >Try using the default kernel-xen rpm in CentOS, it includes all the newer drivers. -- Pasi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
veerasena reddy
2011-Jul-21 12:59 UTC
Re: [Xen-devel] How Can I install xen 3.4.2 from source code
Hi,
I could successfully install xen-3.4.3.4 on CENTOS-5.5 as dom0. May be it
works for you too:
1. Install centos-5.5 distribution with "customize now" option for
packages during installation. i have selected the following in addition to
default:
- development:
- gnome software development
- development libraries
- development tools
- legacy software development
- virtualization
- base system:
- legacy software development
- system tools
- admin tools
- x windows system
2. by default this installs Centos kernel 2.6.18-194.el5xen as dom0
kernel and XEN hypervisor version 3.1.2-194
3. Now download source RPM for xen version which you want to install
- http://www.gitco.de/repo/src/
- I tried
xen-3.4.3-4.el5.src.rpm<http://www.gitco.de/repo/src/xen-3.4.3-4.el5.src.rpm>
4. Setup the rpm build environment (for details refer
http://crashcourse.ca/content/working-source-rpms-under-centos)
- #mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
- #echo ''%_topdir %(echo $HOME)/rpmbuild'' >
~/.rpmmacros
- #yum install transfig tetex-latex texi2html libaio-devel iasl
xz-devel e4fsprogs-devel rpm-build redhat-rpm-config
5. install xen-<version>.src.rpm to get .spec file
- #rpm -i xen-<version>.src.rpm
- this will create xen-3.4.3.spec file under /root/rpmbuild/SPECS/
6. go to /root/rpmbuild/SPECS/ and execute following command to build the
rpm sources
- # rpmbuild -ba xen-3.4.3.spec
- this may report some missing dependencies. Please do "yum
install"
of those and do "rpmbuild" again.
7. this builds xen-<version> hypervisor and xen-tools in
/root/rpmbuild/BUILD/xen-3.4.3/
8. Go to /root/rpmbuild/BUILD/xen-3.4.3/ and install xen and tools
- [root@localhost xen-3.4.3]# make install-xen install-tools
9. Add a new grub entry (this to not to mess up the default one) with new
xen version. My grub.conf looks as follows after this step:
title CentOS (2.6.18-194.el5xen)
root (hd0,0)
kernel /xen.gz-2.6.18-194.el5
module /vmlinuz-2.6.18-194.el5xen ro root=/dev/vg_centos/lvroot rhgb
quiet
module /initrd-2.6.18-194.el5xen.img
title CentOS (2.6.18-194.el5 and xen-3.4.3)
root (hd0,0)
kernel /xen-3.4.3.gz
module /vmlinuz-2.6.18-194.el5xen ro root=/dev/vg_centos/lvroot rhgb
quiet
module /initrd-2.6.18-194.el5xen.img
Good Luck.
- VSR.
On Thu, Jul 14, 2011 at 5:33 PM, m00nlight <dot_wangyushi@yeah.net> wrote:
> Hello everyone:
> I am currently install xen 3.4.2 on centOS 5.5 with linux kernel
> version 2.6.18.8.
> It works during the procedure make dist -j 4 and make install -j4, but when
> I make the
> initrd image of xen it shows the following error:
> Looking for deps of module pata_marvell
> No module pata_marvell found for kernel 2.6.18.8-xen, aborting.
> How can I fix it?
>
> Thanks.
>
>
> ______________________________**_________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
>
http://lists.xensource.com/**xen-devel<http://lists.xensource.com/xen-devel>
>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Yufang Zhang
2011-Jul-22 03:33 UTC
Re: [Xen-devel] How Can I install xen 3.4.2 from source code
Just building and installing the xen hypervisor and tools instead of including linux-2.6.18.8-xen kernel. Domain0 kernel packaged in CentOS5/RHEL5 should work with xen-3.4 hypervisor, I guess. I could have a try and post the results later. Yufang 2011/7/14 m00nlight <dot_wangyushi@yeah.net>> Hello everyone: > I am currently install xen 3.4.2 on centOS 5.5 with linux kernel > version 2.6.18.8. > It works during the procedure make dist -j 4 and make install -j4, but when > I make the > initrd image of xen it shows the following error: > Looking for deps of module pata_marvell > No module pata_marvell found for kernel 2.6.18.8-xen, aborting. > How can I fix it? > > Thanks. > > > ______________________________**_________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/**xen-devel<http://lists.xensource.com/xen-devel> >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Possibly Parallel Threads
- no "ata" sub-folder in linux-2.6.18-xen.hg/driver
- my domU from jailtime.org using latests xen kernel freezees
- Re: (XEN) Scrubbing Free RAM........................ Reboot
- anaconda, kickstart, lvm over raid, logvol --grow, centos7 mystery
- How could I add the pata_marvell module for linux-2.6.18-xen? [ An error when creating the initial ramdist ]