Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2012 14:43:48 +0200
From:      Kristof Provost <kristof@sigsegv.be>
To:        Ian Lepore <freebsd@damnhippie.dyndns.org>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: arm/158950: arm/sheevaplug fails fsx when mmap operations are enabled
Message-ID:  <20120426124347.GL46643@thebe.jupiter.sigsegv.be>
In-Reply-To: <1335364474.66865.36.camel@revolution.hippie.lan>
References:  <201204250920.q3P9KDDc093458@freefall.freebsd.org> <1335364474.66865.36.camel@revolution.hippie.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2012-04-25 08:34:34 (-0600), Ian Lepore <freebsd@damnhippie.dyndns.org> wrote:
> Whenever I run into IO corruption that comes in 32-byte chunks I
> immediately suspect trouble in the busdma cacheline flush code.  A
> useful first step in narrowing that down is to change the data cache
> from write-back to write-through mode and see if the symptoms change.  I
> think for a sheeva cpu you'd do that in pmap_pte_init_arm10() in
> sys/arm/arm/pmap.c.  Change the xxx_cache_mode vars to be the same as
> they are in the pmap_pte_init_arm9() function just above it.
> 
I've had to disable it in pmap_pte_init_generic() rather than
pmap_pte_init_arm10(), but that does seem to prevent the corruption.

Regards,
Kristof



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120426124347.GL46643>