* DVD+-R[W] regression in 2.6.12/13
@ 2005-09-05 13:33 Oliver Tennert
2005-09-05 16:24 ` Mark Lord
0 siblings, 1 reply; 6+ messages in thread
From: Oliver Tennert @ 2005-09-05 13:33 UTC (permalink / raw)
To: linux-kernel
Hello together,
with my machine, an
"hdparm -I /dev/dvdrecorder" leads to the output:
/dev/dvdrecorder:
HDIO_DRIVE_CMD(identify) failed: Input/output error
The kernel tells me:
[4296893.262000] hdd: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
[4296893.262000] hdd: drive_cmd: error=0x04 { AbortedCommand }
[4296893.262000] ide: failed opcode was: 0xec
This happens with 2.6.12 and 2.6.13. DMA works fine, though. And burning
CDs/DVDs seems to work fine, too.
The same hdparm command to a "normal" CD or DVD ROM drive (no writer) does not
produces any error messages, though.
So what does this strange opcode do, and why does it fail in the latest
kernels?
/dev/dvdrecorder is a Plextor 708A, the error also occurs with a Plextor 716A.
Best regards
Oliver
--
The problem with engineers is that they tend to cheat in order to get
results.
The problem with mathematicians is that they tend to work on toy
problems in order to get results.
The problem with program verifiers is that they tend to cheat at toy
problems in order to get results.
--
__
________________________________________creating IT solutions
Dr. Oliver Tennert
Senior Solutions Engineer
CAx Professional Services
science + computing ag
phone +49(0)7071 9457-598 Hagellocher Weg 71-75
fax +49(0)7071 9457-411 D-72070 Tuebingen, Germany
O.Tennert@science-computing.de www.science-computing.de
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: DVD+-R[W] regression in 2.6.12/13
2005-09-05 13:33 DVD+-R[W] regression in 2.6.12/13 Oliver Tennert
@ 2005-09-05 16:24 ` Mark Lord
2005-09-05 16:27 ` Mark Lord
2005-09-05 17:02 ` Alan Cox
0 siblings, 2 replies; 6+ messages in thread
From: Mark Lord @ 2005-09-05 16:24 UTC (permalink / raw)
To: Oliver Tennert; +Cc: linux-kernel
Oliver Tennert wrote:
>
> "hdparm -I /dev/dvdrecorder" leads to the output:
>
> /dev/dvdrecorder:
> HDIO_DRIVE_CMD(identify) failed: Input/output error
>
> The kernel tells me:
>
> [4296893.262000] hdd: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
> [4296893.262000] hdd: drive_cmd: error=0x04 { AbortedCommand }
> [4296893.262000] ide: failed opcode was: 0xec
Those messages are "normal" for an ATAPI drive.
hdparm first tries the IDENTIFY opcode (0xec), and if that fails (above)
it then tries the PACKET_IDENTIFY opcode (0xa1), which should work for ATAPI.
I'm not sure why the "failed: Input/output error" (-EIO) result is
being returned from the ATA layer in this case. Driver bug, most likely.
Cheers
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: DVD+-R[W] regression in 2.6.12/13
2005-09-05 16:24 ` Mark Lord
@ 2005-09-05 16:27 ` Mark Lord
2005-09-06 5:10 ` Oliver Tennert
2005-09-05 17:02 ` Alan Cox
1 sibling, 1 reply; 6+ messages in thread
From: Mark Lord @ 2005-09-05 16:27 UTC (permalink / raw)
To: Oliver Tennert; +Cc: linux-kernel
Oh, you *should* be able to get the results you
are looking for (hdparm -I) by trying it this way:
hdparm --Istdin </proc/ide/hdd/identify
Cheers
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: DVD+-R[W] regression in 2.6.12/13
2005-09-05 16:27 ` Mark Lord
@ 2005-09-06 5:10 ` Oliver Tennert
0 siblings, 0 replies; 6+ messages in thread
From: Oliver Tennert @ 2005-09-06 5:10 UTC (permalink / raw)
To: Mark Lord; +Cc: linux-kernel
On Monday, 5. September 2005 18:27, Mark Lord wrote:
> Oh, you *should* be able to get the results you
> are looking for (hdparm -I) by trying it this way:
>
> hdparm --Istdin </proc/ide/hdd/identify
>
> Cheers
Oh yes, you are right! It works. But what is the reason behind this new
behaviour?
Best regards
Oliver
--
I used to work in a fire hydrant factory. You couldn't park anywhere
near the place.
-- Steven Wright
--
__
________________________________________creating IT solutions
Dr. Oliver Tennert
Senior Solutions Engineer
CAx Professional Services
science + computing ag
phone +49(0)7071 9457-598 Hagellocher Weg 71-75
fax +49(0)7071 9457-411 D-72070 Tuebingen, Germany
O.Tennert@science-computing.de www.science-computing.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: DVD+-R[W] regression in 2.6.12/13
2005-09-05 16:24 ` Mark Lord
2005-09-05 16:27 ` Mark Lord
@ 2005-09-05 17:02 ` Alan Cox
2005-09-05 16:44 ` Mark Lord
1 sibling, 1 reply; 6+ messages in thread
From: Alan Cox @ 2005-09-05 17:02 UTC (permalink / raw)
To: Mark Lord; +Cc: Oliver Tennert, linux-kernel
On Llu, 2005-09-05 at 12:24 -0400, Mark Lord wrote:
> I'm not sure why the "failed: Input/output error" (-EIO) result is
> being returned from the ATA layer in this case. Driver bug, most likely.
Because the command failed an error was reported back instead of success
status/info.
Alan
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: DVD+-R[W] regression in 2.6.12/13
2005-09-05 17:02 ` Alan Cox
@ 2005-09-05 16:44 ` Mark Lord
0 siblings, 0 replies; 6+ messages in thread
From: Mark Lord @ 2005-09-05 16:44 UTC (permalink / raw)
To: Alan Cox; +Cc: Oliver Tennert, linux-kernel
Alan Cox wrote:
> On Llu, 2005-09-05 at 12:24 -0400, Mark Lord wrote:
>
>>I'm not sure why the "failed: Input/output error" (-EIO) result is
>>being returned from the ATA layer in this case. Driver bug, most likely.
>
> Because the command failed an error was reported back instead of success
> status/info.
Well, yes, that's -EIO, as expected from the IDENTIFY command.
But the PACKET_IDENTIFY should not be failing on the ATAPI drive.
-ml
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-09-06 5:10 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-05 13:33 DVD+-R[W] regression in 2.6.12/13 Oliver Tennert
2005-09-05 16:24 ` Mark Lord
2005-09-05 16:27 ` Mark Lord
2005-09-06 5:10 ` Oliver Tennert
2005-09-05 17:02 ` Alan Cox
2005-09-05 16:44 ` Mark Lord
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox