From owner-freebsd-current@FreeBSD.ORG Sat Sep 2 01:37:05 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 0201416A4DD for ; Sat, 2 Sep 2006 01:37:05 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D6DF43D46 for ; Sat, 2 Sep 2006 01:37:04 +0000 (GMT) (envelope-from josh.carroll@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so1217430wxd for ; Fri, 01 Sep 2006 18:37:03 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=B0Wj0XqvXj9s2f8se0HWBRRvvdnJZTsftz9Ge7AYXhGrfQUeZSnqqf5LQOIg1pCIeCUNbWDB2K9sgRs8jJdjiwxr0xHJKJXrjZ4zXuXBhldjtEMwc6dIys4/jxl6/bkbYpVhknU/ewRYE6a3TWFbn/pEnYlySVoQADhwB2+VSXQ= Received: by 10.90.78.16 with SMTP id a16mr909071agb; Fri, 01 Sep 2006 18:37:03 -0700 (PDT) Received: by 10.90.56.6 with HTTP; Fri, 1 Sep 2006 18:37:03 -0700 (PDT) Message-ID: <8cb6106e0609011837r7af17fe1s67c5f5c514869a52@mail.gmail.com> Date: Fri, 1 Sep 2006 18:37:03 -0700 From: "Josh Carroll" Sender: josh.carroll@gmail.com To: freebsd-current@freebsd.org In-Reply-To: <8cb6106e0608311341v2170440fy6247cfb01db47490@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <8cb6106e0608301317y21a131a4q6fe78b3a2565a9b7@mail.gmail.com> <8cb6106e0608301940j63391a40mdb92b4df2d5ea4a1@mail.gmail.com> <8cb6106e0608311341v2170440fy6247cfb01db47490@mail.gmail.com> X-Google-Sender-Auth: 4db3ab6df44faf96 Subject: Re: atapi/IDE DVD problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 02 Sep 2006 01:37:05 -0000 Further debugging, and probably something I should have done FIRST, reveals that this is a DMA problem. Setting: hw.ata.atapi_dma=3D0 in /boot/loader.conf works around the problem. I found a thread where S=F8ren fixed a problem with atapi DMA back in January/February (and the patch looks like it was merged at some point): http://lists.freebsd.org/pipermail/freebsd-current/2006-January/060236.html I believe I'm having a problem with this JMicron controller because it's not being identified as a legacy device by the ata_legacy function. The only reason I can think of for this is that it's a 3rd party card and showing up as: atapci0@pci2:0:0: In pciconf -l -v output. I don't know if it's entirely related (indirectly perhaps?) to the IRQ of the ata controller, but in my case it's on irq16 not irq14 or irq15. Is there a quick workaround for this? Or am I stuck without DMA on the DVD drive until S=F8ren has time to work on the full solution mentioned in the thread above? Thanks and sorry for all the replies. I figured the more info I can provide, the easier it is to help. Regards, Josh