R: [Yaffs] I: yaffs - file system on ARM
Pesce Gianfranco
PesceG@gea-automotive.com
Tue, 5 Oct 2004 11:54:07 +0200
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C4AAC1.419FAC90
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
=20
to Nick =20
=20
>Could you use plain text? It makes replying much easier.
=20
Sorry ,what does means plain text ?
=20
>what does /proc/yaffs say?=20
=20
this is the output of my /proc/yaffs
=20
# cat /proc/yaffs
YAFFS built:Oct 5 2004 10:04:10
$Id: yaffs_fs.c,v 1.32 2003/10/29 20:42:34 charles Exp $
$Id: yaffs_guts.c,v 1.34 2004/06/08 08:47:55 charles Exp $
=20
Device yaffs
startBlock......... 1
endBlock........... 2174
chunkGroupBits..... 1
chunkGroupSize..... 2
nErasedBlocks...... 6
nTnodesCreated..... 0
nFreeTnodes........ 0
nObjectsCreated.... 100
nFreeObjects....... 97
nFreeChunks........ 192
nPageWrites........ 0
nPageReads......... 0
nBlockErasures..... 0
nGCCopies.......... 0
garbageCollections. 0
passiveGCs......... 0
nRetriedWrites..... 0
nRetireBlocks...... 0
eccFixed........... 0
eccUnfixed......... 0
tagsEccFixed....... 0
tagsEccUnfixed..... 6
cacheHits.......... 0
nDeletedFiles...... 0
nUnlinkedFiles..... 0
nBackgroudDeletions 0
useNANDECC......... 1
#
=20
>How big is the mtd partition in the boot messages?
=20
# cat /proc/mtd
dev: size erasesize name
mtd0: 04000000 00004000 "BON"
mtd1: 021fc000 00004000 "mtd"
=20
=20
Thanks
=20
=20
=20
-----Messaggio originale-----
Da: Nick Bane [mailto:nick@cecomputing.co.uk]
Inviato: marted=EC 5 ottobre 2004 11.31
A: Pesce Gianfranco; yaffs@stoneboat.aleph1.co.uk
Oggetto: RE: [Yaffs] I: yaffs - file system on ARM
Pesce
=20
Could you use plain text? It makes replying much easier.
=20
what does /proc/yaffs say?=20
If its all used it may be that it isn't all erased ot being accessed
correctly.
How big is the mtd partition in the boot messages?
=20
Nick
-----Original Message-----
From: yaffs-admin@stoneboat.aleph1.co.uk
[mailto:yaffs-admin@stoneboat.aleph1.co.uk]On Behalf Of Pesce =
Gianfranco
Sent: 05 October 2004 10:01
To: 'yaffs@stoneboat.aleph1.co.uk'
Subject: [Yaffs] I: yaffs - file system on ARM
Sorry , more informations=20
I am using a NAND flash Samsung K9D1208V0M=20
-----Messaggio originale-----=20
Da: Pesce Gianfranco =20
Inviato: marted=EC 5 ottobre 2004 10.56=20
A: 'yaffs@stoneboat.aleph1.co.uk'=20
Oggetto: yaffs - file system on ARM=20
Hi ,=20
I am using an ARM machine with 2.4.18 kernel=20
I want to use yaffs , the file system is mounted , but when I try to do =
any
operation , as mkdir or cp , I get the message
"cannot allocate memory" and the command df says 100% used for
/dev/mtdblock/1=20
Any help will be appreciated=20
--------------------------------------------------------------=20
GENERALE ELETTRONICA e AUTOMAZIONE S.r.l.=20
Via Renata Bianchi 40 - 16152 GENOVA (ITALY)=20
Tel.: +39 010 65966.1=20
Fax: +39 010 65966.311=20
http://www.gea-automotive.com <http://www.gea-automotive.com> ;=20
E-mail: mailbox@gea-automotive.com=20
Ing. Gianfranco Pesce=20
APPLICATION DEVELOPMENT DEPT.=20
Project Engineer=20
Tel. +39.010.659.66.507=20
E-mail: pesceg@gea-automotive.com=20
--------------------------------------------------------------=20
------_=_NextPart_001_01C4AAC1.419FAC90
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>I: yaffs - file system on ARM</TITLE>
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY><SPAN class=130052009-05102004>
<DIV><SPAN class=481532709-05102004><FONT size=2><SPAN
class=130052009-05102004> to Nick
</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=481532709-05102004><FONT size=2><SPAN
class=130052009-05102004></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=481532709-05102004><FONT size=2><SPAN
class=130052009-05102004>></SPAN>Could you use plain text? It makes replying
much easier.</FONT></SPAN></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Sorry ,what does means plain text ?</FONT></SPAN></DIV>
<DIV><SPAN class=130052009-05102004><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=130052009-05102004><FONT size=+0>
<DIV><SPAN class=481532709-05102004><FONT size=2><SPAN
class=130052009-05102004>></SPAN>what does /proc/yaffs say?
</FONT></SPAN></DIV>
<DIV><SPAN class=481532709-05102004><FONT size=2></FONT></SPAN> </DIV><FONT
size=2>this is the output of my <FONT
face=Tahoma>/proc/yaffs</FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=130052009-05102004><FONT face=Tahoma
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=130052009-05102004><FONT face=Tahoma size=2># cat
/proc/yaffs<BR>YAFFS built:Oct 5 2004 10:04:10<BR>$Id: yaffs_fs.c,v 1.32
2003/10/29 20:42:34 charles Exp $<BR>$Id: yaffs_guts.c,v 1.34 2004/06/08
08:47:55 charles Exp $</FONT></SPAN></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><SPAN class=130052009-05102004><FONT face=Tahoma size=2>Device
yaffs<BR>startBlock......... 1<BR>endBlock...........
2174<BR>chunkGroupBits..... 1<BR>chunkGroupSize..... 2<BR>nErasedBlocks......
6<BR>nTnodesCreated..... 0<BR>nFreeTnodes........ 0<BR>nObjectsCreated....
100<BR>nFreeObjects....... 97<BR>nFreeChunks........ 192<BR>nPageWrites........
0<BR>nPageReads......... 0<BR>nBlockErasures..... 0<BR>nGCCopies..........
0<BR>garbageCollections. 0<BR>passiveGCs......... 0<BR>nRetriedWrites.....
0<BR>nRetireBlocks...... 0<BR>eccFixed........... 0<BR>eccUnfixed.........
0<BR>tagsEccFixed....... 0<BR>tagsEccUnfixed..... 6<BR>cacheHits..........
0<BR>nDeletedFiles...... 0<BR>nUnlinkedFiles..... 0<BR>nBackgroudDeletions
0<BR>useNANDECC......... 1<BR>#</FONT></SPAN></DIV>
<DIV><SPAN class=130052009-05102004><FONT face=Tahoma
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=130052009-05102004>
<DIV><SPAN class=481532709-05102004><FONT size=2><SPAN
class=130052009-05102004>></SPAN>How big is the mtd partition in the boot
messages?</FONT></SPAN></DIV>
<DIV><SPAN class=481532709-05102004><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=481532709-05102004><FONT size=2># cat
/proc/mtd<BR>dev: size erasesize
name<BR>mtd0: 04000000 00004000 "BON"<BR>mtd1: 021fc000 00004000
"mtd"<BR></FONT></SPAN></DIV>
<DIV><SPAN class=481532709-05102004><FONT size=2> </DIV></FONT></SPAN>
<DIV><SPAN class=481532709-05102004><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=481532709-05102004><SPAN class=130052009-05102004><FONT
size=2> Thanks</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=481532709-05102004><SPAN class=130052009-05102004><FONT
size=2></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN class=481532709-05102004><FONT
size=2></FONT></SPAN> </DIV></SPAN></DIV>
<DIV><FONT size=2></FONT> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Messaggio originale-----<BR><B>Da:</B> Nick Bane
[mailto:nick@cecomputing.co.uk]<BR><B>Inviato:</B> marted́ 5 ottobre 2004
11.31<BR><B>A:</B> Pesce Gianfranco;
yaffs@stoneboat.aleph1.co.uk<BR><B>Oggetto:</B> RE: [Yaffs] I: yaffs - file
system on ARM<BR><BR></FONT></DIV>
<DIV><SPAN class=481532709-05102004><FONT face=Arial color=#0000ff
size=2>Pesce</FONT></SPAN></DIV>
<DIV><SPAN class=481532709-05102004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=481532709-05102004><FONT face=Arial color=#0000ff
size=2>Could you use plain text? It makes replying much
easier.</FONT></SPAN></DIV>
<DIV><SPAN class=481532709-05102004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=481532709-05102004><FONT face=Arial color=#0000ff size=2>what
does /proc/yaffs say? </FONT></SPAN></DIV>
<DIV><SPAN class=481532709-05102004><FONT face=Arial color=#0000ff size=2>If
its all used it may be that it isn't all erased ot being accessed
correctly.</FONT></SPAN></DIV>
<DIV><SPAN class=481532709-05102004><FONT face=Arial color=#0000ff size=2>How
big is the mtd partition in the boot messages?</FONT></SPAN></DIV>
<DIV><SPAN class=481532709-05102004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=481532709-05102004><FONT face=Arial color=#0000ff
size=2>Nick</FONT></SPAN></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
yaffs-admin@stoneboat.aleph1.co.uk
[mailto:yaffs-admin@stoneboat.aleph1.co.uk]<B>On Behalf Of </B>Pesce
Gianfranco<BR><B>Sent:</B> 05 October 2004 10:01<BR><B>To:</B>
'yaffs@stoneboat.aleph1.co.uk'<BR><B>Subject:</B> [Yaffs] I: yaffs - file
system on ARM<BR><BR></FONT></DIV><BR>
<P> <FONT face=Arial color=#0000ff
size=2>Sorry , more informations</FONT> </P>
<P> <FONT face=Arial color=#0000ff
size=2>I am using a NAND flash Samsung K9D1208V0M</FONT> </P>
<P><FONT face=Arial></FONT> <FONT face=Tahoma size=1>-----Messaggio
originale-----</FONT> <BR><B><FONT face=Tahoma size=1>Da:
</FONT></B> <FONT face=Tahoma size=1>Pesce
Gianfranco </FONT><BR><B><FONT face=Tahoma
size=1>Inviato: </FONT></B> <FONT
face=Tahoma size=1>marted́ 5 ottobre 2004 10.56</FONT> <BR><B><FONT
face=Tahoma size=1>A: </FONT></B> <FONT
face=Tahoma size=1>'yaffs@stoneboat.aleph1.co.uk'</FONT> <BR><B><FONT
face=Tahoma
size=1>Oggetto: </FONT></B> <FONT
face=Tahoma size=1>yaffs - file system on ARM</FONT> </P><BR><BR><BR>
<P><FONT face=Arial size=2>Hi ,</FONT> </P>
<P><FONT face=Arial size=2>I am using an ARM machine with 2.4.18
kernel</FONT> <BR><FONT face=Arial size=2>I want to use yaffs , the file
system is mounted , but when I try to do any operation , as mkdir or cp , I
get the message</FONT></P>
<P><FONT face=Arial size=2>"cannot allocate memory" and the command df says
100% used for /dev/mtdblock/1</FONT> </P>
<P><FONT face=Arial size=2>Any help will be appreciated</FONT> </P><BR>
<P><FONT face=Arial
size=2>--------------------------------------------------------------</FONT><FONT
face="Times New Roman"> </FONT><BR><B><FONT face=Arial color=#000000
size=1>GENERALE ELETTRONICA e AUTOMAZIONE S.r.l.</FONT></B> <BR><FONT
face=Arial size=1>Via Renata Bianchi 40 - 16152 GENOVA (ITALY)</FONT>
<BR><FONT face=Arial size=1>Tel.: +39 010 65966.1</FONT> <BR><FONT
face=Arial size=1>Fax: +39 010 65966.311</FONT> <BR><U><FONT face=Arial
color=#0000ff size=1><A href="http://www.gea-automotive.com"
target=_blank>http://www.gea-automotive.com</A></FONT></U><FONT face=Arial
size=1>;</FONT> <BR><FONT face=Arial size=1>E-mail:</FONT><U> <FONT
face=Arial color=#0000ff size=1>mailbox@gea-automotive.com</FONT></U>
</P><BR>
<P><B><FONT face=Arial size=2>Ing. Gianfranco Pesce</FONT></B> <BR><I><FONT
face=Arial color=#ff00ff size=1>APPLICATION DEVELOPMENT DEPT.</FONT></I>
<BR><FONT face=Arial size=2>Project Engineer</FONT> <BR><FONT face=Arial
size=2>Tel. +39.010.659.66.507</FONT> <BR><FONT face=Arial
size=1>E-mail:</FONT><U></U><U> <FONT face=Arial color=#0000ff
size=2>pesceg@gea-automotive.com</FONT></U> <BR><FONT face=Arial
size=2>--------------------------------------------------------------</FONT>
</P><BR></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>
------_=_NextPart_001_01C4AAC1.419FAC90--