15
Oct

Human Readable Kernel Oops Messages

You can configure the kernel with the “CONFIG_KALLSYMS” option for more useful output when a kernel oops is encountered. The description is “Load all symbols for debugging/ksymoops”. You can find more information about the option here: http://cateee.net/lkddb/web-lkddb/KALLSYMS.html. Below, you’ll find “before and after” results:

Before

[    1.120000] Backtrace: 
[    1.120000] Function entered at [<c0026a68>] from [<c0026b60>]
[    1.120000] Function entered at [<c0026afc>] from [<c00afdcc>]
[    1.120000]  r6:00000004 r5:00000004 r4:00000000
[    1.120000] Function entered at [<c00af964>] from [<c00b0110>]
[    1.120000] Function entered at [<c00b0058>] from [<c00de8f0>]
[    1.120000] Function entered at [<c00de8d0>] from [<c006ad9c>]
[    1.120000] Function entered at [<c006ac5c>] from [<c006ae7c>]
[    1.120000] Function entered at [<c006ae4c>] from [<c0064de0>]
[    1.120000] Function entered at [<c0064c1c>] from [<c00755e4>]
[    1.120000] Function entered at [<c0075590>] from [<c0076fa4>]
[    1.120000] Function entered at [<c0076d4c>] from [<c002617c>]
[    1.120000] Function entered at [<c00260a4>] from [<c002028c>]
[    1.120000] Function entered at [<c002024c>] from [<c0020d44>]

After

[    1.110000] Backtrace: 
[    1.110000] [<c0026a80>] (__flush_dcache_page+0x0/0x34) from [<c0026bc0>] (flush_dcache_page+0x64/0x138)
[    1.110000] [<c0026b5c>] (flush_dcache_page+0x0/0x138) from [<c00b17a8>] (do_mpage_readpage+0x468/0x684)
[    1.110000]  r6:00000004 r5:00000004 r4:00000000
[    1.110000] [<c00b1340>] (do_mpage_readpage+0x0/0x684) from [<c00b1aec>] (mpage_readpages+0xb8/0x10c)
[    1.110000] [<c00b1a34>] (mpage_readpages+0x0/0x10c) from [<c00e035c>] (ext2_readpages+0x20/0x28)
[    1.110000] [<c00e033c>] (ext2_readpages+0x0/0x28) from [<c006c734>] (__do_page_cache_readahead+0x140/0x1f0)
[    1.110000] [<c006c5f4>] (__do_page_cache_readahead+0x0/0x1f0) from [<c006c814>] (ra_submit+0x30/0x34)
[    1.110000] [<c006c7e4>] (ra_submit+0x0/0x34) from [<c0066778>] (filemap_fault+0x1c4/0x3a4)
[    1.110000] [<c00665b4>] (filemap_fault+0x0/0x3a4) from [<c0076f7c>] (__do_fault+0x54/0x3d0)
[    1.110000] [<c0076f28>] (__do_fault+0x0/0x3d0) from [<c0078978>] (handle_mm_fault+0x258/0x364)
[    1.110000] [<c0078720>] (handle_mm_fault+0x0/0x364) from [<c00261dc>] (do_page_fault+0xd8/0x1c0)
[    1.110000] [<c0026104>] (do_page_fault+0x0/0x1c0) from [<c002028c>] (do_DataAbort+0x40/0xa4)
[    1.110000] [<c002024c>] (do_DataAbort+0x0/0xa4) from [<c0020d44>] (ret_from_exception+0x0/0x10)

Feel free to donate if this post prevented any headaches! Another way to show your appreciation is to take a gander at these relative ads that you may be interested in:


There's 0 Comment So Far

Share your thoughts, leave a comment!