From: Derek Atkins <warlord@MIT.EDU>
To: Dave Anderson <anderson@redhat.com>
Cc: kgdb-bugreport@lists.sourceforge.net, vgoyal@in.ibm.com,
Kexec Mailing List <kexec@lists.infradead.org>,
"Eric W. Biederman" <ebiederm@xmission.com>,
Jason Wessel <jason.wessel@windriver.com>
Subject: Re: [Kgdb-bugreport] Problem getting kgdb to read kernel symbols. addresses shifted?
Date: Mon, 01 Oct 2007 16:35:37 -0400 [thread overview]
Message-ID: <sjmk5q6efom.fsf@pgpdev.ihtfp.org> (raw)
In-Reply-To: <4701448D.7070208@redhat.com> (Dave Anderson's message of "Mon\, 01 Oct 2007 15\:03\:41 -0400")
Dave,
Dave Anderson <anderson@redhat.com> writes:
> Configure the kernel with CONFIG_PHYSICAL_START less than
> or equal to CONFIG_PHYSICAL_ALIGN. Upon rebuilding my FC7
> kernel with CONFIG_PHYSICAL_START changed from 16MB to 1MB,
> with CONFIG_PHYSICAL_ALIGN left at 4MB, i.e.:
>
> CONFIG_PHYSICAL_START=0x100000
> CONFIG_PHYSICAL_ALIGN=0x400000
>
> The kernel gets compiled for, and runs at, a 4MB physical address:
>
> $ nm -Bn vmlinux | grep "^c04"
> c0400000 T _text
> c0400000 T startup_32
> c0401000 T startup_32_smp
> c0401080 t checkCPUtype
> c0401101 t is486
> ...
>
> Setting both of them to 0x400000 also works.
Indeed, it does. Thank you. Once I changed this, the new kernel
works great and the symbols map properly. yay. Now on to your
regularly-schedule debugging. :)
Thank you, Dave!
> Dave
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
prev parent reply other threads:[~2007-10-01 20:36 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <sjmabr8j6d7.fsf@pgpdev.ihtfp.org>
[not found] ` <46FD03CD.9060404@windriver.com>
[not found] ` <sjmve9uj3d2.fsf@pgpdev.ihtfp.org>
[not found] ` <46FD1B6A.3000500@windriver.com>
[not found] ` <20070928114522.n0cdrcebykkgg408@webmail.mit.edu>
[not found] ` <46FD2CFB.9010404@windriver.com>
2007-09-28 21:45 ` [Kgdb-bugreport] Problem getting kgdb to read kernel symbols. addresses shifted? Pete/Piet Delaney
2007-09-28 22:18 ` Eric W. Biederman
2007-09-28 23:29 ` Derek Atkins
2007-09-28 23:40 ` Eric W. Biederman
2007-09-28 23:58 ` Derek Atkins
2007-09-29 0:32 ` Pete/Piet Delaney
2007-09-30 5:38 ` Vivek Goyal
2007-10-01 13:35 ` Dave Anderson
2007-10-01 18:44 ` Derek Atkins
2007-10-01 19:03 ` Dave Anderson
2007-10-01 20:35 ` Derek Atkins [this message]
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=sjmk5q6efom.fsf@pgpdev.ihtfp.org \
--to=warlord@mit.edu \
--cc=anderson@redhat.com \
--cc=ebiederm@xmission.com \
--cc=jason.wessel@windriver.com \
--cc=kexec@lists.infradead.org \
--cc=kgdb-bugreport@lists.sourceforge.net \
--cc=vgoyal@in.ibm.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 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.