From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755565AbXLJJpn (ORCPT ); Mon, 10 Dec 2007 04:45:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752112AbXLJJpf (ORCPT ); Mon, 10 Dec 2007 04:45:35 -0500 Received: from wa-out-1112.google.com ([209.85.146.182]:57844 "EHLO wa-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752006AbXLJJpd (ORCPT ); Mon, 10 Dec 2007 04:45:33 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=Vr/7DX3i5knAvevfTWVhKRl7l+5B/Gm32wtOLArpcyWzZ14CXcWy8ywXDnznY5mvhzCkSTAjNBmTMAnZLhWa9Pln+Y/bHumeb/9idXvBZINfEwOqbzK+5xo7xVcKV7Bo6FNt/av2CFa39+wiQDuB/wBNu6iqY66hcPb0dHZG8xU= Message-ID: <475D0AAC.3030408@gmail.com> Date: Mon, 10 Dec 2007 18:45:16 +0900 From: Tejun Heo User-Agent: Thunderbird 2.0.0.6 (X11/20070801) MIME-Version: 1.0 To: Andrew Morton CC: Parag Warudkar , linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, Tom Lanyon Subject: Re: Failure with SATA DVD-RW References: <20071206164043.589290f4.akpm@linux-foundation.org> In-Reply-To: <20071206164043.589290f4.akpm@linux-foundation.org> X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Andrew Morton wrote: > (argh, shit, resent. Please don't massage the cc list. Do reply-to-all) > > On Thu, 6 Dec 2007 01:33:16 +0000 (UTC) > Parag Warudkar wrote: > >> Tom Lanyon gmail.com> writes: >> >>> scsi4: ahci >>> ata5: SATA link up at 1.5 Gbps (SStatus 113 SControl 300) >>> ata5.00: ATAPI, max UDMA/66 >>> ata5.00: qc timeout (cmd 0xef) >>> ata5.00: failed to set xfermode (err_mask=0x104) >>> ata5.00: limiting speed to UDMA/44 >>> ata5: failed to recover some devices, retrying in 5 secs >>> ata5: port is slow to respond, please be patient (Status 0x80) >>> ata5: port failed to respond (30 secs, status 0x80) >>> ata5: COMRESET failed (device not ready) >>> ata5: hardreset failed, retrying in 5 secs >>> ata5: SATA link up at 1.5 Gbps (SStatus 113 SControl 300) >>> ata5.00: ATAPI, max UDMA/66 >>> ata5.00: qc timeout (cmd 0xef) >>> ata5.00: failed to set xfermode (err_mask=0x104) >>> ata5.00: limiting speed to PIO0 >>> ata5: failed to recover some devices, retrying in 5 secs >>> ata5: port is slow to respond, please be patient (Status 0x80) >>> ata5: port failed to respond (30 secs, status 0x80) >>> ata5: COMRESET failed (device not ready) >>> ata5: hardreset failed, retrying in 5 secs >>> ata5.00: ATAPI, max UDMA/66 >>> ata5.00: qc timeout (cmd 0xef) >>> ata5.00: failed to set xfermode (err_mask=0x104) >>> ata5.00: disabled >>> >> Looks like it is trying to set transfer mode to UDMA/66 and failing. After >> that it tried UDMA/44 and failed again. Next UDMA/66 again with unsurprising >> result - failed. After that PIO0 which seems to cause some kind of trouble, >> then it tries UDMA/66 again, and I am not stating the result again :) ! >> >>> Any ideas what to try to get it working under AHCI? >>> >> I recall reading somewhere - the Pioneer drive needs UDMA/33 which it did not >> try in your case - need to some how have it try UDMA/33 but I don't find a >> boot parameter which will do that. So may be adding a quirk for this device to >> limit the xfer mode to 33 may work. >> >> What does your dmesg output for the drives look like when you run in IDE >> compat mode? (Particularly the DMA for this drive?) >> Also, does irqpoll help? -- tejun