Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 222889 - [HPPA] /etc/init.d/consolefont fails to start - PIO_FONT: Function not implemented
Summary: [HPPA] /etc/init.d/consolefont fails to start - PIO_FONT: Function not implem...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: HPPA Linux
: High minor (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 295613
  Show dependency tree
 
Reported: 2008-05-20 03:03 UTC by Jeroen Roovers (RETIRED)
Modified: 2011-04-16 13:22 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
openrc-0.4.3-r3.ebuild-hppa-consolefont.patch (openrc-0.4.3-r3.ebuild-hppa-consolefont.patch,816 bytes, patch)
2009-06-18 18:14 UTC, Jeroen Roovers (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2008-05-20 03:03:44 UTC
* Setting console font [default8x16] ...
putfont: PIO_FONT trying ...
...................
setfont: putfont: 256,8x16:  failed: -1
putfont: PIO_FONT: Function not implemented
putfont: PIO_FONT trying ...
...................
setfont: putfont: 256,8x16:  failed: -1
putfont: PIO_FONT: Function not implemented
putfont: PIO_FONT trying ...
...................
setfont: putfont: 256,8x16:  failed: -1
putfont: PIO_FONT: Function not implemented
putfont: PIO_FONT trying ...
...................
setfont: putfont: 256,8x16:  failed: -1
putfont: PIO_FONT: Function not implemented
putfont: PIO_FONT trying ...
...................
setfont: putfont: 256,8x16:  failed: -1
putfont: PIO_FONT: Function not implemented
putfont: PIO_FONT trying ...
...................
setfont: putfont: 256,8x16:  failed: -1
putfont: PIO_FONT: Function not implemented
putfont: PIO_FONT trying ...
...................
setfont: putfont: 256,8x16:  failed: -1
putfont: PIO_FONT: Function not implemented
putfont: PIO_FONT trying ...
...................
setfont: putfont: 256,8x16:  failed: -1
putfont: PIO_FONT: Function not implemented
putfont: PIO_FONT trying ...
...................
setfont: putfont: 256,8x16:  failed: -1
putfont: PIO_FONT: Function not implemented
putfont: PIO_FONT trying ...
...................
setfont: putfont: 256,8x16:  failed: -1
putfont: PIO_FONT: Function not implemented
putfont: PIO_FONT trying ...
...................
setfont: putfont: 256,8x16:  failed: -1
putfont: PIO_FONT: Function not implemented
putfont: PIO_FONT trying ...
...................
setfont: putfont: 256,8x16:  failed: -1
putfont: PIO_FONT: Function not implemented
 [ !! ]
 * ERROR: consolefont failed to start

The (pretty basic) STI framebuffer apparently doesn't respond very well to something in the consolefont script. Each try takes quite a long time to return so this slows down the boot process significantly. CC'ing release@ as it may prove useful to workaround the problem in the upcoming release by removing consolefont from the runlevels on HPPA boot media.
Comment 1 SpanKY gentoo-dev 2008-05-31 07:09:36 UTC
well, i really dont see there anything to "fix" in the init.d script itself.  the default hppa framebuffer doesnt support changing fonts which means consolefont shouldnt be run.

about the only thing worth doing is adding a line like:
use hppa && rm -f "${D}"/usr/share/openrc/runlevels/boot/consolefont
thus disabling consolefont on hppa by default for everyone ...
Comment 2 Luca Lesinigo 2008-11-17 13:39:22 UTC
please note there's two ways to use STI from linux:
- CONFIG_STI_CONSOLE "STI text console", this is a text console which has nothing to do with framebuffer.
- CONFIG_FB_STI "HP STI frame buffer device support", that's an actual framebuffer and will create /dev/fbX and can be used by a "Framebuffer console" (CONFIG_FRAMEBUFFER_CONSOLE)

if you're using the former there's no concept of "font" from the linux side of things, it's just a text interface. if you're using the latter, then I would expect to be able to change fonts and that fonts are handled by the framebuffer console driver, and not by the actual framebuffer driver (at least for non-accelerated framebuffers like STI). But I have to admit I haven't actually looked at the code and I don't have suitable hardware to test.

(In reply to comment #1)
> about the only thing worth doing is adding a line like:
> use hppa && rm -f "${D}"/usr/share/openrc/runlevels/boot/consolefont
> thus disabling consolefont on hppa by default for everyone ...
hppa isn't limited to STI framebuffers. at least sst (Voodoo Graphics PCI) and some ATI cards presently work. I had an HPPA system with framebuffer (both console and X11) on sst (although I never tried to change fonts).
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2009-06-18 18:14:25 UTC
Created attachment 195107 [details, diff]
openrc-0.4.3-r3.ebuild-hppa-consolefont.patch
Comment 4 William Hubbs gentoo-dev 2011-04-15 03:47:34 UTC
This has been fixed, and the fix will be in openrc-0.8.2.
Comment 5 William Hubbs gentoo-dev 2011-04-16 13:22:23 UTC
Thanks for the report.