From owner-freebsd-embedded@FreeBSD.ORG Sun Jul 8 16:05:02 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 C17CC106564A for ; Sun, 8 Jul 2012 16:05:02 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 462EA8FC08 for ; Sun, 8 Jul 2012 16:05:02 +0000 (UTC) Received: by bkcje9 with SMTP id je9so4883577bkc.13 for ; Sun, 08 Jul 2012 09:05:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id :x-gm-message-state; bh=y3BfwLT7+tK+emifsAGkTKe/L4Y6zy9rGYSZbULJ/6w=; b=VXSmd80kMQ457PDV8ii5odkGlKAGa+kG1C2+GRXfNJgZAv0IuVlz3qtdsRyYVJSmb6 CQQkXO+8cOCJQnFLfSNkYEgmK6NW+TNNuyok7TURIP6ac0b3iTP0+mcai89YELHyROTU GGJ0hBGoMHP80ur4aMjHk5n+H8smZZcaeblmZXPty7TVrXN6InmENAKB6RUeyCLpv6Yf it5Ueth+FRVZk4viG13FYRY1+TKOkh66zkHzYfV+f9C0tehGH+24PaR2Kgmp4SmtGMuo 7b5woZKh+FNWZ3bxLhNfv34ASY/2QFrfyCeBUvroLcDH8w+h1R4GJXrqJ1QzqheGJS74 lk2w== Received: by 10.204.145.82 with SMTP id c18mr7108389bkv.133.1341763500974; Sun, 08 Jul 2012 09:05:00 -0700 (PDT) Received: from amy.lab.techwires.net (dslb-088-067-201-092.pools.arcor-ip.net. [88.67.201.92]) by mx.google.com with ESMTPS id 14sm357622bkq.12.2012.07.08.09.04.59 (version=SSLv3 cipher=OTHER); Sun, 08 Jul 2012 09:05:00 -0700 (PDT) Sender: Bernhard Schmidt From: Bernhard Schmidt To: freebsd-embedded@freebsd.org Date: Sun, 8 Jul 2012 18:05:33 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-STABLE; KDE/4.7.4; amd64; ; ) References: <1341745590.2740.17.camel@manbearpig.dynamic.weites.net> In-Reply-To: <1341745590.2740.17.camel@manbearpig.dynamic.weites.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201207081805.33574.bschmidt@freebsd.org> X-Gm-Message-State: ALoCoQn0FdER4oxG3FBhAV3tXedfaprxy6sybTVPUNlJ53FAMnGFKAwm+MRyLh3eTRgzYNHTHoE7 Cc: Harm Weites 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: Sun, 08 Jul 2012 16:05:02 -0000 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. -- Bernhard