Date: Mon, 17 Nov 2014 11:43:39 +0100 (CET) From: tbultel@free.fr Message-ID: <1895952308.121592546.1416221019422.JavaMail.root@zimbra90-e16.priv.proxad.net> In-Reply-To: <20141117101217.GD23508@sisyphus.hd.free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Xenomai] IMX kernel 3.0.35_4.1.0 + adeos-ipipe-3.0.43-mx6q-1.18-14 -> very slow boot List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gilles Chanteperdrix Cc: nicolas Mabire , xenomai@xenomai.org ----- Mail original ----- > De: "Gilles Chanteperdrix" > =C3=80: "Thierry Bultel" > Cc: xenomai@xenomai.org, "nicolas Mabire" > Envoy=C3=A9: Lundi 17 Novembre 2014 11:12:17 > Objet: Re: [Xenomai] IMX kernel 3.0.35_4.1.0 + adeos-ipipe-3.0.43-mx6q-1.= 18-14 -> very slow boot >=20 > On Sun, Nov 16, 2014 at 09:44:57PM +0100, Thierry Bultel wrote: > > Le 14/11/2014 11:28, Gilles Chanteperdrix a =C3=A9crit : > > >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=3D14 > > > > > >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. > > > > >=20 > > 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. >=20 > Is it still with the 3.0 kernel, or with something more current? >=20 > -- still with the 3.0.35-4.1.0 + official preempt-rt patch for 3.0.35 (I had to deal with some little rejections) > =09=09=09=09=09 Gilles. >=20