--- Begin Message ---
Package: console-tools
Version: 1:0.2.3dbs-53
Severity: normal
[Actually I intended to reopen #245054, but it was too late, therefore
I'm filing a fresh bug.]
Hi,
I'm seeing the "illegal seek" message again. It is reproducible. A
strace log is attached, in the hope that it is helpful.
I'm currently running kernel 2.6.5-1-k7. Maybe it is also relevant that
I use the non-free nvidia drivers for my graphics card? Another relevant
information might be that /dev is managed by udev.
At present, I can hardly use the console. Right after booting, the first
console seems to be in UTF-8 mode. German umlauts and other non-ASCII
chars are displayed as single characters, but they are messed up. E.g.
I see an 'ó' where there should have been an 'ä'.
This leads me to the conclusion that setting the SCREEN_FONT at boot
time somehow fails. However, I couldn't observer anything unusual during
bootup.
The other virtual consoles are apparantly not switched to UTF-8 mode at
all. Umlauts etc. are displayed as two-character sequences. 'ö' is
represented as '&ü' or so, 'ä' is displayed as '§ü' (not sure, could
have been the other way round as well).
Now, manually running "/etc/init.d/console-screen restart" has strange
effects as well. Well, on the positive side it makes the first virtual
console work as it should, i.e. I get a nice UTF-8 console. But the
other consoles are completely messed up by that. I.e. colored output is
turned into an unreadable mess of greek, cyrillic and other characters.
Apparantly, the ANSI color codes are somehow misinterpreted.
Yet another strange thing happens when I run unicode_start directly:
Some keys on my keyboard stop working after that. These include: q, e,
c, m as well as the umlauts. This affects all consoles.
I have purged and reinstalled console-tools to make sure that I have a
pristine configuration. The only modification I made was setting
SCREEN_FONT to LatGrCyr-16.
Thanks for any hints!
Johannes
execve("/usr/bin/vt-is-UTF8", ["vt-is-UTF8"], [/* 28 vars */]) = 0
uname({sys="Linux", node="rudi", ...}) = 0
brk(0) = 0x804b000
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40017000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=82802, ...}) = 0
old_mmap(NULL, 82802, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libconsole.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360g\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=71780, ...}) = 0
old_mmap(NULL, 70744, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4002d000
old_mmap(0x4003a000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0xd000) = 0x4003a000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libctutils.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\26\0\000"..., 512) =
512
fstat64(3, {st_mode=S_IFREG|0644, st_size=18288, ...}) = 0
old_mmap(NULL, 17456, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4003f000
old_mmap(0x40043000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x4000) = 0x40043000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340X\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1279012, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40044000
old_mmap(NULL, 1289324, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40045000
old_mmap(0x40175000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x12f000) = 0x40175000
old_mmap(0x4017e000, 7276, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4017e000
close(3) = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0x40044860, limit:1048575,
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0,
useable:1}) = 0
munmap(0x40018000, 82802) = 0
brk(0) = 0x804b000
brk(0x806c000) = 0x806c000
brk(0) = 0x806c000
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=4930976, ...}) = 0
mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40180000
mmap2(NULL, 892928, PROT_READ, MAP_PRIVATE, 3, 0x1cc) = 0x40380000
close(3) = 0
open("/dev/tty", O_RDWR) = 3
ioctl(3, 0x4b33, 0xbffff75f) = 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_APPEND) = 0
fstat64(3, {st_mode=S_IFCHR|0666, st_rdev=makedev(5, 0), ...}) = 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x4045a000
_llseek(3, 0, 0xbffff5bc, SEEK_CUR) = -1 ESPIPE (Illegal seek)
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(3, TCFLSH, 0x2) = 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(3, SNDCTL_TMR_START or TCSETS, {B38400 -opost -isig -icanon -echo ...}) = 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 -opost -isig -icanon -echo
...}) = 0
write(3, "\30\32\r\357\200\240\33[6n\33D", 12) = 12
read(3, "\33[25;3R", 4096) = 7
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 -opost -isig -icanon -echo
...}) = 0
ioctl(3, SNDCTL_TMR_START or TCSETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
write(3, "\33[1F\33[2X", 8) = 8
dup(2) = 4
fcntl64(4, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat64(4, {st_mode=S_IFCHR|0600, st_rdev=makedev(4, 2), ...}) = 0
ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x4045b000
_llseek(4, 0, 0xbffff658, SEEK_CUR) = -1 ESPIPE (Illegal seek)
open("/usr/share/locale/locale.alias", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=2539, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x4045c000
read(5, "# Locale name alias data base.\n#"..., 4096) = 2539
read(5, "", 4096) = 0
close(5) = 0
munmap(0x4045c000, 4096) = 0
open("/usr/share/locale/de_DE.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/share/locale/de_DE.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/share/locale/de_DE/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/share/locale/de.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/share/locale/de.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/share/locale/de/LC_MESSAGES/libc.mo", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=90059, ...}) = 0
mmap2(NULL, 90059, PROT_READ, MAP_PRIVATE, 5, 0) = 0x4045c000
close(5) = 0
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/usr/lib/gconv/gconv-modules", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=45278, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40472000
read(5, "# GNU libc iconv configuration.\n"..., 4096) = 4096
read(5, ".B1.002//\nalias\tJS//\t\t\tJUS_I.B1."..., 4096) = 4096
read(5, "859-3\t1\nmodule\tINTERNAL\t\tISO-885"..., 4096) = 4096
read(5, "9-14//\nalias\tLATIN8//\t\tISO-8859-"..., 4096) = 4096
read(5, "CSEBCDICES//\t\tEBCDIC-ES//\nalias\t"..., 4096) = 4096
read(5, "IBM284//\nalias\tEBCDIC-CP-ES//\t\tI"..., 4096) = 4096
read(5, "ias\t864//\t\t\tIBM864//\nalias\tCSIBM"..., 4096) = 4096
read(5, "\tIBM937\t\t1\nmodule\tINTERNAL\t\tIBM9"..., 4096) = 4096
read(5, "UC-JP//\nmodule\tEUC-JP//\t\tINTERNA"..., 4096) = 4096
read(5, "143IECP271//\tIEC_P27-1//\nalias\tI"..., 4096) = 4096
read(5, "\nmodule\tINTERNAL\t\tISO_10367-BOX/"..., 4096) = 4096
read(5, "\t\tto\t\t\tmodule\t\tcost\nmodule\tShift"..., 4096) = 222
read(5, "", 4096) = 0
close(5) = 0
munmap(0x40472000, 4096) = 0
open("/usr/lib/gconv/ISO8859-1.so", O_RDONLY) = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\6\0\000"..., 512) =
512
fstat64(5, {st_mode=S_IFREG|0644, st_size=5920, ...}) = 0
old_mmap(NULL, 8860, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x40472000
old_mmap(0x40474000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5,
0x1000) = 0x40474000
close(5) = 0
write(4, "is_in_UTF8_mode: Nicht erlaubter"..., 38) = 38
close(4) = 0
munmap(0x4045b000, 4096) = 0
munmap(0x4045a000, 4096) = 0
exit_group(1) = ?
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.5-1-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8
Versions of packages console-tools depends on:
ii console-common 0.7.42 Basic infrastructure for text cons
ii debconf 1.4.25 Debian configuration management sy
ii libc6 2.3.2.ds1-12 GNU C Library: Shared libraries an
ii libconsole 1:0.2.3dbs-53 Shared libraries for Linux console
ii sysvinit 2.85-15 System-V like init
-- no debconf information
--- End Message ---