Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Apr 2015 13:08:20 -0400
From:      "S. Amin Marashi" <marashi.s.amin@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   Re: netmap/pkt-gen error
Message-ID:  <CAFPPpqqKMnLAS8SHEDHpiqFt4ssO=xngEP24%2BV89TvAYhv4QiA@mail.gmail.com>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFPPpqqKMnLAS8SHEDHpiqFt4ssO=xngEP24%2BV89TvAYhv4QiA>