User`s guide
14 – SuSE Linux Driver Installation
Installing the Driver
14-2 FC2354601-00 J
Q
14.3.1
Building a Uniprocessor (UP) Version of the Driver
Perform the following steps to build a UP version of the qla2xxx driver:
1. Install the kernel-source from the SuSE distribution CD-ROM by typing:
# yast or
# yast2
2. Create a soft link (–/usr/src/linux) to the kernel source
(–/usr/src/<linux-version>) by typing:
# ln -sf /usr/src/<linux-version> /usr/src/linux
3. To ensure kernel version synchronization between the driver and running
kernel, type the following:
# cp /boot/vmlinuz.version.h /lib/modules/'uname -r'/build/
include/linux/version.h
4. Create a new directory, /qla2x00. Using the disk created in section 14.2, copy
the qla2x00-vx.yy.zz-dist.tgz file to /qla2x00 and extract the files. For example:
# mkdir qla2x00
# cd qla2x00
# mount /mnt/floppy
# cp /mnt/floppy/*.tgz . (The period (.) at the end is required.)
# tar -xvzf *.tgz
# cd qlogic
# ./drvrsetup (This step extracts the driver source files into the current
directory.)
5. Build the driver qla2300.o from the source code by typing:
# make all OSVER=linux
NOTE: Refer to Makefile for additional supported command line parameters.
After building a UP version of the driver, you must load the driver by one of the
following methods:
■
Manually (see section 14.3.3)
■
Through a RAMDISK image, which you must build (see section 14.3.4)