From owner-freebsd-current Thu Mar 9 11:33: 6 2000 Delivered-To: freebsd-current@freebsd.org Received: from zibbi.mikom.csir.co.za (zibbi.mikom.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id 216DF37B64D for ; Thu, 9 Mar 2000 11:32:55 -0800 (PST) (envelope-from jhay@zibbi.mikom.csir.co.za) Received: (from jhay@localhost) by zibbi.mikom.csir.co.za (8.9.3/8.9.3) id VAA00712; Thu, 9 Mar 2000 21:32:19 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200003091932.VAA00712@zibbi.mikom.csir.co.za> Subject: Re: ata, DMA and the install floppies In-Reply-To: <200003091923.UAA20462@freebsd.dk> from Soren Schmidt at "Mar 9, 2000 08:23:33 pm" To: sos@freebsd.dk (Soren Schmidt) Date: Thu, 9 Mar 2000 21:32:19 +0200 (SAT) Cc: jhay@mikom.csir.co.za (John Hay), freebsd-current@FreeBSD.ORG (FreeBSD-current) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > > I have been trying to install yesterday's 4.0 snap on a no-name brand > > motherboard with the VIA chipset, but I'm running in some problems. I > > suspect there is a problem with the DMA. The error I'm getting when the > > disk is newfs'ed is a repeating: > > > > ad0: WRITE command timeout - resetting > > ata0: resetting devices .. done > > ad0: WRITE command timeout - resetting > > ata0: resetting devices .. done > > ... > > > > It seems that it is just going on and on. Shouldn't it back down to non > > DMA mode after a while? Is there a way to disable the DMA on the install > > floppies? > > It should back down after 3 retries... But is is 3 retries pr request, > so say it gets through on the 2 retry each time this will continue.. > I dont know if there is access to the sysctl knobs from the emergency > shell, but that would be a solution... Well it is been doing fsck for more than an hour now. :-) This is before the emergency shell is opened, but if I remember correctly, sysctl is not part of tools available. > > > Part of the probe looks like this: (written down by hand) > > > > atapci0: port 0xe000 - 0xe00f at device 7.1 on pci0 > > ata0: at 0x1f0 irq 14 on atapci0 > > ... > > ad0: 6204MB [13446/15/63] at ata0-master using UDMA33 > > Hmm, wierd, did this hardware run FreeBSD before ?? A similar system did run FreeBSD-3.4, but I never enabled DMA on it. I'll try to install 3.4 on this one and see. John -- John Hay -- John.Hay@mikom.csir.co.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message