I saw something like the problem in bugs #566501 and #570338 since about

February and just spent some time with a more knowledgeable colleague to

Investigate the problem.

 

I have two PCs that I run with the 'testing' distribution.

 

On one of these PCs, from February thru July, I was able to change a

line in /etc/default/console-setup from:

            VERBOSE_OUTPUT="no"

to:

            VERBOSE_OUTPUT="yes"

which fixed the problem.  

 

When I did a upgrade in August, package console-setup changed from 

version 1.51 to 1.55, causing the problem to re-occur. After this the VT
number 

could be any of tty[1-6] after finishing booting.

 

(My other PC never exhibited this problem in any way.)

 

We found this thread: http://lkml.org/lkml/2009/11/15/72, talking about

a problem in /usr/bin/consolechars (package: console-tools) that seems

to explain this problem as being in the kernel.  We couldn't find any

patch that fixed it.

 

'/usr/bin/consolechars' is used by '/bin/setupcon' which is used in

'/etc/init.d/console-setup' (both in package: console-setup) which is

where my system seemed to have the problem.  I hacked '/bin/setupcon' to

save the vt number at entry (from '/bin/fgconsole') and restored it at

exit (with '/usr/bin/chvt').  This fixed the problem on my PC.

 

'/usr/bin/consolechars' is also used by /etc/init.d/console-screen.sh

(package: console-tools) which might explain the behavior in bug

#566501.

 

I found it is also used by '/usr/bin/charset' and

'/usr/bin/unicode_start' (also package: console-tools).

 

Hope this helps

Paul Higgins

Reply via email to