From: Jan Kiszka <jan.kiszka@domain.hid>
To: Josh Karch <JKarch@domain.hid>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Xenomai scheduling while atomic bug--debugging parameters
Date: Wed, 09 Dec 2009 19:42:31 +0100 [thread overview]
Message-ID: <4B1FEF97.9000509@domain.hid> (raw)
In-Reply-To: <843773D242212C4882D4EDFFBF665F7F0155A93AA7@domain.hid>
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
next prev parent reply other threads:[~2009-12-09 18:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-09 16:56 [Xenomai-help] Xenomai scheduling while atomic bug--debugging parameters Josh Karch
2009-12-09 17:45 ` Gilles Chanteperdrix
2009-12-09 18:04 ` Josh Karch
2009-12-09 18:42 ` Jan Kiszka [this message]
2009-12-09 20:34 ` Josh Karch
2009-12-10 9:56 ` Jan Kiszka
2009-12-10 16:30 ` Josh Karch
2009-12-11 9:43 ` Jan Kiszka
2009-12-11 16:45 ` Josh Karch
2009-12-14 16:33 ` Josh Karch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B1FEF97.9000509@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=JKarch@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.