v3.5-rc1 ARM PXA possible regression

Arnaud Patard (Rtp) arnaud.patard at rtp-net.org
Mon Jun 4 10:15:54 EDT 2012


Andrew Lunn <andrew at lunn.ch> writes:

> Hi Paul

Hi,

>
> I've got the same problem on my kirkwood based QNAP NAS box.
>
> I bisected it, and the problem patch for me is:
>
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=7ff9554bb578ba02166071d2d487b7fc7d860d62
>
> printk: convert byte-buffer to variable-length record buffer
>
> I've not looked further, so i've no idea why this is causing problems.

There has been discussions here about that iirc. I don't know when a
proper fix will be merged but one *very* *ugly* workaround is:

--- linux.orig/kernel/printk.c  2012-06-03 15:26:20.000000000 +0200
+++ linux/kernel/printk.c       2012-06-03 16:41:24.000000000 +0200
@@ -228,7 +228,7 @@ static u32 clear_idx;
 
 /* record buffer */
 #if !defined(CONFIG_64BIT) || defined(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS)
-#define LOG_ALIGN 4
+#define LOG_ALIGN 8
 #else
 #define LOG_ALIGN 8
 #endif


At least it seems to work here.

Arnaud



More information about the linux-arm-kernel mailing list