From owner-freebsd-stable Mon Feb 26 1:44:19 2001 Delivered-To: freebsd-stable@freebsd.org Received: from asterix.proact.no (mail.proact.no [62.92.24.68]) by hub.freebsd.org (Postfix) with ESMTP id 8C9E337B491 for ; Mon, 26 Feb 2001 01:44:13 -0800 (PST) (envelope-from Tom.Lislegaard@proact.no) Received: from tom.proact.no (TOM [192.168.200.92]) by asterix.proact.no with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id F2QFTR62; Mon, 26 Feb 2001 10:46:51 +0100 Date: Mon, 26 Feb 2001 10:43:29 +0100 (CET) From: X-X-Sender: To: Marco Rodrigues Cc: Subject: Re: IBM DeskStar READ timeout errors In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 25 Feb 2001, Marco Rodrigues wrote: > I've done that already. It's fine. The drive works fine when I > change the kernel state for hw.atamodes from dma to pio, but it's slow as > hell. (obviously) > Assuming your motheboard and/or disks can't cope with the higher udmamodes, you could use the following patch to /sys/dev/ata/ata-dma.c to at least run UDMA33. (should give you a 2-3 times performance increase over pio-mode). -tom *** ata-dma.c.orig Fri Jan 5 16:23:23 2001 --- ata-dma.c Wed Jan 17 20:59:22 2001 *************** *** 106,111 **** --- 106,116 ---- udmamode = 2; } + /* limit to UDMA33 */ + if (udmamode > 2) { + udmamode = 2; + } + switch (scp->chiptype) { case 0x244b8086: /* Intel ICH2 */ > -- > "Sanity is calming, but madness is far more interesting." > > On Sun, 25 Feb 2001, John Mitchell wrote: > > > At 11:07 02/25/2001 -0500, you wrote: > > >Greetings List, > > > > > > I recently bought a 45 GB IBM Deskstar. As with all new HD's I ran > > >some tests on it. Bonnie for example. The problem I keep getting is the > > >following, and it only happens when I try reading from the disk. > > > > > >ad5: READ command timeout - resetting > > >ata2: resetting devices.. > > > > > > > > >The machine locks up and I have to run FSCK on the disk. The disk works > > >fine in Windows 2000 on the same machine. Does anyone know of any issues > > >is FreeBSD or configuration options I should have enabled/disabled? I'm > > >using FreeBSD 4.2 - STABLE with the basic kernel added, with the > > >exception of some options but those only deal with firewall/network > > >options. > > > > I would strongly suggest downloading the Drive Fitness Test > > application available from the IBM tech support site at > > http://www.storage.ibm.com/techsup/hddtech/welcome.htm > > to ensure you don't have some obscure drive hardware problem. > > This download creates a self booting diskette to run the utility. > > > > Good luck. > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-stable" in the body of the message > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message