Bug#301603: Testing from svn (was Re: Bug#301603: Compile fails linking drivers/scsi/qla2xxx/build.o)
On Thu, Mar 31, 2005 at 09:13:31AM -0600, Ron Johnson wrote: > Thank you. > > Is there a web page somewhere that would tell me how to pull this > package out of subversion, in order to test it? Sure, you can get the kernel-source-2.6.11-2.6.11 tree from svn using svn co svn://svn.debian.org/svn/kernel/trunk/kernel/source/kernel-source-2.6.11-2.6.11 If you trim the path back to trunk/ you will get all the stuff maintained by the kernel-tree. Note that this does not include the kernel source itself, just the debian packaging and patches. Here is a quick guide I jsut wrote to building the tree. -- Horms # Prebuilt images for testing # # I am working on getting prebuilt images available on # http://debian.vergenet.net/testing/ # They will be ideitifiable as the following will be # appended to the debian version hls.MMDD # e.g. kernel-source-2.6.11_2.6.11-1.hls.20050331 # Building 2.6.11 Images rm -r k mkdir -p k/{source,svn,i386} cd k ( cd source && apt-get source kernel-source-2.6.11; ) ( cd svn && svn co svn://svn.debian.org/svn/kernel/trunk/kernel/source/kernel-source-2.6.11-2.6.11 ; ) rsync --exclude .svn -av svn/kernel-source-2.6.11-2.6.11/ \ source/kernel-source-2.6.11-2.6.11/ # Now you can build the package ( cd source/kernel-source-2.6.11-2.6.11/ ; dpkg-buildpackage -us -uc -rfakeroot; ) #The resulting packages will be in source/ which you can then install sudo dpkg -i source/kernel-source-2.6.11_2.6.11-2_all.deb #And use to build a kernel ( cd i386 && tar -jxf /usr/src/kernel-source-2.6.11.tar.bz2; ) # add patches and config kernel # e.g. ( cd svn && svn co svn://svn.debian.org/svn/kernel/trunk/kernel/i386/kernel-image-2.6.11-i386-2.6.11 ; ) cp svn/kernel-image-2.6.11-i386-2.6.11/config/686 \ i386/kernel-source-2.6.11/.config #or cp /usr/src/headers-2.6.11-2-686/.config . cd i386/kernel-source-2.6.11 make oldconfig make-kpkg clean fakeroot make-kpkg --initrd --revision=mykernel.1.0 kernel_image -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#301603: Compile fails linking drivers/scsi/qla2xxx/build.o
tags 301603 +pending tags 301936 +pending thanks On Sat, Mar 26, 2005 at 06:23:26PM -0800, aj wrote: > Package: kernel-source-2.6.11 > Version: 2.6.11-1 > Severity: important > Justification: fails to build from source > > Looks like the QLA2XXX stuff is supposed to be disabled. Unfortunately > something keeps setting CONFIG_SCSI_QLA2XXX=y to true in my .config > everytime I make. [snip] The QLA driver was removed from the kernel-source-2.6.11 tree (presumably because of some DFSG non-freeness), however it seems that this wasn't done particularly cleanly. I have put the following patch into SVN, and removed drivers/scsi/qla2xxx/Kconfig and drivers/scsi/qla2xxx/Makefile from the tree. It turns out to be quite difficult to remove drivers/scsi/qla2xxx/ with the current build process, so it will have to stay. This change should appear in the next release, testing appreciated. -- Horms # origin: Debian (horms) # cset: n/a # inclusion: not suitable for upstream # revision date: 2005-03-31 # description: tidy up qla2xxx non-free prune --- a/drivers/scsi/Makefile 2005-03-31 16:23:04.0 +0900 +++ b/drivers/scsi/Makefile 2005-03-31 16:23:29.0 +0900 @@ -79,7 +79,6 @@ obj-$(CONFIG_SCSI_QLOGIC_ISP) += qlogicisp.o obj-$(CONFIG_SCSI_QLOGIC_FC) += qlogicfc.o obj-$(CONFIG_SCSI_QLOGIC_1280) += qla1280.o -obj-$(CONFIG_SCSI_QLA2XXX) += qla2xxx/ obj-$(CONFIG_SCSI_PAS16) += pas16.o obj-$(CONFIG_SCSI_SEAGATE) += seagate.o obj-$(CONFIG_SCSI_FD_8xx) += seagate.o --- a/drivers/scsi/Kconfig 2005-03-31 16:32:50.0 +0900 +++ b/drivers/scsi/Kconfig 2005-03-31 16:32:53.0 +0900 @@ -1340,8 +1340,6 @@ To compile this driver as a module, choose M here: the module will be called qlogicpti. -source "drivers/scsi/qla2xxx/Kconfig" - config SCSI_SEAGATE tristate "Seagate ST-02 and Future Domain TMC-8xx SCSI support" depends on X86 && ISA && SCSI && BROKEN -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#301603: Compile fails linking drivers/scsi/qla2xxx/build.o
Package: kernel-source-2.6.11 Version: 2.6.11-1 Followup-For: Bug #301603 Problem reproduced CONFIG_SCSI_QLA2XXX=y appears in the config file when you run make menuconfig (or make config) and only save the default settings. 1) run make menuconfig 2) save the config w/out changing any default options 3) grep -ri qla2xxx .config -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.10 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages kernel-source-2.6.11 depends on: ii binutils 2.15-5 The GNU assembler, linker and bina ii bzip2 1.0.2-5high-quality block-sorting file co ii coreutils [fileutils] 5.2.1-2The GNU core utilities -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#301603: Compile fails linking drivers/scsi/qla2xxx/build.o
Package: kernel-source-2.6.11 Version: 2.6.11-1 Severity: important Justification: fails to build from source Looks like the QLA2XXX stuff is supposed to be disabled. Unfortunately something keeps setting CONFIG_SCSI_QLA2XXX=y to true in my .config everytime I make. This fails because there are no source files in drivers/scsi/qla2xxx/ just a Kconfig and a mostly empty Makefile. I'm guessing one these files may be in err: # grep -r 2XXX * drivers/scsi/qla2xxx/Kconfig:config SCSI_QLA2XXX drivers/scsi/Makefile:obj-$(CONFIG_SCSI_QLA2XXX)+= qla2xxx/ include/linux/autoconf.h:#define CONFIG_SCSI_QLA2XXX 1 include/config/scsi/qla2xxx.h:#define CONFIG_SCSI_QLA2XXX 1 Though it looks like you should really remove the whole 2XXX directory from include and source if you're not gonna have it. -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.10-tengwar Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages kernel-source-2.6.11 depends on: ii binutils 2.15-5 The GNU assembler, linker and bina ii bzip2 1.0.2-5high-quality block-sorting file co ii coreutils [fileutils] 5.2.1-2The GNU core utilities -- debconf-show failed -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]