kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #170385
[Bug 1564470] Re: Unable to install NI-VISA nikal kernel module because of GPL-only symbol 'pgprot_writecombine'
Got similar error messages on Ubuntu 16.04 with Linux 4.4 and NI-
VISA-15.5.0.iso .
Apr 4 20:50:41 flash nikal: CC [M] /var/lib/nikal/4.4.0-16-generic/nikal/nikal.o
Apr 4 20:50:41 flash nikal: Building modules, stage 2.
Apr 4 20:50:41 flash nikal: MODPOST 1 modules
Apr 4 20:50:41 flash nikal: FATAL: modpost: GPL-incompatible module nikal.ko uses GPL-only symbol 'pgprot_writecombine'
Apr 4 20:50:41 flash nikal: scripts/Makefile.modpost:91: recipe for target '__modpost' failed
Apr 4 20:50:41 flash nikal: make[2]: *** [__modpost] Error 1
Apr 4 20:50:41 flash nikal: Makefile:1399: recipe for target 'modules' failed
Apr 4 20:50:41 flash nikal: make[1]: *** [modules] Error 2
Apr 4 20:50:41 flash nikal: Makefile:32: recipe for target 'nikal.ko' failed
Apr 4 20:50:41 flash nikal: make: *** [nikal.ko] Error 2
Apr 4 20:50:41 flash nikal: ERROR: failed to build nikal
Apr 4 20:50:41 flash nikal: ERROR: NI-KAL update failed.
Apr 4 20:50:41 flash nikal: ERROR: make of nikal kernel module failed, not installing kernel module.
Apr 4 20:50:41 flash nikal: ERROR: updateNIDrivers should be called again after fixing the problem.
Apr 4 20:50:41 flash nikal: ERROR: Update of National Instruments drivers failed.
Apr 4 20:50:41 flash nimDNSResponder: mDNSResponder (Engineering Build) (Mar 4 2014 10:27:18) starting
Apr 4 20:50:41 flash nimDNSResponder: mDNS_AddDNSServer: Lock not held! mDNS_busy (0) mDNS_reentrancy (0)
Apr 4 20:50:41 flash kernel: [ 1448.939299] nipalk: Unknown symbol nNIKAL100_mapKernelToUser (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939308] nipalk: Unknown symbol nNIKAL100_pageUnlockUserPointer (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939313] nipalk: Unknown symbol nNIKAL100_releaseSpinLockDPC (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939317] nipalk: Unknown symbol nNIKAL100_acquireSemaphoreZeroTimeout (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939321] nipalk: Unknown symbol nNIKAL100_scheduleDPC (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939326] nipalk: Unknown symbol nNIKAL100_usbGetEndpointDescriptor (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939330] nipalk: Unknown symbol nNIKAL100_pciConfigRead16 (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939334] nipalk: Unknown symbol nNIKAL100_usbGetConfigurationDescriptor (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939338] nipalk: Unknown symbol nNIKAL100_usbUnlinkURB (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939343] nipalk: Unknown symbol nNIKAL100_printToDebugger (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939347] nipalk: Unknown symbol nNIKAL150_createMutex (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939351] nipalk: Unknown symbol nNIKAL150_releaseMutex (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939355] nipalk: Unknown symbol nNIKAL100_waitForSingleUseEvent (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939359] nipalk: Unknown symbol nNIKAL100_enumeratePCIBuses (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939363] nipalk: Unknown symbol nNIKAL100_waitForSingleUseEventTimeoutInterruptible (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939368] nipalk: Unknown symbol nNIKAL100_unregisterPCIDriver (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939372] nipalk: Unknown symbol nNIKAL100_pageLockUserPointer (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939376] nipalk: Unknown symbol nNIKAL100_setUSBDeviceIDTableElement (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939380] nipalk: Unknown symbol nNIKAL100_reserveInterrupt (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939385] nipalk: Unknown symbol nNIKAL100_ioRead16 (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939389] nipalk: Unknown symbol nNIKAL100_memoryWrite16 (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939393] nipalk: Unknown symbol nNIKAL100_setPCIDeviceIDTableElement (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939397] nipalk: Unknown symbol nNIKAL100_getPageSize (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939401] nipalk: Unknown symbol nNIKAL100_getTimerInterval (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939405] nipalk: Unknown symbol nNIKAL100_createDPC (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939410] nipalk: Unknown symbol nNIKAL100_initializeSingleUseEvent (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939414] nipalk: Unknown symbol nNIKAL100_releaseSemaphore (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939418] nipalk: Unknown symbol nNIKAL100_ioRead8 (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939422] nipalk: Unknown symbol nNIKAL100_usbSetConfiguration (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939426] nipalk: Unknown symbol nNIKAL100_registerPCIDriver (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939430] nipalk: Unknown symbol nNIKAL100_getPhysicalAddress (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939434] nipalk: Unknown symbol nNIKAL180_memMove (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939438] nipalk: Unknown symbol nNIKAL100_pciConfigRead32 (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939442] nipalk: Unknown symbol nNIKAL100_getPhysicalMemorySize (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939447] nipalk: Unknown symbol nNIKAL100_relinquishInterrupt (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939451] nipalk: Unknown symbol nNIKAL100_getKernelVersion (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939455] nipalk: Unknown symbol nNIKAL100_usbFreeURB (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939459] nipalk: Unknown symbol nNIKAL100_ioWrite16 (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939463] nipalk: Unknown symbol nNIKAL100_memoryRead32 (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939468] nipalk: Unknown symbol nNIKAL100_free (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939472] nipalk: Unknown symbol nNIKAL100_createUSBDeviceIDTable (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939476] nipalk: Unknown symbol nNIKAL100_ioRead32 (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939480] nipalk: Unknown symbol nNIKAL100_sleepTimeoutInterruptible (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939483] nipalk: Unknown symbol nNIKAL100_acquireSemaphoreInterruptible (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939487] nipalk: Unknown symbol nNIKAL100_createPCIDeviceIDTable (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939519] nipalk: Unknown symbol nNIKAL100_createSemaphore (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939527] nipalk: Unknown symbol nNIKAL200_isAddressableMemOver4G (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939533] nipalk: Unknown symbol nNIKAL100_destroySpinLock (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939539] nipalk: Unknown symbol nNIKAL100_usbSetInterface (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939545] nipalk: Unknown symbol nNIKAL180_memCpy (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939552] nipalk: Unknown symbol nNIKAL110_acquireSpinLockInterrupt (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939559] nipalk: Unknown symbol nNIKAL100_mapPhysicalToKernel (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939580] nipalk: Unknown symbol nNIKAL100_getNumberOfActiveProcessors (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939586] nipalk: Unknown symbol nNIKAL100_getThreadHandle (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939591] nipalk: Unknown symbol nNIKAL100_getTimeOfDayInterval (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939595] nipalk: Unknown symbol nNIKAL100_destroySemaphore (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939599] nipalk: Unknown symbol nNIKAL100_getThreadID (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939603] nipalk: Unknown symbol nNIKAL110_releaseSpinLockInterrupt (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939606] nipalk: Unknown symbol nNIKAL100_usbGetInterfaceDescriptor (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939610] nipalk: Unknown symbol nNIKAL100_memoryRead8 (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939614] nipalk: Unknown symbol nNIKAL150_acquireMutexZeroTimeout (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939618] nipalk: Unknown symbol nNIKAL100_pciConfigWrite8 (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939622] nipalk: Unknown symbol nNIKAL100_unregisterUSBDriver (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939626] nipalk: Unknown symbol nNIKAL100_acquireSemaphore (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939630] nipalk: Unknown symbol nNIKAL100_usbSubmitURB (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939635] nipalk: Unknown symbol nNIKAL100_memoryRead16 (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939639] nipalk: Unknown symbol nNIKAL100_pciConfigWrite16 (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939643] nipalk: Unknown symbol nNIKAL100_destroyUSBDeviceIDTable (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939647] nipalk: Unknown symbol nNIKAL100_unmapKernelFromUser (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939651] nipalk: Unknown symbol nNIKAL100_usbGetConfiguration (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939655] nipalk: Unknown symbol nNIKAL100_decrementDriverRefcount (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939659] nipalk: Unknown symbol nNIKAL100_ioWrite32 (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939663] nipalk: Unknown symbol nNIKAL100_createSpinLock (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939667] nipalk: Unknown symbol nNIKAL100_usbGetDeviceDescriptor (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939672] nipalk: Unknown symbol nNIKAL110_getTimerCount (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939676] nipalk: Unknown symbol nNIKAL100_destroyDPC (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939680] nipalk: Unknown symbol nNIKAL100_replicateInboundIOControlBuffer (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939684] nipalk: Unknown symbol nNIKAL100_memoryWrite8 (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939689] nipalk: Unknown symbol nNIKAL250_halt (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939694] nipalk: Unknown symbol nNIKAL100_sleepTimeout (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939700] nipalk: Unknown symbol nNIKAL100_usbSynchronousControlRequest (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939708] nipalk: Unknown symbol nNIKAL100_loadDriver (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939714] nipalk: Unknown symbol nNIKAL100_replicateOutboundIOControlBuffer (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939720] nipalk: Unknown symbol nNIKAL100_pciConfigWrite32 (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939728] nipalk: Unknown symbol nNIKAL100_usbGetInterface (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939734] nipalk: Unknown symbol nNIKAL100_incrementDriverRefcount (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939740] nipalk: Unknown symbol nNIKAL100_pciConfigRead8 (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939746] nipalk: Unknown symbol nNIKAL100_getTimeOfDay (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939753] nipalk: Unknown symbol nNIKAL100_unregisterDriver (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939758] nipalk: Unknown symbol nNIKAL100_destroyPCIDeviceIDTable (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939765] nipalk: Unknown symbol nNIKAL100_createSystemThread (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939771] nipalk: Unknown symbol nNIKAL150_destroyMutex (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939777] nipalk: Unknown symbol nNIKAL100_registerUSBDriver (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939784] nipalk: Unknown symbol nNIKAL100_releaseSingleUseEvent (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939790] nipalk: Unknown symbol nNIKAL100_mallocContiguous (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939796] nipalk: Unknown symbol nNIKAL100_memoryWrite32 (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939802] nipalk: Unknown symbol nNIKAL100_waitForSingleUseEventInterruptible (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939809] nipalk: Unknown symbol nNIKAL150_acquireMutex (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939817] nipalk: Unknown symbol nNIKAL100_waitForSingleUseEventTimeout (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939825] nipalk: Unknown symbol nNIKAL100_unmapPhysicalFromKernel (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939831] nipalk: Unknown symbol nNIKAL100_usbAllocateURB (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939836] nipalk: Unknown symbol nNIKAL100_acquireSpinLockDPC (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939842] nipalk: Unknown symbol nNIKAL100_malloc (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939849] nipalk: Unknown symbol nNIKAL100_vsnPrintf (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939857] nipalk: Unknown symbol nNIKAL100_registerDriver (err 0)
Apr 4 20:50:41 flash kernel: [ 1448.939864] nipalk: Unknown symbol nNIKAL100_ioWrite8 (err 0)
--
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:
Triaged
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
(
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
to
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
to
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1564470/+subscriptions
References