Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
3 ratings:
 3.33 out of 5   

Archived: LabVIEW 6.1 Running on Linux Kernel 2.6 Hangs on Launch Screen

This document has been archived and is no longer updated by National Instruments



Primary Software:
Primary Software Version: 6.1
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
After I install LabVIEW 6.1 on a distribution of Linux using kernel 2.6, LabVIEW crashes or hangs on the launch screen.

Solution:
The problem is that kernel 2.6 turns on a filesystem optimization by default, which causes the current and parent directory entries (. and ..) to no longer appear first in the output of the system call that reads directory contents (readir()). This change causes LabVIEW to crash or hang on launch.

To turn off the feature in the filesystem and restore the ability to run LabVIEW,
log in as root user and enter the following:

# tune2fs -O "^dir_index" /dev/hda1

where /dev/hda1 is the directory where LabVIEW is installed.

Do this for every local filesystem you might access while in LabVIEW. Use "
df -l" to list these filesystems.

Related Links:
Measurement and Control Products for Linux
National Instruments and Linux: Frequently Asked Questions
KnowledgeBase 3ANAI1DW: Why Do I Get Segmentation Fault Errors When Installing LabVIEW 7.1 and Earlier on Linux?


Attachments:





Report Date: 10/12/2007
Last Updated: 07/09/2008
Document ID: 4EB9STZ5

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit