
deri at ntop
Jul 8, 2010, 3:13 AM
Post #2 of 2
(831 views)
Permalink
|
|
Re: Problem to install driver igb2.0.6 with TNAPI
[In reply to]
|
|
Chalit 1. please do not compile the code from root 2. please do not add things like CFLAGS_EXTRA but just type make What (exact) distribution do you use? Luca On 07/08/2010 11:27 AM, chalit Treeyawanich wrote: Dear Luca, I got problem to install driver igb2.0.6 with TNAPI My server spec is Intel Xeon CPU X550 2.67GHz, 16GBytes Ram OS : RHEL 6.0 with kernel 2.6.32-37.el6.x86_64 I use IOATDMA version 3.85.1 result after make install is proper as following [root [at] prob ioatdma-3.85.1]# make make -C dca configure make[1]: Nothing to be done for `configure'. make -C ioatdma configure make[1]: Nothing to be done for `configure'. make -C /lib/modules/2.6.32-37.el6.x86_64/source M=/root/ioat/ioatdma-3.85.1 modules Building modules, stage 2. MODPOST 2 modules [root [at] prob ioatdma-3.85.1]# make install make -C dca configure make[1]: Nothing to be done for `configure'. make -C ioatdma configure make[1]: Nothing to be done for `configure'. make -C /lib/modules/2.6.32-37.el6.x86_64/source M=/root/ioat/ioatdma-3.85.1 modules Building modules, stage 2. MODPOST 2 modules find /lib/modules/2.6.32-37.el6.x86_64/extra \( -name dca.ko -o -name dca.ko.gz \) -exec rm -f {} \; || true find /lib/modules/2.6.32-37.el6.x86_64/extra \( -name ioatdma.ko -o -name ioatdma.ko.gz \) -exec rm -f {} \; || t rue make -C /lib/modules/2.6.32-37.el6.x86_64/source M=/root/ioat/ioatdma-3.85.1 modules_install INSTALL /root/ioat/ioatdma-3.85.1/dca/dca.ko INSTALL /root/ioat/ioatdma-3.85.1/ioatdma/ioatdma.ko DEPMOD 2.6.32-37.el6.x86_64 /sbin/depmod -a 2.6.32-37.el6.x86_64 After that install igb 2.0.6 with TNAPI driver, I got error as following [root [at] prob src]# make CFLAGS_EXTRA="-DIGB_DCA -I/root/ioat/ioatdma-3.85.1/include" make -C /lib/modules/2.6.32-37.el6.x86_64/build SUBDIRS=/root/igb-2.0.6/src modules make[1]: Entering directory `/usr/src/kernels/2.6.32-37.el6.x86_64' CC [M] /root/igb-2.0.6/src/igb_main.o In file included from /root/igb-2.0.6/src/igb_main.c:55: /root/igb-2.0.6/src/igb.h:50:1: warning: "IGB_DCA" redefined <command-line>: warning: this is the location of the previous definition In file included from /root/igb-2.0.6/src/igb_main.c:58: /root/igb-2.0.6/src/igb_tnapi.c: In function ‘pkt_poll_thread’: /root/igb-2.0.6/src/igb_tnapi.c:101: error: implicit declaration of function ‘set_cpus_allowed’ make[2]: *** [/root/igb-2.0.6/src/igb_main.o] Error 1 make[1]: *** [_module_/root/igb-2.0.6/src] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.32-37.el6.x86_64' make: *** [default] Error 2 Could you suggest me how to fix this errors? Thank you so much. Chalit/Thailand _______________________________________________ Ntop-misc mailing list Ntop-misc [at] listgateway http://listgateway.unipi.it/mailman/listinfo/ntop-misc"]http://listgateway.unipi.it/mailman/listinfo/ntop-misc
|