From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [git patches] libata fixes Date: Mon, 05 Mar 2007 14:19:08 +0900 Message-ID: <45EBA84C.2020304@gmail.com> References: <00e301c75dc5$693f3900$2101a8c0@donald> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------090301020000010200050802" Return-path: Received: from py-out-1112.google.com ([64.233.166.180]:13595 "EHLO py-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752687AbXCEFTJ (ORCPT ); Mon, 5 Mar 2007 00:19:09 -0500 Received: by py-out-1112.google.com with SMTP id a29so796351pyi for ; Sun, 04 Mar 2007 21:19:09 -0800 (PST) In-Reply-To: <00e301c75dc5$693f3900$2101a8c0@donald> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: rol@as2917.net Cc: 'Jeff Garzik' , 'Andrew Morton' , 'Linus Torvalds' , linux-ide@vger.kernel.org, 'LKML' This is a multi-part message in MIME format. --------------090301020000010200050802 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hello, Paul Rolland wrote: > Hello, > > Applied this on top of 2.6.21-rc1 and your previous patch (see my previous > mail). > Still booting, no more the weird error I've reported minutes ago. > > pata_jmicron still unable to detect my DVD-RW : > scsi8 : pata_jmicron > ata9.00: ATAPI, max UDMA/66 > ata9.00: qc timeout (cmd 0xef) > ata9.00: failed to set xfermode (err_mask=0x4) > ata9.00: limiting speed to UDMA/44 > ata9: failed to recover some devices, retrying in 5 secs > ata9.00: qc timeout (cmd 0xef) > ata9.00: failed to set xfermode (err_mask=0x4) > ata9.00: limiting speed to PIO0 > ata9: failed to recover some devices, retrying in 5 secs > ata9.00: qc timeout (cmd 0xef) > ata9.00: failed to set xfermode (err_mask=0x4) > ata9.00: disabled > scsi9 : pata_jmicron > ATA: abnormal status 0x7F on port 0x0000000000019807 1. Has it ever worked with the previous kernels? 2. If you connect a harddisk to pata_jmicron, does it work? 3. Does applying the attached patch fix your problem? -- tejun --------------090301020000010200050802 Content-Type: text/x-patch; name="pata_jmicron-polling-xfer.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="pata_jmicron-polling-xfer.patch" diff --git a/drivers/ata/pata_jmicron.c b/drivers/ata/pata_jmicron.c index 43763c9..8a95a56 100644 --- a/drivers/ata/pata_jmicron.c +++ b/drivers/ata/pata_jmicron.c @@ -196,7 +196,8 @@ static int jmicron_init_one (struct pci_dev *pdev, const struct pci_device_id *i { static struct ata_port_info info = { .sht = &jmicron_sht, - .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, + .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST | + ATA_FLAG_SETXFER_POLLING, .pio_mask = 0x1f, .mwdma_mask = 0x07, --------------090301020000010200050802--