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

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

From: Calvin Guan (cguan_at_pleasenospam.ati.com)
Date: 11/15/04


Date: Mon, 15 Nov 2004 16:29:59 -0500

Hi Spiro,

> If I issue it literally, I get the list, as you do. And: Yes, my driver
> is not there.

This seems to me your driver object is dereferenced and the reference count
had dropped to zero while the DriverEntry is still active.
ObDerefenenceObject will deallocate the object if the reference count
dropped to zero. Do a live debug using method mentioned before, you should
be able to catch the guilty.

> Thanks for your help,
No problem. I have never debugged such an interesting issue. Please keep me
posted.

Live and learn, eh?

-- 
Calvin Guan  Software Engineer/Radeon NT Drivers
ATI Technologies Inc. Markham ON, Canada
www.ati.com


Relevant Pages

  • [PATCH v3 1/2] trivial: tree-wide: fix assorted typos all over the place
    ... - time spent reading ... board driver must provide an own select_chip function. ... + because the buffer is physically non-contiguous. ... -# - therefore, we return +ZERO if the rounding modes are RN,RZ, or RP. ...
    (Linux-Kernel)
  • Re: Unresolved Externals creating driver
    ... usbpdi.obj: error LNK2019: unresolved external symbol ... > an identical driver, under a different name. ... > I get in this vicious circle of putting in a reference to a library, ... > having the build complain about multiply defined symbols. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: [spi-devel-general] [PATCH] atmel_spi: support zero length transfer
    ... Just a zero byte transfer ... ... Master Controller Drivers act consistently in such cases. ... If the driver could not handle zero length transfer, ... there is no reason to reject it. ...
    (Linux-Kernel)
  • Re: [PATCH 1/1] : hwmon - new chip driver for TI ADS7828 A-D
    ... revised patch. ... driver, which seems to work well with the hardware I'm working with (a ... Operate with the internal 2.5v reference - set to N for external reference ...
    (Linux-Kernel)
  • Re: Reading until no more data is available.
    ... support zero read/zero write semantics. ... and the no data case is breaking IRP completion. ... call to ReadFile() never returns. ... The OP should turn on driver verifier, ...
    (microsoft.public.development.device.drivers)