Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: NTop: Misc

ixgbe on Ubuntu-11.04 server

 

 

NTop misc RSS feed   Index | Next | Previous | View Threaded


ivor.prebeg at gmail

Nov 2, 2011, 8:22 AM

Post #1 of 6 (1493 views)
Permalink
ixgbe on Ubuntu-11.04 server

Hi all!

I tried to build PF_RING with PF_RING aware ixgbe driver on Ubuntu-11.04
server edition. (3.0.0-12 kernel version)

PF_RING itselfs build without issues, but PF_RING aware ixgbe driver
fails badly. First, it reports

---------
root [at] o:~/PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.1.15-FlowDirector/src#
make
Makefile:184: *** *** Aborting the build. *** This driver is not
supported on kernel versions older than 2.4.0. Stop.
---------

which I hacked out by commenting version check in makefile. Then, I get
this...

---------
root [at] o:~/PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.1.15-FlowDirector/src#
make
gcc -mcmodel=kernel -mno-red-zone -DDRIVER_IXGBE -DDRIVER_NAME=ixgbe
-DDRIVER_NAME_CAPS=IXGBE -DLINUX -D__KERNEL__ -DMODULE -O2 -pipe -Wall
-I/lib/modules/3.0.0-12-server/build/include -I. -DHAVE_PF_RING
-D__SMP__ -c -o ixgbe_main.o ixgbe_main.c
In file included from
/lib/modules/3.0.0-12-server/build/include/linux/kernel.h:13:0,
from
/lib/modules/3.0.0-12-server/build/include/linux/cache.h:4,
from
/lib/modules/3.0.0-12-server/build/include/linux/time.h:7,
from
/lib/modules/3.0.0-12-server/build/include/linux/stat.h:60,
from
/lib/modules/3.0.0-12-server/build/include/linux/module.h:10,
from ixgbe_main.c:33:
/lib/modules/3.0.0-12-server/build/include/linux/linkage.h:5:25: fatal
error: asm/linkage.h: No such file or directory
---------


I used svn code checkouted on this very day ( v. 5.1.0).
Someone please direct me how to get around these issues


TIA
Ivor Prebeg


c.d.wakelin at reading

Nov 2, 2011, 8:39 AM

Post #2 of 6 (1455 views)
Permalink
Re: ixgbe on Ubuntu-11.04 server [In reply to]

On 02/11/11 15:22, Ivor Prebeg wrote:
> Hi all!
>
> I tried to build PF_RING with PF_RING aware ixgbe driver on Ubuntu-11.04
> server edition. (3.0.0-12 kernel version)

Do you mean 11.10? Or did you put a 3.0.0 kernel on 11.04?

>
> PF_RING itselfs build without issues, but PF_RING aware ixgbe driver
> fails badly. First, it reports
>
> ---------
> root [at] o:~/PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.1.15-FlowDirector/src#
> make
> Makefile:184: *** *** Aborting the build. *** This driver is not
> supported on kernel versions older than 2.4.0. Stop.

Looks like you need ixgbe > 3.5 for 3.x kernels: see
http://sourceforge.net/projects/e1000/files/ixgbe%20stable/3.5.14/

Luca has promised to update the PF_RING-aware drivers when he has the
time, and has already done the e1000 and e1000e ones yesterday. ixgbe is
harder because of the hardware filtering patches, so I advise patience :)

Best Wishes,
Chris

--
--+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
Christopher Wakelin, c.d.wakelin [at] reading
IT Services Centre, The University of Reading, Tel: +44 (0)118 378 2908
Whiteknights, Reading, RG6 6AF, UK Fax: +44 (0)118 975 3094
_______________________________________________
Ntop-misc mailing list
Ntop-misc [at] listgateway
http://listgateway.unipi.it/mailman/listinfo/ntop-misc


deri at ntop

Nov 2, 2011, 8:55 AM

Post #3 of 6 (1461 views)
Permalink
Re: ixgbe on Ubuntu-11.04 server [In reply to]

Ivor
I am currently updating ixgbe (i ahem just updated the other drivers). Stay tuned

Luca


On Nov 2, 2011, at 4:22 PM, Ivor Prebeg wrote:

> Hi all!
>
> I tried to build PF_RING with PF_RING aware ixgbe driver on Ubuntu-11.04 server edition. (3.0.0-12 kernel version)
>
> PF_RING itselfs build without issues, but PF_RING aware ixgbe driver fails badly. First, it reports
>
> ---------
> root [at] o:~/PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.1.15-FlowDirector/src# make
> Makefile:184: *** *** Aborting the build. *** This driver is not supported on kernel versions older than 2.4.0. Stop.
> ---------
>
> which I hacked out by commenting version check in makefile. Then, I get this...
>
> ---------
> root [at] o:~/PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.1.15-FlowDirector/src# make
> gcc -mcmodel=kernel -mno-red-zone -DDRIVER_IXGBE -DDRIVER_NAME=ixgbe -DDRIVER_NAME_CAPS=IXGBE -DLINUX -D__KERNEL__ -DMODULE -O2 -pipe -Wall -I/lib/modules/3.0.0-12-server/build/include -I. -DHAVE_PF_RING -D__SMP__ -c -o ixgbe_main.o ixgbe_main.c
> In file included from /lib/modules/3.0.0-12-server/build/include/linux/kernel.h:13:0,
> from /lib/modules/3.0.0-12-server/build/include/linux/cache.h:4,
> from /lib/modules/3.0.0-12-server/build/include/linux/time.h:7,
> from /lib/modules/3.0.0-12-server/build/include/linux/stat.h:60,
> from /lib/modules/3.0.0-12-server/build/include/linux/module.h:10,
> from ixgbe_main.c:33:
> /lib/modules/3.0.0-12-server/build/include/linux/linkage.h:5:25: fatal error: asm/linkage.h: No such file or directory
> ---------
>
>
> I used svn code checkouted on this very day ( v. 5.1.0).
> Someone please direct me how to get around these issues
>
>
> TIA
> Ivor Prebeg
>
>
>
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc [at] listgateway
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc

---
Bildung ist kein Verbrechen




_______________________________________________
Ntop-misc mailing list
Ntop-misc [at] listgateway
http://listgateway.unipi.it/mailman/listinfo/ntop-misc


ivor.prebeg at gmail

Nov 2, 2011, 4:33 PM

Post #4 of 6 (1450 views)
Permalink
Re: ixgbe on Ubuntu-11.04 server [In reply to]

Was a typo, sorry for fuzz…

Thanks for your answer Chris

Ivor


On Nov 2, 2011, at 4:39 PM, Chris Wakelin wrote:

> On 02/11/11 15:22, Ivor Prebeg wrote:
>> Hi all!
>>
>> I tried to build PF_RING with PF_RING aware ixgbe driver on Ubuntu-11.04
>> server edition. (3.0.0-12 kernel version)
>
> Do you mean 11.10? Or did you put a 3.0.0 kernel on 11.04?
>
>>
>> PF_RING itselfs build without issues, but PF_RING aware ixgbe driver
>> fails badly. First, it reports
>>
>> ---------
>> root [at] o:~/PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.1.15-FlowDirector/src#
>> make
>> Makefile:184: *** *** Aborting the build. *** This driver is not
>> supported on kernel versions older than 2.4.0. Stop.
>
> Looks like you need ixgbe > 3.5 for 3.x kernels: see
> http://sourceforge.net/projects/e1000/files/ixgbe%20stable/3.5.14/
>
> Luca has promised to update the PF_RING-aware drivers when he has the
> time, and has already done the e1000 and e1000e ones yesterday. ixgbe is
> harder because of the hardware filtering patches, so I advise patience :)
>
> Best Wishes,
> Chris
>
> --
> --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
> Christopher Wakelin, c.d.wakelin [at] reading
> IT Services Centre, The University of Reading, Tel: +44 (0)118 378 2908
> Whiteknights, Reading, RG6 6AF, UK Fax: +44 (0)118 975 3094
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc [at] listgateway
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc

_______________________________________________
Ntop-misc mailing list
Ntop-misc [at] listgateway
http://listgateway.unipi.it/mailman/listinfo/ntop-misc


ivor.prebeg at gmail

Nov 2, 2011, 4:35 PM

Post #5 of 6 (1464 views)
Permalink
Re: ixgbe on Ubuntu-11.04 server [In reply to]

Thank you for your answer Luca, really looking forward to your commits

Ivor

On Nov 2, 2011, at 4:55 PM, Luca Deri wrote:

> Ivor
> I am currently updating ixgbe (i ahem just updated the other drivers). Stay tuned
>
> Luca
>
>
> On Nov 2, 2011, at 4:22 PM, Ivor Prebeg wrote:
>
>> Hi all!
>>
>> I tried to build PF_RING with PF_RING aware ixgbe driver on Ubuntu-11.04 server edition. (3.0.0-12 kernel version)
>>
>> PF_RING itselfs build without issues, but PF_RING aware ixgbe driver fails badly. First, it reports
>>
>> ---------
>> root [at] o:~/PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.1.15-FlowDirector/src# make
>> Makefile:184: *** *** Aborting the build. *** This driver is not supported on kernel versions older than 2.4.0. Stop.
>> ---------
>>
>> which I hacked out by commenting version check in makefile. Then, I get this...
>>
>> ---------
>> root [at] o:~/PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.1.15-FlowDirector/src# make
>> gcc -mcmodel=kernel -mno-red-zone -DDRIVER_IXGBE -DDRIVER_NAME=ixgbe -DDRIVER_NAME_CAPS=IXGBE -DLINUX -D__KERNEL__ -DMODULE -O2 -pipe -Wall -I/lib/modules/3.0.0-12-server/build/include -I. -DHAVE_PF_RING -D__SMP__ -c -o ixgbe_main.o ixgbe_main.c
>> In file included from /lib/modules/3.0.0-12-server/build/include/linux/kernel.h:13:0,
>> from /lib/modules/3.0.0-12-server/build/include/linux/cache.h:4,
>> from /lib/modules/3.0.0-12-server/build/include/linux/time.h:7,
>> from /lib/modules/3.0.0-12-server/build/include/linux/stat.h:60,
>> from /lib/modules/3.0.0-12-server/build/include/linux/module.h:10,
>> from ixgbe_main.c:33:
>> /lib/modules/3.0.0-12-server/build/include/linux/linkage.h:5:25: fatal error: asm/linkage.h: No such file or directory
>> ---------
>>
>>
>> I used svn code checkouted on this very day ( v. 5.1.0).
>> Someone please direct me how to get around these issues
>>
>>
>> TIA
>> Ivor Prebeg
>>
>>
>>
>> _______________________________________________
>> Ntop-misc mailing list
>> Ntop-misc [at] listgateway
>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>
> ---
> Bildung ist kein Verbrechen
>
>
>
>
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc [at] listgateway
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc

_______________________________________________
Ntop-misc mailing list
Ntop-misc [at] listgateway
http://listgateway.unipi.it/mailman/listinfo/ntop-misc


deri at ntop

Nov 3, 2011, 2:03 AM

Post #6 of 6 (1461 views)
Permalink
Re: ixgbe on Ubuntu-11.04 server [In reply to]

I have committed them last night

Luca

On 11/03/2011 12:35 AM, Ivor Prebeg wrote:
> Thank you for your answer Luca, really looking forward to your commits
>
> Ivor
>
> On Nov 2, 2011, at 4:55 PM, Luca Deri wrote:
>
>> Ivor
>> I am currently updating ixgbe (i ahem just updated the other drivers). Stay tuned
>>
>> Luca
>>
>>
>> On Nov 2, 2011, at 4:22 PM, Ivor Prebeg wrote:
>>
>>> Hi all!
>>>
>>> I tried to build PF_RING with PF_RING aware ixgbe driver on Ubuntu-11.04 server edition. (3.0.0-12 kernel version)
>>>
>>> PF_RING itselfs build without issues, but PF_RING aware ixgbe driver fails badly. First, it reports
>>>
>>> ---------
>>> root [at] o:~/PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.1.15-FlowDirector/src# make
>>> Makefile:184: *** *** Aborting the build. *** This driver is not supported on kernel versions older than 2.4.0. Stop.
>>> ---------
>>>
>>> which I hacked out by commenting version check in makefile. Then, I get this...
>>>
>>> ---------
>>> root [at] o:~/PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.1.15-FlowDirector/src# make
>>> gcc -mcmodel=kernel -mno-red-zone -DDRIVER_IXGBE -DDRIVER_NAME=ixgbe -DDRIVER_NAME_CAPS=IXGBE -DLINUX -D__KERNEL__ -DMODULE -O2 -pipe -Wall -I/lib/modules/3.0.0-12-server/build/include -I. -DHAVE_PF_RING -D__SMP__ -c -o ixgbe_main.o ixgbe_main.c
>>> In file included from /lib/modules/3.0.0-12-server/build/include/linux/kernel.h:13:0,
>>> from /lib/modules/3.0.0-12-server/build/include/linux/cache.h:4,
>>> from /lib/modules/3.0.0-12-server/build/include/linux/time.h:7,
>>> from /lib/modules/3.0.0-12-server/build/include/linux/stat.h:60,
>>> from /lib/modules/3.0.0-12-server/build/include/linux/module.h:10,
>>> from ixgbe_main.c:33:
>>> /lib/modules/3.0.0-12-server/build/include/linux/linkage.h:5:25: fatal error: asm/linkage.h: No such file or directory
>>> ---------
>>>
>>>
>>> I used svn code checkouted on this very day ( v. 5.1.0).
>>> Someone please direct me how to get around these issues
>>>
>>>
>>> TIA
>>> Ivor Prebeg
>>>
>>>
>>>
>>> _______________________________________________
>>> Ntop-misc mailing list
>>> Ntop-misc [at] listgateway
>>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>> ---
>> Bildung ist kein Verbrechen
>>
>>
>>
>>
>> _______________________________________________
>> Ntop-misc mailing list
>> Ntop-misc [at] listgateway
>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc [at] listgateway
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc

_______________________________________________
Ntop-misc mailing list
Ntop-misc [at] listgateway
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

NTop misc RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.