From: simon.kagstrom@netinsight.net (Simon Kagstrom) Date: Fri, 2 Oct 2009 08:40:00 +0200 Subject: kirkwood openrd: random kernel crashes with git kernel In-Reply-To: References: <200910010904.18923.dk-arm-linux@gmx.de> <20091001081216.GA4941@twin.sascha.silbe.org> <20091001101925.50a592fd@marrow.netinsight.se> Message-ID: <20091002084000.7c93d634@marrow.netinsight.se> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, 01 Oct 2009 12:19:21 -0400 (EDT) Nicolas Pitre wrote: > > I should add that I've seen this error even without openocd connected, > > so this seems to be a real error. Anyway, I guess this will sooner or > > later be applied (in some form) upstream, so openrd should benefit > > "automatically" from it. > > > > However, with OpenOCD there are other type of crashes which look very > > random, so I believe those will stay even with this. > > Please send me information about those when you can. The nohlt argument seems to fix them, thanks! Without it I get random memory corruption errors such as this: Mount local file[ 5.160903] BUG: spinlock wrong owner on CPU#0, rc.sysinit/452 [ 5.166878] lock: df464af8, .magic: dead4ead, .owner: /-1, .owner_cpu: 0 [ 5.174229] [] (unwind_backtrace+0x0/0xdc) from [] (dump_stack+0x18/0x1c) [ 5.182842] [] (dump_stack+0x18/0x1c) from [] (spin_bug+0x90/0xa4) [ 5.190837] [] (spin_bug+0x90/0xa4) from [] (_raw_spin_unlock+0x68/0xac) [ 5.199356] [] (_raw_spin_unlock+0x68/0xac) from [] (_spin_unlock_irq+0x10/0x20) [ 5.208573] [] (_spin_unlock_irq+0x10/0x20) from [] (dup_mm+0x278/0x450) [ 5.217093] [] (dup_mm+0x278/0x450) from [] (copy_process+0x794/0xddc) [ 5.225437] [] (copy_process+0x794/0xddc) from [] (do_fork+0x160/0x314) [ 5.233870] [] (do_fork+0x160/0x314) from [] (sys_clone+0x34/0x3c) [ 5.241867] [] (sys_clone+0x34/0x3c) from [] (ret_fast_syscall+0x0/0x28) systems. Segmentation fault [ 5.264718] Slab corruption: names_cache start=df9f9000, len=4096 although the typical case is that it just hangs without printing out much. // Simon