From owner-freebsd-embedded@FreeBSD.ORG Fri Jul 13 16:13:11 2012 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D21A31065673; Fri, 13 Jul 2012 16:13:11 +0000 (UTC) (envelope-from harm@weites.com) Received: from server1.weites.net (server1.weites.net [89.188.29.39]) by mx1.freebsd.org (Postfix) with ESMTP id 56D478FC15; Fri, 13 Jul 2012 16:13:11 +0000 (UTC) Received: from [192.168.99.209] (52486A57.cm-4-1b.dynamic.ziggo.nl [82.72.106.87]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: harm@weites.com) by server1.weites.net (Postfix) with ESMTPSA id ECB7D71C9D; Fri, 13 Jul 2012 18:13:03 +0200 (CEST) Message-ID: <1342195983.2336.35.camel@manbearpig.dynamic.weites.net> From: Harm Weites To: araujo@FreeBSD.org Date: Fri, 13 Jul 2012 18:13:03 +0200 In-Reply-To: References: <1341745590.2740.17.camel@manbearpig.dynamic.weites.net> <201207081805.33574.bschmidt@freebsd.org> <1341841445.2540.10.camel@manbearpig.dynamic.weites.net> <1341849727.2540.11.camel@manbearpig.dynamic.weites.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.4.3 (3.4.3-1.fc17) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: freebsd-embedded@freebsd.org, Bernhard Schmidt Subject: Re: TP-Link wr1043nd out of swap space X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 16:13:12 -0000 Hi, the firmware posted on Adrian's google projects page works ok (which is from last December), it even says 10+M free memory. I've flashed my unit with a (old) kernel/world from r230847, it leaves ~5M mem available. The biggest difference between both is probably my inclusion of gif/pf devices, and leaving out the WITNESS/INVARIANTS stuff. Though that should probably not make such a huge difference. I've tried updating my tree to some revisions later, but at r233000 I'm left with ~4M available. There are some nice fixes in various places after that revision, so I'm eager to get something higher to work. And it would be nice to pin-point the cause of the error :) Regards Marcelo Araujo schreef op vr 13-07-2012 om 10:32 [+0800]: > Hello Harm, > > Did you have any progress to fix your problem, I'm quite interested on > it. > > Best Regards, > - Araujo > > 2012/7/10 Harm Weites > Hi, > > just a typo in my message, not in make.conf :) > > regards > > Marcelo Araujo schreef op ma 09-07-2012 om 23:27 [+0800]: > > Hello Harm, > > > > > > There is a typo is must be MALLOC_PRODUCTION=YES instead of > MALLOC > > PRODUCION=YES. Maybe you could double check! > > > > > > Best Regards, > > - Araujo > > > > 2012/7/9 Harm Weites > > Hi Bernard, > > > > thanks for your suggestion. I've added > MALLOC_PRODUCION=YES > > to /etc/make.conf, and also removed make option > DEBUG=-g from > > the kernel > > config. The error still exists though. > > > > Regards > > > > Bernhard Schmidt schreef op zo 08-07-2012 om 18:05 > [+0200]: > > > On Sunday 08 July 2012 13:06:30 Harm Weites wrote: > > > > Hi list, > > > > > > > > After flashing my firmware image on the TP-Link > it apears > > to run out of > > > > swap space when executing /etc/rc, thus halting > further > > system startup. > > > > My mfsroot is actually ~500KB smaller compared > to the > > result of the > > > > standard scripts, and the mount_mfs commands > in /etc/rc > > are building > > > > 512K devices instead of the standard 1M. What > could be the > > issue here, > > > > since there should be even more RAM available > compared to > > using the > > > > image produced by the standard build scripts? > > > > > > > > Furthermore, I've compiled the kernel without > WITNESS, > > WITNESS_SKIPSPIN, > > > > INVARIANTS and INVARIANT_SUPPORT. > > > > > > Do you have MALLOC_PRODUCTION defined in your > make.conf? If > > not, you > > > should try to do so. > > > > > > > > > _______________________________________________ > > freebsd-embedded@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-embedded > > To unsubscribe, send any mail to > > "freebsd-embedded-unsubscribe@freebsd.org" > > > > > > > > > > -- > > Marcelo Araujo > > araujo@FreeBSD.org > > > > > > > > > -- > Marcelo Araujo > araujo@FreeBSD.org