Reply
Thread Tools
Posts: 1 | Thanked: 0 times | Joined on Mar 2006
#61
i have a question here. all we are doing is extending the root filesystem, correct? if so,

will the device properties and xterminal (in theory) recognize a larger internal memory?

i am pulling up screens below, and i do not see any sign of extension. i have done everything per instructions, and it does go fine, but i dont see/feel any difference thus far. i am using nokia supplied 64mb rsmmc for testing.

also, screenshot #4 is an oddball. it shows a random amount of memory. i've seen anything from ~20 to ~70 total memory





Last edited by psychedelicbeats; 2006-03-04 at 20:37.
 
Kralisec's Avatar
Posts: 25 | Thanked: 0 times | Joined on Mar 2006 @ France
#62
Hi psychedelicbeats,

What result with mount command ?
(juste enter "mount" in xterminal)
 
Posts: 144 | Thanked: 0 times | Joined on Dec 2005 @ Niles IL...Chicago born and raised.
#63
I'm about to slam this thing into the ground. I've reflashed it about 7 times already trying to extend the root fs. Here's what I'm doing.

sudo gainroot
umount /media/mmc1
/var/lib/install/sbin/cfdisk /dev/mmcblk0
I make one partition 771MB, Primary, beginning, change the type to 06, and leave it alone.
I make another partition 256.61MB, primary, and make that type 83
Quit
mkfs.vfat /dev/mmcblk0p1
shutdown -r now

sudo gainroot
/var/lib/install/sbin/mkfs.ext3 /dev/mmcblk0p2
/var/lib/install/sbin/extrootfs

I endup with a bricked device everytime. I'm using a Transcend 1GB MobileMMC card. When I reflash, I check the card without reformatting it or anything, and I end up with the following.

Memory in use: 251393526 kB
Memory Available: 1000208 kB
Email, audio, video, etc are all 0 kB up until I get to...
Other files: 251393526 kB

-Edit-

umount: lazy umount of (null) failed!
umount: /dev/mmcblk0p2: Invalid argument

Last edited by uNtouched; 2006-03-08 at 06:18. Reason: Noticed something.
 
Posts: 16 | Thanked: 0 times | Joined on Feb 2006
#64
Like psychedelic , I don't know if it works. I got the same issue in the memory panel and with the command free so I put my "mount" here.


/ $ mount
/dev/mtdblock4 on /mnt/initfs type jffs2 (rw,noatime)
none on /mnt/initfs/proc type proc (rw,nodiratime)
none on /mnt/initfs/sys type sysfs (rw)
none on /mnt/initfs/tmp type tmpfs (rw)
/dev/mtdblock4 on / type jffs2 (rw,noatime,rpsize=1024,rpuid=0,rpuid=30000)
none on /tmp type tmpfs (rw)
/proc on /proc type proc (rw,nodiratime)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
none on /dev type tmpfs (rw)
/dev/mmcblk0p2 on /Root type ext3 (rw,noatime)
devpts on /dev/pts type devpts (rw)
/dev/mmcblk0p1 on /media/mmc1 type vfat (utf8,uid=29999)
/ $


any idea ?

Last edited by musicoman; 2006-03-08 at 16:48.
 
Posts: 227 | Thanked: 51 times | Joined on Feb 2006
#65
uNtouched:
I might be wrong but I think your issue is that you are not putting a file system on the second partition. After mkfs.vfat for the first partition, do a mkfs.ext3 for the second partition.

musicoman:
/dev/mmcblk0p2 on /Root type ext3 (rw,noatime) means the second partition on your mmc card is mounted on /Root. I would take that to mean it is working
David
 
Posts: 144 | Thanked: 0 times | Joined on Dec 2005 @ Niles IL...Chicago born and raised.
#66
Ok let me ask you this, what does your fstab look like? I kinda deleted the line that mounted the mmcblk0p2 thinking there was something wrong with it, and expecting it to get re-written.

Although, there is no mmcblk0p1 or p2 when doing the mount command, the only thing I see is mmcblk0 mounted to /media/mmc1

Last edited by uNtouched; 2006-03-08 at 22:09.
 
Posts: 227 | Thanked: 51 times | Joined on Feb 2006
#67
/dev/mmcblk0p2 /Root ext3 defaults,errors=remount-ro,noatime 0 0

Exactly. You did not format the second partition with an Ext3 filesystem so the mount fails. Once you correctly format the second partition you might try the script again and see if it adds the correct line in fstab. If not manually edit it as above.

David
 
Posts: 144 | Thanked: 0 times | Joined on Dec 2005 @ Niles IL...Chicago born and raised.
#68
Dj, I did do the ext3 format part. I just manually deleted it from fstab. I just reflashed and I'm about to redo it.

-edit-

One of 3 things could be the problem....

1. The 770 isn't formatting that card right
reason: the original 64MB card worked with the same steps I've been trying.

2. The card simply can not hold certain partitions/formats.

3. The card is bad.

EDIT!

It works, I used partition manager for windows. Works fine, wouldn't work though while trying to do it from within the 770.

Last edited by uNtouched; 2006-03-09 at 22:18. Reason: Tried something.
 
Posts: 191 | Thanked: 9 times | Joined on Nov 2005
#69
I finally got around to doing first the extended file system hack then the swap on the new partition one and wanted to share my observations.

The device is certainly a lot more stable. No more "Out of memory" warnings which I used to get with as little as 2 browser windows open. Now I can run all sorts of things and haven't seen any memory errors. The device also seems faster but it is hard to really quantify that. General loading of stuff is still slow as a dog. 15 seconds for the video player to open a 1 hour episode of Top Gear for example. Or 10 seconds to jump from the first page to the last of a 33 page PDF file. But I guess these sort of things you wouldn't expect to be faster. The email app definitely seems faster as does the file manager. I installed the CPU/Memory Load Applet with the mod to allow me to turn on and off the swap (available on the Maemo downloads page). That works great once I found out I had to edit my /etc/sudoers file to allow the swapon, swapoff command to work without a password.

The biggest change I have found is whereas before I would have to remember to close things before opening others (like I would have to stop the browser to open the inbox) now I can run multiple things and change between them quickly.

Thanks to you guys who figure out how to do all this stuff and make it possible for us Linux newbies to get them running without too much drama.

Simon
 
Posts: 191 | Thanked: 9 times | Joined on Nov 2005
#70
Ah, and another thing that seems A LOT better is the performance of Flash in the browser.
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:35.