From: Dave Jones Subject: sunrpc: Illegal context switch in RCU read-side critical section! Date: Tue, 27 Dec 2016 19:55:35 -0500 Message-ID: <20161228005535.oh7ip4wkc2bfed74@codemonkey.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-nfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Return-path: Content-Disposition: inline Sender: linux-nfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org Just noticed this on 4.9. Will try and repro on 4.10rc1 later, but hitting unrelated boot problems on that machine right now. =============================== [ INFO: suspicious RCU usage. ] 4.9.0-backup-debug+ #1 Not tainted ------------------------------- ./include/linux/rcupdate.h:557 Illegal context switch in RCU read-side critical section! other info that might help us debug this: rcu_scheduler_active = 1, debug_locks = 1 5 locks held by kworker/4:1/66: #0: ("%s"("ipv6_addrconf")){.+.+..}, at: [] process_one_work+0x184/0x790 #1: ((addr_chk_work).work){+.+...}, at: [] process_one_work+0x184/0x790 #2: (rtnl_mutex){+.+.+.}, at: [] rtnl_lock+0x17/0x20 #3: (rcu_read_lock_bh){......}, at: [] addrconf_verify_rtnl+0x23/0x500 #4: (rcu_read_lock){......}, at: [] atomic_notifier_call_chain+0x5/0x110 stack backtrace: CPU: 4 PID: 66 Comm: kworker/4:1 Not tainted 4.9.0-backup-debug+ #1 Workqueue: ipv6_addrconf addrconf_verify_work ffffc90000273a28 ffffffff8e5b4ca5 ffff88042ae19780 0000000000000001 ffffc90000273a58 ffffffff8e0d530e 0000000000000000 ffffffff8efcc659 00000000000009a7 ffff8804180b8580 ffffc90000273a80 ffffffff8e0ad2b7 Call Trace: [] dump_stack+0x68/0x93 [] lockdep_rcu_suspicious+0xce/0xf0 [] ___might_sleep.part.103+0xa7/0x230 [] __might_sleep+0x4b/0x90 [] lock_sock_nested+0x32/0xb0 [] sock_setsockopt+0x8b/0xa50 [] ? __local_bh_enable_ip+0x65/0xb0 [] kernel_setsockopt+0x49/0x50 [] svc_tcp_kill_temp_xprt+0x4a/0x60 [] svc_age_temp_xprts_now+0x12f/0x1b0 [] nfsd_inet6addr_event+0x192/0x1f0 [] ? nfsd_inet6addr_event+0x5/0x1f0 [] notifier_call_chain+0x39/0xa0 [] atomic_notifier_call_chain+0x6e/0x110 [] ? atomic_notifier_call_chain+0x5/0x110 [] inet6addr_notifier_call_chain+0x1b/0x20 [] ipv6_del_addr+0x12c/0x200 [] addrconf_verify_rtnl+0x417/0x500 [] ? addrconf_verify_rtnl+0x23/0x500 [] addrconf_verify_work+0x13/0x20 [] process_one_work+0x20b/0x790 [] ? process_one_work+0x184/0x790 [] worker_thread+0x4e/0x490 [] ? process_one_work+0x790/0x790 [] ? process_one_work+0x790/0x790 [] kthread+0xff/0x120 [] ? kthread_worker_fn+0x140/0x140 [] ret_from_fork+0x27/0x40 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html