Question BSOD: DRIVER_IRQL_NOT_LESS_OR_EQUAL ntoskrnl.exe

vanyagetc

Prominent
Mar 14, 2023
18
1
515
031423-22984-01.dmp 14.03.2023 19:27:13 DRIVER_IRQL_NOT_LESS_OR_EQUAL 0x000000d1 000000000000fcbf 0000000000000002 0000000000000008 000000000000fcbf ntoskrnl.exe ntoskrnl.exe+3f9290 NT Kernel & System Microsoft® Windows® Operating System Microsoft Corporation 10.0.19041.2604 (WinBuild.160101.0800) x64 ntoskrnl.exe+3f9290 C:\Windows\Minidump\031423-22984-01.dmp 12 15 19041 1 018 492 14.03.2023 19:28:04


ntoskrnl.exe ntoskrnl.exe+51c84e fffff80235a00000 fffff80236a46000 0x01046000 0xff67283a 14.10.2105 11:03:06 Microsoft® Windows® Operating System NT Kernel & System 10.0.19041.2604 (WinBuild.160101.0800) Microsoft Corporation C:\Windows\system32\ntoskrnl.exe


AND this one meets more often:
031423-24328-01.dmp 14.03.2023 18:58:30 APC_INDEX_MISMATCH 0x00000001 0000000077371cfc 0000000000000000 000000000000ffff ffffc10ce2d17b80 ntoskrnl.exe ntoskrnl.exe+3f9290 NT Kernel & System Microsoft® Windows® Operating System Microsoft Corporation 10.0.19041.2604 (WinBuild.160101.0800) x64 ntoskrnl.exe+3f9290 C:\Windows\Minidump\031423-24328-01.dmp 12 15 19041 966 916 14.03.2023 18:59:21

ntoskrnl.exe ntoskrnl.exe+40d329 fffff80042c00000 fffff80043c46000 0x01046000 0xff67283a 14.10.2105 11:03:06 Microsoft® Windows® Operating System NT Kernel & System 10.0.19041.2604 (WinBuild.160101.0800) Microsoft Corporation C:\Windows\system32\ntoskrnl.exe
 
APC_INDEX_MISMATCH
this bugcheck is often cause by not updating the bios, then windows update updates a support file and you get this bugcheck. (the specifications for the BIOS interface change over time)

I can not tell you the cause for the other bugcheck other than they violated various rules for a device driver.

best to delete the old minidump files, update the bios, update the motherboard drivers, turn off windows virtual memory, reboot and turn it back on (ie delete pagefile.sys and make a new one)

then retest to see what kind of failure you get. if you get a failure bugcheck, it is best to provide the actual minidump file. ie copy the files from c:\windows\system32\minidump directory to a public clould server, share the files for public access and post a link so someone with a debugger can take a quick look.
 

vanyagetc

Prominent
Mar 14, 2023
18
1
515
APC_INDEX_MISMATCH
this bugcheck is often cause by not updating the bios, then windows update updates a support file and you get this bugcheck. (the specifications for the BIOS interface change over time)

I can not tell you the cause for the other bugcheck other than they violated various rules for a device driver.

best to delete the old minidump files, update the bios, update the motherboard drivers, turn off windows virtual memory, reboot and turn it back on (ie delete pagefile.sys and make a new one)

then retest to see what kind of failure you get. if you get a failure bugcheck, it is best to provide the actual minidump file. ie copy the files from c:\windows\system32\minidump directory to a public clould server, share the files for public access and post a link so someone with a debugger can take a quick look.
My bios is updated to the latest version.
c:\windows\system32\minidump directory
Actually, I can't find the directory with this path... Do you mean I need to post C:\Windows\MEMORY.DMP ? I hope so. Here it is https://drive.google.com/file/d/1ZK1Q8nCnRhqzbrbkUFmjXZTeIW40XIFR/view?usp=sharing
 
RTKVHD64.sys Tue May 14 04:25:05 2019 (this is a bad driver version responds to other drivers sound requests, update)
install updated realtek audio driver from here:B450 AORUS ELITE (rev. 1.x) Support | Motherboard - GIGABYTE Global

you should install the chipset drivers also. your versions are from 2019 (does not match bios verision)

also install the realtek LAN drivers your version is from 2019 (install just because it is a old version) (this device was waiting for a wake up signal)

you will need to install the current bios update f65a to get the
AMD AGESA V2 1.2.0.8 update. (guess this might be the fix for the bug)

lock being held by NVIDIA Share.exe, I would disable this service (unless you are actually using it)

internal error reported by amdpsp

6: FxPkgPnp::pnpMatchResources - Not enough interrupt objects created by WDFDEVICE 0x000038FECE63A5C8

(should just update the chipset drivers to the current version)
microsoft windows updated updated the file amdppm.sys

might want to update your razer mouse software.
or maybe the viper firmware.
there were 3638261 log entries in the one log. 3.6 million




machine info:
BIOS Version F64c
BIOS Release Date 07/20/2022
Manufacturer Gigabyte Technology Co., Ltd.
Product Name B450 AORUS ELITE
Processor Manufacturer Advanced Micro Devices, Inc.
Processor ID 100f8700fffb8b17
Processor Version AMD Ryzen 5 3600 6-Core Processor
Processor Voltage 8bh - 1.1V
External Clock 100MHz
Max Speed 4200MHz
Current Speed 3600MHz
 
Last edited:

vanyagetc

Prominent
Mar 14, 2023
18
1
515
RTKVHD64.sys Tue May 14 04:25:05 2019 (this is a bad driver version responds to other drivers sound requests, update)
install updated realtek audio driver from here:B450 AORUS ELITE (rev. 1.x) Support | Motherboard - GIGABYTE Global

you should install the chipset drivers also. your versions are from 2019 (does not match bios verision)

also install the realtek LAN drivers your version is from 2019 (install just because it is a old version) (this device was waiting for a wake up signal)

you will need to install the current bios update f65a to get the
AMD AGESA V2 1.2.0.8 update. (guess this might be the fix for the bug)

lock being held by NVIDIA Share.exe, I would disable this service (unless you are actually using it)

internal error reported by amdpsp

6: FxPkgPnp::pnpMatchResources - Not enough interrupt objects created by WDFDEVICE 0x000038FECE63A5C8

(should just update the chipset drivers to the current version)
microsoft windows updated updated the file amdppm.sys

might want to update your razer mouse software.
or maybe the viper firmware.
there were 3638261 log entries in the one log. 3.6 million




machine info:
BIOS Version F64c
BIOS Release Date 07/20/2022
Manufacturer Gigabyte Technology Co., Ltd.
Product Name B450 AORUS ELITE
Processor Manufacturer Advanced Micro Devices, Inc.
Processor ID 100f8700fffb8b17
Processor Version AMD Ryzen 5 3600 6-Core Processor
Processor Voltage 8bh - 1.1V
External Clock 100MHz
Max Speed 4200MHz
Current Speed 3600MHz

Now I have these:
https://drive.google.com/file/d/10sW0BQKJ3gYK9ZLnetux5g3wrFmJFVyi/view?usp=share_link
 

vanyagetc

Prominent
Mar 14, 2023
18
1
515
031523-39062-01.dmp 15.03.2023 20:50:05 APC_INDEX_MISMATCH 0x00000001 0000000077471cfc 0000000000000000 000000000000ffff fffffa0f27a75b80 ntoskrnl.exe ntoskrnl.exe+3fa090 NT Kernel & System Microsoft® Windows® Operating System Microsoft Corporation 10.0.19041.2604 (WinBuild.160101.0800) x64 ntoskrnl.exe+3fa090 C:\Windows\Minidump\031523-39062-01.dmp 12 15 19041 972 468 15.03.2023 20:51:06



The issue file is always the same - ntoskrnl.exe (oftenly +40e129)
 
log failure :
6: GpiopInitiateAcpiEventing - _AEI method does not exist. ACPI eventing will not be enabled! Extn = 0xFFFF800122C0CAE0, Status = 0xc0000034

maybe update this file:
\SystemRoot\System32\drivers\amdgpio3.sys
Timestamp: Mon Mar 14 03:19:36 2016
(guess i would try here:AMD Drivers and Support | AMD )

(all the other amd files were updated)
maybe turn off sleep functions to avoid the power call from being called.


will have to look at internal logs
log for \RzDev_0078.sys Mon Aug 17 20:58:33 2020
has 4538763 entries you might look for updated file.
(nothing was failing, just a large number of entries)
all of the other razer drivers were updated except this one.
(razer synapse ?)

you might consider turning your system to high power mode to prevent sleep.
I see that your usb hub was asleep.
and your network card was asleep.
------
running process was
Discord.exe
maybe reinstall?
discord has 20 processes with multi threads running.
--------------------
none of the windows files have been corrupted.

most drivers were updated
video driver updated
some amd drivers are old.
maybe run installer directly from amd:
AMD Drivers and Support | AMD

machine info:
BIOS Version F65a
BIOS Release Date 02/09/2023
 
Last edited:
all the logs for the amd gpio drivers are filled with errors.
might google "amd gpio controller driver update" and try the update

here is doc on how acpi works Acpi.sys (Windows ACPI driver) - Windows drivers | Microsoft Learn

from the logs it looks like the system failed to find some registry keys,
might try to reinstall the amd gpio drivers then boot into bios and change any setting and change it back then save the configuration and boot back into windows. (since the bios was already updated)

preventing sleep might prevent the bugcheck.
 
Last edited:

vanyagetc

Prominent
Mar 14, 2023
18
1
515
I have Razer Synapse installed, you are right? Do I have to do smth with it?
I have updated this one (full install):
And I do have BSODs without discord's running, so I don't think it is it, but I have reinstalled it anyway.
After that It did set an AMD max productive (smth... bla bla)

I will do stuff with bios u described, and will comeback when 1 more BSOD will happen to me :)

Thank you again for your help :3
 

vanyagetc

Prominent
Mar 14, 2023
18
1
515
BTW, I've got this one, but I haven't rebooted my pc after updating drivers yet I guess. (and bios stuff 2 ofc).


031623-21687-01.dmp 16.03.2023 18:50:20 APC_INDEX_MISMATCH 0x00000001 0000000077231cfc 0000000000000000 000000000000ffff ffff858200db8b80 ntoskrnl.exe ntoskrnl.exe+3fa090 NT Kernel & System Microsoft® Windows® Operating System Microsoft Corporation 10.0.19041.2604 (WinBuild.160101.0800) x64 ntoskrnl.exe+3fa090 C:\Windows\Minidump\031623-21687-01.dmp 12 15 19041 973 228 16.03.2023 18:51:04

ntoskrnl.exe ntoskrnl.exe+40e129 fffff80436600000 fffff80437646000 0x01046000 0xc3f2329e 05.03.2074 1:56:30 Microsoft® Windows® Operating System NT Kernel & System 10.0.19041.2604 (WinBuild.160101.0800) Microsoft Corporation C:\Windows\system32\ntoskrnl.exe
 

vanyagetc

Prominent
Mar 14, 2023
18
1
515
I have just noticed one interesting thing. I have the switch (NumLock state) turned to 'On' (on boot), so I can use my numpad. But when pc boots, I have NumLock off (can't use numpad). @johnbl
 
I have Razer Synapse installed, you are right? Do I have to do smth with it?
I have updated this one (full install):

And I do have BSODs without discord's running, so I don't think it is it, but I have reinstalled it anyway.
After that It did set an AMD max productive (smth... bla bla)

I will do stuff with bios u described, and will comeback when 1 more BSOD will happen to me :)

Thank you again for your help :3
I do not think discord is the problem, just happend to be running at the time of the bugcheck.

razer synapse driver is poorly designed, hope would be that it is fixed in a update. old coding just tried to poll as fast as possible, each polling of the mouse generates a internal log. New design should send a signal and only do something when the signal is received.

I think the most likely cause of the failure has something to do with the GPIO drivers and the changes microsoft made to make the system use more active sleep states. I looked at a bunch of the logs, the microsoft code tells the amd code to go to low power, the amd code responds that it is not required. one section of the log show that the driver should look in the registry for settings, the log indicates that it can not find the requested registry settings.
My guess is that there was not a proper setup of the various amd drivers and that registry settings were not made. I do not know how to fix this for sure. I would first try to run the amd setup software, maybe anything that has to do with the gpio software from amd. if that does not work, I would go to control panel device manager, try to find the amd drivers and tell windows to uninstall, windows plug and play should kick in and reinstall them again within a second but maybe it might make the registry settings on the reinstall.
 
I have just noticed one interesting thing. I have the switch (NumLock state) turned to 'On' (on boot), so I can use my numpad. But when pc boots, I have NumLock off (can't use numpad). @johnbl
that would indicate that a usb hub went to sleep and did not wake up.
you might go into control panel, device manager find the usb hubs, right mouse click and bring up properties and unclick the option to let windows turn off the device to save power.
I did see some devices asleep in the logs but it would only be of concern if they were sent a wake signal and did not get it.
 

vanyagetc

Prominent
Mar 14, 2023
18
1
515
that would indicate that a usb hub went to sleep and did not wake up.
you might go into control panel, device manager find the usb hubs, right mouse click and bring up properties and unclick the option to let windows turn off the device to save power.
I did see some devices asleep in the logs but it would only be of concern if they were sent a wake signal and did not get it.
I haven't meet BSODs almost 2 days in a row. thank you very much.
Made stuff with device manager's usb hubs (turned off sleeping). Seems ok.
 

vanyagetc

Prominent
Mar 14, 2023
18
1
515
that would indicate that a usb hub went to sleep and did not wake up.
you might go into control panel, device manager find the usb hubs, right mouse click and bring up properties and unclick the option to let windows turn off the device to save power.
I did see some devices asleep in the logs but it would only be of concern if they were sent a wake signal and did not get it.
So... a few days later, no BSODs, I appriciate your huge support.
But unfortunatly i didn't fix numpad lock on boot D:
 

vanyagetc

Prominent
Mar 14, 2023
18
1
515
that would indicate that a usb hub went to sleep and did not wake up.
you might go into control panel, device manager find the usb hubs, right mouse click and bring up properties and unclick the option to let windows turn off the device to save power.
I did see some devices asleep in the logs but it would only be of concern if they were sent a wake signal and did not get it.
Here we go again...
2 in a row :(
https://drive.google.com/file/d/1qNatc7WddZ_zlcfDc6gTvSS_mlb6jZie/view?usp=share_link
 
one bugcheck discord was running, when it was swapped in its data was corrupted. most likely just a victim of some corruption.

second bugcheck opera.exe was running, stack overflow, it was inserting a timer the system bugchecked due to list of timers being corrupted.

Maybe disable any extensions to opera ?

you should change the memory dump type to kernel and provide the file memory.dmp as it will save the proper debug info.
it is just not included in a minidump file.
 

vanyagetc

Prominent
Mar 14, 2023
18
1
515
one bugcheck discord was running, when it was swapped in its data was corrupted. most likely just a victim of some corruption.

second bugcheck opera.exe was running, stack overflow, it was inserting a timer the system bugchecked due to list of timers being corrupted.

Maybe disable any extensions to opera ?

you should change the memory dump type to kernel and provide the file memory.dmp as it will save the proper debug info.
it is just not included in a minidump file.
I have noticed, BSODs happen only when Im' not using pc at the moment.

If it can help you
https://www.dropbox.com/s/a2s1rlpbrtguloh/MEMORY.DMP?dl=0
 
(not kernel, just have changed)
debugger is reporting a memory leak in your network driver
WARNING: More than 1000 WDF objects detected. Your driver might be leaking objects/memory.

file is
\SystemRoot\System32\drivers\rt640x64.sys Wed Jan 19 00:47:39 2022
looks like a microsoft provided driver. (debugger crashed trying to read the log, updating debugger now)

try this driver from your motherboad vendor:
B450 AORUS ELITE (rev. 1.x) Support | Motherboard - GIGABYTE Global

or maybe directly from realtek (window 10 auto install program)
Realtek PCIe FE / GBE / 2.5G / Gaming Ethernet Family Controller Software - REALTEK
 

vanyagetc

Prominent
Mar 14, 2023
18
1
515
debugger is reporting a memory leak in your network driver
WARNING: More than 1000 WDF objects detected. Your driver might be leaking objects/memory.

file is
\SystemRoot\System32\drivers\rt640x64.sys Wed Jan 19 00:47:39 2022
looks like a microsoft provided driver. (debugger crashed trying to read the log, updating debugger now)

try this driver from your motherboad vendor:
B450 AORUS ELITE (rev. 1.x) Support | Motherboard - GIGABYTE Global

or maybe directly from realtek (window 10 auto install program)
Realtek PCIe FE / GBE / 2.5G / Gaming Ethernet Family Controller Software - REALTEK
Thanks for ur reply again.
Tried the one from realtek directly. Waiting for a new one :)
 

vanyagetc

Prominent
Mar 14, 2023
18
1
515
debugger is reporting a memory leak in your network driver
WARNING: More than 1000 WDF objects detected. Your driver might be leaking objects/memory.

file is
\SystemRoot\System32\drivers\rt640x64.sys Wed Jan 19 00:47:39 2022
looks like a microsoft provided driver. (debugger crashed trying to read the log, updating debugger now)

try this driver from your motherboad vendor:
B450 AORUS ELITE (rev. 1.x) Support | Motherboard - GIGABYTE Global

or maybe directly from realtek (window 10 auto install program)
Realtek PCIe FE / GBE / 2.5G / Gaming Ethernet Family Controller Software - REALTEK
here we go again
ntoskrnl.exe ntoskrnl.exe+40e129 fffff806`74e00000 fffff806`75e46000 0x01046000 0xc3f2329e 05.03.2074 1:56:30 Microsoft® Windows® Operating System NT Kernel & System 10.0.19041.2604 (WinBuild.160101.0800) Microsoft Corporation C:\Windows\system32\ntoskrnl.exe