Product:: Linux Compilation
Product Description: All HBA
There two kinds of linux os, SuSE and RedHat that we support. The instructions for generating driver disk for each OS is given below.
SuSE:
Attaching two files: dud-sles9-sample.img and driver_update.txt. The previous is sample driver disk image file, the late one is to explain what is on driver disk.
Before you try to make driver disk, you should build all driver files for each kernel, and make a update.tar.gz file as driver_update.txt said. then you run command "mkdir /tmp/rd; mount -oloop dud-sles9-sample.img /tmp/rd" to mount sample disk image to directory /tmp/rd, and then goto /tmp/rd and modify or replace any files you need. after finishing modification, run command "umount /tmp/rd; dd if=dud-sles9-sample.img of=/dev/fd0 bs=10k" to copy the disk image file to floppy taht is the driver disk you want.
RedHat:
Attaching file rhel40.img is fasttrak s150 tx4 driver disk image file. After you run command "mkdir /tmp/rd; mount -oloop rhel40.img /tmp/rd", you will see all files on disk at directory /tmp/rd:
modinfo,modules.cgz,modules.dep,pcitable,rhdd, install and readme.txt.
The file "install" is used to install our driver only after os has already been finished installation. and the file "readme.txt" is to explain how to use it. The two files are option files. and the others must be there.
modinfo - description of driver version
modules.cgz - driver module for RedHat Linux on installation
modules.dep - our driver depending on which drivers.
pcitable - tell os our driver will handle which kinds of pci device. most redhat os will read this file to install our driver automatically if the pci device exist.
With regard to make modules.cgz, as the following steps:
<Extract modules.cgz>
#gzip -dc modules.cgz > modules.cpio
#mkdir tmp;cd tmp
#cpio -idumv < ../modules.cpio
<Add your driver ..>
<Compress to modules.cgz>
#find . | cpio -ovBc > ../modules
#cd ..
#gzip -9 -S .cgz modules