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 - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-16-2013, 10:16 AM   #1
sayeedamir72
LQ Newbie
 
Registered: Jul 2013
Posts: 1

Rep: Reputation: Disabled
Kernel crash - Network Driver crashing possibly?


I implemented an echo server(in c++) that mainly forks and execs multiple iperf commands(linux) and I am getting a kernel crash. I'm pretty new to kernel programming and don't really know how to read the kernel crash log and was hoping someone would help me. The linux box crashes so randomly that it is hard to pinpoint where it is crashing. Most of the time it works for about 2 hours(about 20-30 iperf commands) then the kernel freezes and crashes and needs a reboot. I caught the crash once and it seemed to crash in the middle of an iperf command.

Here is the version of linux I am running.

Quote:
Linux 5NetSim08 2.6.35-22-generic #35-Ubuntu SMP Sat Oct 16 20:36:48 UTC 2010 i686 GNU/Linux
And here is the crash log
Quote:
[ 1883.081940] BUG: unable to handle kernel NULL pointer dereference at 000002c0
[ 1883.089141] IP: [<c153d24f>] __udp4_lib_rcv+0x16f/0x680
[ 1883.089141] *pdpt = 0000000000000000 *pde = f000eef3f000eef3
[ 1883.089141] Oops: 0000 [#1] SMP
[ 1883.089141] Modules linked in: coretemp gpio_ich snd_hda_codec_realtek microcode parport_pc rfcomm bnep ppdev bluetooth snd_hda_intel psmouse snd_hda_codec snd_hwdep nfsd nfs binfmt_misc serio_raw lockd fscache auth_rpcgss nfs_acl snd_pcm sunrpc i915 lpc_ich drm_kms_helper snd_seq_midi snd_rawmidi snd_seq_midi_event drm i2c_algo_bit snd_seq snd_timer snd_seq_device mac_hid snd soundcore video snd_page_alloc lp parport r8169
[ 1883.089141]
[ 1883.089141] Pid: 0, comm: swapper/0 Not tainted 3.5.0-25-generic #39~precise1-Ubuntu /i945GSEx-QS R2.00 May.24.2010
[ 1883.089141] EIP: 0060:[<c153d24f>] EFLAGS: 00010282 CPU: 0
[ 1883.089141] EIP is at __udp4_lib_rcv+0x16f/0x680
[ 1883.089141] EAX: 00000000 EBX: f68609c0 ECX: f1367d80 EDX: f2ad344e
[ 1883.089141] ESI: f2ad3462 EDI: 00000011 EBP: f4c0be08 ESP: f4c0bdb4
[ 1883.089141] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 1883.089141] CR0: 8005003b CR2: 000002c0 CR3: 019a1000 CR4: 000007e0
[ 1883.089141] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 1883.089141] DR6: ffff0ff0 DR7: 00000400
[ 1883.089141] Process swapper/0 (pid: 0, ti=f4c0a000 task=c1869240 task.ti=c185c000)
[ 1883.089141] Stack:
[ 1883.089141] 00004e3c f6860c00 000069c0 00000440 01000000 f68609c0 00004b28 c154f851
[ 1883.089141] f596ac00 f6860c00 00004e28 0b09a8c0 c18d8c88 f1368b17 000042c3 c18c5b00
[ 1883.089141] 0b09a8c0 0b0aa8c0 f68609c0 c165c59c 00000011 f4c0be10 c153d777 f4c0be34
[ 1883.089141] Call Trace:
[ 1883.089141] [<c154f851>] ? inet_frag_destroy+0xc1/0x100
[ 1883.089141] [<c153d777>] udp_rcv+0x17/0x20
[ 1883.089141] [<c15148a7>] ip_local_deliver_finish+0xa7/0x290
[ 1883.089141] [<c1514bdf>] ip_local_deliver+0x3f/0x80
[ 1883.089141] [<c1514567>] ip_rcv_finish+0xf7/0x390
[ 1883.089141] [<c1514e41>] ip_rcv+0x221/0x320
[ 1883.089141] [<c1143567>] ? kmem_cache_alloc+0x77/0x140
[ 1883.089141] [<c14e91d7>] __netif_receive_skb+0x437/0x4c0
[ 1883.089141] [<c14e927f>] netif_receive_skb+0x1f/0x80
[ 1883.089141] [<c14e965b>] ? dev_gro_receive+0x16b/0x240
[ 1883.089141] [<c14e941f>] napi_skb_finish+0x4f/0x70
[ 1883.089141] [<c14ea299>] napi_gro_receive+0xe9/0x110
[ 1883.089141] [<f8438c6c>] rtl_rx+0x9c/0x300 [r8169]
[ 1883.089141] [<f843bc56>] rtl8169_poll+0xc6/0xd0 [r8169]
[ 1883.089141] [<c14e99fd>] net_rx_action+0x10d/0x1e0
[ 1883.089141] [<c104e190>] ? local_bh_enable_ip+0x90/0x90
[ 1883.089141] [<c104e211>] __do_softirq+0x81/0x1a0
[ 1883.089141] [<c104e190>] ? local_bh_enable_ip+0x90/0x90
[ 1883.089141] <IRQ>
[ 1883.089141] [<c104e566>] ? irq_exit+0x76/0xa0
[ 1883.089141] [<c15eb01b>] ? do_IRQ+0x4b/0xc0
[ 1883.089141] [<c109953a>] ? tick_notify+0x11a/0x1d0
[ 1883.089141] [<c15eae70>] ? common_interrupt+0x30/0x38
[ 1883.089141] [<c104007b>] ? post_kmmio_handler+0x4b/0xc0
[ 1883.089141] [<c132eaf2>] ? intel_idle+0xc2/0x120
[ 1883.089141] [<c14a8435>] ? cpuidle_enter+0x15/0x20
[ 1883.089141] [<c14a89cc>] ? cpuidle_idle_call+0x9c/0x260
[ 1883.089141] [<c10195fa>] ? cpu_idle+0xaa/0xe0
[ 1883.089141] [<c15afe65>] ? rest_init+0x5d/0x68
[ 1883.089141] [<c18daa1f>] ? start_kernel+0x375/0x37b
[ 1883.089141] [<c18da62b>] ? pass_bootoption.constprop.3+0xaf/0xaf
[ 1883.089141] [<c18da303>] ? i386_start_kernel+0xa6/0xad
[ 1883.089141] Code: 0f b7 4e 02 0f b7 06 66 89 4d e0 8b 4b 10 85 c9 0f 85 93 04 00 00 8b 4b 48 0f b7 c0 89 45 e4 8b 42 0c 83 e1 fe 89 45 d8 8b 41 0c <8b> 80 c0 02 00 00 89 45 d0 8b 45 dc 89 44 24 0c 8b 41 70 8b 4d
[ 1883.089141] EIP: [<c153d24f>] __udp4_lib_rcv+0x16f/0x680 SS:ESP 0068:f4c0bdb4
[ 1883.089141] CR2: 00000000000002c0
[ 1883.561261] ---[ end trace a7bdb48fae24ea76 ]---
[ 1883.565953] Kernel panic - not syncing: Fatal exception in interrupt
[ 1883.581374] panic occurred, switching back to text console
Any help diagnosing the problem would be greatly appreciated. Thank you
 
  


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
Xorg ATI Radeon Driver Crashing Slackware Current 3.8.8 Kernel SlackStephen Slackware 2 05-04-2013 12:51 AM
FreeBSD NDIS driver crashing kernel tekhead2 *BSD 0 07-27-2011 09:45 AM
[SOLVED] Netlink sockets in kernel and ethernet driver. Kernel crash. Squier Programming 2 05-08-2011 12:57 PM
Printer without driver then kernel crash lipkee Linux - Software 0 07-20-2010 01:39 AM
atmel driver crash on 2.4.20-8 kernel, solution? taoweijia Linux - Wireless Networking 0 02-19-2004 08:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:55 PM.

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