From: Jeff Stevens <jsteve17@yahoo.com>
To: linux-mtd@lists.infradead.org
Subject: MTD JFFS2 Problems
Date: Fri, 4 Feb 2005 08:18:31 -0800 (PST) [thread overview]
Message-ID: <20050204161831.32323.qmail@web41406.mail.yahoo.com> (raw)
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
next reply other threads:[~2005-02-04 16:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-04 16:18 Jeff Stevens [this message]
[not found] <E1Cx6oS-0004DA-Fy@canuck.infradead.org>
2005-02-04 18:12 ` MTD JFFS2 Problems Rick Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050204161831.32323.qmail@web41406.mail.yahoo.com \
--to=jsteve17@yahoo.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox