From: Eric Dumazet Subject: Re: 2.6.34.1, e1000e, VLAN's and kernel BUG Date: Wed, 21 Jul 2010 16:30:11 +0200 Message-ID: <1279722611.2452.49.camel@edumazet-laptop> References: <201007211703.23093.nuclearcat@nuclearcat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: netdev@vger.kernel.org, jeffrey.t.kirsher@intel.com, Jesse Brandeburg , Bruce Allan , Alex Duyck To: Denys Fedoryshchenko Return-path: Received: from mail-ww0-f44.google.com ([74.125.82.44]:40988 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758560Ab0GUOaY (ORCPT ); Wed, 21 Jul 2010 10:30:24 -0400 Received: by wwj40 with SMTP id 40so2397271wwj.1 for ; Wed, 21 Jul 2010 07:30:22 -0700 (PDT) In-Reply-To: <201007211703.23093.nuclearcat@nuclearcat.com> Sender: netdev-owner@vger.kernel.org List-ID: Le mercredi 21 juillet 2010 =C3=A0 17:03 +0300, Denys Fedoryshchenko a =C3=A9crit : > I experience similar issue with router , also e1000e and VLAN's, now = crashed=20 > completely different server, with different job (on this interface o= nly=20 > PPPoE) but same was : VLAN's on one of interfaces and e1000e driver f= or=20 > network card on this interface. >=20 > Old report is at > http://marc.info/?l=3Dlinux-netdev&m=3D127101842721222&w=3D2 >=20 > Hardware is very different, old one was 04:00.0 Ethernet controller: = Intel=20 > Corporation 80003ES2LAN Gigabit Ethernet Controller (Copper) (rev 01) > and Sun server with Xeon amd64, new one is just Core 2 Quad with 32-b= it=20 > kernel. >=20 > MASTER_PPPOE_WORLDNET ~ # ethtool -i eth1 > driver: e1000e > version: 1.0.2-k2 > firmware-version: 1.8-5 > bus-info: 0000:00:19.0 >=20 > 00:19.0 Ethernet controller: Intel Corporation 82567LF-2 Gigabit Netw= ork=20 > Connection >=20 > IRQ's > 24: 1290189 1312386 1289973 1310347 PCI-MSI-edge = eth1 >=20 >=20 > Jul 21 16:45:45 PPPOE kernel: [938915.369647] BUG: unable to handle k= ernel=20 > NULL pointer dereference at (null) > Jul 21 16:45:45 PPPOE kernel: [938915.369750] IP: []=20 > dev_queue_xmit+0x279/0x410 > Jul 21 16:45:45 PPPOE kernel: [938915.369822] *pdpt =3D 0000000022435= 001 *pde =3D=20 > 0000000000000000 > Jul 21 16:45:45 PPPOE kernel: [938915.369890] Oops: 0000 [#1] SMP > Jul 21 16:45:45 PPPOE kernel: [938915.369953] last sysfs file:=20 > /sys/devices/system/cpu/online > Jul 21 16:45:45 PPPOE kernel: [938915.370039] Modules linked in:=20 > nf_conntrack_netlink nfnetlink rtc_cmos rtc_core rtc_lib act_skbedit=20 > sch_ingress sch_prio netconsole co > nfigfs cls_flow cls_u32 em_meta cls_basic xt_dscp ipt_REJECT ts_bm xt= _string=20 > xt_hl ifb cl > Jul 21 16:45:45 PPPOE kernel: [938915.370253] =20 > Jul 21 16:45:45 PPPOE kernel: [938915.370253] Pid: 10, comm: ksoftirq= d/2=20 > Tainted: G W 2.6.34.1-build-0053 #2 DG45ID/ > Jul 21 16:45:45 PPPOE kernel: [938915.370253] EIP: 0060:[] = EFLAGS:=20 > 00010202 CPU: 2 > Jul 21 16:45:45 PPPOE kernel: [938915.370253] EIP is at=20 > dev_queue_xmit+0x279/0x410 > Jul 21 16:45:45 PPPOE kernel: [938915.370253] EAX: e9f72000 EBX: 0000= 0000 ECX:=20 > e9f786b0 EDX: f6e8c000 > Jul 21 16:45:45 PPPOE kernel: [938915.370253] ESI: f74af180 EDI: 0000= 00eb EBP:=20 > c5301b74 ESP: c5301b5c > Jul 21 16:45:45 PPPOE kernel: [938915.370253] DS: 007b ES: 007b FS: = 00d8 GS:=20 > 0000 SS: 0068 > Jul 21 16:45:45 PPPOE kernel: [938915.370253] Process ksoftirqd/2 (pi= d: 10,=20 > ti=3Dc5301000 task=3Df7480000 task.ti=3Df7461000) > Jul 21 16:45:45 PPPOE kernel: [938915.370253] Stack: > Jul 21 16:45:45 PPPOE kernel: [938915.370253] e9f786b0 f6e8c000 f6fa= be40=20 > f614ea00 e9f786b0 000000eb c5301b88 f8817062 > Jul 21 16:45:45 PPPOE kernel: [938915.370253] <0> f6184800 e9f786b0 c= 0410540=20 > c5301bb0 c0297307 f614ea00 f6184800 f88184cc > Jul 21 16:45:45 PPPOE kernel: [938915.370253] <0> 00000003 00008864 0= 0000002=20 > f614ea00 00000000 c5301bd0 c029781c e9f786b0 > Jul 21 16:45:45 PPPOE kernel: [938915.370253] Call Trace: > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > vlan_dev_hwaccel_hard_start_xmit+0x58/0x6c [8021q] > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > dev_hard_start_xmit+0x210/0x2dd > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > dev_queue_xmit+0x362/0x410 > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > eth_header+0x0/0x92 > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > __pppoe_xmit+0x11c/0x132 [pppoe] > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > pppoe_xmit+0xa/0xc [pppoe] > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > ppp_push+0x67/0x4bf [ppp_generic] > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > tcp_manip_pkt+0xb4/0xc6 [nf_nat] > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > __kfree_skb+0x6e/0x71 > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > skb_dequeue+0x45/0x4c > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > ppp_xmit_process+0x3c6/0x427 [ppp_generic] > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > skb_queue_tail+0x2d/0x32 > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > ppp_start_xmit+0x113/0x12c [ppp_generic] > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > dev_hard_start_xmit+0x210/0x2dd > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > sch_direct_xmit+0x4c/0x122 > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > __qdisc_run+0x92/0xa8 > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > dev_queue_xmit+0x31a/0x410 > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > ip_finish_output2+0x188/0x1b3 > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > ip_finish_output+0x52/0x54 > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > ip_output+0x81/0x8a > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > ip_local_out+0x18/0x1b > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > ip_queue_xmit+0x2c3/0x2f9 > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > ep_poll_callback+0x8d/0xa4 > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > __wake_up_common+0x35/0x5b > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > tcp_v4_send_check+0x7d/0xb7 > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > tcp_transmit_skb+0x623/0x65a > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > tcp_send_ack+0x25/0xd9 > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > tcp_send_ack+0xd1/0xd9 > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > __tcp_ack_snd_check+0x5e/0x73 > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > tcp_rcv_established+0x5b2/0x5e1 > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > tcp_v4_do_rcv+0x24/0x171 > Jul 21 16:45:45 PPPOE kernel: [938915.370253] [] ?=20 > local_bh_enable+0xb/0xd > Jul 21 16:45:45 PPPOE kernel: [938915.374483] [] ?=20 > tcp_v4_rcv+0x3a6/0x582 > Jul 21 16:45:45 PPPOE kernel: [938915.374483] [] ?=20 > ip_local_deliver_finish+0xba/0x10b > Jul 21 16:45:45 PPPOE kernel: [938915.374483] [] ?=20 > ip_local_deliver+0x61/0x6a > Jul 21 16:45:45 PPPOE kernel: [938915.374483] [] ?=20 > ip_rcv_finish+0x25b/0x271 > Jul 21 16:45:45 PPPOE kernel: [938915.374483] [] ?=20 > ip_rcv+0x202/0x221 > Jul 21 16:45:45 PPPOE kernel: [938915.374483] [] ?=20 > netif_receive_skb+0x3e4/0x403 > Jul 21 16:45:45 PPPOE kernel: [938915.374483] [] ?=20 > process_backlog+0x64/0x8a > Jul 21 16:45:45 PPPOE kernel: [938915.374483] [] ?=20 > net_rx_action+0x8d/0x14a > Jul 21 16:45:45 PPPOE kernel: [938915.374483] [] ?=20 > __do_softirq+0x77/0xe7 > Jul 21 16:45:45 PPPOE kernel: [938915.374483] [] ?=20 > __do_softirq+0x0/0xe7 > Jul 21 16:45:45 PPPOE kernel: [938915.374483] > Jul 21 16:45:45 PPPOE kernel: [938915.374483] [] ?=20 > run_ksoftirqd+0x56/0xde > Jul 21 16:45:45 PPPOE kernel: [938915.374483] [] ?=20 > run_ksoftirqd+0x0/0xde > Jul 21 16:45:45 PPPOE kernel: [938915.374483] [] ?=20 > kthread+0x61/0x66 > Jul 21 16:45:45 PPPOE kernel: [938915.374483] [] ? kthread= +0x0/0x66 > Jul 21 16:45:45 PPPOE kernel: [938915.374483] [] ?=20 > kernel_thread_helper+0x6/0x10 > Jul 21 16:45:45 PPPOE kernel: [938915.374483] Code: 0c 8b 45 e8 0f b7= f2 c1 e6=20 > 07 66 89 50 7c 8b 55 ec 8b 4d e8 03 b2 00 02 00 00 66 8b 41 7a 8b 5e = 04 80 e4=20 > cf 80 cc 20 > 66 89 41 7a <83> 3b 00 0f 84 a0 00 00 00 8d 7b 5c 89 f8 e8 5c de 05 = 00 f6 43 > -- You might need patch provided by commit b0f77d0eae0c58a5a http://git2.kernel.org/?p=3Dlinux/kernel/git/torvalds/linux-2.6.git;a=3D= commit;h=3Db0f77d0eae0c58a5a