[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: displaying Japanese in the virtual consoles/terminals in squeeze



Ouch.
>> [...]
>> For example, Debian console installer runs on virtual console with
>> japanese display or any fancy characters.  This is because they run
>> special terminal program.
>>
>>> Should be the same set of issues, except for the specific parameters,
>>> for any large-character-set language.
>>
>>   jfbterm
>>   fbterm-ucimf
>>   fbterm
>>   bogl-bterm
>
> apt-get show fbterm tells me fbterm is installed, but I don't see any
> .fbtermrc files in the user directories when I login to the virtual
> consoles.

user@deb:~$ dmesg
...
[   38.475382] [drm] Initialized via 2.11.1 20070202 for 0000:01:00.0 on minor 0
[   38.584875] agpgart-via 0000:00:00.0: AGP 3.5 bridge
[   38.584902] agpgart-via 0000:00:00.0: bridge is in legacy mode,
falling back to 2.x
[   38.584910] agpgart-via 0000:00:00.0: putting AGP V2 device into 4x mode
[   38.584965] pci 0000:01:00.0: putting AGP V2 device into 4x mode
[ 2380.669109] fbterm[2816]: segfault at 18 ip 08050653 sp bfefa670
error 4 in fbterm[8048000+13000]
[ 4485.968858] mtrr: no MTRR for e8000000,4000000 found
[ 4486.381984] agpgart-via 0000:00:00.0: AGP 3.5 bridge
[ 4486.382012] agpgart-via 0000:00:00.0: bridge is in legacy mode,
falling back to 2.x
[ 4486.382019] agpgart-via 0000:00:00.0: putting AGP V2 device into 4x mode
[ 4486.382075] pci 0000:01:00.0: putting AGP V2 device into 4x mode
...

Possibly relevant lines:
-------------------------------------------------
...
[    0.000000] NR_IRQS:1280
[    0.000000] Console: colour VGA+ 80x25
[    0.000000] console [tty0] enabled
[    0.000000] Fast TSC calibration using PIT
[    0.000000] Detected 1833.246 MHz processor.
...
[    0.082677] CPU0: AMD Sempron(tm)   2600+ stepping 01
[    0.084001] Brought up 1 CPUs
[    0.084001] Total of 1 processors activated (3666.49 BogoMIPS).
[    0.084001] CPU0 attaching NULL sched-domain.
[    0.084001] devtmpfs: initialized
[    0.084001] regulator: core version 0.5
[    0.084001] NET: Registered protocol family 16
...
[    0.142147] vgaarb: device added:
PCI:0000:01:00.0,decodes=io+mem,owns=io+mem,locks=none
[    0.142151] vgaarb: loaded
...
[    0.879403] Linux agpgart interface v0.103
[    0.879550] agpgart: Detected VIA KM400/KM400A chipset
[    0.887935] agpgart-via 0000:00:00.0: AGP aperture is 128M @ 0xe0000000
...
-------------------------------------------------

Checking in /dev , I do not have any /dev/fb-whatever device.

Should that have been built by the installer when I installed squeeze?

So:

-------------------------------------------------
user@deb:~$ echo $LANG
ja_JP.UTF-8
-------------------------------------------------

And,

-------------------------------------------------
user@deb:~$ ls /lib/modules/`uname -r`/kernel/drivers/video
arcfb.ko     console         geode        macmodes.ko     neofb.ko
s1d13xxxfb.ko  sstfb.ko        tdfxfb.ko     vga16fb.ko
arkfb.ko     cyber2000fb.ko  hecubafb.ko  matrox          nvidia
s3fb.ko        svgalib.ko      tridentfb.ko  vgastate.ko
aty          display         hgafb.ko     mb862xx         output.ko
savage         syscopyarea.ko  uvesafb.ko    via
backlight    fb_ddc.ko       i810         metronomefb.ko  pm2fb.ko
sis            sysfillrect.ko  vermilion     vt8623fb.ko
cirrusfb.ko  fb_sys_fops.ko  kyro         n411.ko         pm3fb.ko
sm501fb.ko     sysimgblt.ko    vfb.ko
user@deb:~$ ls -la /lib/modules/`uname -r`/kernel/drivers/video/via
合計 112
drwxr-xr-x  2 root root  4096 2011-11-29 21:04 .
drwxr-xr-x 16 root root  4096 2011-11-29 21:04 ..
-rw-r--r--  1 root root 98560 2011-11-03 18:17 viafb.ko
user@deb:~$ ls -l /lib/modules/`uname -r`/kernel/drivers/video/display
合計 8
-rw-r--r-- 1 root root 7496 2011-11-03 18:17 display.ko
user@deb:~$ ls -l /lib/modules/`uname -r`/kernel/drivers/video/console
合計 12
-rw-r--r-- 1 root root 8900 2011-11-03 18:17 mdacon.ko
-------------------------------------------------

And,

-------------------------------------------------
user@deb:~$ cat /etc/default/console-setup
# Change to "yes" and setupcon will explain what is being doing
VERBOSE_OUTPUT="no"

# Setup these consoles.  Most people do not need to change this.
ACTIVE_CONSOLES="/dev/tty[1-6]"

# Put here your encoding.  Valid charmaps are: UTF-8 ARMSCII-8 CP1251
# CP1255 CP1256 GEORGIAN-ACADEMY GEORGIAN-PS IBM1133 ISIRI-3342
# ISO-8859-1 ISO-8859-2 ISO-8859-3 ISO-8859-4 ISO-8859-5 ISO-8859-6
# ISO-8859-7 ISO-8859-8 ISO-8859-9 ISO-8859-10 ISO-8859-11 ISO-8859-13
# ISO-8859-14 ISO-8859-15 ISO-8859-16 KOI8-R KOI8-U TIS-620 VISCII
CHARMAP="UTF-8"

# The codeset determines which symbols are supported by the font.
# Valid codesets are: Arabic Armenian CyrAsia CyrKoi CyrSlav Ethiopian
# Georgian Greek Hebrew Lao Lat15 Lat2 Lat38 Lat7 Thai Uni1 Uni2 Uni3
# Vietnamese.  Read README.fonts for explanation.
CODESET="Uni2"

# Valid font faces are: VGA (sizes 8, 14 and 16), Terminus (sizes
# 12x6, 14, 16, 20x10, 24x12, 28x14 and 32x16), TerminusBold (sizes
# 14, 16, 20x10, 24x12, 28x14 and 32x16), TerminusBoldVGA (sizes 14
# and 16) and Fixed (sizes 13, 14, 15, 16 and 18).  Only when
# CODESET=Ethiopian: Goha (sizes 12, 14 and 16) and
# GohaClassic (sizes 12, 14 and 16).
# Set FONTFACE and FONTSIZE to empty strings if you want setupcon to
# set up the keyboard but to leave the console font unchanged.
FONTFACE="Fixed"
FONTSIZE="16"

# You can also directly specify nonstandard font or console map to load.
# Use space as separator if you want to load more than one font.
# You can use FONT_MAP in order to specify the Unicode map of the font
# in case the font doesn't have it embedded.

# FONT='lat9w-08.psf.gz /usr/local/share/braillefonts/brl-08.psf'
# FONT_MAP=/usr/share/consoletrans/lat9u.uni
# CONSOLE_MAP=/usr/local/share/consoletrans/my_special_encoding.acm

# You can also specify a screen size that setupcon will enforce.  This can not
# exceed what the current screen resolution can display according to the size of
# the loaded font.
#
# SCREEN_WIDTH=80
# SCREEN_HEIGHT=25

if [ -f /etc/default/keyboard ]; then
    . /etc/default/keyboard
fi
-------------------------------------------------

-------------------------------------------------
user@deb:~$ ls -l /etc/console-setup
合計 140
-rw-r--r-- 1 root root 4112 2011-04-10 22:31 Uni2-Fixed16.psf.gz
-rw-r--r-- 1 root root 3935 2011-04-10 22:31 cached.kmap.gz
-rw-r--r-- 1 root root   34 2011-01-11 21:51 compose.ARMSCII-8.inc
-rw-r--r-- 1 root root   31 2011-01-11 21:51 compose.CP1251.inc
-rw-r--r-- 1 root root   31 2011-01-11 21:51 compose.CP1255.inc
-rw-r--r-- 1 root root   31 2011-01-11 21:51 compose.CP1256.inc
-rw-r--r-- 1 root root   41 2011-01-11 21:51 compose.GEORGIAN-ACADEMY.inc
-rw-r--r-- 1 root root   36 2011-01-11 21:51 compose.GEORGIAN-PS.inc
-rw-r--r-- 1 root root   32 2011-01-11 21:51 compose.IBM1133.inc
-rw-r--r-- 1 root root   35 2011-01-11 21:51 compose.ISIRI-3342.inc
-rw-r--r-- 1 root root 4308 2011-01-11 21:51 compose.ISO-8859-1.inc
-rw-r--r-- 1 root root   36 2011-01-11 21:51 compose.ISO-8859-10.inc
-rw-r--r-- 1 root root   36 2011-01-11 21:51 compose.ISO-8859-11.inc
-rw-r--r-- 1 root root 4059 2011-01-11 21:51 compose.ISO-8859-13.inc
-rw-r--r-- 1 root root 3457 2011-01-11 21:51 compose.ISO-8859-14.inc
-rw-r--r-- 1 root root 3665 2011-01-11 21:51 compose.ISO-8859-15.inc
-rw-r--r-- 1 root root   36 2011-01-11 21:51 compose.ISO-8859-16.inc
-rw-r--r-- 1 root root 5860 2011-01-11 21:51 compose.ISO-8859-2.inc
-rw-r--r-- 1 root root 4469 2011-01-11 21:51 compose.ISO-8859-3.inc
-rw-r--r-- 1 root root 3357 2011-01-11 21:51 compose.ISO-8859-4.inc
-rw-r--r-- 1 root root   35 2011-01-11 21:51 compose.ISO-8859-5.inc
-rw-r--r-- 1 root root   35 2011-01-11 21:51 compose.ISO-8859-6.inc
-rw-r--r-- 1 root root 2603 2011-01-11 21:51 compose.ISO-8859-7.inc
-rw-r--r-- 1 root root   35 2011-01-11 21:51 compose.ISO-8859-8.inc
-rw-r--r-- 1 root root 4446 2011-01-11 21:51 compose.ISO-8859-9.inc
-rw-r--r-- 1 root root   31 2011-01-11 21:51 compose.KOI8-R.inc
-rw-r--r-- 1 root root   31 2011-01-11 21:51 compose.KOI8-U.inc
-rw-r--r-- 1 root root   32 2011-01-11 21:51 compose.TIS-620.inc
-rw-r--r-- 1 root root  951 2011-01-11 21:51 compose.VISCII.inc
-rw-r--r-- 1 root root  895 2011-01-11 21:51 remap.inc
-------------------------------------------------


I think I'll change VERBOSE_OUTPUT to yes and see if it tries to tell
me something on reboot.

What else should I check?


Reply to: