From owner-freebsd-current@FreeBSD.ORG Fri Apr 24 17:08:22 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 19E05A24 for ; Fri, 24 Apr 2015 17:08:22 +0000 (UTC) Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) (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 A857C16B6 for ; Fri, 24 Apr 2015 17:08:21 +0000 (UTC) Received: by wiun10 with SMTP id n10so27312509wiu.1 for ; Fri, 24 Apr 2015 10:08:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=pe/2hBib5QyZjh4/lDDoOimLRjrR5HN688oy++VGamQ=; b=eyKWTom13VU7/KZoAmFc9RRBzIctFKjtXJgZMpjvXbTNnnlI0t+O5erwx2myIsGnvc gqvlMmFdwjyGladJUCY7KNLVvi6j6F2flltDcYFeVdL/SsF1t2CbhEtUKjrE54EkW0Qk VDkngzvT58MeO68p+nKXXMdnm8H0kunN7JoCFrUcoadEpl3OiFnDftjNG1yF9lOv1qn7 unQ+H4isQjVNcwnkktJCFFYZbNOWky6T9i3BO/AVxCEIhQO1FTv1qv5hbfYqzVbuymRC ZA4fgNs35DSZhlS2NHdf5/vZURDPR8QfS4DjVHGonkj71scMQIxP8+q6277XPRAs6HEo hqug== MIME-Version: 1.0 X-Received: by 10.194.52.10 with SMTP id p10mr17058303wjo.98.1429895300093; Fri, 24 Apr 2015 10:08:20 -0700 (PDT) Received: by 10.28.218.143 with HTTP; Fri, 24 Apr 2015 10:08:20 -0700 (PDT) Date: Fri, 24 Apr 2015 13:08:20 -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 17:08:22 -0000 > 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.