Compiling netmap in Ubuntu 1.04 in VMWare

Long Tran kyle.longtran at gmail.com
Tue Sep 30 05:30:26 UTC 2014


Hi Mahnaz,

Thank you. I just got it worked without drivers.
Could you please explain how netmap can be used without drivers?
I thought it required the NIC's driver to run.

Thanks,
Long.

*Long Tran*
Research Assistant
MS in Network Communications and Technology Project Management
University of Houston

On Mon, Sep 29, 2014 at 2:04 AM, Mahnaz Talebi <mhnz.talebi at gmail.com>
wrote:

> I guess that all of your NICs use e1000 driver. You can check out this by
> 'lsmod | grep e1000'.  I have been faced this problem  that arising from
> incompatibility between netmap and your kernel. I guess that netmap doesn't
> support your kernel.
>
> About patches: for example, diff--e1000e--20620--20623 support kernel
> 2.6.20 to 2.6.23.
> I use ubunto 12.4 and upgrade its kernel to 3.8.7 and can install and use
> netmap successfully.
> You can install netmap without drivers by 'make NODRIVERS=1'.
>
> On Mon, Sep 29, 2014 at 10:13 AM, Long Tran <kyle.longtran at gmail.com>
> wrote:
>
>> Hi Mahnaz,
>>
>> This is my kernel: 3.13.0-29-generic
>> I don't know if this path contains the drivers that supported by my
>> kernel:
>> /lib/modules/3.13.0-29-generic/kernel/drivers/net/ethernet/intel/
>>
>> These are what in side that path:
>> e1000  e1000e  e100.c  e100.ko  i40e  i40evf  igb  igbvf  ixgb  ixgbe
>> ixgbevf  Kconfig  Makefile
>>
>> In the patches directory, I found these:
>> e1000 e1000e igb ixgbe
>>
>> So I guess my kernel has the drivers supported by netmap.
>>
>> Also, I forgot to include the error when I run the make command. Here it
>> is:
>> make -C /lib/modules/3.13.0-29-generic/build
>> M=/home/kl/Workspaces/netmap/LINUX CONFIG_NETMAP=m CONFIG_E1000=m
>> CONFIG_E1000E=m CONFIG_IXGBE=m CONFIG_IGB=m CONFIG_BNX2X=m CONFIG_MLX4=m
>> CONFIG_VIRTIO_NET=m \
>>                 EXTRA_CFLAGS='-I/home/kl/Workspaces/netmap/LINUX
>> -I/home/kl/Workspaces/netmap/LINUX/../sys
>> -I/home/kl/Workspaces/netmap/LINUX/../sys/dev -DCONFIG_NETMAP
>> -Wno-unused-but-set-variable'                  \
>>                 O_DRIVERS="e1000/ e1000e/ igb/ ixgbe/" modules
>> make[1]: Entering directory `/usr/src/linux-headers-3.13.0-29-generic'
>>
>>
>>
>>
>>
>> *make[3]: *** No rule to make target
>> `/home/kl/Workspaces/netmap/LINUX/e1000/e1000_main.o', needed by
>> `/home/kl/Workspaces/netmap/LINUX/e1000/e1000.o'.  Stop.make[2]: ***
>> [/home/kl/Workspaces/netmap/LINUX/e1000] Error 2make[1]: ***
>> [_module_/home/kl/Workspaces/netmap/LINUX] Error 2make[1]: Leaving
>> directory `/usr/src/linux-headers-3.13.0-29-generic'make: *** [build] Error
>> 2*
>>
>> The thing is my laptop has intel card, but I don't know if my VM (I am
>> using VMWare) has that card. Right now, I create four NICs for my VM: host
>> only, bridge to my host's ethernet, bridge to my wireless card, and two
>> other private NICs that connect privately within different VMs.
>>
>> Do you think that is the problem VM, not netmap itself?
>> Thank you,
>>
>> *Long Tran*
>> Research Assistant
>> MS in Network Communications and Technology Project Management
>> University of Houston
>>
>> On Mon, Sep 29, 2014 at 12:07 AM, Mahnaz Talebi <mhnz.talebi at gmail.com>
>> wrote:
>>
>>> What is your kernel? Are you check list of supported drivers to see if
>>> your kernel's drivers are supported whit the your version of netmap?
>>> Supported drivers are in folder patch and their name show their supported
>>> kernels.
>>>
>>> On Sun, Sep 28, 2014 at 10:02 PM, Long Tran <kyle.longtran at gmail.com>
>>> wrote:
>>>
>>>> Hi Mahnaz,
>>>>
>>>> I installed the headers and sources using these commands:
>>>> sudo apt-get install linux-headers-3.13.0-29
>>>> sudo apt-get install linux-source-3.13.0
>>>>
>>>> Thanks,
>>>> --
>>>> *Long Tran*
>>>> Research Assistant
>>>> MS in Network Communications and Technology Project Management
>>>> University of Houston
>>>>
>>>
>>>
>>
>


More information about the freebsd-net mailing list