From: "Randy.Dunlap" <rddunlap@osdl.org>
To: Park Lee <parklee_sel@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: How to get the whole information dumped from kernel
Date: Tue, 14 Dec 2004 08:04:42 -0800 [thread overview]
Message-ID: <41BF0F1A.6080001@osdl.org> (raw)
In-Reply-To: <20041214152730.74648.qmail@web51509.mail.yahoo.com>
Park Lee wrote:
> On Sat, 11 Dec 2004 at 10:53, Linus Torvalds wrote:
>
>>- for one-off things where you don't want to go to
> the bother, but
>>just want to find one problem, you can do:
>> [snipped]
>> - disable CONFIG_CALLSYM, which makes the oops
> much harder to
>> read, but also more compact. Then look up the
> addresses by hand
>> with "gdb vmlinux" or use the ksymoops program.
>
>
> In /usr/src/linux/.config, we can see that
> "CONFIG_KALLSYMS=y" is included in the General setup
> section like the following:
>
> #
> # General setup
> #
> CONFIG_SWAP=y
> CONFIG_SYSVIPC=y
> CONFIG_POSIX_MQUEUE=y
> CONFIG_BSD_PROCESS_ACCT=y
> CONFIG_SYSCTL=y
> CONFIG_AUDIT=y
> CONFIG_AUDITSYSCALL=y
> CONFIG_LOG_BUF_SHIFT=17
> CONFIG_HOTPLUG=y
> # CONFIG_IKCONFIG is not set
> # CONFIG_EMBEDDED is not set
> CONFIG_KALLSYMS=y
> CONFIG_FUTEX=y
> CONFIG_EPOLL=y
> CONFIG_IOSCHED_NOOP=y
> CONFIG_IOSCHED_AS=y
> CONFIG_IOSCHED_DEADLINE=y
> CONFIG_IOSCHED_CFQ=y
> CONFIG_CC_OPTIMIZE_FOR_SIZE=y
>
> But, when we run 'make menuconfig', we can only see
> that the General setup section only contains the
> following items:
>
> [*] Support for paging of anonymous memory (swap)
>
> [*] System V IPC
> [*] POSIX Message Queues
> [*] BSD Process Accounting
>
> [*] Sysctl support
>
> [*] Auditing support
>
> [*] Enable system-call auditing support
>
> (17) Kernel log buffer size (16 => 64KB, 17 =>
> 128KB)
> [*] Support for hot-pluggable devices
>
> [ ] Kernel .config support
>
> [ ] Configure standard kernel features (for small
> systems) --->
Right here, press Y and the press Enter and more options
(including KALLSYMS) will appear for you to make.
> [*] Optimize for size
>
> Then, It seems that there is no place to disable
> CONFIG_KALLSYMS (i.e. turn 'CONFIG_KALLSYMS=y' to
> 'CONFIG_KALLSYMS is not set'), How can I turn off the
> 'CONFIG_KALLSYMS' item?? Is CONFIG_KALLSYMS=y set
> automatically by system?
--
~Randy
next prev parent reply other threads:[~2004-12-14 16:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-14 15:27 How to get the whole information dumped from kernel Park Lee
2004-12-14 16:04 ` Randy.Dunlap [this message]
2004-12-15 3:19 ` Park Lee
2004-12-15 3:21 ` Randy.Dunlap
-- strict thread matches above, loose matches on Subject: below --
2004-12-15 2:26 Park Lee
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=41BF0F1A.6080001@osdl.org \
--to=rddunlap@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=parklee_sel@yahoo.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox