#366 82574L- This is e1000e driver Bug, please?

closed
nobody
None
in-kernel_driver
1
2015-02-27
2012-12-12
liu dalin
No

On my 32bit Linux 2.6.38.8+e1000e 2.0.0.1 , e1000e call __netdev_alloc_skb function causes kernel oops:
http://sourceforge.net/p/e1000/bugs/362/

Allan said, "This looks more like a bug in the slab allocator",I am running on Another computer(Linux systems 3.2.28+e1000e 2.1.14) , but there is also similar:

AnShion# [ 6400.452544] general protection fault: 0000 [#1] SMP
[ 6400.456241] CPU 2
[ 6400.456241] Modules linked in: ixgbe(O) igb(O) e1000e(O) r8168(O)
[ 6400.456241]
[ 6400.456241] Pid: 0, comm: swapper/2 Tainted: G O 3.2.28 #74 To Be F
illed By O.E.M. To Be Filled By O.E.M./To be filled by O.E.M.
[ 6400.456241] RIP: 0010:[<ffffffff810fce90>] [<ffffffff810fce90>] kmem_cache_a
lloc+0x40/0x110
[ 6400.456241] RSP: 0018:ffff88007f303c20 EFLAGS: 00010286
[ 6400.456241] RAX: 0000000000000000 RBX: ffff880002c58000 RCX: 4be350e100000000

[ 6400.456241] RDX: 4be350e0ffffffff RSI: 0000000000014a40 RDI: ffffffff815f9a31

[ 6400.456241] RBP: ffff88007f303c70 R08: ffffffffffffffff R09: 0000000000000000

[ 6400.456241] R10: ffff880002cb0600 R11: 0000000000000000 R12: 8354c740ffff8800

[ 6400.456241] R13: ffff88007c8026c0 R14: ffff88007c8026c0 R15: 0000000000000632

[ 6400.456241] FS: 0000000000000000(0000) GS:ffff88007f300000(0000) knlGS:00000
00000000000
[ 6400.456241] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 6400.456241] CR2: 00007f26c3171f16 CR3: 0000000002efc000 CR4: 00000000000006e0

[ 6400.456241] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000

[ 6400.456241] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400

[ 6400.456241] Process swapper/2 (pid: 0, threadinfo ffff88007c8cc000, task ffff
88007c8bda40)
[ 6400.456241] Stack:
[ 6400.456241] 0000000000000000 ffffffff81ca8680 ffff880002c58000 0000002081ca8
6c0
[ 6400.456241] ffff88007f303ca0 ffff880002c58000 0000000000000000 0000000000000
020
[ 6400.456241] ffff88007c8026c0 0000000000000632 ffff88007f303cb0 ffffffff815f9
a31
[ 6400.456241] Call Trace:
[ 6400.456241] <IRQ>
[ 6400.456241] [<ffffffff815f9a31>] alloc_skb+0x41/0x230
[ 6400.456241]
[<ffffffff815fa08f>]
netdev_alloc_skb+0x1f/0x40
[ 6400.456241] [<ffffffffa0041b0f>] e1000_alloc_rx_buffers+0x1cf/0x2d0 [e1000e]

[ 6400.456241] [<ffffffff81009270>] ? nommu_map_sg+0xe0/0xe0
[ 6400.456241] [<ffffffffa0040b67>] e1000_clean_rx_irq+0x2c7/0x3b0 [e1000e]
[ 6400.456241] [<ffffffffa0044af7>] e1000e_poll+0x77/0x400 [e1000e]
[ 6400.456241] [<ffffffff81606822>] net_rx_action+0x92/0x1e0
[ 6400.456241] [<ffffffff81049ff9>] do_softirq+0x99/0x210
[ 6400.456241]
[<ffffffff817855ec>] call_softirq+0x1c/0x26
[ 6400.456241]
[<ffffffff8100453d>] do_softirq+0x4d/0x80
[ 6400.456241]
[<ffffffff8104a3ce>] irq_exit+0x8e/0xb0
[ 6400.456241]
[<ffffffff8100411e>] do_IRQ+0x5e/0xd0
[ 6400.456241]
[<ffffffff8178306b>] common_interrupt+0x6b/0x6b
[ 6400.456241] <EOI>
[ 6400.456241]
[<ffffffff8100ae92>] ? mwait_idle+0xa2/0x200
[ 6400.456241]
[<ffffffff81001186>] cpu_idle+0xc6/0x110
[ 6400.456241]
[<ffffffff81770aa4>] start_secondary+0x1e7/0x1ee
[ 6400.456241] Code: 8b 7d 08 89 75 cc 49 8b 4d 00 65 48 03 0c 25 68 cb 00 00 48
8b 51 08 4c 8b 21 4d 85 e4 74 6d 49 63 45 20 49 8b 75 00 48 8d 4a 01 <49> 8b 1c
04 4c 89 e0 65 48 0f c7 0e 0f 94 c0 84 c0 74 c8 4d 85
[ 6400.456241] RIP
[<ffffffff810fce90>] kmem_cache_alloc+0x40/0x110
[ 6400.456241] RSP <ffff88007f303c20>
[ 6400.456241] general protection fault: 0000 [#2] SMP
[ 6400.456241] CPU 2
[ 6400.456241] Modules linked in: ixgbe(O) igb(O) e1000e(O) r8168(O)
[ 6400.456241]
[ 6400.456241] Pid: 0, comm: swapper/2 Tainted: G O 3.2.28 #74 To Be F
illed By O.E.M. To Be Filled By O.E.M./To be filled by O.E.M.
[ 6400.456241] RIP: 0010:[<ffffffff81778a6d>]
[<ffffffff81778a6d>]
slab_alloc
.constprop.69+0x47/0x1f7
[ 6400.456241] RSP: 0018:ffff88007f303718 EFLAGS: 00010046
[ 6400.456241] RAX: ffff88007c8023c8 RBX: 0000000000000000 RCX: ffff88007f314980

[ 6400.456241] RDX: ffffffff8130133c RSI: 1094af8800000000 RDI: ffff88007c8023c8

[ 6400.456241] RBP: ffff88007f3037a8 R08: 0000000000000000 R09: 0000000000000001

[ 6400.456241] R10: 0000000000000000 R11: 0000000000000000 R12: ffff88007f314980

[ 6400.456241] R13: ffff88007c8023c0 R14: 0000000000000096 R15: 0000000000000020

[ 6400.456241] FS: 0000000000000000(0000) GS:ffff88007f300000(0000) knlGS:00000
00000000000
[ 6400.456241] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 6400.456241] CR2: 00007f26c3171f16 CR3: 0000000002efc000 CR4: 00000000000006e0

[ 6400.456241] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000

[ 6400.456241] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400

[ 6400.456241] Process swapper/2 (pid: 0, threadinfo ffff88007c8cc000, task ffff
88007c8bda40)
[ 6400.456241] Stack:
[ 6400.456241] ffff88007f303768 ffff88007c80c000 ffffffff8130133c ffff88007c802
3c8
[ 6400.456241] ffff8800754df2c0 0000000000000000 ffff88007f303888 ffffffff81301
995
[ 6400.456241] ffff880000000000 ffff8800754d9b40 ffffffff834d07e0 ffff88007aff2
600
[ 6400.456241] Call Trace:
[ 6400.456241] <IRQ>
[ 6400.456241] [<ffffffff8130133c>] ? bit_cursor+0x2bc/0x640
[ 6400.456241] [<ffffffff81301995>] ? bit_putcs+0x2d5/0x560
[ 6400.456241] [<ffffffff810fd4a7>] kmalloc+0x1b7/0x1d0
[ 6400.456241]
[<ffffffff8130133c>] bit_cursor+0x2bc/0x640
[ 6400.456241]
[<ffffffff812f002f>] ? save_vga+0x83f/0xee0
[ 6400.456241]
[<ffffffff812fd1c2>] ? fbcon_putcs+0x132/0x170
[ 6400.456241]
[<ffffffff812fb74b>] ? get_color.isra.16+0x3b/0x150
[ 6400.456241]
[<ffffffff812fe472>] fbcon_cursor+0x142/0x1d0
[ 6400.456241]
[<ffffffff81301080>] ? update_attr.isra.3+0xa0/0xa0
[ 6400.456241]
[<ffffffff8137b005>] set_cursor+0x75/0xa0
[ 6400.456241]
[<ffffffff8137bbc2>] redraw_screen+0x212/0x280
[ 6400.456241]
[<ffffffff812fe70a>] fbcon_blank+0x20a/0x2c0
[ 6400.456241]
[<ffffffff810356f9>] ? get_nohz_timer_target+0x59/0xd0
[ 6400.456241]
[<ffffffff8105233a>] ? mod_timer+0x14a/0x2e0
[ 6400.456241]
[<ffffffff8137c7f5>] do_unblank_screen+0xa5/0x1c0
[ 6400.456241]
[<ffffffff8137c91b>] unblank_screen+0xb/0x10
[ 6400.456241]
[<ffffffff812c725d>] bust_spinlocks+0x1d/0x40
[ 6400.456241]
[<ffffffff81005a7b>] oops_end+0x3b/0xe0
[ 6400.456241]
[<ffffffff81005c63>] die+0x53/0x80
[ 6400.456241]
[<ffffffff81003282>] do_general_protection+0x152/0x160
[ 6400.456241]
[<ffffffff8167a648>] ? ip_output+0x98/0xa0
[ 6400.456241]
[<ffffffff8178323f>] general_protection+0x1f/0x30
[ 6400.456241]
[<ffffffff815f9a31>] ?
alloc_skb+0x41/0x230
[ 6400.456241] [<ffffffff810fce90>] ? kmem_cache_alloc+0x40/0x110
[ 6400.456241] [<ffffffff815f9a31>] alloc_skb+0x41/0x230
[ 6400.456241]
[<ffffffff815fa08f>]
netdev_alloc_skb+0x1f/0x40
[ 6400.456241] [<ffffffffa0041b0f>] e1000_alloc_rx_buffers+0x1cf/0x2d0 [e1000e]

[ 6400.456241] [<ffffffff81009270>] ? nommu_map_sg+0xe0/0xe0
[ 6400.456241] [<ffffffffa0040b67>] e1000_clean_rx_irq+0x2c7/0x3b0 [e1000e]
[ 6400.456241] [<ffffffffa0044af7>] e1000e_poll+0x77/0x400 [e1000e]
[ 6400.456241] [<ffffffff81606822>] net_rx_action+0x92/0x1e0
[ 6400.456241] [<ffffffff81049ff9>] do_softirq+0x99/0x210
[ 6400.456241]
[<ffffffff817855ec>] call_softirq+0x1c/0x26
[ 6400.456241]
[<ffffffff8100453d>] do_softirq+0x4d/0x80
[ 6400.456241]
[<ffffffff8104a3ce>] irq_exit+0x8e/0xb0
[ 6400.456241]
[<ffffffff8100411e>] do_IRQ+0x5e/0xd0
[ 6400.456241]
[<ffffffff8178306b>] common_interrupt+0x6b/0x6b
[ 6400.456241] <EOI>
[ 6400.456241]
[<ffffffff8100ae92>] ? mwait_idle+0xa2/0x200
[ 6400.456241]
[<ffffffff81001186>] cpu_idle+0xc6/0x110
[ 6400.456241]
[<ffffffff81770aa4>] start_secondary+0x1e7/0x1ee
[ 6400.456241] Code: 55 80 9c 41 5e fa 48 83 79 10 00 0f 84 82 00 00 00 49 8b 1c
24 48 85 db 75 60 49 8d 45 08 48 89 45 88 49 8b 74 24 10 48 8b 7d 88 <48> 8b 4e
18 48 8b 5e 10 48 89 4d a8 66 8b 46 1a 66 25 ff 7f 48
[ 6400.456241] RIP
[<ffffffff81778a6d>]
slab_alloc.constprop.69+0x47/0x1f7
[ 6400.456241] RSP <ffff88007f303718>
[ 6400.456241] ---[ end trace 9d2fcceecea78530 ]---
[ 6400.456241] Kernel panic - not syncing: Fatal exception in interrupt
[ 6400.456241] Pid: 0, comm: swapper/2 Tainted: G D O 3.2.28 #74
[ 6400.456241] Call Trace:
[ 6400.456241] <IRQ> [<ffffffff81775cf5>] panic+0x8c/0x192
[ 6400.456241] [<ffffffff81005b1a>] oops_end+0xda/0xe0
[ 6400.456241] [<ffffffff81005c63>] die+0x53/0x80
[ 6400.456241] [<ffffffff81003282>] do_general_protection+0x152/0x160
[ 6400.456241] [<ffffffff8178323f>] general_protection+0x1f/0x30
[ 6400.456241] [<ffffffff8130133c>] ? bit_cursor+0x2bc/0x640
[ 6400.456241] [<ffffffff81778a6d>] ? slab_alloc.constprop.69+0x47/0x1f7
[ 6400.456241]
[<ffffffff8130133c>] ? bit_cursor+0x2bc/0x640
[ 6400.456241]
[<ffffffff81301995>] ? bit_putcs+0x2d5/0x560
[ 6400.456241]
[<ffffffff810fd4a7>]
kmalloc+0x1b7/0x1d0
[ 6400.456241] [<ffffffff8130133c>] bit_cursor+0x2bc/0x640
[ 6400.456241] [<ffffffff812f002f>] ? save_vga+0x83f/0xee0
[ 6400.456241] [<ffffffff812fd1c2>] ? fbcon_putcs+0x132/0x170
[ 6400.456241] [<ffffffff812fb74b>] ? get_color.isra.16+0x3b/0x150
[ 6400.456241] [<ffffffff812fe472>] fbcon_cursor+0x142/0x1d0
[ 6400.456241] [<ffffffff81301080>] ? update_attr.isra.3+0xa0/0xa0
[ 6400.456241] [<ffffffff8137b005>] set_cursor+0x75/0xa0
[ 6400.456241] [<ffffffff8137bbc2>] redraw_screen+0x212/0x280
[ 6400.456241] [<ffffffff812fe70a>] fbcon_blank+0x20a/0x2c0
[ 6400.456241] [<ffffffff810356f9>] ? get_nohz_timer_target+0x59/0xd0
[ 6400.456241] [<ffffffff8105233a>] ? mod_timer+0x14a/0x2e0
[ 6400.456241] [<ffffffff8137c7f5>] do_unblank_screen+0xa5/0x1c0
[ 6400.456241] [<ffffffff8137c91b>] unblank_screen+0xb/0x10
[ 6400.456241] [<ffffffff812c725d>] bust_spinlocks+0x1d/0x40
[ 6400.456241] [<ffffffff81005a7b>] oops_end+0x3b/0xe0
[ 6400.456241] [<ffffffff81005c63>] die+0x53/0x80
[ 6400.456241] [<ffffffff81003282>] do_general_protection+0x152/0x160
[ 6400.456241] [<ffffffff8167a648>] ? ip_output+0x98/0xa0
[ 6400.456241] [<ffffffff8178323f>] general_protection+0x1f/0x30
[ 6400.456241] [<ffffffff815f9a31>] ? alloc_skb+0x41/0x230
[ 6400.456241]
[<ffffffff810fce90>] ? kmem_cache_alloc+0x40/0x110
[ 6400.456241]
[<ffffffff815f9a31>]
alloc_skb+0x41/0x230
[ 6400.456241] [<ffffffff815fa08f>] __netdev_alloc_skb+0x1f/0x40
[ 6400.456241] [<ffffffffa0041b0f>] e1000_alloc_rx_buffers+0x1cf/0x2d0 [e1000e]

[ 6400.456241] [<ffffffff81009270>] ? nommu_map_sg+0xe0/0xe0
[ 6400.456241] [<ffffffffa0040b67>] e1000_clean_rx_irq+0x2c7/0x3b0 [e1000e]
[ 6400.456241] [<ffffffffa0044af7>] e1000e_poll+0x77/0x400 [e1000e]
[ 6400.456241] [<ffffffff81606822>] net_rx_action+0x92/0x1e0
[ 6400.456241] [<ffffffff81049ff9>] __do_softirq+0x99/0x210
[ 6400.456241] [<ffffffff817855ec>] call_softirq+0x1c/0x26
[ 6400.456241] [<ffffffff8100453d>] do_softirq+0x4d/0x80
[ 6400.456241] [<ffffffff8104a3ce>] irq_exit+0x8e/0xb0
[ 6400.456241] [<ffffffff8100411e>] do_IRQ+0x5e/0xd0
[ 6400.456241] [<ffffffff8178306b>] common_interrupt+0x6b/0x6b
[ 6400.456241] <EOI> [<ffffffff8100ae92>] ? mwait_idle+0xa2/0x200
[ 6400.456241] [<ffffffff81001186>] cpu_idle+0xc6/0x110
[ 6400.456241] [<ffffffff81770aa4>] start_secondary+0x1e7/0x1ee
[ 6400.456241] Rebooting in 60 seconds..

Related

Bugs: #1
Bugs: #2

Discussion

  • Carolyn Wyborny

    Carolyn Wyborny - 2012-12-14

    Can you provide list of steps or conditions that cause this problem to occur? If its random, about how often does it happen? What are the conditions of the sytem when it happens, high CPU load, high traffic? Please provide an lspci -vvv of this system. How many systems do you see the problem on? Are they the same platform or different? What's the make and model of the platforms you are seeing this problem on?

     
  • Todd Fujinaka

    Todd Fujinaka - 2013-07-08

    Closing due to inactivity.

     
  • Todd Fujinaka

    Todd Fujinaka - 2013-07-08
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks