From owner-freebsd-stable@FreeBSD.ORG Sun Nov 4 01:54:36 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6B4D9849 for ; Sun, 4 Nov 2012 01:54:36 +0000 (UTC) (envelope-from bryanv@daemoninthecloset.org) Received: from torment.daemoninthecloset.org (ip-94-242-209-234.as5577.net [94.242.209.234]) by mx1.freebsd.org (Postfix) with ESMTP id 01EE28FC12 for ; Sun, 4 Nov 2012 01:54:35 +0000 (UTC) Received: from sage.daemoninthecloset.org (unknown [70.114.196.48]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "sage.daemoninthecloset.org", Issuer "daemoninthecloset.org" (verified OK)) by torment.daemoninthecloset.org (Postfix) with ESMTPS id 2DC1942C088A; Sun, 4 Nov 2012 02:56:04 +0100 (CET) X-Virus-Scanned: amavisd-new at daemoninthecloset.org Received: from sage.daemoninthecloset.org (sage.daemoninthecloset.org [127.0.1.1]) by sage.daemoninthecloset.org (Postfix) with ESMTP id 9D8B16F3EF; Sat, 3 Nov 2012 20:53:40 -0500 (CDT) Date: Sat, 3 Nov 2012 20:53:39 -0500 (CDT) From: Bryan Venteicher To: bane ivosev Message-ID: <2103527496.1667.1351994019607.JavaMail.root@daemoninthecloset.org> In-Reply-To: <5095BDD1.40504@pmf.uns.ac.rs> Subject: Re: kvm vlan virtio problem MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.51.1.14] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - GC22 (Mac)/7.2.0_GA_2669) Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Nov 2012 01:54:36 -0000 Hi, ----- Original Message ----- > From: "Bane Ivosev" > To: "Bryan Venteicher" , freebsd-stable@freebsd.org > Sent: Saturday, November 3, 2012 7:58:57 PM > Subject: Re: kvm vlan virtio problem > > thanks bryan, i don't have vlans inside guest. > > as you suggested i disabled nic tso > > ifconfig vtnet0 -tso > and > sysctl net.inet.tcp.tso=0 and > > so far, so good! > everything is ok now. > > once again, thanks a lot. > No need to disable TSO globally. So it seems if_vtnet sending down TSO frames that don't have the appropriate flags set. I'll look into it more in a next couple of days. Thanks for the quick reply back. Bryan > > On 11/03/2012 09:40 PM, Bryan Venteicher wrote: > > Hi, > > > > ----- Original Message ----- > >> From: "Bane Ivosev" > >> To: freebsd-stable@freebsd.org > >> Sent: Saturday, November 3, 2012 2:12:25 PM > >> Subject: kvm vlan virtio problem > >> > >> hi, i have several kvm ubuntu 12.04 and centos 6 hosts with > >> standard > >> bridged network setup. same problem on each server with freebsd 9 > >> amd64 > >> guest and virtio nic: soon after guest start host syslog is > >> filling > >> with > >> this message at very high rate. guest is working without any > >> problem. > >> with e1000 guest driver eveything is ok. > >> > >> does enyone have/had same problem? > >> > >> thanks. > >> > > > > I have a vague recollection of looking at something similar last > > year... > > > > Do you have VLAN configured in the guest as well? What is the > > ifconfig > > output? Does disabling TSO on the vtnetX device make these messages > > go > > away? > > > > Bryan > > > >> > >> kernel: [2337728.094141] ------------[ cut here ]------------ > >> kernel: [2337728.094144] WARNING: at > >> /build/buildd/linux-3.2.0/net/core/dev.c:1955 > >> skb_gso_segment+0x341/0x3b0() > >> kernel: [2337728.094146] Hardware name: System x3550 M3 > >> -[7944K3G]- > >> kernel: [2337728.094148] 802.1Q VLAN Support: caps=(0x30195833, > >> 0x0) > >> len=3196 data_len=0 ip_summed=0 > >> kernel: [2337728.094149] Modules linked in: dm_snapshot > >> ip6table_filter ip6_tables ebtable_nat ebtables ipt_MASQUERADE > >> iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state > >> nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp > >> iptable_filter ip_tables x_tables kvm_intel kvm dm_crypt nfsd nfs > >> lockd > >> fscache auth_rpcgss nfs_acl sunrpc nls_iso8859_1 nls_cp437 vfat > >> fat > >> 8021q garp bridge stp serio_raw cdc_ether usbnet vhost_net macvtap > >> i7core_edac macvlan shpchp ioatdma edac_core dca tpm_tis lp > >> parport > >> mac_hid btrfs zlib_deflate libcrc32c usbhid hid megaraid_sas bnx2 > >> kernel: [2337728.094177] Pid: 8685, comm: vhost-8683 Tainted: G > >> W 3.2.0-31-generic #50-Ubuntu > >> kernel: [2337728.094179] Call Trace: > >> kernel: [2337728.094180] [] > >> warn_slowpath_common+0x7f/0xc0 > >> kernel: [2337728.094185] [] > >> warn_slowpath_fmt+0x46/0x50 > >> kernel: [2337728.094188] [] > >> skb_gso_segment+0x341/0x3b0 > >> kernel: [2337728.094191] [] > >> dev_hard_start_xmit+0xc1/0x540 > >> kernel: [2337728.094196] [] ? > >> br_flood+0xc0/0xc0 > >> [bridge] > >> kernel: [2337728.094199] [] > >> dev_queue_xmit+0x2aa/0x420 > >> kernel: [2337728.094203] [] > >> br_dev_queue_push_xmit+0x92/0xd0 [bridge] > >> kernel: [2337728.094208] [] > >> br_forward_finish+0x58/0x60 [bridge] > >> kernel: [2337728.094212] [] > >> __br_forward+0xab/0xd0 > >> [bridge] > >> kernel: [2337728.094217] [] > >> br_forward+0x5d/0x70 > >> [bridge] > >> kernel: [2337728.094221] [] > >> br_handle_frame_finish+0x182/0x2a0 [bridge] > >> kernel: [2337728.094226] [] > >> br_handle_frame+0x1c8/0x270 [bridge] > >> kernel: [2337728.094231] [] ? > >> br_handle_frame_finish+0x2a0/0x2a0 [bridge] > >> kernel: [2337728.094234] [] > >> __netif_receive_skb+0x1e2/0x520 > >> kernel: [2337728.094237] [] > >> process_backlog+0xb1/0x190 > >> kernel: [2337728.094240] [] > >> net_rx_action+0x134/0x290 > >> kernel: [2337728.094242] [] ? > >> _raw_spin_lock+0xe/0x20 > >> kernel: [2337728.094245] [] > >> __do_softirq+0xa8/0x210 > >> kernel: [2337728.094248] [] > >> call_softirq+0x1c/0x30 > >> kernel: [2337728.094249] [] > >> do_softirq+0x65/0xa0 > >> kernel: [2337728.094254] [] > >> netif_rx_ni+0x28/0x30 > >> kernel: [2337728.094258] [] > >> tun_get_user+0x306/0x4a0 > >> kernel: [2337728.094261] [] > >> tun_sendmsg+0x25/0x30 > >> kernel: [2337728.094265] [] > >> handle_tx+0x296/0x530 > >> [vhost_net] > >> kernel: [2337728.094269] [] > >> handle_tx_kick+0x15/0x20 [vhost_net] > >> kernel: [2337728.094273] [] > >> vhost_worker+0xdd/0x170 > >> [vhost_net] > >> kernel: [2337728.094276] [] ? > >> vhost_set_memory+0x130/0x130 [vhost_net] > >> kernel: [2337728.094279] [] > >> kthread+0x8c/0xa0 > >> kernel: [2337728.094282] [] > >> kernel_thread_helper+0x4/0x10 > >> kernel: [2337728.094285] [] ? > >> flush_kthread_worker+0xa0/0xa0 > >> kernel: [2337728.094287] [] ? > >> gs_change+0x13/0x13 > >> kernel: [2337728.094289] ---[ end trace a38cf088269411b3 ]--- > >> kernel: [2337728.094731] ------------[ cut here ]------------ > >> _______________________________________________ > >> freebsd-stable@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable > >> To unsubscribe, send any mail to > >> "freebsd-stable-unsubscribe@freebsd.org" > >> > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to > > "freebsd-stable-unsubscribe@freebsd.org" >