public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Ken Offer <koffer@arlut.utexas.edu>
Cc: LinuxMTD <linux-mtd@lists.infradead.org>
Subject: Re: Cannot mount my NAND device with JFFS2
Date: Wed, 21 Aug 2002 21:20:54 +0200	[thread overview]
Message-ID: <1029957655.3996.4.camel@thomas.tec.linutronix.de> (raw)
In-Reply-To: <E5BE2C26-B535-11D6-92ED-000393467F1A@arlut.utexas.edu>

On Wed, 2002-08-21 at 20:43, Ken Offer wrote:
> Hi all,
> 
> I can erase and test my smart media card NAND driver just fine 
> (i.e. eraseall seems to work, nandtest works, mtd0 and mtd1 show 
> up in /proc/mtd).  So far so good.  However, when I try to mount 
> the device with jffs2 I get:
>  > mount -v -t jffs2 /dev/mtdblock1 /mnt/jffs
> mount: wrong fs type, bad option, bad superblock on /dev/mtdblock1,
>         or too many mounted file systems
Have you erased the flash before mount or have you copied stuff to the
flash ?
Can you please turn on JFFS2 debugging  to 1 and send the output ? 
make sure that you do
#echo 9 >proc/sys/kernel/printk

> I have:
> 
> (a) applied the 
> "ftp://ftp.??.kernel.org/pub/linux/kernel/people/dwmw2/shared-
> zlib/linux-2.4.19-pre10-shared-zlib.bz2" patch to a 2.4.19 
> kernel,
> (b) copied the latest and greatest cvs mtd/jffs2 sources into my kernel,
> (c) made the appropriate changes to "file.c" for Page_uptodate,
???
> (d) made the change for "CONFIG_JFFS2_FS_NAND" to "fs/Config.in",
> (e) made a change to "include/linux/mtd/compatmac.h" to define 
> "set_user_nice" (isn't defined for 2.4.19).
looks good. 
> My driver is based on the autcpu12 driver in the nand sources.  
good choice :)
> I have noticed that there is a "autcpu12-nvram" map driver to 
> perform NVRAM mapping.  Is such a mapping device REQUIRED for 
> JFFS2 support???  Or is it just for mapping the device to 
> address space for other purposes?  The documentation is not 
> clear (what's new...)
nvram is Non-Volatile-Ram and used for total different stuff 
> Got any ideas?
See above
-- 
Thomas 
____________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx@linutronix.de

  reply	other threads:[~2002-08-21 19:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-21 18:43 Cannot mount my NAND device with JFFS2 Ken Offer
2002-08-21 19:20 ` Thomas Gleixner [this message]
2002-08-21 19:36   ` Ken Offer

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=1029957655.3996.4.camel@thomas.tec.linutronix.de \
    --to=tglx@linutronix.de \
    --cc=koffer@arlut.utexas.edu \
    --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