Bug 2096 - addr2line fails on linux-kernel
Summary: addr2line fails on linux-kernel
Status: RESOLVED INVALID
Alias: None
Product: binutils
Classification: Unclassified
Component: binutils (show other bugs)
Version: 2.17
: P2 critical
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-23 03:33 UTC by Herbert Pötzl
Modified: 2007-07-09 18:38 UTC (History)
2 users (show)

See Also:
Host: *-i386-*
Target: *-i386-*
Build: *-i386-*
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Herbert Pötzl 2005-12-23 03:33:59 UTC
# gdb vmlinux 
(gdb) l *0xc010f512
0xc010f512 is in printk (kernel/printk.c:516).

# addr2line -e vmlinux c010f512
??:0

(all details can be found here: http://vserver.13thfloor.at/Stuff/ADDR2LINE/)
Comment 1 H.J. Lu 2005-12-31 20:27:27 UTC
A patch posted at

http://sourceware.org/ml/binutils/2005-12/msg00290.html
Comment 2 H.J. Lu 2006-01-26 23:20:51 UTC
Fixed.
Comment 3 yunhual@gmail.com 2007-07-01 16:18:13 UTC
cat System.map
....
00100000 A phys_startup_32
c0100000 T _text
c0100000 T startup_32
....
addr2line -e vmlinux 0xc0100000
??:0

uname -a
Linux yunhual-laptop 2.6.20.3-ubuntu1 #2 Sat Jun 16 00:02:27 CST 2007 i686 GNU/Linux

Comment 4 yunhual@gmail.com 2007-07-01 16:19:51 UTC
addr2line -v
GNU addr2line (Linux/GNU Binutils) 2.17.50.0.17.20070615
Comment 5 yunhual@gmail.com 2007-07-04 01:14:21 UTC
cat System.map
....
00100000 A phys_startup_32
c0100000 T _text
c0100000 T startup_32
....
addr2line -e vmlinux 0xc0100000
??:0

uname -a
Linux yunhual-laptop 2.6.20.3-ubuntu1 #2 Sat Jun 16 00:02:27 CST 2007 i686 GNU/Linux

addr2line -v
GNU addr2line (Linux/GNU Binutils) 2.17.50.0.17.20070615
Comment 6 H.J. Lu 2007-07-09 18:38:21 UTC
(In reply to comment #5)
> cat System.map
> ....
> 00100000 A phys_startup_32
> c0100000 T _text
> c0100000 T startup_32
> ....
> addr2line -e vmlinux 0xc0100000
> ??:0
> 
> uname -a
> Linux yunhual-laptop 2.6.20.3-ubuntu1 #2 Sat Jun 16 00:02:27 CST 2007 i686
GNU/Linux
> 
> addr2line -v
> GNU addr2line (Linux/GNU Binutils) 2.17.50.0.17.20070615

It is a different bug. See PR 4756.