Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Dec 2013 12:32:33 +0100
From:      Ilya Bakulin <webmaster@kibab.com>
To:        Bryan Venteicher <bryanv@daemoninthecloset.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: vtnet broken on -CURRENT when using VirtualBox
Message-ID:  <52A458D1.5040605@kibab.com>
In-Reply-To: <1858127865.2551.1386462176032.JavaMail.root@daemoninthecloset.org>
References:  <52A37198.1030506@kibab.com> <1858127865.2551.1386462176032.JavaMail.root@daemoninthecloset.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08.12.13, 01:22, Bryan Venteicher wrote:
> 
> 
> ----- Original Message -----
>> 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
>> Please help me to debug this.
>>
> 
> I suspect I know what is wrong. What's the output of `ifconfig vtnetX`?

# ifconfig vtnet0
vtnet0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500

options=6c03bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        ether 08:00:27:96:b3:bc
        inet 192.168.56.10 netmask 0xffffff00 broadcast 192.168.56.255
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet 10Gbase-T <full-duplex>
        status: active

There are offloading capabilities present, but apparently VirtualBox
virtio doesn't do it correctly.

Running
# ifconfig vtnet0 -tso

solves the problem, I can log in via ssh just fine.

--
Ilya



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52A458D1.5040605>