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

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


  • To: "Fajar A. Nugraha" <list@xxxxxxxxx>
  • From: Tapas Mishra <mightydreams@xxxxxxxxx>
  • Date: Wed, 16 Feb 2011 23:44:06 +0530
  • Cc: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 16 Feb 2011 10:15:08 -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 :cc:content-type:content-transfer-encoding; b=oTsxKeknmEir7EFRTwUlPKFNgekxNYbu39vWMRi9eP8d2JGtvy46Eq/LNC61kPtHXp p62SwHYpR37Qgz2KF+mWnm54FtMdhNvVnBLd7+qjOcxfbCmHJ9SoWUrV3bKXSRaC7HSo Z1vIrHczqPOJEuCrvkAmzNab6DVwAscDJu3Ao=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Wed, Feb 16, 2011 at 7:08 PM, Fajar A. Nugraha <list@xxxxxxxxx> wrote:
> On Wed, Feb 16, 2011 at 8:20 PM, Tapas Mishra <mightydreams@xxxxxxxxx> wrote:
>>> make install-stubdom
>>>
>> Ok upto here things worked very well but
>> I  installed apt-get build-dep xen-3.3
>> as this archive msg says
>> http://www.gossamer-threads.com/lists/xen/users/185290
>>
>>> and then compile dom0 kernel following
>>> http://wiki.xensource.com/xenwiki/XenParavirtOps.
>> I want to know if I can get a default .config file to compile a dom0
>> kernel for 32 bit and 64 bit
>> or I use the .config of my host OS (which right now does not have Xen) in 
>> /boot
>
> Depends on what you need. For example, for my RHEL5 test box I use
> Oracle's kernel-uek (2.6.32) as a base and add these xen-specific
> options:
>
> CONFIG_XEN=y
> CONFIG_XEN_PVHVM=y
> CONFIG_XEN_MAX_DOMAIN_MEMORY=128
> CONFIG_XEN_SAVE_RESTORE=y
> CONFIG_XEN_DEBUG_FS=y
> CONFIG_SWIOTLB_XEN=y
> CONFIG_MICROCODE_XEN=y
> CONFIG_XEN_DOM0=y
> CONFIG_XEN_PRIVILEGED_GUEST=y
> CONFIG_XEN_DOM0_PCI=y
> CONFIG_XEN_PCI_PASSTHROUGH=y
> CONFIG_PCI_XEN=y
> CONFIG_XEN_PCIDEV_FRONTEND=y
> CONFIG_XEN_BLKDEV_FRONTEND=y
> CONFIG_NETXEN_NIC=m
> CONFIG_XEN_NETDEV_FRONTEND=m
> CONFIG_XEN_KBDDEV_FRONTEND=y
> CONFIG_HVC_XEN=y
> CONFIG_XEN_FBDEV_FRONTEND=y
> CONFIG_XEN_BALLOON=y
> CONFIG_XEN_SCRUB_PAGES=y
> CONFIG_XEN_DEV_EVTCHN=y
> CONFIG_XEN_BACKEND=y
> CONFIG_XEN_NETDEV_BACKEND=m
> CONFIG_XEN_BLKDEV_BACKEND=m
> CONFIG_XEN_BLKDEV_TAP=m
> CONFIG_XEN_BLKBACK_PAGEMAP=m
> CONFIG_XEN_PCIDEV_BACKEND=m
> CONFIG_XEN_PCIDEV_BACKEND_VPCI=y
> CONFIG_XENFS=y
> CONFIG_XEN_COMPAT_XENFS=y
> CONFIG_XEN_SYS_HYPERVISOR=y
> CONFIG_XEN_MCE=y
> CONFIG_XEN_XENBUS_FRONTEND=y
> CONFIG_XEN_GNTDEV=y
> CONFIG_XEN_S3=y
> CONFIG_ACPI_PROCESSOR_XEN=y
> CONFIG_XEN_PLATFORM_PCI=m
>
> Not all of them need to be set manually, the above was just a snippet
> of my .config which contains "XEN".
>
> When customizing the kernel config I use "make menuconfig", and search
> where a particular config option would be (using "/").
> Since you use Ubuntu, you might want to start with the default ubuntu
> kernel config (/boot/config*) then adjust as necessary.
Ok 2-3 hours before I did this mistake I did
make world without using config from /boot
so I failed and got errors.
Next time I did make clean

but this time my internet connection got disconnected so it hanged here


 git clone -o xen -n
git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git
linux-2.6-pvops.git.tmp
Initialized empty Git repository in
/usr/src/xen-4.0.1/linux-2.6-pvops.git.tmp/.git/
remote: Counting objects: 1942112, done.
remote: Compressing objects: 100% (318994/318994), done.
Receiving objects:   7% (149253/1942112), 55.19 MiB | 75 KiB/s


I think these files are already present is there a way to by pass this
because now if I type
make world and things begin from scratch again then it again will
start downloading things from
internet which keeps disconnecting.
Is there a way to get rid of this situation.
-- 
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®.