From: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
To: paulmck@linux.vnet.ibm.com, viro@ZenIV.linux.org.uk
Cc: torvalds@linux-foundation.org, linux-fsdevel@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [pre 3.16-rc1] Oops at spin_trylock(&inode->i_lock)
Date: Wed, 11 Jun 2014 20:35:44 +0900 [thread overview]
Message-ID: <201406112035.ADB51545.QFVMLJOtFOHSOF@I-love.SAKURA.ne.jp> (raw)
In-Reply-To: <20140610143425.GL4581@linux.vnet.ibm.com>
Paul E. McKenney wrote:
> On Tue, Jun 10, 2014 at 09:04:51PM +0900, Tetsuo Handa wrote:
> > Hello.
> >
> > I noticed that commit 59a3d4c363 "Merge branch 'core-rcu-for-linus' of
> > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip into next" causes
> > an oops when rebooting a system. Do you have any clue?
>
> Can't say that I do. However, the commits that might have made some
> difference in how RCU operates are the following. I have my doubts
> (listed below) about their being the cause, but if the oops is reproducible,
> why not try reverting each and see what happens? Or just bisect within
> the core-rcu-for-linus branches?
Thank you. This oops seems to be 100% reproducible. I tried
for i in 365187fbc04f 48a7639ce80c 595f3900f6b4 495aa969dbae a381d757d93f 5057f55e543b becb41bfe054 fa07a58f71ee a5d6d3a1b00a
do
git reset --hard $i; yes | make -sj4; make -s modules_install install
git reset --hard $i~1; yes | make -sj4; make -s modules_install install
done
on tip/tip.git but none of them built the oops kernel.
I also confirmed that the command line which triggers this oops is
mount -n -o ro,remount sysfs /sys
in /etc/init.d/halt script in CentOS 6.5.
Manually executing the command line from login shell triggers this oops.
I don't know why but commit 59a3d4c363 revealed a refcount bug
in sysfs (or maybe in vfs)?
---------- quote from /etc/init.d/halt start ----------
# Remount read only anything that's left mounted.
# echo $"Remounting remaining filesystems readonly"
mount | awk '{ print $1,$3 }' | while read dev dir; do
fstab-decode mount -n -o ro,remount $dev $dir
done
---------- quote from /etc/init.d/halt end ----------
next prev parent reply other threads:[~2014-06-11 11:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-10 12:04 Tetsuo Handa
2014-06-10 14:34 ` Paul E. McKenney
2014-06-11 11:35 ` Tetsuo Handa [this message]
2014-06-11 16:01 ` Al Viro
2014-06-12 11:39 ` Tetsuo Handa
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=201406112035.ADB51545.QFVMLJOtFOHSOF@I-love.SAKURA.ne.jp \
--to=penguin-kernel@i-love.sakura.ne.jp \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paulmck@linux.vnet.ibm.com \
--cc=torvalds@linux-foundation.org \
--cc=viro@ZenIV.linux.org.uk \
/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
all inboxes | Powered by JetHome®