[prev in list] [next in list] [prev in thread] [next in thread]
List: e1000-devel
Subject: [E1000-devel] e1000e panic in tainted 2.6.38.6 kernel,
From: Ben Greear <greearb () candelatech ! com>
Date: 2011-05-17 0:21:31
Message-ID: 4DD1BF8B.1040205 () candelatech ! com
[Download RAW message or body]
We saw this soon after bootup. Doesn't seem to be reproducible. Our proprietary \
driver was loaded, and it deals with network pkts so this could be all our fault.
I'm posting just in case someone else has seen similar.
BUG: unable to handle kernel NULL pointer dereference at (null)
IP: [<ffffffffa030c2b4>] e1000_put_txbuf+0xc/0x73 [e1000e]
PGD 772d4067 PUD 64478067 PMD 0
Oops: 0000 [#1] PREEMPT SMP
last sysfs file: /sys/devices/pci0000:00/0000:00:02.0/0000:01:00.0/0000:02:02.0/0000:04:00.1/nets
CPU 2
Modules linked in: macvlan wanlink(P) ip6table_filter ip6_tables pktgen fuse \
ebtable_nat iscsi_t]
Pid: 2681, comm: kworker/2:2 Tainted: P W 2.6.38.6+ #2 Supermicro \
X7DBU/X7DBU
RIP: 0010:[<ffffffffa030c2b4>] [<ffffffffa030c2b4>] e1000_put_txbuf+0xc/0x73 \
[e1000e]
RSP: 0018:ffff88007735dd00 EFLAGS: 00010286
e1000e 0000:0e:00.0: irq 82 for MSI/MSI-X
RAX: 0000000000080380 RBX: 0000000000000000 RCX: 0000000000000100
RDX: ffffc90004280000 RSI: 0000000000000000 RDI: ffff880079ba0780
RBP: ffff88007735dd10 R08: ffffffff8105018a R09: 0000000000000000
R10: ffff88007735dc40 R11: 0000000000000286 R12: ffff880079ba0780
R13: 0000000000000001 R14: ffff880079ba0000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff88007fc80000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000000000000000 CR3: 000000007906d000 CR4: 00000000000006e0
e1000e 0000:0e:00.0: eth10: MSI interrupt test failed, using legacy interrupt.
ADDRCONF(NETDEV_UP): eth10: link is not ready
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process kworker/2:2 (pid: 2681, threadinfo ffff88007735c000, task ffff880078e72490)
Stack:
ffff880079ba08d8 ffff880037b02d80 ffff88007735dd40 ffffffffa030c8d6
ffff88007735dd40 ffff880079ba0780 ffff880079ba0000 ffff880079ba08d8
ffff88007735dd70 ffffffffa030ca67 ffffffffa031313b ffff880079ba0780
Call Trace:
[<ffffffffa030c8d6>] e1000_clean_tx_ring+0x32/0x88 [e1000e]
[<ffffffffa030ca67>] e1000e_down+0x13b/0x14c [e1000e]
[<ffffffffa030e30a>] e1000e_reinit_locked+0x45/0x5a [e1000e]
[<ffffffffa030e9b8>] e1000_reset_task+0x699/0x6a8 [e1000e]
[<ffffffff81058b90>] ? schedule_work+0x13/0x15
[<ffffffff8103fde4>] ? get_parent_ip+0x11/0x42
[<ffffffffa030e31f>] ? e1000_reset_task+0x0/0x6a8 [e1000e]
[<ffffffff81057175>] process_one_work+0x1ac/0x28a
[<ffffffff8105914f>] worker_thread+0x136/0x255
[<ffffffff81059019>] ? worker_thread+0x0/0x255
[<ffffffff8105c36b>] kthread+0x7d/0x85
[<ffffffff8100b8e4>] kernel_thread_helper+0x4/0x10
[<ffffffff8105c2ee>] ? kthread+0x0/0x85
e1000e 0000:0c:00.1: irq 79 for MSI/MSI-X
[<ffffffff8100b8e0>] ? kernel_thread_helper+0x0/0x10
Code: 00 00 00 8b 45 b8 48 01 82 c0 00 00 00 48 83 c4 78 44 88 e8 5b 41 5c 41 5d 41 \
5e 41 5f c9 e1000e 0000:0c:00.1: irq 79 for MSI/MSI-X
ADDRCONF(NETDEV_UP): eth7: link is not ready
(gdb) l *(e1000_put_txbuf+0xc)
0x102d8 is in e1000_put_txbuf \
(/home/greearb/git/linux-2.6.dev.38.y/drivers/net/e1000e/netdev.c:911). 906 }
907
908 static void e1000_put_txbuf(struct e1000_adapter *adapter,
909 struct e1000_buffer *buffer_info)
910 {
911 if (buffer_info->dma) {
912 if (buffer_info->mapped_as_page)
913 dma_unmap_page(&adapter->pdev->dev, buffer_info->dma,
914 buffer_info->length, DMA_TO_DEVICE);
915 else
(gdb) l *(e1000_clean_tx_ring+0x32)
0x108fa is in e1000_clean_tx_ring \
(/home/greearb/git/linux-2.6.dev.38.y/drivers/net/e1000e/netdev.c:2158). 2153 struct \
e1000_ring *tx_ring = adapter->tx_ring; 2154 struct e1000_buffer *buffer_info;
2155 unsigned long size;
2156 unsigned int i;
2157
2158 for (i = 0; i < tx_ring->count; i++) {
2159 buffer_info = &tx_ring->buffer_info[i];
2160 e1000_put_txbuf(adapter, buffer_info);
2161 }
2162
(gdb)
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit \
http://communities.intel.com/community/wired
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic