Patrick Ale wrote: > On 2/20/07, Patrick Ale <patrick.ale@xxxxxxxxx> 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
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;