Package: console-tools
Version: 1:0.2.3dbs-65.1
Severity: important
File: /etc/init.d/console-screen.sh

With a default UTF-8 locale and the standard kernel command line for
remote serial consoles:

  root=/dev/md2 ro console=tty0 console=ttyS0,9600n8r

the boot will hang when /etc/init.d/console-screen.sh runs
unicode_start, which it tries to apply to the second console, the
serial port.

Even though manual invocation via the getty on ttyS0 causes an error
(separate bug about the syntax stuff forthcoming):

  bell:~# sh -x =unicode_start
  + '[' '!' -e /proc/self/fd/0 ']'
  + readlink /proc/self/fd/0
  + grep -q -e /dev/vc -e '/dev/tty[^p]' -e /dev/console
  + '[' 0 -eq 1 ']'
  + /usr/bin/vt-is-UTF8 --quiet
  vt-is-UTF8: vt-is-UTF8 only runs on linux virtual terminals
  Usage: vt-is-UTF8 [option]
  valid options are:
          -q  --quiet    don't print result
          -h --help      display this help text and exit
          -V --version   display version information and exit
  + kbd_mode -u
  + dumpkeys
  + loadkeys --unicode
  + case $# in
  + '[' -d /dev/vc ']'
  + DEVICE_PREFIX=/dev/tty
  ++ fgconsole --next-available
  Couldn't read VTNO: : Invalid argument
  + NUM=
  ++ expr - 1
  expr: syntax error
  + NUM=
  + '[' -eq 1 ']'
  /usr/bin/unicode_start: line 54: [: -eq: unary operator expected
  ++ seq 1
  + for vc in '`seq 1 ${NUM}`'
  + /bin/echo -n -e '\033%G'

the boot sequence hangs on invocation of unicode_start and can only
be resumed by

  - pressing ctrl-c in the serial terminal
  or
  - hitting enter or the physical keyboard attached.

I don't know of a proper fix to this but could test if you wanted me
to. If the serial console cannot be clearly identified, I should be
given a way to disable UTF-8 on consoles altogether, without having
to change my system locale.

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages console-tools depends on:
ii  debconf [debconf-2.0]    1.5.24          Debian configuration management sy
ii  libc6                    2.7-18          GNU C Library: Shared libraries
ii  libconsole               1:0.2.3dbs-65.1 Shared libraries for Linux console
ii  lsb-base                 3.2-20          Linux Standard Base 3.2 init scrip

Versions of packages console-tools recommends:
ii  console-common                0.7.80     basic infrastructure for text cons
ii  console-data                  2:1.07-11  keymaps, fonts, charset maps, fall

Versions of packages console-tools suggests:
pn  kbd-compat                    <none>     (no description available)

-- no debconf information


-- 
 .''`.   martin f. krafft <[email protected]>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to