public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Jarkko Lavinen <jarkko.lavinen@nokia.com>
To: Linux MTD <linux-mtd@lists.infradead.org>
Cc: "Artem B. Bityutskiy" <dedekind@yandex.ru>,
	"zhao, forrest" <forrest.zhao@intel.com>
Subject: Re: EBH question 1
Date: Tue, 13 Dec 2005 13:47:52 +0200	[thread overview]
Message-ID: <20051213114752.GA9165@angel.research.nokia.com> (raw)
In-Reply-To: <1134455209.7346.12.camel@localhost.localdomain>

Zhao

I tried CVS head (Dec 12).  I used 2.6.14.3 on x86 and Nandsim.  2.6.14
requires removal of the second NULL argument (parent) to class_device_create() 
call to make it work.

I erased the partition with flash_eraseall (I tried both -j and without).
I mounted the partition, copied big file (libc) onto it, unmounted, and then
mounted again.

All messaged are directed to console, When I mount the file system
again, I get:

  # mount -t jffs2 /dev/mtdblock0 /mnt
  ...
  Dec 13 12:53:15 slayer kernel: Node at 0x00001e30 with length 0x000008e0 would run over the end of the erase block 
  Dec 13 12:53:15 slayer kernel: Perhaps the file system was created with the wrong erase size? Reject to mount.
  Dec 13 12:53:15 slayer kernel: [JFFS2 DBG] (3602) jffs2_do_mount_fs: build_fs failed
  mount: /dev/mtdblock0: can't read superblock

I can reproduce the same problem on an Arm based test board with 
2.6.15-rc4 with Nandsim and Onenandsim. On 2.6.15 class_device_create()
call works out of the box and no editing is needed.

Jarkko Lavinn

  parent reply	other threads:[~2005-12-13 11:48 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-11 14:12 EBH question 1 Artem B. Bityutskiy
2005-12-12  6:07 ` zhao, forrest
2005-12-12 10:30   ` Artem B. Bityutskiy
2005-12-13  6:26     ` zhao, forrest
2005-12-13  6:51       ` zhao, forrest
2005-12-13 11:47       ` Jarkko Lavinen [this message]
     [not found]         ` <1134545396.27194.11.camel@localhost.localdomain>
2005-12-14  6:42           ` JFFS2 CVS broken after 2005/11/14 Artem Bityutskiy
2005-12-14  8:30             ` zhao, forrest
2005-12-19 12:01       ` EBH question 1 Artem B. Bityutskiy
2005-12-21  6:49         ` zhao, forrest
2005-12-21  9:16         ` JFFS2 after CVS snapshot 2005/11/13 is broken on nandsim zhao, forrest
  -- strict thread matches above, loose matches on Subject: below --
2005-12-11 14:12 EBH question 1 Artem B. Bityutskiy
2005-12-11 17:10 ` Vitaly Wool
2005-12-12  6:11   ` zhao, forrest

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=20051213114752.GA9165@angel.research.nokia.com \
    --to=jarkko.lavinen@nokia.com \
    --cc=dedekind@yandex.ru \
    --cc=forrest.zhao@intel.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