From owner-freebsd-stable@FreeBSD.ORG Mon Jan 23 19:01:48 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D1AF016A41F for ; Mon, 23 Jan 2006 19:01:48 +0000 (GMT) (envelope-from johan@stromnet.org) Received: from pne-smtpout1-sn1.fre.skanova.net (pne-smtpout1-sn1.fre.skanova.net [81.228.11.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 171AE43D55 for ; Mon, 23 Jan 2006 19:01:47 +0000 (GMT) (envelope-from johan@stromnet.org) Received: from elfi.stromnet.org (81.236.252.191) by pne-smtpout1-sn1.fre.skanova.net (7.2.069.1) id 43D4929800032286; Mon, 23 Jan 2006 20:01:45 +0100 Received: from localhost (localhost [127.0.0.1]) by elfi.stromnet.org (Postfix) with ESMTP id 057CC61C8A; Mon, 23 Jan 2006 20:01:44 +0100 (CET) Received: from elfi.stromnet.org ([127.0.0.1]) by localhost (elfi.stromnet.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00657-02; Mon, 23 Jan 2006 20:01:41 +0100 (CET) Received: from [10.10.0.6] (vpn1-c1.stromnet.org [10.10.0.6]) by elfi.stromnet.org (Postfix) with ESMTP id 6F28F61C7F; Mon, 23 Jan 2006 20:01:41 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v746.2) In-Reply-To: <1138022132.44108.36.camel@yak.mseubanks.net> References: <991F35AA-151B-4AEA-82BD-5F4AEDF28424@stromnet.org> <74994962-5050-47BD-897B-DE3880B9EBD5@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> <1138022132.44108.36.camel@yak.mseubanks.net> Content-Type: multipart/signed; micalg=sha1; boundary=Apple-Mail-11-821922183; protocol="application/pkcs7-signature" Message-Id: <4D303E57-DBA6-4936-9506-4F40ACE30AA8@stromnet.org> From: =?ISO-8859-1?Q?Johan_Str=F6m?= Date: Mon, 23 Jan 2006 20:01:51 +0100 To: mse_software@charter.net, freebsd-stable@freebsd.org X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: amavisd-new at stromnet.org X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Page fault, GEOM problem?? (also: using a ASUS A7N8X-XE/nForce2 utlra400?) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jan 2006 19:01:49 -0000 --Apple-Mail-11-821922183 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed On 23 jan 2006, at 14.15, Michael S. Eubanks wrote: > On Mon, 2006-01-23 at 10:24 +0100, Johan Str=F6m wrote: >> On 23 jan 2006, at 09.53, Michael S. Eubanks wrote: >> >>> On Mon, 2006-01-23 at 06:43 +0100, Johan Str=F6m wrote: >>> >>> Wish I could be of more help. :) Have you tried to toggle the =20 >>> 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 <=3D=3D=3D Try turning this one off (1 =3D=3D> = 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 =20 > *should* > be possible to simply set the control mode on those two disks (``man > rc.early'', ``man atacontrol''). Unfortunately, the problem is =20 > 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-=20 > 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: > > 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 =20 > mine. :) > Okay, tried turning it of.. The disk IO speeds went even lower... =20 whoping 9-10MB/s and lots of load ;) And since the crashes comes randomly (haven't been able to reproduce =20 them "on deamon") i dont realy want to run it like this.. ;) I did another test. I moved the controller card and the disks to my =20 MSI K8N Neo motherboard (with AMD64 3200+ etc), and immediatly I got =20 write speeds of ~49MB/s: $ dd if=3D/dev/zero of=3Dbigfile.zero bs=3D1024 count=3D1000024 1024024576 bytes transferred in 21.974227 secs (46601164 bytes/sec) Compared to $ dd if=3D/dev/zero of=3Dbigfile.zero bs=3D1024 count=3D1000024 1024024576 bytes transferred in 78.897708 secs (12979142 bytes/sec) All tests where done in /dev/mirror/gm0s1f on /usr (ufs, NFS exported, local, soft-updates, =20 acls) Soo.. I guess this mobo is just plain fucked and needs to be replaced =20= with something newer ;) Bad thing is, this is Socket A.. so there isnt so many choices left =20 in the mobo market.. However, i found a ASUS A7N8X-XE NF ULTRA 400 SOCKET A with Nforce2 =20 Ultra 400 chipset.. Does anyone have any knowledge about this chipset? How well does it work with Fbsd? I'll do some googling but if someone =20= is using this successfully or unsuccessfully, please let me know :) -- Johan= --Apple-Mail-11-821922183--