From owner-freebsd-current@FreeBSD.ORG Wed Aug 27 23:24:16 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2532016A4BF for ; Wed, 27 Aug 2003 23:24:16 -0700 (PDT) Received: from spider.deepcore.dk (cpe.atm2-0-56339.0x50c6aa0a.abnxx2.customer.tele.dk [80.198.170.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E76243F85 for ; Wed, 27 Aug 2003 23:24:12 -0700 (PDT) (envelope-from sos@spider.deepcore.dk) Received: from spider.deepcore.dk (localhost.deepcore.dk [127.0.0.1]) by spider.deepcore.dk (8.12.9/8.12.9) with ESMTP id h7S6O8BN020811; Thu, 28 Aug 2003 08:24:08 +0200 (CEST) (envelope-from sos@spider.deepcore.dk) Received: (from sos@localhost) by spider.deepcore.dk (8.12.9/8.12.9/Submit) id h7S6O8nr020810; Thu, 28 Aug 2003 08:24:08 +0200 (CEST) From: Soren Schmidt Message-Id: <200308280624.h7S6O8nr020810@spider.deepcore.dk> In-Reply-To: <200308271914.59403.mistry.7@osu.edu> To: Anish Mistry Date: Thu, 28 Aug 2003 08:24:07 +0200 (CEST) X-Mailer: ELM [version 2.4ME+ PL99f (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 X-mail-scanned: by DeepCore Virus & Spam killer v1.3 cc: freebsd-current@FreeBSD.ORG Subject: Re: ATAng no PIO fallback? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 06:24:16 -0000 It seems Anish Mistry wrote: -- Start of PGP signed section. > On Tuesday 26 August 2003 10:27 pm, Anish Mistry wrote: > > After removing atapicam from my kernel, so no panics on boot I decided to > see > > it DMA was fixed for my CD/DVD combo drive. I changed the > > hw.ata.atapi_dma="0" > > to hw.ata.atapi_dma="1" in my /boot/loader.conf. After a reboot I tried to > > access my cdrom drive, and got the following error messages, which is very > > similar to the messages when trying to dma before ATAng: > > Aug 26 22:09:34 littleguy kernel: acd0: WARNING - READ_CD recovered from > > missing interrupt > > Aug 26 22:09:34 littleguy kernel: acd0: WARNING - READ_CD UDMA ICRC error > > (retrying request) > > > > The problem is that before with DMA enabled it would try dma a few times > fail, > > and then fall back to PIO, whcih though annoying still left the drive in a > > useable condition. Where as now the drive just stays stuck and unusable. > > > > ..... > Anyone thinking about looking into this? I'll just submit a PR, in a day or 2 > if there is no resposne. > Thanks, There is no PIO fallback in ATAng (so far), if you know that your ATAPI device doesn't do DMA why on earth do you enable it ? -Søren