Google
  Web www.spinics.net

Re: Why the serial go bad every 5000 seconds

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


Hello Eric,

Eric wrote:
> The problem troubled me very long time.
> My platform is:
> ARM9 (S3C2410) with 3 serials
> Linux 2.6.14.7
Please read FAQ entry #12 at

	http://www.arm.linux.org.uk/mailinglists/faq.php#f12

> GPS (Oncore M12T)
> I used the serial to receive the GPS data. The data comes smoothly every 1 second. That means , the serial should receive the data every 1 second. But when the serial have received about 5000 seconds ( nearly 1.25 hours), it goes bad .First , the next data will late for nearly 1 second, and then the following data comes just 0.2 delay for chasing the previous data. After some time , it goes to normal and it happens every about 5000 seconds periodically.
> Buddies, What makes this happen or How does it happen?
Hhhhmm, I currently have no idea, but if you could provide a few more
details, this could help.  OK, every now and then a single(?) data
submission is to late.  Can you provide a more detailed timing, is the
number of packets between two packets being late constant?  Do you have
an exact number?  Try adding a printk to the serial ISR with PRINTK_TIME
enabled.

If you're sure that the GPS isn't to blame, I suspect that the data
hangs somewhere between the driver and your application.  How is the
serial device used in your application?

> The Kernel or The Drivers? I don't think there's some problem with serial drivers.
> The hardware is ok, I've tested it many times and this problem also happens on my X86 ubuntu with kernel 2.6.18, it just better than the arm cause it comes about 10 hours.
The systems are otherwise idle?  I suppose you didn't try that with an
RT-Kernel.  (For that to work your application must be aware of that of
course.) 

As this happens on X86, too, it might be related to serial_core.c, so
maybe better ask on linux-serial?

Best regards
Uwe

-- 
Uwe Kleine-König, Software Engineer
Digi International GmbH Branch Breisach, Küferstrasse 8, 79206 Breisach, Germany
Tax: 315/5781/0242 / VAT: DE153662976 / Reg. Amtsgericht Dortmund HRB 13962

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php


[Site Home]     [Linux Arm]     [Fedora ARM]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [PDAs]     [Linux]     [Linux Book List]     [Linux MIPS]     [Yosemite Campsites]     [Photos]

Add to Google Google PageRank Checking tool