Q-Logic 2300 manual Loading the Driver, # mcopy a*.tgz . The period . at the end is required

Page 95

 

9 – Red Hat Linux Driver Installation

￿

Install or Update the Driver (Installed Operating

 

System)

 

 

 

 

 

 

9.4.2

Loading the Driver

The qla2x00 or qla2300 driver must be loaded before the system can access the devices attached to the QLA23xx HBA. To build a custom kernel to automatically load the driver at boot time, see section 9.4.2.1. To build a ramdisk image to automatically load the qla2x00 driver at boot time, see section 9.4.2.2. To load the qla2x00 driver manually, see section 9.4.2.3. To build a ramdisk image to automatically load the qla2300 driver at boot time, see section 9.4.2.4. To load the qla2300 driver manually, see section section 9.4.2.5.

9.4.2.1

Building a Custom Kernel to Load the qla2x00 (v4.x) Driver Automatically

The kernel automatically loads the qla2x00 driver at boot time if you include it in a custom kernel. Perform the following steps to build a custom kernel:

1.Copy the qla2x00src-vx.xx.tgz file on the qla2x00 source code driver floppy disk you created in section 9.2.3 to the /home/qla2x00 directory on the boot drive. Extract the driver source and additional information files from the .tgz file. For example:

#cd /home

#mkdir qla2x00

#cd /home/qla2x00

#mcopy a:*.tgz . (The period [.] at the end is required.)

#tar -xvzf qla*.tgz

2.Extract the kernel-header and kernel-source RPM files from the first Red Hat CD-ROM.

#cd /mnt/cdrom/RedHat/RPMS

#rpm -iv kernel-headers*.rpm

#rpm -iv kernel-source*.rpm

3.Add the driver to the kernel.

NOTE: These instructions are for qla2x00 (in Red Hat Linux 6.2, 7.0, 7.1, and 7.2). The line number listed may not be correct for other releases of the kernel.

The following details are from addkernel.txt, which can be obtained from the following source:

#tar -xvzf qla2x00src-x.xx.tgz

FC2354601-00 A

9-5

Image 95
Contents SANblade 2300 Series User’s Guide Page Table of Contents Section QLA2342/2342L Part Software Section Windows NT Driver Installation Section NetWare Driver Installation FCode 10-4 Section Solaris Sparc Driver InstallationFC2354601-00 a General Description How to Use this GuideWhat is Fibre Channel? IntroductionCompliance with PCI Local Bus Specification revision FeaturesHardware Hardware FC2354601-00 a QLA2340/2340L HBA Components QLA2340/2340LJumpers Installation in the ComputerLEDs QLA2340/2340L SunSPARC systems do not display the Bios banner Installation HelpIntroduction Configuration SettingsSelectable Boot Settings Host Adapter SettingsRaw Nvram Data Restore Default SettingsAdvanced Adapter Settings Setting Options Extended Firmware Settings Extended Firmware SettingsRIO Operation Modes Select Host Adapter Scan Fibre Channel DevicesFibre Disk Utility Flashing a QLA2340/2340L HBA with FCode FCodeNew connection mode displays. For example Setting the QLA2340/2340L HBA Connection ModeConnection mode and options display. For example Type the following Setting the QLA2340/2340L HBA Loop IDSetting and Viewing the Fibre Channel Data Rate New loop ID displays. For exampleOk show-devs Pci@1f,0/pci@1/QLGC,qla@4 Selecting the Boot DeviceFollowing displays Building the Bootable DiskNewfs -v /dev/rdsk/c3t130d0s0 Shut down the system. Type the following Boot from the newly created boot disk. For exampleView the current dump device setting. For example Tables 2-7and 2-8define the QLA2340/2340L specifications SpecificationsConducted Emission LabelAgency Certification EMI and EMC RequirementsProduct Safety Requirements QLA2340/2340L Agency Certification FC2354601-00 a QLA2342/2342L HBA Components QLA2342/2342LQLA2342/2342L HBA LED Activity QLA2342/2342L Installation Help Fast!UTIL QLA2342/2342L Fast!UTIL Restore Default Settings Setting Options Extended Firmware Settings RIO Operation Modes Scan Fibre Channel Devices Flashing a QLA2342/2342L HBA with FCode Setting the QLA2342/2342L HBA Connection Mode Setting the QLA2342/2342L HBA Loop ID Selecting the Boot Device Building the Bootable Disk Newfs -v /dev/rdsk/c3t130d0s0 Shut down the system. Type the following QLA2342/2342L HBA Operating Environment Tables 3-7and 3-8define the QLA2342/2342L specificationsQLA2342/2342L Label Product Safety Requirements QLA2342/2342L Agency Certification FC2354601-00 a System Configuration Problem Checklist TroubleshootingProblems After Installation Hardware Problem ChecklistFibre Channel Problem Checklist Operating System SoftwareII Software II-2 FC2354601-00 a Windows NT Driver Files Windows NT Driver Installation QL2300.SYSWindows NT Installation Remove the disk, then click Yes to restart the computer Installing or Updating the Windows NT DriverClick OK Qldirect Updating the Windows NT DriverUpdating to Qldirect from Qlfilter Qldirect InstallationInitial Installation of Qldirect Qldirect Driver FilesWindows NT networking software must be installed QL2x00IP Ndis Network Driver InstallationInitial Installation of the QL2x00IP Ndis Network Driver Updating the QL2x00IP Ndis Network Driver Driver Configuration QL2x00IP Ndis Driver and IP Address ConfigurationIP Address Configuration Click Close Click Yes to restart the computer Removing the QL2x00IP Ndis DriverPage Creating the Driver Disk Windows 2000 Driver Installation QL2300.SYSWindows 2000 Installation Installing the Windows 2000 Driver Updating the Windows 2000 Driver Windows 2000 Driver Installation Windows Driver Installation QL2x00IP Ndis Network \W2k\Ip QL2x00IP Ndis Driver Configuration Adapter IP address Subnet mask255.255.0.0 Restart the computer Page Installing the Windows XP Driver Windows XP Driver Installation QL2300.SYSInstalling Windows XP with the QLA23xx HBA as an Add-On Click Yes Installing the QL2300.SYS DriverClick Yes to continue with the installation Double-clickQLogic QLA2300 PCI Fibre Channel Adapter Updating the Existing QLA2300.SYS DriverMaximumSGList Removing the DriverSystem Registry Parameters Ql2300 Parameters Device CurrentControlSet Services Ql2300 Parameters DeviceNumberOfRequests FCTapeUseSameNN Page NetWare Driver Files and Parameters NetWare Driver Installation QL2300.HAMSelect Driver options from the main menu Installing the NetWare DriverDownload the driver to the temporary directory Red Hat Linux Driver InstallationDriver Floppy Disk 1 New Operating System Installation Creating the Driver Floppy DiskSource Code Driver Floppy Disk Driver Floppy Disk 2 Installed Operating SystemInstall or Update the Driver Installed Operating System Install a New Operating System and Driver Red Hat LinuxTo upgrade the existing qla2x00 drivers, type Installing the Driver on the Boot Drive# mcopy a*.tgz . The period . at the end is required Loading the DriverAfter line 338 add From the Main Menu, select Scsi support and press Enter Type the following command to access the Main MenuCreate a bootable kernel image by typing the following After line 609 add# cd arch/i386/boot # cp bzImage /boot/newsmp For a multiprocessor system, change the following line from Building a Ramdisk Image to Load the Driver AutomaticallyBuilding a Ramdisk Image to Load the qla2300 Driver Loading and Unloading the qla2x00 Driver ManuallyRestart the system. The qla2300 driver loads automatically Loading and Unloading the qla2300 Driver ManuallyNew text is Building a Uniprocessor Version of the Driver Building a Driver from the SourcesFor Red Hat 7.1 and 7.2, type Building a Multiprocessor Version of the DriverFor Red Hat Linux 7.1 and 7.2, type # make dep Produces a file in the same directory called qla2300 Solaris Sparc Driver Installation QLA2300Installing the Solaris Sparc Driver from a CD-ROM You are prompted to select a driver package. For example At the command prompt, type pkgadd -d ./qla2300Press Enter to accept the default 10.4