Fixed
Created: Oct 13, 2016
Updated: Dec 3, 2018
Resolved Date: Oct 23, 2016
Found In Version: 8.0.0.9
Fix Version: 8.0.0.11
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Kernel
After booting wrlinux8 on serial console(ttyS0),
the following error occurred when ttyS1 is used.
(And the reply of ttyS0 becomes slow when this problem occurred)
===
root@localhost:~# irq 86: nobody cared (try booting with the
"irqpoll" option)
Call trace:
handlers:
[<ffffffc0000f0298>] irq_default_primary_handler threaded
[<ffffffc00049dc04>] serial8250_interrupt
Disabling IRQ #86
BUG: sleeping function called from invalid context at /xxx/Workspace/kernel/linux/kernel/locking/rtmutex.c:1165
in_atomic(): 1, irqs_disabled(): 128, pid: 581, name: irq/86-serial
Preemption disabled at:[< (null)>] (null)
Call trace:
Message from syslogd@localhost at Jun 27 08:59:36 ...
kernel:Call trace:
Message from syslogd@localhost at Jun 27 08:59:36 ...
kernel:Disabling IRQ #86
Message from syslogd@localhost at Jun 27 08:59:36 ...
kernel:Call trace:
root@localhost:~#
===
wrlinux 8 (RCPL9)
BSP : fsl-ls1043
1. create platform project and build
configure --enable-board=fsl-ls1043 --enable-kernel=preempt-rt --enable-rootfs=glibc-std-sato
2. boot wrlinux8 (console ttyS0)
3. run the following test script
===
#!/bin/sh
while [ true ];
do
systemctl start serial-getty@ttyS1
systemctl stop serial-getty@ttyS1
done
===