Message-ID: <50444008.4000109@xenomai.org> Date: Mon, 03 Sep 2012 07:28:40 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <50405C4F.5030301@ebus.com> <50406A3D.4080801@xenomai.org> <5043F063.2020302@ebus.com> In-Reply-To: <5043F063.2020302@ebus.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] Upgrading to Xenomai 2.6.1 List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Doug Brunner Cc: xenomai@xenomai.org On 09/03/2012 01:48 AM, Doug Brunner wrote: > On 08/31/2012 12:39 AM, Gilles Chanteperdrix wrote: >> On 08/31/2012 08:40 AM, Doug Brunner wrote: >> >>> I've been having a very hard time with the upgrade from Xenomai 2.6.0 to >>> 2.6.1--hoping someone might have a suggestion for me. My thinking was >>> that, to get the most possible bug fixes, I should also upgrade to the >>> latest kernel for which there is a stable I-pipe patch, which appears to >>> be 3.2.21 from examining the list of available patches distributed with >>> Xenomai. >>> >>> Unfortunately, 3.2.21 (even unmodified, using a vanilla Debian kernel >>> config, set for 586 cpu type) will not boot on my target platform >>> (Winsystems PPM-LX800-G, which has a Geode LX800 CPU). It immediately >>> resets after "Loading initial ramdisk", without even any early printk >>> output. I have no idea what could be causing that :( >> >> Ok. I have just booted my geode with 3.4, both with 586 cpu type without >> tsc and with geode cpu type with tsc. The kernel boots and the latency >> test starts. So, I guess you selected a kernel configuration option we >> do not support (such as CONFIG_KGDB). >> >> You can download the configuration which works for me here: >> http://xenomai.org/~gch/config-geode >> > Argh...the problem was apparently that I'd left SMP support selected. > Thanks for your config! It's a nice bare-bones kernel and boots my Geode > as well so I'm using it as a new starting point. > > I saw an email from you on 8/3 referring to a regression connected to > irq_hold that was fixed in your git. Should I get an I-pipe patch from > there, or from git.denx.de/ipipe.git instead of using the one > distributed with 2.6.1? Probably not, that is a fix for IO-APIC interrupt controller, the geode does not have an IO-APIC. Making a few tests with geode without tsc I found out something obvious: "statistics collection" should be disabled as it causes the tsc read function to be called often, and each read of the emulated tsc costs 4us. -- Gilles.