Phil Perry wrote:
It looks like a regression. This was originally fixed upstream (kernel.org) 3 years ago, so if the RHEL7.5 beta kernel has reverted to 'EXPORT_SYMBOL_GPL' then it is a regression that will break building any out-of-tree non-gpl modules which need to set caching mode in pte's
You should file a bug report with Red Hat.
The correct fix in the kernel is in arch/x86/mm/init.c
-EXPORT_SYMBOL_GPL(__cachemode2pte_tbl); +EXPORT_SYMBOL(__cachemode2pte_tbl);
Well, that's the rub - RHEL7 have never had that upstream fix - i.e. the el7.4 kernel (3.10.0-693.el7) has 'EXPORT_SYMBOL_GPL(__cachemode2pte_tbl)' as does the el7.5b kernel (3.10.0-830.el7) ...
The Nvidia driver builds/installs OK on el7.4 - but not on el7.5b
I'll report this to Red Hat anyway ...
Thanks
James Pearson