IOCTL_DVD_READ_STRUCTURE (DvdPhysicalDescriptor) test failure [text only]

Detlef Riekenberg wine.dev at web.de
Sun Mar 3 15:35:23 CST 2013


Hi Alexandre.

I have a test failure on my win7 Machine, while a valid cd was in the dvd drive.
volume.c:785: Test failed: IOCTL_DVD_READ_STRUCTURE (DvdPhysicalDescriptor) failed, last error = 1785

Example result:

http://test.winehq.org/data/209b58c64e6181c9bf448cb4f3130d3ba705c5d2/win7_dr-w7sp1-wow-p6100/kernel32:volume.html
(The same failure is present, when running the 64bit test)

Other machines are also affected.
Example:
http://test.winehq.org/data/4a685ebea343efdcb433f8d710b0c9f902e471fa/win7_matt/kernel32:volume.html

You wrote the tests, which was comitted on 12. July 2012:
http://source.winehq.org/git/wine.git/commitdiff/a3b5dd2dff0d04fe317f00282ccb0488e4803015

What media did you use, to test your code?
Data-DVD, Video-DVD, Empty DVD, Data-CD, Video-CD, Audio-CD, Empty CD, No Disc in Drive

What results did you get on Windows and Unix?

On Linux, mounting the example CD works perfect, but your test fails:
volume.c:785: Test failed: IOCTL_DVD_READ_STRUCTURE (DvdPhysicalDescriptor) failed, last error = 87

Your test only read the DVD descriptor.

To fix your test, I suggest, that you add a trace to dump the
*_READ_STRUCTURE IoControl result and add similar tests
for the other media formats.


I also tested with a different Data-CD and got the same failure on linux (last error = 87).
You can check the image yourself:
http://www.memtest86.com/downloads/memtest86-4.1.0-iso.zip
(Burned on a CD)

Your broken test was not detected by winetest, but that is a different issue
http://bugs.winehq.org/show_bug.cgi?id=31780


sorry for the prev. html mail

--
By by ... Detlef





More information about the wine-devel mailing list