Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166314 - Consolefont service clears scrollback with certain fonts
Summary: Consolefont service clears scrollback with certain fonts
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: AMD64 Linux
: High minor
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-11 10:15 UTC by Sergey Samokhin
Modified: 2007-05-04 15:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
A patch for the blanking problem (baselayout-1.13.0_alpha12-setfont.patch,1007 bytes, patch)
2007-02-13 18:10 UTC, Michal Januszewski (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Samokhin 2007-02-11 10:15:46 UTC
When consolefont service starts, it clears all kernel messages before... 

"Starting interface lo..."

It always happens when I use font size different from 8x16 (default8x9, koi8r-8x14, ter-k12n, ter-k14n, ter-k20n etc...).

If I use "ter-k16n" (Terminus 8x16), this problem doesn't appear.

Reproducible: Always

Steps to Reproduce:
1. Just reboot.

But not all peoples have this problem.
Actual Results:  
All kernel messages before "Starting interface lo..." doesn't redraw after starting consolefont service.

Expected Results:  
All kernell messages before "Starting interface lo..." should be show (redraw with new font).

OS: Gentoo GNU/Linux x86_64 
Kernel: gentoo-sources-2.6.19r6 (also I tried gentoo-sources-2.6.18r6, gentoo-sources-2.6.19r4 and gentoo-sources-2.6.20)
baselayout: 1.12.8-r1 (I also tried 1.12.9 and 1.13.0_alpha12)
Framebuffer: VESA 2.0 (I tried to turn off framebuffer - it didn't help) 
Terminus-font: 4.20 (I tried v4.14)

MB: GIGABYTE GA-965P-S3
CPU: Intel Core 2 Duo E6400
Video: GeForce 7600GT
Monitor with DVI
Comment 1 Sergey Samokhin 2007-02-11 13:35:37 UTC
Portage 2.1.2-r9 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.20-gentoo x86_64)
=================================================================
System uname: 2.6.20-gentoo x86_64 Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz
Gentoo Base System release 1.13.0_alpha12
Timestamp of tree: Sun, 11 Feb 2007 11:20:01 +0000
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://ftp.public.fix.fi/gentoo/ http://src.gentoo.pl http://ftp.du.se/pub/os/gentoo http://fido.online.kz/gentoo "
LANG="en_US.UTF-8"
LC_ALL=""
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X alsa amd64 berkdb bitmap-fonts cli cracklib crypt cups dbus dlloader dri fortran gdbm gpm hal iconv ipv6 isdnlog jpeg kde libg++ midi ncurses nls no-old-linux nptl nptlonly pam pcre perl ppds pppd python qt3 qt4 readline reflection session spl ssl tcpd tiff truetype-fonts type1-fonts udev unicode userlocales xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i810 mga neomagic nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Sergey Samokhin 2007-02-11 17:52:20 UTC
I tried vanilla-sources-2.6.20 - it didn't help.
Comment 3 Michal Januszewski (RETIRED) gentoo-dev 2007-02-13 18:10:50 UTC
Created attachment 110083 [details, diff]
A patch for the blanking problem

As requested by Uberlord, I'm attaching a patch for baselayout 1.13.0_alpha12 to fix the following problem:

Using /bin/setfont to globally reset the font causes the screen to
blank temporarily (the screen is cleared) when booting in the silent
splash mode.
Comment 4 Sergey Samokhin 2007-03-01 22:54:36 UTC
(In reply to comment #3)
> Created an attachment (id=110083) [edit]
> A patch for the blanking problem

I patched baselayout 1.13.0_alpha12.

Now all kernel messages before...

"Gentoo/Linux 1.13.0_alpha; http://gentoo.org
Copyright 1999-2007 Gentoo Foundation; Distributed under GPL2"

...dissapear.

And all "[OK]"-strings before...

"checking root filesystem...         [OK]"

... have right margin greater than other "[OK]"-strings.

P.S. Sorry for my English.
Comment 5 Roy Marples (RETIRED) gentoo-dev 2007-05-04 15:30:54 UTC
Fixed in baselayout-2.0.0_alpha2