A patch propagation was missed. The following patch should fix the problem. The MPSC driver gets initialized multiple times, it appears, and the driver has to ignore all but the first.

-corey


Prevent the console from being enabled twice.

Signed-off-by: Corey Minyard <[EMAIL PROTECTED]>

Index: linux-2.6.23/drivers/serial/serial_core.c
===================================================================
--- linux-2.6.23.orig/drivers/serial/serial_core.c
+++ linux-2.6.23/drivers/serial/serial_core.c
@@ -2547,7 +2547,8 @@ void uart_register_polled(struct uart_dr
 	mutex_unlock(&polled_list_lock);
 
 #ifdef CONFIG_SERIAL_CORE_CONSOLE
-	if (drv->nr_pollable && drv->cons) {
+	if (drv->nr_pollable && drv->cons &&
+					!(drv->cons->flags & CON_ENABLED)) {
 		/* We manage the consoles for this driver. */
 		drv->cons->write = uartdrv_console_write;
 		drv->cons->device = uart_console_device;
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Openipmi-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openipmi-developer

Reply via email to