From: Angelo Dureghello <angelo@sysam.it>
To: linux-mtd@lists.infradead.org
Subject: squashfs: issue mounting with dma enabled
Date: Sun, 27 May 2018 20:58:29 +0200 [thread overview]
Message-ID: <20180527185828.GC17528@jerusalem> (raw)
Dear all,
i am testing a new dma driver, named mcf-edma, for the
ColdFire mcf5441x family of SoC's. The driver is still
by the way under approval on dmaengine mailing list.
https://www.spinics.net/lists/dmaengine/msg15416.html
Mainly, i am testing it with fsl-dspi.c, reading by an
spi-nor flash.
With DMA enabled, mounting a simple 200KB squashfs i get:
/ # mount /dev/mtdblock2 squashfs
[ 1186.310000] SQUASHFS error: squashfs_read_data failed to read block 0x42e7d
[ 1186.310000] SQUASHFS error: Unable to read metadata cache entry [42e7d]
[ 1186.320000] SQUASHFS error: Unable to read inode 0x17dc
mount: mounting /dev/mtdblock2 on squashfs failed: Input/output error
>From some traces,
spi frame lengths seems fixed to 517, and the read length is always 517.
While, with same setup (DMA enabled) if i read a predefined pattern
by "hexdump -C -n4096 /dev/mtdblock2" i read perfectly the written
pattern.
Every help is appreciated,
Regards,
Angelo Dureghello
reply other threads:[~2018-05-27 19:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20180527185828.GC17528@jerusalem \
--to=angelo@sysam.it \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.