Re: KDB EARLY does not work on 2.6.16

Keith Owens <[email protected]>
Newsgroups gmane.linux.kernel.debugging
Message-ID <[email protected]>
Francois WELLENREITER (on Thu, 23 Mar 2006 17:12:20 +0100) wrote:
>                      I've noticed that KDB early feature didn't work
>with 2.6.16 kernel version
>on Intel Tiger and Bull NovaScale machines.
>After a brief study, I think that Ihave found the origin of the problem
>and the following patch may correct it.
>
>Could you please consider and integrate this latter on KDB main branch ?
>
>--- linux-2.6.16/drivers/serial/8250_early.c	2006-03-23 17:06:27.000000000 +0100
>+++ linux-2.6.16-kdb/drivers/serial/8250_early.c	2006-03-23 17:04:51.000000000 +0100
>@@ -255,7 +255,7 @@
> 		return -ENODEV;
> 
> 	options = strchr(cmdline, ',') + 1;
>-	if ((err = early_uart_setup(NULL, options)) < 0)
>+	if ((err = early_uart_setup(&early_uart_console, options)) < 0)
> 		return err;
> 	return early_uart_console_init();
> }
>

Added to my tree for kdb v4.4-2.6.16-common-2.  I cannot test this
patch since SGI systems do not have 8250 chips.  Does it cause any
problems for other ia64 users?

---------------------------
Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.