All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <htejun@gmail.com>
To: Patrick Ale <patrick.ale@gmail.com>
Cc: albertl@mail.com, linux-ide@vger.kernel.org
Subject: Re: Fwd: [LIBATA] drives not detected
Date: Wed, 21 Feb 2007 15:49:07 +0900	[thread overview]
Message-ID: <45DBEB63.3010905@gmail.com> (raw)
In-Reply-To: <8d158e1f0702201400w622bbcb2lc7711b5c8974bfcd@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 580 bytes --]

Patrick Ale wrote:
> On 2/20/07, Patrick Ale <patrick.ale@gmail.com> wrote:
> Hi,
> 
> Here is the output of the dmesg after inserting pata_pdc207x
> 
> I seriously start to think that one of my drives is acting in a way
> that makes it unable for libata to detect the disks but makes the
> legacy ide drivers do detect the disks...
> 
> I see things like "Port is frozen" in the dmesg output.

That's normal but your drives are failing classification.  Can you
please apply the attached patch and report what the kernel says.  You
can turn off DEBUG options.

Thanks.

-- 
tejun

[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 513 bytes --]

diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 2cf8251..1263d1b 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -716,6 +716,8 @@ ata_dev_try_classify(struct ata_port *ap, unsigned int device, u8 *r_err)
 	memset(&tf, 0, sizeof(tf));
 
 	ap->ops->tf_read(ap, &tf);
+	ata_port_printk(ap, KERN_INFO, "CLASSIFY: device %u %02x:%02x %02x:%02x:%02x\n",
+			device, tf.command, tf.feature, tf.lbal, tf.lbam, tf.lbah);
 	err = tf.feature;
 	if (r_err)
 		*r_err = err;

  reply	other threads:[~2007-02-21  7:00 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-15  8:48 [LIBATA] drives not detected Patrick Ale
2007-02-15  8:52 ` Patrick Ale
2007-02-16  8:10   ` Fwd: " Patrick Ale
2007-02-16  8:48     ` Albert Lee
2007-02-16  8:56       ` Patrick Ale
2007-02-16  9:06         ` Patrick Ale
2007-02-16  9:09         ` Albert Lee
2007-02-16  9:48           ` Patrick Ale
2007-02-16 10:07             ` Albert Lee
2007-02-16 10:18               ` Patrick Ale
2007-02-17 10:36               ` Patrick Ale
2007-02-17 16:29                 ` Patrick Ale
2007-02-18 14:50                   ` Patrick Ale
2007-02-20 11:17                 ` Tejun Heo
2007-02-20 12:05                   ` Patrick Ale
2007-02-20 22:00                     ` Patrick Ale
2007-02-21  6:49                       ` Tejun Heo [this message]
2007-02-21 12:47                         ` Patrick Ale
2007-02-21 13:19                           ` Tejun Heo
2007-02-21 15:25                             ` Patrick Ale
2007-02-21 15:36                               ` Patrick Ale
2007-02-21 16:13                                 ` Patrick Ale
2007-02-21 18:30                             ` Patrick Ale
2007-02-23  4:59                               ` Tejun Heo
2007-02-23  8:41                                 ` Patrick Ale
2007-02-23  9:38                                   ` Jeff Garzik
2007-02-23 10:16                                     ` Patrick Ale
2007-02-24 12:24                                       ` Patrick Ale
2007-02-24 13:05                                         ` Tejun Heo
2007-02-24 13:56                                           ` Patrick Ale
2007-02-24 14:56                                             ` Bartlomiej Zolnierkiewicz
2007-02-24 15:13                                               ` Patrick Ale
2007-02-24 17:32                                                 ` Bartlomiej Zolnierkiewicz
2007-02-24 17:37                                                   ` Patrick Ale
2007-02-24 18:11                                                     ` Bartlomiej Zolnierkiewicz
2007-02-25 13:46                                                       ` Patrick Ale
2007-02-25 17:22                                                         ` Bartlomiej Zolnierkiewicz
2007-02-25 21:02                                                           ` Patrick Ale
2007-02-26  8:18                                                             ` Patrick Ale

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45DBEB63.3010905@gmail.com \
    --to=htejun@gmail.com \
    --cc=albertl@mail.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=patrick.ale@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.