System halt



Hi guys,

I facing a problem, while resuming from suspend mode.
I believe the system is going into a Halt during the resuming process.
How to deal with this ? And how to pin point from where the system
halt is occuring.

When I did some digging in MSDN I found out that, during the execution
of the
XXX_PowerUp and XXX_PowerDown Routines of each drivers, there should
not be any system calls. If so that system will perform a Halt
operation by invoking lpNkHaltSystem in OEM.

Based on this I analyzed the powerup and powerdown routines in the
driver and found that the custom battery driver (which we designed)
was invoking a DeviceIocontrol. So I moved the same functionality by
implementing the Power Manager IOCTLs in the driver. I seemed to
work...

But sometimes, again the system is halting. But I am not able to pin
point the origin of halt.
Have anyone seen such a behavior? If so can you give me some tips to
deal with this.

Now when a halt occurs, the system is calling OEMPowerOff and going
into suspend.


--
Thanks & regards,
Vaisakh P S
Accord Software System Pvt. Ltd,
Bangalore
.



Relevant Pages

  • help writing shield for clam anti virus
    ... One is called filemon and the other is called spy. ... of this files is infected then remove the file in the halt screen. ... My problem is that i cant get any ... I believe the spy driver is written in asm and i dont have ddk so ...
    (microsoft.public.win32.programmer.kernel)
  • Re: ndtest.exe hangs when doing 1c_InitTIme variation 11 (HCT 11.2)
    ... Have you tried this on a fresh OS install (clean install)? ... > Yes I saw the halt called and watched it deallocate memory interrupt etc. ... After the 30 second delay I get this ... > I agree that it is our driver that causes the 30 second delay, ...
    (microsoft.public.development.device.drivers)
  • Re: ndtest.exe hangs when doing 1c_InitTIme variation 11 (HCT 11.2)
    ... The Stop driver spew is written when NDISTest is trying to Halt your ... Most likely the script has called the OS to disable your miniport ... > when we followed the popup instruction and unplugged the access point. ...
    (microsoft.public.development.device.drivers)
  • Re: Copying data crashes server
    ... I have set it up to halt as requested, but there is nothing else listed apart ... the AV as it is a web server and it is the developer who is uploading his new ... tells what driver is causing it, ... from local drives to drives on the terminal server, ...
    (microsoft.public.windows.terminal_services)
  • Re: More info->Re: NDIS 5.0 802.3 clone wireless cardbus driver slow to get unload call
    ... >I also forgot to add that the long delay before the call to our halt ... In Win2000, when we do a request remove, or disable driver, we ... >the halt call immediately. ... >> the system delays 30 seconds before calling our HALT function. ...
    (microsoft.public.development.device.drivers)