[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] 10 msec number of ticks bug..



John,
Did u try out the same test code sent by bret ?. In the test code sent
by bret, i set sa_flags to 0 and it didn't hang/reset the system. Not
sure why.
//      tstSignalActions.sa_flags     = SA_RESTART | SA_SIGINFO;
       tstSignalActions.sa_flags     = 0;

Yes, i do get roughly about 100 interrupts per second on the second
uart. I run ntpd which uses lots of signal handlers (which waits on
the signals from sockets or serial port whenever messageis  recevied)
and i get wierd results once in a while and the system either hangs or
reset. Sometimes i get ""113      R      0K     0K  0.0 ntpd". The
task seems not killed properly and i the serial port gets locked up.

Still in the debugging phase to figure out why. Please let me know if
there is any usual suspect.

Thanx
- Prasad



On 8/14/06, John Williams <jwilliams@xxxxxxxxxxxxxx> wrote:
Hi Prasad,

Prasad wrote:

> Is this problem still exist. I have a code base that is 4-5 months
> old. I could reproduce this problem in my board. Is there a fix or i
> should use signal() instead of sigaction().

I tried it quickly yesterday, and could not produce a hang like you
describe using the sigaction() syscall.  Is there anything different
about the system you are testing it on, very high IRQ load for example?

John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/