On 10/13/2014 12:25 PM, Andrew wrote:
> 13.10.2014 21:43, Erich Titl пишет:
>> on 13.10.2014 19:52, Andrew wrote:
>>> 13.10.2014 19:48, Victor McAllister пишет:
>> ...
>>>> Victor
>>> You should increase rootfs size. AFAIR /tmp does nothing in modules
>>> detection; modules are unpacked into /lib/modules which is part of / tmpfs.
>>> Also check if you have enough free RAM (you may try to enable zswap -
>>> swap on zram drive, which may increase available RAM - at least by
>>> 'swapping' tmpfs uncompressed data like binaries).
>> Couldn't we use a tempfs for unpacking and building modules.dep?
>>
> What profit of this we'll have?
>

I ran an experiment

free reports 61200 1024 byte blocks of memory
so evidently this is a 64 MB WRAP board

I changed syst_size=60M
in leaf.cfg

it complained about memory and unavailability of modules.dep but it 
extracted natsemi and built the moddb.lrp at 1.3 mb.

I then changed it back to syst_size=40M and rebooted

everything works without extracting natsemi or editing modules.lrp by hand.

df reports root as 40960 1K blocks at 28% used.

Fortunately natsemi has no dependency.

Victor


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to