public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Bugreport: mkfs.jffs2
@ 2005-03-09 14:57 Wolfram Gettert
  2005-03-10 13:02 ` Steven Scholz
  2005-03-10 13:23 ` Artem B. Bityuckiy
  0 siblings, 2 replies; 3+ messages in thread
From: Wolfram Gettert @ 2005-03-09 14:57 UTC (permalink / raw)
  To: linux-mtd

Hi,
I want to report two bugs on mkfs.jffs2 Revision 1.44

1.
I tried to create a file sytem image with this commandline.

mkfs.jffs2 -l -e 0x20000 -D devtable.txt -d rootfs -o test.img

The file devtable.txt contains a line  

----8<-----
/dev/input   d  755     0       0       -       -       -       -       -
----8<-----

and the rootfs directory contains a directory 

rootfs/dev/input


Of course it is my fault that I put the /dev/input directory in the device table
and in the rootfs. But never the less the result is a jffs2 image which is not
usable. Mounting it on the host with mtdram mtdblock .... freezes the PC and on
the target I cannot mount it too.

So there should be an error message or something like "Omitting directory xyz
from devtable already present"


2.
It is not possible to create a directory with devtable in "/"
Devtable contains this line

/opt   d  755     0       0       -       -       -       -       -

I get this message:

mkfs.jffs2: skipping device_table entry '/opt': no parent directory!



Please put me on CC, I am not subscribed to list.

Wolfram



-- 
Dipl.-Ing.
Wolfram Gettert

Software Engineer Embedded Systems

Mixed Mode GmbH
Lochhamer Schlag 17                   D-82166 Gräfelfing/München
Tel. +49-89-89868.0                   Fax +49-89-89868.222
mailto:Wolfram.Gettert@mixed-mode.de  http://www.mixed-mode.de

Mixed Mode - Your Partner for Systems Engineering!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bugreport: mkfs.jffs2
  2005-03-09 14:57 Bugreport: mkfs.jffs2 Wolfram Gettert
@ 2005-03-10 13:02 ` Steven Scholz
  2005-03-10 13:23 ` Artem B. Bityuckiy
  1 sibling, 0 replies; 3+ messages in thread
From: Steven Scholz @ 2005-03-10 13:02 UTC (permalink / raw)
  To: linux-mtd

Wolfram Gettert wrote:
> Hi,
> I want to report two bugs on mkfs.jffs2 Revision 1.44
> 
> 1.
> I tried to create a file sytem image with this commandline.
> 
> mkfs.jffs2 -l -e 0x20000 -D devtable.txt -d rootfs -o test.img
> 
> The file devtable.txt contains a line  
> 
> ----8<-----
> /dev/input   d  755     0       0       -       -       -       -       -
> ----8<-----
> 
> and the rootfs directory contains a directory 
> 
> rootfs/dev/input
So what is the problem?

I am using mkfs.jffs2: revision 1.43 with devtable entries like

/dev/input       d   755     0       0       -       -       -       -       -
/dev/input/event c   640     0       0       13      64      0       1       1

and it works just fine...

--
Steven

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bugreport: mkfs.jffs2
  2005-03-09 14:57 Bugreport: mkfs.jffs2 Wolfram Gettert
  2005-03-10 13:02 ` Steven Scholz
@ 2005-03-10 13:23 ` Artem B. Bityuckiy
  1 sibling, 0 replies; 3+ messages in thread
From: Artem B. Bityuckiy @ 2005-03-10 13:23 UTC (permalink / raw)
  To: Wolfram Gettert; +Cc: linux-mtd

> I'm having some trouble mounting a JFFS2 root partition as rw at
> boot/init time, and would appreciate any insight that you guys can
> provide.
>
General suggestions:

*	Make sure you use the latest mkfs.jffs2;
*	Try to exclude summary patch and to see what happens;
*	Enable JFFS2 debugging messages and provide the output in the next 
report;
*	Make sure you put your JFFS2 image on the flash correctly. To do 
this you might erase your flash (flash_eraseall -j), mount it and copy 
your files there by means of "cp -r -a";

--
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-03-10 13:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-09 14:57 Bugreport: mkfs.jffs2 Wolfram Gettert
2005-03-10 13:02 ` Steven Scholz
2005-03-10 13:23 ` Artem B. Bityuckiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox