From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <525F498C.5010607@steinkuehler.net> Date: Wed, 16 Oct 2013 21:21:00 -0500 From: Charles Steinkuehler MIME-Version: 1.0 References: <525DC044.6090201@steinkuehler.net> <525E73FB.4060809@xenomai.org> <525E7ABF.8040403@steinkuehler.net> <525E7D85.9020307@xenomai.org> <525E81CD.6000603@steinkuehler.net> <525E8665.8000705@steinkuehler.net> <525E8A43.5090601@xenomai.org> <525E8BFF.1060201@steinkuehler.net> <525EAFFD.3010207@steinkuehler.net> <525EB7A2.1050601@xenomai.org> <525EBAD4.3080100@steinkuehler.net> <525EEBE2.8080708@steinkuehler.net> <525F362F.6080109@steinkuehler.net> In-Reply-To: <525F362F.6080109@steinkuehler.net> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Re: [Xenomai] Hung task on Xenomai patched ARM 3.8.13 BeagleBone Kernel List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gilles Chanteperdrix Cc: xenomai@xenomai.org On 10/16/2013 7:58 PM, Charles Steinkuehler wrote: > On 10/16/2013 2:41 PM, Charles Steinkuehler wrote: >> On 10/16/2013 11:12 AM, Charles Steinkuehler wrote: >>> I'll test with ipipe disabled, go through the Arm Porting guide, and see >>> where that gets me... >> >> After building a patched kernel without ipipe or xenomai enabled: >> >> $ egrep '(IPIPE|XENO)' KERNEL/.config >> # CONFIG_XENOMAI is not set >> CONFIG_XENO_GENERIC_STACKPOOL=3Dy >> CONFIG_XENO_FASTSYNCH_DEP=3Dy >> CONFIG_XENO_FASTSYNCH=3Dy >> # CONFIG_IPIPE is not set >> >> ...the mmc issue seems fixed. So according to the porting guide, this >> indicates a likely problem with interrupts or the interrupt controller >> (as Gilles indicated). > = > Based on the ARM porting guide, the first thing I did was to disable IRQ > muting by simply commenting out the two calls to: > = > ipipe_pic_muter_register > = > ...in /drivers/gpio/gpio-omap.c > = > This results in a kernel that DOES NOT HANG with ipipe enabled! > = > So it looks like the issue is related to interrupt muting, and I have > two paths to push forward: > = > 1) Build a kernel with ipipe and xenomai both enabled (but no IRQ > muting) and see if this works (and how much it affects worst-case latency) Sadly, enabling xenomai (but leaving the IRQ muting disabled) still results in the hangs, so it's not quite so simple after all... -- = Charles Steinkuehler charles@steinkuehler.net -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 261 bytes Desc: OpenPGP digital signature URL: