From owner-freebsd-net@FreeBSD.ORG Mon Sep 29 06:44:07 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9AD4038D for ; Mon, 29 Sep 2014 06:44:07 +0000 (UTC) Received: from mail-vc0-x230.google.com (mail-vc0-x230.google.com [IPv6:2607:f8b0:400c:c03::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 57D40886 for ; Mon, 29 Sep 2014 06:44:07 +0000 (UTC) Received: by mail-vc0-f176.google.com with SMTP id hq11so2313634vcb.35 for ; Sun, 28 Sep 2014 23:44:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=gV5BGp2VXkWjWafgVrSjJ2tf82WAyCH8Kxjw+iF6afA=; b=PnOzItGU9/xDGb7R4cjr2dGmRnP+WyC7DbWVbSX9vNxL49wyFzHVZOkoZ996sg12ku 3JOs+amwueoSJK0YoHLChhC+68FS/ab7Kcc6ikMDJp3cIEUb7HelO+/zV1S9Ea6qNg2G k+UymZgOnoi9SoBiMXr+eHFJklgwb/9gdyRmdZuRHVGHtRIsvFuG7Po6RXWiV4KhCZAM 7BPZcTVOruNIlAJkY0mjnX23zF6GA2SuGrQTuOPs1OWt0wpEWycFuz6cDGnP/o5+KxQU PovT1L1+BmEQ2aP0vb9q0TZeMfof3o4x+veBxMcnIVUXJcpC0syBcL9a8mVYzrjE4jMU jlqQ== X-Received: by 10.220.202.202 with SMTP id ff10mr28507965vcb.15.1411973046428; Sun, 28 Sep 2014 23:44:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.167.193 with HTTP; Sun, 28 Sep 2014 23:43:36 -0700 (PDT) In-Reply-To: References: From: Long Tran Date: Mon, 29 Sep 2014 01:43:36 -0500 Message-ID: Subject: Re: Compiling netmap in Ubuntu 1.04 in VMWare To: Mahnaz Talebi Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "Gurkan, Deniz" , FreeBSD Net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2014 06:44:07 -0000 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 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 > 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 >> > >