LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Mandriva 2008 compatible with LabVIEW 8.2?

Hi,
as I posted in another thread a few days ago, I need a fast M/B and processor. In doing so I would need the newest possible Intel components. But these components are not supported by Mandriva 2006, which is the only free Linux OS, fully compatible with Linux. Now I was just wandering, what about Mandriva 2008? Did anyone already test/install Labview 8.2 on Mandriva 2008. Should I rather not try it or is it worth the time?
Thanks
Thomas
0 Kudos
Message 1 of 14
(3,945 Views)

Hi Thomas,

We haven't tested Mandriva 2008, so we can't say for sure, but it wouldn't hurt to try it.  I'm not sure how much the kernel changed between versions.  LabVIEW 8.2 and NI-VISA should work fine on Mandriva 2007, but the GPIB and DAQmx drivers are not officially certified.  The latest version of NI-KAL only supports up to Mandriva 2007.

 

Cheers,

Clint M

0 Kudos
Message 2 of 14
(3,922 Views)
Just to follow up,
After a kernel recompilation (first go into the makefile and make sure there is no "custom" in the fourth line, called EXTRAVERSION .... you are not changing the kernel, so its safe to delete it), VISA 4.3, DAQmx and GPIB drivers (488.2 Version 2.5.1) installed flawlessly 😉
Cheers
Thomas
0 Kudos
Message 3 of 14
(3,745 Views)
just to clarify because i am having problems with gpib (ni488225L) drivers on mandriva 2008.

i have kernel-source-2.6.24.4-1mnb installed
i copied to stock kernel config from /boot and edited the line you suggested then did a make &&  modules_install && make install
rebooted to new kernel
    [root@localhost cdrom]# ls /usr/src/
    linux@  linux-2.6.24.4-1mnb/
    [root@localhost cdrom]# uname -r
    2.6.24.4-1mnb

but i still get

******************************** ERROR ****************************************
* Kernel source in /lib/modules/2.6.24.4-1mnb/source does not appear to be
* for the 2.6.24.4-1mnb kernel.
* Ensure that kernel source for the 2.6.24.4-1mnb kernel is installed
* and configured.  Refer to the README file for the product you are           *
* installing for information about configuring your kernel source.            *
******************************** ERROR ****************************************

when running INSTALL script.

thanks for any advice.


0 Kudos
Message 4 of 14
(3,600 Views)
Actually you don't need to recompile your kernel on Mandriva 2008.  All you need to do is install the correct package which Mandriva has unfortunately made a little confusing.  I'm a little too lazy to find a Mandriva 2008 machine at the moment but the package should be something like:

kernel-$(uname -r)-devel.rpm

In other words "kernel-2.6.22-desktop586-devel.rpm" or something like that.  The kernel-source package that you have installed is only for people who want to compile a custom kernel, where the kernel-$(uname -r)-devel package is for people who want to install third party kernel modules (you).

Shawn Bohrer
National Instruments
Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 5 of 14
(3,578 Views)
thanks for the reply. i have now installed the kernel-devel package and booted the original kernel. but i am still having problems, but now its complaining about the sources in /lib/modules/
    [root@localhost cdrom]# urpmi kernel-devel
    Packages kernel-desktop586-devel-2.6.24.4-1mnb-1-1mnb1.i586, kernel-source-2.6.24.4-1mnb-1-1mnb1.i586 are already installed
    [root@localhost cdrom]# urpmi kernel-headers
    Package kernel-headers-2.6.24-6mnb1.i586 is already installed
    [root@localhost cdrom]# uname -r
    2.6.24.4-desktop586-1mnb


[root@localhost cdrom]# ./INSTALL

*****************************************************************************
  NI-488.2 Distribution
     version 2.5.1f0 for Linux/x86 32-bit
*****************************************************************************

National Instruments products support the following Linux distributions:
   Mandriva Linux Official
   SUSE Linux
   Red Hat Enterprise Linux WS
Refer to README.txt for the latest information at the time of release.
Refer to www.ni.com/linux for the most recent information about Linux
support at National Instruments.

Continue? [Yn]

Checking required install tools...
Checking installer tool versions...
rpm        4.4.2.3 can be used with a default installation path
tar        1.19
Checking dependencies...
glibc      2.7
Unpacking install files to /tmp/NI4882-2.5.1f0.install...

******************************** ERROR ****************************************
* Kernel source in /lib/modules/2.6.24.4-desktop586-1mnb/source does not appear to be
* configured for the 2.6.24.4-desktop586-1mnb kernel.
* Configuration of kernel source is required to continue installation.        *
* Refer to the README file for the product you are installing for information *
* about configuring your kernel source.                                       *
******************************** ERROR ****************************************

Installer is aborted.
[root@localhost cdrom]#


whats the problem here?


0 Kudos
Message 6 of 14
(3,557 Views)
I'm guessing you need to uninstall the kernel-source package.  Additionally if you still get the error after uninstalling kernel-source try uninstalling/reinstalling the kernel-devel package because these package rely on a symlink under /lib/modules/2.6.24.4-desktop586-1mnb/ in order to find the headers/source and I think it is currently pointing to the wrong package.

Shawn Bohrer
National Instruments
Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 7 of 14
(3,553 Views)
i uninstalled the kernel-source package and re-installed the kernel-devel package for my kernel. this didnt seem to help. i installed a new kernel and new kernel-devel, and still no luck. the links in /lib/modules/ seem to be fine.

[root@localhost alex]# ls /usr/src/
linux-2.6.24.4-1mnb/             linux-2.6.24.5-desktop-2mnb/
linux-2.6.24.4-desktop586-1mnb/
[root@localhost alex]# ls -al /lib/modules/2.6.24.4-desktop586-1mnb/
total 2040
drwxr-xr-x  4 root root   4096 2008-06-17 11:42 ./
drwxr-xr-x  5 root root   4096 2008-06-17 12:05 ../
lrwxrwxrwx  1 root root     39 2008-06-17 11:42 build -> /usr/src/linux-2.6.24.4-desktop586-1mnb/
drwxr-xr-x  3 root root   4096 2008-04-06 20:29 dkms-binary/
drwxr-xr-x 10 root root   4096 2008-06-13 04:28 kernel/
-rw-r--r--  1 root root 417487 2008-04-06 20:30 modules.alias
-rw-r--r--  1 root root     69 2008-04-06 20:30 modules.ccwmap
-rw-r--r--  1 root root 487747 2008-04-06 20:30 modules.dep
-rw-r--r--  1 root root  78002 2008-03-27 10:22 modules.description
-rw-r--r--  1 root root    813 2008-04-06 20:30 modules.ieee1394map
-rw-r--r--  1 root root    451 2008-04-06 20:30 modules.inputmap
-rw-r--r--  1 root root  22224 2008-04-06 20:30 modules.isapnpmap
-rw-r--r--  1 root root     74 2008-04-06 20:30 modules.ofmap
-rw-r--r--  1 root root 340530 2008-04-06 20:30 modules.pcimap
-rw-r--r--  1 root root   1303 2008-04-06 20:30 modules.seriomap
-rw-r--r--  1 root root 181469 2008-04-06 20:30 modules.symbols
-rw-r--r--  1 root root 482373 2008-04-06 20:30 modules.usbmap
lrwxrwxrwx  1 root root     39 2008-06-17 11:42 source -> /usr/src/linux-2.6.24.4-desktop586-1mnb/
[root@localhost alex]# uname -r
2.6.24.5-desktop-2mnb
[root@localhost alex]#

still get the error:


******************************** ERROR ****************************************
* Kernel source in /lib/modules/2.6.24.5-desktop-2mnb/source does not appear to be
* configured for the 2.6.24.5-desktop-2mnb kernel.
* Configuration of kernel source is required to continue installation.        *
* Refer to the README file for the product you are installing for information *
* about configuring your kernel source.                                       *
******************************** ERROR ****************************************



not sure whats the problem here.

0 Kudos
Message 8 of 14
(3,526 Views)
slight typo in last post i ment to show these links are correct, they are the links for the kernel i am running.

[root@localhost cdrom]# ls -al /lib/modules/2.6.24.5-desktop-2mnb/
total 1936
drwxr-xr-x  3 root root   4096 2008-06-17 12:05 ./
drwxr-xr-x  5 root root   4096 2008-06-17 12:05 ../
lrwxrwxrwx  1 root root     36 2008-06-17 12:05 build -> /usr/src/linux-2.6.24.5-desktop-2mnb/
drwxr-xr-x 10 root root   4096 2008-06-17 12:05 kernel/
-rw-r--r--  1 root root 393387 2008-06-12 15:01 modules.alias
-rw-r--r--  1 root root     69 2008-06-12 15:01 modules.ccwmap
-rw-r--r--  1 root root 459956 2008-06-12 15:01 modules.dep
-rw-r--r--  1 root root  77933 2008-06-12 15:01 modules.description
-rw-r--r--  1 root root    813 2008-06-12 15:01 modules.ieee1394map
-rw-r--r--  1 root root    451 2008-06-12 15:01 modules.inputmap
-rw-r--r--  1 root root  22224 2008-06-12 15:01 modules.isapnpmap
-rw-r--r--  1 root root     74 2008-06-12 15:01 modules.ofmap
-rw-r--r--  1 root root 301218 2008-06-12 15:01 modules.pcimap
-rw-r--r--  1 root root   1303 2008-06-12 15:01 modules.seriomap
-rw-r--r--  1 root root 168673 2008-06-12 15:01 modules.symbols
-rw-r--r--  1 root root 479296 2008-06-12 15:01 modules.usbmap
lrwxrwxrwx  1 root root     36 2008-06-17 12:05 source -> /usr/src/linux-2.6.24.5-desktop-2mnb/
[root@localhost cdrom]#
0 Kudos
Message 9 of 14
(3,525 Views)
I actually just what kernel version you are using "2.6.24".  There are some known issues that will be fixed in the next version of NI-KAL.  For now you could downgrade your kernel to an older version (2.6.22 should work), or you could take a couple steps to fix things up specifically:

Look here, and read the last post which I think solves the problem you are seeing.

Shawn Bohrer
National Instruments
Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 10 of 14
(3,480 Views)