From owner-freebsd-questions@FreeBSD.ORG Sat Aug 25 08:22:33 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F59E16A417 for ; Sat, 25 Aug 2007 08:22:33 +0000 (UTC) (envelope-from b.movaqar@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.179]) by mx1.freebsd.org (Postfix) with ESMTP id 4546C13C468 for ; Sat, 25 Aug 2007 08:22:31 +0000 (UTC) (envelope-from b.movaqar@gmail.com) Received: by wa-out-1112.google.com with SMTP id m33so1222331wag for ; Sat, 25 Aug 2007 01:22:30 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OyywZpe6FCiDtpBRPHGacEKz3aG2ITRrlDVHXQQI+OBFERvUoN5lU4HELV3io2wp9AMwTOdYS5JWAddIiJ6hPqcxw47W4m8WM4Axy0aXNClMCN2Tp8BGKxhQeowyzpzyers9pKkRUz+SkGrEZu8zTQZphG9vKvrVD/CYNR8+fDE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Kvsl24YoLk2u/dT9LwXGrK0wGOiNGBjdBRT2Jq+DTEs0XGBijw2ni5Mst5Ry4En9JOsGOMpsCa0ON31vH+Ox2pzfj4Bd8YLHxcsOuZPTepfO894RA1LHRATVD/yVou3Ho5cZWHDYges8hH/oYgmSOPKyl4RiQksol+vpONvqcCI= Received: by 10.115.108.1 with SMTP id k1mr2178404wam.1188030150548; Sat, 25 Aug 2007 01:22:30 -0700 (PDT) Received: by 10.114.132.13 with HTTP; Sat, 25 Aug 2007 01:22:30 -0700 (PDT) Message-ID: <6d62f69a0708250122l1bf53d84p73d64f17837a535@mail.gmail.com> Date: Sat, 25 Aug 2007 11:52:30 +0330 From: "Bahman M." To: "Tamouh H." In-Reply-To: <0f6001c7e3fa$4261e6f0$6900a8c0@tamouh> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6d62f69a0708210419t441042caxe36fcd81339b13e8@mail.gmail.com> <0f6001c7e3fa$4261e6f0$6900a8c0@tamouh> Cc: freebsd-questions@freebsd.org Subject: Re: READ_DMA Error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Aug 2007 08:22:33 -0000 > > During FreeBSD 6.2 installation, the process failed because > > of errors like the one below: > > READ_DMA UDMA .... ICRC error LBA=37505132 > > > > I managed to install by setting hw.ata.ata_dma=0 at boot time > > but the same errors occur after installation and at boot time > > so I had to put hw.ata.ata_dma=0 in loader.conf and now the > > system is working. > > > > I checked my hard disk which a 80GB Western Digital+ > > thoroughly and there were no errors reported (using fsck in > > single user mode). Also I used to install Fedora Linux on > > this disk without any problems. > > > > It looks that disabling DMA caused my disk to work with lower > > performance. Am I right? If yes, are there any solutions to > > eliminate those READ_DMA errors while DMA is enabled? > > > > PS: > > Motherboard: ASUS A7V8X-X > > CPU: Athlon XP 2500 at 1833MHz > > $ uname -ai > > FreeBSD attila 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 > > UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC > > i386 GENERIC > > Typically, I've seen the READ_DMA error when a hard drive is going bad or > something wrong with the hardware (power supply is failing). But it could be > as you've described. I tested with another hard disk, the one on which I'd installed FreeBSD in the past. I put it on another IDE channel but the same things happened. Now I wonder if it's my IDE controller which has problems. Some information about the hardware: # dmesg | grep -E "^ac?d[[:digit:]]" ad0: 76319MB at ata0-master PIO4 ad1: 19540MB at ata0-slave PIO4 acd0: DVDR at ata1-master UDMA66 acd1: DVDROM at ata1-slave UDMA33 # sysctl -a | grep ata_dma hw.ata.ata_dma: 0 # sysctl -a | grep atapi hw.ata.atapi_dma: 1 Bahman