Regards,
.lzs -- http://thinkingfarm.com/~lzs/
Jimmy McMillan wrote:
I've have a qlogic 4010 HBA card that I'm trying to compile.
I'm using the driver http://download.qlogic.com/drivers/27588/qla4xxx-5.00.02.tar.gz located here http://qlogic.com/support/os_detail.asp?productid=340&osid=26
I've had success using a patch that a friend wrote, but even with that the module is acting very unstable. I've noticed that suse and a few other distros have it included with their 2.6 kernel so I know it works somehow. Can anyone offer any advise? I've asked qlogic, but they are taking their time at getting back to me. Thanks in advance.
compile time looks like this...
[root@badhare 5.00.02]# ./extras/build.sh new
qla4xxx -- Clean rebuild of the qla4xxx driver...
make: Entering directory `/lib/modules/2.6.11-1.27_FC3smp/build'
CLEAN /root/Desktop/5.00.02/.tmp_versions
make: Leaving directory `/lib/modules/2.6.11-1.27_FC3smp/build'
make: Entering directory `/lib/modules/2.6.11-1.27_FC3smp/build'
CC [M] /root/Desktop/5.00.02/ql4_os.o
CC [M] /root/Desktop/5.00.02/ql4_init.o
CC [M] /root/Desktop/5.00.02/ql4_mbx.o
CC [M] /root/Desktop/5.00.02/ql4_iocb.o
CC [M] /root/Desktop/5.00.02/ql4_isr.o
/root/Desktop/5.00.02/ql4_os.c: In function `qla4xxx_probe_adapter':
/root/Desktop/5.00.02/ql4_os.c:195: sorry, unimplemented: inlining failed in call to 'qla4xxx_config_dma_addressing': function body not available
/root/Desktop/5.00.02/ql4_os.c:392: sorry, unimplemented: called from here
/root/Desktop/5.00.02/ql4_glbl.h:34: sorry, unimplemented: inlining failed in call to 'qla4xxx_soft_reset': function body not available
/root/Desktop/5.00.02/ql4_os.c:459: sorry, unimplemented: called from here
/root/Desktop/5.00.02/ql4_os.c: In function `qla4xxx_config_dma_addressing':
/root/Desktop/5.00.02/ql4_os.c:876: warning: ignoring return value of `pci_set_consistent_dma_mask', declared with attribute warn_unused_result
/root/Desktop/5.00.02/ql4_os.c:884: warning: ignoring return value of `pci_set_dma_mask', declared with attribute warn_unused_result
CC [M] /root/Desktop/5.00.02/ql4_isns.o
make[1]: *** [/root/Desktop/5.00.02/ql4_os.o] Error 1
make[1]: *** Waiting for unfinished jobs....
/root/Desktop/5.00.02/ql4_isr.c: In function `qla4xxx_check_and_copy_sense':
/root/Desktop/5.00.02/ql4_isr.c:161: warning: ISO C90 forbids mixed declarations and code
/root/Desktop/5.00.02/ql4_init.c: In function `qla4xxx_start_firmware':
/root/Desktop/5.00.02/ql4_glbl.h:34: sorry, unimplemented: inlining failed in call to 'qla4xxx_soft_reset': function body not available
/root/Desktop/5.00.02/ql4_init.c:1958: sorry, unimplemented: called from here
make[1]: *** [/root/Desktop/5.00.02/ql4_init.o] Error 1
make: *** [_module_/root/Desktop/5.00.02] Error 2
make: Leaving directory `/lib/modules/2.6.11-1.27_FC3smp/build'