{"id":159,"date":"2010-07-31T23:02:31","date_gmt":"2010-07-31T22:02:31","guid":{"rendered":"http:\/\/www.p2vpro.com\/?p=159"},"modified":"2010-07-31T23:32:14","modified_gmt":"2010-07-31T22:32:14","slug":"where-was-i","status":"publish","type":"post","link":"https:\/\/www.p2vpro.com\/?p=159","title":{"rendered":"Where was I?"},"content":{"rendered":"<p>Had another job to do but I&#8217;m back again. I&#8217;m in the process of trying to compile xen-4.0.0 on my fresh install of Ubuntu 10.04 LTS. Downloaded and extracted the source code and started on the README file, as you do. This time I have taken much more care to ensure I have the pre-requisites listed. Mind you, this is a bit of an art in itself&#8230;asking for a development install of x11 translates into which packages exactly?<\/p>\n<p>I&#8217;ve been using the Synaptic Package Manager on Ubuntu and it&#8217;s built-in search function to make educated guesses about what was required. I have saved the log file of what I chose, to be thorough.<\/p>\n<p>So continuing with a &#8220;make world&#8221; trundles along for a while before failing because of <code>\/bin\/sh: git: not found<\/code>. This is an easy fix by installing <code>git-core<\/code> package. Guess the README missed that one.<\/p>\n<p>After it&#8217;s done all it&#8217;s git stuff it stops again, this time with the prompt<\/p>\n<p><code>Enable support for Xen PCI passthrough devices (XEN_PCI_PASSTHROUGH) [N\/y\/?] (NEW)<\/code>.<\/p>\n<p>Lets give that a whirl, and the next one<\/p>\n<p><code>Paravirtualization layer for spinlocks (PARAVIRT_SPINLOCKS) [N\/y\/?] (NEW)<\/code><\/p>\n<p>followed by<\/p>\n<p><code>Xen PCI Frontend (XEN_PCIDEV_FRONTEND) [N\/m\/y\/?] (NEW)<\/code><\/p>\n<p>I&#8217;m typing these in as they crop up. How many more I wonder? Makefile must be slightly out of date.<\/p>\n<p><code>SCSI tape drive support for Smart Array 5xxx (CISS_SCSI_TAPE) [N\/y\/?] (NEW)<\/code><br \/>\n<code>Fusion MPT ScsiHost drivers for FC (FUSION_FC) [N\/m\/y\/?] (NEW)<\/code><br \/>\n<code>Maximum number of scatter gather entries (16-128) (FUSION_MAX_SGE) [128] (NEW)<\/code><br \/>\n<code>Fusion MPT misc device (ioctl) driver (FUSION_CTL) [N\/m\/y\/?] (NEW)<\/code><br \/>\n<code>Fusion MPT logging facility (FUSION_LOGGING) [N\/y\/?] (NEW)<\/code><br \/>\n<code>Net channel 2 support (XEN_NETCHANNEL2) [N\/m\/y\/?] (NEW)<\/code><\/p>\n<p>OK, this is getting tedious, skip the rest except to say I chose Virtual PCI for the backend.<\/p>\n<p>The next error is<\/p>\n<p><code>*** check_uuid_devel FAILED: missing uuid headers (package uuid-dev)<\/code><\/p>\n<p>which doesn&#8217;t stop it in it&#8217;s tracks swiftly followed by<\/p>\n<p><code>*** check_xgettext FAILED: can't find xgettext<\/code><\/p>\n<p>shortly after which it stops.<\/p>\n<p>Both the above easy to rectify by installed <code>uuid-dev<\/code> package and <code>gettext<\/code> package. More minus points for the README file.<\/p>\n<p>I&#8217;ve re-typed <code>make<\/code> at this point (not <code>make world<\/code> because I don&#8217;t want to answer all those questions again). Soon falls over again though in the firmware section with<\/p>\n<p><code>Require dev86 rpm or bin86 &amp; bcc debs version &gt;= 0.16.14 to build firmware!<\/code><\/p>\n<p>That can be fixed by installing the <code>bcc<\/code> package and it&#8217;s dependency.<\/p>\n<p><code>Next stop, need to Download and install Intel ACPI CA<\/code><\/p>\n<p>Which is fixed by installing the <code>iasl<\/code> package.<\/p>\n<p>This next one looks a bit more tricky. All kinds of confusion following from <code>xen\/lowlevel\/xc\/xc.c:7:20:error: Python.h: No such file or directory<\/code><\/p>\n<p>Running a find for <code>Python.h<\/code> reveals one in <code>\/usr\/include\/python3.1\/Python.h<\/code>. There is a <code>\/usr\/include\/python2.6<\/code> directory but there was no <code>Python.h<\/code> in there. Thanks to Google that is quickly solved by installing the <code>python2.6-dev<\/code> package.<\/p>\n<p>Next it complains that <code>makeinfo<\/code> is missing, fixed by installing the <code>texinfo<\/code> package.<\/p>\n<p>And there at last we seem to have it! Although LateX is required for the documentation, it says.<\/p>\n<p>I started this session at 20:46 and it is now 23:31 so that&#8217;s how long it took me to build Xen. Haven&#8217;t tested it yet though \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Had another job to do but I&#8217;m back again. I&#8217;m in the process of trying to compile xen-4.0.0 on my fresh install of Ubuntu 10.04 LTS. Downloaded and extracted the source code and started on the README file, as you &hellip; <a href=\"https:\/\/www.p2vpro.com\/?p=159\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[23,6],"class_list":["post-159","post","type-post","status-publish","format-standard","hentry","category-virtualisation","tag-ubuntu","tag-xen"],"_links":{"self":[{"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/posts\/159","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=159"}],"version-history":[{"count":8,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/posts\/159\/revisions"}],"predecessor-version":[{"id":165,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/posts\/159\/revisions\/165"}],"wp:attachment":[{"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}