Kernel – 4.16-rc1 – OK with VMware 14.1.1, Breaks NVIDIA?..
Kernel 4.16-rc1 is out, and brief details are here: http://lkml.iu.edu/hypermail/linux/kernel/1802.1/02325.html
VMware 14.1.1 is OK, and NVIDIA 384.111 and 390.25 both compile OK, but then fail to load/run:
…………
modprobe: ERROR: could not insert 'nvidia': Unknown symbol in module, or unknown parameter (see dmesg)
dmesg:
[ 2142.352238] nvidia: Unknown symbol swiotlb_map_sg_attrs (err 0)
Comparing kernel 4.15.x compiled source tree (OK) with 4.16-rc1 (failed..):
4.15:
# grep swiotlb_map_sg_attrs *
....
Module.symvers:0x00000000 swiotlb_map_sg_attrs vmlinux EXPORT_SYMBOL
........
System.map:ffffffff812b6490 T swiotlb_map_sg_attrs
System.map:ffffffff81da66b0 r __ksymtab_swiotlb_map_sg_attrs
System.map:ffffffff81dc52a3 r __kstrtab_swiotlb_map_sg_attrs
4.16-rc1:
# grep swiotlb_map_sg_attrs *
................
System.map:ffffffff812ce600 T swiotlb_map_sg_attrs
I tried using a ‘clean’ re-created kernel config for 4.16-rc1, but still got the same result.. More research needed, before this can be confirmed as a ‘defect’….
Robert Gadsdon. February 11, 2018.
The function is no longer exported since commit 4bd89ed39b2a (“swiotlb: remove various exports”).