From patchwork Thu Mar 25 21:52:42 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Milburn X-Patchwork-Id: 48596 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 4C492B7CF1 for ; Fri, 26 Mar 2010 09:00:56 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753693Ab0CYWAh (ORCPT ); Thu, 25 Mar 2010 18:00:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39282 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753364Ab0CYWA0 (ORCPT ); Thu, 25 Mar 2010 18:00:26 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o2PM0MRE028843 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 25 Mar 2010 18:00:23 -0400 Received: from localhost.localdomain (vpn-10-143.rdu.redhat.com [10.11.10.143]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o2PM0K7u005463 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 25 Mar 2010 18:00:21 -0400 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.13.8/8.13.8) with ESMTP id o2PLqgJs009879; Thu, 25 Mar 2010 16:52:43 -0500 Received: (from dmilburn@localhost) by localhost.localdomain (8.13.8/8.13.8/Submit) id o2PLqgoF009878; Thu, 25 Mar 2010 16:52:42 -0500 Date: Thu, 25 Mar 2010 16:52:42 -0500 From: David Milburn To: Stan Hoeppner Cc: linux-ide@vger.kernel.org Subject: Re: ata2.00: failed to set xfermode (err_mask=0x100), ata2.00: disabled, CD-ROM drive dead Message-ID: <20100325215242.GA9785@localhost.localdomain> References: <4B9EA02F.2070704@hardwarefreak.com> <4B9EC67A.3020201@gmail.com> <4B9ED027.30800@hardwarefreak.com> <4BAAB080.3010401@kernel.org> <4BAB2A94.8010001@hardwarefreak.com> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <4BAB2A94.8010001@hardwarefreak.com> User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 Sender: linux-ide-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ide@vger.kernel.org On Thu, Mar 25, 2010 at 04:19:16AM -0500, Stan Hoeppner wrote: > Tejun Heo put forth on 3/24/2010 7:38 PM: > > Hello, > > > > On 03/16/2010 09:26 AM, Stan Hoeppner wrote: > >> ata2.00: ATAPI: Pioneer CD-ROM ATAPI Model DR-A24X 0102, E1.02, max MWDMA2 > >> ata2.00: failed to set xfermode (err_mask=0x100) > >> TCP cubic registered > >> NET: Registered protocol family 17 > >> Using IPI Shortcut mode > >> rtc_cmos rtc_cmos: setting system clock to 2010-03-10 20:53:54 UTC (1268254434) > >> ata2.00: failed to set xfermode (err_mask=0x100) > >> ata2.00: limiting speed to MWDMA2:PIO3 > >> ata2.00: failed to set xfermode (err_mask=0x100) > > > > AC_ERR_OTHER on SETXFER, that's rare. Maybe the drive needs > > ATA_HORKAGE_NOSETXFER? Can you please post boot log with ide driver? > > Hello Tejun, > > Here is the relevant dmesg output for my kernel with the PIIX IDE driver: > > Linux version 2.6.32.9 (root@greer) (gcc version 4.3.2 (Debian 4.3.2-1.1) ) > #1 SMP Wed Mar 17 20:21:58 CDT 2010 > ... > Uniform Multi-Platform E-IDE driver > piix 0000:00:07.1: IDE controller (0x8086:0x7111 rev 0x01) > piix 0000:00:07.1: IDE port disabled > piix 0000:00:07.1: not 100% native mode: will probe irqs later > ide0: BM-DMA at 0xf008-0xf00f > Probing IDE interface ide0... > hda: Pioneer CD-ROM ATAPI Model DR-A24X 0102, ATAPI CD/DVD-ROM drive > hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4 > hda: MWDMA2 mode selected > ide0 at 0x170-0x177,0x376 on irq 15 > ide-cd driver 5.00 > ide-cd: hda: ATAPI 20X CD-ROM drive, 128kB Cache > Uniform CD-ROM driver Revision: 3.20 > > I must admit the CD-ROM drive is rather old, a late 90's model slot loading > Pioneer drive, but it works fine with the PIIX IDE driver. If it is needed > for success under libata, where would I set ATA_HORKAGE_NOSETXFER? Hello, If you are going to try to skip SETXFER, I think you will need an entry in ata_device_blacklist, something like this. drivers/ata/libata-core.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) --- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index 4a28420..8dfcf85 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -4388,6 +4388,7 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = { * device and controller are SATA. */ { "PIONEER DVD-RW DVRTD08", "1.00", ATA_HORKAGE_NOSETXFER }, + { "Pioneer CD-ROM ATAPI Model DR-A24X 0102", "E1.02", ATA_HORKAGE_NOSETXFER }, /* End Marker */ { }