From owner-freebsd-current@freebsd.org Wed Dec 16 14:57:02 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4BBF3A49038 for ; Wed, 16 Dec 2015 14:57:02 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C056B1E1C for ; Wed, 16 Dec 2015 14:57:01 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.15.2/8.15.2) with ESMTPS id tBGEumgV098891 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 16 Dec 2015 15:56:49 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.15.2/8.15.2/Submit) with ESMTP id tBGEumoY098888; Wed, 16 Dec 2015 15:56:48 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Wed, 16 Dec 2015 15:56:48 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Carsten Kunze cc: freebsd-current@freebsd.org Subject: Re: keymap set after file system decryption In-Reply-To: <37578766.236860.1450260266870.JavaMail.ngmail@webmail18.arcor-online.net> Message-ID: References: <37578766.236860.1450260266870.JavaMail.ngmail@webmail18.arcor-online.net> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED, AWL autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.fig.ol.no Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2015 14:57:02 -0000 On Wed, 16 Dec 2015 11:04+0100, Carsten Kunze wrote: > Hello, > > according to the boot messages the keymap is set after decryption of > file systems. I consider this as a bug. The geli decryption script > asks for the passphrase which can't of course be input if the kaymap > is not set. > > Handbook §17.12 does not mention the keymap setup. What can I do to > make this work? (Of course I can call e.g. kbdmap in > /etc/rc.d/geli, but this is kind of tinkering.) I guess we who live outside the US should take into account that PCs are initialised by firmware to the US keyboard layout and the 437 code page, courtesy of IBM, 1981. I'm not sure if the creators of (U)EFI has considered other keyboard layouts and/or code pages at boot time. A bad workaround is to copy the suitable keymap from /usr/share... to /etc, along with /usr/sbin/kbdcontrol, and add a suitable line to one or either of /etc/rc.d/geli{,2}, e.g.: /etc/kbdcontrol -l /etc/german.iso.kbd kbdcontrol is linked only to libc: $ ldd `which kbdcontrol` /usr/sbin/kbdcontrol: libc.so.7 => /lib/libc.so.7 (0x800827000) -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-current@freebsd.org Wed Dec 16 15:17:17 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 66625A4816C for ; Wed, 16 Dec 2015 15:17:17 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay05.ispgateway.de (smtprelay05.ispgateway.de [80.67.31.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2B3D012AA for ; Wed, 16 Dec 2015 15:17:16 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from [78.35.181.63] (helo=fabiankeil.de) by smtprelay05.ispgateway.de with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1a9Di2-0005E6-T9; Wed, 16 Dec 2015 16:09:42 +0100 Date: Wed, 16 Dec 2015 16:08:54 +0100 From: Fabian Keil To: Oliver Pinter Cc: FreeBSD Current Subject: Re: fork_findpid() - Fatal trap 12: page fault while in kernel mode Message-ID: <20151216160854.29138e1b@fabiankeil.de> In-Reply-To: References: <20151215174238.2d7cc3bb@fabiankeil.de> <20151215192016.GC73098@mutt-hardenedbsd> <20151216131621.42a0d97e@fabiankeil.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/4xBt5RJy+4p7sii6cQDkXXF"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2015 15:17:17 -0000 --Sig_/4xBt5RJy+4p7sii6cQDkXXF Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Oliver Pinter wrote: > Yes, it's a HardenedBSD commit. Currently only a workaround, because I ha= ve > now lesser time for the real fix in this month. >=20 > Are you running on ZFS? Yes. Fabian --Sig_/4xBt5RJy+4p7sii6cQDkXXF Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlZxfoYACgkQBYqIVf93VJ1iRwCgywNRJNo7TfpWkLSwPQBU1dr+ 7EwAniwrVU+0fnaTFpdY0m4jl6FUkDWY =RVwZ -----END PGP SIGNATURE----- --Sig_/4xBt5RJy+4p7sii6cQDkXXF--