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

Bug#701953: initramfs-tools: Missing modules prevent passphrase entry with usb keyboard



Package: initramfs-tools
Version: 0.109
Severity: critical
Justification: breaks the whole system

Dear Maintainer,

I have a usb keyboard attached to a system with an unencrypted /boot and a
LUKS-encrypted partition (LVM physical volume) containing the other
filesystems. Today I installed linux-image-3.8-trunk-amd64
(3.8-1~experimental.1). initramfs-tools created a corresponding initrd, as
expected. Booting this kernel/initrd in grub2 resulted in a plymouth passphrase
entry screen, but a usb keyboard that did not work in any port. All keyboard
lights were off. The system was thus unbootable without a non-usb keyboard
(hence critical severity). Without a non-usb keyboard or backup grub entry (3.7
kernel with working initrd), I would have been unable to access my system
without rescue media.

This is a regression from the behaviour of initramfs-tools with linux-image-3.7
-trunk-amd64 (3.7.8-1~experimental.1).

The failure appears identical to this:
http://linux-kernel.2935.n7.nabble.com/PROBLEM-3-8-0-rc4-keyboard-failure-at-
boot-tp585937p587518.html

Workaround is to add the following modules to /etc/initramfs-tools/modules, as
described in the link above:

ehci_pci
usbcore
usb_common
xhci_hcd
uhci_hcd
ehci_hcd
ohci_hcd
usbhid
hid_generic

Once these lines were added, I ran "update-initramfs -u", was able to boot
linux-image-3.8-trunk-amd64 with the new initrd, successfully enter my
passphrase at the plymouth prompt with a usb keyboard, and the system booted
normally.

See also #639876. This report differs in that I have MODULES=most. And this is
critical not wishlist.



-- Package-specific info:
-- initramfs sizes
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.8-trunk-amd64 root=/dev/mapper/vg-root ro quiet splash

-- /proc/filesystems
	ext4
	fuseblk

-- lsmod
Module                  Size  Used by
cpufreq_conservative    13225  0 
cpufreq_stats          12866  0 
cpufreq_powersave      12454  0 
cpufreq_userspace      12576  0 
ppdev                  12763  0 
lp                     17160  0 
ip6t_REJECT            12512  2 
nf_conntrack_ipv6      13649  1 
nf_defrag_ipv6         12885  1 nf_conntrack_ipv6
ip6table_filter        12540  1 
ip6_tables             22011  1 ip6table_filter
ipt_REJECT             12502  2 
xt_tcpudp              12570  1 
nf_conntrack_ipv4      18549  2 
nf_defrag_ipv4         12483  1 nf_conntrack_ipv4
uinput                 17478  1 
xt_conntrack           12681  3 
nf_conntrack           58420  3 xt_conntrack,nf_conntrack_ipv4,nf_conntrack_ipv6
iptable_filter         12536  1 
ip_tables              21997  1 iptable_filter
x_tables               19041  8 ip6table_filter,ip_tables,xt_tcpudp,xt_conntrack,iptable_filter,ipt_REJECT,ip6_tables,ip6t_REJECT
loop                   22908  0 
fuse                   62705  3 
acpi_cpufreq           13354  0 
mperf                  12453  1 acpi_cpufreq
arc4                   12543  2 
iwldvm                111692  0 
mac80211              371723  1 iwldvm
snd_hda_codec_hdmi     31479  1 
snd_hda_codec_idt      53750  1 
iTCO_wdt               12831  0 
iTCO_vendor_support    12704  1 iTCO_wdt
snd_usb_audio         105940  1 
snd_usbmidi_lib        23337  1 snd_usb_audio
snd_hda_intel          31301  3 
snd_seq_midi           12848  0 
snd_seq_midi_event     13316  1 snd_seq_midi
snd_hda_codec          88441  3 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel
snd_rawmidi            23034  2 snd_usbmidi_lib,snd_seq_midi
snd_hwdep              13189  2 snd_usb_audio,snd_hda_codec
snd_pcm                68523  4 snd_usb_audio,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc         13018  2 snd_pcm,snd_hda_intel
uvcvideo               70803  0 
snd_seq                45225  2 snd_seq_midi_event,snd_seq_midi
iwlwifi                64362  1 iwldvm
videobuf2_vmalloc      12860  1 uvcvideo
coretemp               12854  0 
snd_seq_device         13176  3 snd_seq,snd_rawmidi,snd_seq_midi
videobuf2_memops       12519  1 videobuf2_vmalloc
snd_timer              22812  2 snd_pcm,snd_seq
videobuf2_core         31098  1 uvcvideo
kvm_intel             118327  0 
videodev               92117  2 uvcvideo,videobuf2_core
dell_wmi               12477  0 
sparse_keymap          12760  1 dell_wmi
dell_laptop            16779  0 
snd                    53077  20 snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_seq,snd_rawmidi,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device
media                  18184  2 uvcvideo,videodev
kvm                   319005  1 kvm_intel
dcdbas                 13307  1 dell_laptop
soundcore              13026  1 snd
psmouse                69190  0 
joydev                 17317  0 
serio_raw              12940  0 
cfg80211              352039  3 iwlwifi,mac80211,iwldvm
i2c_i801               17045  0 
parport_pc             22409  0 
parport                31901  3 lp,ppdev,parport_pc
lpc_ich                16757  0 
rfkill                 19166  1 cfg80211
mei                    32175  0 
mfd_core               12601  1 lpc_ich
evdev                  17650  31 
battery                13146  0 
ac                     12624  0 
processor              28362  1 acpi_cpufreq
ext4                  396134  3 
crc16                  12343  1 ext4
jbd2                   71860  1 ext4
mbcache                13114  1 ext4
dm_crypt               18372  1 
dm_mod                 64083  9 dm_crypt
hid_generic            12385  0 
usbhid                 40792  0 
hid                    81770  2 hid_generic,usbhid
ohci_hcd               26678  0 
uhci_hcd               26976  0 
sg                     26095  0 
sd_mod                 40549  3 
crc_t10dif             12348  1 sd_mod
crc32c_intel           21850  0 
ghash_clmulni_intel    13062  0 
ahci                   25060  2 
aesni_intel            50746  2 
libahci                22918  1 ahci
aes_x86_64             16843  1 aesni_intel
ablk_helper            12572  1 aesni_intel
cryptd                 14560  4 ghash_clmulni_intel,aesni_intel,ablk_helper
xts                    12722  1 aesni_intel
libata                141644  2 ahci,libahci
lrw                    12871  1 aesni_intel
gf128mul               13047  2 lrw,xts
scsi_mod              162472  3 sg,libata,sd_mod
microcode              30456  0 
thermal                17425  0 
wmi                    13243  1 dell_wmi
e1000e                134511  0 
ehci_pci               12472  0 
ehci_hcd               40420  1 ehci_pci
i915                  472412  2 
video                  17686  1 i915
i2c_algo_bit           12841  1 i915
drm_kms_helper         31890  1 i915
drm                   202268  3 i915,drm_kms_helper
i2c_core               24041  6 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,videodev
xhci_hcd               78158  0 
thermal_sys            22833  3 video,thermal,processor
usbcore               134217  9 uhci_hcd,snd_usb_audio,uvcvideo,ohci_hcd,snd_usbmidi_lib,ehci_hcd,ehci_pci,usbhid,xhci_hcd
usb_common             12354  1 usbcore
button                 12944  1 i915

-- /etc/initramfs-tools/modules
ehci_pci
usbcore
usb_common
xhci_hcd
uhci_hcd
ehci_hcd
ohci_hcd
usbhid
hid_generic

-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
do_bootloader = no
do_initrd = yes
link_in_boot = no

-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
DEVICE=
NFSROOT=auto

-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no

-- /etc/crypttab
sdb2_crypt UUID=24ebefb2-cda5-4d72-a90a-5f95ee091410 none luks

-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:

/usr/share/initramfs-tools/hooks:
amd64_microcode
busybox
cryptgnupg
cryptkeyctl
cryptopenct
cryptopensc
cryptpassdev
cryptroot
dmsetup
dropbear
fuse
intel_microcode
keymap
klibc
kmod
lvm2
ntfs_3g
plymouth
thermal
udev


-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.8-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initramfs-tools depends on:
ii  cpio               2.11+dfsg-0.1
ii  klibc-utils        2.0.1-3.1
ii  kmod               9-2
ii  module-init-tools  9-2
ii  udev               175-7.1

Versions of packages initramfs-tools recommends:
ii  busybox  1:1.20.0-7

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

-- debconf-show failed


Reply to: