Creating devices for the attached ports, Creating devices, For the attached ports – Perle Systems RIO 5500036-17 User Manual

Page 148

Advertising
background image

RIO Remote I/O System User Guide
Installing RIO under Linux

Page 148

Chapter 2 Installing hardware and software

Creating devices for the attached ports

After you have installed the new kernel, modules & hardware, and have rebooted the
machine. The following procedure can be followed to create devices for the attached ports.

1. At the command prompt, load the RIO driver module by typing

modprobe rio

and

pressing the

Enter

key.

2. Verify the module has successfully loaded using the

lsmod

command. The output should

contain references to the rio module.

3. Ensure all your RIO devices are attached and powered on.

4. At the command prompt, upload the host card firmware to the driver and boot the

attached devices (ignore any warning or error messages) by typing:

rioboot -f

and pressing the

Enter

key.

5. At the command prompt, create a configuration file (/etc/rio/rio.cf) based on what is

attached to your system by typing:

rioboot -w > /etc/rio/rio.cf.new

and pressing the

Enter

key

The contents of the rio.cf file is now displayed as shown in the next example;

6. Using a suitable text editor, modify the new configuration file (/etc/rio/rio.cf.new) to give

your RTA's names and assign ports to them as shown in the next example;

7. Rename the new configuration file you have created to

/etc/rio/rio.cf

8. At the command prompt, upload the changes to the driver by typing

rioboot -u

and

pressing the

Enter

key.

9. At the command prompt, create device nodes for the attached RTA's by typing

riomkdev

and pressing the

Enter

key.

HOST:d100000f::boot:

RTA:9400073d: UNKNOWN RTA 1-1:-1:boot:

RTA:94000731: UNKNOWN RTA 1-2:-1:boot:

RTA:94000732: UNKNOWN RTA 1-3:-1:boot:

RTA:94000733: UNKNOWN RTA 1-4:-1:boot:

HOST:d100000f::boot:

RTA:9400073d: RTA16 0-15:0:boot:

RTA:94000731: RTA16 16-31:16:boot:

RTA:94000732: RTA16 32-47:32:boot:

RTA:94000733: RTA16 48-63:48:boot:

Advertising