[ECOS] JFFS2 no space left on device error

Edgar Grimberg edgar.grimberg@rms.ro
Sun Jul 31 16:37:00 GMT 2005


Hi,

I have loaded the jffs2 image provided in the eCos tree onto my board 
(EB40A-like) using redboot and the serial port. I made an FIS entry 
named JFFS2 with this image. (no errors so far)
After that, using the BDI2000 debugger, I have programmed the jffs2_1 
test onto the board.
It seems that the mounting of the jffs2 image is working OK (at least no 
errors on the serial), I get some directory listing (perhaps not OK, 
considering the file structure from the support/jffs2 folder):

<INFO>: reading directory /
<INFO>: entry              . [mode 016f0001 ino 00000001 nlink 1 size 0]
<INFO>: entry             .. [mode 016f0001 ino 00000001 nlink 1 size 0]

Creating a file gives me:

<INFO>: create file /foo size 202
<FAIL>: open() returned -1 No space left on device
<FAIL>: write() returned -1 Bad file handle

and the bad file handle message continues.

Any hints?

Regards,
Edgar


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list