[pkg-cryptsetup-devel] Bug#562427: cryptsetup: Cannot enter luks pass phrase with USB keyboard during boot
John Martin
jam101 at gmail.com
Fri Dec 25 16:58:29 UTC 2009
> Have you included all the necessary modules in your initramfs image?
They should be there:
,----[ grep MODULES /etc/initramfs-tools/initramfs.conf ]
# MODULES: [ most | netboot | dep | list ]
MODULES=most
`----
,----[ man initramfs.conf|grep -A 5 MODULES ]
MODULES
Specifies the modules for the initramfs image. The default set‐
ting is most.
most adds all the framebuffer, acpi, file system, ide, sata,
scsi and usb drivers.
`----
Is there an easy way to see what is actually in the initrd.img?
I'm unsure what, if anything, to make of the following.
,----[ zcat /boot/initrd.img-2.6.32-trunk-amd64|strings|egrep 'usb|hid|nls' ]
# like usb/firewire disks to settle.
hide
hide_cursor
saver_hide
07070100000061000081ED0000000000000000000000014B1EF52E00009EC0000000FE0000000100000000000000000000001000000000lib/udev/usb_id
usb_id
../extras/usb_id/usb_id.c
usb_device
usb_interface
ID_BUS=usb
usb-info
Usage: usb_id [--usb-info] [--num-info] [--export] [--help] <devpath>
--usb-info use usb strings instead
unable to access usb_interface device of '%s'
unable to find parent 'usb' device of '%s'
usb_id
usb_interface
usb-0:%s
SUBSYSTEMS=="usb", \
IMPORT{program}="usb_id --export $devpath"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", WAIT_FOR_SYSFS="descriptors"
SUBSYSTEMS=="usb", KERNEL=="auer[0-9]*", NAME="usb/%k"
SUBSYSTEMS=="usb", KERNEL=="cpad[0-9]*", NAME="usb/%k"
SUBSYSTEMS=="usb", KERNEL=="dabusb[0-9]*", NAME="usb/%k"
SUBSYSTEMS=="usb", KERNEL=="hiddev[0-9]*", NAME="usb/%k"
SUBSYSTEMS=="usb", KERNEL=="legousbtower[0-9]*", NAME="usb/%k"
SUBSYSTEMS=="usb", KERNEL=="lp[0-9]*", NAME="usb/%k"
SUBSYSTEMS=="usb", KERNEL=="iowarrior[0-9]*", NAME="usb/%k"
SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", \
# usbfs-like devices
SUBSYSTEM=="usb",
ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}"
SUBSYSTEM=="block", SUBSYSTEMS=="usb|ieee1394|mmc|pcmcia", GROUP="floppy"
KERNEL=="legousbtower*", MODE="0666"
KERNEL=="lp[0-9]*", SUBSYSTEMS=="usb", GROUP="lp"
# the ones from the old usblp kernel module
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", \
ENV{ID_USB_INTERFACES}=="", IMPORT{program}="usb_id --export %p"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", \
# usbfs-like devices
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", \
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="plugdev", \
# Do not create symlinks for hidden subdevices.
usbdevfs
_rl_match_hidden_files
match-hidden-files
LV %s in VG %s is now hidden.
modules.usbmap
# usb module
__mod_usb_device_table
LV %s in VG %s is now hidden.
__mod_usb_device_table
blacklist usbmouse
blacklist usbkbd
blacklist pcwd_usb
alias char-major-180-* usbcore
#alias char-major-240-* usb-serial
#alias bt-proto-6 hidp
alias usbdevfs usbcore
`----
> btw: Is this really priority=important!?
Yes, I think so. How would one with only a USB keyboard boot their
system after using cryptsetup to encrypt a partition including all other
than /boot?
-jam
More information about the pkg-cryptsetup-devel
mailing list