From: Andre Puschmann <andre.puschmann@stud.tu-ilmenau.de>
To: linux-mtd@lists.infradead.org
Subject: Re: Mounting mtd block device raises "Block device required"
Date: Wed, 11 Jun 2008 11:26:46 +0200 [thread overview]
Message-ID: <g2o5oo$fqe$1@ger.gmane.org> (raw)
In-Reply-To: <484F92E5.2080207@cetrtapot.si>
Hi,
Hinko Kocevar wrote:
> Char device seems to work..
Yes, sorry for being not precise.
Coping a jffs2 image (in 2.6.25) at /dev/mtd5 and mouting the same one
in 2.6.21 (/dev/mtdblock5) works. So accessing the flash as a character
device works.
> What is the ls -l /dev/mtdblock5 output?
As expected:
$ ls -l /dev/mtdblock5
brw-rw---- 1 root root 31, 5 Jan 1 1970 /dev/mtdblock5
> Also could you try:
> mount -t jffs2 /dev/mtdblock5 /mnt/flash
I also tried that:
# mount -t jffs2 /dev/mtdblock5 /mnt/flash
mount: mounting /dev/mtdblock5 on /mnt/flash failed: Invalid argument
But it seems like it has to do something with the block device driver
mapping:
$ head -n 2 /dev/mtdblock5 | hexdump -C
head: /dev/mtdblock5: No such device or address
Thanks,
Andre
next prev parent reply other threads:[~2008-06-11 9:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-11 8:44 Mounting mtd block device raises "Block device required" Andre Puschmann
2008-06-11 8:55 ` Hinko Kocevar
2008-06-11 9:26 ` Andre Puschmann [this message]
2008-06-11 9:38 ` Nancy
2008-06-11 9:55 ` Hinko Kocevar
2008-06-11 10:33 ` Andre Puschmann
2008-06-12 13:08 ` Andre Puschmann
-- strict thread matches above, loose matches on Subject: below --
2009-02-05 18:10 Fabiano Ferronato
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='g2o5oo$fqe$1@ger.gmane.org' \
--to=andre.puschmann@stud.tu-ilmenau.de \
--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