CLASSIFICATION: UNCLASSIFIED Hello all,
I've recently compiled the pf_ring version of libpcap distributed with pf_ring and linked my Snort and Daemonlogger binaries against it. Naturally, I also have the pf_ring kernel module loaded. This is all on a RHEL 6.6 system running kernel 2.6.32-504.el6.x86_64. While everything appears to work well, and in particular I'm seeing 0% packet loss in both Snort and Daemonlogger as I had hoped, I am seeing some warnings from the kernel in /var/log/messages. Below is an example, and all such warnings appear to be related to the skb_warn_bad_offload() call mentioned. Can anyone provide any guidance on correcting the warning? I've tried changing the offload settings of the two network cards involved using ethtool, but it appears to have no effect on the warnings. Any thoughts are appreciated. Jul 27 07:57:53 my-sys kernel: ------------[ cut here ]------------ Jul 27 07:57:53 my-sys kernel: WARNING: at net/core/dev.c:1921 skb_warn_bad_offload+0x99/0xb0() (Tainted: G W --------------- ) Jul 27 07:57:53 my-sys kernel: Hardware name: PowerEdge R710 Jul 27 07:57:53 my-sys kernel: : caps=(0x15865, 0x0) len=7306 data_len=7240 ip_summed=1 Jul 27 07:57:53 my-sys kernel: Modules linked in: nfnetlink_queue nfnetlink_log nfnetlink pf_ring(U) sch_prio act_mirred cls_u32 dummy sch_ingress ipt_REJECT nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack iptable_filter ip_tables ip6_tables ipv6 xfs exportfs ipmi_devintf sg ses enclosure power_meter acpi_ipmi ipmi_si ipmi_msghandler microcode serio_raw iTCO_wdt iTCO_vendor_support ixgbe dca ptp pps_core mdio bnx2 dcdbas lpc_ich mfd_core i7core_edac edac_core shpchp ext4 jbd2 mbcache sr_mod cdrom usb_storage sd_mod crc_t10dif pata_acpi ata_generic ata_piix megaraid_sas dm_mirror dm_region_hash dm_log dm_mod [last unloaded: speedstep_lib] Jul 27 07:57:53 my-sys kernel: Pid: 0, comm: swapper Tainted: G W --------------- 2.6.32-504.el6.x86_64 #1 Jul 27 07:57:53 my-sys kernel: Call Trace: Jul 27 07:57:53 my-sys kernel: <IRQ> [<ffffffff81074df7>] ? warn_slowpath_common+0x87/0xc0 Jul 27 07:57:53 my-sys kernel: [<ffffffff81074ee6>] ? warn_slowpath_fmt+0x46/0x50 Jul 27 07:57:53 my-sys kernel: [<ffffffff812924c5>] ? __ratelimit+0xd5/0x120 Jul 27 07:57:53 my-sys kernel: [<ffffffff8145cf79>] ? skb_warn_bad_offload+0x99/0xb0 Jul 27 07:57:53 my-sys kernel: [<ffffffff81461601>] ? __skb_gso_segment+0x71/0xc0 Jul 27 07:57:53 my-sys kernel: [<ffffffff81461663>] ? skb_gso_segment+0x13/0x20 Jul 27 07:57:53 my-sys kernel: [<ffffffff8146170b>] ? dev_hard_start_xmit+0x9b/0x480 Jul 27 07:57:53 my-sys kernel: [<ffffffff81461894>] ? dev_hard_start_xmit+0x224/0x480 Jul 27 07:57:53 my-sys kernel: [<ffffffff81461d2d>] ? dev_queue_xmit+0x1bd/0x320 Jul 27 07:57:53 my-sys kernel: [<ffffffffa00bc558>] ? tcf_mirred+0x158/0x1e0 [act_mirred] Jul 27 07:57:53 my-sys kernel: [<ffffffff814832f5>] ? tcf_action_exec+0x55/0xb0 Jul 27 07:57:53 my-sys kernel: [<ffffffffa009f9f4>] ? u32_classify+0x244/0x2a0 [cls_u32] Jul 27 07:57:53 my-sys kernel: [<ffffffff810b0760>] ? tick_sched_timer+0x0/0xc0 Jul 27 07:57:53 my-sys kernel: [<ffffffff8147f4d4>] ? tc_classify_compat+0x44/0x90 Jul 27 07:57:53 my-sys kernel: [<ffffffff8147f935>] ? tc_classify+0x55/0xa0 Jul 27 07:57:53 my-sys kernel: [<ffffffffa005e15b>] ? ingress_enqueue+0x2b/0x94 [sch_ingress] Jul 27 07:57:53 my-sys kernel: [<ffffffff8145c6a4>] ? __netif_receive_skb+0x2c4/0x750 Jul 27 07:57:53 my-sys kernel: [<ffffffff8145c88b>] ? __netif_receive_skb+0x4ab/0x750 Jul 27 07:57:53 my-sys kernel: [<ffffffff81460588>] ? netif_receive_skb+0x58/0x60 Jul 27 07:57:53 my-sys kernel: [<ffffffff81460690>] ? napi_skb_finish+0x50/0x70 Jul 27 07:57:53 my-sys kernel: [<ffffffff81461f69>] ? napi_gro_receive+0x39/0x50 Jul 27 07:57:53 my-sys kernel: [<ffffffffa018fbda>] ? ixgbe_clean_rx_irq+0x26a/0xc90 [ixgbe] Jul 27 07:57:53 my-sys kernel: [<ffffffffa0195693>] ? ixgbe_poll+0x453/0x7e0 [ixgbe] Jul 27 07:57:53 my-sys kernel: [<ffffffff81462083>] ? net_rx_action+0x103/0x2f0 Jul 27 07:57:53 my-sys kernel: [<ffffffff8107d8b1>] ? __do_softirq+0xc1/0x1e0 Jul 27 07:57:53 my-sys kernel: [<ffffffff810eaa90>] ? handle_IRQ_event+0x60/0x170 Jul 27 07:57:53 my-sys kernel: [<ffffffff8100c30c>] ? call_softirq+0x1c/0x30 Jul 27 07:57:53 my-sys kernel: [<ffffffff8100fc15>] ? do_softirq+0x65/0xa0 Jul 27 07:57:53 my-sys kernel: [<ffffffff8107d765>] ? irq_exit+0x85/0x90 Jul 27 07:57:53 my-sys kernel: [<ffffffff81533b45>] ? do_IRQ+0x75/0xf0 Jul 27 07:57:53 my-sys kernel: [<ffffffff8100b9d3>] ? ret_from_intr+0x0/0x11 Jul 27 07:57:53 my-sys kernel: <EOI> [<ffffffff812ea5ee>] ? intel_idle+0xde/0x170 Jul 27 07:57:53 my-sys kernel: [<ffffffff812ea5d1>] ? intel_idle+0xc1/0x170 Jul 27 07:57:53 my-sys kernel: [<ffffffff810b1176>] ? tick_nohz_stop_sched_tick+0x296/0x3c0 Jul 27 07:57:53 my-sys kernel: [<ffffffff81425b97>] ? cpuidle_idle_call+0xa7/0x140 Jul 27 07:57:53 my-sys kernel: [<ffffffff81009fc6>] ? cpu_idle+0xb6/0x110 Jul 27 07:57:53 my-sys kernel: [<ffffffff81522e2c>] ? start_secondary+0x2be/0x301 Jul 27 07:57:53 my-sys kernel: ---[ end trace 67d6d1cb4b33daef ]--- -- Scott Knick CLASSIFICATION: UNCLASSIFIED _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
