Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: [ru_RU] Not displayed Russian symbols in console again
https://bugzilla.redhat.com/show_bug.cgi?id=700971
Summary: [ru_RU] Not displayed Russian symbols in console again
Product: Fedora
Version: 15
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Keywords: i18n
Severity: unspecified
Priority: unspecified
Component: dracut
AssignedTo: harald(a)redhat.com
ReportedBy: lpoetter(a)redhat.com
QAContact: extras-qa(a)fedoraproject.org
CC: notting(a)redhat.com, harald(a)redhat.com,
rstrode(a)redhat.com, aalam(a)redhat.com, atigro(a)ya.ru,
mschmidt(a)redhat.com, vcrhonek(a)redhat.com,
jonathan(a)jonmasters.org, lpoetter(a)redhat.com,
i18n-bugs(a)lists.fedoraproject.org,
plautrba(a)redhat.com, iarlyy(a)gmail.com,
elemc(a)atisserv.ru, metherid(a)gmail.com,
johannbg(a)gmail.com
Depends on: 699282
Classification: Fedora
Story Points: ---
Clone Of: 699282
+++ This bug was initially created as a clone of Bug #699282 +++
Description of problem:
After system boot up, I've switched to console (Ctrl-Alt-F2), login and run mc
(Midnight Commander) or another application with Russian symbols.
Russian symbols not displayed, again. Like this was in Fedora 12.
Version-Release number of selected component (if applicable):
initscripts-9.29
How reproducible:
always
Steps to Reproduce:
1. Boot system
2. switch to console
3. run application with Russian symbols, as example LANG=ru_RU.UTF-8 mc
Actual results:
White squares instead Russian symbols.
Expected results:
Russian symbols displayed correctly.
Additional info:
I've find workaround or patch.
If I change this line in /lib/udev/rules.d/10-console.rules:
KERNEL=="tty0",><------>RUN+="/lib/udev/console_init %k"
like this:
KERNEL=="tty*",><------>RUN+="/lib/udev/console_init %k"
then Russian symbols displayed correctly.
--- Additional comment from atigro(a)ya.ru on 2011-04-24 23:34:08 CEST ---
In earlier dracut (in F14) initramfs image contained system binary
/lib/udev/console_init from initscripts. Maybe it is the second way to fix this
problem:
https://github.com/RussianFedora/dracut/blob/f15%2Ffixes/dracut-009-conso...
--- Additional comment from lpoetter(a)redhat.com on 2011-04-27 02:30:00 CEST ---
systemd-vconsole should be responsible for setting that up.
Does invoking /lib/systemd/systemd-vconsole-setup manually make things work for
you?
What is the content of /etc/sysconfig/i18n?
--- Additional comment from elemc(a)atisserv.ru on 2011-04-27 19:59:39 CEST ---
Yes, after run /lib/systemd/systemd-vconsole-setup in console Russian symbols
displayed correctly.
cat /etc/sysconfig/i18n
LANG="ru_RU.UTF-8"
--- Additional comment from lpoetter(a)redhat.com on 2011-04-28 00:39:26 CEST ---
Which systemd version is this?
Normally /lib/systemd/systemd-vconsole-setup should run at boot.
Can you do "systemctl --full | grep vconsole" after boot when the problem
happened and paste the output here?
--- Additional comment from elemc(a)atisserv.ru on 2011-04-28 08:31:27 CEST ---
# yum list installed systemd*
systemd.x86_64 25-1.fc15 @updates-testing
systemd-units.x86_64 25-1.fc15 @updates-testing
I've booted and checked what problem still persist.
# systemctl --full | grep vconsole
systemd-vconsole-setup.service loaded active exited Setup Virtual
Console
--- Additional comment from mschmidt(a)redhat.com on 2011-04-28 10:52:30 CEST ---
Can you boot with "rd.plymouth=0"? Do the fonts appear correctly then?
--- Additional comment from elemc(a)atisserv.ru on 2011-04-28 11:05:39 CEST ---
Yes, with rd.plymouth=0 kernel parameter the fonts appear correctly.
--- Additional comment from lpoetter(a)redhat.com on 2011-04-28 16:54:36 CEST ---
Hmm, Ray, have you heard of such a problem with font loading and Plymouth
colliding?
--- Additional comment from lpoetter(a)redhat.com on 2011-04-28 16:59:20 CEST ---
OK, my guess is that this might be related to
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/554172/comments/245
i.e. setfont should probably retry opening /dev/tty0 a couple of times.
--- Additional comment from lpoetter(a)redhat.com on 2011-04-28 17:06:38 CEST ---
Tentatively reassigning this to kbd. The EIO loop is definitely necessary in
kbd. It might fix this problem. If it doesn't feel free to reassign back.
kbd maintainers, can you please beef up open_a_console() in src/getf_fd.c to
loop a couple of times if you get EIO when opening the device? Since the BKL
was dropped in the kernel this is unfortunately necessary in userspace to make
things work race-freely, see the linked ubuntu bug.
We do a similar loop in systemd:
http://cgit.freedesktop.org/systemd/tree/src/util.c#n2326
--- Additional comment from notting(a)redhat.com on 2011-04-28 18:38:23 CEST ---
(In reply to comment #8)
Hmm, Ray, have you heard of such a problem with font loading and
Plymouth
colliding?
vconsole setup needs done before plymouth sets the terminal to graphics
mode/the framebuffer driver is loaded, IIRC.
(font/unicode state is per-VT, but inherited from the prior existing console)
--- Additional comment from lpoetter(a)redhat.com on 2011-04-30 03:45:44 CEST ---
OK, will duplicate against dracut then, which apparently dropped the font
loading.
Harald, please add an invocation of systemd-vconsole-setup to dracut, before
you run plymouth, as discussed on IRC the other day.
--
Configure bugmail:
https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.