From owner-freebsd-embedded@FreeBSD.ORG Sun Jul 8 11:16:49 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 D07D41065670 for ; Sun, 8 Jul 2012 11:16:49 +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 8E1C78FC0A for ; Sun, 8 Jul 2012 11:16:49 +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 7922A71F9E for ; Sun, 8 Jul 2012 06:19:03 +0200 (CEST) Message-ID: <1341745590.2740.17.camel@manbearpig.dynamic.weites.net> From: Harm Weites To: freebsd-embedded@freebsd.org Date: Sun, 08 Jul 2012 13:06:30 +0200 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 Subject: 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: Sun, 08 Jul 2012 11:16:49 -0000 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. Kernel: FreeBSD 10.0-CURRENT #3 r238194M: Thu Jan 1 01:00:00 CET 1970 Memory: real memory = 33554432 (32768K bytes) avail memory = 26382336 (25MB) Messages on console: ------------ rtl8366rb0port0: link state changed to UP pid 17 (sh), uid 0, was killed: out of swap space Jul 7 22:03:23 init: /bin/sh on /etc/rc terminated abnormally, going to single user mode Enter full pathname of shell or RETURN for /bin/sh: # vmstat procs memory page disk faults cpu r b w avm fre flt re pi po fr sr fl0 in sy cs us sy id 0 0 0 25360k 1496k 91 1 1 0 61 410 28 0 11 47 0 6 94 # /sbin/mount pid 18 (sh), uid 0, was killed: out of swap space Jul 7 22:05:17 init: single user shell terminated. ------------ Please advise. Best regards, Harm