public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Dmitry Skorinko <skorinkod@mosk.ru>
Cc: linux-mtd@lists.infradead.org
Subject: Re: input/output errors
Date: Mon, 01 Nov 2004 13:50:03 +0100	[thread overview]
Message-ID: <1099313403.3337.17.camel@thomas> (raw)
In-Reply-To: <200411011218.33494.skorinkod@mosk.ru>

On Mon, 2004-11-01 at 12:18 +0300, Dmitry Skorinko wrote:
> DiskOnChip found at 0xe0000
> Detected 2 chips per floor.
> NAND device: Manufacturer ID: 0xec, Chip ID: 0x79 (Samsung NAND 128MiB 3,3V 
> 8-bit)
> 2 NAND chips detected
> Bad block table found at page 524256, version 0x55
> Bad block table not found for chip 0
> nand_read_bbt: Reserved block at 0x00000000
> nand_read_bbt: Bad block at 0x00080000
> nand_read_bbt: Bad block at 0x000c4000
> nand_read_bbt: Bad block at 0x000d4000
> nand_read_bbt: Bad block at 0x08080000
> nand_read_bbt: Bad block at 0x08124000
> nand_read_bbt: Bad block at 0x08134000
> nand_read_bbt: Bad block at 0x09600000
> nand_read_bbt: Reserved block at 0x0fffc000
> ECC error scanning DOC at 0x0
> DiskOnChip BNAND Media Header not found.
> Found alias of DOC at 0xe0000 to 0xe2000
> Found alias of DOC at 0xe0000 to 0xe4000
> Found alias of DOC at 0xe0000 to 0xe6000
> 

> mtd.oobsize = 16
> mtd.ecctype = (unknown ECC type - new MTD API maybe?)
> regions = 0
> "new MTD API" ?? Is it dangerous for drivers work?

mtd_debug is outdated. Nothing to worry about.

> Erasing 16 Kibyte @ fffc000 --  3 % complete.
> ./flash_eraseall: /dev/mtd0: MTD Erase failure: Input/output error
> 
> What is it? I don't understand, did programm finish her work?

Look at the bad block output above. Bad blocks cannot be erased.

> #nftl_format /dev/mtd0
> $Id: nftl_format.c,v 1.22 2004/05/05 15:19:57 dwmw2 Exp $

I'm not sure whether nftl_format will work, as I assume, that it must
access at least block 0, which is marked bad to protect the information
there.

> #modprobe inftl
> #dmesg
> --skip--
> INFTL: inftlcore.c $Revision: 1.17 $, inftlmount.c $Revision: 1.14 $
> INFTL: could not find valid boot record?
> INFTL: could not mount device

Can you format the chip from DOS with the M-Sys tools and try again ?

> If I use last cvs - I have not even diskonchip.....  see previous my
> post

That previous post tells me not much. It's not really helpful to mixup
information.
What happens with current CVS code, if you modprobe diskonchip ?

tglx

  reply	other threads:[~2004-11-01 12:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-01  9:18 input/output errors Dmitry Skorinko
2004-11-01 12:50 ` Thomas Gleixner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-06-15 11:51 Input/Output Errors qwerty t
2001-06-19  2:50 ` Stephen Herzog
2001-06-20  6:19 ` Ollie Lho

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1099313403.3337.17.camel@thomas \
    --to=tglx@linutronix.de \
    --cc=linux-mtd@lists.infradead.org \
    --cc=skorinkod@mosk.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox