[uCsimm] sys_idle syscall

From: Javier Ripoll (jripoll@cajamadrid.es)
Date: Sun Feb 20 2000 - 14:39:50 EST


I'm testing an application that sends characters continuolsy
to the serial port. After a random period of time (a couple
of minutes to some hours) the ucsimm board dies (sometimes
silently and somteimes showing a stack dump like this one
you can see below)

Stack from 007fff58:
       007010c1 14940000 00000000 001b0000 00000000 20000003
26300000 36acf207
       0002b5b2 00000000 ffffffff 00000000 2008007f ffd810c1
14b810c1 3fb80000
       0100007f ffcc0000 00000000 00000000 001b10c1 0fb00000
1000ffff ffda0000
       00700000 00002000 10c10b9a 10c10d3e 00000000 00000004
007fffec 00043eb4
       007fff8a 10c1051e 00000000 007fffec 00029a00 00000000
daa7385c 29540060
       00020200 00000080
Call Trace:
Code: 008e 7e01 be80 6628 202a 0010 4680 c0aa 000c 6616
Current process id is 0
Kernel panic: Trap from supervisor state
In swapper task - not syncing

I've analyzed those stack dumps and it seems that the last
syscall was sys_idle.
After a week of tests I decided to remove the line that
freezes the CPU from sys_idle
(arch/m68knommu/kernel/process.c):
/* *(volatile unsigned char *)0xfffff207 = 0xc0;*/ /* idle
the cpu */
After this modification everything works fine.

    Any ideas?

This message resent by the ucsimm@uclinux.com list server http://www.uClinux.com/



This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:34 EST