Bug 643538

Summary: kbd: "Loading keymap unknown keysym 'cyrillic_small_letter_short_i" on LiveCD boot
Product: [openSUSE] openSUSE 11.4 Reporter: Forgotten User JoZGrGEMhM <forgotten_JoZGrGEMhM>
Component: BasesystemAssignee: Stanislav Brabec <sbrabec>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium CC: av.linux.dev, lazy.kent
Version: Factory   
Target Milestone: ---   
Hardware: x86   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 713331    
Attachments: Screenshot from openSUSE 12.1 M3

Description Forgotten User JoZGrGEMhM 2010-10-04 14:54:51 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.2.10) Gecko/20100914 SUSE/3.6.10-3.4 Firefox/3.6.10

kbd failed to start on KDE LiveCD boot with message 

Loading keymap unknown keysym 'cyrillic_small_letter_short_i'

Reproducible: Always

Steps to Reproduce:
1. Booot KDE LiveCD 11.4 M2 with Russian language selected in booloader 
2. When it boots see boot messages in text terminal (Ctrl+Alt+F1)
3. Try to restart kbd.
Actual Results:  
kbd failed to start on boot, so there is no cyrillic fonts loaded in text terminal -> ureadable messages. When kbd restarted from text terminal fonts are loaded fine and all works ok.

Expected Results:  
kbd should starts fine on boot
Comment 1 Anna Maresova 2010-10-19 13:07:42 UTC
Could you please attach kbd output when it fails to start?
Comment 2 Forgotten User JoZGrGEMhM 2010-10-19 14:00:30 UTC
Where to get it? Only kbd message I can see it message on boot posted on initial report

> Loading keymap unknown keysym 'cyrillic_small_letter_short_i'

it appear's on Alt+Ctrl+F1 tty
Comment 3 Andrey Vostrikov 2010-11-08 06:32:52 UTC
This issue also seen in Suse 10.4 milestone 3, while booting and Russian is selected as system language.

suse:~> uname -a
Linux suse.arty 2.6.36-90-desktop #1 SMP PREEMPT 2010-10-29 13:47:35 +0200 x86_64 x86_64 x86_64 GNU/Linux

suse:~> loadkeys --version
loadkeys from kbd 1.15.2

Could be reproducible by next command:

suse:~> sudo loadkeys /usr/share/kbd/keymaps/i386/qwerty/ruwin_alt-UTF-8.map.gz 
Loading /usr/share/kbd/keymaps/i386/qwerty/ruwin_alt-UTF-8.map.gz
unknown keysym 'cyrillic_small_letter_short_i'
loadkeys: /usr/share/kbd/keymaps/i386/qwerty/ruwin_alt-UTF-8.map.gz:109: addkey called with bad keycode -1

The reason is that by default loadkeys uses byte conversion, hence the mapping is not found for cyrillic characters in ksyms.c::ksymtocode(), which uses iso-8859-5 only in unicode conversion.

Could be solved by running loadkeys with "-u":
suse:~> sudo loadkeys -u /usr/share/kbd/keymaps/i386/qwerty/ruwin_alt-UTF-8.map.gz 
Loading /usr/share/kbd/keymaps/i386/qwerty/ruwin_alt-UTF-8.map.gz

I think -u could be added in the kbd script to eliminate the problem on boot.
Comment 4 Forgotten User JoZGrGEMhM 2010-11-30 02:17:02 UTC
Milestone 4 has this problem too
Comment 5 Anna Maresova 2010-12-16 12:37:15 UTC
*** Bug 655816 has been marked as a duplicate of this bug. ***
Comment 7 Kyrill Detinov 2011-08-18 17:22:15 UTC
The bug is still present in 11.4 and Factory.
Russian users can't switch keyboard layout:
http://unixforum.org/index.php?showtopic=127600
Comment 8 Kyrill Detinov 2011-08-19 07:28:11 UTC
Created attachment 446547 [details]
Screenshot from openSUSE 12.1 M3

Here is a screenshot made in openSUSE Factory.
Comment 9 Forgotten User JoZGrGEMhM 2011-08-21 15:01:20 UTC
fix suggested in bnc#713331 (openSUSE 11.2 m3 bug)
Comment 10 Stanislav Brabec 2011-12-02 17:30:36 UTC
As this bug is apparently the same as 713331 (reported later), marking it as a duplicate. Later bug has more comments.

*** This bug has been marked as a duplicate of bug 713331 ***