From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4540 invoked by alias); 17 Sep 2010 17:35:45 -0000 Received: (qmail 4370 invoked by uid 22791); 17 Sep 2010 17:35:44 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_40,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; Fri, 17 Sep 2010 17:35:40 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id C79262F7800E for ; Fri, 17 Sep 2010 18:35:37 +0100 (BST) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F-z5pjDBWlT1; Fri, 17 Sep 2010 18:35:32 +0100 (BST) From: bugzilla-daemon@ecoscentric.com To: ecos-bugs@ecos.sourceware.org Subject: [Issue 1001033] New: Cannot create threads with numerical priority values higher than 14. X-Bugzilla-Reason: QAcontact CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Kernel X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: lawrence.lo@emerson.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: normal X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://bugzilla.ecoscentric.com/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Fri, 17 Sep 2010 17:35: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: 2010/txt/msg00068.txt.bz2 Please do not reply to this email. Use the web interface provided at: https://bugzilla.ecoscentric.com/show_bug.cgi?id=1001033 Summary: Cannot create threads with numerical priority values higher than 14. Product: eCos Version: 3.0 Platform: All OS/Version: ARM Status: UNCONFIRMED Severity: critical Priority: normal Component: Kernel AssignedTo: unassigned@bugs.ecos.sourceware.org ReportedBy: lawrence.lo@emerson.com QAContact: ecos-bugs@ecos.sourceware.org CC: ecos-bugs@ecos.sourceware.org Class: Advice Request eCos version is 3.0.3. Hardware platform is arm9/fa5xx/harley. It failed to create and run a thread with numerical priority values higher than 14. For example, we tried to create an idle thread with the following instructions: cyg_thread_create(15, (cyg_thread_entry_t *)&idleHandler, NULL, NULL, &idleThreadStack, sizeof(idleThreadStack), &idleThreadHandle, &idleThread); cyg_thread_resume(idleThreadHandle); The idle thread would fail to run (a print statement at the beginning of the idle thread was not seen) and the system would hang as soon as all other threads (with lower numerical priority values) blocked (which also indicated the idle thread was not running.) I performed the test with priority values from 15 to 31 and they all failed. Everything appeared normal when I used priority values from 0 to 14. I have verified CYG_THREAD_MAX_PRIORITY is defined to 31 and CYG_THREAD_MIN_PRIORITY defined to 0 in eCos sources. In our tests, the bitmap scheduler was configured. -- Configure issuemail: https://bugzilla.ecoscentric.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the issue. You are on the CC list for the issue.