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

Re: [Xen-users] RE: Build linux-image.deb via make-kpkg for 2.6.34.7 xenified aka Suse


  • To: Richie <listmail@xxxxxxxxxxxx>
  • From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
  • Date: Tue, 26 Oct 2010 06:14:50 -0700 (PDT)
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 26 Oct 2010 06:16:17 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=SETCcNmz2ITGEaPtP2+hkeWuRRCRrPf08O7NmVbQjs44FQx0srPvsn2T6DjcX3JAd458OO6ZQoCoYUVa7lVMc027lYbbN6MECvT+hv3L1+Wjc6kPQRsILWUbbXr/BbBC6TONLaoKuI1mn2Gd5f7vcF00i6PsH7u4bi5c5NKQtmw=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

> I think you meant I'm wrong about having to do with make-kpkg.  If Xen did not support > bzImage until 3.4.0 then I think that had plenty to do with why the Makefile is patched > the way it is.

Yes. You are right ;)


> With andrew's patch applied it appears that the else condition would still allow for also > building the bzImage target but that fails even when passing the --bzimage switch to    make-kpkg.  Either something is wrong with the Makefile

 Yes . I believe arch/x86/Makefile gets created only for "vmlinuz" .
 Patch just  changes it's code, commenting out wrong part of it.
 You may compare versions of arch/x86/Makefile for XenLinux and PVOPS  and clearly see what patch does.

>  or maybe there are some arch Xen specific build rules coming in to play.

Might be. I am not sure

Boris.

--- On Tue, 10/26/10, Richie <listmail@xxxxxxxxxxxx> wrote:

From: Richie <listmail@xxxxxxxxxxxx>
Subject: Re: [Xen-users] RE: Build linux-image.deb via make-kpkg for 2.6.34.7 xenified aka Suse
To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Tuesday, October 26, 2010, 8:51 AM

On 10/26/2010 05:02 AM, Boris Derzhavets wrote:
> I could be wrong here but I think this is a matter of xen itself did not
> always support bzImage kernel boot until sometime later in version 3.X
> and make-kpkg hasn't been updated to allow for it.

Yes, you are wrong.  It has nothing to do with Xen.
make-kpkg requires presence arch/x86/boot/bzImage to be built , otherwise
it fails.
Patch applies to arch/x86/Makefile in the way which build required bzImage,
not vmlinuz , as happens without it.

Boris.
BTW . I guess  Xen support bzImage starting with 3.4.0

-

I think you meant I'm wrong about having to do with make-kpkg.  If Xen did not support bzImage until 3.4.0 then I think that had plenty to do with why the Makefile is patched the way it is.  make-kpkg is able to build vmlinuz or bzImage as you want with a vanilla kernel, so why not with a Xenified kernel?

With andrew's patch applied it appears that the else condition would still allow for also building the bzImage target but that fails even when passing the --bzimage switch to make-kpkg.  Either something is wrong with the Makefile or maybe there are some arch Xen specific build rules coming in to play.


_______________________________________________
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®.