I: [Yaffs] I: yaffs - file system on ARM

Pesce Gianfranco PesceG@gea-automotive.com
Tue, 5 Oct 2004 11:40:25 +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_01C4AABF.579E63D0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

=20
-----Messaggio originale-----
Da: Pesce Gianfranco=20
Inviato: marted=EC 5 ottobre 2004 11.39
A: 'Nick Bane'
Cc: 'yaffs@stoneboat.aleph1.co.uk'
Oggetto: R: [Yaffs] I: yaffs - file system on ARM


    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

-----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_01C4AABF.579E63D0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<TITLE>I: yaffs - file system on ARM</TITLE>

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

------_=_NextPart_001_01C4AABF.579E63D0--