Steven Anderson
2005-Dec-07 15:38 UTC
[Xen-users] Am not able to create a XenU Domain forFedoraCore 4
Greetings and Happy Holiday Season: I filed an open issue with Fedora installer and rpm because of the same error. I was suggested to look in the xend-debug.log for detailed logs on the problem. This is enabled in nano /etc/xen/xend-config.sxp by adding the following lines (logfile /var/log/xend.log.debug) (loglevel DEBUG) then removing the logs rm -f /var/log/xend.log rm -f /var/log/xend.log.debug rm -f /var/log/xend-debug.log then issuing touch /var/log/xend.log touch /var/log/xend.log.debug touch /var/log/xend-debug.log (note this starts your logs with a clean slate with nothing in them) and then issuing the command /usr/sbin/xend restart (so it uses the newly created logs) When this is done more details show up on the problem However after looking ove the suggested logs I believe the root of the problem is that the install script and the .tar files now available do not provide a domU kernel the existing domU kernels in the existing domain are actually part of xen 2.6 or 2.7 --whatever the last version was named. When the 3.0 kernel was just issued it no longer works with older domU kernels and one was not provided with the script to replace it with that is generic. Correct me if I am wrong but the procedure for creating a new domU kernel would be somthing as follows: http://groups.google.com/group/linux.redhat.rpm/browse_thread/thread/45907c4eaaedf6e9/064d7e2068044d75?lnk=st&q=how+to+make+a+rpm+file+in+redhat&rnum=1&hl=en#064d7e2068044d75 (NOTE: I might be wrong since no source is provided--therefor recompiling wouldnt be possible with the rpm therfor one couldnt enable the proper front end/or backend whatever drivers--cant remember which the domU''s require) Then again as I mention later on it might be simple as copy dom0 kernel to a name like kernel-domU and placing it in domU''s boot directory....creating a initrd image doing a modprobe -a in domU after it starts and creating proper config file for it....not in that order of course! Please note that the procedure will have to vary slightly since the name of the kernel is ...domU kernel I think this can be taken care of with EXTRAVERSION=3.1.1-domU but not sure havent tried it yet also make DESTDIR=$BUILD_ROOT install may have to be setup so it installs it into /boot where it will then have to be copied into the domU image by mount -o loop /path/to/image/file/image.file /mnt/fedora cd /mnt/fedora rpm -Uvh -root /path/to/image/file/mnt/fedora/ NewDomUKernel-3.1.1-domU Its complicated and would be easier if they provided a prebuilt domU kernel. Im not sure but the dom0 kernel may be generic enough to use as domU kernel just by renaming it ---this is dependant upon if its compiled with both the backend and frontend drivers but am not sure. Perhaps if someone wants to start a wiki on doing this we can all contribute to it! Regards, Steven Anderson --------------------------------- Yahoo! Personals Let fate take it''s course directly to your email. See who''s waiting for you Yahoo! Personals _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Steven Anderson
2005-Dec-07 16:21 UTC
[Xen-users] Am not able to create a XenU Domain forFedoraCore 4
Just to give an update: I tried renaming the kernel to ...domU I get the message Error: Error creating domain: VM name ''rawhide'' already in use by domain 2 I suspect its setting it up as a privilaged domain which isnt what people are generally looking for. So I think we have no recourse but to rebuild from source if using the new kernel for dom0... Input is greatly appreciated! Regards, Steven Anderson --------------------------------- Yahoo! Personals Let fate take it''s course directly to your email. See who''s waiting for you Yahoo! Personals _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Brian Lavender
2005-Dec-07 18:16 UTC
Re: [Xen-users] Am not able to create a XenU Domain forFedoraCore 4
Dumb Question. What does the xm list command say? xm list brian On Wed, 2005-12-07 at 08:21 -0800, Steven Anderson wrote:> Just to give an update: > > I tried renaming the kernel to ...domU > > I get the message > Error: Error creating domain: VM name ''rawhide'' already in use by > domain 2 > > I suspect its setting it up as a privilaged domain which isnt what > people are generally looking for. So I think we have no recourse but > to rebuild from source if using the new kernel for dom0... > > Input is greatly appreciated! > > Regards, > > > Steven Anderson > > > > ______________________________________________________________________ > Yahoo! Personals > Let fate take it''s course directly to your email. > See who''s waiting for you Yahoo! Personals > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Brian Lavender <brian@xensource.com> _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ian Pratt
2005-Dec-07 21:37 UTC
RE: [Xen-users] Am not able to create a XenU Domain forFedoraCore 4
> I tried renaming the kernel to ...domU > > I get the message > Error: Error creating domain: VM name ''rawhide'' already in > use by domain 2The error means exactly ehat it says: you have another domain with the same name. When issuing the xm create command put name="rawhide2" on the command line.> I suspect its setting it up as a privilaged domain which isnt > what people are generally looking for. So I think we have no > recourse but to rebuild from source if using the new kernel > for dom0...Having separate dom0 and domU kernels is unnecessary, hence our -xen config. It tends to be developers that use the -xen0 and -xenU configs as they build quicker and you don''t have to worry about installing modules on initrds. Ian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users