From: Dave Jones <davej-rdkfGonbjUTCLXcRTR1eJlpr/1R2p/CL@public.gmane.org>
To: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: linux-nfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: sunrpc: Illegal context switch in RCU read-side critical section!
Date: Tue, 27 Dec 2016 19:55:35 -0500 [thread overview]
Message-ID: <20161228005535.oh7ip4wkc2bfed74@codemonkey.org.uk> (raw)
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: [<ffffffff8e09dd14>] process_one_work+0x184/0x790
#1: ((addr_chk_work).work){+.+...}, at: [<ffffffff8e09dd14>] process_one_work+0x184/0x790
#2: (rtnl_mutex){+.+.+.}, at: [<ffffffff8e9eadc7>] rtnl_lock+0x17/0x20
#3: (rcu_read_lock_bh){......}, at: [<ffffffff8ea8b0a3>] addrconf_verify_rtnl+0x23/0x500
#4: (rcu_read_lock){......}, at: [<ffffffff8e0a6c65>] 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:
[<ffffffff8e5b4ca5>] dump_stack+0x68/0x93
[<ffffffff8e0d530e>] lockdep_rcu_suspicious+0xce/0xf0
[<ffffffff8e0ad2b7>] ___might_sleep.part.103+0xa7/0x230
[<ffffffff8e0b74db>] __might_sleep+0x4b/0x90
[<ffffffff8e9b9ed2>] lock_sock_nested+0x32/0xb0
[<ffffffff8e9ba2cb>] sock_setsockopt+0x8b/0xa50
[<ffffffff8e088025>] ? __local_bh_enable_ip+0x65/0xb0
[<ffffffff8e9b5f39>] kernel_setsockopt+0x49/0x50
[<ffffffff8eae7d6a>] svc_tcp_kill_temp_xprt+0x4a/0x60
[<ffffffff8eafa9ef>] svc_age_temp_xprts_now+0x12f/0x1b0
[<ffffffff8e350e32>] nfsd_inet6addr_event+0x192/0x1f0
[<ffffffff8e350ca5>] ? nfsd_inet6addr_event+0x5/0x1f0
[<ffffffff8e0a69f9>] notifier_call_chain+0x39/0xa0
[<ffffffff8e0a6cce>] atomic_notifier_call_chain+0x6e/0x110
[<ffffffff8e0a6c65>] ? atomic_notifier_call_chain+0x5/0x110
[<ffffffff8eac58cb>] inet6addr_notifier_call_chain+0x1b/0x20
[<ffffffff8ea8a89c>] ipv6_del_addr+0x12c/0x200
[<ffffffff8ea8b497>] addrconf_verify_rtnl+0x417/0x500
[<ffffffff8ea8b0a3>] ? addrconf_verify_rtnl+0x23/0x500
[<ffffffff8ea8b593>] addrconf_verify_work+0x13/0x20
[<ffffffff8e09dd9b>] process_one_work+0x20b/0x790
[<ffffffff8e09dd14>] ? process_one_work+0x184/0x790
[<ffffffff8e09e36e>] worker_thread+0x4e/0x490
[<ffffffff8e09e320>] ? process_one_work+0x790/0x790
[<ffffffff8e09e320>] ? process_one_work+0x790/0x790
[<ffffffff8e0a4ecf>] kthread+0xff/0x120
[<ffffffff8e0a4dd0>] ? kthread_worker_fn+0x140/0x140
[<ffffffff8eb14517>] 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
reply other threads:[~2016-12-28 0:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161228005535.oh7ip4wkc2bfed74@codemonkey.org.uk \
--to=davej-rdkfgonbjutclxcrtr1ejlpr/1r2p/cl@public.gmane.org \
--cc=linux-nfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox