From owner-freebsd-current@FreeBSD.ORG Fri Apr 24 18:23:35 2015 Return-Path: Delivered-To: freebsd-current@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 9328F23E for ; Fri, 24 Apr 2015 18:23:35 +0000 (UTC) Received: from mail-wg0-x235.google.com (mail-wg0-x235.google.com [IPv6:2a00:1450:400c:c00::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 27589107A for ; Fri, 24 Apr 2015 18:23:35 +0000 (UTC) Received: by wgyo15 with SMTP id o15so59084745wgy.2 for ; Fri, 24 Apr 2015 11:23:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=kRdnCO52uX3Sp+qNJwlTvW3mUVuH5zAGL87Gjy44Sk0=; b=gQ1QeMdlj1VXO6rSfuj9jQFtiINu8Wu+Qj1wFDe5Pns5F1ZS7U8FXDvexk3CCooxpy Aq+G+vF/ZNPRSsNNYVA0MieOdRPi4tWQju7id6JEOsZ047yoVJaJvA2wIB+rwsSRMVQU Z5coftF2p7sd1jDJoaeP8Qec5b3/tGMBO7TygYxh08z9RBIdHNUx7IahDgQWuJTVo7c2 uriuyalTKsS4DJ51K3urnTrBAXrPI6MbnJAq3A6FV5bf1HSYtRJPobHt+fegjusCy8JR BL6jO55jPa9bVNdJocBXZvVo/PAiGUFyohTbfYF1lEsWZiAFmmHsT9Y7C8WVZT8BKaNH 5zDw== MIME-Version: 1.0 X-Received: by 10.194.52.10 with SMTP id p10mr17561591wjo.98.1429899813748; Fri, 24 Apr 2015 11:23:33 -0700 (PDT) Received: by 10.28.218.143 with HTTP; Fri, 24 Apr 2015 11:23:33 -0700 (PDT) In-Reply-To: References: Date: Fri, 24 Apr 2015 14:23:33 -0400 Message-ID: Subject: Re: netmap/pkt-gen error From: "S. Amin Marashi" To: freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Apr 2015 18:23:35 -0000 the bridge example didn't work till I changed my interface name: em0 to netmap:em0 On Fri, Apr 24, 2015 at 1:08 PM, S. Amin Marashi wrote: > > i am running FreeBSD 9.0R with netmap already in it. > > i compiled the pkt-gen.c with gcc in tools/tools/netmap. > > after i do ./pkt-gen -i eth0 -f tx -n 500111222 -l 60 -w 5 > > > > i get an error: > > -Unable to open /dev/netmap > > -Unable to register bge0 (renamed to eth0). > [...] > > any idea on the errors/ help. > > I solved the same issue by compiling the kernel with "device netmap" > kernel config. >