Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Mar 2018 18:47:39 +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-resL9rodHx@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 #18 from Daniel Kolesa <daniel@octaforge.org> ---
Created attachment 192014
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D192014&action=
=3Dedit
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 +=3D (zones + vm_zones) *
1825                        howmany(roundup2(zsize, UMA_BOOT_ALIGN),
UMA_SLAB_SIZE);
1826            else
1827                    pages +=3D howmany(zones,
1828                        UMA_SLAB_SPACE / roundup2(zsize, UMA_BOOT_ALIGN=
));
1829=20=20=20=20
1830            /* ... and their kegs. Note that zone of zones allocates a =
keg!
*/
1831            pages +=3D 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.

--=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-resL9rodHx>