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

Bug#639876: marked as done (MODULES=dep does not include input drivers)



Your message dated Mon, 08 Mar 2021 21:51:41 +0100
with message-id <62ae7a06ebe22e35234359613e6d106ae8127e7c.camel@decadent.org.uk>
and subject line Re: Still an issue with usb kbds in initramfs rescue mode
has caused the Debian Bug report #701656,
regarding MODULES=dep does not include input drivers
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 owner@bugs.debian.org
immediately.)


-- 
701656: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701656
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cryptsetup
Version: 2:1.3.0-3
Severity: wishlist

Hey,

this is a wishlist bug but it might be upgraded to minor.

In some specific situations, people won't be able to boot their machine:

* they use encrypted root
* they use a passphrase
* they use a usb keyboard
* they use MODULES=dep in initramfs.conf

What happens in that, with MODULE=dep, the usb modules (mainly usbhid
and uhci_hcd or similar) won't be added to initramfs, so people won't be
able to type their password.

It's not too much of a big deal since:

* people using encrypted root are (I guess) mostly on laptops, where the
  keyboard is still often using ps/2 or similar (at least it is on
  thinkpads :)
* the default is MODULES=most

But it'd still be nice if switching to MODULES=dep on those boxes would
still work. I'm not too sure if there's a way to detect how the keyboard
is plugged and add usb modules if needed. Adding them unconditionnally
might now be possible either.

Regards,
-- 
Yves-Alexis


-- Package-specific info:
-- /proc/cmdline
initrd=/initrd.img-3.0.0-1-amd64 root=LABEL=root ro quiet splash intel_iommu=on,igfx_off pcie_aspm=force BOOT_IMAGE=/vmlinuz-3.0.0-1-amd64 

-- /etc/crypttab
# <target name>	<source device>		<key file>	<options>
scapa_crypt   /dev/sda2               none            luks

-- /etc/fstab
# /etc/fstab - static file system information
#
# <filesystem> <mountpoint>   <type> <options>                             <dump> <pass>
proc           /proc          proc   rw,nosuid,nodev,noexec                 0      0
none           /proc/bus/usb  usbfs  defaults,noauto                        0      0
sysfs          /sys           sysfs  rw,nosuid,nodev,noexec                 0      0
devpts         /dev/pts       devpts noauto,mode=0622                       0      0

LABEL=root     /              ext4   defaults                               0      1
LABEL=boot     /boot          ext2   defaults,nodev,nosuid,noexec           0      2
LABEL=home     /home          ext4   defaults                               0      2

LABEL=swap     none           swap   sw                                     0      0

-- lsmod
Module                  Size  Used by
sg                     25985  0 
rfcomm                 33848  4 
bnep                   17615  2 
bluetooth             114376  10 rfcomm,bnep
deflate                12551  0 
zlib_deflate           25570  1 deflate
ums_realtek            12750  0 
ctr                    12979  0 
usb_storage            47996  1 ums_realtek
uas                    13299  0 
twofish_generic        16569  0 
twofish_x86_64         12501  0 
twofish_common         20544  2 twofish_generic,twofish_x86_64
camellia               29068  0 
serpent                29015  0 
blowfish               16632  0 
cast5                  24829  0 
des_generic            20851  0 
cbc                    12755  0 
xcbc                   12709  0 
rmd160                 16640  0 
nf_conntrack_ipv6      13317  5 
nf_defrag_ipv6         12831  1 nf_conntrack_ipv6
ip6table_filter        12540  1 
ip6_tables             22263  1 ip6table_filter
sha512_generic         12625  0 
nf_conntrack_ipv4      18176  5 
nf_defrag_ipv4         12483  1 nf_conntrack_ipv4
xt_state               12503  10 
nf_conntrack           57034  3 nf_conntrack_ipv6,nf_conntrack_ipv4,xt_state
iptable_filter         12536  1 
ip_tables              22131  1 iptable_filter
x_tables               19024  5 ip6table_filter,ip6_tables,xt_state,iptable_filter,ip_tables
sha256_generic         16797  0 
sha1_generic           12575  0 
hmac                   12923  0 
crypto_null            12732  0 
af_key                 31954  0 
ext2                   63732  1 
acpi_cpufreq           13009  1 
mperf                  12453  1 acpi_cpufreq
snd_hda_codec_hdmi     26321  1 
snd_hda_codec_conexant    45375  1 
arc4                   12458  2 
iwlagn                166455  0 
snd_hda_intel          26140  1 
mac80211              182631  1 iwlagn
snd_hda_codec          72699  3 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel
snd_hwdep              13186  1 snd_hda_codec
thinkpad_acpi          61450  1 
ehci_hcd               40090  0 
snd_pcsp               13693  1 
battery                13109  0 
cfg80211              132564  2 iwlagn,mac80211
snd_pcm                68104  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_pcsp
psmouse                55656  0 
snd_timer              22581  1 snd_pcm
serio_raw              12846  0 
rfkill                 19080  5 bluetooth,thinkpad_acpi,cfg80211
snd_page_alloc         13043  2 snd_hda_intel,snd_pcm
i2c_i801               16870  0 
snd                    52823  15 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_hwdep,thinkpad_acpi,snd_pcsp,snd_pcm,snd_timer
usbcore               128338  5 ums_realtek,usb_storage,uas,ehci_hcd
e1000e                124997  0 
soundcore              13152  1 snd
intel_ips              17694  0 
tpm_tis                13152  0 
ac                     12624  0 
power_supply           13475  2 battery,ac
tpm                    17819  1 tpm_tis
nvram                  13045  1 thinkpad_acpi
tpm_bios               12944  1 tpm
evdev                  17558  7 
wmi                    13243  0 
processor              27942  5 acpi_cpufreq
ext4                  313917  2 
mbcache                13066  2 ext2,ext4
jbd2                   62574  1 ext4
crc16                  12343  2 bluetooth,ext4
xts                    12688  4 
gf128mul               13044  1 xts
dm_crypt               22611  1 
dm_mod                 63164  13 dm_crypt
aesni_intel            50644  16 
cryptd                 14549  5 aesni_intel
aes_x86_64             16796  1 aesni_intel
aes_generic            33026  2 aesni_intel,aes_x86_64
sd_mod                 36259  3 
crc_t10dif             12348  1 sd_mod
thermal                17426  0 
ahci                   25089  2 
libahci                22767  1 ahci
libata                149043  2 ahci,libahci
i915                  342883  7 
drm_kms_helper         27216  1 i915
scsi_mod              162442  5 sg,usb_storage,uas,sd_mod,libata
drm                   163280  3 i915,drm_kms_helper
i2c_algo_bit           12850  1 i915
button                 12930  1 i915
i2c_core               23909  5 i2c_i801,i915,drm_kms_helper,drm,i2c_algo_bit
video                  17707  1 i915
thermal_sys            17949  3 processor,thermal,video


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

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

Versions of packages cryptsetup depends on:
ii  debconf [debconf-2.0]        1.5.41      Debian configuration management sy
ii  dmsetup                      2:1.02.65-1 Linux Kernel Device Mapper userspa
ii  libc6                        2.13-18     Embedded GNU C Library: Shared lib
ii  libcryptsetup1               2:1.3.0-3   libcryptsetup shared library
ii  libpopt0                     1.16-1      lib for parsing cmdline parameters

cryptsetup recommends no packages.

Versions of packages cryptsetup suggests:
ii  busybox                       1:1.18.5-1 Tiny utilities for small and embed
pn  dosfstools                    <none>     (no description available)
ii  initramfs-tools [linux-initra 0.99       tools for generating an initramfs
ii  liblocale-gettext-perl        1.05-7     module using libc functions for in
ii  udev                          172-1      /dev/ and hotplug management daemo

-- debconf information:
  cryptsetup/prerm_active_mappings: true



--- End Message ---
--- Begin Message ---
On Mon, 8 Mar 2021 11:30:02 +0900 Norbert Preining <norbert@preining.info> wrote:
> unarchive 701656
> found 701656 0.139
> thanks
> 
> Hi
> 
> I just got dropped into an initramfs rescue shell, and realized that my
> USB keyboard does not work.
> 
> I have
>       MODULES=most
> in my /etc/initramfs-tools/initramfs.conf but still the device doesn't
> give a beep. I actually tried two different USB keyboards, with the same
> effect. It seems hid-generic or so should be fine, but it isn't loaded.
>
This bug report is about MODULES=dep, not MODULES=most.  Please open a
new bug report.

Ben.

-- 
Ben Hutchings
The Peter principle: In a hierarchy, every employee tends to rise to
their level of incompetence.

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply to: