Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Finding line number from Kernel oops PC

If I got a kernel oops, what is 0xac/0x2b8 below means? Also, how can I get the line number in the file where the function is? This is linux on ARM arch.

PC is at get_next_timer_interrupt+0xac/0x2b8

like image 239
user1804788 Avatar asked Sep 19 '26 11:09

user1804788


1 Answers

The kernel might need various debug options to be enabled, but 'addr2line' should give you file name and line number for an address. http://elinux.org/Addr2line_for_kernel_debugging

like image 85
skorgon Avatar answered Sep 21 '26 05:09

skorgon



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!