Captain's Universe Home
Captain's Universe Home
Cosmic Ray Muon DetectorTeleGarden Pages
Time on MarsBryophyllum Plants
Jupiter Radio AstronomyAncient Pages
Salzburg Tourist GuideEarth Magnetometer
  H O M E     AJAX & MORE     LINUX & MORE     RTAI     XENOMAI     ADEOS IPIPE      
    JAVA & BROWSERS     *NIX     ELECTRONICS     REVIEWS     ARTEMIA     FAIRY SHRIMP      


RTAI Error opening /dev/rtf/0 - Error opening /dev/rtf0

You most likely found this page due some RTAI error messages.
RTAI is a real time extension to the linux operating system.
Sometimes, for an unknown reason (at least to me) the /dev/ entries are not persistent. If those device nodes vanish after a reboot, look below for scripts to create them on each boot process.


☯ If you get this error like this:
Error opening /dev/rtf/0
-or- Error opening /dev/rtf/1
-or- Error opening /dev/rtf/2
-or- Error opening /dev/rtf/3
-or- Error opening /dev/rtf/4
-or- Error opening /dev/rtf/5
-or- Error opening /dev/rtf/6
-or- Error opening /dev/rtf/7
-or- Error opening /dev/rtf/8
-or- Error opening /dev/rtf/9
then have a look if /dev/rtf exists (probably not) and if there are any nodes in it. If there are no nodes, create this shell script and run it:
#!/bin/bash
mkdir /dev/rtf
for n in `seq 0 9`
do
        f=/dev/rtf/$n
        mknod -m 666 $f c 150 $n
done
The nodes actually should have been created during RTAI's "make install", but in case...
If /dev/rtf0 to /dev/rtf9 and /dev/rtai_shm are missing aswell.


Error opening /dev/rtf0
-or- Error opening /dev/rtf1
-or- Error opening /dev/rtf2
-or- Error opening /dev/rtf3
-or- Error opening /dev/rtf4
-or- Error opening /dev/rtf5
-or- Error opening /dev/rtf6
-or- Error opening /dev/rtf7
-or- Error opening /dev/rtf8
-or- Error opening /dev/rtf9
-or- Error opening /dev/rtai_shm
run this script:
#!/bin/bash
mknod -m 666 /dev/rtai_shm c 10 254
for n in `seq 0 9`
do
        f=/dev/rtf$n
        mknod -m 666 $f c 150 $n
done



Last-Modified: Sat, 04 Feb 2006 15:43:16 GMT

Google
 
Web www.captain.at
go to top
© 1996-2010 . All rights reserved.
No reproduction, distribution, publishing or transmission of the copyrighted materials at this site is permitted. Policy
go to top