From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthieu CASTET Subject: Re: ata_piix 2.6.25 sata failure Date: Thu, 15 May 2008 13:15:29 +0200 Message-ID: <482C1B51.7050906@parrot.com> References: <482949CB.7000208@parrot.com> <482BE929.7090009@parrot.com> <482BECF5.2070801@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from co203.xi-lite.net ([149.6.83.203]:34071 "EHLO toronto.xi-lite.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752993AbYEOLPd (ORCPT ); Thu, 15 May 2008 07:15:33 -0400 In-Reply-To: <482BECF5.2070801@gmail.com> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Tejun Heo Cc: linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org Hi, Tejun Heo wrote: > Matthieu CASTET wrote: >> Hi Tejun, >> >> Matthieu CASTET wrote: >> >> >> Any idea how to debug this. >> >> For information this happen on a HP Compaq dc7700p, and there no way >> on the bios to change the controller to ahci mode > > Yeah, I wrote a patch for that yesterday and forgot to actually send it. > Can you please test the attached patch? > thanks, it seems to work : ata_piix 0000:00:1f.2: version 2.12 ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 18 (level, low) -> IRQ 18 ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ] PCI: Setting latency timer of device 0000:00:1f.2 to 64 scsi0 : ata_piix scsi1 : ata_piix ata1: SATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0x11f0 irq 14 ata2: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0x11f8 irq 15 ata1: link in powersave mode (ipm=2), forcing hardreset ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) ata1.00: ATA-7: SAMSUNG HD080HJ/P, ZH100-43, max UDMA/100 ata1.00: 156301488 sectors, multi 16: LBA48 ata1.00: configured for UDMA/100 ata2: link in powersave mode (ipm=2), forcing hardreset ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300) ata2.00: ATA-7: SAMSUNG HD160JJ/P, ZM100-46, max UDMA7 ata2.00: 312581808 sectors, multi 16: LBA48 NCQ (depth 0/32) ata2.01: ATAPI: HL-DT-STDVD+-RW GSA-H31L, 1.05, max UDMA/100 ata2.00: configured for UDMA/133 ata2.01: configured for UDMA/100 Matthieu