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

Re: [Xen-users] xen Installation through YUM



On Tue, Mar 02, 2010 at 11:56:39AM -0800, kishore kumar wrote:
>    Hi Boris,
> 
>    I successfully compiled and installed linux 2.6.32.9.
> 
>    I modified the grub.conf to boot with xen.
> 
>    After reboot, the system shows some xen boot messages and goes to black
>    screen.  Nothing comes on the screen.
> 
>    What could be wrong here?
> 

Do you have "nomodeset" parameter for the dom0 kernel? I think that's required 
still..

-- Pasi

>    Thanks
>    BK
> 
> 
>    On Mon, Mar 1, 2010 at 5:12 PM, Boris Derzhavets
>    <[1]bderzhavets@xxxxxxxxx> wrote:
> 
> Quote:-
> 
> PVOPS kernel 2.6.31.6 may be installed via Jeremy Fitzhardinge
> Git Repository to support Xen 3.4.2 Dom0.
> # git clone git://[2]git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git
> linux-2.6-xen            (THIS WENT THROUGH SUCCESSFULLY)
> # cd linux-2.6-xen
> 
> end Quote.
> 
> Add commands:-
> 
> #  git checkout origigin/xen/stable -b  xen/stable
> #  git pull
> 
> Build with attached config :-
> 
> # make -j2 (or 4 -number of cores your CPU)
> # make modules_install install
> 
> Create initrd-2.6.32.9.img for your OS.
> 
> Boris.
> 
> --- On Mon, 3/1/10, kishore kumar <[3]bodkekumar@xxxxxxxxx> wrote:
> 
>   From: kishore kumar <[4]bodkekumar@xxxxxxxxx>
>   Subject: Re: [Xen-users] xen Installation through YUM
>   To: "Boris Derzhavets" <[5]bderzhavets@xxxxxxxxx>
>   Cc: "Pasi Kärkkäinen" <[6]pasik@xxxxxx>, [7]xen-users@xxxxxxxxxxxxxxxxxxx
>   Date: Monday, March 1, 2010, 7:52 PM
> 
>   Hi All,
> 
>   To follow up this, after Installing Xen Hypervisor 3.4.2 successfully, I 
> downloaded
>   Linux 2.6.18 with Xen 3.4.x support source tarball, updated for Xen 3.4.2 
> from
>   [8]xen.org website and compiled and installed.
> 
>   Later I changed my grub.conf file to boot from Xen.
> 
>   #######################
>   root (hd0,0)
>   kernel /xen-3.4.2.gz
>   module /vmlinuz-2.6.18 ro root=dev/mapper/VolGroup-lv_root LANG=en_US.UTF-8
>   SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
>   module /initrd-2.6.18.8.img
>   #######################
> 
>   After I reboot, I get the following messages.
> 
>   ################
> 
>   Xenopf  Intel processor model 44 or P6 family is not supported.
>   Initialization failed.
> 
>   LOADING DOMAIN 0
>   Cannot load bzImage v2.04. v2.08 is required.
> 
>   Panic on CPU 0
>   Could not set up DOM 0 Guest OS
>   Reboot in 5 sec
> 
>   ###############
>    What is wrong happening here?
> 
>   THanks
>   BK
>   On Mon, Mar 1, 2010 at 12:14 PM, kishore kumar <[9]bodkekumar@xxxxxxxxx> 
> wrote:
> 
>     Hi Boris,
> 
>     I was following your steps and got stuck in the middle.  Here is what I 
> did...
> 
>     Step 1 was sucessfull and Xen Hypervisor 3.4.2 is installed successfully.
> 
>     Now while doing the step 2
> 
>     STEP 2:
> 
>      Install Libvirt
>     # yum install libvirt libvirt-python python-virtinst \
>     virt-manager virt-viewer  (THIS WENT THROUGH SUCCESSFULLY)
> 
>     PVOPS kernel 2.6.31.6 may be installed via Jeremy Fitzhardinge
>     Git Repository to support Xen 3.4.2 Dom0.
>     # git clone 
> git://[10]git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git
>     linux-2.6-xen            (THIS WENT THROUGH SUCCESSFULLY)
>     # cd linux-2.6-xen
>     # make menuconfig ( setup Xen Dom0 support)  (HOW TO SET UP THIS ?)
>     # make -j(x)(number_of_kernels)  (I DID MAKE -J, WHAT SHOULD I GIVE HERE 
> IN PLACE OF
>     x. ??
> 
>      BUT GAVE ME ERRORS.  I DONT KNOW WHAT WRONG I AM DOING HERE.  CAN YOU 
> PLEASE HELP ME
>     OUT IN THIS?)
> 
>     I HAVE ATTACHED THE LOG FILE FOR YOUR REFERENCE.  I AM USING FEDORA 12 
> MACHINE.
> 
>     Thanks
>     BK
> 
>     On Sat, Feb 27, 2010 at 4:27 AM, Boris Derzhavets 
> <[11]bderzhavets@xxxxxxxxx> wrote:
> 
>       Nothing went wrong.
>       Now build pvops kernel.
>       Instructions bellow.
>       Reading PVOPS WIKI would help as well
> 
>       Boris.
> 
>       --- On Fri, 2/26/10, kishore kumar <[12]bodkekumar@xxxxxxxxx> wrote:
> 
>         From: kishore kumar <[13]bodkekumar@xxxxxxxxx>
>         Subject: Re: [Xen-users] xen Installation through YUM
>         To: "Pasi Kärkkäinen" <[14]pasik@xxxxxx>
>         Cc: "Boris Derzhavets" <[15]bderzhavets@xxxxxxxxx>,
>         [16]xen-users@xxxxxxxxxxxxxxxxxxx
>         Date: Friday, February 26, 2010, 9:41 PM
> 
>         Now I am able to do  yum install kernel-xen xen.
> 
>         I can see the xen Images sitting in /boot directory.  Its 
> xen-3.4.2.gz and xen.gz.
> 
>         Is this what to be expected ?
> 
>         I changed the grub.conf file to boot with Xen as below
> 
>         title Fedora (2.6.31.9-174.fc12.x86_64)
>                root(hd0,0)
>                kernel /xen-3.4.2.gz
> 
>         My question is I dont see vmlinuz-2.6-xen0 in /boot directory.
> 
>         Do I need to add this line module /boot/vmlinuz-2.6-xen0 ???  But I 
> dont see this
>         file .When we do yum to insall xen, will it also install 
> vmlinuz-2.6-xen0 also ??
> 
>         Any idea what went wrong here??
> 
>         thanks
>         BK
> 
> 
>         On Fri, Feb 26, 2010 at 2:28 PM, Pasi Kärkkäinen <[17]pasik@xxxxxx> 
> wrote:
> 
>           On Fri, Feb 26, 2010 at 02:23:37PM -0800, kishore kumar wrote:
>           >    I have already set gpgcheck=0 in /etc/yum.conf  file.
>           >
>           >    I did not clearly understood on what you said in the next 
> line.........
>           >
>           >    to install unsigned rpms supposed to be built latter.
>           >    Activate rpmbuild on F12:-
>           >
>           >    # yum install transfig texi2html libaio-devel dev86 \
>           >      glibc-devel.i686 e2fsprogs-devel gitk mkinitrd
>           >    what should I do can you please clarify me on the above 
> statements you
>           >    said???
>           >
>           >    I followed your next step and downloaded 
> xen-3.4.2-2.fc13.src.rpm from
>           >    internet and started doing the steps mentioned by you.  but at 
> the very
>           >    step I get the messages saying
>           >
>           >    After I ran the rpm -iv xen-3.4.2-2.fc13.src.rpm
>           >    warning: group mockbuild does not exist - using root
>           >    warning: user mockbuild does not exist - using root
>           >    warning: group mockbuild does not exist - using root
>           >    warning: user mockbuild does not exist - using root
>           >    warning: group mockbuild does not exist - using root
>           >    warning: user mockbuild does not exist - using root
>           >    warning: group mockbuild does not exist - using root
>           >    warning: user mockbuild does not exist - using root
>           >    warning: group mockbuild does not exist - using root
>           >    warning: user mockbuild does not exist - using root
>           >    warning: group mockbuild does not exist - using root
>           >    warning: user mockbuild does not exist - using root
>           >    warning: group mockbuild does not exist - using root
>           >    warning: user mockbuild does not exist - using root
>           >    warning: group mockbuild does not exist - using root
>           >    warning: user mockbuild does not exist - using root
>           >    warning: group mockbuild does not exist - using root
>           >    warning: user mockbuild does not exist - using root
>           >    warning: group mockbuild does not exist - using root
>           >    warning: user mockbuild does not exist - using root
>           >    warning: group mockbuild does not exist - using root
>           >
>           >    Any idea what went wrong again??
>           >
> 
>           Nothing went wrong, those are just warnings.
> 
>           -- Pasi
>           >    THanks
>           >    bk
>           >
>           >    On Fri, Feb 26, 2010 at 5:39 AM, Boris Derzhavets
>           >    <[1][18]bderzhavets@xxxxxxxxx> wrote:
>           >
>           > Set in /etc/yum.conf set gpgcheck=0 ( temporarily )
>           > to install unsigned rpms supposed to be built latter.
>           > Activate rpmbuild on F12:-
>           >
>           > # yum install transfig texi2html libaio-devel dev86 \
>           >   glibc-devel.i686 e2fsprogs-devel gitk mkinitrd
>           >
>           > 1. Install Xen 3.4.2 via xen-3.4.2-2.fc13.src.rpm. Download from 
> Net
>           > xen-3.4.2-2.fc13.src.rpm. Now :-
>           >
>           > # rpm -iv xen-3.4.2-2.fc13.src.rpm
>           > # cd
>           > # cd rpmbuild/SPEC
>           > # rpmbuild -bb ./xen.spec
>           > # cd ../RPMS/x86_64
>           > yum install xen-3.4.2-2.fc12.x86_64.rpm \
>           > xen-debuginfo-3.4.2-2.fc12.x86_64.rpm \
>           > xen-devel-3.4.2-2.fc12.x86_64.rpm \
>           > xen-doc-3.4.2-2.fc12.x86_64.rpm \
>           > xen-hypervisor-3.4.2-2.fc12.x86_64.rpm \
>           > xen-libs-3.4.-2.fc12.x86_64.rpm \
>           > xen-runtime-3.4.2-2.fc12.x86_64.rpm
>           >
>           > Xen Hypervisor 3.4.2 installed
>           >
>           > 2. Install Libvirt
>           >
>           > # yum install libvirt libvirt-python python-virtinst \
>           > virt-manager virt-viewer
>           >
>           > PVOPS kernel 2.6.31.6 may be installed via Jeremy Fitzhardinge
>           > Git Repository to support Xen 3.4.2 Dom0.
>           >
>           > # git clone
>           git://[2][19]git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git
>           > linux-2.6-xen
>           > # cd linux-2.6-xen
>           > # make menuconfig ( setup Xen Dom0 support)
>           > # make -j(x)(number_of_kernels)
>           > # make modules_install install
>           >
>           > You may also want to build 2.6.32.9 pvops
>           >
>           > # git checkout origin/xen/stable -b  xen/stable
>           >
>           > I just switched from xen/master ( default 2.6.31.6 ) to 
> xen/stable (the most
>           > recent supposed to become LTS - 2.6.32.9)
>           >
>           > Boris.
>           >
>           > --- On Fri, 2/26/10, Pasi Kärkkäinen <[3][20]pasik@xxxxxx> wrote:
>           >
>           >   From: Pasi Kärkkäinen <[4][21]pasik@xxxxxx>
>           >   Subject: Re: [Xen-users] xen Installation through YUM
>           >   To: "kishore kumar" <[5][22]bodkekumar@xxxxxxxxx>
>           >   Cc: [6][23]xen-users@xxxxxxxxxxxxxxxxxxx
>           >   Date: Friday, February 26, 2010, 4:50 AM
>           >
>           >   On Thu, Feb 25, 2010 at 06:04:26PM -0800, kishore kumar wrote:
>           >   >    HI,
>           >   >
>           >   >    I am trying to install xen through yum. Here is what I did.
>           >   >
>           >   >
>           >   >    [root@localhost Kishore]# yum install kernel-xen xen
>           >   >
>           >   >    Setting up Install Process
>           >   >
>           >   >    Resolving Dependencies
>           >   >
>           >   >    --> Running transaction check
>           >   >
>           >   >    ---> Package kernel.x86_64 0:2.6.31.9-174.fc12 set to be 
> installed
>           >   >
>           >   >    --> Processing Dependency: kernel-firmware >= 
> 2.6.31.9-174.fc12 for
>           >   >    package: kernel-2.6.31.9-174.fc12.x86_64
>           >   >
>           >   >    ---> Package xen.x86_64 0:3.4.2-1.fc12 set to be updated
>           >   >
>           >   >    --> Processing Dependency: xen-runtime = 3.4.2-1.fc12 for 
> package:
>           >   >    xen-3.4.2-1.fc12.x86_64
>           >   >
>           >   >    --> Processing Dependency: PyXML for package: 
> xen-3.4.2-1.fc12.x86_64
>           >   >
>           >   >    --> Running transaction check
>           >   >
>           >   >    ---> Package PyXML.x86_64 0:0.8.4-17.fc12 set to be updated
>           >   >
>           >   >    ---> Package kernel-firmware.noarch 0:2.6.31.9-174.fc12 
> set to be
>           updated
>           >   >
>           >   >    ---> Package xen-runtime.x86_64 0:3.4.2-1.fc12 set to be 
> updated
>           >   >
>           >   >    --> Processing Dependency: xen-libs = 3.4.2-1.fc12 for 
> package:
>           >   >    xen-runtime-3.4.2-1.fc12.x86_64
>           >   >
>           >   >    --> Processing Dependency: xen-hypervisor-abi = 3.4 for 
> package:
>           >   >    xen-runtime-3.4.2-1.fc12.x86_64
>           >   >
>           >   >    --> Running transaction check
>           >   >
>           >   >    ---> Package xen-hypervisor.x86_64 0:3.4.2-1.fc12 set to 
> be updated
>           >   >
>           >   >    ---> Package xen-libs.x86_64 0:3.4.2-1.fc12 set to be 
> updated
>           >   >
>           >   >    --> Finished Dependency Resolution
>           >   >
>           >   >    Dependencies Resolved
>           >   >
>           >   >
>           >
>           
> ================================================================================
>           >   >
>           >   >    Package Arch Version Repository Size
>           >   >
>           >   >
>           >
>           
> ================================================================================
>           >   >
>           >   >    Installing:
>           >   >
>           >   >    kernel x86_64 2.6.31.9-174.fc12 updates-released 20 M
>           >   >
>           >   >    xen x86_64 3.4.2-1.fc12 updates-released 898 k
>           >   >
>           >   >    Installing for dependencies:
>           >   >
>           >   >    PyXML x86_64 0.8.4-17.fc12 updates-released 906 k
>           >   >
>           >   >    xen-hypervisor x86_64 3.4.2-1.fc12 updates-released 2.9 M
>           >   >
>           >   >    xen-runtime x86_64 3.4.2-1.fc12 updates-released 4.0 M
>           >   >
>           >   >    Updating for dependencies:
>           >   >
>           >   >    kernel-firmware noarch 2.6.31.9-174.fc12 updates-released 
> 906 k
>           >   >
>           >   >    xen-libs x86_64 3.4.2-1.fc12 updates-released 165 k
>           >   >
>           >   >    Transaction Summary
>           >   >
>           >   >
>           >
>           
> ================================================================================
>           >   >
>           >   >    Install 5 Package(s)
>           >   >
>           >   >    Upgrade 2 Package(s)
>           >   >
>           >   >    Total download size: 29 M
>           >   >
>           >   >    Is this ok [y/N]: y
>           >   >
>           >   >    Downloading Packages:
>           >   >
>           >   >    (1/7): PyXML-0.8.4-17.fc12.x86_64.rpm | 906 kB 00:00
>           >   >
>           >   >    (2/7): kernel-2.6.31.9-174.fc12.x86_64.rpm | 20 MB 00:02
>           >   >
>           >   >    (3/7): kernel-firmware-2.6.31.9-174.fc12.noarch.rpm | 906 
> kB 00:00
>           >   >
>           >   >    (4/7): xen-3.4.2-1.fc12.x86_64.rpm | 898 kB 00:00
>           >   >
>           >   >    (5/7): xen-hypervisor-3.4.2-1.fc12.x86_64.rpm | 2.9 MB 
> 00:00
>           >   >
>           >   >    (6/7): xen-libs-3.4.2-1.fc12.x86_64.rpm | 165 kB 00:00
>           >   >
>           >   >    (7/7): xen-runtime-3.4.2-1.fc12.x86_64.rpm | 4.0 MB 00:00
>           >   >
>           >   >
>           >
>           
> --------------------------------------------------------------------------------
>           >   >
>           >   >    Total 6.7 MB/s | 29 MB 00:04
>           >   >
>           >   >    warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 
> signature: NOKEY, key
>           ID
>           >   >    57bbccba
>           >   >
>           >   >     Public key for xen-libs-3.4.2-1.fc12.x86_64.rpm is not 
> installed
>           >   >
>           >   >
>           >   >
>           >   >    Did Xen got installed with this?
>           >   >
>           >   >    Will the grub.conf be automatically updtaed after I run 
> this command.
>           >   >    (But I dont see my grub.conf being updated)
>           >   >
>           >   >    Any Idea what went wrong here.
>           >   >
>           >
>           >   Fedora 12 doesn't include Xen dom0 capable kernel, see:
>           >   [7][24]http://fedoraproject.org/wiki/Features/XenPvopsDom0
>           >
>           >   You need to get one of the 'testing' rpms, or compile it 
> yourself.
>           >
>           >   -- Pasi
>           >
>           >   _______________________________________________
>           >   Xen-users mailing list
>           >   [8][25]Xen-users@xxxxxxxxxxxxxxxxxxx
>           >   [9][26]http://lists.xensource.com/xen-users
>           >
>           > References
>           >
>           >    Visible links
>           >    1. mailto:[27]bderzhavets@xxxxxxxxx
>           >    2. 
> [28]http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git
>           >    3. mailto:[29]pasik@xxxxxx
>           >    4. mailto:[30]pasik@xxxxxx
>           >    5. mailto:[31]bodkekumar@xxxxxxxxx
>           >    6. mailto:[32]xen-users@xxxxxxxxxxxxxxxxxxx
>           >    7. [33]http://fedoraproject.org/wiki/Features/XenPvopsDom0
>           >    8. [34]http://mc/compose?to=Xen-users@xxxxxxxxxxxxxxxxxxx
>           >    9. [35]http://lists.xensource.com/xen-users
> 
>         -----Inline Attachment Follows-----
> 
>         _______________________________________________
>         Xen-users mailing list
>         [36]Xen-users@xxxxxxxxxxxxxxxxxxx
>         [37]http://lists.xensource.com/xen-users
> 
> References
> 
>    Visible links
>    1. mailto:bderzhavets@xxxxxxxxx
>    2. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git
>    3. mailto:bodkekumar@xxxxxxxxx
>    4. mailto:bodkekumar@xxxxxxxxx
>    5. mailto:bderzhavets@xxxxxxxxx
>    6. mailto:pasik@xxxxxx
>    7. mailto:xen-users@xxxxxxxxxxxxxxxxxxx
>    8. http://xen.org/
>    9. http://mc/compose?to=bodkekumar@xxxxxxxxx
>   10. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git
>   11. http://mc/compose?to=bderzhavets@xxxxxxxxx
>   12. http://mc/compose?to=bodkekumar@xxxxxxxxx
>   13. http://mc/compose?to=bodkekumar@xxxxxxxxx
>   14. http://mc/compose?to=pasik@xxxxxx
>   15. http://mc/compose?to=bderzhavets@xxxxxxxxx
>   16. http://mc/compose?to=xen-users@xxxxxxxxxxxxxxxxxxx
>   17. http://mc/compose?to=pasik@xxxxxx
>   18. http://mc/compose?to=bderzhavets@xxxxxxxxx
>   19. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git
>   20. http://mc/compose?to=pasik@xxxxxx
>   21. http://mc/compose?to=pasik@xxxxxx
>   22. http://mc/compose?to=bodkekumar@xxxxxxxxx
>   23. http://mc/compose?to=xen-users@xxxxxxxxxxxxxxxxxxx
>   24. http://fedoraproject.org/wiki/Features/XenPvopsDom0
>   25. http://mc/compose?to=Xen-users@xxxxxxxxxxxxxxxxxxx
>   26. http://lists.xensource.com/xen-users
>   27. http://mc/compose?to=bderzhavets@xxxxxxxxx
>   28. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git
>   29. http://mc/compose?to=pasik@xxxxxx
>   30. http://mc/compose?to=pasik@xxxxxx
>   31. http://mc/compose?to=bodkekumar@xxxxxxxxx
>   32. http://mc/compose?to=xen-users@xxxxxxxxxxxxxxxxxxx
>   33. http://fedoraproject.org/wiki/Features/XenPvopsDom0
>   34. http://mc/compose?to=Xen-users@xxxxxxxxxxxxxxxxxxx
>   35. http://lists.xensource.com/xen-users
>   36. http://mc/compose?to=Xen-users@xxxxxxxxxxxxxxxxxxx
>   37. http://lists.xensource.com/xen-users

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


 


Rackspace

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