From: Jan Sembera <fis@bofh.cz>
To: linux-ide@vger.kernel.org
Cc: mjg@redhat.com, holger@homac.de, ming.m.lin@intel.com,
1126766@bugs.launchpad.net
Subject: Regression between v3.5 and v3.6 in libata
Date: Tue, 26 Feb 2013 21:03:48 +0100 [thread overview]
Message-ID: <20130226200348.GA25087@abydos.bofh.cz> (raw)
Hi,
it looks like commit 30dcf76 (libata: migrate ACPI code over to new
bindings) introduced some regression in libata, which is causing my AMD E450
based system (Asus E45M1 motherboard) to fail on one of the connected disk
drives. It works fine in v3.5, it fails with v3.6 onwards (I've tested with
3.8 and it's also broken).
Basically, four SATA ports are connected to ahci driver and the fifth port
is somehow suspiciously connected to pata-atiixp controller (although it is
in fact SATA disk with SATA connection):
00:14.1 IDE interface: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 IDE Controller (rev 40)
This works with 3.5:
[ 1.972785] pata_acpi 0000:03:00.1: enabling device (0000 -> 0001)
[ 1.973265] Fixed MDIO Bus: probed
...
[ 2.877438] scsi6 : pata_atiixp
[ 2.881369] scsi7 : pata_atiixp
[ 2.881678] ata7: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xf100 irq 14
[ 2.881682] ata8: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xf108 irq 15
...
[ 3.046418] ata7.00: ATA-8: SAMSUNG HD204UI, 1AQ10001, max UDMA/133
[ 3.046428] ata7.00: 3907029168 sectors, multi 16: LBA48 NCQ (depth 0/32)
[ 3.046436] ata7.00: limited to UDMA/33 due to 40-wire cable
[ 3.059262] ata7.00: configured for UDMA/33
But fails with later kernels:
[ 2.391535] scsi6 : pata_acpi
[ 2.391994] scsi7 : pata_acpi
[ 2.392281] ata7: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xf100 irq 14
[ 2.392371] ata8: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xf108 irq 15
[ 2.392453] pata_acpi 0000:03:00.1: enabling device (0000 -> 0001)
[ 2.393013] libphy: Fixed MDIO Bus: probed
[ 2.393060] ata7: prereset failed (errno=-19)
[ 2.393063] ata7: reset failed, giving up
...
[ 2.924032] ata8: prereset failed (errno=-19)
[ 2.924126] ata8: reset failed, giving up
Full dmesg outputs:
https://launchpadlibrarian.net/131361456/dmesg-3.4-ok.log
https://launchpadlibrarian.net/131361470/dmesg-3.7-bad.log
And the disk connected to that port remains undetected. I have bisected between
v3.5 and v3.6 and with clear reproduction case narrowed it down to
30dcf76acc695cbd2fa919e294670fe9552e16e7. I would like to try to revert it
on newer kernels to retest with 3.8 for example, but it's not easy to do right
away without knowing what I'm doing, as there are some patches stacked on top
of that.
I'm willing to do any testing necessary to resolve this.
Thanks,
Jan
next reply other threads:[~2013-02-26 20:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-26 20:03 Jan Sembera [this message]
2013-02-26 22:07 ` Regression between v3.5 and v3.6 in libata Jan Sembera
2013-02-27 6:36 ` Robert Hancock
2013-02-27 9:38 ` Jan Sembera
2013-02-27 12:42 ` Aaron Lu
2013-02-27 14:25 ` Jan Sembera
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=20130226200348.GA25087@abydos.bofh.cz \
--to=fis@bofh.cz \
--cc=1126766@bugs.launchpad.net \
--cc=holger@homac.de \
--cc=linux-ide@vger.kernel.org \
--cc=ming.m.lin@intel.com \
--cc=mjg@redhat.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