Comment 2 for bug 244443

Revision history for this message
Daniel J Blueman (danielblueman) wrote :

As symbolic information isn't built [1] into the kernel image, we can probably guess what line etc, but I'll reproduce and resolve line numbers etc after installing 'linux-image-debug-generic'...

--- [1]

$ modinfo sunrpc
filename: /lib/modules/2.6.24-19-generic/kernel/net/sunrpc/sunrpc.ko
$ objdump -dl /lib/modules/2.6.24-19-generic/kernel/net/sunrpc/sunrpc.ko >sunrpc.dump
$ grep '<rpcb_getport_async>' sunrpc.dump
0000000000010640 <rpcb_getport_async>:
$ printf '%x\n' $((0x10640 + 0x272))
108b2
$ grep -C10 108b2: sunrpc.dump
   1087e: f6 05 00 00 00 00 20 testb $0x20,0x0(%rip) # 10885 <rpcb_getport_async+0x245>
   10885: bb a0 ff ff ff mov $0xffffffa0,%ebx
   1088a: 0f 84 42 fe ff ff je 106d2 <rpcb_getport_async+0x92>
   10890: 41 0f b7 b5 48 01 00 movzwl 0x148(%r13),%esi
   10897: 00
   10898: 48 c7 c2 00 00 00 00 mov $0x0,%rdx
   1089f: 48 c7 c7 00 00 00 00 mov $0x0,%rdi
   108a6: 31 c0 xor %eax,%eax
   108a8: e8 00 00 00 00 callq 108ad <rpcb_getport_async+0x26d>
   108ad: e9 20 fe ff ff jmpq 106d2 <rpcb_getport_async+0x92>
   108b2: 0f 0b ud2a <------ cross-check matches 'Code: 0f 0b'
   108b4: eb fe jmp 108b4 <rpcb_getport_async+0x274>
   108b6: 8b 85 b8 00 00 00 mov 0xb8(%rbp),%eax
   108bc: 0f b7 b7 48 01 00 00 movzwl 0x148(%rdi),%esi
   108c3: 48 c7 c2 00 00 00 00 mov $0x0,%rdx
   108ca: 44 8b 4b 44 mov 0x44(%rbx),%r9d
   108ce: 44 8b 43 40 mov 0x40(%rbx),%r8d
   108d2: 48 c7 c7 00 00 00 00 mov $0x0,%rdi
   108d9: 48 8b 4b 50 mov 0x50(%rbx),%rcx
   108dd: 89 04 24 mov %eax,(%rsp)
   108e0: 31 c0 xor %eax,%eax