From: "MATSUBAYASHI, 'Shaolin' Kohji" Subject: Re: ata_piix on MacBook4,1: CD/DVD drive often fails to work Date: Mon, 09 Jun 2008 22:11:36 +0900 Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - =?ISO-2022-JP?B?IhskQjRdGyhC?= =?ISO-2022-JP?B?GyRCMiwbKEIi?=) Content-Type: text/plain; charset=US-ASCII Return-path: Received: from 146.221.192.61.tokyo.global.alpha-net.ne.jp ([61.192.221.146]:34300 "EHLO bart.localdomain" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1760918AbYFINL6 (ORCPT ); Mon, 9 Jun 2008 09:11:58 -0400 In-Reply-To: Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Tejun Heo Cc: linux-ide@vger.kernel.org, shaolin@rhythmaning.org Sorry all, it was just my fault - this patch did not improve the stability. It just happened that annoying "status error" message did not appeared for a while. Now the message appears again every two seconds until I have to remove ide-cd_mod kernel module. -- Kohji At Mon, 09 Jun 2008 20:16:28 +0900, MATSUBAYASHI, 'Shaolin' Kohji wrote: > > Then the following patch fixed the problem anyhow at least on my machine > (I suspect changing from ich_pata_100 to ich_pata_66, especially > removing the flag PIIX_FLAG_CHECKINTR, did something good in this case). > > I am not certain whether this patch is the right/correct solution > for that, but anyway here's it. Let me know if there's something > I can do for debugging further. > > -- > Kohji > > [2 ata_piix-pata-apple.patch ] > diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c > index 81b7ae3..93b5741 100644 > --- a/drivers/ata/ata_piix.c > +++ b/drivers/ata/ata_piix.c > @@ -214,6 +214,8 @@ static const struct pci_device_id piix_pci_tbl[] = { > /* ICH7/7-R (i945, i975) UDMA 100*/ > { 0x8086, 0x27DF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich_pata_100 }, > { 0x8086, 0x269E, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich_pata_100 }, > + /* ICH8 Mobile PATA Controller, Apple */ > + { 0x8086, 0x2850, 0x106b, 0x00a1, 0, 0, ich_pata_66 }, > /* ICH8 Mobile PATA Controller */ > { 0x8086, 0x2850, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich_pata_100 }, >