From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2257 invoked by alias); 9 May 2014 12:27:13 -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 Received: (qmail 2229 invoked by uid 89); 9 May 2014 12:27:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-HELO: mail.ecoscentric.com Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 09 May 2014 12:27:10 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id E87D84680036 for ; Fri, 9 May 2014 13:27:07 +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 V1U-Gnol746v; Fri, 9 May 2014 13:27:03 +0100 (BST) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-bugs@ecos.sourceware.org Subject: [Bug 1001984] New: i386 SMP startup hangs (primary CPU spinlocks forever) Date: Fri, 09 May 2014 12:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: HAL X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: christoph.borchert@tu-dortmund.de 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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014/txt/msg00176.txt.bz2 Please do not reply to this email, use the link below. http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001984 Bug ID: 1001984 Summary: i386 SMP startup hangs (primary CPU spinlocks forever) Product: eCos Version: 3.0 Target: pc (i386 PC target) Architecture/Host All OS: Status: UNCONFIRMED Severity: normal Priority: low Component: HAL Assignee: unassigned@bugs.ecos.sourceware.org Reporter: christoph.borchert@tu-dortmund.de CC: ecos-bugs@ecos.sourceware.org Created attachment 2510 --> http://bugs.ecos.sourceware.org/attachment.cgi?id=2510&action=edit patch Dear eCos developers, it appears that during i386 SMP startup, the primary CPU spinlocks forever, waiting for cyg_hal_smp_cpu_entry[cpu] being reset. I assume this should be carried out be the secondary CPUs, after that cyg_hal_smp_cpu_entry[cpu] has been set. This behavior can be reproduced with qemu/kvm -smp 2. Attached is a patch that solves this issue (at least for me). Best regards, Christoph -- You are receiving this mail because: You are on the CC list for the bug.