Hi Jan,

I did a complete make mrproper on the system and recompiled without debugging 
parameters, which took a few hours on the machine because the modules take up a 
lot. I probably should prune all unused modules (eg video, pcmcia, sound, etc) 
that I'm not using.

I guess I will have to back up my current /lib/modules/2.6.30.8 when I 
recompile with all debug support for that experiment, grab the data, and then 
get that to you once my testing (hopefully) is successful on this change 
without kernel debugging options.

Cheers,

Joshua Karch
________________________________________
From: Jan Kiszka [[email protected]]
Sent: Wednesday, December 09, 2009 10:42 AM
To: Josh Karch
Cc: [email protected]
Subject: Re: Xenomai scheduling while atomic bug--debugging   parameters

Josh Karch wrote:
> Gilles,
>
> sounds good-- for now I'm recompiling the kernel with all debug options 
> disabled to see if my program will run stable, but I can make another 
> compiling with all options enabled for kernel debugging, ipipe debugging, and 
> xenomai debugging, run it, send a config.  I have a couple of questions:
> 1) is it possible to disable all of these debugging parameters in the kernel 
> boot parameter or do I have to recompile

No for most of them. You can compile some tracing features in and leave
them disabled during runtime until needed, but e.g. frame pointers are
too basic.

> 2) What is the best way to collect a trace?  Right now I have copied from 
> kern.log, messages, and syslog (in /var/log), although they are all similar.

As long as dmesg works or syslogd/klogd is able to grab the kernel
console, one of such sources suffices. If the system somehow behaves
strange, drops the first oops, or even hard-locks, collect them via
serial console/netconsole on a remote system.

> 3) Is there a quick way to recompile the kernel with these options without 
> having to rebuild all the kernel modules or do I need to do a clean and 
> rebuild?

Don't do that, always rebuild properly or you create a bunch of
additional sources for troubles. Some config changes do allow this, but
unless you know them and their restrictions, better don't try to "find"
them. Having a proper build environment, rebuilding a tailored embedded
kernel + modules shouldn't take longer than a few minutes.

Jan

--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to