Solved

intalling an FC HBA card on Fedora 10 64bit

Posted on 2009-05-10
23
3,447 Views
Last Modified: 2013-12-15
Hi,

I am trying to install QLA2340 on Fedora 10 64bit machine. When i run the installation file on the terminal, I am getting the below result, please, see code snipet. The drivers for
QLA2340 are not being installed.  

The link for the drivers that I am installing is the following:

http://driverdownloads.qlogic.com/QLogicDriverDownloads_UI/SearchByProduct.aspx?ProductCategory=39&Product=253&Os=65

I am installing the driver version 8.02.14.01-1.

Please, can some one point out what I am doing wrong,

Thanks.
[root@DNS qlafc-linux-8.02.14.01-1-install]# ./qlinstall -i

 

 

#*********************************************************#

#           SANsurfer Driver Installer for Linux          #

#             Installer Version:  1.01.00pre21 	   	  #

#*********************************************************#

 

Kernel version: 2.6.27.21-170.2.56.fc10.x86_64

Distribution: Fedora release 10 (Cambridge)

 

Found following QLogic Adapter in the system

    1. ISP2312

Installation will begin for following driver

    1. qla2xxx version: v8.02.14.01

 

 

Unloading any loaded drivers

 

Installing Driver...

Preparing...                ##################################################

qla2xxx                     ##################################################

 

QLA2XXX -- Building the qla2xxx driver, please wait...

Installing intermodule.ko in /lib/modules/2.6.27.21-170.2.56.fc10.x86_64/kernel/kernel/

 

(bad exit status)make  -j5 -C /lib/modules/2.6.27.21-170.2.56.fc10.x86_64/build M=/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01 modules >& 			/usr/src/qlogic/v8.02.14.01-1/build.log failed to execute

 

warning: %post(qla2xxx-v8.02.14.01-1.noarch) scriptlet failed, exit status 2

 

modinfo: could not find module qla2xxx

Loading module qla2xxx_conf version: v8.02.14.01....

FATAL: Module qla2xxx_conf not found.

Module qla2xxx_conf load failed

Loading module qla2xxx version: v8.02.14.01....

FATAL: Module qla2xxx_conf not found.

FATAL: Module qla2xxx not found.

FATAL: Error running install command for qla2xxx

Module qla2xxx load failed

 

 

Building default persistent binding using SCLI

 No compatible HBA(s) found in current system !

Unable to read persistent data from persistent storage!

 

Saved copy of /etc/modprobe.conf as

/usr/src/qlogic/v8.02.14.01-1/backup/modprobe.conf-2.6.27.21-170.2.56.fc10.x86_64-051009-190312.bak

 

Saved copy of /boot/initrd-2.6.27.21-170.2.56.fc10.x86_64.img as

/boot/initrd-2.6.27.21-170.2.56.fc10.x86_64-051009-190312_QLI.bak

 

QLA2XXX -- Rebuilding ramdisk image...

Ramdisk created.

 

Reloading the QLogic FC HBA drivers....

qla2xxx module is not loaded

Loading module qla2xxx_conf version: v8.02.14.01....

FATAL: Module qla2xxx_conf not found.

Module qla2xxx_conf load failed

Loading module qla2xxx version: v8.02.14.01....

FATAL: Module qla2xxx_conf not found.

FATAL: Module qla2xxx not found.

FATAL: Error running install command for qla2xxx

Module qla2xxx load failed

 

 

Target Information on all HBAs:

==============================

 Installing the qlinstall-autoload script in /etc/init.d/ 

 

#*********************************************************#

#               INSTALLATION SUCCESSFUL!!                 #

#    SANsurfer Driver installation for Linux completed    #

#*********************************************************#

[root@DNS qlafc-linux-8.02.14.01-1-install]# ls

qlafc-linux-8.02.14.01-1-install.tgz

Open in new window

0
Comment
Question by:vielkacarolina1239
  • 12
  • 11
23 Comments
 
LVL 30

Expert Comment

by:Kerem ERSOY
ID: 24350572
Hi,

Will you post the file called usr/src/qlogic/v8.02.14.01-1/build.log as an attachment here? It should have information on why did the installation fail.

Cheers,
K
0
 

Author Comment

by:vielkacarolina1239
ID: 24350763
The below code snippet is the is build.log.

Thanks,


make: Entering directory `/usr/src/kernels/2.6.27.21-170.2.56.fc10.x86_64'

scripts/Makefile.build:53: kbuild: /usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/Makefile - Usage of host-progs is deprecated. Please replace with hostprogs-y!

  CC [M]  /usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.o

  CC [M]  /usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_init.o

  CC [M]  /usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_mbx.o

  CC [M]  /usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.o

  CC [M]  /usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_isr.o

In file included from /usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_mbx.c:7:

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_def.h:25:27: error: asm/semaphore.h: No such file or directory

In file included from /usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:7:

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_def.h:25:27: error: asm/semaphore.h: No such file or directory

In file included from /usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_isr.c:7:

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_def.h:25:27: error: asm/semaphore.h: No such file or directory

In file included from /usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c:7:

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_def.h:25:27: error: asm/semaphore.h: No such file or directory

In file included from /usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_init.c:7:

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_def.h:25:27: error: asm/semaphore.h: No such file or directory

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_def.h:34:2: error: #error "This driver does not support kernel versions greater than 2.6.19."

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_def.h:34:2: error: #error "This driver does not support kernel versions greater than 2.6.19."

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_def.h:34:2: error: #error "This driver does not support kernel versions greater than 2.6.19."

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_def.h:34:2: error: #error "This driver does not support kernel versions greater than 2.6.19."

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_def.h:34:2: error: #error "This driver does not support kernel versions greater than 2.6.19."

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c: In function qla2x00_build_scsi_iocbs_32:

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:164: error: struct scsi_cmnd has no member named request_bufflen

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:178: error: struct scsi_cmnd has no member named use_sg

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:182: error: struct scsi_cmnd has no member named request_buffer

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:209: error: struct scsi_cmnd has no member named request_buffer

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:210: error: struct scsi_cmnd has no member named request_buffer

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:212: error: struct scsi_cmnd has no member named request_bufflen

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:217: error: struct scsi_cmnd has no member named request_bufflen

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c: In function qla2x00_build_scsi_iocbs_64:

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:244: error: struct scsi_cmnd has no member named request_bufflen

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:258: error: struct scsi_cmnd has no member named use_sg

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:262: error: struct scsi_cmnd has no member named request_buffer

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:292: error: struct scsi_cmnd has no member named request_buffer

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:293: error: struct scsi_cmnd has no member named request_buffer

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:295: error: struct scsi_cmnd has no member named request_bufflen

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:301: error: struct scsi_cmnd has no member named request_bufflen

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c: In function qla2x00_start_scsi:

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:365: error: struct scsi_cmnd has no member named use_sg

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:366: error: struct scsi_cmnd has no member named request_buffer

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:367: error: struct scsi_cmnd has no member named use_sg

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:371: error: struct scsi_cmnd has no member named request_bufflen

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:385: error: struct scsi_cmnd has no member named use_sg

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:386: error: struct scsi_cmnd has no member named use_sg

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:438: error: struct scsi_cmnd has no member named request_bufflen

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c: In function qla24xx_build_scsi_iocbs:

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:798: error: struct scsi_cmnd has no member named request_bufflen

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:818: error: struct scsi_cmnd has no member named use_sg

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:822: error: struct scsi_cmnd has no member named request_buffer

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:852: error: struct scsi_cmnd has no member named request_buffer

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:853: error: struct scsi_cmnd has no member named request_buffer

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:855: error: struct scsi_cmnd has no member named request_bufflen

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:861: error: struct scsi_cmnd has no member named request_bufflen

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c: In function qla24xx_start_scsi:

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:925: error: struct scsi_cmnd has no member named use_sg

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:926: error: struct scsi_cmnd has no member named request_buffer

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:927: error: struct scsi_cmnd has no member named use_sg

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:931: error: struct scsi_cmnd has no member named request_bufflen

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:945: error: struct scsi_cmnd has no member named use_sg

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:946: error: struct scsi_cmnd has no member named use_sg

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:1002: error: struct scsi_cmnd has no member named request_bufflen

make[1]: *** [/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.o] Error 1

make[1]: *** Waiting for unfinished jobs....

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_isr.c: In function qla2x00_status_entry:

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_isr.c:1070: error: struct scsi_cmnd has no member named resid

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_isr.c:1076: error: struct scsi_cmnd has no member named request_bufflen

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_isr.c:1078: error: struct scsi_cmnd has no member named request_bufflen

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_isr.c:1151: error: struct scsi_cmnd has no member named resid

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_isr.c:1225: error: struct scsi_cmnd has no member named request_bufflen

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_isr.c:1238: error: struct scsi_cmnd has no member named request_bufflen

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_isr.c:1240: error: struct scsi_cmnd has no member named request_bufflen

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_isr.c:1266: error: struct scsi_cmnd has no member named request_bufflen

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_isr.c: In function qla2x00_request_irqs:

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_isr.c:2097: error: SA_INTERRUPT undeclared (first use in this function)

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_isr.c:2097: error: (Each undeclared identifier is reported only once

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_isr.c:2097: error: for each function it appears in.)

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_isr.c:2097: error: SA_SHIRQ undeclared (first use in this function)

make[1]: *** [/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_isr.o] Error 1

make[1]: *** [/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_mbx.o] Error 1

make[1]: *** [/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_init.o] Error 1

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c:40: error: expected =, ,, ;, asm or __attribute__ before * token

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c: In function qla2x00_callback:

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c:419: error: struct scsi_cmnd has no member named request_bufflen

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c: In function qla2x00_cleanse_sp:

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c:497: error: struct scsi_cmnd has no member named use_sg

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c:498: error: struct scsi_cmnd has no member named request_buffer

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c:499: error: struct scsi_cmnd has no member named use_sg

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c:500: error: struct scsi_cmnd has no member named request_bufflen

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c:502: error: struct scsi_cmnd has no member named request_bufflen

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c: In function qla2x00_queuecommand:

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c:850: error: struct scsi_cmnd has no member named request_bufflen

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c:852: error: struct scsi_cmnd has no member named request_bufflen

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c: In function qla2x00_free_device:

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c:2610: error: implicit declaration of function kill_proc

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c: In function qla2x00_allocate_sp_pool:

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c:3650: error: srb_cachep undeclared (first use in this function)

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c:3650: error: (Each undeclared identifier is reported only once

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c:3650: error: for each function it appears in.)

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c: In function qla2x00_done:

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c:5046: error: struct scsi_cmnd has no member named use_sg

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c:5047: error: struct scsi_cmnd has no member named request_buffer

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c:5048: error: struct scsi_cmnd has no member named use_sg

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c:5049: error: struct scsi_cmnd has no member named request_bufflen

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c:5051: error: struct scsi_cmnd has no member named request_bufflen

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c: In function qla2x00_cleanup_module_exit:

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c:5525: error: srb_cachep undeclared (first use in this function)

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c: In function qla2x00_module_init:

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c:5713: error: srb_cachep undeclared (first use in this function)

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c:5714: error: too many arguments to function kmem_cache_create

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c:5749: error: implicit declaration of function pci_module_init

make[1]: *** [/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.o] Error 1

make: *** [_module_/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01] Error 2

make: Leaving directory `/usr/src/kernels/2.6.27.21-170.2.56.fc10.x86_64'

Open in new window

0
 
LVL 30

Expert Comment

by:Kerem ERSOY
ID: 24350866
Please add the full file as "File Attachment" not "Code Snippet"

As far as I see from the log snippet there re missing kernel files. Are you sure that you've installed kernel-devel and kernel-headers filesets before compilation ??

Here:

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_def.h:25:27: error: asm/semaphore.h: No such file or directory

Cheers,
K.


/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_def.h:25:27: error: asm/semaphore.h: No such file or directory

In file included from /usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_iocb.c:7:

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_def.h:25:27: error: asm/semaphore.h: No such file or directory

In file included from /usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_isr.c:7:

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_def.h:25:27: error: asm/semaphore.h: No such file or directory

In file included from /usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_os.c:7:

/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_def.h:25:27: error: asm/semaphore.h: No such file or directory

In file included from /usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_init.c:7:

Open in new window

0
 

Author Comment

by:vielkacarolina1239
ID: 24350956

All I did was to download the driver version 8.02.14.011 from the above link. Then, I ran ./qlinstall -i command. I am learning Linux and I am not too familiar with Linux kernels. Please, could you tell me how I can check if these files are installed on my machine. I am using Fedora 10 64bit.

Please, see the attachment for the log file.

Thanks
build.log
0
 
LVL 30

Expert Comment

by:Kerem ERSOY
ID: 24350992
Yeah but you need to have kernel-development kit and kernel-headers devel kit must be installed. Because the driver does not include them and they are specific to kernel and os. So you first install them using:

yum install kernel-devel
yum install kernel-headers

Only after then you'll be able to compile the direver. I've previously shown where was the compiler giving an error. It indicates that the compiler can not find required kernel headers during compilation. This what causes it to abort.

Please install the development headers and try to compile your driver.
0
 

Author Comment

by:vielkacarolina1239
ID: 24351050
I ran the above commands.. I got the following.

[root@DNS delbin]# yum install kernel-devel
Loaded plugins: refresh-packagekit
Setting up Install Process
Parsing package install arguments
Package kernel-devel-2.6.27.21-170.2.56.fc10.x86_64 already installed and latest version
Nothing to do
[root@DNS delbin]# yum install kernel-headers
Loaded plugins: refresh-packagekit
Setting up Install Process
Parsing package install arguments
Package kernel-headers-2.6.27.21-170.2.56.fc10.x86_64 already installed and latest version
Nothing to do
[root@DNS delbin]# yum -y update kernel kernel-devel
Loaded plugins: refresh-packagekit
Setting up Update Process
No Packages marked for Update
[root@DNS delbin]#



Thanks,
0
 
LVL 30

Expert Comment

by:Kerem ERSOY
ID: 24351109
Oh sorry I've just checked the full logs and mwt with this:


/usr/src/qlogic/v8.02.14.01-1/qla2xxx-8.02.14.01/qla_def.h:34:2: error: #error "This driver does not support kernel versions greater than 2.6.19."

It seems that the only wasy yo compile the module is just apply for Qlogic support.

Another solution is to use linux multipath driver instead. Can you post your /etc/mulitpath.conf
here?
0
 

Author Comment

by:vielkacarolina1239
ID: 24351209
Thanks for the tip. Do you know what Fedora version will support kernel 2.6.19?

Thanks,
0
 

Author Comment

by:vielkacarolina1239
ID: 24351225
I checked google, and Fedora 6 will support kernel 2.6.19. Would it be possible to install Fedora 6, then, install the HBA card. After the card is installed properly, can I upgrade to Fedora 10. If I do this, would the card will still work after upgrading from Fedora 6 with the HBA intalled to Fedora 10?

Thanks,
0
 
LVL 30

Expert Comment

by:Kerem ERSOY
ID: 24351230
I shouldn't be so old a version. You can even give a try to downgrade your kernel too.

In any case please submit a support ticket to qualcom.

If I were you I'd check the Linux Multipath driver thing once too.
 
0
 
LVL 30

Accepted Solution

by:
Kerem ERSOY earned 500 total points
ID: 24351243
I don't think it would work. Because if the low level structures were all the same then they would not be printing an error message. Since it is sensitive to whatever change have been done between kernel versions I'm sure it would render the driver unusable at Fedora 10.

Also there's a module version check issue. Once built the module will know for what version of kernel it was built and refuse to initialize once the it is upgraded.

Furthermore as you've noticed before the version control
message there's an error that it can not locate an .asm file where it is looking for. This might be quite an issue too.

0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Closing Comment

by:vielkacarolina1239
ID: 31579990
ok, thanks for your help, I will try to contact QLogic and explain the issue to find out if they have a newer version of the driver. One more thing, how is qualcom?
0
 
LVL 30

Expert Comment

by:Kerem ERSOY
ID: 24351344
OOps sorr :) I've been telling Qalcomm instead of QLogic :)

I've found these in Qlogic site This guy says it is compiled after he removed and reisntalled the kernel-devel

http://solutions.qlogic.com/KanisaSupportSite/search.do?cmd=viewThread&docType=tkc&kcId=Post-15199020&sliceId=Post-15199020&dialogID=96970330&stateId=1%200%2096960028

Here's the full tread in "QLOGIC" site :)
http://solutions.qlogic.com/KanisaSupportSite/search.do?cmd=search&contextType=forum&forum=FB_HBA_LINUX_1_2&searchMode=GuidedSearch&searchString=issuing

BTW I am not sure if they support x64 or not.

Will you please post the output of the command here:

rpm -qa |grep kernel


0
 

Author Comment

by:vielkacarolina1239
ID: 24355294

Thanks for replying,  Please, see below.

[root@DNS delbin]# rpm -qa | grep kernel
kernel-devel-2.6.27.21-170.2.56.fc10.x86_64
kernel-devel-2.6.27.5-117.fc10.x86_64
kerneloops-0.12-1.fc10.x86_64
kernel-2.6.27.5-117.fc10.x86_64
kernel-firmware-2.6.27.21-170.2.56.fc10.noarch
kernel-headers-2.6.27.21-170.2.56.fc10.x86_64
kernel-2.6.27.21-170.2.56.fc10.x86_64
[root@DNS delbin]#
0
 

Author Comment

by:vielkacarolina1239
ID: 24355948
If I uninstall and reinstall kernel-devel package, would that break the dependency of other packages. How should I go about doing this?

I ran the following but did not work

[root@DNS delbin]# rpm -qa | grep kernel
kernel-devel-2.6.27.21-170.2.56.fc10.x86_64
kernel-devel-2.6.27.5-117.fc10.x86_64
kerneloops-0.12-1.fc10.x86_64
kernel-2.6.27.5-117.fc10.x86_64
kernel-firmware-2.6.27.21-170.2.56.fc10.noarch
kernel-headers-2.6.27.21-170.2.56.fc10.x86_64
kernel-2.6.27.21-170.2.56.fc10.x86_64
[root@DNS delbin]# rpm -e kernel-headers kernel-devel
error: "kernel-devel" specifies multiple packages:
  kernel-devel-2.6.27.5-117.fc10.x86_64
  kernel-devel-2.6.27.21-170.2.56.fc10.x86_64
[root@DNS delbin]# yum install kernel-headers kernel-devel
Loaded plugins: refresh-packagekit
fedora                                                   | 2.8 kB     00:00    
updates                                                  | 3.0 kB     00:00    
Setting up Install Process
Parsing package install arguments
Package kernel-headers-2.6.27.21-170.2.56.fc10.x86_64 already installed and latest version
Package kernel-devel-2.6.27.21-170.2.56.fc10.x86_64 already installed and latest version
Nothing to do
[root@DNS delbin]#

0
 
LVL 30

Expert Comment

by:Kerem ERSOY
ID: 24356007
You're welcome.

No it won't they are simply development libraries including lots of .h files. They are only necessary when you're building a driver etc. As I told earlier I am still not sure if qlogic driver supports x86_64 or not.

 
0
 
LVL 30

Expert Comment

by:Kerem ERSOY
ID: 24356197
Hi,

I've checked their page. I have some good news for you:)
- First of all the driver supports x86_64.
- Then another good news is I've found a robust platform to run your HBA
- RHEL 5.1's current kernel level is: 2.6.18 !!!. So instead of Fedora you can use RHEL5.1. But I think you'd say RHEL is not free. There's a free alternative: you have CentOS. Which is free version of RHEL and it is enterpride class OS.

What do ou say? Will you try it with CentOS instead ??
0
 
LVL 30

Expert Comment

by:Kerem ERSOY
ID: 24356320
You can find centos here:

http://www.centos.org

Another good news is: I've managed to compile the sources without a problem on my system:

[root@bentham qla2xxx-8.02.14.01]# ./extras/build.sh
QLA2XXX -- Building the qla2xxx driver, please wait...
Installing intermodule.ko in /lib/modules/2.6.18-128.1.6.el5/kernel/kernel/
QLA2XXX -- Build done.

My system is CentOS 5.3:
[root@bentham qla2xxx-8.02.14.01]# uname -a
Linux bentham.sibernet.com.tr 2.6.18-128.1.6.el5 #1 SMP Wed Apr 1 09:10:25 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

:) OK I guess I have every right to enjoy the 500 points you've assigned me earlier :))


0
 

Author Comment

by:vielkacarolina1239
ID: 24356844

The server that will be using the HBA card will be hosting PostgreSQL 8.x DataBases on a SAN. I would not mind using another linux version as long as I would be able to run these DB's with out worrying about licensing/prices on servers. I am moving away from  from Microsoft products because of these reasons. I don't mind learning a different OS. I will download the OS and see how it goes. Also, I would guess that CentOS supports PostgreSQL 8.x, but, I will have to make sure.


Thanks a lot for the extra mile you have taken on helping with this issue.

0
 
LVL 30

Expert Comment

by:Kerem ERSOY
ID: 24356979
In fact CentOS is RedHat Enterprise Linux which is a  Linux that awas built entirely by RedHAT enginers instead of the communit that suports Fedora. They are  basically the same when it comes to installaltion and packet maintenance. Postgres is supported by RHEL (CentOS) out-of-box. I don't think you'll have a problem with that.

Also Since RHEL and FC are basically the same distros with different Support Schemes I don't think you'll have problem with that.Furthermore even the installation Screens are the same for both products since it was initally supplied by RedHAT to the community. Only RHEL has a more plain GUI not allowing user Selection like FC on startup etc. But all the packet management,  service startup / stop, system initialization filses and directories are identical.

CentOS is the same. Since RHEL upgrades are priced extra but since RedHat basically charges for something that is open-source they publish the source files for the updates, relases as a source too. CentOS guys just get the sources as they are available, compile them and make them available as binary files. So the result is you have RHEL that you don't pay and rebranded as CentOS.

Let me give you an example. To learn what version of CentOS you're using you simply co and cat this file:
/etc/redhat-release

it outputs this:
CentOS release 5.3 (Final)

:) What they've done is simply to replace the RedHAT wit CentOS :)) All the rest is the same.

So I don't think you'll have any problem with CentOS.
0
 

Author Comment

by:vielkacarolina1239
ID: 24357316
I have looked around for differences between Fedora and CentOS. Something that keeps popping up is the frequency with which Fedora have a build, once or twice a year. This could be of concern if the releases are buggy as they are sometimes. CentOS looks more stable and probably better tested because of the lesser and longer wait for a releases to be published. Also, I read that Fedora is more user friendly on recognizing newly install hardware, but, I am not sure about this. Please, can you comment on Fedora VS CentOS differences while I download the OS. Your experience and knowledge is very valuable to this community.


Thanks.
0
 
LVL 30

Expert Comment

by:Kerem ERSOY
ID: 24357509
Yeah CentOS is simply RedHat Enterprise Linux wihich is developped and tested throughout with all modules by RedHAT Linux esperts. This is why they are slow in publisihing releases but as you pointed out it is robust. Because it iss tested throughout. As I told earlier Centos guys jsut build the sources that RedHAT engineers use. So basically there's no difference.

I'll suggest CentOS or RHEL to anyone who will use it for production environment. Since as you pointed out community supports it and releases are not thoroughly tested to see if every component is interoperable.

I don't hink this user firendliness is an issue. Since community is large so many people aree developing drivers / software for every kind of software. The build fancy MP3 players correct but very less people cares for creating faster HBA connections : ) In this area CentOS / RHEL is of course better :)

Thhe best thing is to see for yourself. Please download and see for yourself.

 
0
 

Author Comment

by:vielkacarolina1239
ID: 24361194
I was able to install CentOS 5.3 and the HBA card. I am now trying to make visible a LUN(SureStorage 2405) to the HBA card.

Thanks once again for everything.


Target Information on all HBAs:
==============================
 --------------------------------------------------------------------------------
HBA Instance 0: QLA2340 Port 1 WWPN 21-00-00-E0-8B-1B-A1-E0 PortID 00-00-00
--------------------------------------------------------------------------------
No device connected to selected HBA (Instance 0)!
Installing the qlinstall-autoload script in /etc/init.d/

#*********************************************************#
#               INSTALLATION SUCCESSFUL!!                 #
#    SANsurfer Driver installation for Linux completed    #
#*********************************************************#
[root@localhost qlafc-linux-8.02.14.01-1-install]#
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now