beautypg.com

Vi. unixware drivers, Loading the package, Configure for statically linked driver – Asus P/I-P65UP8/CP6ND User Manual

Page 80: Configure for dynamically loadable driver

background image

80

ASUS P/I-P65UP8 User’s Manual

VI. UNIXWARE DRIVERS

Loading the Package

Before you install the C8xx driver, make a backup copy of the existing kernel by:

1. Log on as root.
2. At the shell prompt type cp /stand/unix /stand/unix.good

Use this copy of the old kernel to reboot the system if the driver installation fails.
Refer to the later section titled Troubleshooting for more information.

3. Once the old kernel is saved, insert the SDMS PCI UnixWare driver diskette.
4. Load the driver using the pkgadd command as follows:

pkgadd -d diskette1

5. Select C8xx and press Enter. The C8xx driver gets loaded on the system.
6. The system reprompts you to load the driver even if loading was successful.

Type q (quit) and Enter.

7. Verify that the driver is now listed and loaded successfully by typing:

pkginfo c8xx

8. The package information should look like this:

system c8xx Symbios Logic IHV HBA

Configure for Statically Linked Driver

1. Make a backup copy of the c8xx system configuration file as follows:

cd /etc/conf/sdevice.d
cp c8xx /tmp/c8xx.sys

2. Check if System file configured is static. If the file contains the line “$static”

it is configured for static link.
To look at this file type the following command: cat c8xx

3. If the System file does not contain the text “$static” on the line immediately

following the “$version” line, add it using a text editor. Do not include the
double quotes.

Configure for Dynamically Loadable Driver

1. Make a backup copy of the c8xx system configuration file as follows:

cd /etc/conf/sdevice.d
cp c8xx /tmp/c8xx.sys

2. Remove the “$static” line from the c8xx file using a text editor, or by typing

the following commands:

grep -v ‘$static’ c8xx > /tmp/c8xx.tmp
mv /tmp/c8xx.tmp c8xx

3. Configure the loadable driver into the system as follows:

/etc/conf/bin/idbuild -M c8xx

VI. UNIXW

ARE

(Installation)