Re: ftrace 'failed to modify' bug when loading reiserfs.ko

From: Dave Jones
Date: Fri Sep 06 2013 - 11:23:04 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/