vidcontrol(1) complains about Bad magic, in base/head, amd64, sc console, r268165

Trond Endrestøl Trond.Endrestol at fagskolen.gjovik.no
Wed Jul 2 19:19:38 UTC 2014


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.      |
+-------------------------------+------------------------------------+


More information about the freebsd-current mailing list