From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: KDFONTOP/PIO_UNIMAPCLR: Input/output error Date: Wed, 04 Jul 2018 16:10:18 +0200 Message-ID: <874lhfccs5.fsf_-_@gnu.org> References: <20180703101553.702b0b00@alma-ubu> <20180703152752.50f1795e@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1faiU9-00042Y-Sd for guix-devel@gnu.org; Wed, 04 Jul 2018 10:10:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1faiU8-0003b3-Pi for guix-devel@gnu.org; Wed, 04 Jul 2018 10:10:21 -0400 In-Reply-To: <20180703152752.50f1795e@scratchpost.org> (Danny Milosavljevic's message of "Tue, 3 Jul 2018 15:27:52 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Danny Milosavljevic Cc: guix-devel --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Danny & all, Danny Milosavljevic skribis: >> PIO_UNIMAPCLR: Input/output error >> 3) PIO_UNIMAPCLR: Input/output error >>=20 >> Anything to worry about? > > According to https://elixir.bootlin.com/linux/v3.2/source/include/linux/k= d.h#L70 > that's trying to clear the Unicode -> font map (that is, charmap). > > In Linux, ./drivers/tty/vt/vt_ioctl.c implements it. > > Can't see how that ever ends up in -EIO O_o Sometimes we also get: putfont: KDFONTOP: Input/output error In both cases, the warning comes from the =E2=80=98setfont=E2=80=99 program= , invoked from =E2=80=98console-font-shepherd-services=E2=80=99. I=E2=80=99ve looked at the code and man pages and like you, I don=E2=80=99t= see where EIO comes from. Maybe it=E2=80=99s a generic ioctl error that=E2=80=99s re= turn before we reach the actual ioctl implementation in the VT driver, sorta like EBADF? Until we find out, I=E2=80=99d like to just silence the warnings: --=-=-= Content-Type: text/x-patch Content-Disposition: inline --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -754,8 +754,10 @@ to add @var{device} to the kernel's entropy pool. The service will fail if ;; systemd's vconsole support, let's not treat ;; this as an error. (case (status:exit-val - (system* #$(file-append kbd "/bin/setfont") - "-C" #$device #$font)) + (with-error-to-port (%make-void-port "w") + (lambda () + (system* #$(file-append kbd "/bin/setfont") + "-C" #$device #$font)))) ((0 71) #t) (else #f)))) (stop #~(const #t)) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sounds good? Ludo=E2=80=99. --=-=-=--