VirtualBox

Changeset 104428 in vbox


Ignore:
Timestamp:
Apr 25, 2024 10:07:44 AM (7 months ago)
Author:
vboxsync
Message:

SUPDrv: More logging for bugref:10657

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/win/SUPDrv-win.cpp

    r99828 r104428  
    767767                         */
    768768                        Log(("VBoxDrv::DriverEntry returning STATUS_SUCCESS\n"));
     769                        DbgPrint("VBoxSup::DriverEntry: returning STATUS_SUCCESS\n"); /* temp for @bugref{10657} */
    769770                        return STATUS_SUCCESS;
    770771                    }
     
    773774                     * Failed. Clean up.
    774775                     */
     776                    DbgPrint("VBoxSup::DriverEntry: supdrvInitDevExit failed with vrc=%d!\n", vrc);
    775777                    Log(("supdrvInitDevExit failed with vrc=%d!\n", vrc));
    776778                    rcNt = VBoxDrvNtErr2NtStatus(vrc);
     
    778780                    vboxdrvNtDestroyDevices();
    779781                }
     782                else
     783                    DbgPrint("VBoxSup::DriverEntry: vboxdrvNtCreateDevices failed with rcNt=%#x!\n", rcNt);
    780784#ifdef VBOXDRV_WITH_SID_TO_UID_MAPPING
    781785                RTSpinlockDestroy(g_hNtUserIdLock);
     
    785789#ifdef VBOXDRV_WITH_SID_TO_UID_MAPPING
    786790            else
     791            {
     792                DbgPrint("VBoxSup::DriverEntry: RTSpinlockCreate failed with vrc=%d!\n", vrc);
    787793                rcNt = VBoxDrvNtErr2NtStatus(vrc);
     794            }
    788795#endif
    789796#ifdef VBOX_WITH_HARDENING
     
    791798#endif
    792799        }
     800#ifdef VBOX_WITH_HARDENING
     801        else
     802            DbgPrint("VBoxSup::DriverEntry: supdrvNtProtectInit failed with rcNt=%#x!\n", rcNt);
     803#endif
    793804        RTTermRunCallbacks(RTTERMREASON_UNLOAD, 0);
    794805        RTR0Term();
     
    796807    else
    797808    {
     809        DbgPrint("VBoxSup::DriverEntry: RTR0Init failed with vrc=%d!\n", vrc);
    798810        Log(("RTR0Init failed with vrc=%d!\n", vrc));
    799811        rcNt = VBoxDrvNtErr2NtStatus(vrc);
     
    56575669                        }
    56585670                    }
     5671                    DbgPrint("VBoxSup: ObRegisterCallbacks failed with rcNt=%#x\n", rcNt); /* temp for @bugref{10657} */
    56595672                    LogRel(("vboxdrv: ObRegisterCallbacks failed with rcNt=%#x\n", rcNt));
     5673
    56605674                    g_pvObCallbacksCookie = NULL;
    56615675                }
     
    56985712            }
    56995713            else
     5714            {
     5715                DbgPrint("VBoxSup: PsSetCreateProcessNotifyRoutine%s failed with rcNt=%#x!\n",
     5716                         g_pfnPsSetCreateProcessNotifyRoutineEx ? "Ex" : "", rcNt); /* temp for @bugref{10657} */
    57005717                LogRel(("vboxdrv: PsSetCreateProcessNotifyRoutine%s failed with rcNt=%#x\n",
    57015718                        g_pfnPsSetCreateProcessNotifyRoutineEx ? "Ex" : "", rcNt));
     5719            }
    57025720            supHardenedWinTermImageVerifier();
    57035721        }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette