linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jan Beulich" <JBeulich@novell.com>
To: tj@kernel.org, jgarzik@redhat.com
Cc: linux-ide@vger.kernel.org
Subject: sata_sil boot failure with 2.6.35
Date: Fri, 20 Aug 2010 17:24:56 +0100	[thread overview]
Message-ID: <4C6EC878020000780001146D@vpn.id2.novell.com> (raw)

Hi,

on one of my systems (the only one with that sort of controller) boot
fails with .35 due to an identify failure for the drive that has the root
partition (and others):

libata version 3.00 loaded.
sata_sil 0000:00:12.0: version 2.4
sata_sil 0000:00:12.0: enabling device (0005 -> 0007)
  alloc irq_desc for 22 on node -1
  alloc kstat_irqs on node -1
sata_sil 0000:00:12.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
scsi0 : sata_sil
scsi1 : sata_sil
ata1: SATA max UDMA/100 mmio m512@0xc0000000 tf 0xc0000080 irq 22
ata2: SATA max UDMA/100 mmio m512@0xc0000000 tf 0xc00000c0 irq 22
input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input1
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: NODEV after polling detection
ata2: SATA link down (SStatus 0 SControl 300)

With some debugging printk-s added I found that "status" as passed
from ata_sff_pio_task() to ata_sff_hsm_move() is 0x50 (instead of
the expected 0x58), and I also found that adding a certain delay
at the top of ata_sff_pio_task() for just the very first invocation
makes the problem go away: putting udelay(400) there works,
while udelay(300) isn't sufficient.

2.6.34.x is working fine.

The controller is reported as

00:12.0 IDE interface [0101]: ATI Technologies Inc IXP SB400 Serial ATA Controller [1002:4379]

Thanks for any hints towards debugging or resolving this problem.

Jan


             reply	other threads:[~2010-08-20 16:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-20 16:24 Jan Beulich [this message]
2010-08-20 19:22 ` sata_sil boot failure with 2.6.35 Jeff Garzik
2010-08-23 10:28   ` Tejun Heo
2010-08-23 12:57     ` Jan Beulich
2010-08-23 13:58       ` Tejun Heo
2010-08-23 15:47         ` Jan Beulich
2010-08-24 13:52           ` Tejun Heo
2010-08-24 15:17             ` Jan Beulich
2010-08-24 15:16               ` Tejun Heo
2010-08-25  8:20                 ` Jan Beulich
2010-08-30 13:39                   ` Tejun Heo
2010-08-30 13:42                     ` Tejun Heo
2010-08-31 15:22                       ` Jan Beulich

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=4C6EC878020000780001146D@vpn.id2.novell.com \
    --to=jbeulich@novell.com \
    --cc=jgarzik@redhat.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=tj@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 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).