Re: Start and stop via SCM not multiprocessor-safe?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Alexander Grigoriev (alegr_at_earthlink.net)
Date: 11/15/04


Date: Mon, 15 Nov 2004 14:20:11 -0800


"Calvin Guan" <cguan@pleasenospams.ati.com> wrote in message
news:u18xhAtyEHA.2196@TK2MSFTNGP14.phx.gbl...
> Do you still see your driver object at the time it bugchecked? (kd>!object
> yourdriverobject) if yes, what was the pointer count and handle count of
> it?
> If you still see the object and the pointer is >0 (but not huge number
> such
> as 0xfffexxxx), then the driver shouldn't have been unloaded and the stack
> trace is probably bogus. If you don't see the object, then continue
> reading...
>
>> Still, I ask myself how the driver can be unloaded while I'm still
>> processing inside of DriverEntry(). :-(
>
> It should not. I was suspecting that the driverobject somehow was being
> accedentally dereferenced. I would do a BA on the DriverObject's pointer
> count right after DriverEntry was entered, and see if there's a bite.
>
> Good luck and happy hacking...
> --
> Calvin Guan Software Engineer/Radeon NT Drivers
> ATI Technologies Inc. Markham ON, Canada
> www.ati.com
>
>



Relevant Pages

  • youre wrong!
    ... Re: Mouse pointer not aligned ... see the new hardware and install the proper drivers for it. ... as a result Windows found a driver that 'kind' of works with ... Working with Dell Tech I showed them this, and, also how difficult ...
    (microsoft.public.windows.vista.general)
  • Re: youre wrong!
    ... Re: Mouse pointer not aligned ... see the new hardware and install the proper drivers for it. ... as a result Windows found a driver that 'kind' of works with ... Working with Dell Tech I showed them this, and, also how difficult ...
    (microsoft.public.windows.vista.general)
  • Re: [lm-sensors] [PATCH] adxl345 accelerometer hwmon driver
    ... This driver can also be build as a module. ... * Client data ... * @param decimal Pointer to location to store decimal part. ...
    (Linux-Kernel)
  • [PATCH/RESEND] pci: dynids.use_driver_data considered harmful
    ... prevent the system administrator from telling a pci driver additional data ... the use of per-match-entry driver data is ... pointer, 14 use it for setting flags, and 98 use it as a table ... definitely into the port initialization code, ...
    (Linux-Kernel)
  • Re: NativeOverlapped, does it work??
    ... You need to keep that fixed in memory, and if you are using a fixed statement the memory location of the structure is subject to change. ... Instead, I would pin the structure (and then get the unsafe pointer to the structure), or marshal it to unmanaged memory, where you can hold onto the pointer for the life of the call. ... I'm trying to read some messages from a kernel mode mini-filter driver. ...
    (microsoft.public.dotnet.languages.csharp)