[Chilli] Problem with mmap!
david at coova.com
Mon Feb 18 19:52:48 UTC 2013
Support for rx ring was a bit unmaintained. It is now fixed in
Subversion, and has a runtime option, as mentioned, to enable. You can
now compile with mmap support but decide to use it at runtime.
On Mon, 2013-02-18 at 16:47 +0100, Sven Anders wrote:
> If I compile chilli with "--with-mmap", DHCP does not work.
> In this case chilli always reports "dhcp.c: 4930: 0 (Debug) bad packet length 0".
> I compiled chilli with the following options:
> ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-openssl --with-mmap --with-poll --enable-largelimits --enable-binstatusfile
> --enable-statusfile --enable-chilliproxy --enable-chilliradsec --enable-chilliredir --enable-chilliscript --enable-ieee8023 --enable-multiroute
> --enable-dhcpopt --enable-multilan --disable-cluster
> If I remove "--with-mmap" anything works as expected...
> What me makes curious is, that in the old version 1.2.4 I used (compiled it with the "--with-mmap")
> anything worked. I'm using the same Kernel (3.2.13) for both versions.
> David, in your last mail you wrote the following:
> > Also updated, when using --with-mmap, you can now selectively use
> > --mmapring to enable the RX/TX rings, otherwise you are running without
> > them (the standard way).
> Does this have anything to do with it?
> Or is this only the fix for the ">> net.c:1189:22: error: unused variable 'mr'" warning?
> Is there a web interface to the SVN repository?
> Sven Anders
> Chilli mailing list
> Chilli at coova.org
More information about the Chilli