public inbox for ecos-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug 1001253] New: Kernel tests on small memory targets
@ 2011-05-31 13:53 bugzilla-daemon
  2011-05-31 13:54 ` [Bug 1001253] " bugzilla-daemon
                   ` (40 more replies)
  0 siblings, 41 replies; 83+ messages in thread
From: bugzilla-daemon @ 2011-05-31 13:53 UTC (permalink / raw)
  To: ecos-bugs

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 on the CC list for the bug.


^ permalink raw reply	[flat|nested] 83+ messages in thread
* [Bug 1001253] New: Kernel tests on small memory targets
@ 2011-05-31 13:53 bugzilla-daemon
  2011-05-31 13:54 ` [Bug 1001253] " bugzilla-daemon
                   ` (40 more replies)
  0 siblings, 41 replies; 83+ messages in thread
From: bugzilla-daemon @ 2011-05-31 13:53 UTC (permalink / raw)
  To: unassigned

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.


^ permalink raw reply	[flat|nested] 83+ messages in thread

end of thread, other threads:[~2011-08-25  8:27 UTC | newest]

Thread overview: 83+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-31 13:53 [Bug 1001253] New: Kernel tests on small memory targets bugzilla-daemon
2011-05-31 13:54 ` [Bug 1001253] " bugzilla-daemon
2011-05-31 13:55 ` bugzilla-daemon
2011-05-31 13:55 ` bugzilla-daemon
2011-05-31 13:56 ` bugzilla-daemon
2011-05-31 13:57 ` bugzilla-daemon
2011-05-31 13:58 ` bugzilla-daemon
2011-05-31 13:59 ` bugzilla-daemon
2011-05-31 14:01 ` bugzilla-daemon
2011-06-02 19:06 ` bugzilla-daemon
2011-07-02  9:14 ` bugzilla-daemon
2011-07-02 21:32 ` bugzilla-daemon
2011-07-03  7:47 ` bugzilla-daemon
2011-07-03 15:10 ` bugzilla-daemon
2011-07-04 10:11 ` bugzilla-daemon
2011-07-04 19:57 ` bugzilla-daemon
2011-07-05  8:15 ` bugzilla-daemon
2011-07-05 10:01 ` bugzilla-daemon
2011-07-05 10:16 ` bugzilla-daemon
2011-07-05 10:52 ` bugzilla-daemon
2011-07-05 14:44 ` bugzilla-daemon
2011-07-05 15:09 ` bugzilla-daemon
2011-07-05 16:10 ` bugzilla-daemon
2011-07-05 17:25 ` bugzilla-daemon
2011-07-06  8:28 ` bugzilla-daemon
2011-07-06  9:07 ` bugzilla-daemon
2011-07-06 12:01 ` bugzilla-daemon
2011-07-06 14:30 ` bugzilla-daemon
2011-07-06 19:00 ` bugzilla-daemon
2011-07-06 19:30 ` bugzilla-daemon
2011-07-09 17:02 ` bugzilla-daemon
2011-07-09 17:15 ` bugzilla-daemon
2011-07-09 17:17 ` bugzilla-daemon
2011-07-09 17:18 ` bugzilla-daemon
2011-07-09 17:20 ` bugzilla-daemon
2011-07-09 17:20 ` bugzilla-daemon
2011-07-09 17:21 ` bugzilla-daemon
2011-07-09 17:25 ` bugzilla-daemon
2011-07-09 19:09 ` bugzilla-daemon
2011-07-10 16:14 ` bugzilla-daemon
2011-07-10 18:12 ` bugzilla-daemon
2011-08-25  8:27 ` bugzilla-daemon
2011-05-31 13:53 [Bug 1001253] New: " bugzilla-daemon
2011-05-31 13:54 ` [Bug 1001253] " bugzilla-daemon
2011-05-31 13:55 ` bugzilla-daemon
2011-05-31 13:55 ` bugzilla-daemon
2011-05-31 13:56 ` bugzilla-daemon
2011-05-31 13:57 ` bugzilla-daemon
2011-05-31 13:58 ` bugzilla-daemon
2011-05-31 13:59 ` bugzilla-daemon
2011-05-31 14:01 ` bugzilla-daemon
2011-06-02 19:06 ` bugzilla-daemon
2011-07-02  9:14 ` bugzilla-daemon
2011-07-02 21:31 ` bugzilla-daemon
2011-07-03  7:47 ` bugzilla-daemon
2011-07-03 15:10 ` bugzilla-daemon
2011-07-04 10:11 ` bugzilla-daemon
2011-07-04 19:57 ` bugzilla-daemon
2011-07-05  8:15 ` bugzilla-daemon
2011-07-05 10:01 ` bugzilla-daemon
2011-07-05 10:16 ` bugzilla-daemon
2011-07-05 10:52 ` bugzilla-daemon
2011-07-05 14:44 ` bugzilla-daemon
2011-07-05 15:09 ` bugzilla-daemon
2011-07-05 16:09 ` bugzilla-daemon
2011-07-05 17:25 ` bugzilla-daemon
2011-07-06  8:28 ` bugzilla-daemon
2011-07-06  9:07 ` bugzilla-daemon
2011-07-06 12:01 ` bugzilla-daemon
2011-07-06 14:30 ` bugzilla-daemon
2011-07-06 19:00 ` bugzilla-daemon
2011-07-06 19:30 ` bugzilla-daemon
2011-07-09 17:02 ` bugzilla-daemon
2011-07-09 17:15 ` bugzilla-daemon
2011-07-09 17:17 ` bugzilla-daemon
2011-07-09 17:18 ` bugzilla-daemon
2011-07-09 17:20 ` bugzilla-daemon
2011-07-09 17:20 ` bugzilla-daemon
2011-07-09 17:21 ` bugzilla-daemon
2011-07-09 17:25 ` bugzilla-daemon
2011-07-09 19:09 ` bugzilla-daemon
2011-07-10 16:14 ` bugzilla-daemon
2011-07-10 18:12 ` bugzilla-daemon
2011-08-25  8:27 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).