From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans Schillstrom Subject: Re: BUG ? ipip unregister_netdevice_many() Date: Fri, 8 Oct 2010 14:28:37 +0200 Message-ID: <201010081428.37639.hans.schillstrom@ericsson.com> References: <201010071048.12817.hans.schillstrom@ericsson.com> <4CAEFE2C.3010007@free.fr> <201010081353.28056.hans.schillstrom@ericsson.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: "netdev@vger.kernel.org" To: Daniel Lezcano , "Eric W. Biederman" Return-path: Received: from mailgw9.se.ericsson.net ([193.180.251.57]:57527 "EHLO mailgw9.se.ericsson.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752360Ab0JHM2j (ORCPT ); Fri, 8 Oct 2010 08:28:39 -0400 In-Reply-To: <201010081353.28056.hans.schillstrom@ericsson.com> Content-Disposition: inline Sender: netdev-owner@vger.kernel.org List-ID: Hi Eric, Any advice how to trace this down ? This rollback_registered_many() seems to have on the lists before... All IPv4 and IPv6 tunnels causes this crash, all you have to do is load the tunnel module(s) enter a new ns and exit from it. Have not tested any more devices than tunnels, I did an "ip link delete" on my macvlans before exiting the ns. snip > # ------------[ cut here ]------------ > WARNING: at /home/hans/evip/kvm/net-next-2.6/kernel/sysctl.c:1953 unregister_sysctl_table+0xc7/0xf9() > Hardware name: Bochs > Modules linked in: macvlan ip6_tunnel tunnel6 pcnet32 tg3 libphy > Pid: 5, comm: kworker/u:0 Not tainted 2.6.36-rc3 #2 > Call Trace: > [] warn_slowpath_common+0x85/0x9d > [] warn_slowpath_null+0x1a/0x1c > [] unregister_sysctl_table+0xc7/0xf9 > [] neigh_sysctl_unregister+0x27/0x3f > [] addrconf_ifdown+0x415/0x45e > [] addrconf_notify+0x756/0x7fe > [] ? neigh_ifdown+0xc3/0xd4 > [] ? ip6mr_device_event+0x8d/0x9e > [] notifier_call_chain+0x37/0x63 > [] raw_notifier_call_chain+0x14/0x16 > [] call_netdevice_notifiers+0x4a/0x4f > [] rollback_registered_many+0x121/0x208 > [] unregister_netdevice_many+0x1b/0x71 > [] ip6_tnl_exit_net+0xa4/0xb8 [ip6_tunnel] > [] ? cleanup_net+0x0/0x198 > [] ops_exit_list+0x2a/0x5b > [] cleanup_net+0xf8/0x198 > [] process_one_work+0x2a2/0x44d > [] worker_thread+0x1db/0x34e > [] ? worker_thread+0x0/0x34e > [] kthread+0x82/0x8a > [] kernel_thread_helper+0x4/0x10 > [] ? kthread+0x0/0x8a > [] ? kernel_thread_helper+0x0/0x10 > ---[ end trace eb3bc950cf9a8748 ]--- > unregister_netdevice: waiting for lo to become free. Usage count = 4 > unregister_netdevice: waiting for lo to become free. Usage count = 4 > unregister_netdevice: waiting for lo to become free. Usage count = 4 -- Regards Hans Schillstrom