[SOLVED] OS freeze when using debug kernel with CPU Watcher
Posted: Sun Jun 15, 2014 1:53 pm
Hello,
I'm encountering a strange problem that freezes my whole system when I try to start CPUWatcher (or CPUDock that is based on CPUWatcher) with the debug kernel activated with "MUNGE SERIAL DEBUGLEVEL=5" on CFE.
On my X1000 WITHOUT debug kernel, all is fine, I can start CPUWatcher/CPUDock without problem.
Is this only the X1000 debug kernel who is affected or another systems too freeze in the same circunstance ?
To reproduce :
1) if used, remove CPUDock from your Amidock (LittleBrother too as it seems that it crash with debug kernel too, YAM too when I send 2 mails, at least for me)
2) download CPUWatcher, here :
http://www.os4depot.net/share/utility/w ... atcher.lha
sources available here :
http://www.os4depot.net/share/utility/w ... er-src.lha
3) activate debug kernel in Sys:Kickstart/KickLayout
";MODULE Kickstart/kernel
MODULE Kickstart/kernel.debug"
4) Cold reboot to enable MUNGE SERIAL EBUGLEVEL=5 in CFE, OF or UBOOT
for CFE : setenv -p os4_commandline "MUNGE SERIAL DEBUGLEVEL=5"
5) on OS4, launch several time CPUWatcher from workbench
for me it freezes the first time or the 2nd, 3th time
if you encounter a DSI instead of a freeze, try to increase the stack of CPUWatcher to 100000
6) Could you say me if it freezes your system or not ?
For Raziel and me, it freezes our x1000.
For a SAM460 user, no freeze in the same condition (by increasing the stack size).
Thank you for your time spent on this test, it could be useful for me to know if CPUDock has a bug or not on x1000.
Guillaume
edit : On my serial debug, I have these messages
[[HAL_DfltTrapHandler] *** Warning: Fatal exception in task 0x518F5A30
(Uuno, etask = 0xDFD029A0) at ip 0x7F9BB678
[HAL_Alert] ALERT! 0x80000003
Dump of context at 0xDF6B7000
Trap type: DSI exception
Machine State (raw): 0x1000000000003032
Machine State (verbose): [Hyper] [Super] [FPU on] [IAT on] [DAT on]
[Recoverable]
Temporary stack trace:
#0: 0x7F9BB678
#1: in module kernel.debug+0x00004BA4 (0x02004BA4)
Crashed task: UunoskWithUpdate] Aborting to prevent infinite recursion
[HAL_DfltTrapHandler] *** Warning: Fatal exception in task 0x518F5A30
(Uuno, etask = 0xDFD029A0) at ip 0x7F9BB678
[HAL_Alert] ALERT! 0x80000003
[HAL_SuspendTaskWithUpdate] *** Warning: Suspending an already suspended
task
[HAL_SuspendTaskWithUpdate] Aborting to prevent infinite
recursionrapHandler] *** Warning: Fatal exception in task 0x518F5A30
(Uuno, etask = 0xDFD029A0) at ip 0x7F9BB678
[HAL_Alert] ALERT! 0x80000003
[HAL_SuspendTaskWithUpdate] *** Warning: Suspending an already suspended
task
[HAL_SuspendTaskWithUpdate] Aborting to prevent infinite
recursion
...
... in loop until I poweroff my x1000
...
[HAL_DfltTrapHandler] *** Warning:on i task 0x518F5A30 (Uuno, etask =
0xDFD029A0) at ip 0x7F9BB678
[HAL_Alert] ALRT! 0x80000003
[HAL_SuspendTaskWithUpdate] *** Warning: Suspending an already suspended
task
[HAL_SuspendTaskWithUpdate] Aborting to prevent infinite
recursion
I'm encountering a strange problem that freezes my whole system when I try to start CPUWatcher (or CPUDock that is based on CPUWatcher) with the debug kernel activated with "MUNGE SERIAL DEBUGLEVEL=5" on CFE.
On my X1000 WITHOUT debug kernel, all is fine, I can start CPUWatcher/CPUDock without problem.
Is this only the X1000 debug kernel who is affected or another systems too freeze in the same circunstance ?
To reproduce :
1) if used, remove CPUDock from your Amidock (LittleBrother too as it seems that it crash with debug kernel too, YAM too when I send 2 mails, at least for me)
2) download CPUWatcher, here :
http://www.os4depot.net/share/utility/w ... atcher.lha
sources available here :
http://www.os4depot.net/share/utility/w ... er-src.lha
3) activate debug kernel in Sys:Kickstart/KickLayout
";MODULE Kickstart/kernel
MODULE Kickstart/kernel.debug"
4) Cold reboot to enable MUNGE SERIAL EBUGLEVEL=5 in CFE, OF or UBOOT
for CFE : setenv -p os4_commandline "MUNGE SERIAL DEBUGLEVEL=5"
5) on OS4, launch several time CPUWatcher from workbench
for me it freezes the first time or the 2nd, 3th time
if you encounter a DSI instead of a freeze, try to increase the stack of CPUWatcher to 100000
6) Could you say me if it freezes your system or not ?
For Raziel and me, it freezes our x1000.
For a SAM460 user, no freeze in the same condition (by increasing the stack size).
Thank you for your time spent on this test, it could be useful for me to know if CPUDock has a bug or not on x1000.
Guillaume
edit : On my serial debug, I have these messages
[[HAL_DfltTrapHandler] *** Warning: Fatal exception in task 0x518F5A30
(Uuno, etask = 0xDFD029A0) at ip 0x7F9BB678
[HAL_Alert] ALERT! 0x80000003
Dump of context at 0xDF6B7000
Trap type: DSI exception
Machine State (raw): 0x1000000000003032
Machine State (verbose): [Hyper] [Super] [FPU on] [IAT on] [DAT on]
[Recoverable]
Temporary stack trace:
#0: 0x7F9BB678
#1: in module kernel.debug+0x00004BA4 (0x02004BA4)
Crashed task: UunoskWithUpdate] Aborting to prevent infinite recursion
[HAL_DfltTrapHandler] *** Warning: Fatal exception in task 0x518F5A30
(Uuno, etask = 0xDFD029A0) at ip 0x7F9BB678
[HAL_Alert] ALERT! 0x80000003
[HAL_SuspendTaskWithUpdate] *** Warning: Suspending an already suspended
task
[HAL_SuspendTaskWithUpdate] Aborting to prevent infinite
recursionrapHandler] *** Warning: Fatal exception in task 0x518F5A30
(Uuno, etask = 0xDFD029A0) at ip 0x7F9BB678
[HAL_Alert] ALERT! 0x80000003
[HAL_SuspendTaskWithUpdate] *** Warning: Suspending an already suspended
task
[HAL_SuspendTaskWithUpdate] Aborting to prevent infinite
recursion
...
... in loop until I poweroff my x1000
...
[HAL_DfltTrapHandler] *** Warning:on i task 0x518F5A30 (Uuno, etask =
0xDFD029A0) at ip 0x7F9BB678
[HAL_Alert] ALRT! 0x80000003
[HAL_SuspendTaskWithUpdate] *** Warning: Suspending an already suspended
task
[HAL_SuspendTaskWithUpdate] Aborting to prevent infinite
recursion