| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		dxhowardjack How do I cheat?
  Reputation: 0
  Joined: 20 Sep 2020 Posts: 2
 
  | 
		
			
				 Posted: Tue Sep 22, 2020 4:35 am    Post subject: Win10 kernel DbgPrint message & driver dev | 
				       | 
			 
			
				
  | 
			 
			
				Hi,
 
 
My OS is win10, and I use Microsoft's official Dbgview.exe
 
I can't get DbgPrint kernel message like from UltimapDrvr.c
 
 	  | Code: | 	 		  | DbgPrint("Ultimap2 driver loading...\n"); | 	  
 
 
Btw, I have no idea how to properly run/unload a .sys file. I have tried devcon.exe, but it fail to install driver.
 
 	  | Code: | 	 		  
 
>.\devcon.exe install .\KMDFDriver2.inf Root\KMDFDriver2
 
devcon.exe failed.
 
 | 	  
 
 
Please help me, I want to dev some kernel level driver stuffs.
 
 
Thanks.   
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		atom0s Moderator
  Reputation: 205
  Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
  | 
		
			
				 Posted: Tue Sep 22, 2020 5:07 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				To get more info on the driver failing to load, look at the log file here:
 
 	  | Code: | 	 		  | %windir%\inf\setupapi.dev.log | 	  
 
 
The most common case is going to be the driver isn't signed and your OS is not set to load unsigned drivers.
 _________________
 - Retired.  | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		dxhowardjack How do I cheat?
  Reputation: 0
  Joined: 20 Sep 2020 Posts: 2
 
  | 
		
			
				 Posted: Wed Sep 23, 2020 1:37 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				 	  | atom0s wrote: | 	 		  To get more info on the driver failing to load, look at the log file here:
 
 	  | Code: | 	 		  | %windir%\inf\setupapi.dev.log | 	  
 
 
The most common case is going to be the driver isn't signed and your OS is not set to load unsigned drivers. | 	  
 
 
Thanks, now it works only in x64 devcon.exe and install x64 driver.
 
And Dbgview.exe shows the x64 driver messages fine.  
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		 |