On Thu, Nov 05, 2015 at 05:08:51PM -0500, Lennart Sorensen wrote:
> On Thu, Nov 05, 2015 at 10:40:42PM +0100, Gilles Chanteperdrix wrote:
> > On Thu, Nov 05, 2015 at 12:52:25PM -0500, Lennart Sorensen wrote:
> > > I wish I could figure out why the backtraces aren't working, since they
> > > are such a nice debug feature to have.
> > 
> > You can try disabling unwinding, this should enable frame pointers
> > and maybe make the backtraces more reliable.
> 
> I can try that.  I always thought unwinding was part of making backtraces
> work.  Not sure why I thought so.

So I removed H_DMA from the alloc cal and the alignment problem went away.
Never actually did need the DMA flag in the case anyhow so it shouldn't
have been there in the first place.  Now while poking at it, I did find
that using H_NONCACHED instead causes a NULL pointer crash in the kernel,
which seems like a bug (how can user space making a system call cause
a NULL pointer dereference in the kernel unless there is a bug?).
With 0 for the flags, it just works.

-- 
Len Sorensen

_______________________________________________
Xenomai mailing list
[email protected]
http://xenomai.org/mailman/listinfo/xenomai

Reply via email to