linux-ide.vger.kernel.org archive mirror
 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,
	Alan Cox <alan@lxorguk.ukuu.org.uk>,
	Jeff Garzik <jeff@garzik.org>, Mark Lord <mlord@pobox.com>,
	Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>,
	Sergei Shtylyov <sshtylyov@ru.mvista.com>
Subject: Re: Fwd: [LIBATA] drives not detected
Date: Fri, 23 Feb 2007 13:59:54 +0900	[thread overview]
Message-ID: <45DE74CA.2010603@gmail.com> (raw)
In-Reply-To: <8d158e1f0702211030p542a8332w5b20318ca6b922e9@mail.gmail.com>

Hello, Patrick Ale.

Patrick Ale wrote:
> I am going to do a last ressort attempt.
> I am going to switch cables with a set of harddrives that are working
> properly and see if that works.

I don't think cables or the drives are the problems here but please keep
me posted about your test result.

> I changed cables allready, but with my luck the cables I changed them
> for are faulty.
> Jumpers and all look ok, I changed the jumpers, on advice from Greg
> and this didnt solve the problem.
> 
> Eric's comment about master slave collision made me think about a
> probable cable problem, which I am going to test now.
> 
> Stays weird that the legacy ide drivers do find the drives tho.

libata and ide use different methods to discover devices.  libata
depends on reset to work.  After reset, devices are supposed to send
diagnostic and the classfication code via TF registers.  OTOH, ide just
issues IDENTIFY and then IDENTIFY PACKET to each device slot without
resetting the channel.  Maybe we're doing something wrong in the pdc
driver or the controller just doesn't like libata's probing method.

Summoning (P)ATA gurus.  Hi! Here's the bullet.

The whole thread can be viewed at the following page.

  http://thread.gmane.org/gmane.linux.kernel/493605

It seems we can't read TF containing reset result reliable iff both
master and slave are present.  Please take a look at the following message.

  http://article.gmane.org/gmane.linux.ide/16216

  ata8: CLASSIFY: device 0 50:00 aa:fe:3f
  ata8: CLASSIFY: device 1 50:00 aa:10:00

Dumped TF regs are "status:error lbal:lbam:lbah".  Leaving only one
device on the channel, be it master or slave, works.

  http://article.gmane.org/gmane.linux.ide/16219

  ata8: CLASSIFY: device 0 20:20 20:20:20
  ata8: CLASSIFY: device 1 50:01 01:00:00

  or

  ata4: CLASSIFY: device 0 50:01 01:00:00
  ata4: CLASSIFY: device 1 00:01 01:00:00

Could it be timing issue like not using compatible pio timing during
reset?  Please keep in mind that we also have bug reports about solitary
slave device doesn't get detected in some cases.

Thanks.

-- 
tejun

  reply	other threads:[~2007-02-23  4:59 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <8d158e1f0702150048x4eb73acawc3c3b87d0d80a6d4@mail.gmail.com>
     [not found] ` <8d158e1f0702150052l25fb03fnf17ba315dc6f912d@mail.gmail.com>
2007-02-16  8:10   ` Fwd: [LIBATA] drives not detected 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
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 [this message]
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=45DE74CA.2010603@gmail.com \
    --to=htejun@gmail.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=albertl@mail.com \
    --cc=bzolnier@gmail.com \
    --cc=jeff@garzik.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=mlord@pobox.com \
    --cc=patrick.ale@gmail.com \
    --cc=sshtylyov@ru.mvista.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).