All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] More blackfin kernel oops under heavy load
@ 2011-02-28 11:44 Kolja Waschk
  2011-02-28 12:08 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 14+ messages in thread
From: Kolja Waschk @ 2011-02-28 11:44 UTC (permalink / raw)
  To: xenomai

Hi,

I currently can have a look again at the problems I initially described in

http://mail.gna.org/public/xenomai-help/2011-01/msg00091.html

In short, I get various exceptions (Illegal use of supervisor access, NULL pointer
etc.) in a setup involving a RTDM driver using interrupts, some RT tasks, and network
communication over normal (non-RT) sockets. The exceptions appear to occur in either
gatekeeper/0 or in the thread that serves the network requests, not in the thread
talking to the driver. It occurs only with the driver open however. It even
appears in exactly the same way if the application accessing the RTDM driver
and the webserver are started as separate processes. All other "normal"
(non-RT) processes run stable.  I guess there is some problem with interrupts
during system calls.

Initially I titled the posting with "...under heavy load". But now we know the
problem always occurs after some time, just more often the higher the load. I
probably have to go back to the previous bfin dist release (with older kernel
and Xenomai 2.4.x) if there's no fix.

Now I'm quite unable to further investigate within the ipipe/xenomai kernel code but
would like to create at least an example as small as possible but able to trigger the
problem, so others may reproduce it more easily. It seems I need a RTDM (dummy?)
driver that triggers some hardware interrupts, a thread talking to it, and another
thread making system calls such as select() etc...  If you have any thoughts on
existing example code that I could use as a base, or generally some guess about
what kind of simple test code could trigger such a problem, I'd appreciate your
input. For a RTDM test driver, I could use timers or UART as a commonly available
source for interrupts? My system is based on a BF537, somewhat similar to the STAMP.

Thanks,
Kolja



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

end of thread, other threads:[~2011-03-06 11:58 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-28 11:44 [Xenomai-help] More blackfin kernel oops under heavy load Kolja Waschk
2011-02-28 12:08 ` Gilles Chanteperdrix
2011-02-28 12:25   ` Kolja Waschk
2011-02-28 12:19     ` Gilles Chanteperdrix
2011-02-28 12:48       ` Kolja Waschk
2011-02-28 12:41         ` Gilles Chanteperdrix
2011-02-28 12:56           ` Kolja Waschk
2011-02-28 13:52             ` Gilles Chanteperdrix
2011-02-28 18:46               ` Kolja Waschk
2011-03-01 10:50                 ` Kolja Waschk
2011-03-06  4:17                   ` Philippe Gerum
2011-03-06 11:58                     ` Kolja Waschk
2011-03-01 12:13                 ` Gilles Chanteperdrix
2011-03-01 17:47                   ` Philippe Gerum

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.