Date: Sun, 08 Jul 2012 13:06:30 +0200 From: Harm Weites <harm@weites.com> To: freebsd-embedded@freebsd.org Subject: TP-Link wr1043nd out of swap space Message-ID: <1341745590.2740.17.camel@manbearpig.dynamic.weites.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1341745590.2740.17.camel>