[Bug 259577] New: /etc/rc.d/kbd corrupts video when specified vga= mode is native 132 column
https://bugzilla.novell.com/show_bug.cgi?id=259577 Summary: /etc/rc.d/kbd corrupts video when specified vga= mode is native 132 column Product: openSUSE 10.3 Version: Alpha 2plus Platform: PC OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mrmazda@ij.net QAContact: qa@suse.de http://bugzilla.kernel.org/show_bug.cgi?id=7513 asserts that "userspace" is the problem and not the kernel, which is why I'm filing this here. Also as noted in 7513, this is far from new behavior, and is not unique to any SUSE version. When a 132 column graphics card native vga mode is specified to the kernel, either directly or with ask, console video initializes at the specified mode. During init, the number of lines output is changed from the correct number to some lesser number, or to the correct number but with insufficient scanlines allotted to each line for full character height to be displayed. For example, I just installed factory fresh via http, with graphical YaST, and on first boot typed in vga=ask, following which I entered scan, and then selected mode 030A, which is 132X43 on mga. Video properly initialized in 132x43, but as init proceded a shift was made to ~24 lines. YaST then failed to come up in graphical mode. In text mode, YaST assumed the correct number of lines, 43, with the result that focus, descriptive text, and entry fields were out of sync, unable to fit on the supposed 43 line screen that was only 24 lines long. This makes using YaST extremely difficult, guessing via some familiarity when the focus is at some appropriate point and what action, enter or tab or arrow or other, should follow to achieve desired result. This unwieldy YaST behavior is similar to that of other ncurses utilities, like SAX, when run on a fully installed and configured system. As noted in 7513 kernel bug, many other graphics cards than mga exhibit similarly corrupt behavior when native 132 column modes are specified to the kernel. Doing as suggested in that bug's comment 7 (removing execute from /etc/rc.d/kbd) avoids the problem. Matrox, among others, supports no better than 800x600 (e.g. 0x314) framebuffer video, which is the reason to want native mode support of more console lines and rows than 100x37 and why this needs to be fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=259577 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |jw@novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=259577 jw@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |werner@novell.com Status|NEW |RESOLVED Resolution| |WONTFIX ------- Comment #1 from jw@novell.com 2007-04-04 12:53 MST ------- Removing execute permission from the kbd script is not my favourite fix for this. kbd calls setfont with a font suitable for the previous vga mode. This is also reproducable in 80x43 mode. The important information is the size of the chacracter cell and the CONSOLE_FONT setting in /etc/sysconfig/console. If an 800x600 resolution is chosen for 43 lines, then the character cell must be less than 14 pixels in height. A standard 9x16 font wont fit. The size of the character cell is never computed or queried during startup. So /etc/sysconfig/console only knows what was true before reboot. kbd has only one choice: use the entry in /etc/sysconfig/console. This could be improved a) by rewriting entries in /etc/sysconfig/console before kbd is called b) by providing several fonts for several typical character cells. and probing for the current cell size. c) improved by rejecting to load a font with the wrong cell size. Hmmm. a) is horrible. b) requires some rewrite of the code that handles /etc/sysconfig/console Quite complex, and not easy to test or maintain. c) would be a nice kernel feature. This is a fallback to kernel's default font. Not perfect (possibly wrong locale), but better than nothing. I do not believe I could 'fix' anything inside the kbd script today. Werner any other proposals? I'll close as wontfix for now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=259577#c2
--- Comment #2 from Felix Miata
https://bugzilla.novell.com/show_bug.cgi?id=259577
User mrmazda@ij.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c3
--- Comment #3 from Felix Miata
https://bugzilla.novell.com/show_bug.cgi?id=259577
User samuel.thibault@ens-lyon.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c4
Samuel Thibault
https://bugzilla.novell.com/show_bug.cgi?id=259577
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c5
--- Comment #5 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=259577
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c6
--- Comment #6 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=259577
User samuel.thibault@ens-lyon.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c7
--- Comment #7 from Samuel Thibault
https://bugzilla.novell.com/show_bug.cgi?id=259577
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c8
--- Comment #8 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=259577
User samuel.thibault@ens-lyon.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c9
--- Comment #9 from Samuel Thibault
https://bugzilla.novell.com/show_bug.cgi?id=259577
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c10
--- Comment #10 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=259577
User samuel.thibault@ens-lyon.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c11
--- Comment #11 from Samuel Thibault
https://bugzilla.novell.com/show_bug.cgi?id=259577
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c12
--- Comment #12 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=259577
User samuel.thibault@ens-lyon.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c13
--- Comment #13 from Samuel Thibault
https://bugzilla.novell.com/show_bug.cgi?id=259577
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c14
--- Comment #14 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=259577
User samuel.thibault@ens-lyon.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c15
--- Comment #15 from Samuel Thibault
https://bugzilla.novell.com/show_bug.cgi?id=259577
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c16
--- Comment #16 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=259577
User samuel.thibault@ens-lyon.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c17
--- Comment #17 from Samuel Thibault
https://bugzilla.novell.com/show_bug.cgi?id=259577
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c18
--- Comment #18 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=259577
User samuel.thibault@ens-lyon.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c19
--- Comment #19 from Samuel Thibault
https://bugzilla.novell.com/show_bug.cgi?id=259577
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c20
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=259577
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=259577
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c21
--- Comment #21 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=259577
User samuel.thibault@ens-lyon.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c22
--- Comment #22 from Samuel Thibault
https://bugzilla.novell.com/show_bug.cgi?id=259577
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c23
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=259577
User samuel.thibault@ens-lyon.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c24
--- Comment #24 from Samuel Thibault
https://bugzilla.novell.com/show_bug.cgi?id=259577
User mrmazda@ij.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c25
--- Comment #25 from Felix Miata
https://bugzilla.novell.com/show_bug.cgi?id=259577
User samuel.thibault@ens-lyon.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c26
--- Comment #26 from Samuel Thibault
https://bugzilla.novell.com/show_bug.cgi?id=259577
User mrmazda@ij.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c27
--- Comment #27 from Felix Miata
https://bugzilla.novell.com/show_bug.cgi?id=259577
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c28
--- Comment #28 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=259577
User mrmazda@ij.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c29
--- Comment #29 from Felix Miata
https://bugzilla.novell.com/show_bug.cgi?id=259577
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c30
--- Comment #30 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=259577
User mrmazda@ij.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c31
--- Comment #31 from Felix Miata
What's about attachment #221749 [details] or the original startpar? Does this slow down happen with all of them that is that the real reason is not startpar but your kernel update?
I don't understand your language well enough to know if this might be a complete answer: Using either attachment, boot is slowed, and eth0 does not exist, regardless of framebuffer mode. Using the 11.0rc1 startpar, boot is normal speed and eth0 works, regardless of framebuffer mode. The same behavior applies with kernel-pae-2.6.25.4-6 & kernel-pae-2.6.25.4-10, and on both P4 and Sempron 32 bit systems. Once either attached startpar has been loaded, switching to runlevel 1 is required to unlock it so that it can be replaced with another. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=259577
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c32
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=259577
User samuel.thibault@ens-lyon.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c33
--- Comment #33 from Samuel Thibault
https://bugzilla.novell.com/show_bug.cgi?id=259577
User mrmazda@ij.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c34
--- Comment #34 from Felix Miata
https://bugzilla.novell.com/show_bug.cgi?id=259577
User samuel.thibault@ens-lyon.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c35
--- Comment #35 from Samuel Thibault
https://bugzilla.novell.com/show_bug.cgi?id=259577
User mrmazda@ij.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c36
--- Comment #36 from Felix Miata
https://bugzilla.novell.com/show_bug.cgi?id=259577
User samuel.thibault@ens-lyon.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c37
--- Comment #37 from Samuel Thibault
https://bugzilla.novell.com/show_bug.cgi?id=259577
User mrmazda@ij.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c38
--- Comment #38 from Felix Miata
https://bugzilla.novell.com/show_bug.cgi?id=259577
User samuel.thibault@ens-lyon.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c39
--- Comment #39 from Samuel Thibault
https://bugzilla.novell.com/show_bug.cgi?id=259577
User mrmazda@ij.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c40
--- Comment #40 from Felix Miata
Are you sure you are loading an 8x8 font? See the /etc/sysconfig/console config file: the CONSOLE_FONT parameter should have 08 in its name.
I don't know what normally writes to /etc/sysconfig/console. I don't recall ever changing one myself. The one I'm looking at now has CONSOLE_FONT="lat9x-16.psfu", and the file was last written yesterday at 03:04. That time, similar to many others in /etc/sysconfig, was probably when the machine was updated to 11.0rc1 from whatever state it was in from prior update a week or three before. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=259577
User samuel.thibault@ens-lyon.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c41
--- Comment #41 from Samuel Thibault
https://bugzilla.novell.com/show_bug.cgi?id=259577
User mrmazda@ij.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c42
--- Comment #42 from Felix Miata
https://bugzilla.novell.com/show_bug.cgi?id=259577
User samuel.thibault@ens-lyon.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=259577#c43
--- Comment #43 from Samuel Thibault
participants (1)
-
bugzilla_noreply@novell.com