[RTnet-users] rt_e1000e: Reset adapter
Brought to you by:
bet-frogger,
kiszka
From: Neil T. D. <nt...@ga...> - 2013-10-22 03:50:15
|
I am trying to run RTNet using an Intel 82574L with the rt_e1000e driver. When, I start RTNet, I get the following messages posted to syslog (and my console) several times a second: ... [11965.171075] rt_e1000e: Reset adapter [11965.302808] rt_e1000e: Reset adapter [11965.434541] rt_e1000e: Reset adapter [11965.566274] rt_e1000e: Reset adapter ... Stopping RTNet usually worked (and stopped the messages). However, I also got the following oops: [12786.769498] rt_e1000e: Reset adapter [12786.896987] BUG: unable to handle kernel NULL pointer dereference at 0000000000000008 [12786.920486] IP: [<ffffffffa04beba3>] e1000_alloc_rx_buffers+0x42/0x164 [rt_e1000e] [12786.943167] PGD 223419067 PUD 22550f067 PMD 0 [12786.956581] Oops: 0000 [#1] PREEMPT SMP [12786.968389] CPU 0 [12786.973891] Modules linked in: rtcfg(O-) rt_loopback(O) rtpacket(O) rttcp(O) rtudp(O) rt_e1000e(O) rtipv4(O) rtnet(O) cts binfmt_misc deflate zlib_deflate ctr twofish_generic twofish_x86_64_3way twofish_x86_6] [12787.245318] [12787.249784] Pid: 5583, comm: kworker/0:1 Tainted: G W O 3.2.21-gt-xenomai+ #16 Supermicro X9SCI/X9SCA/X9SCI/X9SCA [12787.282634] RIP: 0010:[<ffffffffa04beba3>] [<ffffffffa04beba3>] e1000_alloc_rx_buffers+0x42/0x164 [rt_e1000e] [12787.312580] RSP: 0018:ffff880226263d60 EFLAGS: 00010206 [12787.328461] RAX: 00000000000005f2 RBX: ffff880225cf81e0 RCX: ffffffffa04beb61 [12787.349791] RDX: 00000000000000d0 RSI: 000000000000003f RDI: ffff880225cf81e0 [12787.371122] RBP: 0000000000000000 R08: ffff880226260000 R09: 0000000000000000 [12787.392451] R10: ffff88022fc0d380 R11: ffff88022fc23d80 R12: 000000000000003f [12787.413781] R13: ffff8802245463c0 R14: ffff880225cf8690 R15: 0000000000000000 [12787.435111] FS: 0000000000000000(0000) GS:ffff88022fc00000(0000) knlGS:0000000000000000 [12787.459269] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [12787.476422] CR2: 0000000000000008 CR3: 0000000225bd0000 CR4: 00000000001006f0 [12787.497727] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [12787.519057] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [12787.540389] Process kworker/0:1 (pid: 5583, threadinfo ffff880226260000, task ffff880225798040) [12787.566388] Stack: [12787.572382] ffff880225cf81e0 000005f200989680 0000000000000001 ffff880225cf81e0 [12787.594620] ffff880225cf8528 ffff880225512dc0 ffff88022fc27700 ffff880225cf81e0 [12787.616809] 0000000000000000 ffffffffa04c117f ffff880225cf81e0 ffffffffa04c18f6 [12787.639072] Call Trace: [12787.646368] [<ffffffffa04c117f>] ? e1000e_up+0x9/0x5e [rt_e1000e] [12787.664843] [<ffffffffa04c18f6>] ? e1000e_reinit_locked+0x3e/0x47 [rt_e1000e] [12787.686433] [<ffffffffa04c1fac>] ? e1000_reset_task+0x6ad/0x6d1 [rt_e1000e] [12787.707501] [<ffffffff81304ef6>] ? sub_preempt_count+0x72/0x98 [12787.725199] [<ffffffff8104cb77>] ? queue_work+0x31/0x50 [12787.741079] [<ffffffff8102eaa3>] ? get_parent_ip+0x9/0x1b [12787.757479] [<ffffffffa04c18ff>] ? e1000e_reinit_locked+0x47/0x47 [rt_e1000e] [12787.779070] [<ffffffff8104c440>] ? process_one_work+0x149/0x2a9 [12787.797026] [<ffffffff8104d231>] ? worker_thread+0xc4/0x164 [12787.813945] [<ffffffff8104d16d>] ? manage_workers.isra.22+0x160/0x160 [12787.833459] [<ffffffff8105050c>] ? kthread+0x76/0x7e [12787.848563] [<ffffffff8130a3a4>] ? kernel_thread_helper+0x4/0x10 [12787.866777] [<ffffffff81050496>] ? flush_kthread_worker+0x8b/0x8b [12787.885253] [<ffffffff8130a3a0>] ? gs_change+0xb/0xb [12787.900354] Code: 48 83 ec 18 4c 8b af 50 04 00 00 8b 87 3c 03 00 00 45 0f b7 7d 18 89 44 24 0c 41 0f b7 ef 4d 6b ff 28 4d 03 7d 20 e9 05 01 00 00 <49> 8b 47 08 48 85 c0 74 17 83 78 78 00 74 3c 48 8b 50 60 c7 [12787.959026] RIP [<ffffffffa04beba3>] e1000_alloc_rx_buffers+0x42/0x164 [rt_e1000e] [12787.981965] RSP <ffff880226263d60> [12787.992372] CR2: 0000000000000008 [12788.002723] ---[ end trace 0755e2b8c754bace ]--- [12788.016519] BUG: unable to handle kernel paging request at fffffffffffffff8 [12788.037394] IP: [<ffffffff81050696>] kthread_data+0x7/0xc [12788.053585] PGD 1609067 PUD 160a067 PMD 0 [12788.065988] Oops: 0000 [#2] PREEMPT SMP [12788.077796] CPU 0 [12788.083298] Modules linked in: rtcfg(O-) rt_loopback(O) rtpacket(O) rttcp(O) rtudp(O) rt_e1000e(O) rtipv4(O) rtnet(O) cts binfmt_misc deflate zlib_deflate ctr twofish_generic twofish_x86_64_3way twofish_x86_6] [12788.355037] [12788.359500] Pid: 5583, comm: kworker/0:1 Tainted: G D W O 3.2.21-gt-xenomai+ #16 Supermicro X9SCI/X9SCA/X9SCI/X9SCA [12788.392378] RIP: 0010:[<ffffffff81050696>] [<ffffffff81050696>] kthread_data+0x7/0xc [12788.415837] RSP: 0000:ffff8802262639d0 EFLAGS: 00010002 [12788.431718] RAX: 0000000000000000 RBX: ffff88022fc23d80 RCX: 0000000000000000 [12788.453048] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff880225798040 [12788.474377] RBP: 0000000000000000 R08: ffff88022ffac1e0 R09: 0000000000000400 [12788.495708] R10: ffff880225798040 R11: dead000000200200 R12: 0000000000000000 [12788.517040] R13: 0000000000000001 R14: ffff880225798338 R15: ffff880225798240 [12788.538367] FS: 0000000000000000(0000) GS:ffff88022fc00000(0000) knlGS:0000000000000000 [12788.562553] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [12788.579732] CR2: fffffffffffffff8 CR3: 0000000225bd0000 CR4: 00000000001006f0 [12788.601061] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [12788.622367] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [12788.643696] Process kworker/0:1 (pid: 5583, threadinfo ffff880226260000, task ffff880225798040) [12788.669696] Stack: [12788.675692] ffffffff8104d58e ffff88022fc23d80 ffff880225798554 0000000000000000 [12788.697982] ffffffff81300c90 ffff880225798040 ffff880225798040 0000000000023d80 [12788.720248] ffff880226263fd8 ffff880226263fd8 ffff880226263fd8 ffff880226263a28 [12788.742511] Call Trace: [12788.749830] [<ffffffff8104d58e>] ? wq_worker_sleeping+0xb/0x6a [12788.767528] [<ffffffff81300c90>] ? __schedule+0x17b/0x5a8 [12788.783928] [<ffffffff8103b11a>] ? do_exit+0x723/0x73f [12788.799548] [<ffffffff8130356c>] ? oops_end+0xab/0xb0 [12788.814910] [<ffffffff812fbf8a>] ? no_context+0x1eb/0x216 [12788.831310] [<ffffffff81304cb8>] ? do_page_fault+0x189/0x355 [12788.848489] [<ffffffff8102ff5d>] ? load_balance+0x8e/0x5ef [12788.865147] [<ffffffff81030660>] ? update_curr+0xb0/0xea [12788.881288] [<ffffffff81030660>] ? update_curr+0xb0/0xea [12788.897428] [<ffffffff81001654>] ? __switch_to+0x129/0x244 [12788.914090] [<ffffffff81028044>] ? mmdrop+0xd/0x1c [12788.928672] [<ffffffff81087ffd>] ? __ipipe_get_current_domain+0x5/0xd [12788.948185] [<ffffffff8102eaa3>] ? get_parent_ip+0x9/0x1b [12788.964586] [<ffffffff81016cfb>] ? __ipipe_handle_exception+0x14e/0x16c [12788.984618] [<ffffffff81304ef6>] ? sub_preempt_count+0x72/0x98 [12789.002316] [<ffffffff8130261a>] ? _raw_spin_unlock_irqrestore+0x2a/0x38 [12789.022608] [<ffffffff81302cf6>] ? page_fault+0x26/0x70 [12789.038492] [<ffffffffa04beb61>] ? dma_alloc_coherent.constprop.51+0x8e/0x8e [rt_e1000e] [12789.062935] [<ffffffffa04beba3>] ? e1000_alloc_rx_buffers+0x42/0x164 [rt_e1000e] [12789.085301] [<ffffffffa04c117f>] ? e1000e_up+0x9/0x5e [rt_e1000e] [12789.103778] [<ffffffffa04c18f6>] ? e1000e_reinit_locked+0x3e/0x47 [rt_e1000e] [12789.125367] [<ffffffffa04c1fac>] ? e1000_reset_task+0x6ad/0x6d1 [rt_e1000e] [12789.146437] [<ffffffff81304ef6>] ? sub_preempt_count+0x72/0x98 [12789.164135] [<ffffffff8104cb77>] ? queue_work+0x31/0x50 [12789.180014] [<ffffffff8102eaa3>] ? get_parent_ip+0x9/0x1b [12789.196416] [<ffffffffa04c18ff>] ? e1000e_reinit_locked+0x47/0x47 [rt_e1000e] [12789.218007] [<ffffffff8104c440>] ? process_one_work+0x149/0x2a9 [12789.235962] [<ffffffff8104d231>] ? worker_thread+0xc4/0x164 [12789.252881] [<ffffffff8104d16d>] ? manage_workers.isra.22+0x160/0x160 [12789.272396] [<ffffffff8105050c>] ? kthread+0x76/0x7e [12789.287498] [<ffffffff8130a3a4>] ? kernel_thread_helper+0x4/0x10 [12789.305714] [<ffffffff81050496>] ? flush_kthread_worker+0x8b/0x8b [12789.324190] [<ffffffff8130a3a0>] ? gs_change+0xb/0xb [12789.339291] Code: 65 48 8b 04 25 48 b6 00 00 ff 80 44 c0 ff ff 48 8b 1d 5f 36 62 00 48 85 db 75 a8 eb b8 41 5a 5b 89 e8 5d c3 48 8b 87 a0 02 00 00 <48> 8b 40 f8 c3 48 3b 3d 06 8a 72 00 75 08 0f bf 87 72 06 00 [12789.398041] RIP [<ffffffff81050696>] kthread_data+0x7/0xc [12789.414492] RSP <ffff8802262639d0> [12789.424925] CR2: fffffffffffffff8 [12789.434835] ---[ end trace 0755e2b8c754bacf ]--- [12789.448642] Fixing recursive fault but reboot is needed! This is with RTNet 0.9.13, Xenomai 2.6.2.1, Linux 3.2.21. Any suggestions to track down this issue? Cheers, -ntd |