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

From: Kyle McMartin
Date: Fri Sep 06 2013 - 10:41:22 EST


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.

--Kyle
--
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/