Package: intel-microcode
Version: 2.20140624.1
Severity: critical
Justification: breaks the whole system

hi

I have installed a small wheezy system, and then promptly
upgraded it to jessie. This system has rootfs crypted
with cryptsetup (altogh I am not sure this is relevant).

I have two kernel currently in /boot, 3.14-2-amd64 and 3.2.0-4-amd64,
I can boot the system with the latter, but not with the former.

When I try to boot using 3.14-2-amd64 , the scripts in initrd
complain that it cannot find the rootfs.

I tried to investigate the problem, and found this startling
fact. Usually initrd.img is a CPIO archive, compressed
with GZIP. Instead, initrd.img-3.14-2-amd64 is a CPIO file
but not compressed, and it seems to contain only this file

$ cpio -t < /boot/initrd.img-3.14-2-amd64
kernel
kernel/x86
kernel/x86/microcode
kernel/x86/microcode/GenuineIntel.bin

(even if initrd.img-3.14-2-amd64  is itself quite large, roughly 14MB).

After some fiddling, I noted that if I delete the file
 /usr/share/initramfs-tools/hooks/intel_microcode
and regenerate initrd.img-3.14-2-amd64
then it is fine. Unfortunately I cannot understand
why it is broken.

You may find the broken initrd in
  http://mennucc1.debian.net/tmp/initrd.img-3.14-2-amd64

I attach 3 files, that are the output of
 $ update-initramfs -v -u  -k 3.14-2-amd64

3.14~no~microcode : the output when 
/usr/share/initramfs-tools/hooks/intel_microcode is deleted

3.14~with~microcode : the output when 
/usr/share/initramfs-tools/hooks/intel_microcode is present

3.14~with~microcode~xz : the output when I add 'set -zx' to  
/usr/share/initramfs-tools/hooks/intel_microcode

a.


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (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/dash

Versions of packages intel-microcode depends on:
ii  iucode-tool  1.0.3-1

Versions of packages intel-microcode recommends:
ii  initramfs-tools  0.116

intel-microcode suggests no packages.

-- no debconf information

-- 
Andrea Mennucc
 "E' un mondo difficile. Che vita intensa!" (Tonino Carotone)

Attachment: 3.14~no~microcode.gz
Description: application/gzip

Attachment: 3.14~with~microcode.gz
Description: application/gzip

Attachment: 3.14~with~microcode~xz.gz
Description: application/gzip

Attachment: signature.asc
Description: Digital signature

Reply via email to