Q-Logic 2300 manual # make dep

Page 104

9 – Red Hat Linux Driver Installation

￿

Building a Driver from the Sources

a.From the Main Menu, select Processor type and features and press

ENTER.

b.From the Processor Type and Features Menu, select Symmetric multiprocessor and press the SPACEBAR.

c.To exit the Main Menu, select Exit.

The system prompts Do you wish to save your new kernel configuration? Select Yes. The system saves a new config file .config in the current directory.

5.Type the following:

#make dep

6.Using the floppy disk you created in section 9.2.3, copy the qla2x00src-vx.xx.tgz file to the /home/qla2x00 directory.

#cd /home

#mkdir qla2x00

#cd /home/qla2x00

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

#tar -xvzf qla*.tgz

7.Build the qla2x00 driver from the sources. For Red Hat Linux 6.0 and 7.0, type:

#make SMP=1

For Red Hat Linux 7.1 and 7.2, type:

#make SMP=1 OSVER=linux-2.4

8.Build the qla2300 driver from the sources. For Red Hat Linux 7.1 and 7.2, type:

#make SMP=1 ISP2300=1

9-14

FC2354601-00 A

Image 104
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 Section Solaris Sparc Driver Installation FCode 10-4FC2354601-00 a How to Use this Guide What is Fibre Channel?Introduction General DescriptionFeatures Compliance with PCI Local Bus Specification revisionHardware Hardware FC2354601-00 a QLA2340/2340L QLA2340/2340L HBA ComponentsJumpers Installation in the ComputerLEDs QLA2340/2340L Installation Help SunSPARC systems do not display the Bios bannerConfiguration Settings IntroductionHost Adapter Settings Selectable Boot 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 FCode Flashing a QLA2340/2340L HBA with FCodeNew connection mode displays. For example Setting the QLA2340/2340L HBA Connection ModeConnection mode and options display. For example Setting the QLA2340/2340L HBA Loop ID Setting and Viewing the Fibre Channel Data RateNew loop ID displays. For example Type the followingSelecting the Boot Device Ok show-devs Pci@1f,0/pci@1/QLGC,qla@4Building the Bootable Disk Following displaysNewfs -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 Specifications Tables 2-7and 2-8define the QLA2340/2340L specificationsLabel Agency CertificationEMI and EMC Requirements Conducted EmissionProduct Safety Requirements QLA2340/2340L Agency Certification FC2354601-00 a QLA2342/2342L QLA2342/2342L HBA ComponentsQLA2342/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 Tables 3-7and 3-8define the QLA2342/2342L specifications QLA2342/2342L HBA Operating EnvironmentQLA2342/2342L Label Product Safety Requirements QLA2342/2342L Agency Certification FC2354601-00 a Troubleshooting Problems After InstallationHardware Problem Checklist System Configuration Problem ChecklistFibre Channel Problem Checklist Software Operating SystemII 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 Updating the Windows NT Driver QldirectQldirect Installation Initial Installation of QldirectQldirect Driver Files Updating to Qldirect from QlfilterWindows NT networking software must be installed QL2x00IP Ndis Network Driver InstallationInitial Installation of the QL2x00IP Ndis Network Driver Updating the QL2x00IP Ndis Network Driver QL2x00IP Ndis Driver and IP Address Configuration Driver ConfigurationIP Address Configuration Removing the QL2x00IP Ndis Driver Click Close Click Yes to restart the computerPage 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 Windows XP Driver Installation QL2300.SYS Installing the Windows XP DriverInstalling Windows XP with the QLA23xx HBA as an Add-On Click Yes Installing the QL2300.SYS DriverClick Yes to continue with the installation Updating the Existing QLA2300.SYS Driver Double-clickQLogic QLA2300 PCI Fibre Channel AdapterMaximumSGList Removing the DriverSystem Registry Parameters CurrentControlSet Services Ql2300 Parameters Device NumberOfRequestsFCTape Ql2300 Parameters DeviceUseSameNN Page NetWare Driver Installation QL2300.HAM NetWare Driver Files and ParametersInstalling the NetWare Driver Select Driver options from the main menuRed Hat Linux Driver Installation Driver Floppy Disk 1 New Operating System InstallationCreating the Driver Floppy Disk Download the driver to the temporary directoryDriver Floppy Disk 2 Installed Operating System Source Code Driver Floppy DiskInstall a New Operating System and Driver Red Hat Linux Install or Update the Driver Installed Operating SystemInstalling the Driver on the Boot Drive To upgrade the existing qla2x00 drivers, typeLoading the Driver # mcopy a*.tgz . The period . at the end is requiredAfter line 338 add Type the following command to access the Main Menu Create a bootable kernel image by typing the followingAfter line 609 add From the Main Menu, select Scsi support and press Enter# cd arch/i386/boot # cp bzImage /boot/newsmp Building a Ramdisk Image to Load the Driver Automatically For a multiprocessor system, change the following line fromLoading and Unloading the qla2x00 Driver Manually Building a Ramdisk Image to Load the qla2300 DriverRestart the system. The qla2300 driver loads automatically Loading and Unloading the qla2300 Driver ManuallyNew text is Building a Driver from the Sources Building a Uniprocessor Version of the DriverFor 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 At the command prompt, type pkgadd -d ./qla2300 You are prompted to select a driver package. For examplePress Enter to accept the default 10.4