Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jan 2006 05:15:32 -0800
From:      "Michael S. Eubanks" <mse_software@charter.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: Page fault, GEOM problem??
Message-ID:  <1138022132.44108.36.camel@yak.mseubanks.net>
In-Reply-To: <43F5DFD5-2584-4B9D-AAA5-2B8B5B3529FF@stromnet.org>
References:  <991F35AA-151B-4AEA-82BD-5F4AEDF28424@stromnet.org> <a78074950511180117r6d64db25o4ae37c0c5998e002@mail.gmail.com> <74994962-5050-47BD-897B-DE3880B9EBD5@stromnet.org> <a78074950511180943r57fd9d03r64efcc705001bc35@mail.gmail.com> <A6F22EE2-B1E6-44B5-B4C2-E77E1A24FEBB@stromnet.org> <1132353600.903.19.camel@genius1.i.cz> <20051118231351.GA46946@holestein.holy.cow> <1132356649.903.32.camel@genius1.i.cz> <8A4DAD5D-44CF-42DD-A113-340226284533@stromnet.org> <268C3DEB-7569-4C18-BC35-1C5F36EF8EC4@stromnet.org> <1137967081.40786.36.camel@yak.mseubanks.net> <1DA0C9DF-BB42-415B-8851-FFB91CD0F1AC@stromnet.org> <1137975447.40786.83.camel@yak.mseubanks.net> <44B2CAEF-A9E7-454B-A232-292B58083952@stromnet.org> <1138006431.44108.15.camel@yak.mseubanks.net> <43F5DFD5-2584-4B9D-AAA5-2B8B5B3529FF@stromnet.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2006-01-23 at 10:24 +0100, Johan Ström wrote:
> On 23 jan 2006, at 09.53, Michael S. Eubanks wrote:
> 
> > On Mon, 2006-01-23 at 06:43 +0100, Johan Ström wrote:
> >
> > Wish I could be of more help. :)  Have you tried to toggle the sysctl
> > dma flags?  I've seen similar posts in the past with read timeouts
> > caused from dma being enabled.
> >
> > # sysctl -a | grep dma
> > ...
> > hw.ata.ata_dma: 1      <=== Try turning this one off (1 ==> 0).
> > hw.ata.atapi_dma: 1
> > ...
> 
> Disabling DMA, wouldnt that give me pretty bad performance?
> 
> > -Michael
> >

If it was not the problem, you could always change it back.  It *should*
be possible to simply set the control mode on those two disks (``man
rc.early'', ``man atacontrol'').  Unfortunately, the problem is noted as
errata in several FreeBSD versions tending to appear on SATA disks.  I
believe this is also a problem with some linux setups.  If you google
``FreeBSD hw.ata.ata_dma RELEASE'' you will eventually find the
following page relating to Asus motherboards:

http://www.ryxi.com/freebsd/63-668-write-dma-other-similar-errors-read.shtml

I picked it out based on the following line in the dmesg output:

> Nov 29 20:46:09 elfi kernel: ACPI APIC Table: <ASUS   A7V333  >

I'd say it's worth a shot.  You might even try turning both the flags
off temporarily to see what you get.  Your guess is as good as mine.  :)


-Michael



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