Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Mar 2018 14:48:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 227116] CURRENT doesn't boot with integer divide fault in uma_startup_count
Message-ID:  <bug-227116-8-VOSn5gS33J@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-227116-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-227116-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227116

--- Comment #9 from Daniel Kolesa <daniel@octaforge.org> ---
Actually, I managed to obtain a kernel-dbg.txz of the same snapshot and kgd=
b it
on my server, which runs HardenedBSD 11-STABLE.

This is the output:

(kgdb) list *uma_startup_count+0xe6
0xffffffff80e13296 is in uma_startup_count (/usr/src/sys/vm/uma_core.c:1827=
).
1822=20=20=20=20
1823            bucket_init();
1824=20=20=20=20
1825            booted =3D UMA_STARTUP;
1826=20=20=20=20
1827    #ifdef UMA_DEBUG
1828            printf("UMA startup complete.\n");
1829    #endif
1830    }
1831=20=20=20=20

The printed lines appear to be wrong. The actual line (1827) though appears
correct, it's consistent with what I guessed from my disassembly.

1827            pages +=3D howmany(zones,
1828                UMA_SLAB_SPACE / roundup2(zsize, UMA_BOOT_ALIGN));

Sadly, without a dump, it won't be possible inspect the memory, and I reali=
zed
I cannot obtain a crash dump as the kernel panic happens immediately after =
it's
loaded, before userspace and therefore before any swap/dump device could be=
 set
up.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227116-8-VOSn5gS33J>