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] xen compilation is giving errors

To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] xen compilation is giving errors
From: Tapas Mishra <mightydreams@xxxxxxxxx>
Date: Tue, 1 Mar 2011 07:41:13 +0530
Delivery-date: Mon, 28 Feb 2011 18:12:35 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=SZM8sJvqTDySeIm/IfjKMajP5NgUlVLQORCDb8EHBUQ=; b=Q2fVhi1gK+HhKgq67JZE0PsoSpssfVhoUmD5XqEn/+TnJss8yR41mQW1oOup3SVNnh OodVbMpMlK19qt+/AoxcEO/YUuw0LzuD0GHhlzKn9UKYPF491ZYx9AR5pBrqvxS1q3Mq +Hk54GYL7msoHNPC0DNX2DYpBsaCEnq0TQ2Y8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=JaVrFujF+XqgeSZG9Yk/y0ETyGvYXtw3BVo0cc9KnoLtUPloZO8h0Eno+0ARZ/hA7C klZPSLtaq4KtJXeyljSO2adwUIZ9uk12iQw5TQVmDAnF2naLVzHN+Ja/GF77/IVtPgXW F+WfxHWzSyMMkE3nuyXsRSs6JlJFrCgu1rv1M=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTikutVLU4VQ33g7svXGYR_ZFu9MdrBMFKFCj+=pn@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>
References: <AANLkTikyAErv3LRozjEPhibBX0K4sGf_C2SJuK4UmXCa@xxxxxxxxxxxxxx> <20110216085701.GA31840@xxxxxxxx> <AANLkTimY9E5j618XVUd9Dj1pGK7S6yd4-j9TPWg59Ug1@xxxxxxxxxxxxxx> <AANLkTikEuN5n0XCJVXvyNDGo0yEUO0LbaurFkibo4Tfr@xxxxxxxxxxxxxx> <20110216105748.GB31840@xxxxxxxx> <AANLkTinRD+XLEJtWPDQbtFr-aPrW+L8CUp_2Bnd-9WPi@xxxxxxxxxxxxxx> <AANLkTi=Uki0VmYkrTc4_OU7aLj+bXgexM5oqaETVBukJ@xxxxxxxxxxxxxx> <AANLkTi=M-keAsbfn+jOB6tcnpLpro5KCPjFqgKegquTo@xxxxxxxxxxxxxx> <AANLkTikxX2XLjxQbSnxvKcZJT47C_BCQxJBSikPPc0Qn@xxxxxxxxxxxxxx> <AANLkTinHkmn0uN21jGwx1obqD2bEOejH52Hjuobf5fVD@xxxxxxxxxxxxxx> <AANLkTinim62Y=uWYnMqWwMfypQ3xeFfkttWiCMzDCxiK@xxxxxxxxxxxxxx> <AANLkTikSPuCt6T6mHcHKhG=DXkJAr15bOZEuAT3W+70p@xxxxxxxxxxxxxx> <AANLkTi=Eu669qJ_dm_ZeQp-xqZ4KsU+-xhq1YUy0PQ2F@xxxxxxxxxxxxxx> <AANLkTimfUjPW+M_cRSGH4YSY4n08eNL_WEaGcHfJ7s8U@xxxxxxxxxxxxxx> <AANLkTimTLnToqUFWWfkh5wT_-brQzOqZ34PpKw4Y+cjy@xxxxxxxxxxxxxx> <AANLkTi=FCvgKEwXRVeu7y_g7j3DjgS_BnAxFtoqccQpC@xxxxxxxxxxxxxx> <AANLkTim2z4yG9W-oDKcY_uAGZvCXVcF4Yev_BFR=Op1S@xxxxxxxxxxxxxx> <AANLkTi=D2Zo+TVWY2m2YzPTgP6b3TcAKaQbgwEk9wHdY@xxxxxxxxxxxxxx> <AANLkTinFLe0GKEzBjrmARUNda_hq9yONJOn1cU_R0o62@xxxxxxxxxxxxxx> <AANLkTimHVh37RaGDVQQ4iv1+usKL7pt-rYeEf247NGTR@xxxxxxxxxxxxxx> <AANLkTikutVLU4VQ33g7svXGYR_ZFu9MdrBMFKFCj+=pn@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, Mar 1, 2011 at 1:27 AM, Tapas Mishra <mightydreams@xxxxxxxxx> wrote:
> On Mon, Feb 28, 2011 at 11:38 PM, Tapas Mishra <mightydreams@xxxxxxxxx> wrote:
>> On Mon, Feb 28, 2011 at 3:46 PM, Tapas Mishra <mightydreams@xxxxxxxxx> wrote:
>>> On Mon, Feb 28, 2011 at 3:42 PM, Fajar A. Nugraha <list@xxxxxxxxx> wrote:
>>>> On Mon, Feb 28, 2011 at 5:01 PM, Tapas Mishra <mightydreams@xxxxxxxxx> 
>>>> wrote:
>>>>> Well very surprisingly on a 64 bit system (this is also without VT)
>>>>>  I just transferred the tree I had pulled on the 32 bit system
>>>>> and here I did see the Xen options in
>>>>
>>>> If you can use 64bit, use it.
>>>>
>>>>> but I do not see the High Memory Support option in this 64 bit system
>>>>> surprisingly.
>>>>
>>>> PAE is only needed for 32bit.
>>> Ohh Ok thanks for clarifying that.
>>>>> What branch do you use?
>>>>
>>>> xen/next-2.6.32
>>>>
>>>> --
>> Sorry for my silly question but I thought it is better to ask.
>> I was able to compile the Dom0 pv-ops kernel successfully finally.
>>
>> What I did here was one additional minor thing.
>> Each time I invoked make I did some thing like
>> make O=/output/dir modules_install install
>> so in /output/dir
>> I have vmlinuz and I see
>> /output/dir/arch/x86_64/boot/bzImage
>> which is a symlink to
>> /output/dir/arch/x86/boot/bzImage
>> my doubt is which one should I use
>>
>> /output/dir/arch/x86_64/boot/bzImage
>> or
>> /output/dir/vmlinuz
>>  it is  a 64 bit system without VT but it seems the pv-ops kernel for
>> Dom0 has compiled successfully.
>> I tallied from the wiki here
>> http://wiki.xensource.com/xenwiki/XenParavirtOps
>> the symbols mentioned
>>   1. CONFIG_PARAVIRT_GUEST=y
>>   2. CONFIG_XEN=y
>>
>>   3. CONFIG_HVC_DRIVER=y and CONFIG_HVC_XEN=y
>> and
>>   4. CONFIG_XEN_BLKDEV_FRONTEND=m
>>   5. CONFIG_XEN_NETDEV_FRONTEND=m
>>
>> are enabled in .config and the compilation upto this point proceeded
>> without errors.
>
> and I was able to boot successfully but what I observed was
>  when I type xm info I get following error
>
> xm info
> Traceback (most recent call last):
>  File "/usr/sbin/xm", line 5, in <module>
>    from xen.xm import main
> ImportError: No module named xen.xm
>

So here I again installed the tools
make install-tools PYTHON_PREFIX_ARG= (here I had not undone the step
which I did in previous compile make install-tools)  and rebooted in
this new Xen-4.0.1
and 2.6.32.27 pv-ops Dom0 kernel
I can see xm help with options coming but if I type
xm info then

 I see following output

xm info
Error: Unable to connect to xend: No such file or directory. Is xend running?


Here I as root did /etc/init.d/xend start
but even after that I got the same message

xm info
Error: Unable to connect to xend: No such file or directory. Is xend running?

So what is missing in the above step?

-- 
http://mightydreams.blogspot.com

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