All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Peter Howard <pjh@northern-ridge.com.au>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] OMAP L138
Date: Tue, 08 Apr 2014 10:12:34 +0200	[thread overview]
Message-ID: <5343AF72.8060107@xenomai.org> (raw)
In-Reply-To: <1396924672.16375.8.camel@localhost.localdomain>

On 04/08/2014 04:37 AM, Peter Howard wrote:
> On Mon, 2014-04-07 at 11:53 +0200, Gilles Chanteperdrix wrote:
>> On 04/07/2014 07:34 AM, Peter Howard wrote:
>>>
>>> On Wed, 2014-04-02 at 09:24 +0200, Gilles Chanteperdrix wrote:
>>>> On 04/02/2014 04:59 AM, Peter Howard wrote:
>>>>> Hi,
>>>>>
>>>>> I'm interested in running xenomai on a TI-OMAP L138 board.  I found the
>>>>> following thread in the archives:
>>>>>
>>>>> http://www.xenomai.org/pipermail/xenomai/2010-January/018898.html
>>>>>
>>>>> where someone was working on porting ipipe and xenomai to that board.
>>>>> However, the thread ended with problems still unresolved, and the patch
>>>>> in the thread (just the changes for ipipe) isn't in the ipipe
>>>>> repository.
>>>>>
>>>>> Does anyone know if this work was completed or just faded into the
>>>>> ether?
>>>>
>>>> We never merged a patch for this processor. And a lot of things changed
>>>> since that time. If you are interested in porting the I-pipe patch to
>>>> this processor, see:
>>>>
>>>> http://www.xenomai.org/index.php/I-pipe-core:ArmPorting
>>>>
>>>
>>> Contrary to what I said last week, I'm working on a patch off the head
>>> of the ipipe repo.  I have built a kernel with an ipipe port and with
>>> xenomai patched in.  However the latency results are bad right now:
>>
>> Well, in that case enable the I-pipe tracer, and run latency with the -f
>> option to know why.
>>
> 
> I turned the tracing on and . . . start getting kernel panics from a
> NULL pointer dereference.  If I have tracing on from boot it dies
> shortly after getting to the login prompt.  If I disable it at boot, I
> start getting ext-3 errors as soon as I enable it (losing the ability to
> read the filesystem at all), then get the panic a few seconds later.  I
> get an I-pipe tracer log along with the panic, but aren't really sure
> how to interpret it in this context.   In all cases the failure appears
> to be in the context of __ipipe_trace():

Do you have CONFIG_IPIPE_TRACE_VMALLOC turned on? If not, you should. If
the backtraces are not meaningful, you can try disabling stack unwinding.

> 
> 
> Unable to handle kernel NULL pointer dereference at virtual address 00000004    
> pgd = c73e8000, hw pgd = c73e8000                                               
> [00000004] *pgd=c72a3831, *pte=00000000, *ppte=00000000                         
> Internal error: Oops: 817 [#1] PREEMPT ARM                                      
> Modules linked in:                                                              
> CPU: 0 PID: 2307 Comm: run-parts Not tainted 3.10.0-ipipe-00165-g9a2c8c8-dirty 5
> task: c70ef800 ti: c737a000 task.ti: c737a000                                   
> PC is at get_page_from_freelist+0x164/0x750                                     
> LR is at __ipipe_trace+0xa8/0x5b8                                           
> 
> 
> I'm going to keep digging to see if I can work out what the actual
> failure is, but any suggestions would be appreciated.  (I can provide
> full dump and following trace log if it would be useful)

Disable stack unwinding, and show us the backtrace you get, and the full
trace if you get it.

-- 
                                                                Gilles.


  reply	other threads:[~2014-04-08  8:12 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-02  2:59 [Xenomai] OMAP L138 Peter Howard
2014-04-02  7:24 ` Gilles Chanteperdrix
2014-04-02 22:37   ` Peter Howard
2014-04-02 23:31     ` Gilles Chanteperdrix
2014-04-03  1:28       ` Peter Howard
2014-04-07  5:34   ` Peter Howard
2014-04-07  9:53     ` Gilles Chanteperdrix
2014-04-08  2:37       ` Peter Howard
2014-04-08  8:12         ` Gilles Chanteperdrix [this message]
2014-04-08 23:44           ` Peter Howard
2014-04-08  9:18     ` Gilles Chanteperdrix
2014-04-08 23:30       ` Peter Howard
2014-04-09  0:18         ` Gilles Chanteperdrix
2014-04-09  0:20         ` Gilles Chanteperdrix
2014-04-09  0:34           ` Peter Howard
2014-04-09  4:27             ` Peter Howard
2014-04-09 11:54               ` Gilles Chanteperdrix
2014-04-10  7:01                 ` Peter Howard
2014-04-10 12:06                   ` Gilles Chanteperdrix
2014-04-10 19:57                     ` Peter Howard
2014-04-10 21:56                       ` Gilles Chanteperdrix
2014-04-10 22:17                         ` Peter Howard
2014-04-10 22:23                           ` Gilles Chanteperdrix
2014-04-10 22:27                             ` Peter Howard
2014-04-10 22:34                             ` Peter Howard
2014-04-10 22:48                               ` Gilles Chanteperdrix
2014-04-10 22:52                                 ` Peter Howard
2014-04-10 22:55                                   ` Gilles Chanteperdrix
2014-04-15  6:03                                   ` Peter Howard
2014-04-15 11:37                                     ` Gilles Chanteperdrix
2014-04-15 21:59                                       ` Peter Howard
2014-04-15 22:25                                         ` Gilles Chanteperdrix
2014-04-16  0:58                                           ` Peter Howard
2014-04-16  7:34                                             ` Gilles Chanteperdrix
2014-04-17  0:30                                               ` Peter Howard
2014-04-17 11:37                                                 ` Gilles Chanteperdrix
2014-04-22 23:02                                         ` Gilles Chanteperdrix
2014-04-23  1:45                                           ` Peter Howard
2014-04-23  2:15                                             ` Peter Howard
2014-04-23 12:13                                             ` Gilles Chanteperdrix
2014-04-24 21:30                                             ` Gilles Chanteperdrix
2014-04-27 22:14                                               ` Peter Howard
2014-04-28  1:19                                               ` Peter Howard
2014-04-29  1:46                                               ` Peter Howard
2014-05-04 19:25                                                 ` Gilles Chanteperdrix
2014-05-05 23:00                                                   ` Peter Howard
2014-05-06 11:35                                                     ` Gilles Chanteperdrix
2014-05-06 22:44                                                       ` Peter Howard
2014-05-07  0:26                                                         ` Gilles Chanteperdrix
2014-04-10 23:01                             ` Peter Howard
2014-04-11 15:46                               ` Lennart Sorensen
2014-04-14  0:28                                 ` Peter Howard
2014-04-14  1:10                                   ` Lennart Sorensen
2014-04-14  5:02                                     ` Peter Howard
2014-04-14  5:48                                       ` Peter Howard
2014-04-14 13:21                                       ` Lennart Sorensen
2014-04-15  1:58                                     ` Peter Howard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5343AF72.8060107@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=pjh@northern-ridge.com.au \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.