From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19545 invoked by alias); 31 May 2011 13:53:22 -0000 Received: (qmail 19538 invoked by uid 22791); 31 May 2011 13:53:22 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,TW_FP,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 31 May 2011 13:52:41 +0000 Received: by mail.ecoscentric.com (Postfix, from userid 48) id 5A8CE2F78003; Tue, 31 May 2011 14:52:40 +0100 (BST) From: bugzilla-daemon@bugs.ecos.sourceware.org To: unassigned@bugs.ecos.sourceware.org Subject: [Bug 1001253] New: Kernel tests on small memory targets X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Other X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ilijak@siva.com.mk X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 31 May 2011 13:53:00 -0000 Mailing-List: contact ecos-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-bugs-owner@sourceware.org X-SW-Source: 2011/txt/msg00924.txt.bz2 Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001253 Summary: Kernel tests on small memory targets Product: eCos Version: CVS Platform: All OS/Version: All Status: UNCONFIRMED Severity: enhancement Priority: low Component: Other AssignedTo: unassigned@bugs.ecos.sourceware.org ReportedBy: ilijak@siva.com.mk CC: ecos-bugs@ecos.sourceware.org Class: Advice Request Created an attachment (id=1269) --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1269) tm_basic.cxx Some kernel tests have execution or compilation problems when applied on targets with small RAM (example 32Kib LPC-1766-STK). Submitted patches provide for application of these tests on devices with 32 KiB RAM. They have been tested on LPC-1766-STK with kernel template. Dependent on behavior and proposed solution (patch) I have sorted the problems in 3 groups: 1. tm_basic behaviour: Compiles, but hangs during execution. cause: dependent on system RAM amount, array is defined for NTEST_THREADS threads. If RAM is small enough (such as 32KiB) this can be 1 which is in conflict with some tests that employ 2 threads. proposal: At least 2 thread members are enforced. Compiles and executes complete test on target with 32KiB. For lower memory devices ld should report error. 2. bin_sem2.cxx kmutex4 timeslice2 mutex3 timeslice kmutex3 thread_gdb behavior: ld complains for not enough memory. proposal: Dependent on system RAM tests are generated with less threads. For "large" systems number of threads remains as before. 2. fptests behavior: Linker complains for not enough memory. proposal (workaround): In order to enable error free compilation of kernel tests this program is modified so it is compiled wihout threads. On execution a message is printed: "This platform doesn't have enough RAM to run fptest.". -- Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.