Linux Users

Reply
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.

Re: How to install NI-VISA in ubuntu12.04

0 Kudos
Message 11 of 15
(371 Views)

Re: How to install NI-VISA in ubuntu12.04

Hi mig-31 and irwan

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!

0 Kudos
Message 12 of 15
(371 Views)

Re: How to install NI-VISA in ubuntu12.04

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!


0 Kudos
Message 13 of 15
(365 Views)

Re: How to install NI-VISA in ubuntu12.04

Appeciate for mig-31 irwan and PaulLotz help.

0 Kudos
Message 14 of 15
(365 Views)

Re: How to install NI-VISA in ubuntu12.04

 


@kelyen

[   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.

Linux Embedded / Kernel Hacker / BSP / Driver development / Systems engineering
0 Kudos
Message 15 of 15
(186 Views)
Reply
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.