This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001984] New: i386 SMP startup hangs (primary CPU spinlocks forever)


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 the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]