Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Sep 2014 00:29:54 -0500
From:      Long Tran <kyle.longtran@gmail.com>
To:        Mahnaz Talebi <mhnz.talebi@gmail.com>
Cc:        "Gurkan, Deniz" <dgurkan@central.uh.edu>, FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: Compiling netmap in Ubuntu 1.04 in VMWare
Message-ID:  <CACziSJLDtY3-78TECgUFeemp%2BGB7G8msnSq0_jZAh35%2BQiR_EQ@mail.gmail.com>
In-Reply-To: <CABfVBT=XG9-ONHTeSya4hPV%2BozrmWNMmmAYVqdA4-UQOdbi1Ww@mail.gmail.com>
References:  <CACziSJLOx4T-LGwOGpmcOERODXLOQ3iNPFVtjr6p4x08xp=QBA@mail.gmail.com> <CABfVBTnztVGA8z8kWYukA9Xs6fdLgAe7bz23AbVXPyc%2BQ4cMsQ@mail.gmail.com> <CACziSJ%2B8KThaHE0vZdJd2bm7BJCx4q3FMpikDtt3vKDHS-QGRg@mail.gmail.com> <CABfVBT=XG9-ONHTeSya4hPV%2BozrmWNMmmAYVqdA4-UQOdbi1Ww@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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@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@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
>>>>
>>>
>>>
>>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACziSJLDtY3-78TECgUFeemp%2BGB7G8msnSq0_jZAh35%2BQiR_EQ>