Author Topic: I/O errors  (Read 3169 times)

Luke-Jr2

  • Newbie
  • *
  • Posts: 28
    • View Profile
I/O errors
« on: August 08, 2004, 10:40:49 pm »
I recently began looking into finally installing OpenZaurus/Opie on my C760... First, however, I want to back it up...
dd-ing to my PC via netcat shows a ton of:
 . . . dd: /dev/mtd3: Input/output error
In the kernel log, there's lots of:
 . . . sharp_sl_nand_read_ecc: Failed ECC read, page 0x0002ffe0
Via the service menu, there's a flash tester... it suggests 1 byte is bad.

The errors begin around when there is 37 MB saved on my PC and continue until about ... well, it doesn't stop... =p

Is this semi-normal (like bad pixels) and likely to have been there when I got it? Will the Z workaround the bad area and continue to function with just a bit less flash space?
Will installing another ROM (C860 or OZ) be risking making my Z unusable as a result?
On a side topic, am I even backing up the proper device (mtd0-3) or should I be looking elsewhere to get an entire backup?

Thanks

waalkman

  • Full Member
  • ***
  • Posts: 176
    • View Profile
I/O errors
« Reply #1 on: August 10, 2004, 10:37:57 pm »
Quote
...The errors begin around when there is 37 MB saved on my PC and continue until about ... well, it doesn't stop... =p

I imagine it looked pretty bad  


It's normal to encounter bad bytes on a flash card, in fact the manufacturer expects them. However, dd doesn't  

I suggest that you try something other than dd.


Quote
Is this semi-normal (like bad pixels) and likely to have been there when I got it? Will the Z workaround the bad area and continue to function with just a bit less flash space?

Yes this entirely normal and is to be expected. And I think that the driver for the card does the error checking and the mapping of bad bytes (as opposed to being done in hardware).


Quote
Will installing another ROM (C860 or OZ) be risking making my Z unusable as a result?

Nope. Not because of that anyways. But be careful as to what you write into these areas. That could easily make it a shiny new paperweight. I would be scared to death of trying to write back what I dd'ed out.

So if you are talking about writing what you dd'ed out back in, then I certainly wouldn't. But I like the intent of your idea, it would be nice to have a utility to make a mirror image of the Z so that you could try out a new ROM without having to rebuild the entire thing from scratch (anybody know of a utility that does this?).


Quote
On a side topic, am I even backing up the proper device (mtd0-3) or should I be looking elsewhere to get an entire backup?

I suppose that would get just about all of it. Anybody else know?


A little light reading:

http://www.linux-mtd.infradead.org/


John
C860, SMC Model SMC2642W, various sized memory cards

ThC

  • Sr. Member
  • ****
  • Posts: 259
    • View Profile
    • http://
I/O errors
« Reply #2 on: August 11, 2004, 09:19:43 am »
Quote
it would be nice to have a utility to make a mirror image of the Z so that you could try out a new ROM without having to rebuild the entire thing from scratch (anybody know of a utility that does this?).
Sharp did include such a tool in their maintenance (on+D+M) menu ... known as NAND backup and restore
SL-C3000 - pdaXrom 1.1.0Beta1
SL-C860 - pdaXrom 1.1.0 RC8 (charging circuitry dead :( )
CF RamStar 512 Mb / Hitachi 4Gb microdrive (thanks to creative's muvo² :p)
SD Sandisk 1Gb / Viking 256 Mb
Linksys WCF13 CF wifi card

Anyone willing to donate for my work, please consider donate to pdaXrom and/or OE/OZ projects instead, I wouldn't have been able to do anything without them ...

waalkman

  • Full Member
  • ***
  • Posts: 176
    • View Profile
I/O errors
« Reply #3 on: August 12, 2004, 04:20:03 am »
Quote
Sharp did include such a tool in their maintenance (on+D+M) menu ... known as NAND backup and restore
Just call me chicken but I put the service menu in the "There be dragons" catagory.

(But you are absolutely right, shame on me  )


John
C860, SMC Model SMC2642W, various sized memory cards