Highmem issues with MMC filesystem
Nicolas Pitre
nico at fluxnic.net
Fri Mar 19 09:17:19 EDT 2010
On Fri, 19 Mar 2010, Jamie Lokier wrote:
> Nicolas Pitre wrote:
> > Data read from a DMA based block device is corrupted in memory and
> > causing all sorts of misbehavior such as segmentation faults in user
> > space, or EXT2 complaining about broken filesystem metadata.
>
> I doubt it is related, but just in case: I've seen similar on a
> no-doubt completely unrelated ARM9 system on now-ancient kernels:
> occasional ext3 metadata corruption.
>
> In my case it was due to a bug in the chip's IDE driver, which did:
[...]
Driver bugs would tend to be visible with or without highmem in play.
And in this case, the same SATA driver is used on two different system,
one being ARMv5 with absolutely no issues with highmem, and the other
being ARMv6 with highmem problems. So that pretty much rules out IDE
driver bugs.
Furthermore the same highmem issues were reported to occur on an OMAP
system with the filesystem on a MMC card i.e. different CPU manufacturer
with a different block device driver.
So the issue really seems to be about ARMv5 (works) vs ARMv6 (doesn't
work), which makes some sense given the huge difference between both
cache models.
Nicolas
More information about the linux-arm-kernel
mailing list