Mike Viau
2010-Sep-14 20:20 UTC
[Xen-users] make-kpkg (Debian based tool) does not build xen patched kernel
Hello list, I cannot get make-kpkg to build a Xenlinux type kernel into a Debian kernel binary on my Debian Squeeze x86_64 system. I am using GNU/Linux kernel sources tree (2.6.34.4) with Xen patches for this custom kernel. I am trying to use the make-kpkg command to build a working linux-image-2.6.34.4-xen-amd64 package for my system. The sources are vanilla (available from kernel.org) with patches available from: http://gentoo-xen-kernel.googlecode.com/files/xen-patches-2.6.34-4.tar.bz2 These sources compile a Xenlinux kernel and not a pv_ops one so the bug report for XEN and the kernel-package is not applicable (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574957) It seems that when the kernel_image target is used, a System.map-2.6.34.4-xen can not be generated, and therefore a FATAL error causes the make-kpkg process to fail! A System.map-2.6.34.4-xen can be generated when the kernel is built and packaged into a Debian binary with make deb-pkg. Can anyone else reproduce this problem? uname -a Linux BUBBLE 2.6.34.4-r61-xen #1 SMP Tue Sep 14 10:39:11 EDT 2010 x86_64 GNU/Linux apt-cache policy kernel-package kernel-package: Installed: 12.036 Candidate: 12.036 Version table: *** 12.036 0 500 http://mirror.csclub.uwaterloo.ca/debian/ squeeze/main amd64 Packages 100 /var/lib/dpkg/status -M _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Adams
2010-Sep-15 01:35 UTC
Re: [Xen-users] make-kpkg (Debian based tool) does not build xen patched kernel
Apologies for slightly O/T on this, as I can''t provide any help. I would like to ask why you don''t want to use pvops squeeze kernel? is it missing something you need? (hardware in kernel >2.6.32?) Cheers, Mark On Tuesday, September 14, 2010 21:20 BST, Mike Viau <viaum@sheridanc.on.ca> wrote:> > > > > > > > Hello list, > > I cannot get make-kpkg to build a Xenlinux type kernel into a Debian kernel binary on my Debian Squeeze x86_64 system. > > I > am using GNU/Linux kernel sources tree (2.6.34.4) with Xen patches for > this custom kernel. I am trying to use the make-kpkg command to build a > working linux-image-2.6.34.4-xen-amd64 package for my system. > > The > sources are vanilla (available from kernel.org) with patches available > from: > http://gentoo-xen-kernel.googlecode.com/files/xen-patches-2.6.34-4.tar.bz2 > > These > sources compile a Xenlinux kernel and not a pv_ops one so the bug > report for XEN and the kernel-package is not applicable (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574957) > > It > seems that when the kernel_image target is used, a > System.map-2.6.34.4-xen can not be generated, and therefore a FATAL > error causes the make-kpkg process to fail! > > A System.map-2.6.34.4-xen can be generated when the kernel is built and packaged into a Debian binary with make deb-pkg. > > Can anyone else reproduce this problem? > > > uname -a > Linux BUBBLE 2.6.34.4-r61-xen #1 SMP Tue Sep 14 10:39:11 EDT 2010 x86_64 GNU/Linux > > apt-cache policy kernel-package > kernel-package: > Installed: 12.036 > Candidate: 12.036 > Version table: > *** 12.036 0 > 500 http://mirror.csclub.uwaterloo.ca/debian/ squeeze/main amd64 Packages > 100 /var/lib/dpkg/status > > > -M > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mike Viau
2010-Sep-15 01:55 UTC
RE: [Xen-users] make-kpkg (Debian based tool) does not build xen patched kernel
> On Date: Wed, 15 Sep 2010 02:35:08 +0100 <mark@campbell-lange.net> wrote: > > Apologies for slightly O/T on this, as I can''t provide any help. > > I would like to ask why you don''t want to use pvops squeeze kernel? is it missing something you need? (hardware in kernel >2.6.32?) >I need usbback support for pvusb so that I pass (back and forth) usb devices. I have already tried the pvops squeeze kernel for this. Also I understand performance is better with the Xenlinux Dom0 kernels, although the pvops one has come a long way in terms of performance :) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
listmail
2010-Sep-15 04:01 UTC
Re: [Xen-users] make-kpkg (Debian based tool) does not build xen patched kernel
I don''t see your exact errors but if our make-kpkg build issues are the same then I am pretty sure my makefile hack still works on 2.6.34 + andrew''s patches. Check out attached file; you would apply it with ''patch -p0 < makefile.hack'' while inside the kernel source directory. On 9/14/2010 9:55 PM, Mike Viau wrote:> > On Date: Wed, 15 Sep 2010 02:35:08 +0100 <mark@campbell-lange.net> > wrote: > > > > Apologies for slightly O/T on this, as I can''t provide any help. > > > > I would like to ask why you don''t want to use pvops squeeze kernel? > is it missing something you need? (hardware in kernel >2.6.32?) > > > > I need usbback support for pvusb so that I pass (back and forth) usb > devices. I have already tried the pvops squeeze kernel for this. > > Also I understand performance is better with the Xenlinux Dom0 > kernels, although the pvops one has come a long way in terms of > performance :) > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Richie
2010-Sep-15 04:15 UTC
Re: [Xen-users] make-kpkg (Debian based tool) does not build xen patched kernel
P.S. It looks like Win32 Thunderbird mail client has added windows line endings upon attaching it to the previous email. Trying again from another box. listmail wrote:> I don''t see your exact errors but if our make-kpkg build issues are > the same then I am pretty sure my makefile hack still works on 2.6.34 > + andrew''s patches. Check out attached file; you would apply it with > ''patch -p0 < makefile.hack'' while inside the kernel source directory. > > On 9/14/2010 9:55 PM, Mike Viau wrote: >> > On Date: Wed, 15 Sep 2010 02:35:08 +0100 <mark@campbell-lange.net> >> wrote: >> > >> > Apologies for slightly O/T on this, as I can''t provide any help. >> > >> > I would like to ask why you don''t want to use pvops squeeze kernel? >> is it missing something you need? (hardware in kernel >2.6.32?) >> > >> >> I need usbback support for pvusb so that I pass (back and forth) usb >> devices. I have already tried the pvops squeeze kernel for this. >> >> Also I understand performance is better with the Xenlinux Dom0 >> kernels, although the pvops one has come a long way in terms of >> performance :) >> >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mike Viau
2010-Sep-17 21:09 UTC
RE: [Xen-users] make-kpkg (Debian based tool) does not build xen patched kernel
> listmail wrote: > I don''t see your exact errors but if our make-kpkg build issues are > the same then I am pretty sure my makefile hack still works on 2.6.34 > + andrew''s patches. Check out attached file; you would apply it with > ''patch -p0 < makefile.hack'' while inside the kernel source directory. >I have not gotten a chance yet to apply the previously attached patch to the makefile because I am away from my Linux machine... But, Did Andrew Lyon''s release these patches somewhere publicly on the internet? (e.g: Along with the Google gentoo-patches site somewhere?) Thanks. -M _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users