Thread (3 messages) 3 messages, 3 authors, 2004-07-29

Kernel panic by write to console while switching consoles.

From: Jaap van den Handel <hidden>
Date: 2004-07-29 15:57:31

Hi all, 

The framebuffer driver for our vga device is working.
But when we tried to boot with the console directing to it, it crashed.
We are running linux 2.4.20 on an embedded MIPS @ 175MHz with a terminal 
attached to a serial port. When we specify "console=tty0" the console is 
switched from the serial console to the framebuffer console when our 
framebuffer driver is loaded.

we found that while switching the console, it is not disabled. The console is 
switched and before it is fully initialzed, something is already printing text 
to it.

when we disabled the console during a switch by setting 
"printable = 0;" at the beginning of "take_over_console.c" in drivers/char.
at the end of "take_over_console" we set it back to 1.

after this we were able to boot and see the pinguin logo with a cursor.
since it is not possible to attach a keyboard we tried 
"echo some text > /dev/tty0" and "some text" does appear at the framebuffer 
console :-).

Did we miss a setting to disable writes to the console while initializing our 
driver?
Is it a bug which only comes forward in combination with a serial console or 
relative slow cpu's?

Greetings,
Jaap van den Handel




Confidentiality Note:
This e-mail and any attachments are confidential and the information herein
is property of Quest Innovations B.V.. If you are not the intended recipient(s) of this e-mail,you are hereby notified that any dissemination, distribution, 
copying, use of or reliance upon the information contained within this e-mail 
or attachments is unauthorized and strictly prohibited. If you have received
this e-mail in error, please notify us immediately by returning it to the
sender and delete this copy from your system.

Quest Innovations B.V.


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help