skb_warn_bad_offload with kernel 3.5 (maybe gso/bridge related ?)
Subsystems (2)
Hello everybody,
I have a machine using ceph rbd volume, as a client (rbd module) to backup data.
I was running kernel 3.2.22 ok. Tried 3.5.0 because some rbd fixes went in.
Now, shortly after the start, my logs are filled by that :
Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.780860] WARNING: at net/core/dev.c:1888 skb_warn_bad_offload+0xb6/0xc1() Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.780920] Hardware name: PowerEdge M605 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.780990] : caps=(0x0000000000005000, 0x0000000000000000) len=7292 data_len=5792 gso_size=1448 gso_type=1 ip_summed=1 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.781071] Modules linked in: rbd libceph ipt_MASQUERADE iptable_nat nf_nat ipt_REJECT veth fuse xt_physdev xt_iprange xt_multiport ip6table_filter ip6_tables xt_LOG xt_limit xt_tcpudp xt_state iptable_filter ip_tables x_tables nf_conntrack_tftp nf_conntrack_ftp nf_conntrack_ipv4 nf_defrag_ipv4 8021q bridge stp llc ext2 mbcache dm_round_robin dm_multipath scsi_dh nf_conntrack_ipv6 nf_conntrack nf_defrag_ipv6 ipv6 powernow_k8 freq_table mperf kvm_amd snd_pcm kvm snd_timer snd soundcore snd_page_alloc tpm_tis tpm tpm_bios pcspkr evdev psmouse microcode joydev dcdbas shpchp i2c_nforce2 pci_hotplug serio_raw processor i2c_core hid_generic thermal_sys hed button xfs exportfs dm_mod ses enclosure usbhid hid sg sr_mod sd_mod cdrom usb_storage lpfc scsi_transport_fc scsi_tgt ohci_hcd bnx2x mptsas mptscsih bnx2 mptbase scsi_transport_sas crc32c scsi_mod libcrc32c mdio ehci_hcd [last unloaded: scsi_wait_scan] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.785995] Pid: 0, comm: swapper/0 Not tainted 3.5.0-dsiun-120521 #5 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786055] Call Trace: Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786108] <IRQ> [<ffffffff813bde00>] ? skb_warn_bad_offload+0x6f/0xc1 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786209] [<ffffffff8103a109>] ? warn_slowpath_common+0x79/0xc0 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786269] [<ffffffff8103a205>] ? warn_slowpath_fmt+0x45/0x50 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786330] [<ffffffff81068647>] ? get_nohz_timer_target+0x57/0xd0 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786390] [<ffffffff813bde47>] ? skb_warn_bad_offload+0xb6/0xc1 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786452] [<ffffffff813110e7>] ? skb_gso_segment+0x207/0x280 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786512] [<ffffffff81313f26>] ? dev_hard_start_xmit+0x1f6/0x620 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786574] [<ffffffff8132f17d>] ? sch_direct_xmit+0xfd/0x1d0 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786633] [<ffffffff813147a4>] ? dev_queue_xmit+0x454/0x610 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786697] [<ffffffffa06f3c42>] ? br_dev_queue_push_xmit+0x72/0xc0 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786762] [<ffffffffa06fa673>] ? br_nf_post_routing+0x223/0x340 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786825] [<ffffffff8133c0c4>] ? nf_iterate+0x84/0xa0 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786885] [<ffffffffa06f3bd0>] ? deliver_clone+0x60/0x60 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786945] [<ffffffff8133c14e>] ? nf_hook_slow+0x6e/0x130 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787005] [<ffffffffa06f3bd0>] ? deliver_clone+0x60/0x60 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787067] [<ffffffffa06f3f00>] ? br_multicast_flood+0x170/0x170 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787130] [<ffffffffa06f3f42>] ? br_forward_finish+0x42/0x50 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787193] [<ffffffffa06f9f29>] ? br_nf_forward_finish+0xb9/0x180 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787256] [<ffffffffa06faa21>] ? br_nf_forward_ip+0x291/0x3d0 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787318] [<ffffffff8133c0c4>] ? nf_iterate+0x84/0xa0 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787379] [<ffffffffa06a301f>] ? tcp_packet+0x82f/0xf10 [nf_conntrack] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787442] [<ffffffffa06f3f00>] ? br_multicast_flood+0x170/0x170 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787503] [<ffffffff8133c14e>] ? nf_hook_slow+0x6e/0x130 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787563] [<ffffffffa06f3f00>] ? br_multicast_flood+0x170/0x170 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787626] [<ffffffffa06f3fe0>] ? __br_forward+0x90/0xb0 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787688] [<ffffffffa06f4e34>] ? br_handle_frame_finish+0x214/0x2b0 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787765] [<ffffffffa06fa2ab>] ? br_nf_pre_routing_finish+0x19b/0x340 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787842] [<ffffffffa06fb0f2>] ? br_nf_pre_routing+0x3a2/0x650 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787904] [<ffffffff8108b184>] ? generic_exec_single+0xb4/0xc0 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787964] [<ffffffff8133c0c4>] ? nf_iterate+0x84/0xa0 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.788025] [<ffffffffa06f4c20>] ? br_handle_local_finish+0x50/0x50 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.788087] [<ffffffff8133c14e>] ? nf_hook_slow+0x6e/0x130 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.788147] [<ffffffffa06f4c20>] ? br_handle_local_finish+0x50/0x50 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.788210] [<ffffffffa06f5098>] ? br_handle_frame+0x1c8/0x260 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.788273] [<ffffffffa06f4ed0>] ? br_handle_frame_finish+0x2b0/0x2b0 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.788348] [<ffffffff813121b8>] ? __netif_receive_skb+0x418/0x5a0 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.788409] [<ffffffffa0736954>] ? ipt_do_table+0x344/0x5e0 [ip_tables] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.788470] [<ffffffff813124ca>] ? netif_receive_skb+0x1a/0x80 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.788530] [<ffffffff81312620>] ? napi_skb_finish+0x50/0x70 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.788599] [<ffffffffa0126bc6>] ? bnx2x_rx_int+0x656/0x13d0 [bnx2x] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.788671] [<ffffffffa01994ae>] ? lpfc_sli_handle_fast_ring_event+0x26e/0x5d0 [lpfc] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.788748] [<ffffffffa071abf5>] ? ipv4_confirm+0x175/0x200 [nf_conntrack_ipv4] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.788828] [<ffffffffa0129073>] ? bnx2x_poll+0x93/0x2b0 [bnx2x] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.788889] [<ffffffff81312e98>] ? net_rx_action+0x138/0x220 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.788949] [<ffffffff810424ae>] ? __do_softirq+0xae/0x1c0 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.789009] [<ffffffff813c281c>] ? call_softirq+0x1c/0x30 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.789068] [<ffffffff81004b95>] ? do_softirq+0x75/0xb0 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.789127] [<ffffffff81042845>] ? irq_exit+0xa5/0xb0 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.789185] [<ffffffff8100480b>] ? do_IRQ+0x5b/0xd0 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.789243] [<ffffffff813c0aea>] ? common_interrupt+0x6a/0x6a Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.789301] <EOI> [<ffffffff8104ac21>] ? get_next_timer_interrupt+0x1e1/0x280 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.789414] [<ffffffff8102ab82>] ? native_safe_halt+0x2/0x10 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.789474] [<ffffffff8100b847>] ? default_idle+0x47/0x190 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.789533] [<ffffffff8100b9e0>] ? amd_e400_idle+0x50/0x110 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.789593] [<ffffffff8100c466>] ? cpu_idle+0xb6/0xd0 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.789651] [<ffffffff8157fb77>] ? start_kernel+0x366/0x371 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.789711] [<ffffffff8157f627>] ? repair_env_string+0x5b/0x5b Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.789771] [<ffffffff8157f436>] ? x86_64_start_kernel+0x105/0x114 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.789831] ---[ end trace ad41e3fec21667dd ]---
Shorter traces :
Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537129] WARNING: at net/core/dev.c:1888 skb_warn_bad_offload+0xb6/0xc1() Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537156] Hardware name: PowerEdge M605 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537178] : caps=(0x0000000000005000, 0x0000000000000000) len=23220 data_len=21720 gso_size=1448 gso_type=1 ip_summed=1 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537226] Modules linked in: rbd libceph ipt_MASQUERADE iptable_nat nf_nat ipt_REJECT veth fuse xt_physdev xt_iprange xt_multiport ip6table_filter ip6_tables xt_LOG xt_limit xt_tcpudp xt_state iptable_filter ip_tables x_tables nf_conntrack_tftp nf_conntrack_ftp nf_conntrack_ipv4 nf_defrag_ipv4 8021q bridge stp llc ext2 mbcache dm_round_robin dm_multipath scsi_dh nf_conntrack_ipv6 nf_conntrack nf_defrag_ipv6 ipv6 powernow_k8 freq_table mperf kvm_amd snd_pcm kvm snd_timer snd soundcore snd_page_alloc tpm_tis tpm tpm_bios pcspkr evdev psmouse microcode joydev dcdbas shpchp i2c_nforce2 pci_hotplug serio_raw processor i2c_core hid_generic thermal_sys hed button xfs exportfs dm_mod ses enclosure usbhid hid sg sr_mod sd_mod cdrom usb_storage lpfc scsi_transport_fc scsi_tgt ohci_hcd bnx2x mptsas mptscsih bnx2 mptbase scsi_transport_sas crc32c scsi_mod libcrc32c mdio ehci_hcd [last unloaded: scsi_wait_scan] Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537632] Pid: 22553, comm: smtp Tainted: G W 3.5.0-dsiun-120521 #5 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537673] Call Trace: Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537691] <IRQ> [<ffffffff813bde00>] ? skb_warn_bad_offload+0x6f/0xc1 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537720] [<ffffffff8103a109>] ? warn_slowpath_common+0x79/0xc0 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537747] [<ffffffff8103a205>] ? warn_slowpath_fmt+0x45/0x50 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537773] [<ffffffff813bde47>] ? skb_warn_bad_offload+0xb6/0xc1 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537800] [<ffffffff813110e7>] ? skb_gso_segment+0x207/0x280 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537826] [<ffffffff81313f26>] ? dev_hard_start_xmit+0x1f6/0x620 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537853] [<ffffffff8132f17d>] ? sch_direct_xmit+0xfd/0x1d0 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537879] [<ffffffff813147a4>] ? dev_queue_xmit+0x454/0x610 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537907] [<ffffffffa06f3c42>] ? br_dev_queue_push_xmit+0x72/0xc0 [bridge] Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537937] [<ffffffffa06fa673>] ? br_nf_post_routing+0x223/0x340 [bridge] Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.538103] [<ffffffffa06f3f42>] ? br_forward_finish+0x42/0x50 [bridge] Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.538132] [<ffffffffa06f9f29>] ? br_nf_forward_finish+0xb9/0x180 [bridge] Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.538704] [<ffffffff813124ca>] ? netif_receive_skb+0x1a/0x80 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.539024] <EOI> Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.539162] : caps=(0x0000000000005000, 0x0000000000000000) len=6250 data_len=4750 gso_size=1448 gso_type=1 ip_summed=1 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.539209] Modules linked in: rbd libceph ipt_MASQUERADE iptable_nat nf_nat ipt_REJECT veth fuse xt_physdev xt_iprange xt_multiport ip6table_filter ip6_tables xt_LOG xt_limit xt_tcpudp xt_state iptable_filter ip_tables x_tables nf_conntrack_tftp nf_conntrack_ftp nf_conntrack_ipv4 nf_defrag_ipv4 8021q bridge stp llc ext2 mbcache dm_round_robin dm_multipath scsi_dh nf_conntrack_ipv6 nf_conntrack nf_defrag_ipv6 ipv6 powernow_k8 freq_table mperf kvm_amd snd_pcm kvm snd_timer snd soundcore snd_page_alloc tpm_tis tpm tpm_bios pcspkr evdev psmouse microcode joydev dcdbas shpchp i2c_nforce2 pci_hotplug serio_raw processor i2c_core hid_generic thermal_sys hed button xfs exportfs dm_mod ses enclosure usbhid hid sg sr_mod sd_mod cdrom usb_storage lpfc scsi_transport_fc scsi_tgt ohci_hcd bnx2x mptsas mptscsih bnx2 mptbase scsi_transport_sas crc32c scsi_mod libcrc32c mdio ehci_hcd [last unloaded: scsi_wait_scan] Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.539614] Pid: 22553, comm: smtp Tainted: G W 3.5.0-dsiun-120521 #5 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.539654] Call Trace: Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.539673] <IRQ> [<ffffffff813bde00>] ? skb_warn_bad_offload+0x6f/0xc1 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.539702] [<ffffffff8103a109>] ? warn_slowpath_common+0x79/0xc0 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.539728] [<ffffffff8103a205>] ? warn_slowpath_fmt+0x45/0x50 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.539755] [<ffffffff813bde47>] ? skb_warn_bad_offload+0xb6/0xc1 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.539782] [<ffffffff813110e7>] ? skb_gso_segment+0x207/0x280 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.539808] [<ffffffff81313f26>] ? dev_hard_start_xmit+0x1f6/0x620 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.540933] [<ffffffff81042845>] ? irq_exit+0xa5/0xb0 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.543067] [<ffffffff813147a4>] ? dev_queue_xmit+0x454/0x610 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.543095] [<ffffffffa06f3c42>] ? br_dev_queue_push_xmit+0x72/0xc0 [bridge] Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.543125] [<ffffffffa06fa673>] ? br_nf_post_routing+0x223/0x340 [bridge] Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.543514] [<ffffffffa06f3fe0>] ? __br_forward+0x90/0xb0 [bridge] Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.543585] [<ffffffffa06fa2ab>] ? br_nf_pre_routing_finish+0x19b/0x340 [bridge] Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.543629] [<ffffffffa06fb0f2>] ? br_nf_pre_routing+0x3a2/0x650 [bridge] Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.543657] [<ffffffff8133c0c4>] ? nf_iterate+0x84/0xa0 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.543684] [<ffffffffa06f4c20>] ? br_handle_local_finish+0x50/0x50 [bridge] Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.543712] [<ffffffff8133c14e>] ? nf_hook_slow+0x6e/0x130 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.543739] [<ffffffffa06f4c20>] ? br_handle_local_finish+0x50/0x50 [bridge] Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.543767] [<ffffffff8133c14e>] ? nf_hook_slow+0x6e/0x130 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.543795] [<ffffffffa06f5098>] ? br_handle_frame+0x1c8/0x260 [bridge]
Despite thoses messages, the machine is still running OK. It runs lxc instances (and so , bridge & tun/tap), only one of thoses instances uses rbd.
I don't think the problem is ceph related.
This machine have bnx2 (Gb) & bnx2x (10Gb) - Lots of trafic is using bnx2x-.
I'm running 3.5.0 on other hosts (bnx2/bnx2x or ixgbe drivers) without problems. But it's not the same workload.
As the problem seems more or less gso related, I've deactivated gso two days ago. This cure the symptom, running ok since.
Anyone here seeing this problem ?
Cheers,
Signature · 2 lines
Yann Dupont - Service IRTS, DSI Université de Nantes Tel : 02.53.48.49.20 - Mail/Jabber : [email protected]
Quoted 283 lines · Yann Dupont
Hello everybody,
I have a machine using ceph rbd volume, as a client (rbd module) to backup data.
I was running kernel 3.2.22 ok. Tried 3.5.0 because some rbd fixes went in.
Now, shortly after the start, my logs are filled by that :
Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.780860] WARNING: at net/core/dev.c:1888 skb_warn_bad_offload+0xb6/0xc1() Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.780920] Hardware name: PowerEdge M605 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.780990] : caps=(0x0000000000005000, 0x0000000000000000) len=7292 data_len=5792 gso_size=1448 gso_type=1 ip_summed=1 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.781071] Modules linked in: rbd libceph ipt_MASQUERADE iptable_nat nf_nat
ipt_REJECTveth fusext_physdevxt_iprangext_multiportip6table_filterip6_tablesxt_LOGxt_limitxt_tcpudpxt_stateiptable_filterip_tablesx_tablesnf_conntrack_tftpnf_conntrack_ftpnf_conntrack_ipv4nf_defrag_ipv48021q bridge stp llc ext2 mbcachedm_round_robindm_multipathscsi_dhnf_conntrack_ipv6nf_conntracknf_defrag_ipv6ipv6powernow_k8freq_tablemperfkvm_amdsnd_pcmkvmsnd_timersnd soundcoresnd_page_alloctpm_tistpmtpm_biospcspkr evdev psmouse microcode joydev dcdbas shpchpi2c_nforce2pci_hotplugserio_rawprocessori2c_corehid_genericthermal_syshed button xfs exportfsdm_modses enclosure usbhid hid sgsr_modsd_modcdromusb_storagelpfcscsi_transport_fcscsi_tgtohci_hcdbnx2x mptsas mptscsih bnx2 mptbasescsi_transport_sascrc32cscsi_modlibcrc32c mdioehci_hcd[last
unloaded:scsi_wait_scan]Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.785995] Pid: 0, comm: swapper/0 Not tainted 3.5.0-dsiun-120521 #5 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786055] Call Trace: Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786108] <IRQ> [<ffffffff813bde00>] ? skb_warn_bad_offload+0x6f/0xc1 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786209] [<ffffffff8103a109>] ? warn_slowpath_common+0x79/0xc0 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786269] [<ffffffff8103a205>] ? warn_slowpath_fmt+0x45/0x50 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786330] [<ffffffff81068647>] ? get_nohz_timer_target+0x57/0xd0 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786390] [<ffffffff813bde47>] ? skb_warn_bad_offload+0xb6/0xc1 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786452] [<ffffffff813110e7>] ? skb_gso_segment+0x207/0x280 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786512] [<ffffffff81313f26>] ? dev_hard_start_xmit+0x1f6/0x620 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786574] [<ffffffff8132f17d>] ? sch_direct_xmit+0xfd/0x1d0 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786633] [<ffffffff813147a4>] ? dev_queue_xmit+0x454/0x610 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786697] [<ffffffffa06f3c42>] ? br_dev_queue_push_xmit+0x72/0xc0 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786762] [<ffffffffa06fa673>] ? br_nf_post_routing+0x223/0x340 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786825] [<ffffffff8133c0c4>] ? nf_iterate+0x84/0xa0 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786885] [<ffffffffa06f3bd0>] ? deliver_clone+0x60/0x60 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786945] [<ffffffff8133c14e>] ? nf_hook_slow+0x6e/0x130 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787005] [<ffffffffa06f3bd0>] ? deliver_clone+0x60/0x60 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787067] [<ffffffffa06f3f00>] ? br_multicast_flood+0x170/0x170 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787130] [<ffffffffa06f3f42>] ? br_forward_finish+0x42/0x50 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787193] [<ffffffffa06f9f29>] ? br_nf_forward_finish+0xb9/0x180 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787256] [<ffffffffa06faa21>] ? br_nf_forward_ip+0x291/0x3d0 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787318] [<ffffffff8133c0c4>] ? nf_iterate+0x84/0xa0 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787379] [<ffffffffa06a301f>] ? tcp_packet+0x82f/0xf10 [nf_conntrack] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787442] [<ffffffffa06f3f00>] ? br_multicast_flood+0x170/0x170 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787503] [<ffffffff8133c14e>] ? nf_hook_slow+0x6e/0x130 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787563] [<ffffffffa06f3f00>] ? br_multicast_flood+0x170/0x170 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787626] [<ffffffffa06f3fe0>] ? __br_forward+0x90/0xb0 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787688] [<ffffffffa06f4e34>] ? br_handle_frame_finish+0x214/0x2b0 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787765] [<ffffffffa06fa2ab>] ? br_nf_pre_routing_finish+0x19b/0x340 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787842] [<ffffffffa06fb0f2>] ? br_nf_pre_routing+0x3a2/0x650 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787904] [<ffffffff8108b184>] ? generic_exec_single+0xb4/0xc0 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.787964] [<ffffffff8133c0c4>] ? nf_iterate+0x84/0xa0 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.788025] [<ffffffffa06f4c20>] ? br_handle_local_finish+0x50/0x50 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.788087] [<ffffffff8133c14e>] ? nf_hook_slow+0x6e/0x130 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.788147] [<ffffffffa06f4c20>] ? br_handle_local_finish+0x50/0x50 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.788210] [<ffffffffa06f5098>] ? br_handle_frame+0x1c8/0x260 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.788273] [<ffffffffa06f4ed0>] ? br_handle_frame_finish+0x2b0/0x2b0 [bridge] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.788348] [<ffffffff813121b8>] ? __netif_receive_skb+0x418/0x5a0 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.788409] [<ffffffffa0736954>] ? ipt_do_table+0x344/0x5e0 [ip_tables] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.788470] [<ffffffff813124ca>] ? netif_receive_skb+0x1a/0x80 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.788530] [<ffffffff81312620>] ? napi_skb_finish+0x50/0x70 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.788599] [<ffffffffa0126bc6>] ? bnx2x_rx_int+0x656/0x13d0 [bnx2x] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.788671] [<ffffffffa01994ae>] ? lpfc_sli_handle_fast_ring_event+0x26e/0x5d0 [lpfc] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.788748] [<ffffffffa071abf5>] ? ipv4_confirm+0x175/0x200 [nf_conntrack_ipv4] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.788828] [<ffffffffa0129073>] ? bnx2x_poll+0x93/0x2b0 [bnx2x] Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.788889] [<ffffffff81312e98>] ? net_rx_action+0x138/0x220 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.788949] [<ffffffff810424ae>] ? __do_softirq+0xae/0x1c0 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.789009] [<ffffffff813c281c>] ? call_softirq+0x1c/0x30 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.789068] [<ffffffff81004b95>] ? do_softirq+0x75/0xb0 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.789127] [<ffffffff81042845>] ? irq_exit+0xa5/0xb0 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.789185] [<ffffffff8100480b>] ? do_IRQ+0x5b/0xd0 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.789243] [<ffffffff813c0aea>] ? common_interrupt+0x6a/0x6a Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.789301] <EOI> [<ffffffff8104ac21>] ? get_next_timer_interrupt+0x1e1/0x280 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.789414] [<ffffffff8102ab82>] ? native_safe_halt+0x2/0x10 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.789474] [<ffffffff8100b847>] ? default_idle+0x47/0x190 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.789533] [<ffffffff8100b9e0>] ? amd_e400_idle+0x50/0x110 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.789593] [<ffffffff8100c466>] ? cpu_idle+0xb6/0xd0 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.789651] [<ffffffff8157fb77>] ? start_kernel+0x366/0x371 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.789711] [<ffffffff8157f627>] ? repair_env_string+0x5b/0x5b Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.789771] [<ffffffff8157f436>] ? x86_64_start_kernel+0x105/0x114 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.789831] ---[ end trace ad41e3fec21667dd ]---Shorter traces :
Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537129] WARNING: at net/core/dev.c:1888 skb_warn_bad_offload+0xb6/0xc1() Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537156] Hardware name: PowerEdge M605 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537178] : caps=(0x0000000000005000, 0x0000000000000000) len=23220 data_len=21720 gso_size=1448 gso_type=1 ip_summed=1 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537226] Modules linked in: rbd libceph ipt_MASQUERADE iptable_nat nf_nat
ipt_REJECTveth fusext_physdevxt_iprangext_multiportip6table_filterip6_tablesxt_LOGxt_limitxt_tcpudpxt_stateiptable_filterip_tablesx_tablesnf_conntrack_tftpnf_conntrack_ftpnf_conntrack_ipv4nf_defrag_ipv48021q bridge stp llc ext2 mbcachedm_round_robindm_multipathscsi_dhnf_conntrack_ipv6nf_conntracknf_defrag_ipv6ipv6powernow_k8freq_tablemperfkvm_amdsnd_pcmkvmsnd_timersnd soundcoresnd_page_alloctpm_tistpmtpm_biospcspkr evdev psmouse microcode joydev dcdbas shpchpi2c_nforce2pci_hotplugserio_rawprocessori2c_corehid_genericthermal_syshed button xfs exportfsdm_modses enclosure usbhid hid sgsr_modsd_modcdromusb_storagelpfcscsi_transport_fcscsi_tgtohci_hcdbnx2x mptsas mptscsih bnx2 mptbasescsi_transport_sascrc32cscsi_modlibcrc32c mdioehci_hcd[last
unloaded:scsi_wait_scan]Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537632] Pid: 22553, comm: smtp Tainted: G W 3.5.0-dsiun-120521 #5 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537673] Call Trace: Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537691] <IRQ> [<ffffffff813bde00>] ? skb_warn_bad_offload+0x6f/0xc1 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537720] [<ffffffff8103a109>] ? warn_slowpath_common+0x79/0xc0 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537747] [<ffffffff8103a205>] ? warn_slowpath_fmt+0x45/0x50 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537773] [<ffffffff813bde47>] ? skb_warn_bad_offload+0xb6/0xc1 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537800] [<ffffffff813110e7>] ? skb_gso_segment+0x207/0x280 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537826] [<ffffffff81313f26>] ? dev_hard_start_xmit+0x1f6/0x620 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537853] [<ffffffff8132f17d>] ? sch_direct_xmit+0xfd/0x1d0 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537879] [<ffffffff813147a4>] ? dev_queue_xmit+0x454/0x610 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537907] [<ffffffffa06f3c42>] ? br_dev_queue_push_xmit+0x72/0xc0 [bridge] Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.537937] [<ffffffffa06fa673>] ? br_nf_post_routing+0x223/0x340 [bridge] Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.538103] [<ffffffffa06f3f42>] ? br_forward_finish+0x42/0x50 [bridge] Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.538132] [<ffffffffa06f9f29>] ? br_nf_forward_finish+0xb9/0x180 [bridge] Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.538704] [<ffffffff813124ca>] ? netif_receive_skb+0x1a/0x80 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.539024] <EOI> Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.539162] : caps=(0x0000000000005000, 0x0000000000000000) len=6250 data_len=4750 gso_size=1448 gso_type=1 ip_summed=1 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.539209] Modules linked in: rbd libceph ipt_MASQUERADE iptable_nat nf_nat
ipt_REJECTveth fusext_physdevxt_iprangext_multiportip6table_filterip6_tablesxt_LOGxt_limitxt_tcpudpxt_stateiptable_filterip_tablesx_tablesnf_conntrack_tftpnf_conntrack_ftpnf_conntrack_ipv4nf_defrag_ipv48021q bridge stp llc ext2 mbcachedm_round_robindm_multipathscsi_dhnf_conntrack_ipv6nf_conntracknf_defrag_ipv6ipv6powernow_k8freq_tablemperfkvm_amdsnd_pcmkvmsnd_timersnd soundcoresnd_page_alloctpm_tistpmtpm_biospcspkr evdev psmouse microcode joydev dcdbas shpchpi2c_nforce2pci_hotplugserio_rawprocessori2c_corehid_genericthermal_syshed button xfs exportfsdm_modses enclosure usbhid hid sgsr_modsd_modcdromusb_storagelpfcscsi_transport_fcscsi_tgtohci_hcdbnx2x mptsas mptscsih bnx2 mptbasescsi_transport_sascrc32cscsi_modlibcrc32c mdioehci_hcd[last
unloaded:scsi_wait_scan]Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.539614] Pid: 22553, comm: smtp Tainted: G W 3.5.0-dsiun-120521 #5 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.539654] Call Trace: Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.539673] <IRQ> [<ffffffff813bde00>] ? skb_warn_bad_offload+0x6f/0xc1 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.539702] [<ffffffff8103a109>] ? warn_slowpath_common+0x79/0xc0 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.539728] [<ffffffff8103a205>] ? warn_slowpath_fmt+0x45/0x50 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.539755] [<ffffffff813bde47>] ? skb_warn_bad_offload+0xb6/0xc1 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.539782] [<ffffffff813110e7>] ? skb_gso_segment+0x207/0x280 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.539808] [<ffffffff81313f26>] ? dev_hard_start_xmit+0x1f6/0x620 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.540933] [<ffffffff81042845>] ? irq_exit+0xa5/0xb0 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.543067] [<ffffffff813147a4>] ? dev_queue_xmit+0x454/0x610 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.543095] [<ffffffffa06f3c42>] ? br_dev_queue_push_xmit+0x72/0xc0 [bridge] Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.543125] [<ffffffffa06fa673>] ? br_nf_post_routing+0x223/0x340 [bridge] Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.543514] [<ffffffffa06f3fe0>] ? __br_forward+0x90/0xb0 [bridge] Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.543585] [<ffffffffa06fa2ab>] ? br_nf_pre_routing_finish+0x19b/0x340 [bridge] Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.543629] [<ffffffffa06fb0f2>] ? br_nf_pre_routing+0x3a2/0x650 [bridge] Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.543657] [<ffffffff8133c0c4>] ? nf_iterate+0x84/0xa0 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.543684] [<ffffffffa06f4c20>] ? br_handle_local_finish+0x50/0x50 [bridge] Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.543712] [<ffffffff8133c14e>] ? nf_hook_slow+0x6e/0x130 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.543739] [<ffffffffa06f4c20>] ? br_handle_local_finish+0x50/0x50 [bridge] Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.543767] [<ffffffff8133c14e>] ? nf_hook_slow+0x6e/0x130 Aug 1 14:37:41 singleton.u06.univ-nantes.prive kernel: [74424.543795][<
ffffffffa06f5098>] ?br_handle_frame+0x1c8/0x260[bridge]Despite thoses messages, the machine is still running OK. It runs lxc instances (and so , bridge & tun/tap), only one of thoses instances uses rbd.
I don't think the problem is ceph related.
This machine have bnx2 (Gb) & bnx2x (10Gb) - Lots of trafic is using bnx2x-.
I'm running 3.5.0 on other hosts (bnx2/bnx2x or ixgbe drivers) without problems. But it's not the same workload.
Quoted 7 lines
As the problem seems more or less gso related, I've deactivated gso two days ago. This cure the symptom, running ok since.
Anyone here seeing this problem ?
Cheers,
I dont know, maybe its more a GRO issue ?
When a NIC delivers skbs with ip_summed set to CHECKSUM_UNNECESSARY, should resulting GRO packet have ip_summed set to CHECKSUM_PARTIAL ?
CC Ben and Herbert
Quoted 48 lines · Eric Dumazet
Quoted 47 lines · Yann Dupont
Hello everybody,
I have a machine using ceph rbd volume, as a client (rbd module) to backup data.
I was running kernel 3.2.22 ok. Tried 3.5.0 because some rbd fixes went in.
Now, shortly after the start, my logs are filled by that :
Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.780860] WARNING: at net/core/dev.c:1888 skb_warn_bad_offload+0xb6/0xc1() Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.780920] Hardware name: PowerEdge M605 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.780990] : caps=(0x0000000000005000, 0x0000000000000000) len=7292 data_len=5792 gso_size=1448 gso_type=1 ip_summed=1 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.781071] Modules linked in: rbd libceph ipt_MASQUERADE iptable_nat nf_nat
ipt_REJECTveth fusext_physdevxt_iprangext_multiportip6table_filterip6_tablesxt_LOGxt_limitxt_tcpudpxt_stateiptable_filterip_tablesx_tablesnf_conntrack_tftpnf_conntrack_ftpnf_conntrack_ipv4nf_defrag_ipv48021q bridge stp llc ext2 mbcachedm_round_robindm_multipathscsi_dhnf_conntrack_ipv6nf_conntracknf_defrag_ipv6ipv6powernow_k8freq_tablemperfkvm_amdsnd_pcmkvmsnd_timersnd soundcoresnd_page_alloctpm_tistpmtpm_biospcspkr evdev psmouse microcode joydev dcdbas shpchpi2c_nforce2pci_hotplugserio_rawprocessori2c_corehid_genericthermal_syshed button xfs exportfsdm_modses enclosure usbhid hid sgsr_modsd_modcdromusb_storagelpfcscsi_transport_fcscsi_tgtohci_hcdbnx2x mptsas mptscsih bnx2 mptbasescsi_transport_sascrc32cscsi_modlibcrc32c mdioehci_hcd[last
unloaded:scsi_wait_scan]Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.785995] Pid: 0, comm: swapper/0 Not tainted 3.5.0-dsiun-120521 #5 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786055] Call Trace: Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786108] <IRQ> [<ffffffff813bde00>] ? skb_warn_bad_offload+0x6f/0xc1 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786209] [<ffffffff8103a109>] ? warn_slowpath_common+0x79/0xc0 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786269] [<ffffffff8103a205>] ? warn_slowpath_fmt+0x45/0x50 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786330] [<ffffffff81068647>] ? get_nohz_timer_target+0x57/0xd0 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786390] [<ffffffff813bde47>] ? skb_warn_bad_offload+0xb6/0xc1 Jul 31 18:15:01 singleton.u06.univ-nantes.prive kernel: [ 1175.786452][<
ffffffff813110e7>] ?skb_gso_segment+0x207/0x280
[...]
Quoted 4 lines
I dont know, maybe its more a GRO issue ?
When a NIC delivers skbs with
ip_summedset toCHECKSUM_UNNECESSARY, should resulting GRO packet haveip_summedset toCHECKSUM_PARTIAL?
I think GRO is doing the right thing, and I can't think why we should see ip_summed = CHECKSUM_PARTIAL if the skb is forwarded by a bridge. I think skb_gso_segment() now needs to handle CHECKSUM_UNNECESSARY without warning, and it can be done somewhat more efficiently (as there is no need to copy payload and generate checksums).
By the way, the warning in skb_gso_segment() is not new, even though I changed it recently. I don't know why it might have started being triggered between 3.2 and 3.5.
Ben.
Signature · 3 lines
Ben Hutchings, Staff Engineer, Solarflare Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked.
Quoted 3 lines · Ben Hutchings
I think GRO is doing the right thing, and I can't think why we should see
ip_summed=CHECKSUM_PARTIALif the skb is forwarded by a bridge. I
If it is was created by GRO then it should always be CHECKSUM_PARTIAL, even if it came through a bridge.
Cheers,
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Quoted 9 lines · Herbert Xu
Quoted 3 lines · Ben Hutchings
I think GRO is doing the right thing, and I can't think why we should see
ip_summed=CHECKSUM_PARTIALif the skb is forwarded by a bridge. IIf it is was created by GRO then it should always be
CHECKSUM_PARTIAL, even if it came through a bridge.Cheers,
Is LRO on for bnx2x device? It should be off when forwarding is enabled.
Quoted 7 lines · Herbert Xu
Quoted 3 lines · Ben Hutchings
I think GRO is doing the right thing, and I can't think why we should see
ip_summed=CHECKSUM_PARTIALif the skb is forwarded by a bridge. IIf it is was created by GRO then it should always be
CHECKSUM_PARTIAL, even if it came through a bridge.
Not sure where in GRO we set ip_summed to CHECKSUM_PARTIAL ?
Quoted 10 lines · Eric Dumazet
Quoted 7 lines · Herbert Xu
Quoted 3 lines · Ben Hutchings
I think GRO is doing the right thing, and I can't think why we should see
ip_summed=CHECKSUM_PARTIALif the skb is forwarded by a bridge. IIf it is was created by GRO then it should always be
CHECKSUM_PARTIAL, even if it came through a bridge.Not sure where in GRO we set
ip_summedtoCHECKSUM_PARTIAL?
tcp_gro_complete
Chers,
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Quoted 2 lines · Herbert Xu
tcp_gro_complete
Oops thats right, thanks ;)
Quoted 6 lines · Eric Dumazet
As the problem seems more or less gso related, I've deactivated gso two days ago. This cure the symptom, running ok since.
Anyone here seeing this problem ?
Quoted 10 lines
Cheers,
I dont know, maybe its more a GRO issue ?
When a NIC delivers skbs with
ip_summedset toCHECKSUM_UNNECESSARY, should resulting GRO packet haveip_summedset toCHECKSUM_PARTIAL?CC Ben and Herbert
Hello. I'm still seeing this issue with 3.7.0
example :
[335685.629630] ------------[ cut here ]------------ [335685.629661] WARNING: at net/core/dev.c:1941 skb_warn_bad_offload+0xb6/0xc1() [335685.629691] Hardware name: PowerEdge M610 [335685.629720] : caps=(0x0000000000005000, 0x0000000000000000) len=12808 data_len=11308 gso_size=1448 gso_type=1 ip_summed=1 [335685.629769] Modules linked in: nfnetlink_log nfnetlink ip6table_raw iptable_raw openvswitch veth ebtable_nat ebtables dlm sctp configfs nfsd auth_rpcgss nfs_acl nfs lockd fscache sunrpc xt_physdev xt_multiport ip6table_filter ip6_tables xt_LOG xt_limit xt_tcpudp xt_state iptable_filter ip_tables x_tables nf_conntrack_tftp nf_conntrack_ftp nf_conntrack_ipv4 nf_defrag_ipv4 8021q bridge stp llc ext2 mbcache dm_round_robin nf_conntrack_ipv6 nf_defrag_ipv6 nf_conntrack dm_multipath scsi_dh ipv6 coretemp kvm iTCO_wdt snd_pcm ioatdma lpc_ich snd_page_alloc i7core_edac mfd_core snd_timer edac_core crc32c_intel snd soundcore pcspkr dca dcdbas microcode joydev evdev processor hed button thermal_sys xfs exportfs btrfs zlib_deflate dm_mod sg sd_mod hid_generic usbhid hid ata_generic uhci_hcd ata_piix libata ide_pci_generic lpfc ide_core mptsas bnx2x scsi_transport_sas mptscsih mdio mptbase ehci_hcd scsi_transport_fc scsi_tgt crc32c scsi_mod libcrc32c bnx2 [335685.630305] Pid: 0, comm: swapper/4 Tainted: G W 3.7.0-dsiun-121008 #2 [335685.630348] Call Trace: [335685.630368] <IRQ> [<ffffffff813d1400>] ? skb_warn_bad_offload+0x74/0xc1 [335685.630403] [<ffffffff8103e839>] ? warn_slowpath_common+0x79/0xc0 [335685.630430] [<ffffffff8103e935>] ? warn_slowpath_fmt+0x45/0x50 [335685.630458] [<ffffffff813d1442>] ? skb_warn_bad_offload+0xb6/0xc1 [335685.630486] [<ffffffff81321af6>] ? skb_gso_segment+0x206/0x280 [335685.630513] [<ffffffff81324ada>] ? dev_hard_start_xmit+0x9a/0x4a0 [335685.630542] [<ffffffffa0087cde>] ? ipv4_confirm+0xae/0x110 [nf_conntrack_ipv4] [335685.630590] [<ffffffffa13ceeb0>] ? br_parse_ip_options+0x220/0x220 [bridge] [335685.630620] [<ffffffff813403dd>] ? sch_direct_xmit+0xfd/0x1d0 [335685.630647] [<ffffffff8132529e>] ? dev_queue_xmit+0x16e/0x410 [335685.630679] [<ffffffffa13c8c62>] ? br_dev_queue_push_xmit+0x72/0xc0 [bridge] [335685.630723] [<ffffffffa13cfb33>] ? br_nf_post_routing+0x223/0x340 [bridge] [335685.630754] [<ffffffffa13c8bf0>] ? deliver_clone+0x60/0x60 [bridge] [335685.630785] [<ffffffff8134d50d>] ? nf_iterate+0x8d/0xc0 [335685.630813] [<ffffffffa13cef30>] ? br_nf_dev_queue_xmit+0x80/0x80 [bridge] [335685.630843] [<ffffffffa13c8bf0>] ? deliver_clone+0x60/0x60 [bridge] [335685.630871] [<ffffffff8134d5ae>] ? nf_hook_slow+0x6e/0x130 [335685.630898] [<ffffffffa13c8bf0>] ? deliver_clone+0x60/0x60 [bridge] [335685.630927] [<ffffffffa13c8f20>] ? br_multicast_flood+0x170/0x170 [bridge] [335685.630958] [<ffffffffa13c8f62>] ? br_forward_finish+0x42/0x50 [bridge] [335685.630988] [<ffffffffa13cefe9>] ? br_nf_forward_finish+0xb9/0x180 [bridge] [335685.631018] [<ffffffffa13cf7d3>] ? br_nf_forward_ip+0x293/0x3d0 [bridge] [335685.631051] [<ffffffffa13c8f20>] ? br_multicast_flood+0x170/0x170 [bridge] [335685.631081] [<ffffffff8134d50d>] ? nf_iterate+0x8d/0xc0 [335685.631111] [<ffffffffa13c8f20>] ? br_multicast_flood+0x170/0x170 [bridge] [335685.631140] [<ffffffff8134d5ae>] ? nf_hook_slow+0x6e/0x130 [335685.631168] [<ffffffffa13c8f20>] ? br_multicast_flood+0x170/0x170 [bridge] [335685.631198] [<ffffffffa13c9000>] ? __br_forward+0x90/0xb0 [bridge] [335685.631227] [<ffffffffa13c9e44>] ? br_handle_frame_finish+0x214/0x2b0 [bridge] [335685.631272] [<ffffffffa13cf31f>] ? br_nf_pre_routing_finish+0x14f/0x370 [bridge] [335685.631317] [<ffffffffa13d01e2>] ? br_nf_pre_routing+0x3a2/0x650 [bridge] [335685.631348] [<ffffffffa13c9c30>] ? br_handle_local_finish+0x50/0x50 [bridge] [335685.631391] [<ffffffff8134d50d>] ? nf_iterate+0x8d/0xc0 [335685.631419] [<ffffffffa13c9c30>] ? br_handle_local_finish+0x50/0x50 [bridge] [335685.631462] [<ffffffff8134d5ae>] ? nf_hook_slow+0x6e/0x130 [335685.631514] [<ffffffffa13c9c30>] ? br_handle_local_finish+0x50/0x50 [bridge] [335685.631562] [<ffffffffa13ca0c0>] ? br_handle_frame+0x1e0/0x280 [bridge] [335685.631591] [<ffffffff81323135>] ? __netif_receive_skb+0x215/0x860 [335685.631619] [<ffffffff81125417>] ? alloc_pages_current+0xb7/0x130 [335685.631648] [<ffffffff8100a3f5>] ? read_tsc+0x5/0x20 [335685.631677] [<ffffffff8132390a>] ? netif_receive_skb+0x1a/0x80 [335685.631704] [<ffffffff81323a60>] ? napi_skb_finish+0x50/0x70 [335685.631735] [<ffffffffa02456e6>] ? bnx2x_rx_int+0x6a6/0x1500 [bnx2x] [335685.631765] [<ffffffffa13c9c30>] ? br_handle_local_finish+0x50/0x50 [bridge] [335685.631810] [<ffffffffa13ca0c0>] ? br_handle_frame+0x1e0/0x280 [bridge] [335685.632982] [<ffffffffa02465d3>] ? bnx2x_poll+0x93/0x2b0 [bnx2x] [335685.633010] [<ffffffff81323135>] ? __netif_receive_skb+0x215/0x860 [335685.633038] [<ffffffff813242e8>] ? net_rx_action+0x138/0x240 [335685.633065] [<ffffffff810469ae>] ? __do_softirq+0xbe/0x1f0 [335685.633092] [<ffffffff813d5cdc>] ? call_softirq+0x1c/0x30 [335685.633118] [<ffffffff81004cb5>] ? do_softirq+0x75/0xb0 [335685.633144] [<ffffffff81046c45>] ? irq_exit+0xa5/0xb0 [335685.633170] [<ffffffff8100492b>] ? do_IRQ+0x5b/0xd0 [335685.633196] [<ffffffff813d416d>] ? common_interrupt+0x6d/0x6d [335685.633222] <EOI> [<ffffffff8125204c>] ? intel_idle+0xec/0x160 [335685.633257] [<ffffffff8125202a>] ? intel_idle+0xca/0x160 [335685.633286] [<ffffffff812f71bd>] ? cpuidle_idle_call+0x9d/0x240 [335685.633315] [<ffffffff8100c335>] ? cpu_idle+0x65/0xd0 [335685.633340] ---[ end trace 2142bc9cd23c0d87 ]---
Only seeing this with bridge activated, and with bnx2x ethtool -K eth2 gso cure the problem.
Cheers,
Signature · 2 lines
Yann Dupont - Service IRTS, DSI Université de Nantes Tel : 02.53.48.49.20 - Mail/Jabber : [email protected]