All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thierry Bultel <tbultel@free.fr>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: nicolas Mabire <nicolas.mabire@basystemes.fr>, xenomai@xenomai.org
Subject: Re: [Xenomai] IMX kernel 3.0.35_4.1.0 + adeos-ipipe-3.0.43-mx6q-1.18-14 -> very slow boot
Date: Sun, 16 Nov 2014 21:44:57 +0100	[thread overview]
Message-ID: <54690CC9.9070201@free.fr> (raw)
In-Reply-To: <20141114102833.GF4656@sisyphus.hd.free.fr>

Le 14/11/2014 11:28, Gilles Chanteperdrix a écrit :
> On Fri, Nov 14, 2014 at 11:15:00AM +0100, tbultel@free.fr wrote:
>> Gilles, it has taken time (about 3 hours), but I finally got
>> a backtrace with IPIPE_DEBUG: (I have disabled
>> CONFIG_IPIPE_TRACE_VMALLOC)
>
> Normally CONFIG_IPIPE_TRACE_VMALLOC is required on ARM. kmalloc fails
> to allocate large enough areas, which causes the kernel to fail booting.
>
>>
>> Before the trace went to the serial console, I saw that there were no more timer irq
>> on 2 CPUs (my ssh session froze). Some 3 or 4 seconds later it came up.
>> Not clear to me why there are only 100 points, because I have CONFIG_IPIPE_TRACE_SHIFT=14
>
> You have to write the number of back_trace_points you want to
> /proc/ipipe/trace/back_trace_points
>
> Also your trace contains a lot of writing to the console, you should
> move the ipipe_trace_panic_freeze to before any console output.
>
> Also note that the UART being slow, a lot of trace points will take
> a lot of time to print out.
>
> You may want to enable the tracer verbose mode to have the timestamps.
>

FYI, the kernel without IPIPE but with the PREEMPT_RT patch freezes as 
well, when flooding with ping, and mostly when started after a poweroff.
I have not been able (yet) to freeze it after a reboot.
I will consider looking deeper in the bootloader.


  reply	other threads:[~2014-11-16 20:44 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-05 20:38 [Xenomai] IMX kernel 3.0.35_4.1.0 + adeos-ipipe-3.0.43-mx6q-1.18-14 -> very slow boot Thierry Bultel
2014-11-05 20:59 ` Gilles Chanteperdrix
2014-11-06 10:57   ` tbultel
2014-11-06 11:47     ` Gilles Chanteperdrix
2014-11-06 12:34       ` Gilles Chanteperdrix
2014-11-06 12:52         ` Gilles Chanteperdrix
2014-11-06 14:41           ` tbultel
2014-11-06 14:51             ` Gilles Chanteperdrix
2014-11-06 16:04             ` Lennart Sorensen
2014-11-06 16:08               ` Gilles Chanteperdrix
2014-11-07  9:48                 ` tbultel
2014-11-07  9:52                   ` Gilles Chanteperdrix
2014-11-07  9:59                     ` Gilles Chanteperdrix
2014-11-07 12:47                     ` tbultel
2014-11-07 19:58                       ` Gilles Chanteperdrix
2014-11-09 17:48                         ` Thierry Bultel
2014-11-10 12:36                           ` Gilles Chanteperdrix
2014-11-11 19:57                             ` Thierry Bultel
2014-11-11 20:03                               ` Gilles Chanteperdrix
2014-11-12 13:17                                 ` Thierry Bultel
2014-11-12 13:34                                   ` Gilles Chanteperdrix
2014-11-12 14:27                                     ` Thierry Bultel
2014-11-12 14:30                                       ` Gilles Chanteperdrix
2014-11-12 15:20                                         ` Thierry Bultel
2014-11-12 15:29                                           ` Gilles Chanteperdrix
2014-11-12 15:44                                             ` Thierry Bultel
2014-11-12 15:55                                               ` Gilles Chanteperdrix
2014-11-12 16:17                                                 ` Thierry Bultel
2014-11-12 16:15                                               ` Gilles Chanteperdrix
2014-11-12 18:53                                               ` Lennart Sorensen
2014-11-12 19:06                                                 ` Gilles Chanteperdrix
2014-11-12 19:13                                                   ` Lennart Sorensen
2014-11-12 19:28                                                     ` Gilles Chanteperdrix
2014-11-12 19:35                                                       ` Lennart Sorensen
2014-11-13 14:44                                 ` tbultel
2014-11-13 14:51                                   ` Gilles Chanteperdrix
2014-11-13 15:03                                     ` tbultel
2014-11-13 15:10                                       ` Gilles Chanteperdrix
2014-11-13 15:23                                         ` tbultel
2014-11-13 15:26                                           ` Gilles Chanteperdrix
2014-11-14 10:15                                     ` tbultel
2014-11-14 10:28                                       ` Gilles Chanteperdrix
2014-11-16 20:44                                         ` Thierry Bultel [this message]
2014-11-17 10:12                                           ` Gilles Chanteperdrix
2014-11-17 10:43                                             ` tbultel
2014-11-06 12:48     ` Gilles Chanteperdrix

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=54690CC9.9070201@free.fr \
    --to=tbultel@free.fr \
    --cc=gilles.chanteperdrix@xenomai.org \
    --cc=nicolas.mabire@basystemes.fr \
    --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.