Date: Mon, 26 Feb 2001 10:43:29 +0100 (CET) From: <Tom.Lislegaard@proact.no> To: Marco Rodrigues <drkangel@drkangel.org> Cc: <freebsd-stable@FreeBSD.ORG> Subject: Re: IBM DeskStar READ timeout errors Message-ID: <Pine.BSF.4.32.0102261035450.480-100000@tom.proact.no> In-Reply-To: <Pine.BSF.4.31.0102251512400.54272-100000@spike.snickers.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.32.0102261035450.480-100000>
