Re: question on booting from mmc
Theodore Tso wrote: Yeah, but the ext3 journal wears out the flash card much more quickly. Since you know better than anyone how ext3 works can you quantify what means 'much more quickly' with default date=ordered mode? 2x 10x 100x ? My only information is from http://www.redhat.com/support/wpapers/redhat/ext3/ Also I suppose the basic IT200x system is somewhat optimized for writes so typically the amount of data written is not exactly huge. We are also mounting mmc with 'noatime'. Given how cheap 2GB cards are, maybe we don't care Yes, they are cheap and I guess internal wear levelling should be pretty good to allow 'lifetime' guarantee with FAT filesystem. Check also (end of) https://bugs.maemo.org/show_bug.cgi?id=598 Also cards are getting bigger quickly so most people are not using the card for long (like 3 years) but upgrade to bigger cards. but given how quick e2fsck is on a 2GB flash disk, another approach would be modify the boot script so that it detects if the root filesystem is ext2, and if it is unclean, force an fsck automatically. This is slightly problematic. There is no fsck in initfs partition and space is really tight there. Also we have no keyboard so realistically -y is the only option which may sometimes do something wrong. From the manpage: ... Sometimes an expert may be able to do better driving the fsck manually. ... AUTHOR Theodore Tso Anyway, isn't mount with data=writeback (and possibly also commit=30) same or better for data integrity (or in kernel fsck chance to do right thing at boot time) than pure ext2 with e2fsck? Frantisek ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: question on booting from mmc
On Fri, Jul 13, 2007 at 09:14:09AM +0200, Frantisek Dufka wrote: Theodore Tso wrote: Yeah, but the ext3 journal wears out the flash card much more quickly. Since you know better than anyone how ext3 works can you quantify what means 'much more quickly' with default date=ordered mode? 2x 10x 100x ? It depends on how much metadata updates you do --- I would definitely recommend using the noatime mount option, but probably somewhere between 1.2x and 2x. Basically, each time you update some part of the metadata, it will result in the block being written to the journal, before it is ultimately written to the primary location on disk. So the number of writes will go up by 2x for metadata blocks. So the big question is the ratio between metadata updates and data block updates. This is slightly problematic. There is no fsck in initfs partition and space is really tight there. Also we have no keyboard so realistically -y is the only option which may sometimes do something wrong. From the manpage: ... Sometimes an expert may be able to do better driving the fsck manually. ... AUTHOR Theodore Tso Well, the initfs partition could mount the original jffs2 partition and grab the fsck from there. Or you could do what Linux systems did before initfs, which is to mount the root partition read-only, and then run e2fsck, and if the root filesystem was changed, force a reboot; else remount the root partition read/write. As far as e2fsck -y, 99% of the time if the machine just shutsdown uncleanly, the e2fsck -p (preen mode) will do the job just fine. If we do need to run e2fsck interactively, yeah, the only way to do that would be to boot back to the jffs root image, bring up an xterm, and then run it interactively from there. But that hopefully should be a relatively rare case. I'm assuming here that most of the time those people who are using the ext2/3 filesystem on an MMC is keeping a viable boot image in the original jffs2 device, so that can be used as the way to run e2fsck if necessary --- and as the source for the e2fsck binary from the initrd environment, if necessary. Regards, - Ted ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
maemo.org b0rken links
Anyone else notice that links like 'Documentation' http://maemo.org/development/documentation/ result in Parse error: syntax error, unexpected '' in /var/cache/midgard/midgard/7-49-31-0.php on line 138 (since ~ 2007-07-13T11:00:00Z) Please may this be fixed And apologies if there a more appropriate way to report such things. ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: xterm missing icon, cannot return when minimized
dasDasein wrote: I have started experincing a problem that I don't remember previously. When I have an xterm open, the icon in the left side is missing. If I minimize the xterm window I am unable to bring it back. Is there a keyboard method for bringing back the minimized window. Other applicaions do not appear to have this problem. I have just started using a Nokia bluetooth keyboard with the Maemo BT Plugin recently. I don't recall having this problem previously. I don't have that problem. However, what happens when you press the home on the lower button? On mine, it brings up a list of open apps, from which you should be able to select xterm. -- Use OpenOffice.org http://www.openoffice.org ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: question on booting from mmc
Theodore Tso wrote: It depends on how much metadata updates you do --- I would definitely recommend using the noatime mount option, but probably somewhere between 1.2x and 2x. Basically, each time you update some part of the metadata, it will result in the block being written to the journal, before it is ultimately written to the primary location on disk. So the number of writes will go up by 2x for metadata blocks. So the big question is the ratio between metadata updates and data block updates. Thanks. This doesn't sound so bad. This 1.2x to 2x is for default data=ordered mode and data=journal would be +1, right? What about the data=writeback, is this same or better (as for number of writes)? Frantisek ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: question on booting from mmc
Mmmh... I've waited for my birthday to have a gift of a 1GB MMC from my girlfriend ^__^;; I hope the system takes care of it as much as I do :) -- Antonio Given how cheap 2GB cards are, maybe we don't care ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: xterm missing icon, cannot return when minimized
When I press the home key with xterm on and visible, nothing happens, it does not switch to the home view. When only xterm is open, there is no double arrow link to select open applications from. If I then open the browser for example, it appears as normal. Icon O.K. When I click on the double arrows at the bottom left home and web browser links appear but still no xterm link. If I then press home key, I can switch between home and web browser, but xterm is no longer accessible. I can sometimes open another application and when I minimize the newly opened application, the xterm window will appear again. I have not found it predictable. But the original problem continues, no icon in left column and no link in double arrow list. On 7/13/07, James Knott [EMAIL PROTECTED] wrote: dasDasein wrote: I have started experincing a problem that I don't remember previously. When I have an xterm open, the icon in the left side is missing. If I minimize the xterm window I am unable to bring it back. Is there a keyboard method for bringing back the minimized window. Other applicaions do not appear to have this problem. I have just started using a Nokia bluetooth keyboard with the Maemo BT Plugin recently. I don't recall having this problem previously. I don't have that problem. However, what happens when you press the home on the lower button? On mine, it brings up a list of open apps, from which you should be able to select xterm. -- Use OpenOffice.org http://www.openoffice.org ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
RE: maemo.org b0rken links
Hum. worksforme. Anyone else notice that links like 'Documentation' http://maemo.org/development/documentation/ result in Parse error: syntax error, unexpected '' in /var/cache/midgard/midgard/7-49-31-0.php on line 138 (since ~ 2007-07-13T11:00:00Z) Please may this be fixed And apologies if there a more appropriate way to report such things. Quim ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: maemo.org b0rken links
On Fri, 13 Jul 2007 19:57:06 +0300 [EMAIL PROTECTED] wrote: Hum. worksforme. Anyone else notice that links like 'Documentation' http://maemo.org/development/documentation/ result in Parse error: syntax error, unexpected '' in /var/cache/midgard/midgard/7-49-31-0.php on line 138 (since ~ 2007-07-13T11:00:00Z) Please may this be fixed And apologies if there a more appropriate way to report such things. And me too now ! Thanks to whoever fixed it :) -jh ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Mountnig a remote share
I am having some fun trying to remotely mount a samba share. i am following the instructions here, and have become root, and all that jazz. http://maemo.org/community/wiki/HowToAccessWindowsCIFS However, the mount -t cifs etc always fails. Has anyone had any success with doing this? thanks -- Alan Williamson a wiki -and- a blog @ http://www.Blog-City.com/ b: http://alan.blog-city.com/ ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: device resources exceeded
On Fri, Jul 13, 2007 at 05:51:13PM -0400, Kaplan Harris wrote: I have an identical response (device resources exceeded) when I try to pair my Nokia N800 to my Stowaway Universal Keyboard. Did you ever manage to pair yours? I can't tell how the follow-up responses helped. Yes, someone pointed me to a google search which lead me to this: http://www.nerdlogger.com/2007/05/getting-hp-ipaq-bluetooth-folding.html Fixed me right up. Though, it didn't work last time I attempted to use it after a re-boot and I didn't have the instructions before me (lounging in the pool). I'm sure I can get it working again next time I have have the N800 plus BT keyboard beside a real computer. Next time I fool with it, I will make some notes and stow them on the N800. Or, maybe btkbd should be stuck in an init script somewhere? -- Willie, ONWARD! Through the fog! http://counter.li.org Linux registered user #228836 since 1995 Debian3.1/GNU/Linux system uptime 39 days 17 hours 54 minutes ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users