Re: System halt
- From: Erwin Zwart <"erwin AT GuruCE DOT com">
- Date: Sat, 06 Sep 2008 21:59:50 +0200
Hi,
Ofcourse this is very hard for us to determine what goes wrong.
First of all what is your serial debug output telling you, any hints on
of what/where the cause could be?
Second try to minimize the number of drivers active (or loaded) in the
OS. If that works you can add one by one the drivers (with all debug
zones on!) and determine where the issue can be.
Do have a scenario where you can reproduce the problem? This also can
help you finding the issue.
Do you have a hardware debugger (JTAG). Maby you can find out wheter the
system is in a while(true) loop.
Good luck,
Erwin Zwart
http://GuruCE.com
vaisakh p s schreef:
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
.
- References:
- System halt
- From: vaisakh p s
- System halt
- Prev by Date: PXA270 resume from GPIO
- Next by Date: Re: Adding miniport driver to OS image
- Previous by thread: System halt
- Next by thread: ActiveSync & CEDB event database
- Index(es):
Relevant Pages
|