Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2017 22:56:08 +0300
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        SK <fbstable@cps-intl.org>, freebsd-stable@freebsd.org, freebsd-xen@freebsd.org, freebsd-virtualization@freebsd.org, "Bjoern A. Zeeb" <bz@FreeBSD.org>
Subject:   Re: FreeBSD 11 Stable on a Xen :: bridge0 crashing server :: &ro
Message-ID:  <7df0bac1-6f7c-c332-e65c-e5ec7a6f9112@yandex.ru>
In-Reply-To: <6cf1e470-f218-8c7a-bf94-9dcbf3320eef@cps-intl.org>
References:  <7c06aea6-0b10-e9c0-d750-f42d4a406258@cps-intl.org> <alpine.BSF.2.20.1701201646350.1006@mail.fig.ol.no> <a54f9127-fa42-f90a-217b-e7c7add6fb80@yandex.ru> <20170120164427.gghtafg2cfugnoro@dhcp-3-221.uk.xensource.com> <6cf1e470-f218-8c7a-bf94-9dcbf3320eef@cps-intl.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 20.01.2017 21:10, SK wrote:
>>>> Note, I'm not a developer nor a committer, just a humble sysadmin.
>>> This problem is unrelated. ARP statistics is global and isn't related to
>>> some specific interface. IMHO, the kernel panics due to missing VNET
>>> context. As I see from the code in sys/dev/xen, it is not capable with
>>> VIMAGE.
>> I cannot really look into this right now due to lack of time, but I'm
>> more than
>> happy to review/apply patches in order to fix this.
>>
>> Roger.
>>
> Further to my previous, since the provider of the VPS confirmed that
> they could run FreeBSD 10 and use bridge without any issue, I thought
> I'd have a look. The section from my crash-debug
> 0xffffffff80c2dd93 is in arprequest (/usr/src/sys/netinet/if_ether.c:427).
> 422             ro.ro_flags = 0;
> 423
> 424             m->m_flags |= M_BCAST;
> 425             m_clrprotoflags(m);     /* Avoid confusing lower layers. */
> 426             (*ifp->if_output)(ifp, m, &sa, &ro);
> 427             ARPSTAT_INC(txrequests);
> 428     }
> 429
> 430

Well, as I said, there is no VNET support in the sys/dev/xen.
It may work without problems even if you have compiled it with VIMAGE 
enabled. But it will crash just after you try to start some VNET-jail.
It is just not implemented yet.

-- 
WBR, Andrey V. Elsukov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7df0bac1-6f7c-c332-e65c-e5ec7a6f9112>