** Description changed: Steps to reproduce: 1. Login to National Instruments site 2. Download NI-VISA 15.0 for linux (NI-VISA-15.0.0.iso). 3. Launch its installation by "sudo ./INSTALL" - 4. Get errors on nikal kernel modules compilation about "pgprot_writecombine" symbol ("nikal: FATAL: modpost: GPL-incompatible module nikal.ko uses GPL-only symbol 'pgprot_writecombine'") + 4. Get errors on nikal kernel modules compilation about "pgprot_writecombine" symbol + ( + + sudo /usr/local/natinst/nikal/bin/updateNIDrivers + Configuring NI-KAL for kernel version 4.4.0-16-generic... + Building module nikal... + <11>Mar 31 23:04:51 nikal: CC [M] /var/lib/nikal/4.4.0-16-generic/nikal/nikal.o + <11>Mar 31 23:04:51 nikal: Building modules, stage 2. + <11>Mar 31 23:04:51 nikal: MODPOST 1 modules + <11>Mar 31 23:04:51 nikal: FATAL: modpost: GPL-incompatible module nikal.ko uses GPL-only symbol 'pgprot_writecombine' + <11>Mar 31 23:04:51 nikal: scripts/Makefile.modpost:91: recipe for target '__modpost' failed + <11>Mar 31 23:04:51 nikal: make[2]: *** [__modpost] Error 1 + <11>Mar 31 23:04:51 nikal: Makefile:1399: recipe for target 'modules' failed + <11>Mar 31 23:04:51 nikal: make[1]: *** [modules] Error 2 + <11>Mar 31 23:04:51 nikal: Makefile:32: recipe for target 'nikal.ko' failed + <11>Mar 31 23:04:51 nikal: make: *** [nikal.ko] Error 2 + <11>Mar 31 23:04:51 nikal: ERROR: failed to build nikal + <11>Mar 31 23:04:51 nikal: ERROR: NI-KAL update failed. + <11>Mar 31 23:04:51 nikal: ERROR: make of nikal kernel module failed, not installing kernel module. + <11>Mar 31 23:04:51 nikal: ERROR: updateNIDrivers should be called again after fixing the problem. + <11>Mar 31 23:04:51 nikal: ERROR: Logging failure... + find: ‘/lib/modules/4.4.0-15-generic/kernel/natinst’: No such file or directory + <11>Mar 31 23:04:51 nikal: ERROR: Include the file /tmp/niSystemReport.out.gz when contacting + <11>Mar 31 23:04:51 nikal: ERROR: National Instruments for support. + <11>Mar 31 23:04:51 nikal: ERROR: Update of National Instruments drivers failed. + + + ) Temporary solution: 1. Edit /usr/src/linux-headers-4.4.0-16-generic/Module.symvers and change line - 0xd544e902 pgprot_writecombine vmlinux EXPORT_SYMBOL_GPL + 0xd544e902 pgprot_writecombine vmlinux EXPORT_SYMBOL_GPL to - 0xd544e902 pgprot_writecombine vmlinux EXPORT_SYMBOL + 0xd544e902 pgprot_writecombine vmlinux EXPORT_SYMBOL 2. Edit /boot/abi-4.4.0-16-generic - and change line - EXPORT_SYMBOL_GPL vmlinux 0xd544e902 pgprot_writecombine + and change line + EXPORT_SYMBOL_GPL vmlinux 0xd544e902 pgprot_writecombine to - EXPORT_SYMBOL vmlinux 0xd544e902 pgprot_writecombine + EXPORT_SYMBOL vmlinux 0xd544e902 pgprot_writecombine but it does not help - I get "nikal: Unknown symbol pgprot_writecombine (err 0)" in syslog. Expected results: 0. The 'pgprot_writecombine' symbol is exported as EXPORT_SYMBOL 1. Ubuntu can compile and load NI nikal module. Actual results: Unable to use NI-VISA under Ubuntu. Reference (openSUSE): http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/GPL-incompatible-module-nikal-ko/td-p/3218730 ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.4.0-16-generic 4.4.0-16.32 ProcVersionSignature: Ubuntu 4.4.0-16.32-generic 4.4.6 Uname: Linux 4.4.0-16-generic i686 ApportVersion: 2.20-0ubuntu3 Architecture: i386 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC1: flash 1549 F.... pulseaudio /dev/snd/controlC0: flash 1549 F.... pulseaudio CurrentDesktop: Unity Date: Thu Mar 31 18:16:37 2016 InstallationDate: Installed on 2016-03-26 (4 days ago) InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Beta i386 (20160323) IwConfig: lo no wireless extensions. enp1s0 no wireless extensions. MachineType: Gigabyte Technology Co., Ltd. To be filled by O.E.M. ProcFB: 0 radeondrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-16-generic root=UUID=eab7b488-5040-499c-afd8-21a7ce9e2383 ro quiet splash vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-4.4.0-16-generic N/A linux-backports-modules-4.4.0-16-generic N/A linux-firmware 1.157 RfKill: SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 01/09/2014 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: FD dmi.board.asset.tag: To be filled by O.E.M. dmi.board.name: F2A55M-DS2 dmi.board.vendor: Gigabyte Technology Co., Ltd. dmi.board.version: x.x dmi.chassis.asset.tag: To Be Filled By O.E.M. dmi.chassis.type: 3 dmi.chassis.vendor: Gigabyte Technology Co., Ltd. dmi.chassis.version: To Be Filled By O.E.M. dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrFD:bd01/09/2014:svnGigabyteTechnologyCo.,Ltd.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rnF2A55M-DS2:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvrToBeFilledByO.E.M.: dmi.product.name: To be filled by O.E.M. dmi.product.version: To be filled by O.E.M. dmi.sys.vendor: Gigabyte Technology Co., Ltd.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1564470 Title: Unable to install NI-VISA nikal kernel module because of GPL-only symbol 'pgprot_writecombine' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1564470/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs