public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* nand_write_ecc
@ 2002-07-25  7:33 Steve Tsai
  2002-07-30 22:40 ` nand_write_ecc David Woodhouse
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Tsai @ 2002-07-25  7:33 UTC (permalink / raw)
  To: Linux MTD mailing list

I am using NAND flash as a root file system. When I and flash a new root
image to NAND flash and reboot the system. I copy a file to flash and
the system halt.  I got the following message when I operate the board. 
When nand_write_ecc  was called, I will print out message as,
"nand_write_ecc: col=%d last=%d page=%x ecc_code=%x %x %x %x %x %x". I
think the first nand_write_ecc was called by GC and when I copy the file
nand_write_ecc was called again. But as the following message, the two
calls write to the same page 0x18FF. Why they write the same page?

Steve Tsai


/home> cd /bin
nand_write_ecc: col=0 last=512 page=18ff ecc_code=c3 33 f ff ff ff

/bin>
/bin>
/bin>
/bin> cp test test3
ARGH. About to write node to 0x0011fe90 on flash, but there's data
already there
:
0x0011fe90: 85 19 04 20 70 01 00 00 1a f5 30 d9 ff ff ff ff
nand_write_ecc: col=0 last=512 page=18ff ecc_code=ff c0 f c0 c0 ff
nand_write_ecc: Failed write verify, page 0x000018ff
<2>jffs2_flush_wbuf(): Writ
e failed with -5
nand_write_ecc: col=0 last=512 page=18ff ecc_code=ff c0 f c0 c0 ff
nand_write_ecc: Failed write verify, page 0x000018ff
<2>jffs2_flush_wbuf(): Writ
e failed with -5
Write of 2269 bytes at 0x0044400c failed. returned -5, retlen 0
Not marking the space at 0x0044400c as dirty because the flash driver
returned r
etlen zero

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: nand_write_ecc
  2002-07-25  7:33 nand_write_ecc Steve Tsai
@ 2002-07-30 22:40 ` David Woodhouse
  0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2002-07-30 22:40 UTC (permalink / raw)
  To: Steve Tsai; +Cc: Linux MTD mailing list

startec@ms11.hinet.net said:
> I am using NAND flash as a root file system. When I and flash a new
> root image to NAND flash and reboot the system. I copy a file to flash
> and the system halt.  I got the following message when I operate the
> board.  When nand_write_ecc  was called, I will print out message as,
> "nand_write_ecc: col=%d last=%d page=%x ecc_code=%x %x %x %x %x %x". I
> think the first nand_write_ecc was called by GC and when I copy the
> file nand_write_ecc was called again. But as the following message,
> the two calls write to the same page 0x18FF. Why they write the same
> page? 

Does this still happen with the latest code in CVS?

--
dwmw2

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-30 22:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-25  7:33 nand_write_ecc Steve Tsai
2002-07-30 22:40 ` nand_write_ecc David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox