← Back to team overview

kernel-packages team mailing list archive

[Bug 1564470] [NEW] Unable to install NI-VISA nikal kernel module because of GPL-only symbol 'pgprot_writecombine'

 

Public bug reported:

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'")

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
to
0xd544e902	pgprot_writecombine	vmlinux	EXPORT_SYMBOL
2. Edit /boot/

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.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: apport-bug xenial

** 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'")
  
  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
  to
  0xd544e902	pgprot_writecombine	vmlinux	EXPORT_SYMBOL
  2. Edit /boot/
  
  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
+  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.
+  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
+  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 Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1564470

Title:
  Unable to install NI-VISA nikal kernel module because of GPL-only
  symbol 'pgprot_writecombine'

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  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'")

  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
  to
  0xd544e902	pgprot_writecombine	vmlinux	EXPORT_SYMBOL
  2. Edit /boot/

  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1564470/+subscriptions


Follow ups