LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Mapping address to line - Linux

Posted 08-31-2011 at 12:20 AM by hi2arun
Tags debug, kernel, panic

Well.. when you write your own kernel module, in the devel stage, chances for bringin down the kernel (panic.. ah sick) are huge.
Oops (pet name for kernel panic) mostly spits lots of martian traces that include stack addresses, registers and its value, EIP, etc.

To know the culprit line that caused panic, decode the address to line as follows:
EIP wud luk like...
Code:
EIP: [] ip_check+0x45a/0x21a [ip_tables] SS:ESP 0049:c098281a
Look at the selection...
Member
Posted in Uncategorized
Views 2239 Comments 0 hi2arun is offline

  



All times are GMT -5. The time now is 10:46 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration