[Bug 52300] Oculus Setup Installer Incorrectly Claims to Not Have Enough Storage

WineHQ Bugzilla wine-bugs at winehq.org
Sat Jan 22 15:45:33 CST 2022


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

Louis Lenders <xerox.xerox2000x at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|-unknown                    |mountmgr.sys
                 CC|                            |xerox.xerox2000x at gmail.com
     Ever confirmed|0                           |1

--- Comment #1 from Louis Lenders <xerox.xerox2000x at gmail.com> ---
Confirming. Guess it`s due to:

006c:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d0c14 (device=2d access=0
func=305 method=0)
DeviceIoControl() failed with 0 bytes returned.  [234]
Exception when enumerating drives:
System.Exception: Exception of type 'System.Exception' was thrown.
   at Daybreak.Win32.Kernel.IsInternal(DriveInfo driveInfo)
   at Dawn.InstallLocations.Scan(Int64 requiredSpace)
CreateFileW(\\.\E:) failed.  [234]

With the stupid hack below I was able to get it around it and it starts
download stuff; I stopped it for now as it`s a 5 Gb download..

hack:

diff --git a/dlls/mountmgr.sys/device.c b/dlls/mountmgr.sys/device.c
index b8a0040195d..f8228442516 100644
--- a/dlls/mountmgr.sys/device.c
+++ b/dlls/mountmgr.sys/device.c
@@ -1732,6 +1732,7 @@ static NTSTATUS WINAPI harddisk_ioctl( DEVICE_OBJECT
*device, IRP *irp )
     switch(irpsp->Parameters.DeviceIoControl.IoControlCode)
     {
     case IOCTL_DISK_GET_DRIVE_GEOMETRY:
+    case 0x2d0c14:
     {
         DISK_GEOMETRY info;
         DWORD len = min( sizeof(info),
irpsp->Parameters.DeviceIoControl.OutputBufferLength );

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