Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Sep 2014 01:43:36 -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:  <CACziSJ%2B8KThaHE0vZdJd2bm7BJCx4q3FMpikDtt3vKDHS-QGRg@mail.gmail.com>
In-Reply-To: <CABfVBTnztVGA8z8kWYukA9Xs6fdLgAe7bz23AbVXPyc%2BQ4cMsQ@mail.gmail.com>
References:  <CACziSJLOx4T-LGwOGpmcOERODXLOQ3iNPFVtjr6p4x08xp=QBA@mail.gmail.com> <CABfVBTnztVGA8z8kWYukA9Xs6fdLgAe7bz23AbVXPyc%2BQ4cMsQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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?CACziSJ%2B8KThaHE0vZdJd2bm7BJCx4q3FMpikDtt3vKDHS-QGRg>