[RTEMS Project] #2935: Termios task driven mode not compatible with SMP
RTEMS trac
trac at rtems.org
Thu Mar 16 10:14:36 UTC 2017
#2935: Termios task driven mode not compatible with SMP
--------------------------+-----------------------------
Reporter: Martin Aberg | Owner: joel.sherrill@…
Type: defect | Status: new
Priority: normal | Milestone: 4.12
Component: cpukit | Version: 4.12
Severity: normal | Keywords: termios smp
--------------------------+-----------------------------
When the Termios task driven functioning mode is used,
rtems_termios_open_tty() calls rtems_task_create() with RTEMS_NO_PREEMPT
in the initial task mode parameter. RTEMS_NO_PREEMPT is not supported on
SMP.
rtems_task_create() returns RTEMS_UNSATISFIED in this SMP scenario and
Termios ends up in rtems_fatal_error_occurred().
Termios starts the RX and TX tasks successfully on SMP if RTEMS_NO_PREEMPT
is removed from the initial task modes of these tasks. However, I suspect
there may be assumptions on the NO_PREEMPT mode for the RX and TX tasks in
other parts of Termios.
--
Ticket URL: <http://devel.rtems.org/ticket/2935>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list