Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Starting NI-KAL failed!

I am trying to install the NI-488.2 on our PowerEdge R900 server with

memory: 8GB

CPU: 4 Quad Core Zeon

OS: Red Hat Enterprise 5.2 Advance Platform (32bit)

kernel:  2.6.18-92

 

 When building NI-KA, I get:

 

Installing NI-KAL (nikal): Starting NI-KAL failed!

 

I have tried versions 1.5, 1.7 and 1.9 of NIKAL 

 

I configured my kernel to see only 4096M and 2048M based on "NI-KAL Fails to Load When I Have Greater Than 4GB of RAM" KnowledgeBase Message

 

Any suggestions?

 

Thanks

 

 

0 Kudos
Message 1 of 9
(4,607 Views)

TSX--

 

I found another discussion forum that indicates someone having the same issue as you.  Another user, Shawn B., makes a couples suggestions that you might try. Let me know how this goes.

 

Cheers!

--
Tyler C

0 Kudos
Message 2 of 9
(4,595 Views)

TSX wrote:

I configured my kernel to see only 4096M and 2048M based on "NI-KAL Fails to Load When I Have Greater Than 4GB of RAM" KnowledgeBase Message


When you do this you get the same error?  I looked at your niSystemReport output and it looks like you had mem=2048M set at the time.  I can see that nikal is not loaded but unfortunately I can't see why it failed.  When you have your system set to mem=4096M can you run:

 

modprobe nikal

dmesg > dmesg.out

 

Then attach the dmesg.out log.

 

Shawn Bohrer

National Instruments

Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 3 of 9
(4,566 Views)

I have a 4Gig of ram and get the greater than 4G error during installed for nikal. I can get the installation working and my c++ program working when I set the grub to mem=2048M at the boot prompt (mem=4096M did not work).  But I need to have all 4G to run in our enviornment. Is there any way I can get this working at run time with 4G?

 

I'm using Ni-488.2 2.5 disk on RHEL 3.

0 Kudos
Message 4 of 9
(3,819 Views)

These linux issues can be tricky to deal with since there is not enough demand to dedicate substancial resources to developing software that works with the many distibutions of linux.  You are using RHEL 3 and all of the README files I have read say that the support is just for RHEL 4 or 5.  So that could be part of the issue.  You can also make sure you are trying the newest versions of the drivers.

 

Ni 488.2

http://joule.ni.com/nidu/cds/view/p/id/980/lang/en

 

You could also try installing the newest NI-KAL first found here

http://joule.ni.com/nidu/cds/view/p/id/2108/lang/en

 

If nothing here works you may need to get a log following the instructions Shawn posted above.

Jensen
National Instruments
Applications Engineer
0 Kudos
Message 5 of 9
(3,807 Views)

I'm using NI-VISA 4.1.0 and 488.2 v2.5 which both state in the readme's that RHEL 3 is supported. I think I've narrowed the issue to NI-KAL and using >4G of ram on a 32bit system. When I set the grup mem value at bootup to a value less than 4G everything works fine ... but I am running applications that require all 4G so I can't leave the setting at less than 4G.

 

I have also look at the latest NI-KAL 2.0 and this problem is excliptely stated in the Known Issues section of the readme.

 

I don't see many options left.

0 Kudos
Message 6 of 9
(3,805 Views)

Micho-

 

Unfortunately the only option if you require more than 4G of address space is to use a 64-bit version of Linux. There is currently an NI-488.2 beta driver available for use with 64-bit RHEL 5. No work has been done to ensure compatibility with older versions of 64-bit RHEL.

 

-Jason S.

0 Kudos
Message 7 of 9
(3,793 Views)

Hello, I installed NI-KAL 2.1 version to HP Z400, 4GB instead of NI-KAL 1.7 included

NI-488.2.5.1b1 package.
Installation was finished without any problems and gpibintctrl looked like ok.

 

But, gpibexplorer and gpibtsw doesn't work with segmentation fault and NI said

NI-KAL 2.1 and NI-488.2.5.1b1 does not compatible with each other.

 

I didnot connect my GPIB card to devices yet.

 

FYI

0 Kudos
Message 8 of 9
(3,762 Views)

Did you install the NiVisa software? That is a seperate install.

 

By the way, I did manage to get all this working only after modifiying my kernal with mem=4G. I'm also using NiKal 1.7 ... why are you using 2.1?

 

0 Kudos
Message 9 of 9
(3,759 Views)