From owner-freebsd-current Wed Dec 22 1:31:53 1999 Delivered-To: freebsd-current@freebsd.org Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (Postfix) with ESMTP id 147591552A for ; Wed, 22 Dec 1999 01:31:23 -0800 (PST) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.9.3/8.9.1) id KAA09604; Wed, 22 Dec 1999 10:31:19 +0100 (CET) (envelope-from sos) From: Soren Schmidt Message-Id: <199912220931.KAA09604@freebsd.dk> Subject: Re: Problems with the ATA-driver In-Reply-To: <3544959C04E1D211809E00A0C9EA19C24726D3@EXCHANGE_SERVER> from Pim van Grol at "Dec 22, 1999 09:55:28 am" To: Pim@ANDID.NL (Pim van Grol) Date: Wed, 22 Dec 1999 10:31:19 +0100 (CET) Cc: havoc@Cal30B054.student.utwente.nl, freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It seems Pim van Grol wrote: > For your information: > > I encountered the same problem on a MVP3 board (Epox ep-mvp3g-m) > with via vt82c596, which worked well untill 13-12-99. Matrox HD. Are you sure you mean 596 ?? that is NOT supported (yet). > Correctly interpreted as doing UDMA33. From version 1.23 of > ata-dma.c the DMA mode was not properly detected and it tried > to set WDMA2 - freezing the system with the 'lost disk contact' > message. > It seems that for some reason the 'ata_find_dev()' results are > not appreciated. > I repaired it by reverting some changes: > > line 274-277: > /* UDMA2 mode only on rev 1 and better 82C586 & 82C586 chips */ > if (udmamode >= 2 && pci_read_config(scp->dev, 0x08, 1) >= 0x01 /* > && > (ata_find_dev(scp->dev, 0x05861106) || > ata_find_dev(scp->dev, 0x06861106)) */ ) { > > line 294: > /* if ((pci_read_config(scp->dev, 0x08, 1) == 0x06) && */ > if (ata_find_dev(scp->dev, 0x06861106) && > > I have yet to test the latest revision. Please do... -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message