From: Eugene Surovegin <ebs@ebshome.net>
To: Marco Schramel <Schramel.Linux@go.bartec.de>
Cc: PPC_LINUX <linuxppc-embedded@ozlabs.org>
Subject: Re: mtd mount problem
Date: Thu, 21 Apr 2005 01:50:37 -0700 [thread overview]
Message-ID: <20050421085037.GB8189@gate.ebshome.net> (raw)
In-Reply-To: <200504211117.25584.Schramel.Linux@go.bartec.de>
On Thu, Apr 21, 2005 at 11:17:25AM +0200, Marco Schramel wrote:
> Hi all,
>
> in our system (MPC8270, 2.4.25) i can't mount the mtd devices (two AM29LV256MH)
>
> I created a map based on tqm8260.c. I can use the "eraseall" command and i can write the mtdx devices.
> But if i try to mount the mtd devices (jffs or jffs2) then it fails.
> Output:
> The eraseall command
> /dev # eraseall /dev/mtd1
> MTD_open
> MTD_ioctl
> MTD_write
> Erased 8192 Kibyte @ 0 -- 100% complete.
> MTD_close
>
> try to write
> /dev # date > /dev/mtd1
> MTD_open
> MTD_ioctl
> MTD_write
> MTD_close
>
> ok, now try onesmore
> /dev # date > /dev/mtd1
> MTD_open
> MTD_ioctl
> MTD_write
> MTD do_write_buffer(): software timeout
> MTD_close
> /dev #
>
> It all seems to be fine, but...
>
> dev # mount -t jffs2 /dev/mtdblock1 /mnt/Flash1
> mount: Mounting /dev/mtdblock1 on /mnt/Flash1 failed: No such device
>
> I checked out the Majors of my ramdisk, they are ok.
ramdisk? why?
Check that you have CONFIG_MTD_BLOCK enabled in your .config.
Also, check that you have /dev/mtdblock1 node in /dev directory on the
target.
--
Eugene
next prev parent reply other threads:[~2005-04-21 8:50 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-21 9:17 mtd mount problem Marco Schramel
2005-04-21 8:50 ` Eugene Surovegin [this message]
2005-04-21 9:44 ` Marco Schramel
2005-04-21 15:47 ` Eugene Surovegin
2005-04-21 9:54 ` Daniel Ann
2005-04-21 10:32 ` Wolfgang Denk
2005-04-21 13:02 ` Marco Schramel
2005-04-22 1:31 ` Jörn Engel
2005-04-22 1:53 ` Eugene Surovegin
2005-04-22 1:55 ` Eugene Surovegin
2005-04-22 2:11 ` Jörn Engel
2005-04-21 14:44 ` Kylo Ginsberg
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=20050421085037.GB8189@gate.ebshome.net \
--to=ebs@ebshome.net \
--cc=Schramel.Linux@go.bartec.de \
--cc=linuxppc-embedded@ozlabs.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;
as well as URLs for NNTP newsgroup(s).