All of lore.kernel.org
 help / color / mirror / Atom feed
* Crash in kernel/locking/rtmutex.c
@ 2017-01-17 19:38 Brian Wrenn
  2017-01-17 20:19   ` Julia Cartwright
  0 siblings, 1 reply; 11+ messages in thread
From: Brian Wrenn @ 2017-01-17 19:38 UTC (permalink / raw)
  To: linux-rt-users

[-- Attachment #1: Type: text/plain, Size: 1659 bytes --]

Has anyone else encountered this kernel crash?  It happens during a
benchmark we have made with the following error message:

[ 3395.840390] kernel BUG at kernel/locking/rtmutex.c:1014!
[ 3395.840396] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP

I've attached a capture of the stack trace.

For some background, here's our setup.
(0) The Variscite DART SD410 SOM
(1) Linaro 4.4.9 patched to PREEMPT RT with patch-4.4.9-rt17.patch.gz
(2) We are running a modified spidev driver: basically the spidev
driver from the standard kernel tree plus an interrupt registered on a
input GPIO pin that performs a SPI transfer very similarly to the way
the spidev_test user space application does, or at least the kernel
routines spidev_test invokes when run.  It also toggles an output GPIO
pin high at the beginning of the interrupt handler and then low before
the interrupt handler exits.  We're transferring over the SPI at
50MHz.
(3) iperf running at 10 Mbytes/sec over Wi-Fi
(4) a benchmarking utility that simulates FFT operations, which
persistently keeps the processor running at or near 100% CPU
(5) Only the kernel runs in real time.  The FFT and iperf run in user
space and for our purposes can tolerate delay.  Only our modified
spidev must run in real time.

We are indeed heavily loading the SOM, but we anticipate such to
happen when the system we want to build runs at its expected peak.  If
anyone has some thoughts about whether...
(a) anyone has encountered this bug before,
(b) we have uncovered a bug,
(c) we may have a faulty approach at some level, or
(d) we expect too much from this SOM, we'd appreciate any input.

Thanks for any help,
Brian

[-- Attachment #2: screenlog.0.rtmutex_crash --]
[-- Type: application/octet-stream, Size: 62987 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-01-26 10:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-17 19:38 Crash in kernel/locking/rtmutex.c Brian Wrenn
2017-01-17 20:19 ` Julia Cartwright
2017-01-17 20:19   ` Julia Cartwright
2017-01-18  8:49   ` Linus Walleij
2017-01-18 16:39     ` Brian Wrenn
2017-01-20  6:45       ` Brian Wrenn
2017-01-20 16:13         ` [PATCH] pinctrl: qcom: Use raw spinlock variants Julia Cartwright
2017-01-20 16:13           ` Julia Cartwright
2017-01-20 17:07           ` Brian Wrenn
2017-01-20 18:04           ` Bjorn Andersson
2017-01-26 10:08           ` Linus Walleij

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.