View previous topic :: View next topic |
Author |
Message |
eNTi Veteran
Joined: 20 Oct 2002 Posts: 1011 Location: Salzburg, Austria
|
Posted: Wed Feb 18, 2004 3:55 pm Post subject: putfont: PIO_FONT: Invalid argument |
|
|
when i try to load a consolefont, i'll get that error message and my special chars like ö,ä,ü,¤ won't work.
Code: |
<16:49:06><Wed Feb 18></usr/share/consolefonts>
root@eNTi $ setfont lat9w-16
putfont: PIO_FONT: Invalid argument
|
Code: |
root@eNTi $ /etc/init.d/consolefont restart
* WARNING: you are stopping a boot service.
* Setting user font...
putfont: PIO_FONT: Invalid argument [ ok ]
|
any idea? _________________ If you fall off a cliff, you might as well try to fly. After all, you got nothing to lose.
-- John Sheridan - Babylon 5, Season 4 |
|
Back to top |
|
|
wubante n00b
Joined: 27 Jan 2004 Posts: 21
|
|
Back to top |
|
|
eNTi Veteran
Joined: 20 Oct 2002 Posts: 1011 Location: Salzburg, Austria
|
Posted: Fri Feb 27, 2004 1:18 pm Post subject: |
|
|
well... this doesn't really help my problem, but thanks for the link. _________________ If you fall off a cliff, you might as well try to fly. After all, you got nothing to lose.
-- John Sheridan - Babylon 5, Season 4 |
|
Back to top |
|
|
VeSCeRa Tux's lil' helper
Joined: 11 Apr 2004 Posts: 111
|
Posted: Fri Jul 23, 2004 8:56 pm Post subject: |
|
|
i have the same problem , any solution ? |
|
Back to top |
|
|
AlterEgo Veteran
Joined: 25 Apr 2002 Posts: 1619
|
Posted: Sat Aug 14, 2004 3:29 pm Post subject: |
|
|
bump: same problem, and no fix.
[edit]
I am running sys-apps/baselayout-1.10.3. And the consolefonts-scripts produce no errors and actually work.
After I emerge media-gfx/splashutils-0.9_pre05, the"putfont: PIO_FONT: Invalid argument" errors begin.
kernel 2.6.8.1
fbsplash-0.9-r5-2.6.8-rc3.patch
splashutils-0.9-pre05-gentoo.tar.bz2
Last edited by AlterEgo on Sat Aug 14, 2004 7:15 pm; edited 4 times in total |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20421
|
Posted: Sat Aug 14, 2004 4:18 pm Post subject: |
|
|
Moved from Installing Gentoo. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
nyback n00b
Joined: 27 Aug 2004 Posts: 30
|
Posted: Fri Aug 27, 2004 5:23 am Post subject: Same here |
|
|
As the first poster i get "putfont: PIO_FONT: Invalid argument" when i run setfont or /etc/init.d/consolefont. Cannot figure out whats wrong. It has started during some emerge --update world in the latest month. I tried to go back to the previous kbd package but it did not help. I am trying to get swedish characters in the console but i get this error as soon as i specify anything for CONSOLEFONT in rc.config |
|
Back to top |
|
|
Neo_0815 l33t
Joined: 24 Feb 2003 Posts: 815 Location: Leipzig
|
Posted: Sat Sep 04, 2004 8:26 pm Post subject: |
|
|
I get this error only when using silent splash screen, with non silent this error doesnt appear ...
It appears at boot time only too here, restarting it later will not cause any errors - strange behaviour.
best regards
ps: running 2.6.8 kernel & splashutils 0.9pre7 _________________ [img:76661e22b8]http://www.biersekte.de/biersektebanner.gif[/img:76661e22b8] |
|
Back to top |
|
|
HotBBQ Apprentice
Joined: 03 Mar 2004 Posts: 275 Location: West Melbourne, FL
|
Posted: Thu Oct 14, 2004 11:48 pm Post subject: |
|
|
Getting the same problem here. Has something to do with splashutils. _________________ "If tyranny and oppression come to this land, it will be in the guise of fighting a foreign enemy." -- James Madison |
|
Back to top |
|
|
schmutzfinger Veteran
Joined: 26 Oct 2003 Posts: 1287 Location: Dresden/Germany
|
Posted: Thu Oct 28, 2004 10:43 am Post subject: |
|
|
Same problem here, i do not miss any symbols on my tty's. Only noticed the problem, because my silent splash stops beeing silent at this point. btw i am also using splashutils, maybe there really is a connection.
Code: | hensch dev # setfont lat9w-16
putfont: PIO_FONT: Das Argument ist ungültig
hensch dev # /etc/init.d/consolefont restart
* WARNING: you are stopping a boot service.
* Setting user font...
putfont: PIO_FONT: Das Argument ist ungültig [ ok ] |
|
|
Back to top |
|
|
hepta_sean Apprentice
Joined: 27 Apr 2004 Posts: 246 Location: Berlin, Germany
|
Posted: Thu Oct 28, 2004 9:52 pm Post subject: |
|
|
Also got exactly the same symptoms as schmutzfinger: Characters äöüß and are there, but splash stops being silent with the message:
Code: | putfont: PIO_FONT: Invalid argument |
I also get the message, when issuing setfont (or /etc/init.d/consolefont restart) in an xterm, but not, when using them directly on the console.
So, I think it might be related to having no real console, when the command is executed (either, because we're in X, or, because the silent splash is active).
Perhaps adding after splash to the depend() of /etc/init.d/consolefont could help, so the consolefont is set, when the silent splash is already gone?
EDIT: No it doesn't. But I don't know, why
It still starts early in spite of the after splash.
Need to read some documentation.
EDIT 2: O.K., first think, then post: The dependencies are only regarded inside the runlevels. Since consolefont is in boot it can't be started after splash, which is in default.
But that doesn't matter, because it doesn't work anyway: The error is still there, even if consolefont is started last. |
|
Back to top |
|
|
LaNcom Apprentice
Joined: 03 May 2003 Posts: 254 Location: Erfurt, Germany
|
Posted: Sun Oct 31, 2004 3:31 am Post subject: |
|
|
A (somewhat crude) workaround is to remove the output - change every occurance of ">/dev/null" for the setfont calls in /etc/init.d/consolefont to "&>/dev/null". Since the error doesn't seem to have any important meaning, this hack shouldn't do any harm... |
|
Back to top |
|
|
dentharg Guru
Joined: 10 Aug 2004 Posts: 438 Location: /poland/wroclaw
|
Posted: Tue Nov 09, 2004 11:15 pm Post subject: |
|
|
I also have got this problem with setfont
Code: |
putfont: PIO_FONT: Invalid argument
|
I am using most recent baselayout 1.11.6-r1 and kbd 1.12-r3; my consolefont of choice is lat2a-16, pl keymap, iso-8859-2. |
|
Back to top |
|
|
Wooff Tux's lil' helper
Joined: 19 Jun 2004 Posts: 101 Location: LB.CZ.EU
|
Posted: Wed Nov 17, 2004 5:18 pm Post subject: setfont error != silent to verbose |
|
|
Hi,
I have the same problem with setfont error.
I did Quote: | rc-update del consolefont |
and reboot
and there are no more setfont error during booting...but the spash still turn from silent to verbose mod !!!
so I think this mod turning have nothing to do with this setfont error. ))-:
any idea?
W |
|
Back to top |
|
|
dentharg Guru
Joined: 10 Aug 2004 Posts: 438 Location: /poland/wroclaw
|
Posted: Wed Nov 17, 2004 6:43 pm Post subject: |
|
|
I think that latest baselayout and linuxutil made things good again.
have gentoo 1.6.6 for now and everything is good |
|
Back to top |
|
|
Wooff Tux's lil' helper
Joined: 19 Jun 2004 Posts: 101 Location: LB.CZ.EU
|
Posted: Thu Nov 18, 2004 11:56 am Post subject: baselayout and linuxutil? |
|
|
hi,
I update to baselayout-1.11.6-r1 but there is no package like linuxutil Quote: | emerge -s linuxutil
Searching...
[ Results for search key : linuxutil ]
[ Applications found : 0 ] |
and still it doesn't work ))-:
this is from X Quote: | /etc/init.d/consolefont restart
* WARNING: you are stopping a boot service.
* Setting user font ...
putfont: PIO_FONT: Invalid argument [OK] |
but when I start it directly from text console Quote: | /etc/init.d/consolefont restart
* WARNING: you are stopping a boot service.
* Setting user font ... [OK] |
any ideas?
W
gnome2.6.2-r1
kernel 2.6.9-ck3
gcc-3.3.4-r1
splashutils-0.9_pre10
CONSOLEFONT="lat2-16"
KEYMAP="us" |
|
Back to top |
|
|
BlackB1rd Tux's lil' helper
Joined: 13 Aug 2003 Posts: 131 Location: /Europe/Netherlands/Haarlem
|
Posted: Sun Nov 21, 2004 2:48 pm Post subject: |
|
|
Got the same problem; also after installing splashutils and using the fbsplash. It switches from this point to verbose mode, which I don't like
So if anyone knows a solution, let us know |
|
Back to top |
|
|
madmango Guru
Joined: 15 Jul 2003 Posts: 507 Location: PA, USA
|
Posted: Mon Nov 22, 2004 7:52 pm Post subject: |
|
|
Yeah, I'm getting the same errors, guys. _________________ word. |
|
Back to top |
|
|
Kraymer Guru
Joined: 27 Aug 2003 Posts: 349 Location: Germany
|
Posted: Tue Nov 23, 2004 6:40 pm Post subject: one more.. |
|
|
madmango wrote: | Yeah, I'm getting the same errors, guys. |
One more vote.. |
|
Back to top |
|
|
stanlus n00b
Joined: 23 Nov 2004 Posts: 7
|
Posted: Tue Nov 23, 2004 11:01 pm Post subject: I vote for it |
|
|
I do have the same problem.
really...there is no problem but... my nice new silent splash is switching to verbose mode.
So I don't like it and vote for resolving this problem.
Have a lot of fun, gentoo is the right beginning. _________________ god must love stupid people-- because he made so many |
|
Back to top |
|
|
gregy_ n00b
Joined: 03 Apr 2004 Posts: 45
|
Posted: Wed Nov 24, 2004 6:38 am Post subject: same here |
|
|
With some many votes this seems like a bug... Was it already reported through the bugzilla? |
|
Back to top |
|
|
Kraymer Guru
Joined: 27 Aug 2003 Posts: 349 Location: Germany
|
Posted: Wed Nov 24, 2004 10:12 am Post subject: Re: I vote for it |
|
|
stanlus wrote: | my nice new silent splash is switching to verbose mode. |
I edited /etc/conf.d/splash yesterday:
Code: | SPLASH_VERBOSE_ON_ERRORS="no" |
Rebooting today worked fine. The main splash screen changed when the console background pictures loaded (the splash init script) and not before.
There were reports that even setting splash_verbose_errors to 'no' would break the nice splash screen. I cannot confirm that.
Regardings bugs.. I didn't find any, at least not in gentoo's bugs db. Since many users have the problem and even the more skilled ones cannot solve that issue, one could think about opening a bug report.
EDIT: Oopsi, I found this one
Sebastian |
|
Back to top |
|
|
McMCC n00b
Joined: 24 Nov 2004 Posts: 3 Location: Moscow, Russia
|
Posted: Wed Nov 24, 2004 11:33 pm Post subject: |
|
|
Code: |
I have solved the given problem, the conflict setfont and fbsplash, it is necessary to impose this patch on kernel:
--- linux-2.6.9/drivers/char/vt.c.orig 2004-10-19 01:55:06.000000000 +0400
+++ linux-2.6.9/drivers/char/vt.c 2004-11-25 12:06:46.675764888 +0300
@@ -3091,8 +3092,10 @@
int rc = -EINVAL;
int size;
+#ifndef CONFIG_FB_SPLASH /* Fix for setfont (McMCC) */
if (vt_cons[currcons]->vc_mode != KD_TEXT)
return -EINVAL;
+#endif
if (!op->data)
return -EINVAL;
if (op->charcount > 512)
Only setfont it is necessary to load for each console, i.e. to use an option -C:
setfont <args> -C /dev/tty0
setfont <args> -C /dev/tty1
setfont <args> -C /dev/tty2
setfont <args> -C /dev/tty3
setfont <args> -C /dev/tty4
setfont <args> -C /dev/tty5
.....
or
for x in 0 1 2 3 4 5
do
setfont <args> -C /dev/tty$x
done
|
|
|
Back to top |
|
|
madmango Guru
Joined: 15 Jul 2003 Posts: 507 Location: PA, USA
|
Posted: Sun Nov 28, 2004 7:47 pm Post subject: |
|
|
nice! first post too! _________________ word. |
|
Back to top |
|
|
VinzC Watchman
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Sun Nov 28, 2004 8:19 pm Post subject: |
|
|
McMCC wrote: | [code]
I have solved the given problem, the conflict setfont and fbsplash, it is necessary to impose this patch on kernel:
... |
Will console fonts still be applied with that patch? _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
|
|