On Tue, 2009-06-30 at 23:32 +0200, Laszlo KREKACS wrote: ... > > But, it was reproducible. If the device freezed or I removed the battery, many > tile maps got unreadable. I couldnt even list some directories or cd into > them! > (it rules out heavy CPU load, and not getting enough power) ... > So the problem really comes about the insane 75000 files (118MB). > ...
75000 tiles is not a lot: r...@om-gta02 ~ $ df -h Filesystem 1K-blocks Used Available Use% Mounted on /dev/root 252544 151096 101448 60% / none 60400 56 60344 0% /dev shmfs 60400 0 60400 0% /dev/shm /dev/mmcblk0p1 94559 76295 13382 85% /media/card /dev/mmcblk0p2 5719599 2107720 3383078 38% /media/p2 volatile 60400 580 59820 1% /var/volatile r...@om-gta02 ~ $ find /media/p2/OSM -name *.png|wc 2207969 2207969 74463452 Yes, thats over 2 million files :) TangoGPS works fine ... Not all SD cards are created equal - many (including mine) require a reduced clock speed and then they are completely stable. I keep running out of inodes - ext3 sucks, even when created using maximum inodes - then fsck really takes forever! I believe reiserfs which is a far better file system in my opinion is available in 2.6.29 SHR (I am stuck on 2.6.28 as 2.6.29 gsm doesnt work for me.) - stabler and doesnt have inode limits. Try creating an init.d script to run at boot: r...@om-gta02 ~ $ cat /etc/init.d/sd_clk #!/bin/sh echo 10000000 > /sys/module/glamo_mci/parameters/sd_max_clk r...@om-gta02 ~ $ and make sure its mounted async BillK _______________________________________________ Openmoko community mailing list [email protected] http://lists.openmoko.org/mailman/listinfo/community

