Reply
Thread Tools
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#61
Originally Posted by Jaffa View Post
One thing which was suggested was putting swap on the fast, 256MB chip and the whole rootfs on the eMMC
With a proper swap configuration, that may actually help, even considering the slow eMMC.
 
Jaffa's Avatar
Posts: 2,535 | Thanked: 6,681 times | Joined on Mar 2008 @ UK
#62
Originally Posted by fanoush View Post
It would be great if anyone with device would care to update http://wiki.maemo.org/Nokia_World_2009_QA#Maemo_5 (the 'output of' part)
Given the NDAs are now up, anyone with a device can do this. So, see: http://bleb.org/software/maemo/maemo5-dump.txt

Heck, I would love to get N900 firmware image, that would answer me a lot of questions :-)
No firmware images have been distributed yet, even then redistributing the N8x0 images was a breach of the T&Cs.
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
 

The Following 3 Users Say Thank You to Jaffa For This Useful Post:
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#63
Originally Posted by Jaffa View Post
see: http://bleb.org/software/maemo/maemo5-dump.txt
Thanks.

dmesg would be best done early after boot (like adding dmesg >/dmesg.txt to /etc/init.d/rcS or similar early boot script), there is one here http://talk.maemo.org/showthread.php...952#post343952 done by hand after device boots. With the boot script we could get a few more lines but it is nothing critical.

As for swapping to internal flash... I'm not sure why the current flash partition size is 768MB (maybe because of wear leveling?) but maybe 256MB only should do too. And while mtd is not a block device so one cannot swap to it direcly, there appears to be one old attempt of mtdswap driver done/paid by Nokia
http://www.infradead.org/pipermail/l...ch/017603.html and there are also attempts to implement block layer over UBI http://lists.infradead.org/pipermail...ay/021609.html so swapping to internal flash might be good idea when system is on MMC.
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 

The Following 2 Users Say Thank You to fanoush For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#64
Originally Posted by fanoush View Post
dmesg would be best done early after boot (like adding dmesg >/dmesg.txt to /etc/init.d/rcS or similar early boot script), there is one here http://talk.maemo.org/showthread.php...952#post343952 done by hand after device boots. With the boot script we could get a few more lines but it is nothing critical.
Here is the output of a "dmesg" ran right at the start of rcS: http://qwerty12.qole.org/dmesgb4script.txt

And here is one ran before the rcS script exits: http://qwerty12.qole.org/dmesgafterscript.txt
 

The Following 7 Users Say Thank You to qwerty12 For This Useful Post:
mece's Avatar
Posts: 1,111 | Thanked: 1,985 times | Joined on Aug 2009 @ Åbo, Finland
#65
Originally Posted by Jaffa View Post
One thing which was suggested was putting swap on the fast, 256MB chip and the whole rootfs on the eMMC (32GB, partitioned into both VFAT and ext3).
I was thinking that too. But would 512Mb of memory be enough?

Perfect would be to have two swap partitions first the fast small one with 256Mb and a secondary ~1Gb. Not doable (in practice) afaik, but a man can dream.
__________________
Class .. : Meddler, Thread watcher, Developer, Helper
Humor .. : [********--] Alignment: Pacifist
Patience : [*****-----] Weapon(s): N900, N950, Metal music
Agro ... : [----------] Relic(s) : N95, NGage, Tamyia Wild One

Try Tweed Suit for your hardcore twittering needs
http://twitter.com/mece66
I like my coffee black, like my metal.

Last edited by mece; 2009-10-21 at 13:49.
 
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#66
It's doable, I currently do that on my desktop computer...
 
mece's Avatar
Posts: 1,111 | Thanked: 1,985 times | Joined on Aug 2009 @ Åbo, Finland
#67
Ok, so, is it doable on the N900?
__________________
Class .. : Meddler, Thread watcher, Developer, Helper
Humor .. : [********--] Alignment: Pacifist
Patience : [*****-----] Weapon(s): N900, N950, Metal music
Agro ... : [----------] Relic(s) : N95, NGage, Tamyia Wild One

Try Tweed Suit for your hardcore twittering needs
http://twitter.com/mece66
I like my coffee black, like my metal.
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#68
Originally Posted by qwerty12 View Post
Here is the output of a "dmesg" ran right at the start of rcS: http://qwerty12.qole.org/dmesgb4script.txt
Cool, thanks, so it is all there right from the zero. And btw the equivalent of old /linuxrc is /sbin/preinit, it should be simple script doing some magic and exec-ing /sbin/init in the end. Also BTW there is still initfs partition in the flash, I wonder if it is just some unused leftover?
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 

The Following User Says Thank You to fanoush For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#69
Originally Posted by fanoush View Post
And btw the equivalent of old /linuxrc is /sbin/preinit, it should be simple script doing some magic and exec-ing /sbin/init in the end.
Right on.

It does do "similar" to the N8x0s' linuxrc, but unlike linuxrc, it has an explicit clause saying that redistribution is forbidden.

Originally Posted by fanoush View Post
Also BTW there is still initfs partition in the flash, I wonder if it is just some unused leftover?
I'm pretty sure it isn't mounted.
But, instead of "$T2S -t "initfs version:" -s 2 -x $x -y $y -B $bg_color", we now have: "text2screen -t " no initfs \o/" -s 2 -x $x -y $y -B $bg_color"


Last edited by qwerty12; 2009-10-21 at 14:18.
 
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#70
Originally Posted by mece View Post
Ok, so, is it doable on the N900?
Why not? It's called swap priority. After first priority swap locations are filled, it starts filling the lower priority ones.
 
Reply

Tags
rootfs, space, speedy deletion candidate


 
Forum Jump


All times are GMT. The time now is 08:57.