N810 built-in flash: unreliable?
Something weird is happening to my N810's internal flash memory (the one with the VFAT-formatted 2 gig internal memory card, not the 256 meg jffs2 root filesystem). It appears as if writing near the end of the device wraps around and destroys the data at the beginning. I can reproduce it like this: 1. Format the memory card with File Manager 2. Open X Terminal 3. dd if=/dev/zero of=/media/mmc2/bigfile bs=8K 4. Wait ~10 minutes (2 gigs at 4 megs per second). 5. dmesg When dd fills the partition, you'll see the following message in dmesg [ 1793.835937] FAT: Filesystem panic (dev mmcblk0p1) [ 1793.835937] fat_get_cluster: invalid cluster chain (i_pos 122753) [ 1793.835937] File system has been set read-only It's very likely that at this point your partition table also gets overwritten and on next boot you won't see the card until you reformat again. I first discovered this after a week of usage. I had about 850 megs on the card when it was remounted read-only. I made the mistake of rebooting and discovered that the partition table and the FAT were both gone. What worries me is that I was nowhere close to filling up the 2 gig partition when it broke. I'm now trying to see if I can find a safe partition size that I can use without losing my data. I initially thought this might be related to https://bugs.maemo.org/show_bug.cgi?id=2802 Now I'm not sure. Marius Gedminas -- To err is human, but to really foul things up requires a computer. signature.asc Description: Digital signature ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: N810 built-in flash: unreliable?
On Sun, Mar 30, 2008 at 10:52 AM, Marius Gedminas [EMAIL PROTECTED] wrote: Something weird is happening to my N810's internal flash memory (the one with the VFAT-formatted 2 gig internal memory card, not the 256 meg jffs2 root filesystem). It appears as if writing near the end of the device wraps around and destroys the data at the beginning. I can reproduce it like this: Could this be related to the N810s being shipped with a broken partition table? https://bugs.maemo.org/show_bug.cgi?id=2940 Cheers, Andrew -- Andrew Flegg -- mailto:[EMAIL PROTECTED] | http://www.bleb.org/ ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: N810 built-in flash: unreliable?
On Sun, Mar 30, 2008 at 10:57:37AM +, Andrew Flegg wrote: On Sun, Mar 30, 2008 at 10:52 AM, Marius Gedminas [EMAIL PROTECTED] wrote: Something weird is happening to my N810's internal flash memory (the one with the VFAT-formatted 2 gig internal memory card, not the 256 meg jffs2 root filesystem). It appears as if writing near the end of the device wraps around and destroys the data at the beginning. I can reproduce it like this: Could this be related to the N810s being shipped with a broken partition table? https://bugs.maemo.org/show_bug.cgi?id=2940 No, because I noticed that on day 1 and reformatted the card, after which the kernel no longer complained about partition being larger than the device. Also, I can get a fs error in dmesg if I deliberately create a smaller filesystem (1.7 gig) with sudo mkdosfs -F 32 /dev/sdb1 170 and then fill it up with a single big file. If I reduce the filesystem size to just 100 blocks, I can fill it up with no kernel complaints in dmesg. I don't like to think what my dd experiments are doing to the lifetime of the flash memory. Marius Gedminas -- question = (to) ? be : !be; -- Shakespeare signature.asc Description: Digital signature ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: N810 built-in flash: unreliable?
On Sun, Mar 30, 2008 at 02:17:10PM +0300, Marius Gedminas wrote: On Sun, Mar 30, 2008 at 10:57:37AM +, Andrew Flegg wrote: On Sun, Mar 30, 2008 at 10:52 AM, Marius Gedminas [EMAIL PROTECTED] wrote: Something weird is happening to my N810's internal flash memory (the one with the VFAT-formatted 2 gig internal memory card, not the 256 meg jffs2 root filesystem). It appears as if writing near the end of the device wraps around and destroys the data at the beginning. I can reproduce it like this: ... Also, I can get a fs error in dmesg if I deliberately create a smaller filesystem (1.7 gig) with sudo mkdosfs -F 32 /dev/sdb1 170 and then fill it up with a single big file. If I reduce the filesystem size to just 100 blocks, I can fill it up with no kernel complaints in dmesg. It's not a bug in the vfat driver. I can fill up a 2 gig vfat filesystem image mounted via the loop device without triggering the bug. Marius Gedminas -- An algorithm must be seen to be believed. -- D.E. Knuth signature.asc Description: Digital signature ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: Cross-compiling for the N800
Jason Edgecombe wrote: Peter Flynn wrote: I have downloaded a small C console utility which I'd like to compile for my N800. It doesn't have any dependencies outside itself. I have gcc on my Ubunty Gutsy system... You need a specially compiled gcc that can cross-compile for arm along with the c library compiled for arm. Oh dear...shows how long ago it was that I used a 3rd-gen language :-( The easiest way to do this is to download the maemo development vmware image from http://maemovmware.garage.maemo.org/ Perfect, many thanks...but which one do I need for an N800 running OS2007? Chinook, Bora, or Gregale? ///Peter ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: Cross-compiling for the N800
Jason Edgecombe wrote: You need a specially compiled gcc that can cross-compile for arm along with the c library compiled for arm. All installed, but compiling the utility with cc -o foo foo.c bar.c produces a binary which executes perfectly inside the VMware dev img window, but whe uploaded to the N800 says Syntax error: ( unexpected Is there a -m switch I need to use for the architecture? ///Peter ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: Cross-compiling for the N800
Peter Flynn wrote: Jason Edgecombe wrote: Peter Flynn wrote: I have downloaded a small C console utility which I'd like to compile for my N800. It doesn't have any dependencies outside itself. I have gcc on my Ubunty Gutsy system... You need a specially compiled gcc that can cross-compile for arm along with the c library compiled for arm. Oh dear...shows how long ago it was that I used a 3rd-gen language :-( The easiest way to do this is to download the maemo development vmware image from http://maemovmware.garage.maemo.org/ Perfect, many thanks...but which one do I need for an N800 running OS2007? Chinook, Bora, or Gregale? Bora, I think. You can use Chinook if you upgrade your N800 to OS2008, the same OS as the N810. Most new development is targeted towards OS2008 Here is the code name breakdown with the OS that shipped with the device. OS upgrades are available depending on the device. gregale = OS 2006, N770 bora = OS 2007, N800 chninook = OS2008, N810 Sincerely, Jason ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Ogg support
I've just installed ogg support on my N800, running OS2008. When I try to play an ogg file, I get asked what application to use. I select Media Player (ogg) and the file plays. I can also open mp3 files with the same player. However, whne in the regular player, I cannot play ogg. Is there any way to associate ogg files with the media player, so that they play like an mp3 would? tnx jk -- Use OpenOffice.org http://www.openoffice.org ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: USB adapter keyboard
Scott Kelso wrote: I'm using the Cables Unlimited USB-1260-02M micro-A to regular A ordered from Amazon [1]. It has the right pin shorted to put the N810 in to OTG mode...although it took me a couple days to figure out I needed to uninstall the usbcontrol application to get it working. With usbcontrol installed, the N810 would neither automatically enter OTG mode, nor honor a request to enter host mode from usbcontrol. Almost any USB keyboard I've tried works, so long as it does not have a built-in hub. The PS/2 keyboard adapter in an old Targus USB port replicator (model PA090) I have works, as do the USB hub downstream ports. -- Scott If you look through Cyberguys catalogue www.cyberguys.com (duh) you'll find for 20 smackers a morph cable that will make ANY end to ANY end Cat5 or USB. I've two of them so I can make any combination of USB cabling I need. Boy is it dandy. ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: Ogg support
James Knott wrote: I've just installed ogg support on my N800, running OS2008. When I try to play an ogg file, I get asked what application to use. I select Media Player (ogg) and the file plays. I can also open mp3 files with the same player. However, whne in the regular player, I cannot play ogg. Is there any way to associate ogg files with the media player, so that they play like an mp3 would? Media Player (ogg) is the same executable as Media Player, just a separate desktop file because of the mime types. Media Player doesn't allow you to open ogg files directly but when the Metalayer Crawler adds your oggs to the Library then you can play the oggs from there with the Media Player. -- Tuomas signature.asc Description: OpenPGP digital signature ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: N810 built-in flash: unreliable?
On Sun, Mar 30, 2008 at 01:52:10PM +0300, Marius Gedminas wrote: I'm now trying to see if I can find a safe partition size that I can use without losing my data. I initially thought this might be related to https://bugs.maemo.org/show_bug.cgi?id=2802 It seems like the tablets are plagued by similar -but not necessarily the same- issue. I had something similar happen with my 770 a while back, and I've seen other posts to this list the gist of which, at least, is basically the same. Were you writing data from your pc to the tablet's memory card via USB when this happened, or downloading via network? In my case, it was while downloading an album or two worth of mp3 files. After being mounted read-only, the tablet rebooted. I put the card in my laptop, copied the data, and reformatted the card. I haven't had any problems since, but I do worry about it. As a side note, what would the proper way to format and prepare these cards be? Especially if one has used the card in a different system (a phone or mp3 player) and want to make it more maemo tablet friendly. thanks, K -- In Vino Veritas http://astroturfgarden.com signature.asc Description: Digital signature ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: USB adapter keyboard
On Sun, 2008-03-30 at 08:03 -0700, Randall wrote: If you look through Cyberguys catalogue www.cyberguys.com (duh) you'll find for 20 smackers a morph cable that will make ANY end to ANY end Cat5 or USB. I've two of them so I can make any combination of USB cabling I need. It does mini USB but not micro USB so useless for N810. Laurent ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: Ogg support
Tuomas Kulve wrote: James Knott wrote: I've just installed ogg support on my N800, running OS2008. When I try to play an ogg file, I get asked what application to use. I select Media Player (ogg) and the file plays. I can also open mp3 files with the same player. However, whne in the regular player, I cannot play ogg. Is there any way to associate ogg files with the media player, so that they play like an mp3 would? Media Player (ogg) is the same executable as Media Player, just a separate desktop file because of the mime types. Media Player doesn't allow you to open ogg files directly but when the Metalayer Crawler adds your oggs to the Library then you can play the oggs from there with the Media Player. It's found the files, but I noticed the player now displays the file extenstion for .ogg files, but not .mp3. Why the difference? Any way to turn it off for .ogg too? tnx jk -- Use OpenOffice.org http://www.openoffice.org ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: USB adapter keyboard
On 3/30/08, Laurent GUERBY [EMAIL PROTECTED] wrote: On Sun, 2008-03-30 at 08:03 -0700, Randall wrote: If you look through Cyberguys catalogue www.cyberguys.com (duh) you'll find for 20 smackers a morph cable that will make ANY end to ANY end Cat5 or USB. I've two of them so I can make any combination of USB cabling I need. It does mini USB but not micro USB so useless for N810. Laurent Not to mention that it takes up more room than the device itself! I need something of a much more reasonable size, that will just give me the standard USB Type A Female connector that is pretty much the universal host port. Then, whatever device I need to plug into it can just use its own connector or cable. I recommend making your own adapter cable by splicing together two spares like I did. It works like a charm, puts less stress on the port than a molded adapter would, and takes up a whole lot lest space than even a regular cable. It also didn't cost me a cent. Next on my agenda: modifying this adapter or making a new one that will allow me to inject pwer from a battery pack or USB power adapter or port so I can run things like thumb drives without having to attach a powered hub. Or maybe just modifying a minty boost so I can plug it in inline with my existing cable as is with no other adapters or connectors necessary. Done right, it could power either the external USB device or the Tablet as needed. Mark ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users