Hello Linux-Arm folks,

We're seeing a really strange problem over here running on an EBSA-285 style
prototype (ARM110) card.  It's an eLinux project featuring a 2.4.0-test9
kernel
with corresponding Russell King patch.

The problem is the serial port console suddenly dies when the newly ported
cron daemon is killed with -TERM option.  I'm not sure yet if the whole
system is
brought down, but the console freezes every time the daemon is stopped (ie
killed).

I looked where crond was when the kill occurred and found out it's always
when the
cron daemon is in sleep( ) !  So I wrote a very simple program which showed
the
problem occurred in fact while the program was calling sleep:

int main(argc, argv)
        int     argc;
        char    *argv[];
{
  while(1) {
    sleep(30);
  }
  return 0;
}

I also found out that starting and killing crond (or the simple test, above)
by hand 
worked ok, i.e., I could kill the processes without hanging.  It's when a
runlevel script
(rc3.d) starts the daemons that I consistently see the hang problem.

Our toolchain is based on:
    binutils2.10.1
    gcc2.95.2
    glibc 2.1.3

The packages as well as the (applied) ARM patch for gcc 2.95.2 came from 
ftp.netwinder.org.  Does anyone have any ideas what could be happening here?

Thanks, Louis

Louis Hamilton
[EMAIL PROTECTED]


winmail.dat

Reply via email to