On Wed, Jul 8, 2009 at 6:32 AM, Pasi Kärkkäinen <span dir="ltr"><<a href="mailto:pasik@iki.fi">pasik@iki.fi</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Wed, Jul 08, 2009 at 01:22:30AM +0000, Lester M. wrote:<br>
> I downloaded the following rpms from M. Youngs fedora-people page. (<br>
> <a href="http://fedorapeople.org/%7Emyoung/dom0/" target="_blank">http://fedorapeople.org/~myoung/dom0/</a>)<br>
><br>
> kernel-firmware-2.6.31-0.1.2.37.rc1.git5.xendom0.fc12.noarch.rpm<br>
> kernel-headers-2.6.31-0.1.2.37.rc1.git5.xendom0.fc12.i586.rpm<br>
> kernel-PAE-2.6.31-0.1.2.37.rc1.git5.xendom0.fc12.i686.rpm<br>
> kernel-PAE-devel-2.6.31-0.1.2.37.rc1.git5.xendom0.fc12.i686.rpm<br>
><br>
> I am interested in *Testing* under the understanding that this is in beta.<br>
> My question is, after installation of the rpms, what configuration (config<br>
> files, grub, et al) is needed to successfully boot into dom0? I recall there<br>
> were a few hoops to jump through to get a working dom0.<br>
><br>
> I also have compiled the xen3.4 tools (hg clone<br>
> <a href="http://xenbits.xensource.com/xen-3.4-testing.hg" target="_blank">http://xenbits.xensource.com/xen-3.4-testing.hg</a>)<br>
><br>
<br>
</div>You could also get the xen 3.4.0 hypervisor/tools RPMs from rawhide..<br>
although from that xen-3.4-testing.hg repo you'll get 3.4.1-rc6 atm with a<br>
lot of fixes after 3.4.0.<br>
<br>
(I think the plan was to upload xen 3.4.1 to F11, later when it has been released<br>
upstream.)<br>
<div class="im"><br>
> Could somebody please post a workflow for getting this running? I have<br>
> installed the rpms and I am now like "Now what?" :-P<br>
<br>
</div>Modify your grub.conf to boot the xen hypervisor, add line /etc/fstab to<br>
mount xenfs and hmm.. I guess that's it :)<br>
<br>
See: <a href="http://wiki.xensource.com/xenwiki/XenParavirtOps" target="_blank">http://wiki.xensource.com/xenwiki/XenParavirtOps</a><br>
Pasting from that page:<br>
<br>
Working example grub.conf with VGA text console:<br>
<br>
title        Xen 3.4-unstable, kernel 2.6.30-rc3-tip<br>
root         (hd0,0)<br>
kernel        /boot/xen-3.4-unstable.gz dom0_mem=512M<br>
module        /boot/vmlinuz-2.6.30-rc3-tip root=/dev/sda1 ro<br>
module        /boot/initrd.img-2.6.30-rc3-tip<br>
<font color="#888888"><br>
<br>
-- Pasi<br>
</font></blockquote></div><br>Thank you Pasi,<br><br>Here is what my grub.conf entry looks like (with the xen-3.4.1 tools compiled,) after you install all 4 rpms from myoung's fedorapeople page: (<a href="http://fedorapeople.org/%7Emyoung/dom0/" target="_blank">http://fedorapeople.org/~myoung/dom0/</a>)<br>
<br>title Fedora (2.6.31-0.1.2.37.rc1.git5.xendom0.fc12.i686.PAE)<br>    root (hd0,0)<br>    kernel /vmlinuz-2.6.31-0.1.2.37.rc1.git5.xendom0.fc12.i686.PAE ro root=/dev/mapper/vg01-lv_root rhgb quiet nomodeset<br>    initrd /initrd-2.6.31-0.1.2.37.rc1.git5.xendom0.fc12.i686.PAE.img<br>
<br><br>When you compile and install xen-3.4.1 the following is created in /boot:<br>
<br>-rw-r--r--. 1 root root  498660 2009-07-07 17:08 xen-3.4.1-rc6.gz<br>
lrwxrwxrwx. 1 root root      16 2009-07-07 17:08 xen-3.4.gz -> xen-3.4.1-rc6.gz<br>
lrwxrwxrwx. 1 root root      16 2009-07-07 17:08 xen-3.gz -> xen-3.4.1-rc6.gz<br>
lrwxrwxrwx. 1 root root      16 2009-07-07 17:08 xen.gz -> xen-3.4.1-rc6.gz<br><br><br>I modified it per the pvops wiki page: (<a href="http://wiki.xensource.com/xenwiki/XenParavirtOps" target="_blank">http://wiki.xensource.com/xenwiki/XenParavirtOps</a>)<br>
<br>title Fedora (2.6.31-0.1.2.37.rc1.git5.xendom0.fc12.i686.PAE)<br>    root (hd0,0)<br>    kernel /xen-3.4.1-rc6.gz dom0_mem=512M<br>    module /vmlinuz-2.6.31-0.1.2.37.rc1.git5.xendom0.fc12.i686.PAE ro root=/dev/mapper/vg01-lv_root rhgb quiet<br>
    module /initrd-2.6.31-0.1.2.37.rc1.git5.xendom0.fc12.i686.PAE.img<br><br><br><br>This is what is in my /etc/fstab:<br><br>none                    /proc/xen               xenfs   defaults        0 0<br><br><br>So now I boot. When I boot the system the dom0 starts up instantly...., to the point where it says "scrubbing free ram" then the screen goes blank and all system activity ceases.<br>
<br>Has anyone tried these rpms? I am not sure if i can scream out "bug!" "bug!" because I cannot find anyone that has actually installed these rpms as part of a deployment process, (a workflow, a howto, a "step by step" edit "this" or edit "that".) so I am not sure if it is that I am missing a config parameter or not.<br>
<br>My hardware:<br><br>Lenovo thinkpad T60 (Centrino Duo processor)<br>ATI Radeon X1300 card<br>(Its an "oldie" but on RHEL 5.3 it runs xen very very well.)<br>