* MTD JFFS2 Problems
@ 2005-02-04 16:18 Jeff Stevens
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Stevens @ 2005-02-04 16:18 UTC (permalink / raw)
To: linux-mtd
I am trying to create a jffs2 filesystem, and it seems
to be very flakey. I have tried creating a jffs2
filesystem using mkfs.jffs2 and then copy it directly
to /dev/mtd0, but when I try to mount it I get a bunch
of errors, and when it finally mounts, the filesystem
acts weird. So now I am trying a different approach,
where I mount an erased mtdblock0 as jffs2 and then
untar a filesystem on the mounted device. However,
when I do this it seems to crap out at various points
in the filesystem (I have tried it many times). Here
is a screen dump:
[root@gtvme ~]# mount -t jffs2 /dev/mtdblock0
/mnt/root
[root@gtvme ~]# cd /mnt/root/
[root@gtvme root]# ls
./ ../
[root@gtvme root]# tar xf /gtvmefs.tar
Write of 1170 bytes at 0x01fa000c failed. returned
-30, retlen 374
Write of 1170 bytes at 0x01fa04a0 failed. returned
-30, retlen 288
Write of 1170 bytes at 0x01fa0934 failed. returned
-30, retlen 740
Write of 2765 bytes at 0x01fa125c failed. returned
-30, retlen 326
Write of 2765 bytes at 0x01fa1d2c failed. returned
-30, retlen 1032
Write of 2765 bytes at 0x01fa27fc failed. returned
-30, retlen 862
Write of 2765 bytes at 0x01fa32cc failed. returned
-30, retlen 116
tar: Write Error: Read-only file system
tar: Invalid tar magic
[root@gtvme root]# Write clean marker to block at
0x00a20000 failed: -30
Write clean marker to block at 0x00820000 failed: -30
I'm not sure what I'm doing wrong. I seem to be able
to copy things to flash just fine using dd, and
flashcp. Please help!
Thanks,
Jeff Stevens
__________________________________
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
http://info.mail.yahoo.com/mail_250
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: MTD JFFS2 Problems
[not found] <E1Cx6oS-0004DA-Fy@canuck.infradead.org>
@ 2005-02-04 18:12 ` Rick Adams
0 siblings, 0 replies; 2+ messages in thread
From: Rick Adams @ 2005-02-04 18:12 UTC (permalink / raw)
To: linux-mtd
On Friday 04 February 2005 09:00 am, linux-mtd-request@lists.infradead.org
wrote:
> Date: Fri, 4 Feb 2005 08:18:31 -0800 (PST)
From: Jeff Stevens <jsteve17@yahoo.com>
>Subject: MTD JFFS2 Problems
>To: linux-mtd@lists.infradead.org
>Message-ID: <20050204161831.32323.qmail@web41406.mail.yahoo.com>
>
>
>[root@gtvme root]# Write clean marker to block at
>0x00a20000 failed: -30
>Write clean marker to block at 0x00820000 failed: -30
>
I had a client that was experiencing the CLEANMARKER errors at boot (mount of
the jffs2 root filesystem). The problem was related to using the host
version of mkfs.jffs2 tool when they should have been using the target
version. They were also experiencing several other "weird" operations. This
issue is only applicable in a cross development environment. Unfortunately
Jeff, you did not give us enough information for me to tell what's going on.
Hope this helps.
--
Rick Adams
rick@theptrgroup.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-02-04 18:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <E1Cx6oS-0004DA-Fy@canuck.infradead.org>
2005-02-04 18:12 ` MTD JFFS2 Problems Rick Adams
2005-02-04 16:18 Jeff Stevens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox