install System.map in kernel-devel

Dave Anderson anderson at redhat.com
Wed Oct 24 18:13:15 UTC 2007


On Tue, Oct 23, 2007 at 08:50:23PM -0400, Jarod Wilson wrote:
  > Chuck Ebbert wrote:
  > > On 10/23/2007 06:28 PM, Dave Jones wrote:
  > >>  > Are the addresses in System.map accurate? On the F7 2.6.23 kernel,
  > >>  > I had to subtract 0x400000 and add 0x1000000 to the address in an
  > >>  > oops message to get an address to use with eu-addr2line.
  > >>
  > >> Relocatable kernel is another thing that really screws with this.
  > >>
  > >
  > > CONFIG_RELOCATABLE=y
  > > CONFIG_PHYSICAL_ALIGN=0x400000
  > > CONFIG_PHYSICAL_START=0x1000000
  > >
  > > Address in oops was c04622db.
  > >
  > > I had to use "eu-addr2line -e vmlinux 0xc10622db"
  > >
  > > And objdump just flat refuses to show line number information
  > > from vmlinux containing debug info. (But on Fedora 8 it will.)
  >
  > I vaguely recall seeing a bug about this one, and I thought the solution
  > was to set _ALIGH and _START to the same value, but these are only vague
  > recollections...

If CONFIG_PHYSICAL_START is equal to or less than CONFIG_PHYSICAL_ALIGN
then all is well.

Dave





More information about the Fedora-kernel-list mailing list