From owner-freebsd-scsi@FreeBSD.ORG Tue Apr 24 18:32:02 2007 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 265B316A400 for ; Tue, 24 Apr 2007 18:32:02 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.227]) by mx1.freebsd.org (Postfix) with ESMTP id D57E613C44C for ; Tue, 24 Apr 2007 18:32:01 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so2242142wxc for ; Tue, 24 Apr 2007 11:32:01 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pLMxk7BxYvnb8ru1Nv98UqXAuH6P5/UcQxw6VHP5ISwybvzV/JhSdtAj3z5pMBehtNNAHHvqs1522BUfOZs79wgtmgcivlpk83AM0FlaP9zSZeovm/zKXeyHSCJrK4uy3Ilr2kbtNEyg640SF4poJ3SgTfEWloNN4WTs5ZvPyOM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dtrYbhSAm3d0SMA+ZMbyKoCNGp+wPKZ12mBgkO4I+Ciq/IRyUZO8pTKjtxuU07UNws0EledyW2w2CSJxjOPeJs29K0GtpWtfY+nYiLvbN96nF0XYSy2Pr5XJDE1MOtqCuyAhz5lNwtzrW6wMwrwX7OBvU1Xm1T/Hb4MQZVaK9p0= Received: by 10.90.105.19 with SMTP id d19mr2586123agc.1177439520947; Tue, 24 Apr 2007 11:32:00 -0700 (PDT) Received: by 10.100.231.9 with HTTP; Tue, 24 Apr 2007 11:32:00 -0700 (PDT) Message-ID: <8cb6106e0704241132vfa6b312s3b4cbea0c823b796@mail.gmail.com> Date: Tue, 24 Apr 2007 11:32:00 -0700 From: "Josh Carroll" To: "Thomas Quinot" In-Reply-To: <20070424165843.GD7087@melamine.cuivre.fr.eu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8cb6106e0703261318o120c620ar6b2461802632fc01@mail.gmail.com> <4608A35E.3010404@samsco.org> <8cb6106e0703262157m7fd0ae96p3bb5368af797dc6b@mail.gmail.com> <460AA9E3.4030106@samsco.org> <8cb6106e0703281531k4c5bebecp5566c64c8f458a74@mail.gmail.com> <8cb6106e0704030039if46397fvfc993d9c9e19e1fc@mail.gmail.com> <8cb6106e0704032107w457026b1t1e04ed11008af48a@mail.gmail.com> <20070424162008.GA7087@melamine.cuivre.fr.eu.org> <8cb6106e0704240929j38178df6k1b6391446c69a2ae@mail.gmail.com> <20070424165843.GD7087@melamine.cuivre.fr.eu.org> Cc: freebsd-scsi@freebsd.org, bug-followup@freebsd.org Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: josh.carroll@gmail.com List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Apr 2007 18:32:02 -0000 > *And* you mentioned, very early in this PR, that disabling DMA > altogether made the problem disappear. So, let's try something: enable > DMA only for READ and WRITE commands (where it's most useful). > > Apparently it's not a completely unhead-of situation that some drives > have problems with DMA for commands other than READ and WRITE, see: > http://www.mail-archive.com/linux-ide@vger.kernel.org/msg05425.html > Hi Thomas, Unfortunately, the other patches along with this produced a panic about a MTX not owned, and removing the CAMDEBUG options resulted in a different panic about ATAPICAM not locked. I'll look more closely tonight to see if I can get the kernel to load without a panic. Thanks, Josh