[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130906152221.GA29715@redhat.com>
Date: Fri, 6 Sep 2013 11:22:21 -0400
From: Dave Jones <davej@...hat.com>
To: Kyle McMartin <kyle@...radead.org>
Cc: Steven Rostedt <rostedt@...dmis.org>,
Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: ftrace 'failed to modify' bug when loading reiserfs.ko
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists