/srv/irclogs.ubuntu.com/2014/11/11/#ubuntu-kernel.txt

=== [1]vncm is now known as vncm
=== broder__ is now known as broder_
=== Trevinho__ is now known as Trevinho_
=== [1]vncm is now known as vncm
sorenHi. I need a bit of help translating a kernel call trace entry to line of code in the source.08:55
apwsoren, got a reference to the trace ?09:14
sorenapw: Sorry, on a call now. Will get back to you in an hour and a half or so.09:22
sorenapw: http://imagebin.ca/v/1grE6VHtfuiG09:35
sorenapw: uname -a: Linux cp2-production 3.13.0-30-generic #55-Ubuntu SMP Fri Jul 4 21:40:53 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux09:35
sorenapw: ...which seems to be very unfortunate as that exact version doesn't seem to have a ddeb for amd64.09:35
infinitysoren: If only there were newer kernels you could be using. :)09:36
infinitysoren: By like 5 months...09:36
soreninfinity: Yeah :( Gah. Upgrading these things is a such a pain.09:36
infinityOr 4.  Whatever.09:37
sorenapw: Without the ddeb, I'm out of luck, aren't I?11:12
apwpretty much out of luck, you can prolly mostly build the ddeb again, and it will whine it is not the same, but if you make it from the tag, it ought to be right11:15
sorenapw: Yeah, that makes sense.11:24
apwi don't believe we had a new compiler in T whch helps11:26
sorenapw: Ok, I have the vmlinux now. I can pinpoint the line of code where it break.. Going further up the stack, I hit a module (compiled with dkms). How can I resolve that to a line of code?11:46
apwsoren, hmm, no idea, never wanted to do that, good old dkms11:48
sorenapw: What if it were a "regular" module?11:49
sorenapw: The memory location is dynamic, so how would e.g. addr2line know what to do with it?11:50
apwit is was regular you'd have the info in the ddeb you already have11:50
apwhmm, that info ought to be int he kernel unless we have hidden it for security11:51
sorenapw: Oh, I actually didn't use the ddeb. I just grabbed the vmlinux and used addr2line. What should I have been doing?11:51
sorenIt's been a while since I debugged kernel code like this :-/11:52
apwsoren, i don't think i tend to debug that way either, i'd be using objdump on the .ko and working it manually i suspect11:55
sorenapw: Fair enough. I'll keep digging. Thanks.11:59
=== [1]vncm is now known as vncm

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!