Re: install System.map in kernel-devel

2007-10-23 Thread Dave Jones
On Tue, Oct 23, 2007 at 06:26:21PM -0400, Chuck Ebbert wrote:
  On 10/23/2007 09:05 AM, Roland McGrath wrote:
   The systemtap folks are interested in having System.map installed by
   kernel-devel, not just by the kernel rpm itself.  This makes it possible to
   do more preparations off-line for a kernel other than an installed one.
   
   Without objection, I'll check this in on all branches.
   
  
  Are the addresses in System.map accurate? On the F7 2.6.23 kernel,
  I had to subtract 0x40 and add 0x100 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.

Dave

-- 
http://www.codemonkey.org.uk

___
Fedora-kernel-list mailing list
Fedora-kernel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-kernel-list


Re: install System.map in kernel-devel

2007-10-23 Thread Chuck Ebbert
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 0x40 and add 0x100 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=0x40
CONFIG_PHYSICAL_START=0x100

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.)

___
Fedora-kernel-list mailing list
Fedora-kernel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-kernel-list


Re: install System.map in kernel-devel

2007-10-23 Thread Jarod Wilson

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 0x40 and add 0x100 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=0x40
CONFIG_PHYSICAL_START=0x100

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...


--
Jarod Wilson
[EMAIL PROTECTED]

___
Fedora-kernel-list mailing list
Fedora-kernel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-kernel-list