https://bugs.winehq.org/show_bug.cgi?id=53717
Bug ID: 53717 Summary: Unreadable CDROM disk freezes wine Product: Wine Version: 7.17 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: winebugs@copysoft.org Distribution: ---
I'm trying to recover data from an almost unreadable CDROM disk. I have been running ddrescue non-stop for a few days now and data is slowly being recovered. This means the CDROM drive is permanently busy at all times with a disk that is unreadable and unmountable under normal circumstances (this is important).
When I try to launch a wine application via Wine I find that Wine attempts to access the CDROM drive, I can hear the CDROM drive making noises as if starting/stopping but nothing ever happens, can hear the drive clicking as in starting and stopping, the wine application I'm trying to run never start, I can see some wine .exe processes in D state, I guess waiting for the CDROM drive to become available.
I can see this in the console:
0058:err:sync:RtlpWaitForCriticalSection section 000000006CDCB040 "dlls/mountmgr.sys/device.c: device_section" wait timed out in thread 0058, blocked by 0064, retrying (60 sec)
It seems that when a drive is unreadable or inaccessible wine freezes and continually re-tries access to the drive.
This also means that Wine interferes with ddrescue when trying to access the CDROM drive, because the disk is unreadable and both applications try to access no Wine application ever starts, and if it does (winecfg) it freezes, so I end in a situation Wine doesn't work and it bothers ddrescue.
Is there a way to start Wine applications making them ignore the CDROM Drive?
In the Wine control panel I can get rid of the Z drive for example but not the CDROM drive...
I also tried to go into the Wine prefix under "dosdevices" and removed: d:: -> /dev/sr0
Then tried to link d:: to /dev/null but wine recreates the link to the drive as e:: -> /dev/sr0 and tries to access the CDROM again.
Is there a way to tell WINE not to use a device? as in ignore /dev/sdr?