Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Weird messages from scripts at boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
wilburpan
l33t
l33t


Joined: 21 Jan 2003
Posts: 977

PostPosted: Mon Jul 28, 2003 5:17 pm    Post subject: Weird messages from scripts at boot Reply with quote

I noticed today that I'm getting two weird error messages at boot time that I can't explain:

Code:

[*] Setting user font....        [ok]
Cannot open file default8x16

[*] Loading key mappings...
Cannot open file windowkeys
Error loading key mappings       [!!]

Looking through my /usr/share/* tree, the usual set of keymaps and consolefonts are there. My /etc/rc.conf seems okay. I don't understand why I'm gettting these errors.
_________________
I'm only hanging out in OTW until I get rid of this stupid l33t ranking.....Crap. That didn't work.
Back to top
View user's profile Send private message
b0fh
Guru
Guru


Joined: 16 Jun 2003
Posts: 426

PostPosted: Mon Jul 28, 2003 7:37 pm    Post subject: Reply with quote

Yes, I got that error too since I installed 2.6.0-test2...

Code:
bash-2.05b# /etc/init.d/keymaps start
 * Loading key mappings...
cannot open file de-latin1
 * Error loading key mappings                                                                                                         [ !! ]



I've got american-style keyboard at the normal consoles, xterm behaves as usual...
Back to top
View user's profile Send private message
wilburpan
l33t
l33t


Joined: 21 Jan 2003
Posts: 977

PostPosted: Mon Jul 28, 2003 9:39 pm    Post subject: Reply with quote

I also noticed this error since installing 2.6.0-test2.

I managed to solve my own problem:

Looking at /etc/init.d/keymaps and /etc/init.d/consolefont, you can see that these scripts call the programs /usr/bin/loadkeys and /usr/bin/setfont. Looking at the man pages for these programs, it appears that these programs expect to find data in
Code:
 /usr/usr/share/keymaps
/usr/usr/share/consolefonts
/usr/usr/share/unimaps
/usr/usr/share/consoletrans


In my /usr directory, this is all in
Code:
 /usr/share/keymaps
/usr/share/consolefonts
/usr/share/unimaps
/usr/share/consoletrans

So I created a bunch of symlinks from /usr/share to /usr/usr/share, and the error messages went away.
_________________
I'm only hanging out in OTW until I get rid of this stupid l33t ranking.....Crap. That didn't work.
Back to top
View user's profile Send private message
Zapp!
Tux's lil' helper
Tux's lil' helper


Joined: 11 Oct 2002
Posts: 77
Location: Germany

PostPosted: Tue Jul 29, 2003 8:06 am    Post subject: Reply with quote

wilburpan wrote:
I also noticed this error since installing 2.6.0-test2.

I use 2.4.21 and get this errormessage, too.

wilburpan wrote:
Looking at /etc/init.d/keymaps and /etc/init.d/consolefont, you can see that these scripts call the programs /usr/bin/loadkeys and /usr/bin/setfont. Looking at the man pages for these programs, it appears that these programs expect to find data in
Code:
 /usr/usr/share/keymaps
/usr/usr/share/consolefonts
/usr/usr/share/unimaps
/usr/usr/share/consoletrans

Sounds like a bug. Maybe the ebuild doesn't set the right prefix?
Back to top
View user's profile Send private message
Zapp!
Tux's lil' helper
Tux's lil' helper


Joined: 11 Oct 2002
Posts: 77
Location: Germany

PostPosted: Tue Jul 29, 2003 11:25 am    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=25448
Back to top
View user's profile Send private message
Zapp!
Tux's lil' helper
Tux's lil' helper


Joined: 11 Oct 2002
Posts: 77
Location: Germany

PostPosted: Tue Jul 29, 2003 11:25 am    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=25448
Back to top
View user's profile Send private message
Zapp!
Tux's lil' helper
Tux's lil' helper


Joined: 11 Oct 2002
Posts: 77
Location: Germany

PostPosted: Tue Jul 29, 2003 11:26 am    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=25448
Back to top
View user's profile Send private message
Zapp!
Tux's lil' helper
Tux's lil' helper


Joined: 11 Oct 2002
Posts: 77
Location: Germany

PostPosted: Tue Jul 29, 2003 11:28 am    Post subject: Reply with quote

Duh! Sorry for posting this 3 times.
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
Page 1 of 1

 
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