Solution:
The following configuration example is for the PCI-FAST card and driver version 2.02 in a RedHat Linux kernel 2.2.16.
Note: If your Linux kernel is 2.4.x or above then do not use these instructions. See knowledgebase for PCI-Fast and Linux 2.4.x installation.
Instructions:
Power down your Linux server. Insert the PCI-Fast card in your system and power up. Logon to Linux Server and issue the following command: cat /proc/pci
Your system’s pci entry for the PCI-Fast card should appear similar to the following example before you can continue with the installation. This ensures that your system’s PCI BIOS has assigned resources to the
PCI-FAST card. The actual resources will differ between systems.
Serial controller: PLX PCI9050 I2O (rev 1).
Medium devsel. Fast back-to-back capable. IRQ 11.
Non-prefetchable 32 bit memory at 0x41000000 [0x41000000].
I/O at 0x1000 [0x1001].
I/O at 0x1080 [0x1081].
Now that the card has been detected and assigned resources, install the PCI-Fast card driver version 2.02. You can use the driver version 2.02 from the CDROM supplied with the PCI-Fast serial card.
Mount the CDROM. For example, mount -t iso9660 -r /dev/cdrom /cdrom
Make the chase directory then copy the Chase driver from the CDROM to the chase directory. For example,
mkdir /chase
cp /cdrom/pci-fast/drivers/linux/atpc_202.dd /chase
Change directory to /chase and extract the Chase driver. For example,
cd /chase
tar xvf atpc_202.dd
From the /chase directory type: ./install
Answer all questions related to your environment. For example,
· Are you ready to continue (y/n) select y.
· How many AT-FAST cards to install [0] ('o' since this is a PCI-Fast card)
· Automatic or manual entry? (a/m) select 'a' for automatic.
Configure the kernel to include built-in support for the Chase PCI-Fast card. For example,
cd /usr/src/linux
make menuconfig
· Scroll down to 'Character Devices' and choose the select option.
· Scroll down to line and select 'Chase Research AT/PCI-Fast and PCI-RAS support'.
·Exit the menuconfig screens and answer 'yes' when prompted with "Do you wish to save your kernel configuration".
Rebuild the Linux kernel. For example,
From the /usr/src/linux directory, type the following. Note the upper case I in bzImage.
make dep;make clean;make bzImage
Once the rebuild has successfully completed, overwrite the old kernel image with the new kernel image. For example,
cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz
If using lilo, update the loading map by typing: /sbin/lilo
Reboot the Linux machine by typing: reboot
Done.
Note: TTY device names that are automatically assigned to the PCI-Fast serial ports are:
ttyCH0 for port1, ttyCH1 for port 2, ttyCH2 for port 3, and so on... depending on whether you have a 4, 8, or 16 port PCI-Fast card.
You may need to changes permissions on the devices.
For example, chmod 777 /dev/ttyCH* or chmod 777 /dev/cuch*
------------------------------------------------------------------------------------------------------------------------------
OPTIONAL - Adding logins for tty devices
Add a login entries in the file /etc/inittab. Each port requires a
login entry. For example,
ch1:2345:respawn:/sbin/getty ttyCH0 DT9600
ch2:2345:respawn:/sbin/getty ttyCH1 DT9600
ch3:2345:respawn:/sbin/getty ttyCH2 DT9600
ch4:2345:respawn:/sbin/getty ttyCH3 DT9600
.
.
and so on... depending on whether you have a 4, 8 or 16 port PCI-Fast card.
Note: The speed label definitions (for example, DT9600, DT19200, DT38400) are found in the file /etc/gettydefs. (For example, DT9600 specifies 9600 baud, 8 data bits, 1 stop bit, no parity, software flow)
Update the entries in the file /etc/inittab by typing the following command: init q
At this point, logins should appear on the attached attached serial display devices.
-------------------------------------------------------------------------------------------------------------------------------
Other useful information
· To remove the Chase driver, type ./remove from the chase directory.
· System start-up messages are logged in the file /var/log/dmesg or /var/log/messages
· The Chase PCI-Fast card resources are logged in the file /proc/pci
Some troubleshooting TIPS
For PCI-Fast cards,
· You may need to adjust your BIOS settings on your Linux Server to free up resources such as disabling built-in devices.
If there is no login response on the terminal however the PCI-Fast serial card appears in /proc/interrupts and /proc/pci and a login process is running on the Linux Server, do the following:
· Verify the cable specifications used between the PCI-Fast serial port and the terminal. Refer to the Installation and Configuration guide for cable diagrams.
· Verify the Terminal settings match the line settings of the PCI-Fast serial port. The default is 9600,8,n,1,xon/xoff. Line settings can be changed in the file /etc/inittab.