From: Adayadil Thomas <adayadil.thomas@gmail.com>
To: "linux-os (Dick Johnson)" <linux-os@analogic.com>
Cc: Arjan van de Ven <arjan@infradead.org>, linux-kernel@vger.kernel.org
Subject: Re: Creating new System.map with modules symbol info
Date: Tue, 8 Nov 2005 17:37:46 -0500 [thread overview]
Message-ID: <fb7befa20511081437p3355ba0aic8c9c518d3cc7b19@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0511081712210.6019@chaos.analogic.com>
I am trying to use lcrash to debug a panic
I have the System.map of the original kernel (without modules loaded),
Kerntypes file and the dump file
<4>Modules linked in: ip_conntrack_dos
<4>CPU: 0
<4>EIP: 0060:[<f8bb245b>] Tainted: P VLI
<4>EFLAGS: 00010246 (2.6.12)
<4>EIP is at init_conntrack_syn+0x193/0x214 [ip_conntrack_dos]
<4>eax: dd0f34b3 ebx: f48de908 ecx: f48de900 edx: 00000000
<4>esi: f4c65bc8 edi: f48de900 ebp: 00100100 esp: c040dae0
<4>ds: 007b es: 007b ss: 0068
If i Use the original System.map, it doesnt find the symbol for the
init_conntrack_syn
( EIP is pointing there)
However, kallsyms has an entry for that
f8b752c8 t init_conntrack_syn
If kallsyms has all the symbols, I am wondering why does it have lesser lines ?
wc -l
12343 kallsyms
32127 System.map
Will it work if I cat System.map and kallsyms together and do a sort and uniq
so that i get the union of both ?
On 11/8/05, linux-os (Dick Johnson) <linux-os@analogic.com> wrote:
>
> On Tue, 8 Nov 2005, Arjan van de Ven wrote:
>
> > On Tue, 2005-11-08 at 16:04 -0500, Adayadil Thomas wrote:
> >> Greetings.
> >>
> >> The System map that was created when compiling kernel does'nt have the symbols
> >> of modules that are loaded later. How can I create a new System.map
> >> with the symbols of
> >> modules also.
> >
> > maybe a silly question.. but why does it matter? Eg what tool uses this
> > info?
>
> Maybe he's creating a tool. Anyway /proc/kallsyms will have all
> the symbols and their offsets of the currently running kernel.
> It's a good way to find offsets of items not currently exported.
>
> Cheers,
> Dick Johnson
> Penguin : Linux version 2.6.13.4 on an i686 machine (5589.55 BogoMips).
> Warning : 98.36% of all statistics are fiction.
> .
>
> ****************************************************************
> The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to DeliveryErrors@analogic.com - and destroy all copies of this information, including any attachments, without reading or disclosing them.
>
> Thank you.
>
next prev parent reply other threads:[~2005-11-08 22:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-08 21:04 Adayadil Thomas
2005-11-08 21:19 ` Chris Largret
2005-11-08 21:45 ` Adayadil Thomas
2005-11-08 22:01 ` Jan-Benedict Glaw
2005-11-08 22:08 ` Chris Largret
2005-11-08 22:05 ` Arjan van de Ven
2005-11-08 22:16 ` linux-os (Dick Johnson)
2005-11-08 22:37 ` Adayadil Thomas [this message]
2005-11-09 12:21 ` Paulo Marques
2005-11-09 13:09 ` linux-os (Dick Johnson)
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=fb7befa20511081437p3355ba0aic8c9c518d3cc7b19@mail.gmail.com \
--to=adayadil.thomas@gmail.com \
--cc=arjan@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-os@analogic.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
all inboxes | Powered by JetHome®