From owner-freebsd-current@FreeBSD.ORG Sun Dec 8 00:29:03 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 75EBC115 for ; Sun, 8 Dec 2013 00:29:03 +0000 (UTC) Received: from torment.daemoninthecloset.org (torment.daemoninthecloset.org [94.242.209.234]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 36754145A for ; Sun, 8 Dec 2013 00:29:02 +0000 (UTC) Received: from sage.daemoninthecloset.org (unknown [70.114.209.60]) (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 B13BE42C26B6; Sun, 8 Dec 2013 01:23:02 +0100 (CET) X-Virus-Scanned: amavisd-new at daemoninthecloset.org X-Virus-Scanned: amavisd-new at daemoninthecloset.org Date: Sat, 7 Dec 2013 18:22:56 -0600 (CST) From: Bryan Venteicher To: Ilya Bakulin Message-ID: <1858127865.2551.1386462176032.JavaMail.root@daemoninthecloset.org> In-Reply-To: <52A37198.1030506@kibab.com> References: <52A37198.1030506@kibab.com> Subject: Re: vtnet broken on -CURRENT when using VirtualBox MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.10.20] X-Mailer: Zimbra 8.0.2_GA_5569 (ZimbraWebClient - GC30 ([unknown])/8.0.2_GA_5569) Thread-Topic: vtnet broken on -CURRENT when using VirtualBox Thread-Index: xz1btT2XoNjAVYtjSqUz4fl6bhwdmA== Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Dec 2013 00:29:03 -0000 ----- Original Message ----- > Hi list, > I'm observing a 100%-reproducible panic in the following setup: > > Host system: FreeBSD 9.1-RELEASE-p7 amd64 > $ pkg info | grep virtualbox > virtualbox-ose-4.2.18_1 A general-purpose full virtualizer for > x86 hardware > virtualbox-ose-kmod-4.2.18 VirtualBox kernel module for FreeBSD > > System in a virtual machine: FreeBSD-CURRENT SVN rev 259064. > Virtual machine is created with virtio host-only adapter. > > When trying to ssh into VM, the system in VM panics with the following > message: > > panic: vtnet_txq_offload: mbuf 0xc309e900 TSO without checksum offload > KDB: stack backtrace: > db_trace_self_wrapper(c0b4fd4d,a6461,65393030,63333039,c13a29c0,...) at > db_trace_self_wrapper+0x2d/frame 0xc23f85a0 > kdb_backtrace(c0b4b145,c0c29a7c,c0b9b43d,c23f865c,c23f865c,...) at > kdb_backtrace+0x30/frame 0xc23f8608 > vpanic(c0c29918,100,c0b9b43d,c23f865c,c23f865c,...) at vpanic+0x80/frame > 0xc23f862c > kassert_panic(c0b9b43d,c0b9b466,c309e900,8b1,c0dad504,...) at > kassert_panic+0xe9/frame 0xc23f8650 > vtnet_txq_mq_start_locked(c2e02810,0,c0b9b369,8ea,c2e02810,...) at > vtnet_txq_mq_start_locked+0x62b/frame 0xc23f8808 > vtnet_txq_mq_start(c2cf7800,c309e900,6,c23f89e0,c23f8866,...) at > vtnet_txq_mq_start+0x76/frame 0xc23f8834 > ether_output(c2cf7800,c309e900,c23f89e0,c23f89d0,c36639d8,...) at > ether_output+0x64b/frame 0xc23f8888 > ip_output(c309e900,0,c23f89d0,0,0,...) at ip_output+0x173f/frame 0xc23f8938 > tcp_output(c36665e0,c342f400,32c,1,c36639d8,...) at > tcp_output+0x1cbf/frame 0xc23f8a9c > tcp_usr_send(c3410d40,0,c342f400,0,0,...) at tcp_usr_send+0x346/frame > 0xc23f8ad0 > sosend_generic(c3410d40,0,c23f8c10,0,0,...) at > sosend_generic+0x3b3/frame 0xc23f8b40 > soo_write(c3142f50,c23f8c10,c2cf0d00,0,c3108620,...) at > soo_write+0x5d/frame 0xc23f8b70 > dofilewrite(c3142f50,c23f8c10,ffffffff,ffffffff,0,...) at > dofilewrite+0x86/frame 0xc23f8ba8 > kern_writev(c3108620,3,c23f8c10,0,28c4d608,...) at > kern_writev+0x96/frame 0xc23f8bf0 > sys_write(c3108620,c23f8cc8,c23f8c98,c076b3a4,c0c36e90,...) at > sys_write+0x5c/frame 0xc23f8c40 > syscall(c23f8d08) at syscall+0x2de/frame 0xc23f8cfc > Xint0x80_syscall() at Xint0x80_syscall+0x21/frame 0xc23f8cfc > --- syscall (4, FreeBSD ELF32, sys_write), eip = 0x2840dd77, esp = > 0xbfbfb328, ebp = 0xbfbfb348 --- > KDB: enter: panic > [ thread pid 1570 tid 100065 ] > Stopped at kdb_enter+0x3d: movl $0,kdb_why > db> > > > Please help me to debug this. > I suspect I know what is wrong. What's the output of `ifconfig vtnetX`? > -- > Regards, > Ilya Bakulin > >