From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4C3380FB.7010700@domain.hid> Date: Tue, 06 Jul 2010 21:16:11 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] 2.5.2 + 2.6.32 patched kernel causes system reset List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Soetens Cc: xenomai-help Peter Soetens wrote: > Hi, > > We have a single-core Pentium M industrial PC equiped with Xenomai > 2.5.2 patched vanilla Linux 2.6.32.7. > We have two builds of the kernel: one that causes a reliable system > reset when starting a 'heavy' Orocos application (lot of thread > creation/deletions), the other is rock solid. We think it is related > to thread creation in the native skin, since we could at least twice > cause the reset by just creating a native thread (that was meant to > block on a semaphore) but this was hard to reproduce. Stack size was > set to 128k, but only trivial code was executed.We had the impression > that enlarging the stack size to 256k caused less resets, but it was > still very frequent. Setting the stack size too low caused segfaults > in the app, not a kernel crash. > > The stable config and the diffs between both configs are in > attachment. Read it as: apply this patch to make it unstable. Any > clues what is the most likely suspect ? Could the xenomai watchdog > cause the reset ? > > Thanks for any pointers, we're prepared to bisect this, if any one > knows a tool to do a bisect on a set of config options, we'll be glad > to use it. Before investing any more time, please upgrade to Xenomai 2.5.3. -- Gilles.