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

Re: [Xen-users] xen compilation is giving errors


  • To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Tapas Mishra <mightydreams@xxxxxxxxx>
  • Date: Tue, 1 Mar 2011 07:41:13 +0530
  • Delivery-date: Mon, 28 Feb 2011 18:12:35 -0800
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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