Skip to content

CUERipper fails in a very weird way with LG GH24NSD1 #19

@radorn

Description

@radorn

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

changed the title [-]GH24NSD1[/-] [+]CUERipper won't rip GH24NSD1[/+] on May 4, 2019
reopened this on May 4, 2019
changed the title [-]CUERipper won't rip GH24NSD1[/-] [+]CUERipper won't extract audio from LG drive GH24NSD1[/+] on May 4, 2019
changed the title [-]CUERipper won't extract audio from LG drive GH24NSD1[/-] [+]Exception: Error reading CD: medium error: UNRECOVERED READ ERROR[/+] on May 4, 2019
changed the title [-]Exception: Error reading CD: medium error: UNRECOVERED READ ERROR[/-] [+]"Exception: Error reading CD: medium error: UNRECOVERED READ ERROR"[/+] on May 4, 2019
reopened this on May 4, 2019
changed the title [-]"Exception: Error reading CD: medium error: UNRECOVERED READ ERROR"[/-] [+]CUERipper fails with specific drive in a very weird way.[/+] on May 13, 2019
polyrainbow

polyrainbow commented on Jul 26, 2019

@polyrainbow

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.

changed the title [-]CUERipper fails with specific drive in a very weird way.[/-] [+]CUERipper fails in a very weird way with LG GH24NSD1[/+] on Aug 21, 2019
mvondev

mvondev commented on Jan 23, 2020

@mvondev

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:

  1. Set up a local CueTools.NET source according to the instructions in Readme.md.
  2. Open the solution with Visual Studio 2017.
  3. Locate the folder Ripper, find a project named CUETools.Ripper.SCSI, and a file named SCSIDrive.cs within.
  4. Open the file and go to line 787 or so.
  5. Change the line

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. ]

  1. Recompile.

  2. 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).

  3. Try running the modified CueRipper. You should no longer get the symptom.

mvondev

mvondev commented on Jan 23, 2020

@mvondev

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

radorn commented on Jan 23, 2020

@radorn
Author

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

mvondev commented on Jan 24, 2020

@mvondev

Here is a zip file containing the binaries.

  1. Couldn't get the build process to
    build some plugins. They are missing in the archive.
  2. CueRipper with flac output works.
  3. Use at your own risk.

(Old link removed, new link available below)

3 remaining items

radorn

radorn commented on Jan 25, 2020

@radorn
Author

Who wants WMA anyway? :D

added a commit that references this issue on Apr 10, 2021
16de14b
c72578

c72578 commented on Apr 10, 2021

@c72578
Collaborator

@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 GH24NSD1 or ASUS DRW-24D5MT, which can be downloaded here: #97

added a commit that references this issue on Apr 15, 2021
f4ec19f
c72578

c72578 commented on Jun 20, 2021

@c72578
Collaborator

@ky7749 Could you please post a screenshot of CUERipper, which shows the details, how your ASUS DRW-24D5MT drive, including firmware version is detected?
Remark: There has been a different report for an ASUS DRW-24D5MT drive with firmware 2.00 : #107 (comment)

added a commit that references this issue on Feb 7, 2022
added a commit that references this issue on Jun 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @c72578@polyrainbow@radorn@mvondev

      Issue actions

        CUERipper fails in a very weird way with LG GH24NSD1 · Issue #19 · gchudov/cuetools.net