macmorning
2006-Jul-21 15:05 UTC
[Xen-users] qla4xxx compilation against kernel 2.6.16-xen0
Hi all, We want dom0 (HP Proliant 385 DL) to run domUs from image files located on an Infortrend Eonstor. It''s already live, with core-iscsi as an initiator, but the ultimate goal is to have our nice qla4010 cards take care of the task. This configuration close to one that is referenced in the HardwareCompatibilityList of the Wiki. kernel : 2.6.16-xen0 os : rhel 4 The problem is that I can''t get the qla4xxx driver to compile (5.00.04, download from qlogic''s ftp) : make: Entering directory `/usr/src/xen-3.0.2-2/linux-2.6.16-xen0'' LD /usr/src/qlogic/5.00.04-1/5.00.04/built-in.o CC [M] /usr/src/qlogic/5.00.04-1/5.00.04/ql4_os.o CC [M] /usr/src/qlogic/5.00.04-1/5.00.04/ql4_foioctl.o CC [M] /usr/src/qlogic/5.00.04-1/5.00.04/ql4_xioct.o CC [M] /usr/src/qlogic/5.00.04-1/5.00.04/ql4_inioct.o In file included from /usr/src/qlogic/5.00.04-1/5.00.04/ql4_def.h:1084, from /usr/src/qlogic/5.00.04-1/5.00.04/ql4_os.c:115: /usr/src/qlogic/5.00.04-1/5.00.04/ql4_settings.h:81:5: warning: "SH_HAS_ATOMIC_HOST_BUSY" is not defined /usr/src/qlogic/5.00.04-1/5.00.04/ql4_os.c: In function `qla4xxx_probe_adapter'': /usr/src/qlogic/5.00.04-1/5.00.04/ql4_dbg.h:97: sorry, unimplemented: inlining failed in call to ''qla4xxx_set_debug_level'': function body not available /usr/src/qlogic/5.00.04-1/5.00.04/ql4_os.c:411: sorry, unimplemented: called from here /usr/src/qlogic/5.00.04-1/5.00.04/ql4_dbg.h:97: sorry, unimplemented: inlining failed in call to ''qla4xxx_set_debug_level'': function body not available /usr/src/qlogic/5.00.04-1/5.00.04/ql4_os.c:414: sorry, unimplemented: called from here /usr/src/qlogic/5.00.04-1/5.00.04/ql4_os.c:232: sorry, unimplemented: inlining failed in call to ''qla4xxx_config_dma_addressing'': function body not available /usr/src/qlogic/5.00.04-1/5.00.04/ql4_os.c:439: sorry, unimplemented: called from here /usr/src/qlogic/5.00.04-1/5.00.04/ql4_glbl.h:70: sorry, unimplemented: inlining failed in call to ''qla4xxx_soft_reset'': function body not available /usr/src/qlogic/5.00.04-1/5.00.04/ql4_os.c:504: sorry, unimplemented: called from here /usr/src/qlogic/5.00.04-1/5.00.04/ql4_os.c: In function `qla4xxx_complete_request'': /usr/src/qlogic/5.00.04-1/5.00.04/ql4_os.c:2633: error: structure has no member named `eh_active'' /usr/src/qlogic/5.00.04-1/5.00.04/ql4_os.c: In function `qla4xxx_eh_device_reset'': /usr/src/qlogic/5.00.04-1/5.00.04/ql4_os.c:4842: error: structure has no member named `state'' /usr/src/qlogic/5.00.04-1/5.00.04/ql4_os.c:4849: error: structure has no member named `eh_active'' /usr/src/qlogic/5.00.04-1/5.00.04/ql4_os.c:4895: error: structure has no member named `eh_active'' /usr/src/qlogic/5.00.04-1/5.00.04/ql4_os.c:4913: error: structure has no member named `eh_active'' make[1]: *** [/usr/src/qlogic/5.00.04-1/5.00.04/ql4_os.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from /usr/src/qlogic/5.00.04-1/5.00.04/ql4_def.h:1084, from /usr/src/qlogic/5.00.04-1/5.00.04/ql4_foioctl.c:58: /usr/src/qlogic/5.00.04-1/5.00.04/ql4_settings.h:81:5: warning: "SH_HAS_ATOMIC_HOST_BUSY" is not defined /usr/src/qlogic/5.00.04-1/5.00.04/ql4_foioctl.c: In function `qla4xxx_nfo_ioctl'': /usr/src/qlogic/5.00.04-1/5.00.04/ql4_ioctl.h:82: sorry, unimplemented: inlining failed in call to ''ql4_kzmalloc'': function body not available /usr/src/qlogic/5.00.04-1/5.00.04/ql4_foioctl.c:153: sorry, unimplemented: called from here In file included from /usr/src/qlogic/5.00.04-1/5.00.04/ql4_def.h:1084, from /usr/src/qlogic/5.00.04-1/5.00.04/ql4_xioct.c:91: /usr/src/qlogic/5.00.04-1/5.00.04/ql4_settings.h:81:5: warning: "SH_HAS_ATOMIC_HOST_BUSY" is not defined In file included from /usr/src/qlogic/5.00.04-1/5.00.04/ql4_def.h:1084, from /usr/src/qlogic/5.00.04-1/5.00.04/ql4_inioct.c:78: /usr/src/qlogic/5.00.04-1/5.00.04/ql4_settings.h:81:5: warning: "SH_HAS_ATOMIC_HOST_BUSY" is not defined make[1]: *** [/usr/src/qlogic/5.00.04-1/5.00.04/ql4_foioctl.o] Error 1 /usr/src/qlogic/5.00.04-1/5.00.04/ql4_xioct.c: In function `qla4xxx_ioctl_init'': /usr/src/qlogic/5.00.04-1/5.00.04/ql4_xioct.c:387: warning: implicit declaration of function `class_simple_create'' /usr/src/qlogic/5.00.04-1/5.00.04/ql4_xioct.c:387: warning: assignment makes pointer from integer without a cast /usr/src/qlogic/5.00.04-1/5.00.04/ql4_xioct.c:406: warning: implicit declaration of function `class_simple_destroy'' /usr/src/qlogic/5.00.04-1/5.00.04/ql4_xioct.c:415: warning: implicit declaration of function `class_simple_device_add'' /usr/src/qlogic/5.00.04-1/5.00.04/ql4_xioct.c:416: warning: assignment makes pointer from integer without a cast /usr/src/qlogic/5.00.04-1/5.00.04/ql4_xioct.c: In function `qla4xxx_ioctl_exit'': /usr/src/qlogic/5.00.04-1/5.00.04/ql4_xioct.c:445: warning: implicit declaration of function `class_simple_device_remove'' /usr/src/qlogic/5.00.04-1/5.00.04/ql4_inioct.c: In function `qla4intioctl_get_driver_debug_level'': /usr/src/qlogic/5.00.04-1/5.00.04/ql4_dbg.h:96: sorry, unimplemented: inlining failed in call to ''qla4xxx_get_debug_level'': function body not available /usr/src/qlogic/5.00.04-1/5.00.04/ql4_inioct.c:516: sorry, unimplemented: called from here make[1]: *** [/usr/src/qlogic/5.00.04-1/5.00.04/ql4_inioct.o] Error 1 make: *** [_module_/usr/src/qlogic/5.00.04-1/5.00.04] Error 2 make: Leaving directory `/usr/src/xen-3.0.2-2/linux-2.6.16-xen0'' [root@sh-back-01 5.00.04]# /usr/src/qlogic/5.00.04-1/5.00.04/ql4_xioct.c: In function `qla4extioctl_get_hbacnt'': /usr/src/qlogic/5.00.04-1/5.00.04/ql4_glbl.h:74: sorry, unimplemented: inlining failed in call to ''qla4xxx_get_hba_count'': function body not available /usr/src/qlogic/5.00.04-1/5.00.04/ql4_xioct.c:4150: sorry, unimplemented: called from here I have tried to remove the inline declarations as suggested in another thread with no success. Is anyone familiar with this ? You can check my kernel config here : http://www.macmorning.net/qlogic/config.txt Thanks ! Sylvain _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users