public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: Kyle McMartin <kyle@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>,
	Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: ftrace 'failed to modify' bug when loading reiserfs.ko
Date: Fri, 6 Sep 2013 11:22:21 -0400	[thread overview]
Message-ID: <20130906152221.GA29715@redhat.com> (raw)
In-Reply-To: <20130906144113.GC25882@merlin.infradead.org>

On Fri, Sep 06, 2013 at 10:41:13AM -0400, Kyle McMartin wrote:
 > On Fri, Sep 06, 2013 at 10:24:13AM -0400, Steven Rostedt wrote:
 > > 
 > > Is it really safe to load modules that were compiled with different
 > > options?
 > 
 > Certainly not, offsets can change based on config options.
 > 
 > > Sounds like a failure in the install scripts to me.
 > > 
 > 
 > Definitely a bug in those scripts, os-prober would need to run before
 > modules_install, since if $INSTALL_MOD_PATH is the same between config
 > changes, there's no guarantee the modules are loadable on the running
 > kernel without a reboot.

Ugh, it's actually because my local install kernel script calls
grub2-mkconfig after installing a kernel to clean out old ones and not
clutter up the boot menu. (Which in turn scans every disk using os-prober[*])

Don't waste time on this Steve, I'll just work around it somehow.

	Dave

[*] Worst thing.


  reply	other threads:[~2013-09-06 15:23 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-06  1:19 ftrace 'failed to modify' bug when loading reiserfs.ko Dave Jones
2013-09-06  1:28 ` Steven Rostedt
2013-09-06  1:34   ` Dave Jones
2013-09-06  1:44     ` Steven Rostedt
2013-09-06  1:48       ` Dave Jones
2013-09-06  1:51         ` Steven Rostedt
2013-09-06  3:58           ` Dave Jones
2013-09-06 13:32             ` Steven Rostedt
2013-09-06 14:18               ` Dave Jones
2013-09-06 14:24                 ` Steven Rostedt
2013-09-06 14:41                   ` Kyle McMartin
2013-09-06 15:22                     ` Dave Jones [this message]
2013-09-06 15:34                       ` Steven Rostedt
2013-09-06 15:46                         ` Josh Boyer
2013-09-06 16:07                           ` Steven Rostedt
2013-09-06 16:12                             ` Josh Boyer
2013-09-06 16:40                               ` richard -rw- weinberger
2013-09-06 17:50                                 ` Josh Boyer
2013-09-06 16:44                               ` Steven Rostedt

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=20130906152221.GA29715@redhat.com \
    --to=davej@redhat.com \
    --cc=kyle@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rostedt@goodmis.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