Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Sep 2017 15:23:17 +0300
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        Raphael Kubo da Costa <rakuco@FreeBSD.org>, freebsd-current@FreeBSD.org
Subject:   Re: r323412: Panic on boot (slab->us_keg == keg)
Message-ID:  <fded3e63-bb68-3fc5-e080-f7ed9aea00bc@yandex.ru>
In-Reply-To: <86vakp1vsq.fsf@orwell>
References:  <86vakp1vsq.fsf@orwell>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--V9hm9xq4IeluNd93DBMteQvAm97SKRv6h
Content-Type: multipart/mixed; boundary="DM7q59X1dta1vq6l18qHnFxMKOt9STwxr";
 protected-headers="v1"
From: "Andrey V. Elsukov" <bu7cher@yandex.ru>
To: Raphael Kubo da Costa <rakuco@FreeBSD.org>, freebsd-current@FreeBSD.org
Message-ID: <fded3e63-bb68-3fc5-e080-f7ed9aea00bc@yandex.ru>
Subject: Re: r323412: Panic on boot (slab->us_keg == keg)
References: <86vakp1vsq.fsf@orwell>
In-Reply-To: <86vakp1vsq.fsf@orwell>

--DM7q59X1dta1vq6l18qHnFxMKOt9STwxr
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 11.09.2017 11:31, Raphael Kubo da Costa wrote:
> I've recently tried to upgrade a HEAD VM (running on a Linux host with
> QEMU) from r321082 to r323412.
>=20
> The new kernel panics right after I try to boot into it with:
>=20
> panic: Assertion slab->us_keg =3D=3D keg failed at /usr/src/sys/vm/uma_=
core.c:2285
> cpuid =3D 0
> time =3D 1
> KDB: stack backtrace:
> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xffffffff8=
1c4d780
> vpanic() at vpanic+0x19c/frame 0xffffffff81c4d800
> kassert_panic() at kassert_panic+0x126/frame 0xffffffff81c4d870
> keg_fetch_slab() at keg_fetch_slab+0x2a9/frame 0xffffffff81c4d8c0
> zone_fetch_slab() at zone_fetch_slab+0x51/frame 0xffffffff81c4d8f0
> zone_import() at zone_import+0x4f/frame 0xffffffff81c4d960
> zone_alloc_item() at zone_alloc_item+0x36/frame 0xffffffff81c4d9a0
> uma_zcreate() at uma_zcreate+0x3d3/frame 0xffffffff81c4da40
> uma_startup() at uma_startup+0x147/frame 0xffffffff81c4dae0
> vm_page_startup() at vm_page_startup+0x34e/frame 0xffffffff81c4db30
> vm_mem_init() at vm_mem_init+0x1a/frame 0xffffffff81c4db50
> mi_startup() at mi_startup+0x9c/frame 0xffffffff81c4db70
> btext() at btext+0x2c
> KDB: enter: panic
> [ thread 0 pid 0 tid 0 ]

I have r323177 based system without INVARIANTS that panics at
netboot with similar trace:

Fatal trap 12: page fault while in kernel mode
cpuid =3D 0; apic id =3D 00
fault virtual address   =3D 0x84
fault code              =3D supervisor read data, page not present
instruction pointer     =3D 0x20:0xffffffff80d84870
stack pointer           =3D 0x28:0xffffffff82193970
frame pointer           =3D 0x28:0xffffffff821939b0
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        =3D resume, IOPL =3D 0
current process         =3D 0 ()
trap number             =3D 12
panic: page fault
cpuid =3D 0
time =3D 1
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame
0xffffffff82193550
vpanic() at vpanic+0x19c/frame 0xffffffff821935d0
panic() at panic+0x43/frame 0xffffffff82193630
trap_fatal() at trap_fatal+0x34d/frame 0xffffffff82193680
trap_pfault() at trap_pfault+0x49/frame 0xffffffff821936e0
trap() at trap+0x2a9/frame 0xffffffff821938a0
calltrap() at calltrap+0x8/frame 0xffffffff821938a0
--- trap 0xc, rip =3D 0xffffffff80d84870, rsp =3D 0xffffffff82193970, rbp=
 =3D
0xffffffff821939b0 ---
zone_import() at zone_import+0x110/frame 0xffffffff821939b0
zone_alloc_item() at zone_alloc_item+0x36/frame 0xffffffff821939f0
uma_startup() at uma_startup+0x1d0/frame 0xffffffff82193ae0
vm_page_startup() at vm_page_startup+0x34e/frame 0xffffffff82193b30
vm_mem_init() at vm_mem_init+0x1a/frame 0xffffffff82193b50
mi_startup() at mi_startup+0x9c/frame 0xffffffff82193b70
btext() at btext+0x2c
Uptime: 1s

--=20
WBR, Andrey V. Elsukov


--DM7q59X1dta1vq6l18qHnFxMKOt9STwxr--

--V9hm9xq4IeluNd93DBMteQvAm97SKRv6h
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlm2gDUACgkQAcXqBBDI
oXpY+Qf/Wo2ChTpEyw0ZIEgTjTAM9qSE0sLbjVwYNBfjPXczGW+4YnE2lrDQSRbo
yKOlkZBMZ/W6sbUV0Lb5GIFgElCtQYjzEEJ+YvS7x5mJGrxZosDHpB8QC3920a6L
rnGa64tY80/tIqEvZjl1Pk0NAJb2vOj/fpfLlgs1PNtWdjX3UEgI5fcFlU3g8/Ab
nuc08JDgEYv+C6AgQxTTun6CRkNrIybP734x44j3GAt+q6wRlzbf6LS98qOIOUvV
T2TRItcYrh4Em1TTEwt/lNsrADn3JRQCIR3n0dcWW6RooLZClfKUBmT/zPM0/sUH
26a8SneXuG1lPpA2mQl2T2LqH+4XEg==
=dbUy
-----END PGP SIGNATURE-----

--V9hm9xq4IeluNd93DBMteQvAm97SKRv6h--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fded3e63-bb68-3fc5-e080-f7ed9aea00bc>