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

Bug#682340: USB keyboard unavailable for crypto with Linux 3.5



Package: initramfs-tools
Version: 0.107
Severity: normal

When upgrading to Linux 3.5, USB keyboards don’t work anymore because
the usbhid module has been renamed to hid-generic and the new module is
not included in the initramfs.

Using the following workaround, I can enter my crypto passphrase when
booting:

    echo 'hid_generic' >> /etc/initramfs-tools/modules

(Under the assumption that you have MODULES=most in
/etc/initramfs-tools/initramfs.conf already. Otherwise you should also
add usbcore, uhci_hcd and ehci_hcd.)

Note that I’m aware of the fact that we don’t have 3.5 in Debian yet
officially. This is a heads-up for the initramfs-tools maintainers and
other users. Maybe there is a way to fix this now already so that people
have a pleasant experience switching to 3.5 :-).

-- Package-specific info:
-- initramfs sizes
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.5.0-rc7 root=/dev/mapper/sda2_crypt ro rootfstype=ext4

-- resume
RESUME=/dev/mapper/midna-swap_1
-- /proc/filesystems
	ext4
	fuseblk

-- lsmod
Module                  Size  Used by
ipt_REJECT             12502  1 
xt_tcpudp              12570  1 
xt_comment             12427  5 
nf_conntrack_ipv4      18216  1 
nf_defrag_ipv4         12483  1 nf_conntrack_ipv4
xt_state               12503  1 
nf_conntrack           57341  2 xt_state,nf_conntrack_ipv4
iptable_filter         12536  1 
ip_tables              22042  1 iptable_filter
x_tables               19034  6 xt_comment,ip_tables,xt_tcpudp,xt_state,iptable_filter,ipt_REJECT
parport_pc             22364  0 
parport                31858  1 parport_pc
pci_stub               12429  1 
vboxpci                19071  0 
vboxnetadp             25443  0 
vboxnetflt             23544  0 
vboxdrv               194406  3 vboxnetadp,vboxnetflt,vboxpci
nfnetlink_log          13058  0 
nfnetlink              12906  1 nfnetlink_log
binfmt_misc            12957  1 
fuse                   62285  1 
nfsd                  198170  2 
nfs                   271103  1 
nfs_acl                12511  2 nfs,nfsd
auth_rpcgss            29252  2 nfs,nfsd
fscache                36807  1 nfs
lockd                  55200  2 nfs,nfsd
sunrpc                159322  17 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
w83627ehf              31322  0 
hwmon_vid              12430  1 w83627ehf
loop                   22591  0 
snd_hda_codec_hdmi     30783  1 
snd_hda_codec_realtek    50845  1 
snd_hda_intel          26504  2 
snd_hda_codec          83533  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep              13186  1 snd_hda_codec
coretemp               12898  0 
snd_pcm_oss            37011  0 
snd_mixer_oss          17915  1 snd_pcm_oss
kvm_intel             117866  0 
snd_pcm                64080  4 snd_pcm_oss,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
kvm                   294470  1 kvm_intel
psmouse                69266  0 
snd_page_alloc         12969  2 snd_pcm,snd_hda_intel
snd_timer              22917  1 snd_pcm
snd                    53077  13 snd_hda_codec_realtek,snd_pcm_oss,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel,snd_mixer_oss
soundcore              13026  1 snd
acpi_cpufreq           12935  0 
mperf                  12453  1 acpi_cpufreq
lpc_ich                16665  0 
microcode              25859  0 
mfd_core               12601  1 lpc_ich
pcspkr                 12595  0 
i2c_i801               16870  0 
serio_raw              12980  0 
processor              28393  1 acpi_cpufreq
evdev                  17562  16 
ext4                  361297  2 
crc16                  12343  1 ext4
jbd2                   71264  1 ext4
mbcache                13065  1 ext4
sha256_generic         16797  2 
dm_crypt               22586  1 
dm_mod                 63574  3 dm_crypt
raid10                 39548  0 
raid456                52517  0 
async_raid6_recov      12526  1 raid456
async_memcpy           12387  2 raid456,async_raid6_recov
async_pq               12605  2 raid456,async_raid6_recov
async_xor              12422  3 async_pq,raid456,async_raid6_recov
xor                    16921  1 async_xor
async_tx               12604  5 async_pq,raid456,async_xor,async_memcpy,async_raid6_recov
raid6_pq               94947  2 async_pq,async_raid6_recov
raid1                  30759  0 
raid0                  12973  0 
multipath              13020  0 
linear                 12735  0 
md_mod                 92417  6 raid456,raid0,raid1,multipath,linear,raid10
hid_generic            12385  0 
usbhid                 40577  0 
hid                    81574  2 hid_generic,usbhid
uhci_hcd               26862  0 
sd_mod                 36292  3 
crc_t10dif             12348  1 sd_mod
xhci_hcd               73727  0 
crc32c_intel           12747  0 
ghash_clmulni_intel    12981  0 
aesni_intel            50484  24 
ahci                   24997  2 
libahci                22820  1 ahci
aes_x86_64             16796  1 aesni_intel
libata                141139  2 ahci,libahci
scsi_mod              162407  2 libata,sd_mod
ehci_hcd               40215  0 
aes_generic            33026  2 aesni_intel,aes_x86_64
cryptd                 14517  10 ghash_clmulni_intel,aesni_intel
firewire_ohci          31847  0 
usbcore               128876  4 uhci_hcd,ehci_hcd,usbhid,xhci_hcd
firewire_core          48936  1 firewire_ohci
i915                  398799  2 
usb_common             12354  1 usbcore
crc_itu_t              12347  1 firewire_core
video                  17629  1 i915
i2c_algo_bit           12841  1 i915
drm_kms_helper         27228  1 i915
drm                   197822  3 i915,drm_kms_helper
e1000e                133732  0 
i2c_core               23919  5 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit
thermal_sys            18048  2 video,processor
button                 12937  1 i915

-- /etc/initramfs-tools/modules
intel_agp
drm
i915 modeset=1
usbcore
uhci_hcd
ehci_hcd
usbhid
hid_generic

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

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

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

-- /etc/crypttab
# sda2_crypt /dev/sda2 none luks
sda2_crypt UUID=c52418e7-8586-49f4-9722-d3762891519b none luks

-- /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] 
unused devices: <none>

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

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


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: armel
i386

Kernel: Linux 3.5.0-rc7 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages initramfs-tools depends on:
ii  cpio               2.11-8
ii  klibc-utils        2.0.1-1
ii  kmod               8-2
ii  module-init-tools  8-2
ii  udev               175-3.1

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

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

-- Configuration Files:
/etc/initramfs-tools/initramfs.conf changed [not included]

-- no debconf information


Reply to: