[Bug 38235] New: Blindwrite 7 does not detect any CD/DVD drive.

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Mar 16 09:27:27 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=38235

            Bug ID: 38235
           Summary: Blindwrite 7 does not detect any CD/DVD drive.
           Product: Wine
           Version: 1.7.38
          Hardware: x86
               URL: http://de.vso-software.fr/products/Blindwrite/blindwri
                    te.php
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: mountmgr.sys
          Assignee: wine-bugs at winehq.org
          Reporter: bernhardu at vr-web.de
      Distribution: Debian

Created attachment 51041
  --> https://bugs.winehq.org/attachment.cgi?id=51041
Save user mode accessible device in HKLM\SYSTEM\MountedDevices "\DosDevices\X:"

Having a CD in the drive and that one mounted it is accessible through e.g.
cmd.
But Blindwrite (7.0.0.0) does not show any drive in its user interface.

When looking into a "WINEDEBUG=+reg,+file,+debugstr" an access to
HKLM\SYSTEM\MountedDevices
appears.
There is for any device an entry e.g. "\DosDevices\E:".
This entry holds in my case the mount point of the CD as ASCII.
Blindwrite tries now to access the drive by opening this interpreted as
unicode string, which fails.

trace:file:CreateFileW
L"\6d2f\6465\6169\622f\7265\686e\7261\2f64\4642\3931\3234\325f1" GENERIC_READ
GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE  creation 3 attributes 0x0
...
trace:file:CreateFileW returning 0xffffffff
...
trace:file:DeviceIoControl
(0xffffffff,4d014,0x33f3a4,80,0x33f3a4,80,0x33f3f8,(nil))
...
warn:debugstr:OutputDebugStringA "IOCTL_CDROM_GET_INQUIRY_DATA - Ung\xfcltiges
Handle.\r\n Error 0x00000006 - Ung\xfcltiges Handle.\r\n"

Blindwrite even tries to access this invalid file handle and silently fails.

-----------------

Changing HKLM\SYSTEM\MountedDevices "\DosDevices\E:" to an unicode
representation of "\\.\E:" makes Blindwrite happy and the drive shows up,
and successfully create an image.

Attached is a patch that tries to do this automatically for "DosDevices"
with a drive letter.
(But I am not sure about any side effects or if it could already be
sent to wine-patches.)

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list