Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
putfont: PIO_FONT: Invalid argument
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
eNTi
Veteran
Veteran


Joined: 20 Oct 2002
Posts: 1011
Location: Salzburg, Austria

PostPosted: Wed Feb 18, 2004 3:55 pm    Post subject: putfont: PIO_FONT: Invalid argument Reply with quote

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
View user's profile Send private message
wubante
n00b
n00b


Joined: 27 Jan 2004
Posts: 21

PostPosted: Fri Feb 27, 2004 11:15 am    Post subject: Reply with quote

Have a look at

https://forums.gentoo.org/viewtopic.php?t=110795&highlight=putfont+piofont+invalid+argument
Back to top
View user's profile Send private message
eNTi
Veteran
Veteran


Joined: 20 Oct 2002
Posts: 1011
Location: Salzburg, Austria

PostPosted: Fri Feb 27, 2004 1:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
VeSCeRa
Tux's lil' helper
Tux's lil' helper


Joined: 11 Apr 2004
Posts: 111

PostPosted: Fri Jul 23, 2004 8:56 pm    Post subject: Reply with quote

i have the same problem , any solution ?
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Sat Aug 14, 2004 3:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sat Aug 14, 2004 4:18 pm    Post subject: Reply with quote

Moved from Installing Gentoo.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
nyback
n00b
n00b


Joined: 27 Aug 2004
Posts: 30

PostPosted: Fri Aug 27, 2004 5:23 am    Post subject: Same here Reply with quote

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
View user's profile Send private message
Neo_0815
l33t
l33t


Joined: 24 Feb 2003
Posts: 815
Location: Leipzig

PostPosted: Sat Sep 04, 2004 8:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
HotBBQ
Apprentice
Apprentice


Joined: 03 Mar 2004
Posts: 275
Location: West Melbourne, FL

PostPosted: Thu Oct 14, 2004 11:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
schmutzfinger
Veteran
Veteran


Joined: 26 Oct 2003
Posts: 1287
Location: Dresden/Germany

PostPosted: Thu Oct 28, 2004 10:43 am    Post subject: Reply with quote

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
View user's profile Send private message
hepta_sean
Apprentice
Apprentice


Joined: 27 Apr 2004
Posts: 246
Location: Berlin, Germany

PostPosted: Thu Oct 28, 2004 9:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
LaNcom
Apprentice
Apprentice


Joined: 03 May 2003
Posts: 254
Location: Erfurt, Germany

PostPosted: Sun Oct 31, 2004 3:31 am    Post subject: Reply with quote

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
View user's profile Send private message
dentharg
Guru
Guru


Joined: 10 Aug 2004
Posts: 438
Location: /poland/wroclaw

PostPosted: Tue Nov 09, 2004 11:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
Wooff
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2004
Posts: 101
Location: LB.CZ.EU

PostPosted: Wed Nov 17, 2004 5:18 pm    Post subject: setfont error != silent to verbose Reply with quote

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
View user's profile Send private message
dentharg
Guru
Guru


Joined: 10 Aug 2004
Posts: 438
Location: /poland/wroclaw

PostPosted: Wed Nov 17, 2004 6:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
Wooff
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2004
Posts: 101
Location: LB.CZ.EU

PostPosted: Thu Nov 18, 2004 11:56 am    Post subject: baselayout and linuxutil? Reply with quote

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
View user's profile Send private message
BlackB1rd
Tux's lil' helper
Tux's lil' helper


Joined: 13 Aug 2003
Posts: 131
Location: /Europe/Netherlands/Haarlem

PostPosted: Sun Nov 21, 2004 2:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
madmango
Guru
Guru


Joined: 15 Jul 2003
Posts: 507
Location: PA, USA

PostPosted: Mon Nov 22, 2004 7:52 pm    Post subject: Reply with quote

Yeah, I'm getting the same errors, guys.
_________________
word.
Back to top
View user's profile Send private message
Kraymer
Guru
Guru


Joined: 27 Aug 2003
Posts: 349
Location: Germany

PostPosted: Tue Nov 23, 2004 6:40 pm    Post subject: one more.. Reply with quote

madmango wrote:
Yeah, I'm getting the same errors, guys.

One more vote.. :(
Back to top
View user's profile Send private message
stanlus
n00b
n00b


Joined: 23 Nov 2004
Posts: 7

PostPosted: Tue Nov 23, 2004 11:01 pm    Post subject: I vote for it Reply with quote

I do have the same problem.
:D 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
View user's profile Send private message
gregy_
n00b
n00b


Joined: 03 Apr 2004
Posts: 45

PostPosted: Wed Nov 24, 2004 6:38 am    Post subject: same here Reply with quote

With some many votes this seems like a bug... Was it already reported through the bugzilla?
Back to top
View user's profile Send private message
Kraymer
Guru
Guru


Joined: 27 Aug 2003
Posts: 349
Location: Germany

PostPosted: Wed Nov 24, 2004 10:12 am    Post subject: Re: I vote for it Reply with quote

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
View user's profile Send private message
McMCC
n00b
n00b


Joined: 24 Nov 2004
Posts: 3
Location: Moscow, Russia

PostPosted: Wed Nov 24, 2004 11:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
madmango
Guru
Guru


Joined: 15 Jul 2003
Posts: 507
Location: PA, USA

PostPosted: Sun Nov 28, 2004 7:47 pm    Post subject: Reply with quote

nice! first post too!
_________________
word.
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Sun Nov 28, 2004 8:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum