Your message dated Fri, 10 Oct 2008 09:02:14 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#370651: fixed in kernel-package 11.004
has caused the Debian Bug report #370651,
regarding The headers from official kernel team header packages are not
supported
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
370651: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=370651
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: kernel-package
Version: 10.047
Severity: normal
I tried to compile third-party modules for 2.6.16, following the
description in README.modules. It turned out that the descriptions
could and should be improved.
Below USER INSTRUCTIONS, the second item says:
,----
| 2) Get kernel sources from your favorite location. (For
| pre-packaged kernels, it may be possible to build third
| party modules by getting the kernel-headers package that
| corresponds to the kernel-image package you have installed,
| and pointing the build system of the kernel headers -- some
| packaged modules packages provide an easy way to use the
| kernel-headers packages, by allowing you to specify it like so:
| [cd $MODULE_LOC/$module/;
| ./debian/rules KSRC=/usr/src/kernel-headers-X.Y.ZZ binary
| ])
`----
I'm using a debian kernel, and therefore wanted to try the "headers
only" way. However, the command above does not work, since make-kpkg
must first create the debian/ subdirectory in the modules directories.
Maybe you mean "prepackaged modules" - but I was using the sources for
three modules packaged for non-free, madwifi, thinkpad and fglrx, and
those come with tarballs in /usr/src/ that do not contain a debian/
subdirectory. I don't know whether any prepackaged module debs exist
that already contain a debian/ directory. Anyway, it should be
explained how it's possible to compile modules with headers only for any
kind of module sources.
So this method does not work.
I then fetched the complete kernel sources, unpacked them to
/usr/src/linux-source-2.6.16/, copied /boot/config-2.6.16-2-686 to
.config and further followed the instructions:
,----
| 5) If you are building a kernel that is custom configured to your
| specifications at this time, go ahead and configure the
| kernel with `make config', `make menuconfig', or `make
| xconfig.' To build a new kernel-image package, execute:
| make-kpkg --revision number kernel_image
`----
So the configure part is done, but I don't want to build a new
kernel-image package at all, so I skipped this part.
,----
| 6) To build the actual module packages, execute:
| make-kpkg modules_image
| This will generate a <name>-modules-<kernel version>.deb file in
| the parent directory. The revision you supplied while building the
| kernel shall be used automatically.
|
| If you are using an official Debian kernel-image with specific
| options (kernel-image-x.y.z-foo), you should append this version
| for modules compilation:
| make-kpkg --append-to-version -foo modules_image
`----
Since this refers to using official Debian kernels, and it doesn't make
sense to recreate the kernel image then, I thought it should also work
this way. But it doesn't. First, make-kpkg complains that I need to
run at least "make-kpkg debian" first. I did that, but after that
include/linux/version.h does not exist, and I get an error message that
versions don't match (the one from version.h is, well, the empty
string). This is the only point where I think not only README.modules
needs adjustment, but also the error message from make-kpkg: It should
tell me what I have to run to make the modules_image target actually
work.
Since I and my computer had enough time, I just compiled a (useless)
kernel image along with the modules images, and that worked fine. I've
also been told that I could have used module-assistant which would
download the needed headers for me. But I think the information in
README.modules should be better understandable and more correct.
Unfortunately I don't know yet how I should have proceeded, and
therefore cannot provide a better text.
If this bug report leads to a discussion after which I know better how
to do it, I offer to write a patch. But maybe you already have
something prepared, or it can be copied from somewhere?
Regards, Frank
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (99, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.16-2-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages kernel-package depends on:
ii dpkg 1.10.28 Package maintenance system for Deb
ii dpkg-dev 1.10.28 Package building tools for Debian
ii file 4.12-1 Determines file type using "magic"
ii gcc [c-compiler] 4:3.3.5-3 The GNU C compiler
ii gcc-3.3 [c-compiler] 1:3.3.5-13 The GNU C compiler
ii gettext 0.14.4-2 GNU Internationalization utilities
ii make 3.81-1bpo1 The GNU version of the "make" util
ii perl 5.8.4-8sarge4 Larry Wall's Practical Extraction
ii po-debconf 1.0 manage translated Debconf template
-- no debconf information
--
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX)
--- End Message ---
--- Begin Message ---
Source: kernel-package
Source-Version: 11.004
We believe that the bug you reported is fixed in the latest version of
kernel-package, which is due to be installed in the Debian FTP archive:
kernel-package_11.004.dsc
to pool/main/k/kernel-package/kernel-package_11.004.dsc
kernel-package_11.004.tar.gz
to pool/main/k/kernel-package/kernel-package_11.004.tar.gz
kernel-package_11.004_all.deb
to pool/main/k/kernel-package/kernel-package_11.004_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Manoj Srivastava <[EMAIL PROTECTED]> (supplier of updated kernel-package
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Fri, 10 Oct 2008 02:47:49 -0500
Source: kernel-package
Binary: kernel-package
Architecture: source all
Version: 11.004
Distribution: unstable
Urgency: high
Maintainer: Manoj Srivastava <[EMAIL PROTECTED]>
Changed-By: Manoj Srivastava <[EMAIL PROTECTED]>
Description:
kernel-package - A utility for building Linux kernel related Debian packages.
Closes: 370651 423721
Changes:
kernel-package (11.004) unstable; urgency=high
.
* [c68891f] A new bug fix version )closes serious bug).
This is a pure documentation change, it removes language that might
mislead people into thinking that there is any relation between
kernel-package and official kernels. (Closes: #370651)
* [680cbd4] Upstream fixed the problem of thinking the sources were dirty
* Bug fix: "Bogus version number when building from Git", thanks to Josh
Triplett (Closes: #423721).
Checksums-Sha1:
c9030178e19e7b17fd3e0e3f0c947c1d51e5f63d 864 kernel-package_11.004.dsc
e7d5d126380888ca40e3a0b40ff488fb61820fb4 522399 kernel-package_11.004.tar.gz
e4ab0bba83857f05e5da71ad63ce9f46d9ccc2ca 521642 kernel-package_11.004_all.deb
Checksums-Sha256:
36ad8f49b24d96ac9141193ad0dd7f5744ffef7fd1de2f713a7e72b8fee87f79 864
kernel-package_11.004.dsc
ac984ef1cb710c3eb2f75b29872caa64e740f0e0ae1ae6aad4ca5b255b87e0ee 522399
kernel-package_11.004.tar.gz
05434a5dfc8fa2a546bac37f1bacaacae8dcab1ee2e91ce6e44f9de42e87181f 521642
kernel-package_11.004_all.deb
Files:
e43b405dd43488db88655e3ab0c0a665 864 misc optional kernel-package_11.004.dsc
df8ca81ebb100a4380af1adf93f02e0a 522399 misc optional
kernel-package_11.004.tar.gz
b27a62a2607272f7526f7246c41b6b5f 521642 misc optional
kernel-package_11.004_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkjvECQACgkQIbrau78kQkwr0QCfcHZvB5nERcpkLB4FoH+x27zh
yQ0An1NCMqaODZoG7uKHpNHTkg1U47PM
=mhZO
-----END PGP SIGNATURE-----
--- End Message ---