-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NetKvm: 'm_VirtQueue' NULL pointer dereference #1197
Comments
@wangyan0507 Can you describe the scenario that you are using to get the blue screen? |
I use qemu to start a windows virtual machine, open windows Driver Verifier for all drivers, and repeat boot and shutdown windows. It caused blue screen when booting the windows vm. We can find the NULL pointer dereference in the NetKvm code. It seems pretty obvious. |
@YanVugenfirer @ybendito I have updated the description, the NULL pointer dereference in this place: |
@wangyan0507 Do you have hibernation enabled? (powercfg /a) |
Hi @wangyan0507, Did you encounter the BSOD stop code as "KMODE EXCEPTION NOT HANDLED"? |
Yes, it is "SYSTEM_THREAD_EXECPTION_NOT_HANDLED (7e)" in the full dump file. |
No, just enabled 'Fast Startup' . |
Open a downstream Jira to track this issue: https://issues.redhat.com/browse/RHEL-68725 |
Fast startup uses hibernate |
hibernation can cause this problem? |
Combination of driver verifier with low resource simulation and hibernation. On hibernation, the driver will reinitialize and re-allocate some of the internal data structures. |
https://issues.redhat.com/browse/RHEL-68725 virtio-win#1197 In such case we do not have any other option than request to unload the driver. This can happen in 2 flows: power up (during fast startup) or reset, both with driver verifier that simulates low resources. In reset flow we need to request driver unload explicitly. Power up flow works in SET_POWER, so it will do it automatically. Signed-off-by: Yuri Benditovich <[email protected]>
@wangyan0507 Driver from #1206 |
I will test it. |
The problem is solved |
https://issues.redhat.com/browse/RHEL-68725 #1197 In such case we do not have any other option than request to unload the driver. This can happen in 2 flows: power up (during fast startup) or reset, both with driver verifier that simulates low resources. In reset flow we need to request driver unload explicitly. Power up flow works in SET_POWER, so it will do it automatically. Signed-off-by: Yuri Benditovich <[email protected]>
Describe the bug
Open windows ‘verifier’ for Netkvm, I found a blue screen when starting the windows virtual machine.
The code as follows:
The text was updated successfully, but these errors were encountered: