Re: New CD/DVD drive - 80-wire cable detection failure

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <nick@...>
Cc: Lennart Sorensen <lsorense@...>, <linux-kernel@...>, <linux-ide@...>
Date: Tuesday, October 23, 2007 - 7:33 pm

Hi,

On Saturday 20 October 2007, Nick Warne wrote:

Thanks, the identify block looks quite "interesting".

85c0 0000 0000 0000 0000 0000 0000 0000
0000 0000 2020 2020 2020 2020 2020 2020
2020 2020 2020 2020 0000 0000 0000 5342
3030 2020 2020 5453 5354 636f 7270 2043
4444 5644 5720 5348 2d53 3230 324a 2020
2020 2020 2020 2020 2020 2020 2020 0000
0000 0b00 0000 0200 0200 0006 0000 0000
0000 0000 0000 0000 0000 0000 0000 0007
0003 0078 0078 017f 0078 0000 0000 0000
0000 00f8 0210 0000 0000 0000 0000 0000
00f8 0210 0210 0000 0000 0000 0000 0000
041f 0000 8005 3200 005b 2000 0000 0000
[...]

word 93 is 0x2000

bit 0x4000 is not set despite the fact that ATA spec (>= ATA-5) requires
it to be set (the device claims ATA/ATAPI-3/4/5/6/7 compatiblity, a bit too
optimistic since it looks like the firmware was based on ATA/ATAPI-4 spec)

bit 0x2000 is set which would indicate that the 80-wires cable is
correctly detected by the device

=> the device/firmware pair is a good candidate for ivb_list[]

There seems to be a new firmware (SB01) for this device:
http://www.samsungodd.com/Lib/popup/Download.asp?path=FW_FWDownload&fname=200710011656...

It would be useful to know whether it has the same problem...


We want kernel to automatically detect problematic hardware and apply
needed workarounds, _without_ the need for manual user intervention.

[ + CONFIG_IDEDMA_IVB is gone 2.6.24 (but "idex=ata66" is still there) ]


Definitely not the noise, quite the contrary (valuable input). :)

Could you try this patch?

[PATCH] ide: add SH-S202J to ivb_list[]

From the report by Nick Warne.

Cc: Nick Warne <nick@ukfsn.org>
Cc: Lennart Sorensen <lsorense@csclub.uwaterloo.ca>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
 drivers/ide/ide-iops.c |    3 +++
 1 file changed, 3 insertions(+)

Index: b/drivers/ide/ide-iops.c
===================================================================
--- a/drivers/ide/ide-iops.c
+++ b/drivers/ide/ide-iops.c
@@ -582,9 +582,12 @@ EXPORT_SYMBOL_GPL(ide_in_drive_list);
 /*
  * Early UDMA66 devices don't set bit14 to 1, only bit13 is valid.
  * We list them here and depend on the device side cable detection for them.
+ *
+ * Some optical devices with the buggy firmwares have the same problem.
  */
 static const struct drive_list_entry ivb_list[] = {
 	{ "QUANTUM FIREBALLlct10 05"	, "A03.0900"	},
+	{ "TSSTcorp CDDVDW SH-S202J"	, "SB00"	},
 	{ NULL				, NULL		}
 };
 
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
New CD/DVD drive - 80-wire cable detection failure, Nick Warne, (Thu Oct 18, 1:32 pm)
Re: New CD/DVD drive - 80-wire cable detection failure, Bartlomiej Zolnierkiewicz..., (Fri Oct 19, 4:28 pm)
Re: New CD/DVD drive - 80-wire cable detection failure, Lennart Sorensen, (Fri Oct 19, 5:07 pm)
Re: New CD/DVD drive - 80-wire cable detection failure, Bartlomiej Zolnierkiewicz..., (Fri Oct 19, 5:44 pm)
Re: New CD/DVD drive - 80-wire cable detection failure, Bartlomiej Zolnierkiewicz..., (Fri Oct 19, 6:28 pm)
Re: New CD/DVD drive - 80-wire cable detection failure, Bartlomiej Zolnierkiewicz..., (Tue Oct 23, 7:33 pm)
Re: New CD/DVD drive - 80-wire cable detection failure, Lennart Sorensen, (Fri Oct 19, 6:12 pm)