From: Thierry Vignaud <tvignaud@mandriva.com>
To: Tejun Heo <htejun@gmail.com>
Cc: Jeff Garzik <jgarzik@pobox.com>,
"linux-ide@vger.kernel.org" <linux-ide@vger.kernel.org>
Subject: Re: [Fwd: [BUG] sata_via doesn't detect anymore my disks (broken between rc1 and rc3)]
Date: Wed, 23 Aug 2006 22:17:49 +0200 [thread overview]
Message-ID: <m2fyfnciky.fsf@vador.mandriva.com> (raw)
In-Reply-To: <44EB32AD.1080305@gmail.com> (Tejun Heo's message of "Wed, 23 Aug 2006 01:37:01 +0900")
[-- Attachment #1: Type: text/plain, Size: 436 bytes --]
Tejun Heo <htejun@gmail.com> writes:
> [cc'ing linux-ide]
>
> (this is regarding vt6421 failing to detect devices on boot after EH udpate)
>
> > I think I have (but I was so tired I won't 100% claim to).
> > I'll retest tonight.
The following one-liner on top of your previous patch fixed detecting
disks on vt6421 with 2.6.18-rc4-mm1 (sorry for the delay, I was
offline due to illness). (s!/scsi!/ata! b/c of alan changes in -mm)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: work1.diff --]
[-- Type: text/x-patch, Size: 480 bytes --]
fix detecting devices on vt6421 SATA controller
("ATA: abnormal status 0x7F on port 0xB007"):
--- drivers/ata/sata_via.c.tv6 2006-08-20 16:37:41.000000000 +0200
+++ drivers/ata/sata_via.c 2006-08-20 17:20:23.000000000 +0200
@@ -244,7 +244,7 @@
static void vt6421_error_handler(struct ata_port *ap)
{
- return ata_bmdma_drive_eh(ap, ata_std_prereset, NULL,
+ return ata_bmdma_drive_eh(ap, vt6420_prereset, ata_std_softreset,
sata_std_hardreset, ata_std_postreset);
}
[-- Attachment #3: Type: text/plain, Size: 632 bytes --]
> Can you please test two patches attached in this mail? Just quick
> result will be enough. If both don't work, I'll go ahead and create
> a third one - which emulates the old phy hardreset exactly as I did
> for softreset of vt6420.
I'll.
As, I've tested that using:
- ata_std_prereset + ata_std_softreset didn't work
- vt6420_prereset + ata_std_softreset worked
- vt6420_prereset w/o ata_std_softreset didn't work
I simple interdiff between your two patches makes me think the odds're
higher the second will succeed but you've done some extra changes
since your previous patch.
I'll you tell you more about this tomorrow.
next prev parent reply other threads:[~2006-08-23 20:17 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <44D98E7E.3060208@pobox.com>
[not found] ` <44E29AEF.8030606@gmail.com>
[not found] ` <20060816051408.GI6371@htj.dyndns.org>
[not found] ` <m2wt98bio1.fsf@vador.mandriva.com>
[not found] ` <m2sljwbil7.fsf@vador.mandriva.com>
[not found] ` <44E37BD4.8010709@pobox.com>
[not found] ` <m23bbva9cs.fsf@vador.mandriva.com>
[not found] ` <44E46E0E.4060703@gmail.com>
[not found] ` <m2fyfv7a8s.fsf@vador.mandriva.com>
2006-08-22 16:37 ` [Fwd: [BUG] sata_via doesn't detect anymore my disks (broken between rc1 and rc3)] Tejun Heo
2006-08-23 20:17 ` Thierry Vignaud [this message]
2006-08-25 10:29 ` Thierry Vignaud
2006-08-25 12:16 ` Tejun Heo
2006-08-25 13:55 ` Tejun Heo
2006-08-25 14:09 ` Thierry Vignaud
2006-08-25 15:03 ` Tejun Heo
2006-08-25 15:30 ` Thierry Vignaud
2006-08-28 14:34 ` Thierry Vignaud
2006-08-28 15:24 ` Tejun Heo
2006-08-28 15:43 ` Thierry Vignaud
2006-10-03 15:00 ` Thierry Vignaud
2006-10-20 18:59 ` Thierry Vignaud
2006-08-25 13:56 ` Thierry Vignaud
2006-08-25 14:02 ` Thierry Vignaud
2006-08-25 15:02 ` Tejun Heo
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=m2fyfnciky.fsf@vador.mandriva.com \
--to=tvignaud@mandriva.com \
--cc=htejun@gmail.com \
--cc=jgarzik@pobox.com \
--cc=linux-ide@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 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).