Target Control not running (WCE 5.00, PXA255)

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



Hi Guys,

Well, my platform is starting to give me some life-signs. I've got it
upto the point that the explorer is started and displays on the screen.
The last action I see in the debugger is starting of the taskbar
thread. The platform does not seem dead, messages are being handled in
the while loop from the taskbar (I put a debug breakpoint in there to
verify).

The debugger works fine (KITL ethernet), downloading and breakpoints
work OK. But the target control shell is not starting, it keeps
'waiting for connection'. Anybody have any idea as to where I should
look on how to debug this?

I've included the last part of my debug output, as well as the process
info on filesys.exe and shell.exe (aren't they mainly responsible for
the connection?). Am I looking in the right direction?

The weird thing is that I have experienced the target control coming up
but not showing a prompt or coming up right after my platform hung
itself (due to a dodgy driver, fixed now). This might indicate that it
is waiting for something to finish...but what could it be?

Thanks for any pointers.

Niels Brouwers
Chess S&C

.......
4294780593 PID:a3dc3432 TID:a3dc340e 0x83dc31cc: FILESYS: Done
launching apps
4294780624 PID:43d97a96 TID:a3dc340e 0x83dc31cc:
-DEVICE!DevloadPostInit
4294780663 PID:a3dc3432 TID:a3dc340e 0x83dc31cc: This device has booted
1 times !!!
4294780810 PID:a3b938ee TID:a3d066c2 0x83b936ac: Console NOT redirected
for process 0x42
4294781014 PID:63d97a72 TID:a3d066c2 0x83b936ac: Grow Gdi handle table
from 128 to 192
4294781239 PID:a3dc3432 TID:a3d066c2 0x83b936ac: DB:OpenDB fail: DB
RecycleData not found
4294781682 PID:63d97a72 TID:a3b7dfb2 0x83b3c400: Grow Gdi handle table
from 192 to 256
4294782101 PID:63d97a72 TID:a3b7dfb2 0x83b3c400: Grow Gdi handle table
from 256 to 320
4294782269 PID:a3b938ee TID:a3b7dfb2 0x83b3c400: Explorer(V2.0) taskbar
thread started.
4294782310 PID:43d97a96 TID:a3b7dfb2 0x83b3c400: [NOTIFY]
CeRunAppAtEvent - clearing system event registration for
\\.\Notifications\NamedEvents\TaskbarTimeChangeEvent
4294782356 PID:43d97a96 TID:a3b7dfb2 0x83b3c400: [NOTIFY]
SetUserNotification (or replacing 00000000)
4294782439 PID:43d97a96 TID:a3b7dfb2 0x83b3c400: [NOTIFY]
SetUserNotification::Registring system watch: event 1 app
\\.\Notifications\NamedEvents\TaskbarTimeChangeEvent args
AppRunAfterTimeChange

Threads: filesys.exe 17:04:33 02/20/2006 W. Europe Standard Time
hThread pThread RunState InfoStatus
WaitState AccessKey hCurProcIn hOwnerProc CurPrio
BasePrio KernelTime UserTime Quantum QuantuLeft
SleepCount SuspendCount TlsPtr LastError StackBase
StkLowBnd CreatTimeH CreatTimeL PC NcrPtr
StkRetAddr
0x83DA48DA 0x83DC6DAC Awak,RunBlkd UMode
Blocked 0x00000003 0xA3DC3432 0xA3DC3432 251 251
0 93 100 100 2880154539
0 0x040EFF00 0x00000032 0x040E0000 0x040ED000
0x01C2B18D 0x51C27A00 0x8013C37C 0x00000000 0x00000000
NK!SC_WaitForMultiple(unsigned long 0x00000001, void * const *
0x80b86dcc, int 0x00000000, unsigned long 0xffffffff) line 4657 + 16
bytes
NK!EdbgRecv(unsigned char 0x01, unsigned char * 0x01feb500,
unsigned long * 0x040eefac, unsigned long 0xffffffff) line 755 + 60
bytes
NK!KITLIoctl(unsigned long 0x01010028, void * 0x01feb500,
unsigned long 0x00000001, void * 0x040eefac, unsigned long 0xffffffff,
unsigned long * 0x00000000) line 733 + 24 bytes
NK!KernelIoctl(unsigned long 0x01010028, void * 0x01feb500,
unsigned long 0x00000001, void * 0x040eefac, unsigned long 0xffffffff,
unsigned long * 0x00000000) line 1574 + 48 bytes
COREDLL!xxx_KernelIoControl(unsigned long 0x01010028, void *
0x01feb500, unsigned long 0x00000001, void * 0x040eefac, unsigned long
0xffffffff, unsigned long * 0x00000000) line 1099 + 120 bytes
RELFSD!CallEdbgRecv(unsigned char 0x01, unsigned char *
0x01feb500, unsigned long * 0x040eefac, unsigned long 0xffffffff) line
120 + 36 bytes
RELFSD!EdbgRecv(unsigned char 0x01, unsigned char * 0x01feb500,
unsigned long * 0x040eefac, unsigned long 0xffffffff) line 122 + 20
bytes
RELFSD!fill_KITL_buffer() line 131 + 20 bytes
RELFSD!read_header(int * 0x040eefd8) line 237 + 20 bytes
RELFSD!PPSHConnect() line 350 + 8 bytes
RELFSD!RelfsdMountThread(void * 0x000b1390) line 140 + 4 bytes
RELFSD!RELFSD_MountDisk(unsigned long 0x000b1390) line 173
FSDMGR!InitEx(_FSDINITDATA * 0x00000002) line 194 + 24 bytes
FSDMGR!AutoLoadFileSystems(unsigned long 0x00000002, unsigned
long 0x00000002) line 580
FSDMGR!PNPThread(void * 0x00000000) line 724
COREDLL!ThreadBaseFunc(void * 0x03cd28b8, unsigned long
0x00000000) line 567 + 16 bytes
0xA3DC340E 0x83DC31CC Awak,RunBlkd UMode,UsrBlkd
Blocked 0x00000003 0xA3DC3432 0xA3DC3432 251 251
0 2856 100 100 0
0 0x040AFF00 0x00000000 0x040A0000 0x040AD000
0x00000000 0x00000000 0x8013C37C 0x00000000 0x00000000
NK!SC_WaitForMultiple(unsigned long 0x00000001, void * const *
0x040afdf4, int 0x00000000, unsigned long 0xffffffff) line 4657 + 16
bytes
NK!UB_WaitForMultiple(unsigned long 0x00000001, void * const *
0x040afdf4, int 0x00000000, unsigned long 0xffffffff) line 4705 + 20
bytes
COREDLL!xxx_WaitForSingleObject(void * 0x83dc3fde, unsigned long
0xffffffff) line 216 + 104 bytes
FILESYS!WinMain(HINSTANCE__ * 0x0009641c, HINSTANCE__ *
0x040afe0c, unsigned short * 0x00000004, int 0x000b3820) line 4216
COREDLL!MainThreadBaseFunc(void * 0x0002a64c, unsigned long
0xa3dc3432, unsigned long 0x00000000, unsigned long 0x040afed8,
HINSTANCE__ * 0x83ddb930, unsigned long 0x00000000, unsigned long
0x00000000, unsigned long 0x00010000) line 542 + 52 bytes
End Threads: filesys.exe 17:04:33 02/20/2006 W. Europe Standard Time


Threads: shell.exe 17:05:07 02/20/2006 W. Europe Standard Time
hThread pThread RunState InfoStatus
WaitState AccessKey hCurProcIn hOwnerProc CurPrio
BasePrio KernelTime UserTime Quantum QuantuLeft
SleepCount SuspendCount TlsPtr LastError StackBase
StkLowBnd CreatTimeH CreatTimeL PC NcrPtr
StkRetAddr
0xA3D978DE 0x83DC64E4 Slpg,RunBlkd UMode,UsrBlkd
Signalled 0x00000005 0xA3D979CE 0xA3D979CE 251 251
0 117 100 100 4294872106
0 0x0603FF00 0x00000003 0x06030000 0x0603E000
0x01C2B1D0 0x61AF7D80 0x80136400 0x00000000 0x00000000
NK!ThreadSleep(unsigned long 0x000007d1) line 3199 + 12 bytes
NK!SC_Sleep(unsigned long 0x000007d1) line 3237
NK!UB_Sleep(unsigned long 0x000007d0) line 3258
COREDLL!xxx_Sleep(unsigned long 0x000007d0) line 191
SHELL!_crtinit() line 77
SHELL!main(unsigned long 0xa3d979ce, unsigned long 0x00000000,
unsigned short * 0x0603fedc, int 0x00000005) line 454
COREDLL!MainThreadBaseFunc(void * 0x0001a3bc, unsigned long
0xa3d979ce, unsigned long 0x00000001, unsigned long 0x0603fed8,
HINSTANCE__ * 0x83ddb930, unsigned long 0x00000000, unsigned long
0x00000000, unsigned long 0x00010000) line 542 + 52 bytes
End Threads: shell.exe 17:05:07 02/20/2006 W. Europe Standard Time

.



Relevant Pages

  • [UNIX] SunPCi II VNC Weak Authentication Scheme Vulnerability
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Virtual Network Computing (VNC) client and server. ... extern char *vncDecryptPasswd(char *fname, unsigned char *key); ... extern void vncEncryptBytes ...
    (Securiteam)
  • [PATCH update5] drivers: add LCD support
    ... * GNU General Public License for more details. ... if not, write to the Free Software ... +void cfag12864b_unset(unsigned char x, unsigned char y) ...
    (Linux-Kernel)
  • Re: "Sorting" assignment
    ... void bacarisseswap(void *vleft, ... void *vright, ... void *heathfieldswap(void *vleft, ... unsigned char *left = vleft; ...
    (comp.programming)
  • TCSBRK(1) on pl2303 USB/serial returns prematurely
    ... unsigned char erase_ee, erase_pf; ... void my_tcgetattr ... void my_tcsetattr(int port_handle, const struct termios *t) ... int my_open ...
    (Linux-Kernel)
  • [PATCH 2.6.11-rc3] IBM Trackpoint support
    ... +module_param_named(speed, tp_speed, uint, 0); ... +static void trackpoint_command(struct ps2dev *ps2dev, unsigned char cmd) ... +static int trackpoint_proc_init(struct psmouse *psmouse) ...
    (Linux-Kernel)