Ian Pratt
2005-Dec-07 17:38 UTC
RE: [Xen-users] Xen :Am not able to create a XenU DomainforFedoraCore 4
> http://bits.xensource.com/Xen/latest/xen-3.0-x86_32-fc4.bin.tar > > I''m able to boot but when starting the XenU system provided > here (because there is no XenU RPM provided from XenSource):The xensource pacakges use the same kernel for both dom0 and domU. The error is due to the FC4 kernel being an old development xen kernel. Ian> http://people.redhat.com/riel/xen_for_fc4/ > > I have the following error: > > Error: Error creating domain: (0, ''Error'') > > I also try Xen and XenU kernel from the Fedora Core 4 but the > Xen kernel don''t even boot and the XenU kernel with the > kernel Xen from XenSource give the same error. > > So if someone has already used Xen on a Fedora Core 4 and has > a working solution I''m open. > > Daniel Lacroix > > Le mercredi 07 décembre 2005 à 12:32 +0000, Robert Mortimer a écrit : > > > > -----Original Message----- > > From: Robert Mortimer [mailto:rmortimer@bluechiptechnology.co.uk] > > Sent: 07 December 2005 11:49 > > To: Dakshina.Dasari@Sun.COM > > > > > >>I have referred the steps given at the following link. > > > >>http://www.fedoraproject.org/wiki/FedoraXenQuickstart > > > >> > > > >> > > > >>I was able to get the Xen host OS up and minimal Xen base > > > >>operating system for XenU into an image file. > > > >>But the domain is crashing immediately after it is created . > > > >>after using > > > >>xm create -c <config_file> > > > > Hi, I seem to be having similar issues. I used the new Xen 3.0 > > installer script to produce an FC3 dom0. It was great and all is up > > and running > > > > [root@xen xen]# /usr/sbin/xm list > > Name ID Mem(MiB) VCPUs State Time(s) > > Domain-0 0 681 1 r----- 42.6 > > > > I then moved to the > > http://www.fedoraproject.org/wiki/FedoraXenQuickstart > > Generated a file and formatted it as instructed for the > guest Mounted > > it and added the required file system entries Downloaded > the FC4 guest > > kernel - yum -y install kernel-xenU.i686 Amended my config file for > > the correct guest kernel Tried to start my domain and the log said > > > > ERROR: Will only load images built for Xen v3.0 > > ERROR: Actually saw: > > > ''GUEST_OS=linux,GUEST_VER=2.6,XEN_VER=3.0,VIRT_BASE=0xC0000000,PAE=no, > > LOADER > > =generic'' > > ERROR: Error constructing guest OS > > Traceback (most recent call last): > > File > > > "/var/tmp/xen-3.0.0-2.1_fc4-root/usr/lib/python/xen/xend/server/SrvDom > > ainDir > > .py", line 77, in op_create > > File > > > "/var/tmp/xen-3.0.0-2.1_fc4-root/usr/lib/python/xen/xend/XendDomain.py > > ", > > line 226, in domain_create > > File > > > "/var/tmp/xen-3.0.0-2.1_fc4-root/usr/lib/python/xen/xend/XendDomainInf > > o.py", > > line 181, in create > > File > > > "/var/tmp/xen-3.0.0-2.1_fc4-root/usr/lib/python/xen/xend/XendDomainInf > > o.py", > > line 1184, in initDomain > > File > > "/var/tmp/xen-3.0.0-2.1_fc4-root/usr/lib/python/xen/xend/image.py", > > line 115, in createImage > > File > > "/var/tmp/xen-3.0.0-2.1_fc4-root/usr/lib/python/xen/xend/image.py", > > line 134, in createDomain > > File > > "/var/tmp/xen-3.0.0-2.1_fc4-root/usr/lib/python/xen/xend/image.py", > > line 183, in buildDomain > > error: (0, ''Error'') > > > > >From the first line I assume that this is a version problem > > Can I get an FC4 guest kernel from elsewhere (i.e. the Xen > site) or do > > I have to compile my own? > > > > > > > >> > > > >>The log files xend.log and xend-debug.log files are not very > > > >>intuitive abt the cause . > > > >> > > > >>Help appreciated. > > > >> --Dakshina > > > >> > > > >> > > > >> > > > >> > > > >> > > > >>_______________________________________________ > > > >>Xen-users mailing list > > > >>Xen-users@lists.xensource.com > > > >>http://lists.xensource.com/xen-users > > > >> > > > > > > -- > > > --------------------------------- > > > Dakshina Dasari > > > SunMC Team > > > Sun Microsystems India Pvt. Ltd > > > Tel: +91 80 5692-7596 (Work) > > > x27596 (SWAN) > > > Email: dakshina.dasari@sun.com > > > --------------------------------- > > > > > > _______________________________________________ > > > 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 > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Daniel Lacroix
2005-Dec-08 09:09 UTC
RE: [Xen-users] Xen :Am not able to create a XenU DomainforFedoraCore 4
Le mercredi 07 décembre 2005 à 17:38 +0000, Ian Pratt a écrit :> > http://bits.xensource.com/Xen/latest/xen-3.0-x86_32-fc4.bin.tar > > > > I''m able to boot but when starting the XenU system provided > > here (because there is no XenU RPM provided from XenSource): > > The xensource pacakges use the same kernel for both dom0 and domU. > > The error is due to the FC4 kernel being an old development xen kernel.You are right. I have retry with the package from xensource (xen-3.0.0-2.1_fc4.i386.rpm, xen-kernel-2.6.12-xen3_2.1_fc4.i686.rpm) using the kernel for dom0 and domU and I just work. If it help other, here is my grub.conf after installing the RPMs: title Fedora Core (2.6.12-xen3) root (hd0,0) kernel /boot/xen-3.gz dom0_mem=128M module /boot/vmlinuz-2.6-xen ro root=LABEL=/ module /boot/initrd-2.6-xen.img And here is one of my VM conf: kernel ="/boot/vmlinuz-2.6.12.6-xen3_2.1_fc4" memory = 768 name = "gi" nics = 1 disk = [''file:/var/vm/gi.img,sda1,w''] root = "/dev/sda1" extra = "ro selinux=0 3" Thanks a lot for your help. Daniel> Ian > > > http://people.redhat.com/riel/xen_for_fc4/ > > > > I have the following error: > > > > Error: Error creating domain: (0, ''Error'') > > > > I also try Xen and XenU kernel from the Fedora Core 4 but the > > Xen kernel don''t even boot and the XenU kernel with the > > kernel Xen from XenSource give the same error. > > > > So if someone has already used Xen on a Fedora Core 4 and has > > a working solution I''m open. > > > > Daniel Lacroix > > > > Le mercredi 07 décembre 2005 à 12:32 +0000, Robert Mortimer a écrit : > > > > > > -----Original Message----- > > > From: Robert Mortimer [mailto:rmortimer@bluechiptechnology.co.uk] > > > Sent: 07 December 2005 11:49 > > > To: Dakshina.Dasari@Sun.COM > > > > > > > >>I have referred the steps given at the following link. > > > > >>http://www.fedoraproject.org/wiki/FedoraXenQuickstart > > > > >> > > > > >> > > > > >>I was able to get the Xen host OS up and minimal Xen base > > > > >>operating system for XenU into an image file. > > > > >>But the domain is crashing immediately after it is created . > > > > >>after using > > > > >>xm create -c <config_file> > > > > > > Hi, I seem to be having similar issues. I used the new Xen 3.0 > > > installer script to produce an FC3 dom0. It was great and all is up > > > and running > > > > > > [root@xen xen]# /usr/sbin/xm list > > > Name ID Mem(MiB) VCPUs State Time(s) > > > Domain-0 0 681 1 r----- 42.6 > > > > > > I then moved to the > > > http://www.fedoraproject.org/wiki/FedoraXenQuickstart > > > Generated a file and formatted it as instructed for the > > guest Mounted > > > it and added the required file system entries Downloaded > > the FC4 guest > > > kernel - yum -y install kernel-xenU.i686 Amended my config file for > > > the correct guest kernel Tried to start my domain and the log said > > > > > > ERROR: Will only load images built for Xen v3.0 > > > ERROR: Actually saw: > > > > > ''GUEST_OS=linux,GUEST_VER=2.6,XEN_VER=3.0,VIRT_BASE=0xC0000000,PAE=no, > > > LOADER > > > =generic'' > > > ERROR: Error constructing guest OS > > > Traceback (most recent call last): > > > File > > > > > "/var/tmp/xen-3.0.0-2.1_fc4-root/usr/lib/python/xen/xend/server/SrvDom > > > ainDir > > > .py", line 77, in op_create > > > File > > > > > "/var/tmp/xen-3.0.0-2.1_fc4-root/usr/lib/python/xen/xend/XendDomain.py > > > ", > > > line 226, in domain_create > > > File > > > > > "/var/tmp/xen-3.0.0-2.1_fc4-root/usr/lib/python/xen/xend/XendDomainInf > > > o.py", > > > line 181, in create > > > File > > > > > "/var/tmp/xen-3.0.0-2.1_fc4-root/usr/lib/python/xen/xend/XendDomainInf > > > o.py", > > > line 1184, in initDomain > > > File > > > "/var/tmp/xen-3.0.0-2.1_fc4-root/usr/lib/python/xen/xend/image.py", > > > line 115, in createImage > > > File > > > "/var/tmp/xen-3.0.0-2.1_fc4-root/usr/lib/python/xen/xend/image.py", > > > line 134, in createDomain > > > File > > > "/var/tmp/xen-3.0.0-2.1_fc4-root/usr/lib/python/xen/xend/image.py", > > > line 183, in buildDomain > > > error: (0, ''Error'') > > > > > > >From the first line I assume that this is a version problem > > > Can I get an FC4 guest kernel from elsewhere (i.e. the Xen > > site) or do > > > I have to compile my own? > > > > > > > > > > >> > > > > >>The log files xend.log and xend-debug.log files are not very > > > > >>intuitive abt the cause . > > > > >> > > > > >>Help appreciated. > > > > >> --Dakshina > > > > >> > > > > >> > > > > >> > > > > >> > > > > >> > > > > >>_______________________________________________ > > > > >>Xen-users mailing list > > > > >>Xen-users@lists.xensource.com > > > > >>http://lists.xensource.com/xen-users > > > > >> > > > > > > > > -- > > > > --------------------------------- > > > > Dakshina Dasari > > > > SunMC Team > > > > Sun Microsystems India Pvt. Ltd > > > > Tel: +91 80 5692-7596 (Work) > > > > x27596 (SWAN) > > > > Email: dakshina.dasari@sun.com > > > > --------------------------------- > > > > > > > > _______________________________________________ > > > > 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 > > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users