From owner-freebsd-stable Fri Sep 13 7:49:53 2002 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 4FB3637B400 for ; Fri, 13 Sep 2002 07:49:49 -0700 (PDT) Received: from zulu.bprarchitects.com (punt-1.bprarchitects.com [62.49.190.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 077C943EC5 for ; Fri, 13 Sep 2002 07:49:48 -0700 (PDT) (envelope-from cmurdoch@bprarchitects.com) content-class: urn:content-classes:message Subject: FW: ATA Errors with 4.7 prerelease MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Fri, 13 Sep 2002 15:49:46 +0100 Message-ID: <98D8849D7BBCEF44B063404DCD267EC61B3E@zulu.bprarchitects.com> X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ATA Errors with 4.7 prerelease Thread-Index: AcJbMyJ412W/IsznR3WNbJSt3eWGHQAAfabA From: "Cameron Murdoch" To: Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Note: I have send this message three times from another account in the = last 24 hours. I apologise if the other three messages appear before or = after this one! Hi all I am testing RAID 1 mirroring with the aim of replacing my aging NT file server with a FreeBSD box. My test machine is booting off a scsi disk, with the ata drives each having their own channel. root@mail# uname -a FreeBSD mail.macaroon.net 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #0: Wed = Sep 4 11:38:18 GMT 2002 root@mail.macaroon.net:/usr/obj/usr/src/sys/MAIL i386 I created the array with: atacontrol create RAID1 ad0 ad2 Them created a 3Gb partition on ar0 mounted at /raid. root@mail# mount /dev/da0s1a on / (ufs, local) /dev/da0s1f on /tmp (ufs, local, soft-updates) /dev/da0s1g on /usr (ufs, NFS exported, local, soft-updates) /dev/da0s1e on /var (ufs, local, soft-updates) procfs on /proc (procfs, local) /dev/ar0s1e on /raid (ufs, local, soft-updates) Whilst all this was happening I was constantly seeing errors from both ata drives before and after I created the array. kernel: ad0: 39266MB [79780/16/63] at ata0-master = UDMA66 kernel: ad2: 39266MB [79780/16/63] at ata1-master = UDMA66 kernel: ad0: UDMA ICRC error reading fsbn 71 (ad0 bn 71; cn 0 tn 1 sn 8) retrying kernel: ad0: UDMA ICRC error reading fsbn 71 (ad0 bn 71; cn 0 tn 1 sn 8) falling back to PIO mode kernel: ad2: UDMA ICRC error reading fsbn 71 (ad2 bn 71; cn 0 tn 1 sn 8) retrying kernel: ad2: UDMA ICRC error reading fsbn 71 (ad2 bn 71; cn 0 tn 1 sn 8) falling back to PIO mode I then enabled tagged queuing, fetched a copy of the freebsd source into /raid and tried to build it but received the following error: kernel: ad0: UDMA ICRC error reading fsbn 365535 of 0-31 (ad0 bn 365535; = cn 362 tn 10 sn 9)ad0: invalidating queued requests kernel: ad0: no request for tag=3D0 kernel: ad0: invalidating queued requests kernel: ad0: READ command timeout tag=3D0 serv=3D1 - resetting kernel: ad0: invalidating queued requests kernel: ata0: resetting devices .. ad0: invalidating queued requests kernel: ad0: no request for tag=3D0 kernel: ad0: invalidating queued requests kernel: ad0: READ command timeout tag=3D0 serv=3D1 - resetting kernel: ad0: invalidating queued requests kernel: ata0: resetting devices .. ad0: invalidating queued requests kernel: ad0: no request for tag=3D0 kernel: ad0: invalidating queued requests kernel: ad0: READ command timeout tag=3D0 serv=3D1 - resetting kernel: ad0: invalidating queued requests kernel: ad0: trying fallback to PIO mode kernel: ata0: resetting devices .. ad0: invalidating queued requests I have turned tags off again and am not particularly bothered about them not even sure if the disks support tags! However it would be nice to get UDMA working. I realise that this is an=20 issue that has been discussed frequently on this list and others and if=20 I have missed something I apologise. This list has provided excellent support despite the fact that I have only posted to it once in about two years! I can provided any information that anybody wants to help them solve it. Thanks Cam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message