On 27 nov 2008, at 15.22, Olof Backing wrote:
On Thu, November 27, 2008 12:02, Giulio Mazzoleni wrote:I have tried the svn version and I can confirm I'm not seeing the hangupanymore.In the next few days I'll conduct more tests to stress the system, butfor now I'm pretty happy with that.Many thanks for all your support and your great job in making PetaLinuxalways better.I don't want to destroy your new-found happiness, but maybe I should be morespecific on what we found out:* hanging when making to many calls to printf() with dynamic strings, ie. %, is gone * hanging when receiving more than we can consume still hangs the process: 30 bytes every 2ms at 115k2 on 50MHz -> eventually freezes the process. And INTRaborts it.
And the solution was simplier than expected: change CONFIG_HZ to something bigger than 100 Hz - why not 200 or even 300 Hz! As I suspected this was related to a similar problem with Nios2 on a close project: we couldn't have the data (@31250bps) available in time for the application. The system was running at 100 Hz.
-- Olof Backing CAG Contactor AB Office: +46 (0)8 752 81 00 Finlandsgatan 14 Mobile: +46 (0)70 995 98 99 SE-164 74 KISTA Fax: +46 (0)8 752 05 30 ___________________________ 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/