--- Please enter the report below this line. ---
Hello,
I use plymouth, first splash implementation that works for me like a
charm, but console font is not setup after splash disappears and non
ASCII characters are displayed as white filled squares. I must start
console-setup script by hand to correct this.
I you need more information, I will promptly provide them.
Cheers, Petr.
--- System information. ---
Architecture: i386
Kernel: Linux 2.6.32-5-686
Debian Release: squeeze/sid
990 unstable www.debian-multimedia.org
990 unstable unofficial.debian-maintainers.org
990 unstable hadret.rootnode.net
990 unstable ftp.cz.debian.org
990 unstable deb.opera.com
90 experimental ftp.cz.debian.org
50 experimental www.debian-multimedia.org
5 experimental hadret.rootnode.net
--- Package information. ---
Depends (Version) | Installed
==============================-+-===========
libc6 (>= 2.7) | 2.11.2-7
initramfs-tools | 0.98.5
Package's Recommends field is empty.
Package's Suggests field is empty.
--
S pozdravem,
Petr Gajdůšek
--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
On 12/06/2010 09:30 AM, Petr Gajdůšek wrote:
> console font is not setup after splash disappears and non
> ASCII characters are displayed as white filled squares. I must start
> console-setup script by hand to correct this.
by default, this is working since there's this:
lrwxrwxrwx 1 root root 27 Aug 14 11:59 /etc/rcS.d/S21console-screen.sh
-> ../init.d/console-screen.sh
lrwxrwxrwx 1 root root 23 Aug 14 11:59 /etc/rcS.d/S22console-setup ->
../init.d/console-setup
make sure your system is not altered manually wrt/ to above.
--
Address: Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email: daniel....@progress-technologies.net
Internet: http://people.progress-technologies.net/~daniel.baumann/
Hello Daniel,
First, I have forgot to mention that console font is setup if I boot
with "nosplash" boot param. So my rc.S symlinks do probably work.
Second, I tried to manage what happening by examine /var/log/boot.log as
mentioned in /usr/share/doc/plymouth/README, but there is no such file.
/var/log is owned by root.root, access is 0755.
LC_ALL=C plymouth-log-viewer
Failed to open file '/var/log/boot.log': No such file or directory
Now to your question:
I use kdb instead of console-tools, therefore no console-screen.sh
init.d script.
lrwxrwxrwx 1 root root 13 30. lis 23.29 S16kbd -> ../init.d/kbd
lrwxrwxrwx 1 root root 23 30. lis 23.29 S17console-setup ->
../init.d/console-setup
These symlinks match with dependencies in their init.d scripts. I run
"insserv -d kbd console-setup" for sure, but nothing has been changed.
Next I replaced kbd package with console-tools (1:0.2.3dbs-69).
Now I have
lrwxrwxrwx 1 root root 27 7. pro 00.45 S17console-screen.sh ->
../init.d/console-screen.sh
lrwxrwxrwx 1 root root 13 7. pro 00.45 S18kbd -> ../init.d/kbd
lrwxrwxrwx 1 root root 23 7. pro 00.45 S19console-setup ->
../init.d/console-setup
Start script are shifted now because console-screen.sh depends on $local_fs.
I restarted and console fonts were still not set.
Next I disabled gdm3 starting and console font is setup right (same as
with nosplash boot param).
I tried install kdm instead, but didn't work neither.
$ cat /etc/initramfs-tools/modules
i915 modeset=1
xorg: 7.5+8
graphics card: Integrated Graphics Chipset: Intel(R) 965GM (X3100 on
notebook placket)
xorg using intel driver
ACER 5313
Cheers,
Petr
--
S pozdravem,
Petr Gajdůšek
--
I realize that font is not set correctly only on tty1, that tty with
plymouth splash running. Cannot imagine how could I miss this. I will
retitle the bugreport. Sorry.
I debug console-setup script and it is properly executed and calls
setupcon. Setupcon then calls setfont on every tty but returns error on
tty1:
setfont -v -C /dev/tty1 /usr/share/consolefonts/Lat2-Terminus16.psf.gz -v
setfont: graphics console /dev/tty1 skipped
If I enable bootlogd in /etc/default/bootblogd I can see some messages
on tty1. All messages from S init level are distorted (carriage does not
return on new lines). Since console-setup is executed (end of S level)
messages are ok even on tty1. But fonts is set only in tty[2-6].
In your respond I saw console-screen.sh init script which comes from
console-tools. It is deprecated, isn't it? You probably do not use it
anymore? In any case I tried to replace kbd with console-tools. If I
understand right, console-setup (in fact setupcon) will just use
consolechars from console-tools to set fonts. Setfont from kbd is used
otherwise. Apart from random console switching whenever trying to set
fonts nothing changed, no error was printed when trying to set font on
tty1, but the font was definitely not set.
consolechars -v --tty=/dev/tty1 -f
/usr/share/consolefonts/Lat2-Terminus16.psf.gz
Loading 256-chars 8x16 font from file
`/usr/share/consolefonts/Lat2-Terminus16.psf.gz'.
Setting kernel SFM.
Actually It tries to setup every console three times, last run on tty1
returns this error:
consolechars -v --tty=/dev/tty1 -f
/usr/share/consolefonts/Lat2-Terminus16.psf.gz
Loading 256-chars 8x16 font from file
`/usr/share/consolefonts/Lat2-Terminus16.psf.gz'.
set_kernel_font: Invalid argument
I didn't try to completely remove console-setup and configure
console-tools to doing things alone, I think it wouldn't work either.
So the problem is setfont refuses to set font on tty1 because it is
considered as graphics console. Console chars probably tries but font is
not changed in result. Do you have correct font on tty1?
Now I don't know if this is something you can make anything with. Maybe
this is bug in setfont? Maybe this is by design?
Only workaround I have found is to call "setupcon --force" from rc.local.
I must add --force option because it is run on /dev/pty/? and setupcon
refuses to set fonts on non tty devices. I don't know if it is not
dangerous but it works for me. This must be called after plymouth
finish, otherwise it will not work at all.
Cheers, Petr
--
S pozdravem,
Petr Gajdůšek
--