Debian Bug report logs -
#529038
dkms uses mkinitrd not mkinitramfs
Reported by: Neil <neil.stewart@warwick.ac.uk>
Date: Sun, 17 May 2009 12:24:01 UTC
Severity: important
Found in version 2.0.22.0-0
Fixed in version dkms/2.0.22.0-1
Done: Giuseppe Iuculano <giuseppe@iuculano.it>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, neil.stewart@warwick.ac.uk, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#529038; Package dkms.
(Sun, 17 May 2009 12:24:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Neil <neil.stewart@warwick.ac.uk>:
New Bug report received and forwarded. Copy sent to neil.stewart@warwick.ac.uk, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>.
(Sun, 17 May 2009 12:24:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: dkms
Version: 2.0.22.0-0
Severity: important
Hello.
The dkms package in testing fails to install modules bcm5974-dkms (from
http://bitmath.org/git/bcm5974-dkms.git) and usbhid-dkms (from
http://bitmath.org/git/usbhid-dkms.git). The dkms .deb package from Dell
(at http://linux.dell.com/projects.shtml installed these modules correctly.
The problem is that Debian testing dkms is trying to use mkinitrd and fails
as mkinitrd is not available in stable or testing. Dell dkms uses
mkinitramfs (which is available) and is successful.
Thank you for maintaining this package!
Best,
Neil.
-- System Information:
Debian Release: 5.0.1
APT prefers stable
APT policy: (990, 'stable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to POSIX)
Shell: /bin/sh linked to /bin/bash
Versions of packages dkms depends on:
ii build-essential 11.4 Informational list of build-essent
ii dpkg-dev 1.14.25 Debian package development tools
ii gcc 4:4.3.2-2 The GNU C compiler
ii make 3.81-5 The GNU version of the "make" util
ii module-init-tools 3.4-1 tools for managing Linux kernel mo
Versions of packages dkms recommends:
ii fakeroot 1.11 Gives a fake root environment
ii linux-headers-2.6-amd64 2.6.26+17+lenny1 Header files for Linux 2.6-amd64
ii linux-headers-2.6.26-2- 2.6.26-15lenny2 Header files for Linux 2.6.26-2-am
pi linux-image-2.6.26-1-am 2.6.26-13lenny2 Linux 2.6.26 image on AMD64
ii linux-image-2.6.26-2-am 2.6.26-15lenny2 Linux 2.6.26 image on AMD64
ii lsb-release 3.2-20 Linux Standard Base version report
ii menu 2.1.41 generates programs menu for all me
ii patch 2.5.9-5 Apply a diff file to an original
ii sudo 1.6.9p17-2 Provide limited super user privile
dkms suggests no packages.
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#529038; Package dkms.
(Sun, 17 May 2009 13:00:05 GMT) (full text, mbox, link).
Acknowledgement sent
to A Mennucc <mennucc1@debian.org>:
Extra info received and forwarded to list. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>.
(Sun, 17 May 2009 13:00:05 GMT) (full text, mbox, link).
Message #10 received at 529038@bugs.debian.org (full text, mbox, reply):
Package: dkms
Followup-For: Bug #529038
let me mention that the dell version of dkms gets it wrong, too
since it calls mkinitramfs , but it should call
update-initramfs -u
that also computes and stores some checksums
a.
-- System Information:
Debian Release: 5.0.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages dkms depends on:
ii build-essential 11.4 Informational list of build-essent
ii dpkg-dev 1.14.25 Debian package development tools
ii gcc 4:4.3.2-2 The GNU C compiler
ii make 3.81-5 The GNU version of the "make" util
ii module-init-tools 3.4-1 tools for managing Linux kernel mo
Versions of packages dkms recommends:
ii fakeroot 1.11 Gives a fake root environment
ii linux-headers-2.6.26-1-6 2.6.26-13lenny2 Header files for Linux 2.6.26-1-68
ii linux-headers-2.6.26-2-6 2.6.26-15lenny2 Header files for Linux 2.6.26-2-68
ii linux-image-2.6.26-1-686 2.6.26-13lenny2 Linux 2.6.26 image on PPro/Celeron
ii linux-image-2.6.26-2-686 2.6.26-15lenny2 Linux 2.6.26 image on PPro/Celeron
ii lsb-release 3.2-20 Linux Standard Base version report
ii menu 2.1.41 generates programs menu for all me
ii patch 2.5.9-5 Apply a diff file to an original
ii sudo 1.6.9p17-2 Provide limited super user privile
dkms suggests no packages.
-- no debconf information
--
Andrea Mennucc
"E' un mondo difficile. Che vita intensa!" (Tonino Carotone)
Information forwarded
to debian-bugs-dist@lists.debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#529038; Package dkms.
(Sun, 17 May 2009 13:03:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Giuseppe Iuculano <giuseppe@iuculano.it>:
Extra info received and forwarded to list. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>.
(Sun, 17 May 2009 13:03:04 GMT) (full text, mbox, link).
Message #15 received at 529038@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tags 529038 pending
thanks
Hi Neil,
Neil ha scritto:
> The problem is that Debian testing dkms is trying to use mkinitrd and fails
> as mkinitrd is not available in stable or testing. Dell dkms uses
> mkinitramfs (which is available) and is successful.
>
> Thank you for maintaining this package!
Thank you for your bug report, this is already fixed in our git repository.
Cheers,
Giuseppe.
[signature.asc (application/pgp-signature, attachment)]
Tags added: pending
Request was from Giuseppe Iuculano <giuseppe@iuculano.it>
to control@bugs.debian.org.
(Sun, 17 May 2009 13:03:05 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#529038; Package dkms.
(Sun, 17 May 2009 13:21:02 GMT) (full text, mbox, link).
Acknowledgement sent
to mennucc1@debian.org:
Extra info received and forwarded to list. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>.
(Sun, 17 May 2009 13:21:02 GMT) (full text, mbox, link).
Message #22 received at 529038@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
hi,
this attached patch will use
the proper dpkg-trigger
to update the initrd
a.
[diff (text/plain, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#529038; Package dkms.
(Sun, 17 May 2009 13:51:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Giuseppe Iuculano <giuseppe@iuculano.it>:
Extra info received and forwarded to list. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>.
(Sun, 17 May 2009 13:51:05 GMT) (full text, mbox, link).
Message #27 received at 529038@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi,
A Mennucc ha scritto:
> this attached patch will use
> the proper dpkg-trigger
> to update the initrd
thanks for your patch, dpkg-trigger looks fine to me, but:
> - # Support /etc/kernel-img.conf (Debian)
> - if [ -f "/etc/kernel-img.conf" ]; then
Why we should not read /etc/kernel-img.conf and search through the list assigned
to ramdisk?
> - elif [ -e /etc/SuSE-release ] || [ -d /etc/SuSEconfig ]; then
[..]
Why we should remove all Suse, redhat stuff?
Cheers,
Giuseppe.
[signature.asc (application/pgp-signature, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#529038; Package dkms.
(Sun, 17 May 2009 14:18:24 GMT) (full text, mbox, link).
Acknowledgement sent
to mennucc1@debian.org:
Extra info received and forwarded to list. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>.
(Sun, 17 May 2009 14:18:24 GMT) (full text, mbox, link).
Message #32 received at 529038@bugs.debian.org (full text, mbox, reply):
hi,
On Sun, May 17, 2009 at 03:48:01PM +0200, Giuseppe Iuculano wrote:
> Hi,
>
> A Mennucc ha scritto:
>
> > this attached patch will use
> > the proper dpkg-trigger
> > to update the initrd
>
> thanks for your patch, dpkg-trigger looks fine to me, but:
>
> > - # Support /etc/kernel-img.conf (Debian)
> > - if [ -f "/etc/kernel-img.conf" ]; then
>
> Why we should not read /etc/kernel-img.conf and search through the list assigned
> to ramdisk?
because that is what update-initramfs does
> > - elif [ -e /etc/SuSE-release ] || [ -d /etc/SuSEconfig ]; then
>
> [..]
>
> Why we should remove all Suse, redhat stuff?
:-)
because this is the Debian package (?)
a.
Information forwarded
to debian-bugs-dist@lists.debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#529038; Package dkms.
(Sun, 17 May 2009 14:48:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Giuseppe Iuculano <giuseppe@iuculano.it>:
Extra info received and forwarded to list. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>.
(Sun, 17 May 2009 14:48:03 GMT) (full text, mbox, link).
Message #37 received at 529038@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi,
A Mennucc ha scritto:
> hi,
>
> On Sun, May 17, 2009 at 03:48:01PM +0200, Giuseppe Iuculano wrote:
>> Hi,
>>
>> A Mennucc ha scritto:
>>
>>> this attached patch will use
>>> the proper dpkg-trigger
>>> to update the initrd
>> thanks for your patch, dpkg-trigger looks fine to me, but:
>>
>>> - # Support /etc/kernel-img.conf (Debian)
>>> - if [ -f "/etc/kernel-img.conf" ]; then
>> Why we should not read /etc/kernel-img.conf and search through the list assigned
>> to ramdisk?z
>
> because that is what update-initramfs does
Hmm no, it doesn't, but it is in the right because that option is now deprecated.
>>> - elif [ -e /etc/SuSE-release ] || [ -d /etc/SuSEconfig ]; then
>> [..]
>>
>> Why we should remove all Suse, redhat stuff?
>
> :-)
>
> because this is the Debian package (?)
>
> a.
Ok, but this will cause a pointless delta between Debian and upstream.
Anyway if I understood correctly, dpkg-trigger should be called from a
maintainer script, and in an update/install process (?) with apt/dpkg. This
doesn't happen always, dkms can be used also in command line. Do you agree?
[signature.asc (application/pgp-signature, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#529038; Package dkms.
(Sun, 17 May 2009 17:15:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Giuseppe Iuculano <giuseppe@iuculano.it>:
Extra info received and forwarded to list. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>.
(Sun, 17 May 2009 17:15:03 GMT) (full text, mbox, link).
Message #42 received at 529038@bugs.debian.org (full text, mbox, reply):
tags 529038 +pending
thanks
Hello,
The following change has been committed for this bug by
Giuseppe Iuculano <giuseppe@iuculano.it> on Sun, 17 May 2009 19:13:27 +0200.
The fix will be in the next upload.
=========================================================================
debian/patches/08-support_kernel-img.conf.patch: Use update-initramfs, it is the default in Debian/Ubuntu and it also computes and stores some checksums. (Closes: #529038)
No need to use the low-level tool mkinitramfs, update-initramfs is a wrapper and
it also computes and stores some checksums.
with update-initramfs no need to check for lilo and do_bootloader in /etc/kernel-img.conf.
=========================================================================
You can check the diff of the fix at:
http://git.debian.org/?p=users/hanska-guest/dkms.git;a=commitdiff;h=6fe5f53
Tags added: pending
Request was from Giuseppe Iuculano <giuseppe@iuculano.it>
to control@bugs.debian.org.
(Sun, 17 May 2009 17:15:04 GMT) (full text, mbox, link).
Message sent on
to Neil <neil.stewart@warwick.ac.uk>:
Bug#529038.
(Sun, 17 May 2009 17:15:18 GMT) (full text, mbox, link).
Reply sent
to Giuseppe Iuculano <giuseppe@iuculano.it>:
You have taken responsibility.
(Mon, 22 Jun 2009 22:30:06 GMT) (full text, mbox, link).
Notification sent
to Neil <neil.stewart@warwick.ac.uk>:
Bug acknowledged by developer.
(Mon, 22 Jun 2009 22:30:06 GMT) (full text, mbox, link).
Message #52 received at 529038-close@bugs.debian.org (full text, mbox, reply):
Source: dkms
Source-Version: 2.0.22.0-1
We believe that the bug you reported is fixed in the latest version of
dkms, which is due to be installed in the Debian FTP archive:
dkms_2.0.22.0-1.diff.gz
to pool/main/d/dkms/dkms_2.0.22.0-1.diff.gz
dkms_2.0.22.0-1.dsc
to pool/main/d/dkms/dkms_2.0.22.0-1.dsc
dkms_2.0.22.0-1_all.deb
to pool/main/d/dkms/dkms_2.0.22.0-1_all.deb
dkms_2.0.22.0.orig.tar.gz
to pool/main/d/dkms/dkms_2.0.22.0.orig.tar.gz
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 529038@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Giuseppe Iuculano <giuseppe@iuculano.it> (supplier of updated dkms 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 ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Format: 1.8
Date: Fri, 05 Jun 2009 22:00:35 +0200
Source: dkms
Binary: dkms
Architecture: source all
Version: 2.0.22.0-1
Distribution: unstable
Urgency: low
Maintainer: Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>
Changed-By: Giuseppe Iuculano <giuseppe@iuculano.it>
Description:
dkms - Dynamic Kernel Module Support Framework
Closes: 529038 529059
Changes:
dkms (2.0.22.0-1) unstable; urgency=low
.
* [023618e] Imported Upstream version 2.0.22.0
* [d6e0b15] Deleted patches merged in upstream: 01-fix_manpage.patch
02-fix_distribution.patch 04-use_su-to-root.patch 05-
do_not_check_admin_group.patch 06-fakeroot.patch 07-exit-if-build-
fails.patch 09-lilo_detection.patch 10-lsb.patch 11-bash-
completion.patch 12-use_invoke-rc.d.patch 13-template.patch
14_new_module-init-tools.patch 08-support_kernel-img.conf.patch
* [c5b7822] debian/patches/15_modprobe.patch: do not create an empty
/etc/modprobe.d/package_name.conf. It is opened and parsed every
time modprobe is run (and it is run very often at boot time). Create
it only if necessary.
* [3731c00] debian/patches/08-support_kernel-img.conf.patch: Use
update-initramfs, it is the default in Debian/Ubuntu and it also computes
and stores some checksums. (Closes: #529038)
* [f4a197f] debian/patches/16_old_module.patch: Do not move away the old
module, by default dkms install the new one in
/lib/modules/<kernelversion>/updates/dkms (Closes: #529059)
* [db7ffe7] debian/patches/01_kernel_postinst.patch: shut up "which" in the
the kernel kernel_postinst.d script, only the exit code is needed.
Checksums-Sha1:
a34c0ea7e1133e00e1d2c25ab555e322a8e39d66 1284 dkms_2.0.22.0-1.dsc
7fd3224e80ffdb50e5a8d17113405229a6f3a55c 71546 dkms_2.0.22.0.orig.tar.gz
5a76341573499701e907abbe833e8caff5c01652 8502 dkms_2.0.22.0-1.diff.gz
306bf3ccb7d7df8ba6d64982ca320ebcde66ea58 58496 dkms_2.0.22.0-1_all.deb
Checksums-Sha256:
28617808a0b57b7c86368e56c4842b230ef6292c2199b7829672ea2de74f54bd 1284 dkms_2.0.22.0-1.dsc
1e3377b4e9c754e28cae2aa1ff6463467ad3ba74761fc281f47658f937b22307 71546 dkms_2.0.22.0.orig.tar.gz
8c1943611e931a4ab230419d48dbb18f3a1b12d8fd59531263b9eead021825df 8502 dkms_2.0.22.0-1.diff.gz
9a88c12ef21f3335b4c4c4e1ddab3c11de6e9500c48c32c04a56cd79120d4fb2 58496 dkms_2.0.22.0-1_all.deb
Files:
ce277d574edd7fc28c83a1b6ab1839d6 1284 kernel optional dkms_2.0.22.0-1.dsc
3e10e107ea46f57af39912fcd300fc72 71546 kernel optional dkms_2.0.22.0.orig.tar.gz
6df9b967fd3750c33244ac149d40dfc0 8502 kernel optional dkms_2.0.22.0-1.diff.gz
e20068d358021e87fb488a27ae253a93 58496 kernel optional dkms_2.0.22.0-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFKP+hZ79ZNCRIGYgcRA8bLAJ4+yJdl53V9yXeC/uYgXOcL4OG45ACfeL0v
FetGoSPhXMh7bWKBuqglXmw=
=9wGD
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 21 Jul 2009 07:28:07 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 06:19:27 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.