[pkg-cryptsetup-devel] Bug#562427: Bug#562427: Fwd: Bug#562427: cryptsetup: Cannot enter luks pass phrase with USB keyboard during boot

John Martin jam101 at gmail.com
Sun Feb 21 23:55:40 UTC 2010


On Sun, Feb 21, 2010 at 7:19 AM, Jonas Meurer <jonas at freesources.org> wrote:
> hey john,
>
> On 15/02/2010 John Martin wrote:
>> Also attached are:
>>
>> 1.  The /boot/initrd.img-2.6.32-trunk-amd64  created when upgrading
>> update-inetd [4.35 -> 4.36]  earlier today.
>
> seems like you forgot to attach the initramfs image.

The silly mailer I'm using doesn't seem to like that file.  Now I
attach the contents of my current initrd.img as gotten by cpio as
indicated at the head of the enclosed 'initrd-img-contents'.

> i strongly believe that the problem is a misconfiguration on your
> side.

Agreed, of course.  I tried to find that before filing this bug.

> otherwise other users of encrypted rootfs would have run into the same
> issue. please check any custom changes you made to /etc/initramfs-tools
> and /etc/modprobe.d.

The only change I have made, apart form what may have been done behind
my back by some package, has been to add usbhid, hid, usbcore, and
nls_base to /etc/initramfs-tools/modules as shown in my message #30
above on 25 Dec.  These should, presumably, be unnecessary however.

I have attached copies of all the files under my /etc/initramfs-tools.

> also, you could apply the attached patch to
> /usr/share/initramfs-tools/scripts/local-top/cryptroot and regenerate
> the initramfs afterwards in order to get some debugging output in the
>  boot process.

That gave me output including something like:
[[...]]
/scripts/local-top/cryptroot: line 1: lsmod: not found
the output of lsmod:

are the usb keyboard modules loaded?
input any characters to test the keyboard: [[no visible effect]]
--------

However:

,----[ grep -E 'usb|hid|nls_base|lsmod' /tmp/initramfs/initrd.img-contents ]
 ./lib/udev/usb_id
 ./lib/modules/2.6.32-trunk-amd64/kernel/fs/nls/nls_base.ko
 ./lib/modules/2.6.32-trunk-amd64/kernel/drivers/usb
 ./lib/modules/2.6.32-trunk-amd64/kernel/drivers/usb/core
 ./lib/modules/2.6.32-trunk-amd64/kernel/drivers/usb/core/usbcore.ko
 ./lib/modules/2.6.32-trunk-amd64/kernel/drivers/hid
 ./lib/modules/2.6.32-trunk-amd64/kernel/drivers/hid/usbhid
 ./lib/modules/2.6.32-trunk-amd64/kernel/drivers/hid/usbhid/usbhid.ko
 ./lib/modules/2.6.32-trunk-amd64/kernel/drivers/hid/hid.ko
`----

So it appears that the four modules for usb keyboard are in the
image.  What am I missing now?

Thank you for your help.  Do we have a bit more to go on now?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: modules
Type: application/octet-stream
Size: 219 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20100221/d839d38e/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: initramfs.conf
Type: application/octet-stream
Size: 1013 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20100221/d839d38e/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: update-initramfs.conf
Type: application/octet-stream
Size: 380 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20100221/d839d38e/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: driver-policy
Type: application/octet-stream
Size: 161 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20100221/d839d38e/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: resume
Type: application/octet-stream
Size: 30 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20100221/d839d38e/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: initrd.img-contents
Type: application/octet-stream
Size: 6210 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20100221/d839d38e/attachment-0005.obj>


More information about the pkg-cryptsetup-devel mailing list