public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Cox <adrian@humboldt.co.uk>
To: linux-kernel@vger.kernel.org
Cc: Jens Axboe <axboe@suse.de>
Subject: cdromaudio patch gives up too easily
Date: Tue, 09 Mar 2004 14:07:23 +0000	[thread overview]
Message-ID: <1078841242.995.24.camel@newt> (raw)

The patch for DMA based CD reading worked well for me until I tried to
read the audio from a badly damaged CDR.  At this point the code dropped
back to the old mechanism and stayed that way for further CDs.

The logs below show what happened, running 2.6.4-rc2 with just that
patch:

cdrom: open failed.
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x30
ATAPI device hdc:
  Error: Medium error -- (Sense key=0x03)
  (reserved error code) -- (asc=0x57, ascq=0x00)
  The failed "Prevent/Allow Medium Removal" packet command was:
  "1e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
cdrom: open failed.
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x30
ATAPI device hdc:
  Error: Medium error -- (Sense key=0x03)
  (reserved error code) -- (asc=0x57, ascq=0x00)
  The failed "Prevent/Allow Medium Removal" packet command was:
  "1e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
cdrom: cdda rip sense 03/02/00
cdrom: dropping to old style cdda
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x30
ATAPI device hdc:
  Error: Medium error -- (Sense key=0x03)
  (reserved error code) -- (asc=0x02, ascq=0x00)
  The failed "Read CD" packet command was:
  "be 04 00 00 00 00 00 00 08 f8 00 00 00 00 00 00 "

... and the above pattern eventually becomes this:
ide-cd: cmd 0xbe timed out
hdc: irq timeout: status=0xd0 { Busy }
hdc: irq timeout: error=0xd0LastFailedSense 0x0d
hdc: ATAPI reset complete
ide-cd: cmd 0xbe timed out
hdc: irq timeout: status=0xd0 { Busy }
hdc: irq timeout: error=0xd0LastFailedSense 0x0d
hdc: ATAPI reset complete
ide-cd: cmd 0xbe timed out
hdc: irq timeout: status=0xd0 { Busy }
hdc: irq timeout: error=0xd0LastFailedSense 0x0d
hdc: status timeout: status=0xd0 { Busy }
hdc: status timeout: error=0xd0LastFailedSense 0x0d
hdc: drive not ready for command
hdc: ATAPI reset complete

At some point in the sequence I killed grip and ejected the CD.

- Adrian Cox



             reply	other threads:[~2004-03-09 14:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-09 14:07 Adrian Cox [this message]
2004-03-09 14:16 ` cdromaudio patch gives up too easily Jens Axboe
2004-03-09 14:35   ` Jens Axboe

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=1078841242.995.24.camel@newt \
    --to=adrian@humboldt.co.uk \
    --cc=axboe@suse.de \
    --cc=linux-kernel@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