From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.1 Date: Sat, 29 Aug 2020 12:40:29 +0200 From: Alexey Gladkov To: Linux console tools development discussion Message-ID: <20200829104029.tjtrxas5bk5ligrr@comp-core-i7-2640m-0182e6> References: <1522febd-2d76-37ff-ade8-8acb6dd54d80@dokumenteundeinstellungen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1522febd-2d76-37ff-ade8-8acb6dd54d80@dokumenteundeinstellungen.de> Subject: Re: [kbd] Broken bkeymap X-BeenThere: kbd@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Linux console tools development discussion List-Id: Linux console tools development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2020 10:40:36 -0000 Archived-At: List-Archive: On Sun, Aug 23, 2020 at 09:26:14AM +0200, Thorben wrote: > Hi list, > > I'm new to the topic of keymaps and everything around it so I hope to > find some help. > > For my Gentoo I'm building my own initramfs, but last week I came across > a strange problem: Entering my passphrase for LUKS was not possible. The > layout was broken. > Eventually I found out that the file generated for loadkmap did changed > but I don't know why. The difference can be seen in this screenshot > (just a URL as I don't want to generate huge traffic by attaching the > file): > https://chaos.social/system/media_attachments/files/104/723/346/690/219/791/original/a5fea93d1f356d8d.png > > The first thing I noticed is that the number of null bytes changed from > 1 to 3 (from 2 bytes to 4 bytes in total). > > Can someone help me to understand why it did changed and why my > initramfs (loadkmap via busybox) is unable to process the new file? Are > both versions even valid? What architecture was the initramfs image created on? What architecture was the initramfs used on? What are the busybox and kbd versions? -- Rgrds, legion