http://bugs.winehq.org/show_bug.cgi?id=30155
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #3 from Anastasius Focht focht@gmx.net 2012-03-13 16:23:00 CDT --- Hello Stefan,
is that log file from a single game installation in clean WINEPREFIX?
There exist two safedisc driver binaries, one in system32/drivers and one dynamically extracted from setup.exe.
--- snip --- 0009:Call KERNEL32.CreateFileA(0032f21c "D:\Setup\Setup.exe",80000000,00000001,00000000,00000003,00000000,00000000) ret=1000119d 0009:Ret KERNEL32.CreateFileA() retval=0000002c ret=1000119d ... 0009:Call KERNEL32.CreateFileA(0032ee8c "C:\users\stefan\Temp\~ef87a1\secdrv.sys",c0000000,00000000,00000000,00000002,10000000,00000000) ret=1000424d 0009:Ret KERNEL32.CreateFileA() retval=00000038 ret=1000424d ... 0009:Call KERNEL32.SetFilePointer(0000002c,0012df47,00000000,00000000) ret=1000441f 0009:Ret KERNEL32.SetFilePointer() retval=0012df47 ret=1000441f 0009:Call KERNEL32.ReadFile(0000002c,00494940,00000800,0032ee50,00000000) ret=1000451a 0009:Ret KERNEL32.ReadFile() retval=00000001 ret=1000451a 0009:Call KERNEL32.WriteFile(00000038,00494940,00000800,0032ee5c,00000000) ret=10004637 0009:Ret KERNEL32.WriteFile() retval=00000001 ret=10004637 ... 0009:Call KERNEL32.CloseHandle(00000038) ret=10004382 0009:Ret KERNEL32.CloseHandle() retval=00000001 ret=10004382 ... 0009:Call KERNEL32.CloseHandle(0000002c) ret=10001278 0009:Ret KERNEL32.CloseHandle() retval=00000001 ret=10001278 --- snip ---
--- snip --- 0018:Call KERNEL32.CreateProcessW(00000000,00119630 L"C:\windows\system32\winedevice.exe Secdrv",00000000,00000000,00000000,00000400,00540000,00000000,0094e528,0094e56c) ret=7ed545f8 ... 002d:Call KERNEL32.LoadLibraryW(0011ab10 L"C:\windows\system32\drivers\\SECDRV.SYS") ret=7ed5d9ad ... 002d:Ret KERNEL32.LoadLibraryW() retval=00540000 ret=7ed5d9ad ... trace:winedevice:load_driver_module L"C:\windows\system32\drivers\\SECDRV.SYS": relocating from 0x10000 to 0x540000 --- snip ---
I don't see any file copy so it seems you probably had at least one (failed) run prior that might have caused a file copy to system32/drivers.
There is only a single ioctl after driver init:
--- snip --- trace:ntoskrnl:process_ioctl ioctl ef002407 device 0x11aab8 in_size 1300 out_size 3096 ... 002d:Call driver dispatch 0x540402 (device=0x11aab8,irp=0x53e7c0) ... trace:ntoskrnl:__regs_IofCompleteRequest 0x53e7c0 0 ... 002d:Ret driver dispatch 0x540402 (device=0x11aab8,irp=0x53e7c0) retval=00000000 --- snip ---
before the service gets shut down again.
It would be helpful if you hexdump the input buffer passed to driver via ioctl code 0xef002407 (first 8 DWORDs are enough).
Additionally can you send me the driver binary (email).
Regards