From: Jiri Pirko Subject: Re: Boot lockups triggered by 'net: restore the original spinlock to protect unicast list' Date: Wed, 5 Aug 2009 15:40:05 +0200 Message-ID: <20090805134004.GG3897@psychotron.englab.brq.redhat.com> References: <20090805133659.GA3740@rakim.wolfsonmicro.main> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Meelis Roos , "David S. Miller" , netdev@vger.kernel.org To: Mark Brown Return-path: Received: from mx2.redhat.com ([66.187.237.31]:45216 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934397AbZHENkQ (ORCPT ); Wed, 5 Aug 2009 09:40:16 -0400 Content-Disposition: inline In-Reply-To: <20090805133659.GA3740@rakim.wolfsonmicro.main> Sender: netdev-owner@vger.kernel.org List-ID: Wed, Aug 05, 2009 at 03:36:59PM CEST, broonie@opensource.wolfsonmicro.com wrote: >I'm experiencing lockups at boot in -next with the loopback interface on >my SMDK6410. These appear to be triggered by commit >a6ac65db2329e7685299666f5f7b6093c7b0f3a0 (net: restore the original >spinlock to protect unicast list) - the code change is suspicious and >reverting the change allows my system to boot. I've not yet tried to >understand the failure, I'm just reporting it. Try this patch http://marc.info/?l=linux-kernel&m=124945666109347&w=2 That should fix this. > >The console trace I get on failure is: > >[ 1.830000] BUG: spinlock bad magic on CPU#0, swapper/1 >[ 1.830000] lock: c7852508, .magic: 00000000, .owner: /-1, .owner_cpu0 >[ 1.840000] [] (unwind_backtrace+0x0/0xe0) from [] (_raw) >[ 1.850000] [] (_raw_spin_lock+0x20/0x98) from [] (dev_u) >[ 1.860000] [] (dev_unicast_init+0x18/0x3c) from [] (all) >[ 1.860000] [] (alloc_netdev_mq+0xbc/0x13c) from [] (loo) >[ 1.870000] [] (loopback_net_init+0x1c/0x70) from [] (re) >[ 1.880000] [] (register_pernet_operations+0x20/0x2c) from [[ 1.890000] [] (register_pernet_device+0x20/0x54) from [) >[ 1.900000] [] (net_dev_init+0xd0/0x15c) from [] (do_one) >[ 1.910000] [] (do_one_initcall+0x4c/0x174) from [] (do_) >[ 1.920000] [] (do_initcalls+0x1c/0x38) from [] (kernel_) >[ 1.930000] [] (kernel_init+0x3c/0x8c) from [] (kernel_t) >[ 9.930000] BUG: spinlock lockup on CPU#0, swapper/1, c7852508 >[ 9.930000] [] (unwind_backtrace+0x0/0xe0) from [] (__sp) >[ 9.940000] [] (__spin_lock_debug+0x88/0x9c) from [] (_r) >[ 9.940000] [] (_raw_spin_lock+0x78/0x98) from [] (dev_u) >[ 9.950000] [] (dev_unicast_init+0x18/0x3c) from [] (all) >[ 9.960000] [] (alloc_netdev_mq+0xbc/0x13c) from [] (loo) >[ 9.970000] [] (loopback_net_init+0x1c/0x70) from [] (re) >[ 9.980000] [] (register_pernet_operations+0x20/0x2c) from [[ 9.990000] [] (register_pernet_device+0x20/0x54) from [) >[ 10.000000] [] (net_dev_init+0xd0/0x15c) from [] (do_one) >[ 10.010000] [] (do_one_initcall+0x4c/0x174) from [] (do_) >[ 10.020000] [] (do_initcalls+0x1c/0x38) from [] (kernel_) >[ 10.030000] [] (kernel_init+0x3c/0x8c) from [] (kernel_t)