[Bug 335267] New: /etc/init.d/kbd: setfont: putfont: 256,8x16: failed: -1
https://bugzilla.novell.com/show_bug.cgi?id=335267 Summary: /etc/init.d/kbd: setfont: putfont: 256,8x16: failed: -1 Product: openSUSE 10.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: ensonic@sonicpulse.de QAContact: qa@suse.de Found By: --- OpenSuse 10.3 upgraded from 10.2, 10.1 ... etc Loading console font lat9w-16.psfu -m trivial G0:loadable setfont: putfont: 256,8x16: failed: -1 putfont: KDFONTOP: Invalid Argument this causes /etc/init.d/kbd to fail to load Simillar report here too: http://forums.suselinuxsupport.de/index.php?s=388da10dedb07ea5d7ec84f2649b410f&showtopic=61398&pid=249363&st=0entry249363 -- 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=335267
Cyril Hrubis
https://bugzilla.novell.com/show_bug.cgi?id=335267#c1
Juergen Weigert
https://bugzilla.novell.com/show_bug.cgi?id=335267#c2
Juergen Weigert
https://bugzilla.novell.com/show_bug.cgi?id=335267#c3
--- Comment #3 from Stefan Kost
https://bugzilla.novell.com/show_bug.cgi?id=335267#c4
--- Comment #4 from Stefan Kost
https://bugzilla.novell.com/show_bug.cgi?id=335267#c5
--- Comment #5 from Stefan Kost
https://bugzilla.novell.com/show_bug.cgi?id=335267#c6
Stefan Kost
https://bugzilla.novell.com/show_bug.cgi?id=335267#c7
--- Comment #7 from Juergen Weigert
https://bugzilla.novell.com/show_bug.cgi?id=335267#c8
--- Comment #8 from Stefan Kost
https://bugzilla.novell.com/show_bug.cgi?id=335267#c9
Juergen Weigert
https://bugzilla.novell.com/show_bug.cgi?id=335267#c10
Ulrich Windl
https://bugzilla.novell.com/show_bug.cgi?id=335267 User dieter.jurzitza@t-online.de added comment https://bugzilla.novell.com/show_bug.cgi?id=335267#c11 Dieter Jurzitzachanged: What |Removed |Added ---------------------------------------------------------------------------- CC| |dieter.jurzitza@t-online.de --- Comment #11 from Dieter Jurzitza 2008-04-16 02:36:09 MST --- I see a similar issue here. Asus board, NVIDIA graphics card. I did not upgrade my system but did a fresh install of opensuse 10.3, 64 Bit system. The entries regarding the tty's are correct - tty1 to tty6. I have tried to find a correlation between this problem and the starting of xdm, but in vain. So I patched the file /etc/init.d/kbd: ******************************************************************** --- kbd.original 2007-09-21 21:29:32.000000000 +0200 +++ kbd 2008-04-16 06:53:48.000000000 +0200 @@ -31,6 +31,10 @@ # Description: Keyboard settings (don't disable!) ### END INIT INFO +DONE=10 +WAIT=30 +LOGFILE="/tmp/setfontlog_KBD" + . /etc/rc.status . /etc/sysconfig/console . /etc/sysconfig/keyboard @@ -42,6 +46,7 @@ LOCALE_CHARMAP=`locale charmap` LC_ALL=POSIX + MACHINE=`/bin/uname -m 2> /dev/null` if [ "$MACHINE" = "sparc" -o "$MACHINE" = "sparc64" ]; then # Test if we have a serial console. @@ -240,10 +245,10 @@ # this means that initialization was already done. # don't do it twice unless forced, it may annoy xdm and # produce lots of error messages. - test -s /var/run/keymap && exit 0 + test -s /var/run/keymap && exit 0 ;; esac - + echo "NEUANFANG-KBD" >> ${LOGFILE} if test -z "$KEYTABLE"; then echo "No keyboard map to load" @@ -409,9 +414,24 @@ # The chvt is not needed for SuSE kernels test "$NON_SUSE_KERNEL" != "yes" || chvt ${tty#*tty} - /bin/setfont -C $tty $CONSOLE_FONT $UMAP $SMAP - rc_status - + i=0 + while [ "${i}" != "${DONE}" ]; do + i=`expr ${i} + 1` + echo "/bin/setfont -v -C $tty $CONSOLE_FONT $UMAP $SMAP" >> ${LOGFILE} 2>&1 + /bin/setfont -v -C $tty $CONSOLE_FONT $UMAP $SMAP >> ${LOGFILE} 2>&1 + if [ "$?" != "0" ]; then + sleep ${WAIT} + echo "KBD - Schleife ${i} mit Fehler!" >> ${LOGFILE} + echo "KBD-secondloop waiting ${i}*${WAIT} seconds" >> ${LOGFILE} + else + break + fi + done + if [ ${i} == "${DONE}" ]; then + echo $rc_failed + else + echo "KBD - nach ${i} Schleifen ohne Fehler durchgelaufen!" >> ${LOGFILE} + fi echo -en "$CONSOLE_MAGIC" > $tty done test "$NON_SUSE_KERNEL" != "yes" || chvt $FGCONS ******************************************************************** What I observe from this: things work now. Typically the wait loop is entered due to an error occuring, but after a certain delaytime, the commands are processed and everything completes without error. Please see the example of a logfile setfontlog_KBD attached. So, IMHO there is something happening that makes /bin/setfont inoperable that can be circumvented by simply waiting sufficiently long. So, probably this helps getting a better understanding of what is going on here. Furthermore I add dmesg-output and lspci-output for your information. Take care Dieter Jurzitza -- 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=335267
User dieter.jurzitza@t-online.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=335267#c12
--- Comment #12 from Dieter Jurzitza
https://bugzilla.novell.com/show_bug.cgi?id=335267
User dieter.jurzitza@t-online.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=335267#c13
--- Comment #13 from Dieter Jurzitza
https://bugzilla.novell.com/show_bug.cgi?id=335267
User dieter.jurzitza@t-online.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=335267#c14
--- Comment #14 from Dieter Jurzitza
https://bugzilla.novell.com/show_bug.cgi?id=335267
User dieter.jurzitza@t-online.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=335267#c15
--- Comment #15 from Dieter Jurzitza
https://bugzilla.novell.com/show_bug.cgi?id=335267
User Ulrich.Windl@rz.uni-regensburg.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=335267#c16
--- Comment #16 from Ulrich Windl
https://bugzilla.novell.com/show_bug.cgi?id=335267
User dieter.jurzitza@t-online.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=335267#c17
--- Comment #17 from Dieter Jurzitza
https://bugzilla.novell.com/show_bug.cgi?id=335267
User dieter.jurzitza@t-online.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=335267#c18
--- Comment #18 from Dieter Jurzitza
https://bugzilla.novell.com/show_bug.cgi?id=335267
User dieter.jurzitza@t-online.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=335267#c19
--- Comment #19 from Dieter Jurzitza
https://bugzilla.novell.com/show_bug.cgi?id=335267
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=335267#c20
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=335267
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=335267#c21
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=335267
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=335267#c22
Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=335267
Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=335267
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=335267#c23
Michal Marek
Created an attachment (id=208227) --> (https://bugzilla.novell.com/attachment.cgi?id=208227) [details] Output of the /etc/init.d/kbd - file using my patch when the issue occurs
Interesting - do you only see setfont errors on the first console (/bin/setfont -v -C /dev/tty1) or is it random? All: 1) Does the problem occur on 11.0 or Factory? 2) Does it persist if you disable the earlyxdm init script (insserv -r earlyxdm)? -- 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=335267
User dieter.jurzitza@t-online.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=335267#c24
--- Comment #24 from Dieter Jurzitza
https://bugzilla.novell.com/show_bug.cgi?id=335267
User marvin24@gmx.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=335267#c25
Marvin FourtyTwo
https://bugzilla.novell.com/show_bug.cgi?id=335267
User dieter.jurzitza@t-online.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=335267#c26
--- Comment #26 from Dieter Jurzitza
https://bugzilla.novell.com/show_bug.cgi?id=335267
User dieter.jurzitza@t-online.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=335267#c27
Dieter Jurzitza
https://bugzilla.novell.com/show_bug.cgi?id=335267
User jasondamfus@gmx.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=335267#c28
Jason Damfus
https://bugzilla.novell.com/show_bug.cgi?id=335267
User dieter.jurzitza@t-online.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=335267#c29
--- Comment #29 from Dieter Jurzitza
https://bugzilla.novell.com/show_bug.cgi?id=335267
User jasondamfus@gmx.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=335267#c30
--- Comment #30 from Jason Damfus
https://bugzilla.novell.com/show_bug.cgi?id=335267
User dieter.jurzitza@t-online.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=335267#c31
--- Comment #31 from Dieter Jurzitza
https://bugzilla.novell.com/show_bug.cgi?id=335267
User jasondamfus@gmx.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=335267#c32
--- Comment #32 from Jason Damfus
https://bugzilla.novell.com/show_bug.cgi?id=335267
User Ulrich.Windl@rz.uni-regensburg.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=335267#c33
--- Comment #33 from Ulrich Windl
automatically. My guess is that old hardware and a slow CPU may be the cause.
Having started a program that runs over 7000 threads on an older laptop, causing a load of > 200 while keeping the system responsive, I'd say there are no slow CPUs, but only race conditions. And "sleep" is no mechanism for process synchronization. -- 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.
participants (1)
-
bugzilla_noreply@novell.com