Notifications
Clear all

Error 103

8 Posts
2 Users
0 Reactions
266 Views
(@hyp3r)
Active Member Registered
Joined: 3 weeks ago
Posts: 3
Topic starter  

Hi,

can anyone help me solve this Problem?

First where can I look up the Error Codes? What does Error 103 mean? (lookup Attachment)
Second how do I solve this so I can install the latest drivers?

Best Regards,
hyp3r


   
Quote
Glenn
(@glenn)
Member Admin
Joined: 6 years ago
Posts: 1312
 

try a more common image format


   
ReplyQuote
(@hyp3r)
Active Member Registered
Joined: 3 weeks ago
Posts: 3
Topic starter  

@glenn reupload in .jpeg.

oh and forget the second, that


   
ReplyQuote
Glenn
(@glenn)
Member Admin
Joined: 6 years ago
Posts: 1312
 

ok, i can see the error. now to find out what is generating it.  can you post the log please, you'll probably need to zip it.


   
ReplyQuote
(@hyp3r)
Active Member Registered
Joined: 3 weeks ago
Posts: 3
Topic starter  

@glenn Here is my logs folder compressed in a .zip


   
ReplyQuote
Glenn
(@glenn)
Member Admin
Joined: 6 years ago
Posts: 1312
 

this is a typical error entry in your log file:

Installing $0015
  Pack:     drivers\DP_Chipset_24090.7z
  Name:     PCI Express Root Port
  Provider: Advanced Micro Devices Inc.
  Date:     12/21/2023
  Version:  1.0.0.10
  HWID:     PCI\VEN_1022&DEV_14EF&SUBSYS_14531022&REV_00
  inf:      AMD\FORCED\PCIe\10x64\1.0.0.10\amdusb4pcifilter.inf,amd.ntamd64.10.0
  Score:    00FF0000

Extracting via 'app x -y "drivers\DP_Chipset_24090.7z" -o"C:\Users\hyp3r\AppData\Local\Temp\SDIO" "AMD\FORCED\PCIe\10x64\1.0.0.10\" "AMD\FORCED\USBhub\10x64\1.0.0.11\"'
Ret 0, 1 secs
Install32 'PCI\VEN_1022&DEV_14EF&SUBSYS_14531022&REV_00','C:\Users\hyp3r\AppData\Local\Temp\SDIO\AMD\FORCED\PCIe\10x64\1.0.0.10\amdusb4pcifilter.inf'
Dir: (C:\Users\hyp3r\AppData\Local\Temp\SDIO)
Created 'C:\Users\hyp3r\AppData\Local\Temp\SDIO\install64.exe'
Resize to 128->140
'C:\Users\hyp3r\AppData\Local\Temp\SDIO\install64.exe "PCI\VEN_1022&DEV_14EF&SUBSYS_14531022&REV_00" "C:\Users\hyp3r\AppData\Local\Temp\SDIO\AMD\FORCED\PCIe\10x64\1.0.0.10\amdusb4pcifilter.inf"'
Run(C:\Users\hyp3r\AppData\Local\Temp\SDIO\install64.exe,"PCI\VEN_1022&DEV_14EF&SUBSYS_14531022&REV_00" "C:\Users\hyp3r\AppData\Local\Temp\SDIO\AMD\FORCED\PCIe\10x64\1.0.0.10\amdusb4pcifilter.inf",0,1)
Ret 259(0x103),norb,0 secs

 

Everything is correct as it runs the installer. The installer returns 259(0x103) after 0 seconds. That particular return code has special meaning according to https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-getexitcodeprocess , and seems to indicate that the process being queried by GetExitCodeProcess is still active.  I don't know precisely to what process this refers. I will need to explore the install64.exe code to understand where the error originates. That's a job for next week.


   
ReplyQuote
Glenn
(@glenn)
Member Admin
Joined: 6 years ago
Posts: 1312
 

it's not something like AV blocking it is it?


   
ReplyQuote
Glenn
(@glenn)
Member Admin
Joined: 6 years ago
Posts: 1312
 

the code for install64.exe is really simple.

 

int WINAPI WinMain(HINSTANCE hThisInstance,HINSTANCE hPrevInstance,LPSTR lpszArgument,int nCmdShow)
{
	UNREFERENCED_PARAMETER(hThisInstance);
	UNREFERENCED_PARAMETER(hPrevInstance);
	UNREFERENCED_PARAMETER(lpszArgument);
	UNREFERENCED_PARAMETER(nCmdShow);

	WCHAR **argv;
    int argc;
    int ret=0,needreboot=0,lr;

	wprintf(L"Start\n");
	wprintf(L"Command: '%s'\n",GetCommandLineW());
    argv=CommandLineToArgvW(GetCommandLineW(),&argc);

	if(argc==3)
	{
		wprintf(L"Install64.exe '%s' '%s'\n",argv[1],argv[2]);
		ret=UpdateDriverForPlugAndPlayDevices(FindWindow(L"classSDIMain",0),argv[1],argv[2],INSTALLFLAG_FORCE,&needreboot);
	}
	else
		printf("argc=%d\n",argc);
	lr=GetLastError();
	wprintf(L"Finished %d,%d,%d(%X)\n",ret,needreboot,lr,lr);
	if(!ret)
	{
		ret=lr;
		print_error(lr,L"");
	}

	LocalFree(argv);
	if(!ret)return lr;
	return ret+(needreboot?0x80000000:0);
}

 

It makes a call to the Windows API function UpdateDriverForPlugAndPlayDevices.

https://learn.microsoft.com/en-us/windows/win32/api/newdev/nf-newdev-updatedriverforplugandplaydevicesa

If this function reports an error, it retrieves the error code using the standard GetLastError. This error code is then returned to SDIO.

According to the above Microsoft page, UpdateDriverForPlugAndPlayDevices will return error 259 if:

The function found a match for the HardwareId value, but the specified driver was not a better match than the current driver and the caller did not specify the INSTALLFLAG_FORCE flag.

However as you can see from the code above, the INSTALLFLAG_FORCE is specified.

There is a discussion on this topic here https://stackoverflow.com/questions/11474317/updatedriverforplugandplaydevices-error-is-telling-me-im-not-doing-something . In this case the issue was with the INF file. Is it possible all of the INF files are faulty somehow?

I'm not sure where that leaves us.  I'd be interested to know the outcome if you were to manually uninstall whatever drivers are currently installed before running SDIO again.

 

This post was modified 6 days ago by Glenn

   
ReplyQuote
Glenn's Page