From: Arthur Marsh <arthur.marsh@internode.on.net>
To: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
Peter Zijlstra <peterz@infradead.org>
Cc: linux-kernel@vger.kernel.org,
Rusty Russell <rusty@rustcorp.com.au>,
rostedt <rostedt@goodmis.org>, Oleg Nesterov <oleg@redhat.com>,
"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Subject: Re: lock-up with module: Optimize __module_address() using a latched RB-tree
Date: Wed, 08 Jul 2015 05:45:45 +0930 [thread overview]
Message-ID: <559C3371.2030704@internode.on.net> (raw)
In-Reply-To: <1736781680.1883.1436286785932.JavaMail.zimbra@efficios.com>
Mathieu Desnoyers wrote on 08/07/15 02:03:
> ----- On Jul 7, 2015, at 3:29 AM, Peter Zijlstra peterz@infradead.org wrote:
>
>> On Tue, Jul 07, 2015 at 02:59:06PM +0930, Arthur Marsh wrote:
>>> I had a single, non-reproducible case of the same lock-up happening on my
>>> other machine running the Linus git head kernel in 64-bit mode.
>>
>> Hmm, disturbing.. I've had my machines run this stuff for weeks and not
>> had anything like this :/
>>
>> Do you have a serial cable between those machines? serial console output
>> will allow capturing more complete traces than these pictures can and
>> might also aid in capturing some extra debug info.
>>
>> In any case, I'll go try and build some debug code.
>
> Arthur: can you double-check if you load any module with --force ?
> This could cause a module header layout mismatch, which can be an
> issue with the changes done by the identified commit: the module
> header layout changes there.
>
> Also, I'm attaching a small patch which serializes both updates and
> reads of the module rbree. Can you try it out ? If the problem
> still shows with the spinlocks in place, that would mean the issue
> is *not* a race between latched rbtree updates and traversals.
>
> Thanks!
>
> Mathieu
>
I'm not aware of any modules being loaded with --force .
I've applied the patch, thanks!
The resultant kernel locked up as follows:
http://www.users.on.net/~arthur.marsh/20150708469.jpg
http://www.users.on.net/~arthur.marsh/20150708470.jpg
Sorry that the first image isn't as clear as the second - it only
appears for a few seconds.
Hopefully these will provide some clue as to what is happening.
Arthur.
next prev parent reply other threads:[~2015-07-07 20:16 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-05 18:33 Arthur Marsh
2015-07-06 7:19 ` Peter Zijlstra
2015-07-06 7:35 ` Arthur Marsh
2015-07-06 7:53 ` Arthur Marsh
2015-07-06 7:57 ` Peter Zijlstra
2015-07-06 8:12 ` Peter Zijlstra
2015-07-06 8:47 ` Arthur Marsh
2015-07-06 9:01 ` Peter Zijlstra
2015-07-06 10:04 ` Peter Zijlstra
2015-07-06 10:11 ` Arthur Marsh
2015-07-06 10:32 ` Peter Zijlstra
2015-07-06 11:26 ` Arthur Marsh
2015-07-07 5:29 ` Arthur Marsh
2015-07-07 7:29 ` Peter Zijlstra
2015-07-07 15:58 ` Arthur Marsh
2015-07-07 16:33 ` Mathieu Desnoyers
2015-07-07 20:15 ` Arthur Marsh [this message]
2015-07-07 21:56 ` Peter Zijlstra
2015-07-07 22:11 ` Peter Zijlstra
2015-07-08 0:55 ` Rusty Russell
2015-07-08 8:31 ` Arthur Marsh
2015-07-08 9:04 ` Peter Zijlstra
2015-07-08 11:43 ` Arthur Marsh
2015-07-08 12:32 ` Peter Zijlstra
2015-07-08 12:41 ` [PATCH] module: Fix load_module() error path Peter Zijlstra
2015-07-08 21:33 ` Rusty Russell
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=559C3371.2030704@internode.on.net \
--to=arthur.marsh@internode.on.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mathieu.desnoyers@efficios.com \
--cc=oleg@redhat.com \
--cc=paulmck@linux.vnet.ibm.com \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=rusty@rustcorp.com.au \
/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
Powered by JetHome