ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: yaffs tragedy: no more eraased blocks

To:
Subject: Re: [ts-7000] Re: yaffs tragedy: no more eraased blocks
From: Gary Wicker <>
Date: Wed, 19 Aug 2009 11:09:58 -0700


Hi Eddie,

We had what appears to be this same issue on 2 of our TS-7250s (I thought it was 3 earlier but now I'm pretty sure it was only on 2 of them).  I have not had time to go back and try to restore them in some time, although we did try that same mtdutils modification and a kernel change to ignore the bad block indication, but neither did the trick.

Our systems run from a root filesystem in flash, so how ours happened was after an extended period of testing and software updates.  They worked for months before anything happened.  Eventually the symptom was that we were unable to load a new software image into the board because yaffs had marked too many blocks as bad.  At that point we gave up on yaffs and switched to jffs2.

It's been a long time since we had this issue so I'm a bit fuzzy on the details.  I do know that we used the "mkyaffs" utility to program the flash on the target using an image prepared by the "mkyaffsimage" on the host. 

As I said, we did lots of programming and reprogramming of the boards with no problems prior to the failures.  Once the failures started occurring they were unrecoverable, at least with a software image of the size we needed -- you could still program much smaller images using mkyaffs since there were still some good blocks left.  And yes we use a custom kernel and partitioning scheme so perhaps this was just all our fault.

I hope this information helps.

Gary Wicker
qhorus.com


On Wed, Aug 19, 2009 at 10:54 AM, Eddie Dawydiuk <m("embeddedarm.com","eddie");">> wrote:
Hello,

> I'm not sure what you want me to provide. The board will still boot but I only have console and it keeps spewing "yaffs tragedy" to that.

Basically what I'm asking for is, if you can tell me how to reproduce the
problems you are reporting. That is if I take a stock board, what needs to be
done to make large amounts of blocks to be marked bad as you've reported. As I
mentioned earlier the kernel hasn't changed in several years, and we've done
quite a bit of testing on the Yaffs code base we are shipping and we have been
unable to reproduce any failures. If our tests are missing a problem, we would
be interested to know what needs to be done to cause the problem to show up.

If you'd like you can contact me off list and I will provide you with an RMA so
your board can be returned to be restored to the factory default settings with a
new Nand flash chip.

> Since I don't really understand what conditions produce the bad block markage I can only guess like you. I can't provide do steps 1,2,3
 > "happens every time" bug report. Sorry.

I'll pass your report along to my manager, although I can tell you from past
experience he will be much more likely to assign an engineer to look into your
bug report if you can provide information on how to recreate the bug you are
reporting.

A few more questions. How many boards have seen this problem on? Have you seen
this problem on any boards that have never run a non TS kernel(I believe you
mentioned running a 2.6 kernel at one point)?

--
Best Regards,
________________________________________________________________
 Eddie Dawydiuk, Technologic Systems | voice:  (480) 837-5200
 16525 East Laser Drive              | fax:    (480) 837-5300
 Fountain Hills, AZ 85268            | web: www.embeddedARM.com


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
   http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
   Individual Email | Traditional

<*> To change settings online go to:
   http://groups.yahoo.com/group/ts-7000/join
   (Yahoo! ID required)

<*> To change settings via email:
   
   

<*> To unsubscribe from this group, send an email to:
   

<*> Your use of Yahoo! Groups is subject to:
   http://docs.yahoo.com/info/terms/




__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU