[Bug 227116] CURRENT doesn't boot with integer divide fault in uma_startup_count
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Mar 31 18:47:42 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227116
--- Comment #18 from Daniel Kolesa <daniel at octaforge.org> ---
Created attachment 192014
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=192014&action=edit
patched kernel
I built the kernel on my server and replaced it in the installer image, but it
still fails at the same place. Backtrace photo in attachment, kgdb here:
(kgdb) list *uma_startup_count+0xd6
0xffffffff80e3e7b6 is in uma_startup_count (/usr/src/sys/vm/uma_core.c:1827).
1822 /* Memory for the rest of startup zones, UMA and VM, ... */
1823 if (roundup2(zsize, UMA_BOOT_ALIGN) > UMA_SLAB_SIZE)
1824 pages += (zones + vm_zones) *
1825 howmany(roundup2(zsize, UMA_BOOT_ALIGN),
UMA_SLAB_SIZE);
1826 else
1827 pages += howmany(zones,
1828 UMA_SLAB_SPACE / roundup2(zsize, UMA_BOOT_ALIGN));
1829
1830 /* ... and their kegs. Note that zone of zones allocates a keg!
*/
1831 pages += howmany(zones + 1,
As you can see from the source, it still fails in the very same place, and you
can also see how I patched it. You can also see from the uname in the photo
that it is indeed the patched kernel.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list