Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Aug 2018 16:20:51 +0200
From:      Marko Zec <zec@fer.hr>
To:        Olivier =?ISO-8859-1?Q?Cochard-Labb=E9?= <olivier@freebsd.org>
Cc:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>, freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: Loading carp module crash i386 (12-ALPHA2), seems VNET related
Message-ID:  <20180821162051.4fd0f1eb@x23>
In-Reply-To: <D948BD06-D627-4D9B-BFDA-AA1D077ECEFB@lists.zabbadoz.net>
References:  <CA%2Bq%2BTcqN-YAXKQuZPQcrjmgABJJ22Pm%2B9-B9%2BZ8LH==0o%2Bg2BA@mail.gmail.com> <20180821113051.7d35bc39@x23> <CA%2Bq%2BTcr=LXEQ1tzgycY5hhJ6X5CKvu2QgW1J-rvoGjsXyD=L8A@mail.gmail.com> <D948BD06-D627-4D9B-BFDA-AA1D077ECEFB@lists.zabbadoz.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--MP_/4Myh3kMKzIkherxz0vVdmsw
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Tue, 21 Aug 2018 13:15:04 +0000
"Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> wrote:
...
>  From the backtrace it seems like VNET_PCPUSTAT_SYSINIT() or the
> kernel linker, or possible pcpu things.  People have recently been
> touching almost all of this :(
> 
> Do you have a last-good revision?

Perhaps the PCPU area is overflowing?  Maybe increasing the
UMA_PCPU_ALLOC_SIZE could make the panic go away (this by no means
should be considered a proper fix)?

Marko

--MP_/4Myh3kMKzIkherxz0vVdmsw
Content-Type: text/x-patch
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="pcpu_overflow_hunch.diff"

Index: sys/sys/pcpu.h
===================================================================
--- sys/sys/pcpu.h	(revision 338128)
+++ sys/sys/pcpu.h	(working copy)
@@ -219,7 +219,7 @@
 #endif
 #define	curvidata	PCPU_GET(vidata)
 
-#define UMA_PCPU_ALLOC_SIZE		PAGE_SIZE
+#define UMA_PCPU_ALLOC_SIZE		(PAGE_SIZE * 16)
 
 #ifdef CTASSERT
 #if defined(__i386__) || defined(__amd64__)

--MP_/4Myh3kMKzIkherxz0vVdmsw--



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