Your message dated Fri, 16 Mar 2012 02:54:20 +0000
with message-id <[email protected]>
and subject line Bug#662891: fixed in kmod 6-2
has caused the Debian Bug report #662891,
regarding kmod: Debian kernels drop to busybox prompt with 6-1, but 5-2 OK.
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.)


-- 
662891: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=662891
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: kmod
Version: 6-1
Severity: important


I build custom kernels and use them primarily, but I always keep a
Debian kernel installed in case I do something stupid and my custom
kernel ends up unusable.

When kmod-6-1 became available on Sid, I installed it.  There was no
reason to reboot at that time, but soon after I decided to test the
kernel update from linux-image-3.2.0-1-amd64 (upstream stable 3.2.7) to
linux-image-3.2.0-2-amd64 (upstream stable 3.2.9).  At this point, I had
3 linux-image packages installed,

    linux-image-3.2.0-1-amd64
    linux-image-3.2.0-2-amd64
    linux-image-3.2.9-3+dwlocal1

the latter being my latest custom kernel.  I did a reboot to test
3.2.0-2, and was amazed to find that it would not complete the boot
process:  I was dropped to the busybox prompt, and was able to scroll
back through the boot messages to find

    ALERT: /dev/sda1 does not exist.  Dropping to a shell!

Assuming the problem was limited to this newest Debian kernel, I decided
to reboot and prove to myself that the older Debian kernel was still
working.  It didn't.

Now in panic mode, I rebooted again to try my custom kernel.  It was
fine.  I concluded that something else had been installed that was
causing Debian kernels to fail, leaving my own custom kernels
untouched.  After a quick look at /var/log/aptitude, I noticed the
recent upgrade of kmod, from 5-2 to 6-1.

I have had enough experience with Sid that I learned to keep old
versions of important packages around; I sometimes clear out
/var/cache/apt/archives, so I regularly copy packages to a backup
directory.  So I immediately backed up the 5-2 versions of 'kmod',
'libkmod2', and 'module-init-tools', and then downgraded them all back
to 5-2.  Afterwards, I also ran

    update-initramfs -k all -u

and then tried rebooting.  Both Debian kernels now worked, and my custom
kernel was also still working.


Now, I have some customizations in place regarding GRUB2.  Particularly
I have uncommented a line in /etc/default/grub:

    # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to 
Linux
    GRUB_DISABLE_LINUX_UUID=true

I do this because my custom kernels do not use an initrd, and attempting
to use the UUID magic for the root device will prevent them from
booting.  I suspected that this GRUB option might be causing the
problem, until I listed the contents of a version of an initrd built
with kmod-5-2 installed and one built using version 6-1.  I have
attached those two listings (listings.tar.gz), but the diff alone is
most revealing:

    $ diff  list-initrd.img-3.2.0-2-amd64+kmod-5-2.txt  
list-initrd.img-3.2.0-2-amd64+kmod-6-1.txt 
    60,68d59
    < lib/firmware/rtl_nic
    < lib/firmware/rtl_nic/rtl8168e-1.fw
    < lib/firmware/rtl_nic/rtl8168f-2.fw
    < lib/firmware/rtl_nic/rtl8168d-1.fw
    < lib/firmware/rtl_nic/rtl8168d-2.fw
    < lib/firmware/rtl_nic/rtl8168e-3.fw
    < lib/firmware/rtl_nic/rtl8168f-1.fw
    < lib/firmware/rtl_nic/rtl8168e-2.fw
    < lib/firmware/rtl_nic/rtl8105e-1.fw
    146,147d136
    < lib/modules/3.2.0-2-amd64/kernel/fs/nfs
    < lib/modules/3.2.0-2-amd64/kernel/fs/nfs/nfs.ko
    173,174d161
    < lib/modules/3.2.0-2-amd64/kernel/fs/lockd
    < lib/modules/3.2.0-2-amd64/kernel/fs/lockd/lockd.ko
    178,181d164
    < lib/modules/3.2.0-2-amd64/kernel/net/sunrpc
    < lib/modules/3.2.0-2-amd64/kernel/net/sunrpc/auth_gss
    < lib/modules/3.2.0-2-amd64/kernel/net/sunrpc/auth_gss/auth_rpcgss.ko
    < lib/modules/3.2.0-2-amd64/kernel/net/sunrpc/sunrpc.ko
    204d186
    < lib/modules/3.2.0-2-amd64/kernel/drivers/block/loop.ko
    241d222
    < lib/modules/3.2.0-2-amd64/kernel/drivers/ata/libata.ko
    256d236
    < lib/modules/3.2.0-2-amd64/kernel/drivers/ata/pata_atiixp.ko
    272d251
    < lib/modules/3.2.0-2-amd64/kernel/drivers/ata/ahci.ko
    278,279d256
    < lib/modules/3.2.0-2-amd64/kernel/drivers/ata/libahci.ko
    < lib/modules/3.2.0-2-amd64/kernel/drivers/ata/pata_jmicron.ko
    292d268
    < lib/modules/3.2.0-2-amd64/kernel/drivers/usb/host/ehci-hcd.ko
    301d276
    < lib/modules/3.2.0-2-amd64/kernel/drivers/usb/storage/usb-storage.ko
    309,310d283
    < lib/modules/3.2.0-2-amd64/kernel/drivers/usb/core
    < lib/modules/3.2.0-2-amd64/kernel/drivers/usb/core/usbcore.ko
    318,319d290
    < lib/modules/3.2.0-2-amd64/kernel/drivers/i2c/algos
    < lib/modules/3.2.0-2-amd64/kernel/drivers/i2c/algos/i2c-algo-bit.ko
    329,332d299
    < lib/modules/3.2.0-2-amd64/kernel/drivers/hid/usbhid
    < lib/modules/3.2.0-2-amd64/kernel/drivers/hid/usbhid/usbhid.ko
    < lib/modules/3.2.0-2-amd64/kernel/drivers/hid/hid.ko
    < lib/modules/3.2.0-2-amd64/kernel/drivers/hid/hid-apple.ko
    365d331
    < lib/modules/3.2.0-2-amd64/kernel/drivers/scsi/sr_mod.ko
    451d416
    < lib/modules/3.2.0-2-amd64/kernel/drivers/scsi/scsi_mod.ko
    623d587
    < lib/modules/3.2.0-2-amd64/kernel/drivers/net/ethernet/realtek/r8169.ko
    689d652
    < lib/modules/3.2.0-2-amd64/kernel/drivers/firewire/firewire-ohci.ko
    691d653
    < lib/modules/3.2.0-2-amd64/kernel/drivers/acpi/thermal.ko

All of the changes reveal that modules were no longer being added to the
initrd with 6-1 installed.  Having painstaking crafted my own '.config'
file for my custom kernel, I can tell you that most of these changes
involved options I have built into my custom kernel directly.  In short,
these modules do not exist in /lib/modules for my custom kernel because
they are built-in.

Previous versions of 'kmod' did The Right Thing:  they caused
'update-initramfs' to include the modules which would be needed by a
Debian kernel into its corresponding initrd.  The current version is no
longer doing that.  I no longer believe that my local modifications in
/etc/kernel/ and /etc/default/grub are responsible, since kmod-5-2 works
while kmod-6-1 fails with the same settings in /etc.

(No change in behavior was observed when upgrading initramfs-tools from
0.100 to 0.101:  only changing the version of 'kmod' causes a change in
system behavior.)


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (350, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.9-3+dwlocal1 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Attachment: listings.tar.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
Source: kmod
Source-Version: 6-2

We believe that the bug you reported is fixed in the latest version of
kmod, which is due to be installed in the Debian FTP archive:

kmod_6-2.debian.tar.gz
  to main/k/kmod/kmod_6-2.debian.tar.gz
kmod_6-2.dsc
  to main/k/kmod/kmod_6-2.dsc
kmod_6-2_i386.deb
  to main/k/kmod/kmod_6-2_i386.deb
libkmod-dev_6-2_i386.deb
  to main/k/kmod/libkmod-dev_6-2_i386.deb
libkmod2-udeb_6-2_i386.udeb
  to main/k/kmod/libkmod2-udeb_6-2_i386.udeb
libkmod2_6-2_i386.deb
  to main/k/kmod/libkmod2_6-2_i386.deb
module-init-tools_6-2_all.deb
  to main/k/kmod/module-init-tools_6-2_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.
Marco d'Itri <[email protected]> (supplier of updated kmod 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, 16 Mar 2012 02:21:00 +0100
Source: kmod
Binary: kmod module-init-tools libkmod2 libkmod-dev libkmod2-udeb
Architecture: source i386 all
Version: 6-2
Distribution: unstable
Urgency: low
Maintainer: Marco d'Itri <[email protected]>
Changed-By: Marco d'Itri <[email protected]>
Description: 
 kmod       - tools for managing Linux kernel modules
 libkmod-dev - libkmod development files
 libkmod2   - libkmod shared library
 libkmod2-udeb - libkmod shared library (udeb)
 module-init-tools - transitional dummy package (module-init-tools to kmod)
Closes: 662822 662891 662984 663159
Changes: 
 kmod (6-2) unstable; urgency=low
 .
   * Applied a few upstream changesets to fix:
     + depmod correctly processing a kernel versions different from the
       running one. (Closes: #662891)
     + modprobe -q still too much verbose. (Closes: #662822)
     + modprobe -r removing only the first argument. (Closes: #662984)
   * Restored the code from the old module-init-tools package which deletes
     obsolete conffiles. Abort upgrading from releases older than lenny.
     (Closes: #663159)
Checksums-Sha1: 
 6ac2d3ec3fbfc9c51586ef144c91787a076f9bd0 1176 kmod_6-2.dsc
 e5b61cf611b2ce009dfd806110d0ade931b3c01e 11151 kmod_6-2.debian.tar.gz
 7e2f3a740e58d666eeaf53a01cc8b6f42e098448 94402 kmod_6-2_i386.deb
 676dd77e79def413bf6312345d1034fe69929de1 1792 module-init-tools_6-2_all.deb
 64c990125fab783add497f15f1842200302b7bc3 49054 libkmod2_6-2_i386.deb
 73268cd6887fc3cc210b7933a658eae3c18fa529 61804 libkmod-dev_6-2_i386.deb
 4f09ffd05551cd463f6d175212bf278fbc825f68 106724 libkmod2-udeb_6-2_i386.udeb
Checksums-Sha256: 
 2a946b7ace71f739984ed1cf4ffed983decfde501aff364d1e4e69a1cd81902b 1176 
kmod_6-2.dsc
 9bd279723f4d8379285bb94dbb1932b60c6d65fda8e73ff8d8a6ed8fa46aaf07 11151 
kmod_6-2.debian.tar.gz
 f2a924115d8e118c58875ac576f4f12f3d4a1555187f308fd886d02c6e0a8095 94402 
kmod_6-2_i386.deb
 d301b931f870d8a2dce32074a1d5a3aa4026c24f0aa893d988d765424f0d65ab 1792 
module-init-tools_6-2_all.deb
 51d926094be3602edabb871bd15701c00df50eeef0df314413de0dfee4c338ff 49054 
libkmod2_6-2_i386.deb
 a4c12d0862cc753105dd58c1c6f2ff63ed43c591a972b407be0016d1c097dff4 61804 
libkmod-dev_6-2_i386.deb
 0fbcb7af446f82879906ec7c39dd0cc511bf1426095cf6de3f67343dc08188d4 106724 
libkmod2-udeb_6-2_i386.udeb
Files: 
 782ce2d708b61240fdfc6a5358556045 1176 admin important kmod_6-2.dsc
 ba11405dd4b694152122bf6c232d0b4d 11151 admin important kmod_6-2.debian.tar.gz
 7bcd75b71f56b4d44770c29435872f80 94402 admin important kmod_6-2_i386.deb
 e2efe1d8af93574e8d9c025cf53745d8 1792 admin extra module-init-tools_6-2_all.deb
 240621daf187634c1f76659352ecf094 49054 libs important libkmod2_6-2_i386.deb
 c8edad170c8cd3ba1e8e07975d8bb2bb 61804 libdevel optional 
libkmod-dev_6-2_i386.deb
 5043a58ef582d3f1bb6a4b70dae7ae12 106724 debian-installer important 
libkmod2-udeb_6-2_i386.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAk9inD4ACgkQFGfw2OHuP7GRywCgk76C3efh7KkfmyzBwLNTfibf
WwoAoKD6j0ACV9/h8TnuUbc/rLqVFEk9
=lpsP
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to