LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 06-18-2011, 12:55 PM   #1
rrlangly
Member
 
Registered: Dec 2009
Posts: 47

Rep: Reputation: 0
identify oops


Here are a few very similar OOPS msgs I get when my networking module crashes (I'm developing). My problem is this stack trace isn't from within my kernel module so it's giving me a really big headache. I can't seem to find a good way to identify what's going on. These are outputs from a guest OS using KVM.

Can anyone offer suggests as to how to track this down or where it's coming from? Any ideas much appreciated.

Code:
[   80.945614] BUG: unable to handle kernel paging request at ffffffff8141a744
[   80.946046] IP: [<ffffffff812cfdfb>] do_virtblk_request+0x73/0x27c
[   80.946046] PGD 1a0b067 PUD 1a0f063 PMD 14001e1
[   80.946046] Oops: 0003 [#1] SMP
[   80.946046] last sysfs file: /sys/devices/virtio-pci/virtio1/block/vda/dev
[   80.946046] CPU 0
[   80.946046] Modules linked in: mod1 mod2
[   80.946046]
[   80.946046] Pid: 1271, comm: flush-253:0 Not tainted 2.6.36-gentoo-r5 #8 /Bochs
[   80.946046] RIP: 0010:[<ffffffff812cfdfb>]  [<ffffffff812cfdfb>] do_virtblk_request+0x73/0x27c
[   80.946046] RSP: 0018:ffff88001e941750  EFLAGS: 00010082
[   80.946046] RAX: ffffffff8141a734 RBX: ffffffff8141a734 RCX: 0000000000000040
[   80.946046] RDX: 0000000000000040 RSI: ffffffff8141a734 RDI: ffffffff810d5be2
[   80.946046] RBP: ffff88001e9417c0 R08: 0000000000011220 R09: ffff88001e941740
[   80.946046] R10: ffff88001f2d2b88 R11: ffff88001f2700c0 R12: ffff88001fa52000
[   80.946046] R13: ffff88001f2d2b88 R14: 0000000000000002 R15: ffff88001f2ae618
[   80.946046] FS:  0000000000000000(0000) GS:ffff880001e00000(0000) knlGS:0000000000000000
[   80.946046] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[   80.946046] CR2: ffffffff8141a744 CR3: 000000001edea000 CR4: 00000000000006f0
[   80.946046] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   80.946046] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[   80.946046] Process flush-253:0 (pid: 1271, threadinfo ffff88001e940000, task ffff88001edf2530)
[   80.946046] Stack:
[   80.946046]  0000000000000000 0000000000000001 0000000000000001 ffff88001fa52020
[   80.946046] <0> ffff88001fa52060 ffff88001fa52040 000000011e9417b0 0000000000000001
[   80.946046] <0> ffff88001f2ae618 ffff88001f2ae618 ffff88001f2ae618 ffff88001f2d2e18
[   80.946046] Call Trace:
[   80.946046]  [<ffffffff811d85fa>] __generic_unplug_device+0x32/0x37
[   80.946046]  [<ffffffff811d30f5>] elv_insert+0x1d6/0x1df
[   80.946046]  [<ffffffff811d3196>] __elv_add_request+0x98/0x9f
[   80.946046]  [<ffffffff811d8d01>] __make_request+0x3c2/0x44b
[   80.946046]  [<ffffffff811d7400>] generic_make_request+0x287/0x2f7
[   80.946046]  [<ffffffff811d7400>] ? generic_make_request+0x287/0x2f7
[   80.946046]  [<ffffffff811f593d>] ? __percpu_counter_add+0x47/0x63
[   80.946046]  [<ffffffff811d7537>] submit_bio+0xc7/0xd0
[   80.946046]  [<ffffffff8112e081>] submit_bh+0xe6/0x108
[   80.946046]  [<ffffffff81130663>] __block_write_full_page+0x1d8/0x2b7
[   80.946046]  [<ffffffff8112f45b>] ? end_buffer_async_write+0x0/0x112
[   80.946046]  [<ffffffff8112f45b>] ? end_buffer_async_write+0x0/0x112
[   80.946046]  [<ffffffff811307c6>] block_write_full_page_endio+0x84/0x90
[   80.946046]  [<ffffffff811307e2>] block_write_full_page+0x10/0x12
[   80.946046]  [<ffffffff81167bbb>] ext3_writeback_writepage+0xad/0x123
[   80.946046]  [<ffffffff810da749>] __writepage+0x12/0x2b
[   80.946046]  [<ffffffff810db9cb>] write_cache_pages+0x25d/0x38a
[   80.946046]  [<ffffffff810da737>] ? __writepage+0x0/0x2b
[   80.946046]  [<ffffffff810dbb17>] generic_writepages+0x1f/0x21
[   80.946046]  [<ffffffff810dbb3c>] do_writepages+0x23/0x25
[   80.946046]  [<ffffffff81128934>] writeback_single_inode+0x9b/0x1fd
[   80.946046]  [<ffffffff81128dbf>] writeback_sb_inodes+0xae/0x120
[   80.946046]  [<ffffffff811294a2>] writeback_inodes_wb+0x111/0x123
[   80.946046]  [<ffffffff811296a0>] wb_writeback+0x1ec/0x313
[   80.946046]  [<ffffffff81074185>] ? try_to_del_timer_sync+0x76/0x84
[   80.946046]  [<ffffffff81129933>] wb_do_writeback+0x16c/0x18a
[   80.946046]  [<ffffffff81129a15>] bdi_writeback_thread+0xc4/0x1fd
[   80.946046]  [<ffffffff81129951>] ? bdi_writeback_thread+0x0/0x1fd
[   80.946046]  [<ffffffff81129951>] ? bdi_writeback_thread+0x0/0x1fd
[   80.946046]  [<ffffffff81080e60>] kthread+0x7d/0x85
[   80.946046]  [<ffffffff8102c864>] kernel_thread_helper+0x4/0x10
[   80.946046]  [<ffffffff81080de3>] ? kthread+0x0/0x85
[   80.946046]  [<ffffffff8102c860>] ? kernel_thread_helper+0x0/0x10
[   80.946046] Code: 00 00 83 c0 02 41 3b 44 24 38 76 04 0f 0b eb fe 49 8b 7c 24 30 be 20 00 00 00 e8 ef 5e e0 ff 48 89 c3 48 85 c0 0f 84 cc 01 00 00 <4c> 89 68 10 41 f6 45 43 04 74 09 c7 40 18 04 00 00 00 eb 36 41
[   80.946046] RIP  [<ffffffff812cfdfb>] do_virtblk_request+0x73/0x27c
[   80.946046]  RSP <ffff88001e941750>
[   80.946046] CR2: ffffffff8141a744
[   80.946046] ---[ end trace 374c5ac65f1b6e14 ]---
Another similiar OOPS ...

Code:
[  331.384306] BUG: unable to handle kernel paging request at 000000001ec0f398
[  331.385053] IP: [<ffffffff81106e32>] __kmalloc+0xd3/0x138
[  331.385053] PGD 1f0f7067 PUD 1f0f8067 PMD 0
[  331.385053] Oops: 0000 [#1] SMP
[  331.385053] last sysfs file: /sys/devices/virtio-pci/virtio1/block/vda/dev
[  331.385053] CPU 0
[  331.385053] Modules linked in: mod1 mod2
[  331.385053]
[  331.385053] Pid: 1267, comm: flush-253:0 Not tainted 2.6.36-gentoo-r5 #8 /Bochs
[  331.385053] RIP: 0010:[<ffffffff81106e32>]  [<ffffffff81106e32>] __kmalloc+0xd3/0x138
[  331.385053] RSP: 0018:ffff88001f08b690  EFLAGS: 00010002
[  331.385053] RAX: 0000000000000000 RBX: 000000001ec0f398 RCX: ffffffff81273866
[  331.385053] RDX: 0000000000000003 RSI: 0000000000000020 RDI: 0000000000000006
[  331.385053] RBP: ffff88001f08b6d0 R08: ffff880001e10390 R09: 0000000000000020
[  331.385053] R10: 0000160000000000 R11: 0000000000000000 R12: ffffffff81a04290
[  331.385053] R13: 0000000000000030 R14: 0000000000000020 R15: 0000000000000020
[  331.385053] FS:  0000000000000000(0000) GS:ffff880001e00000(0000) knlGS:0000000000000000
[  331.385053] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[  331.385053] CR2: 000000001ec0f398 CR3: 000000001fa85000 CR4: 00000000000006f0
[  331.385053] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  331.385053] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[  331.385053] Process flush-253:0 (pid: 1267, threadinfo ffff88001f08a000, task ffff88001e8e8000)
[  331.385053] Stack:
[  331.385053]  ffff88001f08b6f8 0000000000000046 ffff88001f08b6b0 ffff88001fafe800
[  331.385053] <0> 0000000000000002 ffff88001f962040 0000000000000001 ffff88001ec0f3c0
[  331.385053] <0> ffff88001f08b740 ffffffff81273866 ffff88001f2a6618 ffff88001f2a6618
[  331.385053] Call Trace:
[  331.385053]  [<ffffffff81273866>] virtqueue_add_buf_gfp+0x5b/0x356
[  331.385053]  [<ffffffff811d7941>] ? blk_peek_request+0x41/0x1a7
[  331.385053]  [<ffffffff812cff8f>] do_virtblk_request+0x207/0x27c
[  331.385053]  [<ffffffff811d85fa>] __generic_unplug_device+0x32/0x37
[  331.385053]  [<ffffffff811d30f5>] elv_insert+0x1d6/0x1df
[  331.385053]  [<ffffffff811d3196>] __elv_add_request+0x98/0x9f
[  331.385053]  [<ffffffff811d8d01>] __make_request+0x3c2/0x44b
[  331.385053]  [<ffffffff811d7400>] generic_make_request+0x287/0x2f7
[  331.385053]  [<ffffffff811d7400>] ? generic_make_request+0x287/0x2f7
[  331.385053]  [<ffffffff811d7537>] submit_bio+0xc7/0xd0
[  331.385053]  [<ffffffff8112e081>] submit_bh+0xe6/0x108
[  331.385053]  [<ffffffff81130663>] __block_write_full_page+0x1d8/0x2b7
[  331.385053]  [<ffffffff8112f45b>] ? end_buffer_async_write+0x0/0x112
[  331.385053]  [<ffffffff8112f45b>] ? end_buffer_async_write+0x0/0x112
[  331.385053]  [<ffffffff811307c6>] block_write_full_page_endio+0x84/0x90
[  331.385053]  [<ffffffff811307e2>] block_write_full_page+0x10/0x12
[  331.385053]  [<ffffffff81167bbb>] ext3_writeback_writepage+0xad/0x123
[  331.385053]  [<ffffffff810da749>] __writepage+0x12/0x2b
[  331.385053]  [<ffffffff810db9cb>] write_cache_pages+0x25d/0x38a
[  331.385053]  [<ffffffff810da737>] ? __writepage+0x0/0x2b
[  331.385053]  [<ffffffff810dbb17>] generic_writepages+0x1f/0x21
[  331.385053]  [<ffffffff810dbb3c>] do_writepages+0x23/0x25
[  331.385053]  [<ffffffff81128934>] writeback_single_inode+0x9b/0x1fd
[  331.385053]  [<ffffffff81128dbf>] writeback_sb_inodes+0xae/0x120
[  331.385053]  [<ffffffff811294a2>] writeback_inodes_wb+0x111/0x123
[  331.385053]  [<ffffffff811296a0>] wb_writeback+0x1ec/0x313
[  331.385053]  [<ffffffff81074185>] ? try_to_del_timer_sync+0x76/0x84
[  331.385053]  [<ffffffff81129933>] wb_do_writeback+0x16c/0x18a
[  331.385053]  [<ffffffff81129a15>] bdi_writeback_thread+0xc4/0x1fd
[  331.385053]  [<ffffffff81129951>] ? bdi_writeback_thread+0x0/0x1fd
[  331.385053]  [<ffffffff81129951>] ? bdi_writeback_thread+0x0/0x1fd
[  331.385053]  [<ffffffff81080e60>] kthread+0x7d/0x85
[  331.385053]  [<ffffffff8102c864>] kernel_thread_helper+0x4/0x10
[  331.385053]  [<ffffffff81080de3>] ? kthread+0x0/0x85
[  331.385053]  [<ffffffff8102c860>] ? kernel_thread_helper+0x0/0x10
[  331.385053] Code: 44 00 00 48 89 45 c8 fa 66 0f 1f 44 00 00 65 4c 8b 04 25 a0 d5 00 00 49 8b 04 24 49 01 c0 49 8b 18 48 85 db 74 0e 49 63 44 24 18 <48> 8b 04 03 49 89 00 eb 11 83 ca ff 44 89 fe 4c 89 e7 e8 ac f0
[  331.385053] RIP  [<ffffffff81106e32>] __kmalloc+0xd3/0x138
[  331.385053]  RSP <ffff88001f08b690>
[  331.385053] CR2: 000000001ec0f398
[  331.385053] ---[ end trace c03bf8afe807b25a ]---

Last edited by rrlangly; 06-18-2011 at 04:44 PM.
 
Old 06-20-2011, 07:48 AM   #2
vdx
Member
 
Registered: Aug 2007
Location: The Greate INDIA
Distribution: CentOS, RHEL, Fedora
Posts: 102

Rep: Reputation: 24
Talking

u r using x86_64 cpu.

in ur first dump
Quote:
[ 80.946046] Oops: 0003 [#1] SMP
0003 => 0011 whic means below,

(0) no instruction fetch
(0) kernel mode
(1) Write
(1) invalid access

in ur sec dump
Quote:
[ 331.385053] Oops: 0000 [#1] SMP
0000 => 0000 whic means below,

(0) no instruction fetch
(0) kernel mode
(1) read or execute
(1) no page found

Which kernel r u using ?
r u having crash utility installed ?

if not plz install following utilities.

crash
kexec-tools

please make sure u do have uncompressed image of running kernel(the vmlinux).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to read "identify" button press event, or state of "identify" blue led with IPMI? iav Linux - Server 0 01-27-2009 01:13 PM
Oops!!! bigoli MEPIS 1 06-12-2005 04:36 PM
Oops q64 Linux - Newbie 6 03-24-2004 08:35 PM
oops! nerdboy Linux - Networking 1 09-13-2002 03:29 AM
oops!!!! help_me Linux - Newbie 12 07-12-2001 10:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 02:27 AM.

Main Menu
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