From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Subject: 1f324e3 ipv6: Don't depend on per socket memory for neighbour discovery messages Date: Fri, 30 Aug 2013 13:46:25 -0600 Message-ID: <5220F691.4020808@wwwdotorg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "linux-next@vger.kernel.org" , "netdev@vger.kernel.org" To: Thomas Graf , Eric Dumazet , Hannes Frederic Sowa , "David S. Miller" Return-path: Sender: linux-next-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Commit 1f324e3 "ipv6: Don't depend on per socket memory for neighbour discovery messages" appears to cause issues for me. If I run next-20130830, I see the issue, but if I then just revert that one patch, I don't see any problem, and can use the network without issue. The problem is: with a network device enabled (in my case, a USB Ethernet dongle, although I don't know if the type is relevant), then the system appears to hang soon after enabling the interface; neither the serial console nor the framebuffer echo my typing, and the cursor on the framebuffer stops flashing. After a short delay, I see the following kernel spew: > localhost login: [ 14.390206] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready > [ 14.409459] asix 1-1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x41E1 > [ 43.172240] INFO: rcu_preempt self-detected stall on CPU > [ 43.172256] INFO: rcu_preempt self-detected stall on CPU { 0} (t=2100 jiffies g=262 c=261 q=1) > [ 43.172265] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.11.0-rc7-next-20130830-00020-gf47ee2e #152 > [ 43.172305] [] (unwind_backtrace+0x0/0x138) from [] (show_stack+0x10/0x14) > [ 43.172329] [] (show_stack+0x10/0x14) from [] (dump_stack+0x80/0xc4) > [ 43.172350] [] (dump_stack+0x80/0xc4) from [] (rcu_check_callbacks+0x35c/0x818) > [ 43.172367] [] (rcu_check_callbacks+0x35c/0x818) from [] (update_process_times+0x38/0x64) > [ 43.172378] [] (update_process_times+0x38/0x64) from [] (tick_sched_timer+0x44/0x74) > [ 43.172397] [] (tick_sched_timer+0x44/0x74) from [] (__run_hrtimer.isra.15+0x58/0x114) > [ 43.172409] [] (__run_hrtimer.isra.15+0x58/0x114) from [] (hrtimer_interrupt+0x108/0x2c4) > [ 43.172420] [] (hrtimer_interrupt+0x108/0x2c4) from [] (twd_handler+0x2c/0x40) > [ 43.172429] [] (twd_handler+0x2c/0x40) from [] (handle_percpu_devid_irq+0x68/0x84) > [ 43.172447] [] (handle_percpu_devid_irq+0x68/0x84) from [] (generic_handle_irq+0x20/0x30) > [ 43.172460] [] (generic_handle_irq+0x20/0x30) from [] (handle_IRQ+0x38/0x94) > [ 43.172470] [] (handle_IRQ+0x38/0x94) from [] (gic_handle_irq+0x28/0x5c) > [ 43.172481] [] (gic_handle_irq+0x28/0x5c) from [] (__irq_svc+0x40/0x70) > [ 43.172485] Exception stack(0xc07c5d20 to 0xc07c5d68) > [ 43.172492] 5d20: eeb070c8 ee465838 00000303 80000001 eeb070c8 00000000 ee465828 eeb070c8 > [ 43.172500] 5d40: ee465838 00000001 eeb07000 eeb7b480 ee465820 c07c5d68 c056fe34 c056fe5c > [ 43.172503] 5d60: 80000113 ffffffff > [ 43.172518] [] (__irq_svc+0x40/0x70) from [] (_raw_read_lock_bh+0x34/0x44) > [ 43.172539] [] (_raw_read_lock_bh+0x34/0x44) from [] (ipv6_chk_mcast_addr+0x2c/0x1b0) > [ 43.172555] [] (ipv6_chk_mcast_addr+0x2c/0x1b0) from [] (ip6_finish_output2+0x240/0x4fc) > [ 43.172566] [] (ip6_finish_output2+0x240/0x4fc) from [] (ndisc_send_skb+0x1c8/0x2d8) > [ 43.172578] [] (ndisc_send_skb+0x1c8/0x2d8) from [] (addrconf_rs_timer+0x108/0x134) > [ 43.172589] [] (addrconf_rs_timer+0x108/0x134) from [] (call_timer_fn.isra.20+0x24/0x84) > [ 43.172598] [] (call_timer_fn.isra.20+0x24/0x84) from [] (run_timer_softirq+0x194/0x244) > [ 43.172616] [] (run_timer_softirq+0x194/0x244) from [] (__do_softirq+0xe8/0x1d0) > [ 43.172627] [] (__do_softirq+0xe8/0x1d0) from [] (irq_exit+0x98/0xe4) > [ 43.172637] [] (irq_exit+0x98/0xe4) from [] (handle_IRQ+0x3c/0x94) > [ 43.172646] [] (handle_IRQ+0x3c/0x94) from [] (gic_handle_irq+0x28/0x5c) > [ 43.172655] [] (gic_handle_irq+0x28/0x5c) from [] (__irq_svc+0x40/0x70) > [ 43.172658] Exception stack(0xc07c5f28 to 0xc07c5f70) > [ 43.172664] 5f20: c07c5f70 3b9aca00 b665e400 00000004 b63d5530 00000004 > [ 43.172671] 5f40: c10880e0 00000000 00000000 c07cc3d4 c0573354 00000000 00000015 c07c5f70 > [ 43.172676] 5f60: c0063658 c038edac 60000113 ffffffff > [ 43.172696] [] (__irq_svc+0x40/0x70) from [] (cpuidle_enter_state+0x50/0xe8) > [ 43.172709] [] (cpuidle_enter_state+0x50/0xe8) from [] (cpuidle_idle_call+0xb8/0x168) > [ 43.172719] [] (cpuidle_idle_call+0xb8/0x168) from [] (arch_cpu_idle+0x8/0x38) > [ 43.172730] [] (arch_cpu_idle+0x8/0x38) from [] (cpu_startup_entry+0x60/0x134) > [ 43.172750] [] (cpu_startup_entry+0x60/0x134) from [] (start_kernel+0x2b8/0x30c) > [ 43.765722] { 1} (t=2159 jiffies g=262 c=261 q=1) > [ 43.778002] CPU: 1 PID: 539 Comm: NetworkManager Not tainted 3.11.0-rc7-next-20130830-00020-gf47ee2e #152 > [ 43.795156] [] (unwind_backtrace+0x0/0x138) from [] (show_stack+0x10/0x14) > [ 43.811442] [] (show_stack+0x10/0x14) from [] (dump_stack+0x80/0xc4) > [ 43.827204] [] (dump_stack+0x80/0xc4) from [] (rcu_check_callbacks+0x35c/0x818) > [ 43.843896] [] (rcu_check_callbacks+0x35c/0x818) from [] (update_process_times+0x38/0x64) > [ 43.861541] [] (update_process_times+0x38/0x64) from [] (tick_sched_timer+0x44/0x74) > [ 43.878779] [] (tick_sched_timer+0x44/0x74) from [] (__run_hrtimer.isra.15+0x58/0x114) > [ 43.896302] [] (__run_hrtimer.isra.15+0x58/0x114) from [] (hrtimer_interrupt+0x108/0x2c4) > [ 43.914085] [] (hrtimer_interrupt+0x108/0x2c4) from [] (twd_handler+0x2c/0x40) > [ 43.930903] [] (twd_handler+0x2c/0x40) from [] (handle_percpu_devid_irq+0x68/0x84) > [ 43.948107] [] (handle_percpu_devid_irq+0x68/0x84) from [] (generic_handle_irq+0x20/0x30) > [ 43.966008] [] (generic_handle_irq+0x20/0x30) from [] (handle_IRQ+0x38/0x94) > [ 43.982745] [] (handle_IRQ+0x38/0x94) from [] (gic_handle_irq+0x28/0x5c) > [ 43.999123] [] (gic_handle_irq+0x28/0x5c) from [] (__irq_svc+0x40/0x70) > [ 44.015380] Exception stack(0xedc35be8 to 0xedc35c30) > [ 44.028267] 5be0: eeb070c8 00000000 00000201 80000001 eeb070c8 eeb070c8 > [ 44.044329] 5c00: eeb07000 eeb071b4 ee4336c0 00000000 edc80a38 00000000 edc80b90 edc35c30 > [ 44.060321] 5c20: c056fe34 c056fe5c 800f0013 ffffffff > [ 44.073089] [] (__irq_svc+0x40/0x70) from [] (_raw_read_lock_bh+0x34/0x44) > [ 44.089495] [] (_raw_read_lock_bh+0x34/0x44) from [] (inet6_fill_ifla6_attrs+0x300/0x358) > [ 44.107263] [] (inet6_fill_ifla6_attrs+0x300/0x358) from [] (inet6_fill_ifinfo+0x178/0x1a0) > [ 44.125244] [] (inet6_fill_ifinfo+0x178/0x1a0) from [] (inet6_dump_ifinfo+0x88/0xe0) > [ 44.142605] [] (inet6_dump_ifinfo+0x88/0xe0) from [] (netlink_dump+0xa0/0x1d8) > [ 44.159411] [] (netlink_dump+0xa0/0x1d8) from [] (__netlink_dump_start+0x100/0x158) > [ 44.176711] [] (__netlink_dump_start+0x100/0x158) from [] (rtnetlink_rcv_msg+0x110/0x1f4) > [ 44.194593] [] (rtnetlink_rcv_msg+0x110/0x1f4) from [] (netlink_rcv_skb+0xac/0xc0) > [ 44.211854] [] (netlink_rcv_skb+0xac/0xc0) from [] (rtnetlink_rcv+0x1c/0x24) > [ 44.228576] [] (rtnetlink_rcv+0x1c/0x24) from [] (netlink_unicast+0x158/0x1b8) > [ 44.245451] [] (netlink_unicast+0x158/0x1b8) from [] (netlink_sendmsg+0x2ac/0x360) > [ 44.262719] [] (netlink_sendmsg+0x2ac/0x360) from [] (sock_sendmsg+0x88/0xa8) > [ 44.279477] [] (sock_sendmsg+0x88/0xa8) from [] (___sys_sendmsg+0x2a8/0x2c0) > [ 44.296134] [] (___sys_sendmsg+0x2a8/0x2c0) from [] (__sys_sendmsg+0x3c/0x68) > [ 44.312870] [] (__sys_sendmsg+0x3c/0x68) from [] (ret_fast_syscall+0x0/0x30) This repeats every minute.