TP-Link wr1043nd out of swap space
Harm Weites
harm at weites.com
Fri Jul 13 16:13:12 UTC 2012
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 <harm at weites.com>
> 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 <harm at weites.com>
> > 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 at freebsd.org mailing list
> >
> http://lists.freebsd.org/mailman/listinfo/freebsd-embedded
> > To unsubscribe, send any mail to
> > "freebsd-embedded-unsubscribe at freebsd.org"
> >
> >
> >
> >
> > --
> > Marcelo Araujo
> > araujo at FreeBSD.org
> >
>
>
>
>
>
>
> --
> Marcelo Araujo
> araujo at FreeBSD.org
More information about the freebsd-embedded
mailing list