-
Notifications
You must be signed in to change notification settings - Fork 57
Description
Sorry for the crappy title, but this problem I'm having keeps giving me twists and surprises, so I don't even know what to put there. I'm sorry because this is going to be a bit long.
With a certain drive I have, I keep getting this error:
"Exception: Error reading CD: medium error: UNRECOVERED READ ERROR"
I've tried many things and along the way I was surprised with what I found out, so I'll start with the last discovery and then go through some of the strange events that preceeded it.
I'm running Windows 7 64bit, and I have an LG GH24NSD1 SATA drive. It works as far as detecting the disc, reading the TOC, finding drive features, detecting gaps... and then it fails when trying to extract the audio. I thought there was something wrong with the drive itself for a long time, but then yesterday I loaded a Windows XP VM I have under VirtualBox and put this drive in passthrough mode to the VM, and ran CUERipper from there and it worked without a hitch, and very fast.
What's weirder thing is that if I close the VM and immediately open CUERipper from the host OS, I can actually rip one disc. But, after that rip finishes or, if I abort it, attempting a second rip fails with that same error again.
Prior to this, I tried everything I could think of: Disabling HTOA and gap detection, using burst mode, zero offset, running as administrator, and even setting several compatibility modes (XP sp3, sp2, 2000... 98!). Nothing worked.
I have other drives, which are all IDE, connected to an IDE channel built into the motherboard, not an add-in controller card: An LG DVD-RAM multidrive, two Plextor CD-RWs, and even a 52x LG CD-ROM. All of them work right with CUERipper, mostly. I don't know what is the problem, wether the drives themselves, the OS or the ripping software.
But there's even more strangeness going on, because Exact Audio Copy does read from that LG SATA drive without the need for loading that VM first.
That said, I've been having quite a bit of trouble with all drives before. Even if the drive works in EAC under the host OS (win7), sometimes it goes sluggish, or just throws read and sync errors all the time, but other times it doesn't.
As you can see this is a mess. I have had other problems too, but I'm not sure they'd add any relevant information. Maybe everything would be fixed with a fresh OS install. Maybe some update in the last two years or so messed things up. I really have no idea. It's all very weird.
UPDATE: I just emptied an old HDD and tried installing both windows 7 and windows 10 fresh and run CUERipper from there. I keep getting the same error, so I'd say a faulty OS installation is ruled out.
Activity
[-]GH24NSD1[/-][+]CUERipper won't rip GH24NSD1[/+][-]CUERipper won't rip GH24NSD1[/-][+]CUERipper won't extract audio from LG drive GH24NSD1[/+][-]CUERipper won't extract audio from LG drive GH24NSD1[/-][+]Exception: Error reading CD: medium error: UNRECOVERED READ ERROR[/+][-]Exception: Error reading CD: medium error: UNRECOVERED READ ERROR[/-][+]"Exception: Error reading CD: medium error: UNRECOVERED READ ERROR"[/+][-]"Exception: Error reading CD: medium error: UNRECOVERED READ ERROR"[/-][+]CUERipper fails with specific drive in a very weird way.[/+]polyrainbow commentedon Jul 26, 2019
I can confirm this: I'm having the same issue with my LG GH24NSD1 (on Win 10), so it indeed seems related to the CD drive model.
[-]CUERipper fails with specific drive in a very weird way.[/-][+]CUERipper fails in a very weird way with LG GH24NSD1[/+]mvondev commentedon Jan 23, 2020
I just bought an ASUS DRW-24D5MT which is really just an LG GH24NSB0. It shows exactly the same symptom as the bug submitter's LG GH24NSD1.
I discovered a workaround. Unfortunately it requires modifying the source code and recompile. A sketchy procedure:
Readme.md.Ripper, find a project namedCUETools.Ripper.SCSI, and a file namedSCSIDrive.cswithin.Device.C2ErrorMode[] c2mode = { Device.C2ErrorMode.Mode294, Device.C2ErrorMode.Mode296, Device.C2ErrorMode.None };to
Device.C2ErrorMode[] c2mode = { Device.C2ErrorMode.Mode296, Device.C2ErrorMode.Mode294, Device.C2ErrorMode.None };[ In the original code, the C2 error mode '294' was tried first and succeeded, but it caused the symptom later on. By swapping, '296' was tried first and did not cause problem. I was able to complete ripping several discs. But frankly, I have no idea what 294 and 296 mean. ]
Recompile.
Copy the compiled binaries (exe's, dll's, etc) into a 'correct' directory structure. (Download CUETools_2.1.7.zip, unzip it. Try to recreate that directory layout with the compiled binaries).
Try running the modified CueRipper. You should no longer get the symptom.
mvondev commentedon Jan 23, 2020
By the way I came across another DVD drive (PLDS DVDROM DA8DESH BL6M) on a Levono ThinkCentre PC. Using CueRipper with this drive gave similar symptom, except that the error message at the end was
Exception: Error reading CD: hardware error: TIMEOUT ON LOGICAL UNIT. The workaround seemed to work.radorn commentedon Jan 23, 2020
Nice discovery, ky7749! So, the problem is related to C2 handling, it seems.
Could you share those binaries? I'm done ripping discs for a while, but I wouldn't mind having those handy just in case.
mvondev commentedon Jan 24, 2020
Here is a zip file containing the binaries.
build some plugins. They are missing in the archive.
(Old link removed, new link available below)
3 remaining items
radorn commentedon Jan 25, 2020
Who wants WMA anyway? :D
Fix C2 error mode for selected drives
c72578 commentedon Apr 10, 2021
@ky7749 Thanks for investigating this issue and sharing all the details.
@radorn, @ky7749 Feel free to test a current build of CUETools with the affected drives
LG GH24NSD1orASUS DRW-24D5MT, which can be downloaded here: #97Fix C2 error mode for selected drives
c72578 commentedon Jun 20, 2021
@ky7749 Could you please post a screenshot of CUERipper, which shows the details, how your
ASUS DRW-24D5MTdrive, including firmware version is detected?Remark: There has been a different report for an
ASUS DRW-24D5MTdrive with firmware 2.00 : #107 (comment)Try C2ErrorMode.Mode296 first
HL-DT-ST BD-RE BU40N 1.04#164Try C2ErrorMode.Mode296 first