From: Ingo Molnar <mingo@elte.hu>
To: Tejun Heo <htejun@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
linux-kernel@vger.kernel.org,
Arjan van de Ven <arjan@infradead.org>
Subject: Re: [bug] sata detection problem
Date: Wed, 11 Feb 2009 16:25:30 +0100 [thread overview]
Message-ID: <20090211152530.GA18660@elte.hu> (raw)
In-Reply-To: <4992EAAB.3010809@gmail.com>
* Tejun Heo <htejun@gmail.com> wrote:
> Hello,
>
> Ingo Molnar wrote:
> > Hm, in a boot test i had this boot failure:
> >
> > [ 15.504053] calling piix_init+0x0/0x30 @ 1
> > [ 15.508050] ata_piix 0000:00:1f.1: version 2.12
> > [ 15.516193] ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 11
> > [ 15.520029] ata_piix 0000:00:1f.1: PCI INT A -> Link[LNKG] -> GSI 11 (level, low) -> IRQ 11
> > [ 15.524072] ata_piix 0000:00:1f.1: setting latency timer to 64
> > [ 15.528115] scsi0 : ata_piix
> > [ 15.531526] scsi1 : ata_piix
> > [ 15.544044] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xffa0 irq 14
> > [ 15.548028] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xffa8 irq 15
> > [ 15.716358] ata1.00: ATAPI: ýVýVýVýVýVýýýýýýýýýýýýýýýýýýýýýýýýýýýýýý, ý\x19ýVýVýV, max UDMA7
> > [ 15.720044] ata1.00: limited to UDMA/33 due to 40-wire cable
> > [ 15.740296] ata1.00: configured for UDMA/33
>
> That's one strange ghost device detection. Because PATA doesn't have
> a reliable way of determining device presence, libata uses combination
> of tests along the probing sequence to determine device presence.
> Each test is intentionally made somewhat relaxed to avoid missing a
> present device (and those condition often do trigger). It seems
> somehow it is passing all the existing tests. The hardest part
> probably is the IDENTIFY command sequence but for SFF controllers it's
> done via polling instead of IRQ and thus by having the right (or
> wrong) status register value a port with floating pins may be able to
> pass it.
>
> How reproducible is the problem? It can probably be worked around by
> making the NODEV_HINT checking a tad bit tighter in SFF host state
> machine. PATA device presence detection is an art not an exact
> science. :-)
it's very sporadic - out of thousands of bootups this is the first time :-/
Ingo
prev parent reply other threads:[~2009-02-11 15:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-08 6:35 [bug] sata detection problem Ingo Molnar
2009-02-08 12:30 ` Maciej Rutecki
2009-02-08 18:37 ` Robert Hancock
2009-02-11 15:11 ` Tejun Heo
2009-02-11 15:25 ` Ingo Molnar [this message]
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=20090211152530.GA18660@elte.hu \
--to=mingo@elte.hu \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=arjan@infradead.org \
--cc=htejun@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/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.