ts-7000
[Top] [All Lists]

[ts-7000] YAFFS - Recovering from a full onboard flash

To:
Subject: [ts-7000] YAFFS - Recovering from a full onboard flash
From: "Phil" <>
Date: Mon, 20 Mar 2006 15:19:50 -0000
Hi All,

I had a wayward program of mine fill up the 128MB of onboard flash 
on my TS-7250, basically by writing data a bit quicker than I 
thought it was. When I got back to it a 'df' showed that it was 85% 
full, so I tried deleting a few older files to clean up some space. 
While deleting some files I got error messages to the effect 
of 'Directory not empty' (even though it was only a few _files_ that 
I was deleting). Anyway, the files are now gones from a directory 
listing, but the space wasn't free'd in the 'df' output.

So I've tried looking at 'dmesg' output and it tells me ...

!!!!!!!!! Allocator out !!!!!!!!!!!!!!!!!
yaffs tragedy: no space during gc

Also, i'm not sure if this is relavent but there are messages in 
there about bad blocks too. I know these are normal but I'm not sure 
what a *normal* amount of bad blocks would be. I have approx 
220 'block XXXX is bad' lines in dmesg, and some amount (more than 
20, the start of dmesg is truncated) 'Bad eraseblock XXXX at 
0x0yyyyyyy' messages. The block numbers correspond in most cases.

I now can't write anything to the flash, or delete files, etc. I've 
searched a bit on google for filesystem checking utilities hopeing 
that something can recover lost blocks but can't find anything.

Has anyone had this problem, or know of a way to fix? I'd greatly 
appreciate any advice!

Regards
Phil







 
Yahoo! Groups Links

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

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

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


<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