Re: Kernel panic by write to console while switching consoles.
From: Jaap van den Handel <hidden>
Date: 2004-08-02 11:18:27
the console is enabled very early in the boot process in order to print some info about the boot process itself. Read start_kernel() in $(KERNEL_SOURCE)/init/main.c for more info
The console can be switched after the boot process has finished right? When loading a driver module for example. Then it would also crash when sombody prints to the screen. Only when booting this change is quite big.
This is a problem in 2.4, hopefully fixed by BenH in 2.6 by acquiring the console semaphore at strategic places. Try placing acquire_console_sem(), release_console_sem() around the loop in take_over_console() to disable early printing during console initialization.
Thanks for the reply, glad to know somebody is working on it. 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