WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] Building from Source

To: "'Zhi Wang'" <xenlando@xxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Building from Source
From: "Dustin Henning" <Dustin.Henning@xxxxxxxxxxx>
Date: Thu, 23 Oct 2008 12:20:58 -0400
Cc:
Delivery-date: Thu, 23 Oct 2008 09:22:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7aa7c13a0810230833q5d4b84f8ybad40c0397b057a7@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: PRD, Inc.
References: <7aa7c13a0810230833q5d4b84f8ybad40c0397b057a7@xxxxxxxxxxxxxx>
Reply-to: Dustin.Henning@xxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ack1JMgpuBO3gDl6RF2PU+7EBxrZzwABhwGw

Zhi,

                Regarding step 10 below, are you using usbdevice=’tablet’ in your domU config instead of the usbdevice=’mouse’ default?  If not, doing so may resolve the mouse sync issue to a far better degree than simply disabling the Windows option you mention.

                Dustin

 

From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Zhi Wang
Sent: Thursday, October 23, 2008 11:33
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Building from Source

 

I spent many hours to try to build a working Xen from source code. This is what I found for fedora 9.

Build HVM client in Fedora 9

  1. When installing fedora core 9, partition the disk using LVM2. Create two virtual group: one for host and the other one for guest. Select the development tools when install the OS.
  2. yum install mercurial
  3. yum install dev86 (for bcc, hvmloader need this)
  4. mv /lib/tls /lib/tls.disabled
  5. echo "hwcap 0 nosegneg" > /etc/ld.so.conf.d/nosegneg.conf
  6. ldconfig
  7. make world
  8. ./install
  9. create an initrd by: 
    1. # depmod 2.6.18-xen
    2. # mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod initrd-2.6.18-xen.img 2.6.18-xen
  10. If you will use, VNC's mouse maybe out of sync with the host, in Windows, disable the "Enhance Pointer Precision" option in the mouse configuration

As in steps 4 and 5, I tried to disable the nosegneg warning during Xen start. But it may sometimes still appear. I have no idea why.

About the Linux distribution, some developers of Xen I happen to know use RHEL 5.2. Maybe you can try CentOS5.2.

Thanks

>Xen Users,

>

>I have always used XEN from the debian/ubuntu repositories, as I have had very good experiences with the repository version.  However, I now find myself needing to build XEN from source, so that I can boot BSD based >guests (needs to be compiled with vmxassist=n).

>

>I have now spent well over 12 hours trying to get a build-from source installation of XEN 3.3 on Ubuntu.  I have finally gotten myself to a somewhat working place - Dom0 now boots (although I get some error messages >about apparmor support, etc), but when I go to create a DomU, it instantly flips the DomU back off.  I get a message from QEMU in the qemu-domain log.... "I/O request not ready: 0, pty:0, port: 0, data: 0, count: 0, size: 0".  >Ugh.

>

>Most likely, I need to start over (again), but I feel like I'm crawling through this process.  Are there any good guides out there on building 3.3 from source on a clean system, or a repository with VMXASSIST=n already >built in, or a workaround to rebuilding the whole thing?

>

>I'll definitely owe someone a beer.

>

>Thank You,

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>