Re: vtnet broken on -CURRENT when using VirtualBox

From: Ilya Bakulin <webmaster_at_kibab.com>
Date: Sun, 08 Dec 2013 12:32:33 +0100
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
Received on Sun Dec 08 2013 - 10:32:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:45 UTC