On Sun, Mar 30, 2008 at 10:57:37AM +0000, Andrew Flegg wrote: > On Sun, Mar 30, 2008 at 10:52 AM, Marius Gedminas <marius at pov.lt> 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 1700000 and then fill it up with a single big file. If I reduce the filesystem size to just 1000000 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.maemo.org/pipermail/maemo-users/attachments/20080330/fc7d9648/attachment.pgp