12-04-2014 06:06 AM
Read there about grub2 https://help.ubuntu.com/community/Grub2
12-22-2014 08:04 AM
I add the "mem=" and "memmap=" in the /etc/default/grub like
GRUB_CMDLINE_LINUX="memmap=4096M$0x100000000"
and update-grub to generate the grub.conf
Reboot the target and re install the NI-visa then updateNIDrivers
execute visaconf, still got the error as before.
# visaconf
libnipalu.so failed to initialize
Perhaps you need to run updateNIDrivers
Aborted (core dumped)
But run dmesg | grep -i nipal ,there is nothing output. no information below
[ 14.558320] [nipal] More than 4GB of addressable memory detected.
[ 14.558322] [nipal] This configuration is not supported. Check the release notes for more information.
Looks like the error fixed, but the libnipalu.so failed to initialize too. Could you please help to look into it.
Thanks a lot & Best Regards!
12-25-2014 07:54 PM
Hi guys,
I can execute the ni-visa on my setup, thanks so much for your direction!
Below is my currently setup, for community members to reference.
Ubuntu 12.04.5 LTS \n \l
Linux version 3.2.0-70-generic-pae (buildd@kapok) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #105-Ubuntu SMP Wed Sep 24 20:08:22 UTC 2014
2GB RAM
Edit /etc/default/grub to add the linux kernel parameters, add the command GRUB_CMDLINE_LINUX="mem=2048M"after GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
save the file and sudo update-grub to update the grub.conf
Reboot your platform
install NI-VISA-14.0.0, use command ./INSTALL --nodeps
after installation, reboot your platform.
updateNIDrivers is optional.
finally, run visaconf in the ternimal, the NI-VISA will execute!
12-25-2014 07:57 PM
06-20-2018 07:18 PM
[ 14.558320] [nipal] More than 4GB of addressable memory detected.
[ 14.558322] [nipal] This configuration is not supported. Check the release notes for more information.
Yeah, they don't know how to do properly do DMA under Linux ...
In general, they don't know how to write proper Linux kernel drivers.
Binary-only kernel modules never work reliably on Linux.