Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Kernel (http://www.linux-archive.org/debian-kernel/)
-   -   Bug#689851: initramfs-tools: Wrong keymap at boot while, prompting for the passphrase (http://www.linux-archive.org/debian-kernel/710968-bug-689851-initramfs-tools-wrong-keymap-boot-while-prompting-passphrase.html)

Ondřej Vodáček 10-09-2012 07:37 PM

Bug#689851: initramfs-tools: Wrong keymap at boot while, prompting for the passphrase
 
Hello,

I have encountered the same problem after upgrading from 0.107 to 0.108. I have my root and home partitions on lvm on an encrypted device. It is definitely a keymap problem. After 3 unsuccessfully tries typing the passphrase a shell (busybox?) appeared and I was able to figure out, that is switched to an English(?) layout. Normally I have a Czech keyboard layout. I was then able to type in the right passphrase and continue booting.

Regards
Ondřej Vodáček


--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 50747D12.4080504@gmail.com">http://lists.debian.org/50747D12.4080504@gmail.com

Anton Zinoviev 10-10-2012 06:16 AM

Bug#689851: initramfs-tools: Wrong keymap at boot while, prompting for the passphrase
 
On Tue, Oct 09, 2012, Jean-Luc Coulon wrote:
>
> > Please send us the file /tmp/i/etc/boottime.kmap.gz
>
> Attached

Thanks. Well, as far as I can see this is a correct keymap. Se we have
to figure out for what reason it hasn't been activated. It is not an
Unicode keymap, it is for ISO 8859-1 or ISO 8859-15. Is this the
encoding used on your system? Anyway, since your password contains only
ASCII symbols, I don't think this can be the source of the problem.

Another possibility is that the the initramfs image doesn't contain the
gzip binary (yes -- gzip, not gunzip). Two methods to solve this --
either include gzip in the image, or I can change setupcon to generate
uncompressed keymap.

Considering that the generated boottime.kmap.gz seems to be correct,
this is all that can occur to my mind at the moment.

On Tue, Oct 09, 2012, Ondřej Vodáček wrote:
>
> I have encountered the same problem after upgrading from 0.107 to
> 0.108. I have my root and home partitions on lvm on an encrypted
> device. It is definitely a keymap problem. After 3 unsuccessfully
> tries typing the passphrase a shell (busybox?) appeared and I was able
> to figure out, that is switched to an English(?) layout. Normally I
> have a Czech keyboard layout. I was then able to type in the right
> passphrase and continue booting.

Ok, in case we have here the same source of the problem, this confirms
that the problem is not Unicode/non-Unicode related.

Please try the command

loadkeys /etc/boottime.kmap.gz

while you are at this busybox shell and tell us the result.

Anton Zinoviev


--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20121010061653.GA9645@debian.lan">http://lists.debian.org/20121010061653.GA9645@debian.lan

Ondřej Vodáček 10-10-2012 07:32 AM

Bug#689851: initramfs-tools: Wrong keymap at boot while, prompting for the passphrase
 
Dne 10.10.2012 08:16, Anton Zinoviev napsal(a):

On Tue, Oct 09, 2012, Jean-Luc Coulon wrote:



Please send us the file /tmp/i/etc/boottime.kmap.gz


Attached


Thanks. Well, as far as I can see this is a correct keymap. Se we have
to figure out for what reason it hasn't been activated. It is not an
Unicode keymap, it is for ISO 8859-1 or ISO 8859-15. Is this the
encoding used on your system? Anyway, since your password contains only
ASCII symbols, I don't think this can be the source of the problem.

Another possibility is that the the initramfs image doesn't contain the
gzip binary (yes -- gzip, not gunzip). Two methods to solve this --
either include gzip in the image, or I can change setupcon to generate
uncompressed keymap.

when I run 'ls bin' while I am in the busybox both gzip and gunzip are listed


Considering that the generated boottime.kmap.gz seems to be correct,
this is all that can occur to my mind at the moment.

On Tue, Oct 09, 2012, Ondřej Vodáček wrote:


I have encountered the same problem after upgrading from 0.107 to
0.108. I have my root and home partitions on lvm on an encrypted
device. It is definitely a keymap problem. After 3 unsuccessfully
tries typing the passphrase a shell (busybox?) appeared and I was able
to figure out, that is switched to an English(?) layout. Normally I
have a Czech keyboard layout. I was then able to type in the right
passphrase and continue booting.


Ok, in case we have here the same source of the problem, this confirms
that the problem is not Unicode/non-Unicode related.

Please try the command

loadkeys /etc/boottime.kmap.gz

the output is:
/bin/sh: loadkeys: not found


while you are at this busybox shell and tell us the result.

Anton Zinoviev


Regards
Ondřej Vodáček


--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 50752485.9060001@gmail.com">http://lists.debian.org/50752485.9060001@gmail.com

Anton Zinoviev 10-10-2012 08:00 AM

Bug#689851: initramfs-tools: Wrong keymap at boot while, prompting for the passphrase
 
On Wed, Oct 10, 2012 at 09:32:21AM +0200, Ondřej Vodáček wrote:
>
> >Please try the command
> >
> >loadkeys /etc/boottime.kmap.gz
>
> the output is:
> /bin/sh: loadkeys: not found

Good! It seems we've found the culprit.

Anton Zinoviev


--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20121010080057.GA29432@logic.fmi.uni-sofia.bg">http://lists.debian.org/20121010080057.GA29432@logic.fmi.uni-sofia.bg


All times are GMT. The time now is 01:13 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.