All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ide-iops: fix for drive side 80-wire cable detection failure f or IBM-DJNA-371350 HD
@ 2009-09-27 23:34 Michael Gavlick
  2009-09-28  0:26 ` Jeff Garzik
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Michael Gavlick @ 2009-09-27 23:34 UTC (permalink / raw)
  To: linux-ide; +Cc: davem

  The IDE driver complains about an 80-wire cable detection failure and falls back to UDMA/33 for the old IBM-DJNA-371350 Rev. J7NOA30K HD even though it is an UDMA/66 HD.

Kernel Message:
"hdb: host max PIO5 wanted PIO255(auto-tune) selected PIO4
hdb: drive side 80-wire cable detection failed, limiting max speed to UDMA33
hdb: UDMA/33 mode selected"

  This patch disables the word 93 validity check in /drivers/ide/ide-iops.c for this particular hardware by adding it to the buggy firmware ivb_list. 

diff --git a/drivers/ide/ide-iops.c b/drivers/ide/ide-iops.c
index 6cc6c83..6d6f78f 100644
--- a/drivers/ide/ide-iops.c
+++ b/drivers/ide/ide-iops.c
@@ -218,6 +218,7 @@ static const struct drive_list_entry ivb_list[] = {
 	{ "TSSTcorp CDDVDW SH-S202H"	, "SB00"	},
 	{ "TSSTcorp CDDVDW SH-S202H"	, "SB01"	},
 	{ "SAMSUNG SP0822N"		, "WA100-10"	},
+        { "IBM-DJNA-371350"             , "J7NOA30K"    },
 	{ NULL				, NULL		}
 };




____________________________________________________________
Best Weight Loss Program - Click Here!
http://thirdpartyoffers.juno.com/TGL2131/fc/BLSrjnsEGrFwnIvIOVxbEtcxl1mbToJZIUdYtrSAhgUZhuqeEORJOOJ5xRW/

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] ide-iops: fix for drive side 80-wire cable detection failure f or IBM-DJNA-371350 HD
  2009-09-27 23:34 [PATCH] ide-iops: fix for drive side 80-wire cable detection failure f or IBM-DJNA-371350 HD Michael Gavlick
@ 2009-09-28  0:26 ` Jeff Garzik
  2009-09-28 10:23 ` Mikael Pettersson
  2009-09-28 13:29 ` Alan Cox
  2 siblings, 0 replies; 4+ messages in thread
From: Jeff Garzik @ 2009-09-28  0:26 UTC (permalink / raw)
  To: Michael Gavlick; +Cc: linux-ide, davem

On 09/27/2009 07:34 PM, Michael Gavlick wrote:
>    The IDE driver complains about an 80-wire cable detection failure and falls back to UDMA/33 for the old IBM-DJNA-371350 Rev. J7NOA30K HD even though it is an UDMA/66 HD.
>
> Kernel Message:
> "hdb: host max PIO5 wanted PIO255(auto-tune) selected PIO4
> hdb: drive side 80-wire cable detection failed, limiting max speed to UDMA33
> hdb: UDMA/33 mode selected"
>
>    This patch disables the word 93 validity check in /drivers/ide/ide-iops.c for this particular hardware by adding it to the buggy firmware ivb_list.
>
> diff --git a/drivers/ide/ide-iops.c b/drivers/ide/ide-iops.c
> index 6cc6c83..6d6f78f 100644
> --- a/drivers/ide/ide-iops.c
> +++ b/drivers/ide/ide-iops.c
> @@ -218,6 +218,7 @@ static const struct drive_list_entry ivb_list[] = {
>   	{ "TSSTcorp CDDVDW SH-S202H"	, "SB00"	},
>   	{ "TSSTcorp CDDVDW SH-S202H"	, "SB01"	},
>   	{ "SAMSUNG SP0822N"		, "WA100-10"	},
> +        { "IBM-DJNA-371350"             , "J7NOA30K"    },
>   	{ NULL				, NULL		}

Would you create the libata version of this patch, too, please?

We are [very slowly] migrating away from the old-IDE driver.

	Jeff





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ide-iops: fix for drive side 80-wire cable detection failure f or IBM-DJNA-371350 HD
  2009-09-27 23:34 [PATCH] ide-iops: fix for drive side 80-wire cable detection failure f or IBM-DJNA-371350 HD Michael Gavlick
  2009-09-28  0:26 ` Jeff Garzik
@ 2009-09-28 10:23 ` Mikael Pettersson
  2009-09-28 13:29 ` Alan Cox
  2 siblings, 0 replies; 4+ messages in thread
From: Mikael Pettersson @ 2009-09-28 10:23 UTC (permalink / raw)
  To: Michael Gavlick; +Cc: linux-ide, davem

Michael Gavlick writes:
 >   The IDE driver complains about an 80-wire cable detection failure and falls back to UDMA/33 for the old IBM-DJNA-371350 Rev. J7NOA30K HD even though it is an UDMA/66 HD.
 > 
 > Kernel Message:
 > "hdb: host max PIO5 wanted PIO255(auto-tune) selected PIO4
 > hdb: drive side 80-wire cable detection failed, limiting max speed to UDMA33
 > hdb: UDMA/33 mode selected"
 > 
 >   This patch disables the word 93 validity check in /drivers/ide/ide-iops.c for this particular hardware by adding it to the buggy firmware ivb_list. 

Have you verified that the cable actually is 80-wire? If the problem
is buggy disk firmware, the message should disappear if you connect
a different known good UDMA/66 or better disk to this cable.

What model is the IDE controller?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ide-iops: fix for drive side 80-wire cable detection failure f or IBM-DJNA-371350 HD
  2009-09-27 23:34 [PATCH] ide-iops: fix for drive side 80-wire cable detection failure f or IBM-DJNA-371350 HD Michael Gavlick
  2009-09-28  0:26 ` Jeff Garzik
  2009-09-28 10:23 ` Mikael Pettersson
@ 2009-09-28 13:29 ` Alan Cox
  2 siblings, 0 replies; 4+ messages in thread
From: Alan Cox @ 2009-09-28 13:29 UTC (permalink / raw)
  To: Michael Gavlick; +Cc: linux-ide, davem

On Sun, 27 Sep 2009 23:34:19 GMT
"Michael Gavlick" <mgavl69@juno.com> wrote:

>   The IDE driver complains about an 80-wire cable detection failure and falls back to UDMA/33 for the old IBM-DJNA-371350 Rev. J7NOA30K HD even though it is an UDMA/66 HD.

You need to verify that this isn't a problem with the controller, the
driver or the configuration before submitting such a patch.

It's a very common drive so the fact nobody has reported it before makes
me extremely suspicious of your report being a true IVB error - the drive
is also rather new for that bug.

Alan

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-09-28 13:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-27 23:34 [PATCH] ide-iops: fix for drive side 80-wire cable detection failure f or IBM-DJNA-371350 HD Michael Gavlick
2009-09-28  0:26 ` Jeff Garzik
2009-09-28 10:23 ` Mikael Pettersson
2009-09-28 13:29 ` Alan Cox

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.