Hi,
I'm seeing the same here. After a keypress there's output from the boot
process written into the framebuffer and gdm finally starts up. It's
indeed simply blocking on a read on tty0:
# strace -p `pidof vt-is-UTF8`
Process 4052 attached - interrupt to quit
read(3
# ls -l /proc/`pidof vt-is-UTF8`/fd
total 0
lrwx------ 1 root root 64 10. Jan 18:54 0 -> /dev/console
lrwx------ 1 root root 64 10. Jan 18:54 1 -> /dev/console
l-wx------ 1 root root 64 10. Jan 18:54 2 -> /dev/null
lrwx------ 1 root root 64 10. Jan 18:54 3 -> /dev/tty0
gdb says:
0xb7f65424 in __kernel_vsyscall ()
(gdb) bt
#0 0xb7f65424 in __kernel_vsyscall ()
#1 0x4b1e9143 in read () from /lib/i686/cmov/libc.so.6
#2 0x4b18306e in _IO_file_underflow () from /lib/i686/cmov/libc.so.6
#3 0x4b184dcb in _IO_default_uflow () from /lib/i686/cmov/libc.so.6
#4 0x4b186382 in __uflow () from /lib/i686/cmov/libc.so.6
#5 0x4b16b738 in _IO_vfscanf () from /lib/i686/cmov/libc.so.6
#6 0x4b16e173 in vfscanf () from /lib/i686/cmov/libc.so.6
#7 0x4b17493f in fscanf () from /lib/i686/cmov/libc.so.6
#8 0x4b2852be in is_in_UTF8_mode () from /lib/libconsole.so.0
There's only one fscanf in is_in_UTF8_mode:
if (2 != fscanf (f, "\033[%u;%u", &y, &x))
{
errno = EIO;
return -1;
}
*However* pstree shows:
├─rc───S30gdm───keymap.sh───unicode_start───vt-is-UTF8
So this is due to S30gdm using lsb which has a stop_splashy() function that
does:
if [ -x "/etc/init.d/keymap.sh" -a -f "$STEPS_DIR/splashy-stopped-keymap" ];
then
if [ "x$DEBUG" != "x0" ]; then
cat /proc/loadavg >> $STEPS_DIR/splashy.log 2>&1
echo "calling keymap.sh" >> $STEPS_DIR/splashy.log
fi
/etc/init.d/keymap.sh start || true
rm -f $STEPS_DIR/splashy-stopped-keymap
# clear tty8 of console messages
# (see
splashy_video.c:splashy_start_splash().DirectFBSetOption("vt-num","8"))
if [ "$(fgconsole 2>/dev/null)" = "8" ]; then
clear >/dev/tty8 || true
fi
fi
And there it hangs as described above. I'm not sure where the real bugs hides.
An easy (though ugly) work around would be to check for "splashy" on the
commandline and skip unicode setup in these cases.
Let me know if I can do anything to get this fixed for Lenny.
Cheers,
-- Guido
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]