Comment 24 for bug 1555671

Revision history for this message
Philipp Marek (philipp-marek) wrote :

4.2.0-34-generic is ... strange.

"tcpdump" works as expected:
    14412 packets captured
    14430 packets received by filter
    15 packets dropped by kernel

but "tshark" with the same options crashes the kernel:

[ 137.709794] Oops: Exception in kernel mode, sig: 4 [#1]
[ 137.709872] SMP NR_CPUS=2048 NUMA PowerNV
[ 137.709879] Modules linked in: nfnetlink_queue nfnetlink_log nfnetlink bluetooth drbd lru_cache xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter ip_tables x_tables nfsv3 nfs_acl nfs lockd grace fscache binfmt_misc bridge stp llc kvm_hv uio_pdrv_genirq kvm powernv_rng uio rdma_cm iw_cm mlx5_ib ib_ipoib sunrpc ib_uverbs ib_umad ib_cm ib_sa ib_mad ib_core ib_addr autofs4 ses enclosure mlx5_core bnx2x ipr nvme mdio libcrc32c
[ 137.710598] CPU: 64 PID: 0 Comm: swapper/64 Not tainted 4.2.0-34-generic #39-Ubuntu
[ 137.710666] task: c000001e503de5e0 ti: c000001fffd90000 task.ti: c000001e505a8000
[ 137.710735] NIP: d000000016f50000 LR: c000000000a7a6d4 CTR: d000000016f50000
[ 137.710803] REGS: c000001fffd93620 TRAP: 0e40 Not tainted (4.2.0-34-generic)
[ 137.710870] MSR: 9000000000089033 <SF,HV,EE,ME,IR,DR,RI,LE> CR: 24002888 XER: 00000000
[ 137.711042] CFAR: c000000000a7a6d0 SOFTE: 1
GPR00: c000000000a7a69c c000001fffd938a0 c00000000151af00 c000000fa52fa500
GPR04: d000000016f30028 c000000fe3f55d80 c000000fdf824000 000000000000ffff
GPR08: c000000001490b00 d000000016f50000 000000000000002e d000000010f94c68
GPR12: d000000016f50000 c000000007b06000 c000000fa360acc0 c000000fdae18000
GPR16: c000000fdf824880 00000000000002b3 c000001fffd939f0 0000000000000001
GPR20: d000000013356ba0 000000000000dd86 0000000000000000 ffffffff80000000
GPR24: 0000000000000005 000000000000002e c000000fa5427910 c000000fdf824000
GPR28: 000000000000003c c000000fdf824000 c000000fe3f55800 c000000fa52fa500
[ 137.711909] NIP [d000000016f50000] 0xd000000016f50000
[ 137.711959] LR [c000000000a7a6d4] tpacket_rcv+0x164/0xa80
[ 137.712004] Call Trace:
[ 137.712029] [c000001fffd938a0] [c000000000a7a69c] tpacket_rcv+0x12c/0xa80 (unreliable)
[ 137.712110] [c000001fffd93990] [c0000000009301ac] __netif_receive_skb_core+0x4ec/0xd60
[ 137.712190] [c000001fffd93a70] [c000000000933f74] netif_receive_skb_internal+0x34/0xd0
[ 137.712269] [c000001fffd93ab0] [c0000000009350ac] napi_gro_receive+0xec/0x1b0
[ 137.712346] [c000001fffd93af0] [d000000010f55a0c] bnx2x_rx_int+0xb4c/0x1710 [bnx2x]
[ 137.712431] [c000001fffd93c90] [d000000010f56eb0] bnx2x_poll+0x310/0x440 [bnx2x]
[ 137.712510] [c000001fffd93d40] [c00000000093472c] net_rx_action+0x2dc/0x470
[ 137.712580] [c000001fffd93e50] [c0000000000bb0b8] __do_softirq+0x188/0x3a0
[ 137.712648] [c000001fffd93f40] [c0000000000bb548] irq_exit+0xc8/0x100
[ 137.712731] [c000001fffd93f60] [c0000000000111bc] __do_irq+0x8c/0x190
[ 137.712867] [c000001fffd93f90] [c0000000000242f0] call_do_irq+0x14/0x24
[ 137.713004] [c000001e505aba70] [c000000000011358] do_IRQ+0x98/0x140
[ 137.713141] [c000001e505abac0] [c000000000002594] hardware_interrupt_common+0x114/0x180
[ 137.713301] --- interrupt: 501 at arch_local_irq_restore+0x5c/0x90
[ 137.713301] LR = arch_local_irq_restore+0x40/0x90
[ 137.713505] [c000001e505abdb0] [c00000000148db10] powernv_idle_driver+0xd8/0x3e8 (unreliable)
[ 137.713686] [c000001e505abdd0] [c0000000008ca0a8] cpuidle_enter_state+0x1a8/0x3c0
[ 137.713845] [c000001e505abe30] [c000000000113a68] call_cpuidle+0x78/0xd0
[ 137.713981] [c000001e505abe70] [c000000000113e0c] cpu_startup_entry+0x34c/0x460
[ 137.714138] [c000001e505abf30] [c000000000044f4c] start_secondary+0x33c/0x360
[ 137.714274] [c000001e505abf90] [c000000000008b6c] start_secondary_prolog+0x10/0x14
[ 137.714433] Instruction dump:
[ 137.714500] XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX
[ 137.714721] XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX
[ 137.714944] ---[ end trace fb709e6a13141985 ]---
[ 137.716201]
[ 137.716253] Sending IPI to other CPUs