It breaks compilation without selecting cxgb3... Regards, Vladimir
On Tue, 2007-01-16 at 10:58 -0600, Steve WIse wrote: > I haven't backported cxgb3 to anything yet. > > The patches I posted for the initial import of cxgb3 will only compile > on 2.6.20, as I said in the patch overview. > > I'm right now trying to get them to build from 2.6.19 back to 2.6.11 as > michael suggested... > > > > On Tue, 2007-01-16 at 18:50 +0200, Vladimir Sokolovsky wrote: > > Hi Steve, > > I got the following failure on 2.6.17 and 2.6.18 kernels: > > > > /tmp/ofa_kernel-20070116-1806_linux-2.6.18.6_check/drivers/net/cxgb3/Module.symvers: > > No such file or directory > > make[2]: *** [__modpost] Error 1 > > make[1]: *** [modules] Error 2 > > make[1]: Leaving directory `//kernel.org/x86_64/linux-2.6.18.6' > > make: *** [kernel] Error 2 > > > > I think that the problem is in SUBDIRS="$(CWD)/drivers/infiniband > > $(CWD)/drivers/net/cxgb3". > > Try to make it a different target. See iscsi as an example. > > > > Regards, > > Vladimir > > > > On Fri, 2007-01-12 at 10:20 -0600, Steve Wise wrote: > > > - added cxgb3 and iw_cxgb3 config stuff > > > - visit and build driver/net/cxgb3 to get the cxgb3 driver > > > > > > Signed-off-by: Steve Wise <[EMAIL PROTECTED]> > > > --- > > > > > > ofed_scripts/Makefile | 9 ++++++-- > > > ofed_scripts/configure | 52 > > > +++++++++++++++++++++++++++++++++++++++++++++++- > > > 2 files changed, 58 insertions(+), 3 deletions(-) > > > > > > diff --git a/ofed_scripts/Makefile b/ofed_scripts/Makefile > > > index d63b1d2..8942385 100644 > > > --- a/ofed_scripts/Makefile > > > +++ b/ofed_scripts/Makefile > > > @@ -46,8 +46,10 @@ kernel: > > > @echo "Kernel sources: $(KSRC)" > > > env EXTRA_CFLAGS="$(OPENIB_KERNEL_EXTRA_CFLAGS) > > > $(KERNEL_MEMTRACK_CFLAGS) -I$(CWD)/include > > > -I$(CWD)/drivers/infiniband/include \ > > > -I$(CWD)/drivers/infiniband/ulp/ipoib \ > > > - -I$(CWD)/drivers/infiniband/debug" \ > > > - $(MAKE) -C $(KSRC) SUBDIRS="$(CWD)/drivers/infiniband" > > > KERNELRELEASE=$(KVERSION) \ > > > + -I$(CWD)/drivers/infiniband/debug \ > > > + -I$(CWD)/drivers/infiniband/hw/cxgb3/core \ > > > + -I$(CWD)/drivers/net/cxgb3 " \ > > > + $(MAKE) -C $(KSRC) SUBDIRS="$(CWD)/drivers/infiniband > > > $(CWD)/drivers/net/cxgb3" KERNELRELEASE=$(KVERSION) \ > > > EXTRAVERSION=$(EXTRAVERSION) V=1 $(WITH_MAKE_PARAMS) \ > > > CONFIG_INFINIBAND=$(CONFIG_INFINIBAND) \ > > > CONFIG_INFINIBAND_IPOIB=$(CONFIG_INFINIBAND_IPOIB) \ > > > @@ -74,6 +76,9 @@ kernel: > > > CONFIG_INFINIBAND_VNIC=$(CONFIG_INFINIBAND_VNIC) \ > > > CONFIG_INFINIBAND_VNIC_DEBUG=$(CONFIG_INFINIBAND_VNIC_DEBUG) \ > > > CONFIG_INFINIBAND_VNIC_STATS=$(CONFIG_INFINIBAND_VNIC_STATS) \ > > > + CONFIG_INFINIBAND_CXGB3=$(CONFIG_INFINIBAND_CXGB3) \ > > > + CONFIG_INFINIBAND_CXGB3_DEBUG=$(CONFIG_INFINIBAND_CXGB3_DEBUG) \ > > > + CONFIG_CHELSIO_T3=$(CONFIG_CHELSIO_T3) \ > > > LINUXINCLUDE=' \ > > > $(BACKPORT_INCLUDES) \ > > > -I$(CWD)/include \ > > > diff --git a/ofed_scripts/configure b/ofed_scripts/configure > > > index a0557e2..253427c 100755 > > > --- a/ofed_scripts/configure > > > +++ b/ofed_scripts/configure > > > @@ -126,6 +126,12 @@ Usage: `basename $0` [options] > > > --with-vnic_stats-mod make CONFIG_INFINIBAND_VNIC_STATS=y [no] > > > --without-vnic_stats-mod [yes] > > > > > > + --with-cxgb3-mod make CONFIG_INFINIBAND_CXGB3=m [no] > > > + --without-cxgb3-mod [yes] > > > + > > > + --with-cxgb3_debug-mod make CONFIG_INFINIBAND_CXGB3_DEBUG=y [no] > > > + --without-cxgb3_debug-mod [yes] > > > + > > > --help - print out options > > > > > > > > > @@ -207,7 +213,10 @@ get_backport_dir() > > > 2.6.19*) > > > echo 2.6.19 > > > ;; > > > - 2.6.2[0-9]*) > > > + 2.6.20*) > > > + echo 2.6.20 > > > + ;; > > > + 2.6.2[1-9]*) > > > echo > > > ;; > > > *) > > > @@ -607,6 +616,20 @@ main() > > > --without-vnic_stats-mod) > > > CONFIG_INFINIBAND_VNIC_STATS= > > > ;; > > > + --with-cxgb3-mod) > > > + CONFIG_INFINIBAND_CXGB3="m" > > > + CONFIG_CHELSIO_T3="m" > > > + ;; > > > + --without-cxgb3-mod) > > > + CONFIG_INFINIBAND_CXGB3= > > > + CONFIG_CHELSIO_T3= > > > + ;; > > > + --with-cxgb3_debug-mod) > > > + CONFIG_INFINIBAND_CXGB3_DEBUG="y" > > > + ;; > > > + --without-cxgb3_debug-mod) > > > + CONFIG_INFINIBAND_CXGB3_DEBUG= > > > + ;; > > > --with-modprobe|--without-modprobe) > > > ;; > > > -h | --help) > > > @@ -679,6 +702,8 @@ CONFIG_INFINIBAND_RDS=${CONFIG_INFINIBAN > > > CONFIG_INFINIBAND_RDS_DEBUG=${CONFIG_INFINIBAND_RDS_DEBUG:-''} > > > CONFIG_INFINIBAND_MADEYE=${CONFIG_INFINIBAND_MADEYE:-''} > > > CONFIG_INFINIBAND_VNIC=${CONFIG_INFINIBAND_VNIC:-''} > > > +CONFIG_INFINIBAND_CXGB3=${CONFIG_INFINIBAND_CXGB3:-''} > > > +CONFIG_CHELSIO_T3=${CONFIG_CHELSIO_T3:-''} > > > > > > > > > CONFIG_INFINIBAND_IPOIB_DEBUG_DATA=${CONFIG_INFINIBAND_IPOIB_DEBUG_DATA:-''} > > > CONFIG_INFINIBAND_SDP_SEND_ZCOPY=${CONFIG_INFINIBAND_SDP_SEND_ZCOPY:-''} > > > @@ -689,6 +714,7 @@ CONFIG_INFINIBAND_IPATH=${CONFIG_INFINIB > > > CONFIG_INFINIBAND_MTHCA_DEBUG=${CONFIG_INFINIBAND_MTHCA_DEBUG:-''} > > > CONFIG_INFINIBAND_VNIC_DEBUG=${CONFIG_INFINIBAND_VNIC_DEBUG:-''} > > > CONFIG_INFINIBAND_VNIC_STATS=${CONFIG_INFINIBAND_VNIC_STATS:-''} > > > +CONFIG_INFINIBAND_CXGB3_DEBUG=${CONFIG_INFINIBAND_CXGB3_DEBUG:-''} > > > > > > # Check for minimal supported kernel version > > > if ! check_kerver ${KVERSION} ${MIN_KVERSION}; then > > > @@ -742,6 +768,8 @@ CONFIG_INFINIBAND_RDS=${CONFIG_INFINIBAN > > > CONFIG_INFINIBAND_RDS_DEBUG=${CONFIG_INFINIBAND_RDS_DEBUG} > > > CONFIG_INFINIBAND_MADEYE=${CONFIG_INFINIBAND_MADEYE} > > > CONFIG_INFINIBAND_VNIC=${CONFIG_INFINIBAND_VNIC} > > > +CONFIG_INFINIBAND_CXGB3=${CONFIG_INFINIBAND_CXGB3} > > > +CONFIG_CHELSIO_T3=${CONFIG_CHELSIO_T3} > > > > > > CONFIG_INFINIBAND_IPOIB_DEBUG_DATA=${CONFIG_INFINIBAND_IPOIB_DEBUG_DATA} > > > CONFIG_INFINIBAND_SDP_SEND_ZCOPY=${CONFIG_INFINIBAND_SDP_SEND_ZCOPY} > > > @@ -752,6 +780,7 @@ CONFIG_INFINIBAND_IPATH=${CONFIG_INFINIB > > > CONFIG_INFINIBAND_MTHCA_DEBUG=${CONFIG_INFINIBAND_MTHCA_DEBUG} > > > CONFIG_INFINIBAND_VNIC_DEBUG=${CONFIG_INFINIBAND_VNIC_DEBUG} > > > CONFIG_INFINIBAND_VNIC_STATS=${CONFIG_INFINIBAND_VNIC_STATS} > > > +CONFIG_INFINIBAND_CXGB3_DEBUG=${CONFIG_INFINIBAND_CXGB3_DEBUG} > > > > > > EOFCONFIG > > > echo "Created ${CONFIG}:" > > > @@ -887,6 +916,21 @@ if [ "X${CONFIG_INFINIBAND_VNIC_STATS}" > > > else > > > DEFINE_INFINIBAND_VNIC_STATS="#undef > > > CONFIG_INFINIBAND_VNIC_STATS" > > > fi > > > +if [ "X${CONFIG_INFINIBAND_CXGB3}" == "Xm" ]; then > > > + DEFINE_INFINIBAND_CXGB3="#define CONFIG_INFINIBAND_CXGB3 1" > > > +else > > > + DEFINE_INFINIBAND_CXGB3="#undef CONFIG_INFINIBAND_CXGB3" > > > +fi > > > +if [ "X${CONFIG_INFINIBAND_CXGB3_DEBUG}" == "Xy" ]; then > > > + DEFINE_INFINIBAND_CXGB3_DEBUG="#define > > > CONFIG_INFINIBAND_CXGB3_DEBUG 1" > > > +else > > > + DEFINE_INFINIBAND_CXGB3_DEBUG="#undef > > > CONFIG_INFINIBAND_CXGB3_DEBUG" > > > +fi > > > +if [ "X${CONFIG_CHELSIO_T3}" == "Xm" ]; then > > > + DEFINE_CHELSIO_T3="#define CONFIG_CHELSIO_T3 1" > > > +else > > > + DEFINE_CHELSIO_T3="#undef CONFIG_CHELSIO_T3" > > > +fi > > > cat >> ${AUTOCONF_H} << EOFAUTOCONF > > > #undef CONFIG_INFINIBAND > > > #undef CONFIG_INFINIBAND_IPOIB > > > @@ -908,6 +952,9 @@ #undef CONFIG_INFINIBAND_MADEYE > > > #undef CONFIG_INFINIBAND_VNIC > > > #undef CONFIG_INFINIBAND_VNIC_DEBUG > > > #undef CONFIG_INFINIBAND_VNIC_STATS > > > +#undef CONFIG_INFINIBAND_CXGB3 > > > +#undef CONFIG_INFINIBAND_CXGB3_DEBUG > > > +#undef CONFIG_CHELSIO_T3 > > > > > > #undef CONFIG_INFINIBAND_IPOIB_DEBUG_DATA > > > #undef CONFIG_INFINIBAND_SDP_SEND_ZCOPY > > > @@ -927,6 +974,8 @@ #undef CONFIG_INFINIBAND_MTHCA_DEBUG > > > ${DEFINE_INFINIBAND_ADDR_TRANS} > > > ${DEFINE_INFINIBAND_MTHCA} > > > ${DEFINE_INFINIBAND_VNIC} > > > +${DEFINE_INFINIBAND_CXGB3} > > > +${DEFINE_CHELSIO_T3} > > > > > > ${DEFINE_INFINIBAND_IPOIB_DEBUG} > > > ${DEFINE_INFINIBAND_ISER} > > > @@ -937,6 +986,7 @@ #undef CONFIG_INFINIBAND_MTHCA_DEBUG > > > ${DEFINE_INFINIBAND_RDS_DEBUG} > > > ${DEFINE_INFINIBAND_VNIC_DEBUG} > > > ${DEFINE_INFINIBAND_VNIC_STATS} > > > +${DEFINE_INFINIBAND_CXGB3_DEBUG} > > > > > > ${DEFINE_INFINIBAND_IPOIB_DEBUG_DATA} > > > ${DEFINE_INFINIBAND_SDP_SEND_ZCOPY} > > > > > > _______________________________________________ > > > openib-general mailing list > > > openib-general@openib.org > > > http://openib.org/mailman/listinfo/openib-general > > > > > > To unsubscribe, please visit > > > http://openib.org/mailman/listinfo/openib-general > > > _______________________________________________ > openib-general mailing list > openib-general@openib.org > http://openib.org/mailman/listinfo/openib-general > > To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general _______________________________________________ openib-general mailing list openib-general@openib.org http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general