mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Adam Kessel <adam@bostoncoop.net>
To: Andrey Borzenkov <arvidjaar@mail.ru>
Cc: linux-kernel@vger.kernel.org
Subject: Re: DVD/CD Read Problem: cdrom_decode_status: status=0x51 {DriveReady SeekComplete Error}
Date: Sun, 13 Jul 2003 22:45:36 -0400	[thread overview]
Message-ID: <20030714024535.GA1730@joehill.bostoncoop.net> (raw)
In-Reply-To: <200307131950.44923.arvidjaar@mail.ru>

On Sun, Jul 13, 2003 at 07:51:07PM +0400, Andrey Borzenkov wrote:
> this is ide-cd problem. drivers/ide/ide-cd:cdrom_decode_status():
> [ ... ]
>                } else if ((err & ~ABRT_ERR) != 0) {
> [ ... ]
>                } else if (sense_key == MEDIUM_ERROR) {
> [ ... ]
> they are not user-space issues. Try to swap two conditions above and see what 
> happens. I cannot test it anymore for reason below ...

Swapping these conditions improved the situation quite a lot.
Subjectively, I would say it's 90% better. By extending the read-ahead
cache to 32M, I can play the DVD almost perfectly with those conditions
(ABRT_ERR and MEDIUM_ERROR) swapped.  

Also, for the first time, I get messages of this sort in syslog:

Jul 13 22:22:47 joehill kernel: end_request: I/O error, dev hdc, sector 7865320
Jul 13 22:22:47 joehill kernel: Buffer I/O error on device hdc, logical block 983165

Before, the only sorts of errors I ever got were:

Jul 13 00:14:35 joehill kernel: hdc: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Jul 13 00:14:35 joehill kernel: hdc: cdrom_decode_status: error=0x30LastFailedSense 0x03 
Jul 13 00:14:35 joehill kernel: hdc: ide_intr: huh? expected NULL handler on exit

Is there a reason these conditions should *not* be swapped? Is there
something I can test? Otherwise, my problem is basically fixed by this
change.

--Adam Kessel

  reply	other threads:[~2003-07-14  2:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-13 15:51 Andrey Borzenkov
2003-07-14  2:45 ` Adam Kessel [this message]
2003-07-15  0:03 ` Federico Stella
2003-07-15 22:19   ` Federico Stella
  -- strict thread matches above, loose matches on Subject: below --
2003-07-13 14:06 Adam Kessel
2003-07-13 14:19 ` Alan Cox

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=20030714024535.GA1730@joehill.bostoncoop.net \
    --to=adam@bostoncoop.net \
    --cc=arvidjaar@mail.ru \
    --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

all inboxes | Powered by JetHome®