Daniel Kao
2008-Jul-17 22:16 UTC
[Xen-users] More CentOS 5.2 & Xen 3.2.1 Compiling Questions!
Hi All, So I have a Intel DQ35JO board, CentOS5.2 x86_64 and I''ve tried to update Xen 3.1.2 to Xen 3.2.1 by using the method listed here: http://wiki.xensource.com/xenwiki/VTdHowTo Unfortunately, (other than the fact that xen-unstable.hg now points to 3.3 so I used xen-3.2-testing.hg), the kernel from the mercurial repository of 2.6.18 is missing some modules that CentOS 5.2 has for the Intel DQ35JO. I can boot fine after compile & installation of the new kernel, but I''m missing modules that linux-2.6.18-xen.hg doesn''t have which CentOS 5.2 kernels do have. They are: 1. The pata_marvell module for the ATA ports. 2. The e1000e module (not the e1000). 3. The video driver for the Intel Q35 IGP. I''m currently running kernel 2.6.18-92.1.6.el5xen and grabbed the SRPMS for it. (http://mirror.centos.org/centos/5.2/updates/SRPMS/kernel-2.6.18-92.1.6.el5.src.rpm) After unpacking it, the directory structure looks like this in the BUILD folder: kernel-2.6.18/config kernel-2.6.18/linux-2.6.18.x86_64 kernel-2.6.18/vanilla kernel-2.6.18/xen I''ve grabbed xen-3.2.1.tar.gz and I''m trying to follow directions from the following thread: http://xen.markmail.org/message/mlo7cw7ydaj4gn6v But I''m not sure how to properly make the TARBALL of CentOS''s Xenified kernel to feed to during the 3.2.1 compile (and the methods and hacks to use your own kernel source vs. Xen''s), *and* enable the PCI-Device Backend Driver for Intel VT-d support. I think once I get past that point, I''d be able to continue from all of the rest of the documentation. If I''m successful, I''d be more than happy to create RPM''s for CentOS 5.2 x86_64 for Xen 3.2.1 with VT-d support turned on in the kernel. Thanks in advance! -- Daniel Kao Übermind, Inc. Seattle, WA, U.S.A. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ross S. W. Walker
2008-Jul-17 22:27 UTC
RE: [Xen-users] More CentOS 5.2 & Xen 3.2.1 Compiling Questions!
Daniel Kao wrote:> Hi All, > > So I have a Intel DQ35JO board, CentOS5.2 x86_64 and I''ve > tried to update Xen 3.1.2 to Xen 3.2.1 by using the method > listed here: > > http://wiki.xensource.com/xenwiki/VTdHowTo > > Unfortunately, (other than the fact that xen-unstable.hg now > points to 3.3 so I used xen-3.2-testing.hg), the kernel from > the mercurial repository of 2.6.18 is missing some modules > that CentOS 5.2 has for the Intel DQ35JO. I can boot fine > after compile & installation of the new kernel, but I''m > missing modules that linux-2.6.18-xen.hg doesn''t have which > CentOS 5.2 kernels do have. They are: > > 1. The pata_marvell module for the ATA ports. > 2. The e1000e module (not the e1000). > 3. The video driver for the Intel Q35 IGP. > > I''m currently running kernel 2.6.18-92.1.6.el5xen and grabbed > the SRPMS for it. > (http://mirror.centos.org/centos/5.2/updates/SRPMS/kernel-2.6. > 18-92.1.6.el5.src.rpm) > > After unpacking it, the directory structure looks like this > in the BUILD folder: > > kernel-2.6.18/config > kernel-2.6.18/linux-2.6.18.x86_64 > kernel-2.6.18/vanilla > kernel-2.6.18/xen > > I''ve grabbed xen-3.2.1.tar.gz and I''m trying to follow > directions from the following thread: > > http://xen.markmail.org/message/mlo7cw7ydaj4gn6v > > But I''m not sure how to properly make the TARBALL of CentOS''s > Xenified kernel to feed to during the 3.2.1 compile (and the > methods and hacks to use your own kernel source vs. Xen''s), > *and* enable the PCI-Device Backend Driver for Intel VT-d > support. I think once I get past that point, I''d be able to > continue from all of the rest of the documentation. If I''m > successful, I''d be more than happy to create RPM''s for CentOS > 5.2 x86_64 for Xen 3.2.1 with VT-d support turned on in the kernel.Don''t use the xen kernel from xen.org just the hypervisor. Download the 3.2 SRPM from xen.org, download the 3.2.1 tarball, put the 3.2.1 tarball into the SOURCES directory, edit the 3.2 spec file and change the version to 3.2.1 then do an rpmbuild of the spec. This will produce RPMs that you can then substitute the CentOS ones with and it won''t compile the kernel just the hypervisor, continue to use the CentOS supplied xen kernels with the new hypervisor. -Ross ______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Daniel Kao
2008-Jul-17 23:33 UTC
Re: [Xen-users] More CentOS 5.2 & Xen 3.2.1 Compiling Questions!
Hi Ross, Thank you very much for the reply. It makes sense! So let me break down the instructions: 1. rpm -i http://bits.xensource.com/oss-xen/release/3.2.0/centos-5.1/xen-3.2.0-0xs.centos5.src.rpm 2> /dev/null 2. cd /usr/src/redhat/SOURCES ; wget http://bits.xensource.com/oss-xen/release/3.2.1/xen-3.2.1.tar.gz 3. vi ../SPECS/xen.spec i. Change "Version: 3.2.0" to "Version 3.2.1" ii. Change "Source0: xen-3.2.0.tar.gz" to "Source0: xen-3.2.1.tar.gz" iii. Uncomment "# /usr/lib/xen/boot/hvmloader" to "/usr/lib/xen/boot/hvmloader". (noted from previous threads to avoid rpmbuild error of unpackaged file) 4. yum -y install transfig texi2html tetex-latex gtk2-devel libaio-devel gnutls-devel (dependencies needed for rpmbuild of xen.spec in CentOS) 5. cd /usr/src/redhat/SPECS ; rpmbuild -ba ./xen.spec 6. Grab some coffee... ... and come back to this: Wrote: /usr/src/redhat/SRPMS/xen-3.2.1-0xs.src.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-3.2.1-0xs.x86_64.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-libs-3.2.1-0xs.x86_64.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-devel-3.2.1-0xs.x86_64.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-debuginfo-3.2.1-0xs.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xxxxxx + umask 022 + cd /usr/src/redhat/BUILD + cd xen-3.2.1 + rm -rf /var/tmp/xen-3.2.1-0xs-root + exit 0 7. vi /etc/yum.conf and temporarily set "gpgcheck=0" to "gpgcheck=1" since RPMs aren''t signed. 8. cd /usr/src/redhat/RPMS/x86_64 ; yum -y install xen-3.2.1-0xs.x86_64.rpm xen-libs-3.2.1-0xs.x86_64.rpm xen-devel-3.2.1-0xs.x86_64.rpm 9. vi /etc/yum.conf and set gpgcheck back to "gpgcheck=1". Reboot. xend won''t start now with the following in /var/log/xen/xend.log [2008-07-17 16:30:23 7029] INFO (SrvDaemon:226) Xend stopped due to signal 15. [2008-07-17 16:30:23 7870] INFO (SrvDaemon:331) Xend Daemon started [2008-07-17 16:30:23 7870] INFO (SrvDaemon:335) Xend changeset: unavailable. [2008-07-17 16:30:23 7870] INFO (SrvDaemon:342) Xend version: Unknown. [2008-07-17 16:30:23 7870] ERROR (SrvDaemon:353) Exception starting xend ((13, ''Permission denied'')) Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line 345, in run servers = SrvServer.create() File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvServer.py", line 251, in create root.putChild(''xend'', SrvRoot()) File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvRoot.py", line 40, in __init__ self.get(name) File "/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", line 82, in get val = val.getobj() File "/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", line 52, in getobj self.obj = klassobj() File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvNode.py", line 30, in __init__ self.xn = XendNode.instance() File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 709, in instance inst = XendNode() File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 83, in __init__ self.other_config["xen_pagesize"] self.xeninfo_dict()["xen_pagesize"] File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 673, in xeninfo_dict return dict(self.xeninfo()) File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 617, in xeninfo info[''xen_scheduler''] = self.xenschedinfo() File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 607, in xenschedinfo sched_id = self.xc.sched_id_get() Error: (13, ''Permission denied'') I did a quick peek in /usr/lib64/python2.4/site-packages/xen and all the Python tools looks to be correct with 3.2.1. Any ideas? -- Daniel Kao Übermind, Inc. Seattle, WA, U.S.A. Ross S. W. Walker wrote: Don''t use the xen kernel from xen.org just the hypervisor. Download the 3.2 SRPM from xen.org, download the 3.2.1 tarball, put the 3.2.1 tarball into the SOURCES directory, edit the 3.2 spec file and change the version to 3.2.1 then do an rpmbuild of the spec. This will produce RPMs that you can then substitute the CentOS ones with and it won''t compile the kernel just the hypervisor, continue to use the CentOS supplied xen kernels with the new hypervisor. -Ross _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
zen
2008-Jul-18 01:51 UTC
Re: [Xen-users] More CentOS 5.2 & Xen 3.2.1 Compiling Questions!
Maybe you can try the packages released at www.halsign.com. On 7/18/08, Daniel Kao <dkao@ubermind.com> wrote:> > Hi Ross, > > Thank you very much for the reply. It makes sense! So let me break down > the instructions: > > 1. rpm -i > http://bits.xensource.com/oss-xen/release/3.2.0/centos-5.1/xen-3.2.0-0xs.centos5.src.rpm2> /dev/null > 2. cd /usr/src/redhat/SOURCES ; wget > http://bits.xensource.com/oss-xen/release/3.2.1/xen-3.2.1.tar.gz > 3. vi ../SPECS/xen.spec > i. Change "Version: 3.2.0" to "Version 3.2.1" > ii. Change "Source0: xen-3.2.0.tar.gz" to "Source0: xen-3.2.1.tar.gz" > iii. Uncomment "# /usr/lib/xen/boot/hvmloader" to " > /usr/lib/xen/boot/hvmloader". (noted from previous threads to avoid > rpmbuild error of unpackaged file) > 4. yum -y install transfig texi2html tetex-latex gtk2-devel libaio-devel > gnutls-devel (dependencies needed for rpmbuild of xen.spec in CentOS) > 5. cd /usr/src/redhat/SPECS ; rpmbuild -ba ./xen.spec > 6. Grab some coffee... > > ... and come back to this: > > Wrote: /usr/src/redhat/SRPMS/xen-3.2.1-0xs.src.rpm > Wrote: /usr/src/redhat/RPMS/x86_64/xen-3.2.1-0xs.x86_64.rpm > Wrote: /usr/src/redhat/RPMS/x86_64/xen-libs-3.2.1-0xs.x86_64.rpm > Wrote: /usr/src/redhat/RPMS/x86_64/xen-devel-3.2.1-0xs.x86_64.rpm > Wrote: /usr/src/redhat/RPMS/x86_64/xen-debuginfo-3.2.1-0xs.x86_64.rpm > Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xxxxxx > + umask 022 > + cd /usr/src/redhat/BUILD > + cd xen-3.2.1 > + rm -rf /var/tmp/xen-3.2.1-0xs-root > + exit 0 > > 7. vi /etc/yum.conf and temporarily set "gpgcheck=0" to "gpgcheck=1" since > RPMs aren''t signed. > 8. cd /usr/src/redhat/RPMS/x86_64 ; yum -y install > xen-3.2.1-0xs.x86_64.rpm xen-libs-3.2.1-0xs.x86_64.rpm > xen-devel-3.2.1-0xs.x86_64.rpm > 9. vi /etc/yum.conf and set gpgcheck back to "gpgcheck=1". > > Reboot. > > xend won''t start now with the following in /var/log/xen/xend.log > > [2008-07-17 16:30:23 7029] INFO (SrvDaemon:226) Xend stopped due to signal > 15. > [2008-07-17 16:30:23 7870] INFO (SrvDaemon:331) Xend Daemon started > [2008-07-17 16:30:23 7870] INFO (SrvDaemon:335) Xend changeset: > unavailable. > [2008-07-17 16:30:23 7870] INFO (SrvDaemon:342) Xend version: Unknown. > [2008-07-17 16:30:23 7870] ERROR (SrvDaemon:353) Exception starting xend > ((13, ''Permission denied'')) > Traceback (most recent call last): > File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDaemon.py", > line 345, in run > servers = SrvServer.create() > File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvServer.py", > line 251, in create > root.putChild(''xend'', SrvRoot()) > File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvRoot.py", > line 40, in __init__ > self.get(name) > File "/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", line 82, in > get > val = val.getobj() > File "/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", line 52, in > getobj > self.obj = klassobj() > File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvNode.py", > line 30, in __init__ > self.xn = XendNode.instance() > File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 709, > in instance > inst = XendNode() > File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 83, > in __init__ > self.other_config["xen_pagesize"] = self.xeninfo_dict()["xen_pagesize"] > File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 673, > in xeninfo_dict > return dict(self.xeninfo()) > File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 617, > in xeninfo > info[''xen_scheduler''] = self.xenschedinfo() > File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 607, > in xenschedinfo > sched_id = self.xc.sched_id_get() > Error: (13, ''Permission denied'') > > I did a quick peek in /usr/lib64/python2.4/site-packages/xen and all the > Python tools looks to be correct with 3.2.1. > > Any ideas? > > -- > Daniel Kao > Übermind, Inc. > Seattle, WA, U.S.A. > > > Ross S. W. Walker wrote: > > Don''t use the xen kernel from xen.org just the hypervisor. > > Download the 3.2 SRPM from xen.org, download the 3.2.1 tarball, > put the 3.2.1 tarball into the SOURCES directory, edit the > 3.2 spec file and change the version to 3.2.1 then do an > rpmbuild of the spec. > > This will produce RPMs that you can then substitute the CentOS > ones with and it won''t compile the kernel just the hypervisor, > continue to use the CentOS supplied xen kernels with the > new hypervisor. > > -Ross > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ross S. W. Walker
2008-Jul-19 15:22 UTC
RE: [Xen-users] More CentOS 5.2 & Xen 3.2.1 Compiling Questions!
Daniel Kao wrote:> Hi Ross, > > Thank you very much for the reply. It makes sense! So let > me break down the instructions: > > 1. rpm -i > http://bits.xensource.com/oss-xen/release/3.2.0/centos-5.1/xen-3.2.0-0xs.centos5.src.rpm 2> /dev/null> 2. cd /usr/src/redhat/SOURCES ; wget > http://bits.xensource.com/oss-xen/release/3.2.1/xen-3.2.1.tar.gz > 3. vi ../SPECS/xen.spec > i. Change "Version: 3.2.0" to "Version 3.2.1" > ii. Change "Source0: xen-3.2.0.tar.gz" to "Source0: xen-3.2.1.tar.gz" > iii. Uncomment "# /usr/lib/xen/boot/hvmloader" to > "/usr/lib/xen/boot/hvmloader". (noted from previous threads > to avoid rpmbuild error of unpackaged file) > 4. yum -y install transfig texi2html tetex-latex gtk2-devel > libaio-devel gnutls-devel (dependencies needed for rpmbuild > of xen.spec in CentOS) > 5. cd /usr/src/redhat/SPECS ; rpmbuild -ba ./xen.spec > 6. Grab some coffee... > > ... and come back to this: > > Wrote: /usr/src/redhat/SRPMS/xen-3.2.1-0xs.src.rpm > Wrote: /usr/src/redhat/RPMS/x86_64/xen-3.2.1-0xs.x86_64.rpm > Wrote: /usr/src/redhat/RPMS/x86_64/xen-libs-3.2.1-0xs.x86_64.rpm > Wrote: /usr/src/redhat/RPMS/x86_64/xen-devel-3.2.1-0xs.x86_64.rpm > Wrote: /usr/src/redhat/RPMS/x86_64/xen-debuginfo-3.2.1-0xs.x86_64.rpm > Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xxxxxx > + umask 022 > + cd /usr/src/redhat/BUILD > + cd xen-3.2.1 > + rm -rf /var/tmp/xen-3.2.1-0xs-root > + exit 0 > > 7. vi /etc/yum.conf and temporarily set "gpgcheck=0" to > "gpgcheck=1" since RPMs aren''t signed. > 8. cd /usr/src/redhat/RPMS/x86_64 ; yum -y install > xen-3.2.1-0xs.x86_64.rpm xen-libs-3.2.1-0xs.x86_64.rpm > xen-devel-3.2.1-0xs.x86_64.rpm > 9. vi /etc/yum.conf and set gpgcheck back to "gpgcheck=1". > > Reboot. > > xend won''t start now with the following in /var/log/xen/xend.log > > [2008-07-17 16:30:23 7029] INFO (SrvDaemon:226) Xend stopped > due to signal 15. > [2008-07-17 16:30:23 7870] INFO (SrvDaemon:331) Xend Daemon started > [2008-07-17 16:30:23 7870] INFO (SrvDaemon:335) Xend > changeset: unavailable. > [2008-07-17 16:30:23 7870] INFO (SrvDaemon:342) Xend version: Unknown. > [2008-07-17 16:30:23 7870] ERROR (SrvDaemon:353) Exception > starting xend ((13, ''Permission denied'')) > Traceback (most recent call last): > File > "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line 345, in run> servers = SrvServer.create() > File > "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvServer.py", line 251, in create> root.putChild(''xend'', SrvRoot()) > File > "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvRoot.py", line 40, in __init__> self.get(name) > File > "/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", line > 82, in get > val = val.getobj() > File > "/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", line > 52, in getobj > self.obj = klassobj() > File > "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvNode.py", line 30, in __init__> self.xn = XendNode.instance() > File > "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", > line 709, in instance > inst = XendNode() > File > "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", > line 83, in __init__ > self.other_config["xen_pagesize"] = > self.xeninfo_dict()["xen_pagesize"] > File > "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", > line 673, in xeninfo_dict > return dict(self.xeninfo()) > File > "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", > line 617, in xeninfo > info[''xen_scheduler''] = self.xenschedinfo() > File > "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", > line 607, in xenschedinfo > sched_id = self.xc.sched_id_get() > Error: (13, ''Permission denied'') > > I did a quick peek in /usr/lib64/python2.4/site-packages/xen > and all the Python tools looks to be correct with 3.2.1. > > Any ideas?Yes, almost perfect setup, except, need to edit /boot/grub/grub.conf and switch all /boot/xen-3.1... references to /boot/xen-3.2... the errors you saw are what happens when the newer libraries try to access the older hypervisor. -Ross ______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Daniel Kao
2008-Jul-21 21:57 UTC
Re: [Xen-users] More CentOS 5.2 & Xen 3.2.1 Compiling Questions!
Hi Ross, Bingo. I skipped one of the most important parts! ;) I keep forgetting that grub.conf isn''t automagically updated (which is a GOOD thing). Changed over to the proper one and Xen 3.2.1 is running beautifully in CentOS 5.2 x86_64. I enabled vtd=1 and have successfully done a PCI passthrough (pciback) to a HVM domU (Windows XP) for a video capture card device which is on the PCI Express bus. Thank you VERY much, Ross! Cheers, Daniel P.S. So the full instructions are for getting Xen 3.2.1 installed onto a fresh copy of CentOS 5.2 (without existing Xen packages): 1. rpm -i http://bits.xensource.com/oss-xen/release/3.2.0/centos-5.1/xen-3.2.0-0xs.centos5.src.rpm 2> /dev/null 2. cd /usr/src/redhat/SOURCES ; wget http://bits.xensource.com/oss-xen/release/3.2.1/xen-3.2.1.tar.gz 3. vi ../SPECS/xen.spec i. Change "Version: 3.2.0" to "Version 3.2.1" ii. Change "Source0: xen-3.2.0.tar.gz" to "Source0: xen-3.2.1.tar.gz" iii. Uncomment "# /usr/lib/xen/boot/hvmloader" to "/usr/lib/xen/boot/hvmloader". (noted from previous threads to avoid rpmbuild error of unpackaged file) 4. yum -y install transfig texi2html tetex-latex gtk2-devel libaio-devel gnutls-devel (dependencies needed for rpmbuild of xen.spec in CentOS) 5. cd /usr/src/redhat/SPECS ; rpmbuild -ba ./xen.spec 6. Grab some coffee... ... and come back to this: Wrote: /usr/src/redhat/SRPMS/xen-3.2.1-0xs.src.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-3.2.1-0xs.x86_64.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-libs-3.2.1-0xs.x86_64.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-devel-3.2.1-0xs.x86_64.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-debuginfo-3.2.1-0xs.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xxxxxx + umask 022 + cd /usr/src/redhat/BUILD + cd xen-3.2.1 + rm -rf /var/tmp/xen-3.2.1-0xs-root + exit 0 7. vi /etc/yum.conf and temporarily set "gpgcheck=0" to "gpgcheck=1" since RPMs aren''t signed. 8. cd /usr/src/redhat/RPMS/x86_64 ; yum -y install xen-3.2.1-0xs.x86_64.rpm xen-libs-3.2.1-0xs.x86_64.rpm xen-devel-3.2.1-0xs.x86_64.rpm 9. vi /etc/yum.conf and set gpgcheck back to "gpgcheck=1". 10. vi /etc/grub.conf and change the "kernel" line to "kernel /xen.gz-3.2" or "kernel /xen.gz-3.2 vtd=1" or "kernel /xen.gz-3.2 vtd=1 msi_irq_enable=1" (one of the three depending if you want Intel VT-d and/or MSI/MSI-X enabled for capable systems) and make sure "default=" is pointed to the correct title. **Note: Double-check /boot/xen.gz-3.2 exists on your system! 11. Reboot. Check Xen (xm dmesg) and see if you''re golden. 12. Using yum, install virt-manager and/or virt-viewer to get all the CLI/GUI utilities! Cheers, Daniel Ross S. W. Walker wrote: Daniel Kao wrote: Hi Ross, Thank you very much for the reply. It makes sense! So let me break down the instructions: 1. rpm -i http://bits.xensource.com/oss-xen/release/3.2.0/centos-5.1/xen 2. cd /usr/src/redhat/SOURCES ; wget http://bits.xensource.com/oss-xen/release/3.2.1/xen-3.2.1.tar.gz 3. vi ../SPECS/xen.spec i. Change "Version: 3.2.0" to "Version 3.2.1" ii. Change "Source0: xen-3.2.0.tar.gz" to "Source0: xen-3.2.1.tar.gz" iii. Uncomment "# /usr/lib/xen/boot/hvmloader" to "/usr/lib/xen/boot/hvmloader". (noted from previous threads to avoid rpmbuild error of unpackaged file) 4. yum -y install transfig texi2html tetex-latex gtk2-devel libaio-devel gnutls-devel (dependencies needed for rpmbuild of xen.spec in CentOS) 5. cd /usr/src/redhat/SPECS ; rpmbuild -ba ./xen.spec 6. Grab some coffee... ... and come back to this: Wrote: /usr/src/redhat/SRPMS/xen-3.2.1-0xs.src.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-3.2.1-0xs.x86_64.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-libs-3.2.1-0xs.x86_64.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-devel-3.2.1-0xs.x86_64.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-debuginfo-3.2.1-0xs.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xxxxxx + umask 022 + cd /usr/src/redhat/BUILD + cd xen-3.2.1 + rm -rf /var/tmp/xen-3.2.1-0xs-root + exit 0 7. vi /etc/yum.conf and temporarily set "gpgcheck=0" to "gpgcheck=1" since RPMs aren''t signed. 8. cd /usr/src/redhat/RPMS/x86_64 ; yum -y install xen-3.2.1-0xs.x86_64.rpm xen-libs-3.2.1-0xs.x86_64.rpm xen-devel-3.2.1-0xs.x86_64.rpm 9. vi /etc/yum.conf and set gpgcheck back to "gpgcheck=1". Reboot. xend won''t start now with the following in /var/log/xen/xend.log [2008-07-17 16:30:23 7029] INFO (SrvDaemon:226) Xend stopped due to signal 15. [2008-07-17 16:30:23 7870] INFO (SrvDaemon:331) Xend Daemon started [2008-07-17 16:30:23 7870] INFO (SrvDaemon:335) Xend changeset: unavailable. [2008-07-17 16:30:23 7870] INFO (SrvDaemon:342) Xend version: Unknown. [2008-07-17 16:30:23 7870] ERROR (SrvDaemon:353) Exception starting xend ((13, ''Permission denied'')) Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDaemon. servers = SrvServer.create() File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvServer. root.putChild(''xend'', SrvRoot()) File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvRoot.py self.get(name) File "/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", line 82, in get val = val.getobj() File "/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", line 52, in getobj self.obj = klassobj() File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvNode.py self.xn = XendNode.instance() File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 709, in instance inst = XendNode() File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 83, in __init__ self.other_config["xen_pagesize"] = self.xeninfo_dict()["xen_pagesize"] File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 673, in xeninfo_dict return dict(self.xeninfo()) File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 617, in xeninfo info[''xen_scheduler''] = self.xenschedinfo() File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 607, in xenschedinfo sched_id = self.xc.sched_id_get() Error: (13, ''Permission denied'') I did a quick peek in /usr/lib64/python2.4/site-packages/xen and all the Python tools looks to be correct with 3.2.1. Any ideas? Yes, almost perfect setup, except, need to edit /boot/grub/grub.conf and switch all /boot/xen-3.1... references to /boot/xen-3.2... the errors you saw are what happens when the newer libraries try to access the older hypervisor. -Ross ______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof. -- Daniel Kao Übermind, Inc. Seattle, WA, U.S.A. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Robert Dunkley
2008-Jul-28 10:28 UTC
RE: [Xen-users] More CentOS 5.2 & Xen 3.2.1 Compiling Questions!
Hi Everyone, I need Xen 3.2+ and have been following this thread. I already have Infiniband bits and pieces added to the kernel and hence it seems I cannot use the RPMs. Lots of error like this appear during the RPM install (If anyone know how I can get away with using the RPMs then please let me know): WARNING: /lib/modules/2.6.18-92.1.6.el5xen/updates/kernel/drivers/infiniband/ulp/srpt/ib_srpt.ko needs unknown symbol scst_unregister_session WARNING: /lib/modules/2.6.18-92.1.6.el5xen/updates/kernel/drivers/infiniband/ulp/srpt/ib_srpt.ko needs unknown symbol scst_rx_data Am I best off reinstalling Centos without the virtualization option? (Current install has Server and Virtualization options). Also it seems I might be better off using Centos 5.1 because my Raid utilities wont work with 5.2. Is the following a sensible install process?: Install Centos 5.1 with only Server option and 5.1 Raid Driver Install Raid utilities Yum Update Kernel and Install Kernel-Devel Follow instructions below Install Infiniband OFED tools to new Xen Kernel Compile Kernel Again Install DRBD and other apps I need. Thanks, Rob From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Daniel Kao Sent: 21 July 2008 22:58 To: Xen-user List Subject: Re: [Xen-users] More CentOS 5.2 & Xen 3.2.1 Compiling Questions! Hi Ross, Bingo. I skipped one of the most important parts! ;) I keep forgetting that grub.conf isn''t automagically updated (which is a GOOD thing). Changed over to the proper one and Xen 3.2.1 is running beautifully in CentOS 5.2 x86_64. I enabled vtd=1 and have successfully done a PCI passthrough (pciback) to a HVM domU (Windows XP) for a video capture card device which is on the PCI Express bus. Thank you VERY much, Ross! Cheers, Daniel P.S. So the full instructions are for getting Xen 3.2.1 installed onto a fresh copy of CentOS 5.2 (without existing Xen packages): 1. rpm -i http://bits.xensource.com/oss-xen/release/3.2.0/centos-5.1/xen-3.2.0-0xs.centos5.src.rpm 2> /dev/null 2. cd /usr/src/redhat/SOURCES ; wget http://bits.xensource.com/oss-xen/release/3.2.1/xen-3.2.1.tar.gz 3. vi ../SPECS/xen.spec i. Change "Version: 3.2.0" to "Version 3.2.1" ii. Change "Source0: xen-3.2.0.tar.gz" to "Source0: xen-3.2.1.tar.gz" iii. Uncomment "# /usr/lib/xen/boot/hvmloader" to "/usr/lib/xen/boot/hvmloader". (noted from previous threads to avoid rpmbuild error of unpackaged file) 4. yum -y install transfig texi2html tetex-latex gtk2-devel libaio-devel gnutls-devel (dependencies needed for rpmbuild of xen.spec in CentOS) 5. cd /usr/src/redhat/SPECS ; rpmbuild -ba ./xen.spec 6. Grab some coffee... ... and come back to this: Wrote: /usr/src/redhat/SRPMS/xen-3.2.1-0xs.src.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-3.2.1-0xs.x86_64.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-libs-3.2.1-0xs.x86_64.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-devel-3.2.1-0xs.x86_64.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-debuginfo-3.2.1-0xs.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xxxxxx + umask 022 + cd /usr/src/redhat/BUILD + cd xen-3.2.1 + rm -rf /var/tmp/xen-3.2.1-0xs-root + exit 0 7. vi /etc/yum.conf and temporarily set "gpgcheck=0" to "gpgcheck=1" since RPMs aren''t signed. 8. cd /usr/src/redhat/RPMS/x86_64 ; yum -y install xen-3.2.1-0xs.x86_64.rpm xen-libs-3.2.1-0xs.x86_64.rpm xen-devel-3.2.1-0xs.x86_64.rpm 9. vi /etc/yum.conf and set gpgcheck back to "gpgcheck=1". 10. vi /etc/grub.conf and change the "kernel" line to "kernel /xen.gz-3.2" or "kernel /xen.gz-3.2 vtd=1" or "kernel /xen.gz-3.2 vtd=1 msi_irq_enable=1" (one of the three depending if you want Intel VT-d and/or MSI/MSI-X enabled for capable systems) and make sure "default=" is pointed to the correct title. **Note: Double-check /boot/xen.gz-3.2 exists on your system! 11. Reboot. Check Xen (xm dmesg) and see if you''re golden. 12. Using yum, install virt-manager and/or virt-viewer to get all the CLI/GUI utilities! Cheers, Daniel Ross S. W. Walker wrote: Daniel Kao wrote: Hi Ross, Thank you very much for the reply. It makes sense! So let me break down the instructions: 1. rpm -i http://bits.xensource.com/oss-xen/release/3.2.0/centos-5.1/xen -3.2.0-0xs.centos5.src.rpm 2> /dev/null 2. cd /usr/src/redhat/SOURCES ; wget http://bits.xensource.com/oss-xen/release/3.2.1/xen-3.2.1.tar.gz 3. vi ../SPECS/xen.spec i. Change "Version: 3.2.0" to "Version 3.2.1" ii. Change "Source0: xen-3.2.0.tar.gz" to "Source0: xen-3.2.1.tar.gz" iii. Uncomment "# /usr/lib/xen/boot/hvmloader" to "/usr/lib/xen/boot/hvmloader". (noted from previous threads to avoid rpmbuild error of unpackaged file) 4. yum -y install transfig texi2html tetex-latex gtk2-devel libaio-devel gnutls-devel (dependencies needed for rpmbuild of xen.spec in CentOS) 5. cd /usr/src/redhat/SPECS ; rpmbuild -ba ./xen.spec 6. Grab some coffee... ... and come back to this: Wrote: /usr/src/redhat/SRPMS/xen-3.2.1-0xs.src.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-3.2.1-0xs.x86_64.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-libs-3.2.1-0xs.x86_64.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-devel-3.2.1-0xs.x86_64.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-debuginfo-3.2.1-0xs.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xxxxxx + umask 022 + cd /usr/src/redhat/BUILD + cd xen-3.2.1 + rm -rf /var/tmp/xen-3.2.1-0xs-root + exit 0 7. vi /etc/yum.conf and temporarily set "gpgcheck=0" to "gpgcheck=1" since RPMs aren''t signed. 8. cd /usr/src/redhat/RPMS/x86_64 ; yum -y install xen-3.2.1-0xs.x86_64.rpm xen-libs-3.2.1-0xs.x86_64.rpm xen-devel-3.2.1-0xs.x86_64.rpm 9. vi /etc/yum.conf and set gpgcheck back to "gpgcheck=1". Reboot. xend won''t start now with the following in /var/log/xen/xend.log [2008-07-17 16:30:23 7029] INFO (SrvDaemon:226) Xend stopped due to signal 15. [2008-07-17 16:30:23 7870] INFO (SrvDaemon:331) Xend Daemon started [2008-07-17 16:30:23 7870] INFO (SrvDaemon:335) Xend changeset: unavailable. [2008-07-17 16:30:23 7870] INFO (SrvDaemon:342) Xend version: Unknown. [2008-07-17 16:30:23 7870] ERROR (SrvDaemon:353) Exception starting xend ((13, ''Permission denied'')) Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDaemon. py", line 345, in run servers = SrvServer.create() File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvServer. py", line 251, in create root.putChild(''xend'', SrvRoot()) File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvRoot.py ", line 40, in __init__ self.get(name) File "/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", line 82, in get val = val.getobj() File "/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", line 52, in getobj self.obj = klassobj() File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvNode.py ", line 30, in __init__ self.xn = XendNode.instance() File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 709, in instance inst = XendNode() File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 83, in __init__ self.other_config["xen_pagesize"] = self.xeninfo_dict()["xen_pagesize"] File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 673, in xeninfo_dict return dict(self.xeninfo()) File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 617, in xeninfo info[''xen_scheduler''] = self.xenschedinfo() File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 607, in xenschedinfo sched_id = self.xc.sched_id_get() Error: (13, ''Permission denied'') I did a quick peek in /usr/lib64/python2.4/site-packages/xen and all the Python tools looks to be correct with 3.2.1. Any ideas? Yes, almost perfect setup, except, need to edit /boot/grub/grub.conf and switch all /boot/xen-3.1... references to /boot/xen-3.2... the errors you saw are what happens when the newer libraries try to access the older hypervisor. -Ross ______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof. -- Daniel Kao Übermind, Inc. Seattle, WA, U.S.A. The SAQ Group Registered Office: 18 Chapel Street, Petersfield, Hampshire. GU32 3DZ SEMTEC Limited trading as SAQ is Registered in England & Wales Company Number: 06481952 http://www.saqnet.co.uk AS29219 SAQ Group Delivers high quality, honestly priced communication and I.T. services to UK Business. DSL : Domains : Email : Hosting : CoLo : Servers : Racks : Transit : Backups : Managed Networks : Remote Support. Find us in http://www.thebestof.co.uk/petersfield _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Devdutt Patnaik
2008-Jul-28 21:19 UTC
Re: [Xen-users] More CentOS 5.2 & Xen 3.2.1 Compiling Questions!
Installing centos 5.1 without virtualization and then installing xen from source is a good option. -Devdutt On Mon, Jul 28, 2008 at 6:28 AM, Robert Dunkley <Robert@saq.co.uk> wrote:> Hi Everyone, > > > > I need Xen 3.2+ and have been following this thread. I already have > Infiniband bits and pieces added to the kernel and hence it seems I cannot > use the RPMs. Lots of error like this appear during the RPM install (If > anyone know how I can get away with using the RPMs then please let me know): > > WARNING: > /lib/modules/2.6.18-92.1.6.el5xen/updates/kernel/drivers/infiniband/ulp/srpt/ib_srpt.ko > needs unknown symbol scst_unregister_session > > WARNING: > /lib/modules/2.6.18-92.1.6.el5xen/updates/kernel/drivers/infiniband/ulp/srpt/ib_srpt.ko > needs unknown symbol scst_rx_data > > > > Am I best off reinstalling Centos without the virtualization option? > (Current install has Server and Virtualization options). > > > > Also it seems I might be better off using Centos 5.1 because my Raid > utilities wont work with 5.2. Is the following a sensible install process?: > > Install Centos 5.1 with only Server option and 5.1 Raid Driver > > Install Raid utilities > > Yum Update Kernel and Install Kernel-Devel > > Follow instructions below > > Install Infiniband OFED tools to new Xen Kernel > > Compile Kernel Again > > Install DRBD and other apps I need. > > > > Thanks, > > > > Rob > > > > *From:* xen-users-bounces@lists.xensource.com [mailto: > xen-users-bounces@lists.xensource.com] *On Behalf Of *Daniel Kao > *Sent:* 21 July 2008 22:58 > *To:* Xen-user List > *Subject:* Re: [Xen-users] More CentOS 5.2 & Xen 3.2.1 Compiling > Questions! > > > > Hi Ross, > > Bingo. I skipped one of the most important parts! ;) I keep forgetting > that grub.conf isn''t automagically updated (which is a GOOD thing). Changed > over to the proper one and Xen 3.2.1 is running beautifully in CentOS 5.2 > x86_64. > > I enabled vtd=1 and have successfully done a PCI passthrough (pciback) to a > HVM domU (Windows XP) for a video capture card device which is on the PCI > Express bus. > > Thank you VERY much, Ross! > > Cheers, > Daniel > > P.S. So the full instructions are for getting Xen 3.2.1 installed onto a > fresh copy of CentOS 5.2 (without existing Xen packages): > > 1. rpm -i > http://bits.xensource.com/oss-xen/release/3.2.0/centos-5.1/xen-3.2.0-0xs.centos5.src.rpm2> /dev/null > 2. cd /usr/src/redhat/SOURCES ; wget > http://bits.xensource.com/oss-xen/release/3.2.1/xen-3.2.1.tar.gz > 3. vi ../SPECS/xen.spec > i. Change "Version: 3.2.0" to "Version 3.2.1" > ii. Change "Source0: xen-3.2.0.tar.gz" to "Source0: xen-3.2.1.tar.gz" > iii. Uncomment "# /usr/lib/xen/boot/hvmloader" to " > /usr/lib/xen/boot/hvmloader". (noted from previous threads to avoid > rpmbuild error of unpackaged file) > 4. yum -y install transfig texi2html tetex-latex gtk2-devel libaio-devel > gnutls-devel (dependencies needed for rpmbuild of xen.spec in CentOS) > 5. cd /usr/src/redhat/SPECS ; rpmbuild -ba ./xen.spec > 6. Grab some coffee... > > ... and come back to this: > > Wrote: /usr/src/redhat/SRPMS/xen-3.2.1-0xs.src.rpm > Wrote: /usr/src/redhat/RPMS/x86_64/xen-3.2.1-0xs.x86_64.rpm > Wrote: /usr/src/redhat/RPMS/x86_64/xen-libs-3.2.1-0xs.x86_64.rpm > Wrote: /usr/src/redhat/RPMS/x86_64/xen-devel-3.2.1-0xs.x86_64.rpm > Wrote: /usr/src/redhat/RPMS/x86_64/xen-debuginfo-3.2.1-0xs.x86_64.rpm > Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xxxxxx > + umask 022 > + cd /usr/src/redhat/BUILD > + cd xen-3.2.1 > + rm -rf /var/tmp/xen-3.2.1-0xs-root > + exit 0 > > 7. vi /etc/yum.conf and temporarily set "gpgcheck=0" to "gpgcheck=1" since > RPMs aren''t signed. > 8. cd /usr/src/redhat/RPMS/x86_64 ; yum -y install > xen-3.2.1-0xs.x86_64.rpm xen-libs-3.2.1-0xs.x86_64.rpm > xen-devel-3.2.1-0xs.x86_64.rpm > 9. vi /etc/yum.conf and set gpgcheck back to "gpgcheck=1". > 10. vi /etc/grub.conf and change the "kernel" line to "kernel /xen.gz-3.2" > or "kernel /xen.gz-3.2 vtd=1" or "kernel /xen.gz-3.2 vtd=1 > msi_irq_enable=1" (one of the three depending if you want Intel VT-d > and/or MSI/MSI-X enabled for capable systems) and make sure "default=" is > pointed to the correct title. ***Note: Double-check /boot/xen.gz-3.2 > exists on your system!* > 11. Reboot. > > Check Xen (xm dmesg) and see if you''re golden. > > 12. Using yum, install virt-manager and/or virt-viewer to get all the > CLI/GUI utilities! > > Cheers, > Daniel > > Ross S. W. Walker wrote: > > Daniel Kao wrote: > > > > > > Hi Ross, > > > > Thank you very much for the reply. It makes sense! So let > > me break down the instructions: > > > > 1. rpm -i > > http://bits.xensource.com/oss-xen/release/3.2.0/centos-5.1/xen > > > > -3.2.0-0xs.centos5.src.rpm 2> /dev/null > > > > 2. cd /usr/src/redhat/SOURCES ; wget > > http://bits.xensource.com/oss-xen/release/3.2.1/xen-3.2.1.tar.gz > > 3. vi ../SPECS/xen.spec > > i. Change "Version: 3.2.0" to "Version 3.2.1" > > ii. Change "Source0: xen-3.2.0.tar.gz" to "Source0: xen-3.2.1.tar.gz" > > iii. Uncomment "# /usr/lib/xen/boot/hvmloader" to > > "/usr/lib/xen/boot/hvmloader". (noted from previous threads > > to avoid rpmbuild error of unpackaged file) > > 4. yum -y install transfig texi2html tetex-latex gtk2-devel > > libaio-devel gnutls-devel (dependencies needed for rpmbuild > > of xen.spec in CentOS) > > 5. cd /usr/src/redhat/SPECS ; rpmbuild -ba ./xen.spec > > 6. Grab some coffee... > > > > ... and come back to this: > > > > Wrote: /usr/src/redhat/SRPMS/xen-3.2.1-0xs.src.rpm > > Wrote: /usr/src/redhat/RPMS/x86_64/xen-3.2.1-0xs.x86_64.rpm > > Wrote: /usr/src/redhat/RPMS/x86_64/xen-libs-3.2.1-0xs.x86_64.rpm > > Wrote: /usr/src/redhat/RPMS/x86_64/xen-devel-3.2.1-0xs.x86_64.rpm > > Wrote: /usr/src/redhat/RPMS/x86_64/xen-debuginfo-3.2.1-0xs.x86_64.rpm > > Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xxxxxx > > + umask 022 > > + cd /usr/src/redhat/BUILD > > + cd xen-3.2.1 > > + rm -rf /var/tmp/xen-3.2.1-0xs-root > > + exit 0 > > > > 7. vi /etc/yum.conf and temporarily set "gpgcheck=0" to > > "gpgcheck=1" since RPMs aren''t signed. > > 8. cd /usr/src/redhat/RPMS/x86_64 ; yum -y install > > xen-3.2.1-0xs.x86_64.rpm xen-libs-3.2.1-0xs.x86_64.rpm > > xen-devel-3.2.1-0xs.x86_64.rpm > > 9. vi /etc/yum.conf and set gpgcheck back to "gpgcheck=1". > > > > Reboot. > > > > xend won''t start now with the following in /var/log/xen/xend.log > > > > [2008-07-17 16:30:23 7029] INFO (SrvDaemon:226) Xend stopped > > due to signal 15. > > [2008-07-17 16:30:23 7870] INFO (SrvDaemon:331) Xend Daemon started > > [2008-07-17 16:30:23 7870] INFO (SrvDaemon:335) Xend > > changeset: unavailable. > > [2008-07-17 16:30:23 7870] INFO (SrvDaemon:342) Xend version: Unknown. > > [2008-07-17 16:30:23 7870] ERROR (SrvDaemon:353) Exception > > starting xend ((13, ''Permission denied'')) > > Traceback (most recent call last): > > File > > "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDaemon. > > > > py", line 345, in run > > > > servers = SrvServer.create() > > File > > "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvServer. > > > > py", line 251, in create > > > > root.putChild(''xend'', SrvRoot()) > > File > > "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvRoot.py > > > > ", line 40, in __init__ > > > > self.get(name) > > File > > "/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", line > > 82, in get > > val = val.getobj() > > File > > "/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", line > > 52, in getobj > > self.obj = klassobj() > > File > > "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvNode.py > > > > ", line 30, in __init__ > > > > self.xn = XendNode.instance() > > File > > "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", > > line 709, in instance > > inst = XendNode() > > File > > "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", > > line 83, in __init__ > > self.other_config["xen_pagesize"] > > self.xeninfo_dict()["xen_pagesize"] > > File > > "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", > > line 673, in xeninfo_dict > > return dict(self.xeninfo()) > > File > > "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", > > line 617, in xeninfo > > info[''xen_scheduler''] = self.xenschedinfo() > > File > > "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", > > line 607, in xenschedinfo > > sched_id = self.xc.sched_id_get() > > Error: (13, ''Permission denied'') > > > > I did a quick peek in /usr/lib64/python2.4/site-packages/xen > > and all the Python tools looks to be correct with 3.2.1. > > > > Any ideas? > > > > > > Yes, almost perfect setup, except, need to edit /boot/grub/grub.conf > > and switch all /boot/xen-3.1... references to /boot/xen-3.2... > > the errors you saw are what happens when the newer libraries try > > to access the older hypervisor. > > > > -Ross > > > > ______________________________________________________________________ > > This e-mail, and any attachments thereto, is intended only for use by > > the addressee(s) named herein and may contain legally privileged > > and/or confidential information. If you are not the intended recipient > > of this e-mail, you are hereby notified that any dissemination, > > distribution or copying of this e-mail, and any attachments thereto, > > is strictly prohibited. If you have received this e-mail in error, > > please immediately notify the sender and permanently delete the > > original and any copy or printout thereof. > > > > > > > > > > -- > > Daniel Kao > > Übermind, Inc. > > Seattle, WA, U.S.A. > > ** > > ** > > *The SAQ Group* > > *Registered Office: 18 Chapel Street, Petersfield, Hampshire GU32 3DZ* > SEMTEC Limited Trading as SAQ is Registered in England & Wales > Company Number: 06481952 > > > > http://www.saqnet.co.uk AS29219 > > SAQ Group Delivers high quality, honestly priced communication and I.T. > services to UK Business. > > DSL : Domains : Email : Hosting : CoLo : Servers : Racks : Transit : > Backups : Managed Networks : Remote Support. > > > > Find us in http://www.thebestof.co.uk/petersfield > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nadolski, Ed
2008-Aug-15 22:56 UTC
RE: [Xen-users] More CentOS 5.2 & Xen 3.2.1 Compiling Questions!
Hello Daniel, Do virt-manager and virt-install still work on your system with CentOS 5.2 & Xen 3.2.1 together? Installing CentOS 5.2 without the Xen packages leaves those off the system, but when I upgrading to Xen 3.2.1 (or later) on a Centos 5.2 installed with the Xen packages seems to put the ''xm'' commands in a broken state ("Permission denied" errors start to show up). Do you install them separately after upgrading? Thanks in advance, Ed ________________________________ From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Daniel Kao Sent: Monday, July 21, 2008 3:58 PM To: Xen-user List Subject: Re: [Xen-users] More CentOS 5.2 & Xen 3.2.1 Compiling Questions! Hi Ross, Bingo. I skipped one of the most important parts! ;) I keep forgetting that grub.conf isn''t automagically updated (which is a GOOD thing). Changed over to the proper one and Xen 3.2.1 is running beautifully in CentOS 5.2 x86_64. I enabled vtd=1 and have successfully done a PCI passthrough (pciback) to a HVM domU (Windows XP) for a video capture card device which is on the PCI Express bus. Thank you VERY much, Ross! Cheers, Daniel P.S. So the full instructions are for getting Xen 3.2.1 installed onto a fresh copy of CentOS 5.2 (without existing Xen packages): 1. rpm -i http://bits.xensource.com/oss-xen/release/3.2.0/centos-5.1/xen-3.2.0-0xs.centos5.src.rpm 2> /dev/null 2. cd /usr/src/redhat/SOURCES ; wget http://bits.xensource.com/oss-xen/release/3.2.1/xen-3.2.1.tar.gz 3. vi ../SPECS/xen.spec i. Change "Version: 3.2.0" to "Version 3.2.1" ii. Change "Source0: xen-3.2.0.tar.gz" to "Source0: xen-3.2.1.tar.gz" iii. Uncomment "# /usr/lib/xen/boot/hvmloader" to "/usr/lib/xen/boot/hvmloader". (noted from previous threads to avoid rpmbuild error of unpackaged file) 4. yum -y install transfig texi2html tetex-latex gtk2-devel libaio-devel gnutls-devel (dependencies needed for rpmbuild of xen.spec in CentOS) 5. cd /usr/src/redhat/SPECS ; rpmbuild -ba ./xen.spec 6. Grab some coffee... ... and come back to this: Wrote: /usr/src/redhat/SRPMS/xen-3.2.1-0xs.src.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-3.2.1-0xs.x86_64.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-libs-3.2.1-0xs.x86_64.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-devel-3.2.1-0xs.x86_64.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-debuginfo-3.2.1-0xs.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xxxxxx + umask 022 + cd /usr/src/redhat/BUILD + cd xen-3.2.1 + rm -rf /var/tmp/xen-3.2.1-0xs-root + exit 0 7. vi /etc/yum.conf and temporarily set "gpgcheck=0" to "gpgcheck=1" since RPMs aren''t signed. 8. cd /usr/src/redhat/RPMS/x86_64 ; yum -y install xen-3.2.1-0xs.x86_64.rpm xen-libs-3.2.1-0xs.x86_64.rpm xen-devel-3.2.1-0xs.x86_64.rpm 9. vi /etc/yum.conf and set gpgcheck back to "gpgcheck=1". 10. vi /etc/grub.conf and change the "kernel" line to "kernel /xen.gz-3.2" or "kernel /xen.gz-3.2 vtd=1" or "kernel /xen.gz-3.2 vtd=1 msi_irq_enable=1" (one of the three depending if you want Intel VT-d and/or MSI/MSI-X enabled for capable systems) and make sure "default=" is pointed to the correct title. **Note: Double-check /boot/xen.gz-3.2 exists on your system! 11. Reboot. Check Xen (xm dmesg) and see if you''re golden. 12. Using yum, install virt-manager and/or virt-viewer to get all the CLI/GUI utilities! Cheers, Daniel Ross S. W. Walker wrote: Daniel Kao wrote: Hi Ross, Thank you very much for the reply. It makes sense! So let me break down the instructions: 1. rpm -i http://bits.xensource.com/oss-xen/release/3.2.0/centos-5.1/xen -3.2.0-0xs.centos5.src.rpm 2> /dev/null 2. cd /usr/src/redhat/SOURCES ; wget http://bits.xensource.com/oss-xen/release/3.2.1/xen-3.2.1.tar.gz 3. vi ../SPECS/xen.spec i. Change "Version: 3.2.0" to "Version 3.2.1" ii. Change "Source0: xen-3.2.0.tar.gz" to "Source0: xen-3.2.1.tar.gz" iii. Uncomment "# /usr/lib/xen/boot/hvmloader" to "/usr/lib/xen/boot/hvmloader". (noted from previous threads to avoid rpmbuild error of unpackaged file) 4. yum -y install transfig texi2html tetex-latex gtk2-devel libaio-devel gnutls-devel (dependencies needed for rpmbuild of xen.spec in CentOS) 5. cd /usr/src/redhat/SPECS ; rpmbuild -ba ./xen.spec 6. Grab some coffee... ... and come back to this: Wrote: /usr/src/redhat/SRPMS/xen-3.2.1-0xs.src.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-3.2.1-0xs.x86_64.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-libs-3.2.1-0xs.x86_64.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-devel-3.2.1-0xs.x86_64.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-debuginfo-3.2.1-0xs.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xxxxxx + umask 022 + cd /usr/src/redhat/BUILD + cd xen-3.2.1 + rm -rf /var/tmp/xen-3.2.1-0xs-root + exit 0 7. vi /etc/yum.conf and temporarily set "gpgcheck=0" to "gpgcheck=1" since RPMs aren''t signed. 8. cd /usr/src/redhat/RPMS/x86_64 ; yum -y install xen-3.2.1-0xs.x86_64.rpm xen-libs-3.2.1-0xs.x86_64.rpm xen-devel-3.2.1-0xs.x86_64.rpm 9. vi /etc/yum.conf and set gpgcheck back to "gpgcheck=1". Reboot. xend won''t start now with the following in /var/log/xen/xend.log [2008-07-17 16:30:23 7029] INFO (SrvDaemon:226) Xend stopped due to signal 15. [2008-07-17 16:30:23 7870] INFO (SrvDaemon:331) Xend Daemon started [2008-07-17 16:30:23 7870] INFO (SrvDaemon:335) Xend changeset: unavailable. [2008-07-17 16:30:23 7870] INFO (SrvDaemon:342) Xend version: Unknown. [2008-07-17 16:30:23 7870] ERROR (SrvDaemon:353) Exception starting xend ((13, ''Permission denied'')) Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDaemon. py", line 345, in run servers = SrvServer.create() File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvServer. py", line 251, in create root.putChild(''xend'', SrvRoot()) File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvRoot.py ", line 40, in __init__ self.get(name) File "/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", line 82, in get val = val.getobj() File "/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", line 52, in getobj self.obj = klassobj() File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvNode.py ", line 30, in __init__ self.xn = XendNode.instance() File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 709, in instance inst = XendNode() File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 83, in __init__ self.other_config["xen_pagesize"] self.xeninfo_dict()["xen_pagesize"] File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 673, in xeninfo_dict return dict(self.xeninfo()) File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 617, in xeninfo info[''xen_scheduler''] = self.xenschedinfo() File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 607, in xenschedinfo sched_id = self.xc.sched_id_get() Error: (13, ''Permission denied'') I did a quick peek in /usr/lib64/python2.4/site-packages/xen and all the Python tools looks to be correct with 3.2.1. Any ideas? Yes, almost perfect setup, except, need to edit /boot/grub/grub.conf and switch all /boot/xen-3.1... references to /boot/xen-3.2... the errors you saw are what happens when the newer libraries try to access the older hypervisor. -Ross ______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof. -- Daniel Kao Übermind, Inc. Seattle, WA, U.S.A. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2008-Aug-16 06:47 UTC
RE: [Xen-users] More CentOS 5.2 & Xen 3.2.1 Compiling Questions!
# yum -y install xen-3.2.1-0xs.x86_64.rpm xen-libs-3.2.1-0xs.x86_64.rpm xen-devel-3.2.1-0xs.x86_64.rpm would install phyton-virtinst package (resolving dependencies). Virt-install would be in working shape. Virt-manager - no View also:- http://www.ruslansivak.com/index.cfm/2008/7/7/Xen-32-on-CentOS-52--x8664--RHEL-52-x8664 --- On Fri, 8/15/08, Nadolski, Ed <Ed.Nadolski@lsi.com> wrote: From: Nadolski, Ed <Ed.Nadolski@lsi.com> Subject: RE: [Xen-users] More CentOS 5.2 & Xen 3.2.1 Compiling Questions! To: "Daniel Kao" <dkao@ubermind.com>, "Xen-user List" <xen-users@lists.xensource.com> Date: Friday, August 15, 2008, 6:56 PM Hello Daniel, Do virt-manager and virt-install still work on your system with CentOS 5.2 & Xen 3.2.1 together? Installing CentOS 5.2 without the Xen packages leaves those off the system, but when I upgrading to Xen 3.2.1 (or later) on a Centos 5.2 installed with the Xen packages seems to put the ‘xm’ commands in a broken state (“Permission denied” errors start to show up). Do you install them separately after upgrading? Thanks in advance, Ed From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Daniel Kao Sent: Monday, July 21, 2008 3:58 PM To: Xen-user List Subject: Re: [Xen-users] More CentOS 5.2 & Xen 3.2.1 Compiling Questions! Hi Ross, Bingo. I skipped one of the most important parts! ;) I keep forgetting that grub.conf isn''t automagically updated (which is a GOOD thing). Changed over to the proper one and Xen 3.2.1 is running beautifully in CentOS 5.2 x86_64. I enabled vtd=1 and have successfully done a PCI passthrough (pciback) to a HVM domU (Windows XP) for a video capture card device which is on the PCI Express bus. Thank you VERY much, Ross! Cheers, Daniel P.S. So the full instructions are for getting Xen 3.2.1 installed onto a fresh copy of CentOS 5.2 (without existing Xen packages): 1. rpm -i http://bits.xensource.com/oss-xen/release/3.2.0/centos-5.1/xen-3.2.0-0xs.centos5.src.rpm 2> /dev/null 2. cd /usr/src/redhat/SOURCES ; wget http://bits.xensource.com/oss-xen/release/3.2.1/xen-3.2.1.tar.gz 3. vi ../SPECS/xen.spec i. Change "Version: 3.2.0" to "Version 3.2.1" ii. Change "Source0: xen-3.2.0.tar.gz" to "Source0: xen-3.2.1.tar.gz" iii. Uncomment "# /usr/lib/xen/boot/hvmloader" to "/usr/lib/xen/boot/hvmloader". (noted from previous threads to avoid rpmbuild error of unpackaged file) 4. yum -y install transfig texi2html tetex-latex gtk2-devel libaio-devel gnutls-devel (dependencies needed for rpmbuild of xen.spec in CentOS) 5. cd /usr/src/redhat/SPECS ; rpmbuild -ba ./xen.spec 6. Grab some coffee... ... and come back to this: Wrote: /usr/src/redhat/SRPMS/xen-3.2.1-0xs.src.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-3.2.1-0xs.x86_64.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-libs-3.2.1-0xs.x86_64.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-devel-3.2.1-0xs.x86_64.rpm Wrote: /usr/src/redhat/RPMS/x86_64/xen-debuginfo-3.2.1-0xs.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xxxxxx + umask 022 + cd /usr/src/redhat/BUILD + cd xen-3.2.1 + rm -rf /var/tmp/xen-3.2.1-0xs-root + exit 0 7. vi /etc/yum.conf and temporarily set "gpgcheck=0" to "gpgcheck=1" since RPMs aren''t signed. 8. cd /usr/src/redhat/RPMS/x86_64 ; yum -y install xen-3.2.1-0xs.x86_64.rpm xen-libs-3.2.1-0xs.x86_64.rpm xen-devel-3.2.1-0xs.x86_64.rpm 9. vi /etc/yum.conf and set gpgcheck back to "gpgcheck=1". 10. vi /etc/grub.conf and change the "kernel" line to "kernel /xen.gz-3.2" or "kernel /xen.gz-3.2 vtd=1" or "kernel /xen.gz-3.2 vtd=1 msi_irq_enable=1" (one of the three depending if you want Intel VT-d and/or MSI/MSI-X enabled for capable systems) and make sure "default=" is pointed to the correct title. **Note: Double-check /boot/xen.gz-3.2 exists on your system! 11. Reboot. Check Xen (xm dmesg) and see if you''re golden. 12. Using yum, install virt-manager and/or virt-viewer to get all the CLI/GUI utilities! Cheers, Daniel Ross S. W. Walker wrote: Daniel Kao wrote: Hi Ross, Thank you very much for the reply. It makes sense! So let me break down the instructions: 1. rpm -i http://bits.xensource.com/oss-xen/release/3.2.0/centos-5.1/xen -3.2.0-0xs.centos5.src.rpm 2> /dev/null 2. cd /usr/src/redhat/SOURCES ; wget http://bits.xensource.com/oss-xen/release/3.2.1/xen-3.2.1.tar.gz3. vi ../SPECS/xen.spec i. Change "Version: 3.2.0" to "Version 3.2.1" ii. Change "Source0: xen-3.2.0.tar.gz" to "Source0: xen-3.2.1.tar.gz" iii. Uncomment "# /usr/lib/xen/boot/hvmloader" to "/usr/lib/xen/boot/hvmloader". (noted from previous threads to avoid rpmbuild error of unpackaged file)4. yum -y install transfig texi2html tetex-latex gtk2-devel libaio-devel gnutls-devel (dependencies needed for rpmbuild of xen.spec in CentOS)5. cd /usr/src/redhat/SPECS ; rpmbuild -ba ./xen.spec6. Grab some coffee... ... and come back to this: Wrote: /usr/src/redhat/SRPMS/xen-3.2.1-0xs.src.rpmWrote: /usr/src/redhat/RPMS/x86_64/xen-3.2.1-0xs.x86_64.rpmWrote: /usr/src/redhat/RPMS/x86_64/xen-libs-3.2.1-0xs.x86_64.rpmWrote: /usr/src/redhat/RPMS/x86_64/xen-devel-3.2.1-0xs.x86_64.rpmWrote: /usr/src/redhat/RPMS/x86_64/xen-debuginfo-3.2.1-0xs.x86_64.rpmExecuting(%clean): /bin/sh -e /var/tmp/rpm-tmp.xxxxxx+ umask 022+ cd /usr/src/redhat/BUILD+ cd xen-3.2.1+ rm -rf /var/tmp/xen-3.2.1-0xs-root+ exit 0 7. vi /etc/yum.conf and temporarily set "gpgcheck=0" to "gpgcheck=1" since RPMs aren''t signed.8. cd /usr/src/redhat/RPMS/x86_64 ; yum -y install xen-3.2.1-0xs.x86_64.rpm xen-libs-3.2.1-0xs.x86_64.rpm xen-devel-3.2.1-0xs.x86_64.rpm9. vi /etc/yum.conf and set gpgcheck back to "gpgcheck=1". Reboot. xend won''t start now with the following in /var/log/xen/xend.log [2008-07-17 16:30:23 7029] INFO (SrvDaemon:226) Xend stopped due to signal 15.[2008-07-17 16:30:23 7870] INFO (SrvDaemon:331) Xend Daemon started[2008-07-17 16:30:23 7870] INFO (SrvDaemon:335) Xend changeset: unavailable.[2008-07-17 16:30:23 7870] INFO (SrvDaemon:342) Xend version: Unknown.[2008-07-17 16:30:23 7870] ERROR (SrvDaemon:353) Exception starting xend ((13, ''Permission denied''))Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDaemon. py", line 345, in run servers = SrvServer.create() File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvServer. py", line 251, in create root.putChild(''xend'', SrvRoot()) File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvRoot.py ", line 40, in __init__ self.get(name) File "/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", line 82, in get val = val.getobj() File "/usr/lib64/python2.4/site-packages/xen/web/SrvDir.py", line 52, in getobj self.obj = klassobj() File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvNode.py ", line 30, in __init__ self.xn = XendNode.instance() File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 709, in instance inst = XendNode() File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 83, in __init__ self.other_config["xen_pagesize"] = self.xeninfo_dict()["xen_pagesize"] File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 673, in xeninfo_dict return dict(self.xeninfo()) File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 617, in xeninfo info[''xen_scheduler''] = self.xenschedinfo() File "/usr/lib64/python2.4/site-packages/xen/xend/XendNode.py", line 607, in xenschedinfo sched_id = self.xc.sched_id_get()Error: (13, ''Permission denied'') I did a quick peek in /usr/lib64/python2.4/site-packages/xen and all the Python tools looks to be correct with 3.2.1. Any ideas? Yes, almost perfect setup, except, need to edit /boot/grub/grub.confand switch all /boot/xen-3.1... references to /boot/xen-3.2...the errors you saw are what happens when the newer libraries tryto access the older hypervisor. -Ross ______________________________________________________________________This e-mail, and any attachments thereto, is intended only for use bythe addressee(s) named herein and may contain legally privilegedand/or confidential information. If you are not the intended recipientof this e-mail, you are hereby notified that any dissemination,distribution or copying of this e-mail, and any attachments thereto,is strictly prohibited. If you have received this e-mail in error,please immediately notify the sender and permanently delete theoriginal and any copy or printout thereof. -- Daniel KaoÜbermind, Inc.Seattle , WA , U.S.A. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users