From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: sata_nv times out for BD-ROM iHOS104-08 Date: Tue, 19 Jan 2010 18:05:12 +0900 Message-ID: <4B5575C8.4030205@kernel.org> References: <4B31C8EE.3030003@kernel.org> <4B331771.3090309@kernel.org> <4B532CB7.4060005@pardus.org.tr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------090005050101000106000403" Return-path: In-Reply-To: <4B532CB7.4060005@pardus.org.tr> Sender: linux-kernel-owner@vger.kernel.org To: =?UTF-8?B?T3phbiDDh2HEn2xheWFu?= Cc: =?UTF-8?B?Q2VuZ2l6IEfDvG5heQ==?= , linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org List-Id: linux-ide@vger.kernel.org This is a multi-part message in MIME format. --------------090005050101000106000403 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hello, On 01/18/2010 12:28 AM, Ozan Çağlayan wrote: > [ 9.769407] ata1: nv_mode_filter: 0x739f&0x739f->0x739f, BIOS=0x7000 (0xc000c700) ACPI=0x701f (60:600:0x13) > [ 9.775326] ata1.00: configured for UDMA/33 > [ 9.775408] ata1.00: TEST_UNIT_READY failed (err_mask=0x2) Hmmm... err_mask=0x2 is HSM error. Strange. Does the attached patch make any difference? Thanks. -- tejun --------------090005050101000106000403 Content-Type: text/x-patch; name="disable-clear-ua.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="disable-clear-ua.patch" diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c index 0ea97c9..df261ac 100644 --- a/drivers/ata/libata-eh.c +++ b/drivers/ata/libata-eh.c @@ -3530,7 +3530,7 @@ int ata_eh_recover(struct ata_port *ap, ata_prereset_fn_t prereset, /* If reset has been issued, clear UA to avoid * disrupting the current users of the device. */ - if (ehc->i.flags & ATA_EHI_DID_RESET) { + /*if (ehc->i.flags & ATA_EHI_DID_RESET) { ata_for_each_dev(dev, link, ALL) { if (dev->class != ATA_DEV_ATAPI) continue; @@ -3538,7 +3538,7 @@ int ata_eh_recover(struct ata_port *ap, ata_prereset_fn_t prereset, if (rc) goto dev_fail; } - } + }*/ /* retry flush if necessary */ ata_for_each_dev(dev, link, ALL) { --------------090005050101000106000403--