From owner-freebsd-current@FreeBSD.ORG Wed Jul 2 19:19:38 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8D198E29 for ; Wed, 2 Jul 2014 19:19:38 +0000 (UTC) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 19AAE27AA for ; Wed, 2 Jul 2014 19:19:37 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.9/8.14.9) with ESMTP id s62JJXC2075942 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 2 Jul 2014 21:19:33 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.9/8.14.9/Submit) with ESMTP id s62JJXYj075939 for ; Wed, 2 Jul 2014 21:19:33 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Wed, 2 Jul 2014 21:19:33 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: FreeBSD current Subject: Re: vidcontrol(1) complains about Bad magic, in base/head, amd64, sc console, r268165 In-Reply-To: Message-ID: References: User-Agent: Alpine 2.11 (BSF 23 2013-08-11) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-ID: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) 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.18 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 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, 02 Jul 2014 19:19:38 -0000 On Wed, 2 Jul 2014 21:05+0200, Trond Endrestøl wrote: > On Wed, 2 Jul 2014 20:51+0200, Trond Endrestøl wrote: > > > Hi, > > > > Is it just me or is there something wrong with vidcontrol(1) in > > base/head, amd64, sc console, r268165? > > > > First, I had to specify absolute pathnames for the font8x16, font8x14, > > and font8x8 variables in /etc/rc.conf before vidcontrol(1) would load > > anything, and next, vidcontrol(1), when run by /etc/rc.d/syscons, > > complains about: > > > > Bad magic > > vidcontrol: failed to load font "/usr/share/syscons/fonts/iso-8x16.fnt": No error: 0 > > Bad magic > > vidcontrol: failed to load font "/usr/share/syscons/fonts/iso-8x14.fnt": No error: 0 > > Bad magic > > vidcontrol: failed to load font "/usr/share/syscons/fonts/iso-8x8.fnt": No error: 0 > > > > I wouldn't rule out pilot error on my part, but r267957 worked > > flawlessly in this regard. > > I guess with both sc and vt in the kernel, line 220 of > usr.sbin/vidcontrol/vidcontrol.c needs a slight adjustment. The same adjustment will be needed at line 150 of usr.sbin/kbdcontrol/kbdcontrol.c. -- +-------------------------------+------------------------------------+ | 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. | +-------------------------------+------------------------------------+