[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#814301: initramfs-tools: module microcode not found in modules.dep



Package: initramfs-tools
Version: 0.120
Severity: minor

Dear Maintainer,

When the intel-microcode package is installed and the running kernel
configured with CONFIG_MICROCODE=y, the following message is printed at
boot:

Loading, please wait...
modprobe: module microcode not found in modules.dep

It is likely invisible to most users, but appears immediately before the
cryptsetup prompt if the root filesystem is encrypted.

The cause appears to be that intel-microcode calls `force_load
microcode` from its hook script[1] which unconditionally adds its
arguments to /conf/modules in the initramfs, which results in the above
error when the module is not present.

Although this could be considered a bug in intel-microcode, the other
uses of force_load that I could find do not appear to protect against
this case, so it seems appropriate to fix it there.  But do reassign if
you disagree.

Thanks,
Kevin

1.  https://anonscm.debian.org/cgit/users/hmh/intel-microcode.git/tree/debian/initramfs.hook?h=debian/3.20151106.1_deb8u1#n123


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.1+kevinoid1+ (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages initramfs-tools depends on:
ii  busybox      1:1.22.0-18
ii  cpio         2.11+dfsg-4.1
ii  klibc-utils  2.0.4-7
ii  kmod         22-1
ii  udev         228-6

Versions of packages initramfs-tools recommends:
ii  busybox  1:1.22.0-18

Versions of packages initramfs-tools suggests:
ii  bash-completion  1:2.1-4.2

-- no debconf information


Reply to: