DVD/CD Read Problem: cdrom_decode_status: status=0x51 {DriveReady SeekComplete Error}

Adam Kessel (adam@bostoncoop.net)
Sun, 13 Jul 2003 10:06:28 -0400

I get the following errors and an unkillable process when trying to play
DVDs, using the latest 2.5.75:

Jul 13 00:15:03 joehill kernel: hdc: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Jul 13 00:15:03 joehill kernel: hdc: cdrom_decode_status: error=0x30LastFailedSense 0x03

and sometimes:

Jul 13 00:15:03 joehill kernel: hdc: ide_intr: huh? expected NULL handler on exit

This problem has been discussed several times before on this list[1], but with
no resolution or fixes that I can find.

I don't believe this is a userspace issue. Other OS's are able to deal with
playing video DVDs by skipping read errors quickly. There should be some one
way to tell the kernel not to keep retrying for certain (i.e., non-data)
CD/DVDs. I can't see any possible way to do this in application space, though.

I've tried building the kernel with CONFIG_IDEDISK_MULTI_MODE as per some
suggestions on this list. This may have made a small difference, although it
might have also just been a lucky run.

I also tried setting ERROR_MAX and ERROR_RESET to 0 in ide-cd.c, which did
shorten the "hanging" duration, but didn't fix it entirely, and also seems like
a bad way to fix this problem.

I'm not sure why it's getting errors at all, incidentally, as this occurs
with brand new DVDs out of the shrink wrap, and a relatively new DVD
player (HP F2015B, manufactured by Quanta).

--Adam Kessel

[1] Most recently in April of this year:

"Bug in linux kernel when playing DVDs."

And in March:

"Help please: DVD ROM read difficulty"
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/