Re: MUSB regression in 2.6.31-rc6

Koen Kooi
2009-08-16T08:14:17Z

[-- Attachment #1: Type: text/plain, Size: 901 bytes --]

Op 16 aug 2009, om 09:44 heeft Jarkko Nikula het volgende geschreven:

>
> By some reason CONFIG_OMAP_LL_DEBUG_UART3=y and CONFIG_DEBUG_LL=y
> don't work in mainline so hard to trace what is make an oops.

Try updating this patch to current mainline:

--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -16,6 +16,8 @@
* 01Mar01 Andrew Morton <andrewm@uow.edu.au>
*/

+extern void printascii(const char *);
+
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/tty.h>
@@ -653,6 +655,8 @@ asmlinkage int vprintk(const char *fmt, va_list
args)
/* Emit the output into the temporary buffer */
printed_len = vscnprintf(printk_buf, sizeof(printk_buf), fmt,
args);

+ printascii(printk_buf);
+
/*
* Copy the output into log_buf. If the caller didn't provide
* appropriate log level tags, we insert them here

regards,

Koen

[-- Attachment #2: Dit deel van het bericht is digitaal ondertekend --]
[-- Type: application/pgp-signature, Size: 186 bytes --]