The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.
Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/
I am having a problem with certain USB Flash drives of a specific brand. When i connect that flash drive, sometimes i get the following BSOD on certain Windows 10 machines:
KMODE_EXCEPTION_NOT_HANDLED (1e) This is a very common bugcheck. Usually the exception address pinpoints the driver/function that caused the problem. Always note this address as well as the link date of the driver/image that contains this address. Arguments: Arg1: ffffffffc0000005, The exception code that was not handled Arg2: fffff80010c47500, The address that the exception occurred at Arg3: 0000000000000000, Parameter 0 of the exception Arg4: ffffffffffffffff, Parameter 1 of the exception
nt!KeBugCheckEx nt!KiFatalExceptionHandler+0x22 nt!RtlpExecuteHandlerForException+0xf nt!RtlDispatchException+0x430 nt!KiDispatchException+0x144 nt!KiExceptionDispatch+0xc2 nt!KiGeneralProtectionFault+0x30b usbuhci!memcpy+0x80 usbuhci!UhciProcessDoneAsyncTd+0x14c usbuhci!UhciPollAsyncEndpoint+0x710 usbuhci!UhciPollEndpoint+0x1a USBPORT!USBPORT_iSetGlobalEndpointStateTx+0x1b4 USBPORT!USBPORT_Core_UsbHcIntDpc_Worker+0x309 USBPORT!USBPORT_Xdpc_Worker_HcIntDpc+0x217 nt!KiExecuteAllDpcs+0x2ec nt!KiRetireDpcList+0x1ae nt!KxRetireDpcList+0x5 nt!KiDispatchInterruptContinue nt!KiDpcInterruptBypass+0x25 nt!KiInterruptDispatch+0xb1 0x00007ff7`adf50400
Anyone knows why is this happening? And if this is due to a problem with the flash drive's driver, why is the BSOD happening in usbuhc.sys, which is a Microsoft driver?
|Upcoming OSR Seminars|
|OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!|
|Writing WDF Drivers||12 September 2022||Live, Online|
|Internals & Software Drivers||23 October 2022||Live, Online|
|Kernel Debugging||14 November 2022||Live, Online|
|Developing Minifilters||5 December 2022||Live, Online|