From owner-freebsd-bugs@freebsd.org Sat Mar 31 18:47:42 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6D4F2F776F6 for ; Sat, 31 Mar 2018 18:47:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0A5DE70E60 for ; Sat, 31 Mar 2018 18:47:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 03B361F305 for ; Sat, 31 Mar 2018 18:47:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w2VIlelG092487 for ; Sat, 31 Mar 2018 18:47:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w2VIle87092486 for freebsd-bugs@FreeBSD.org; Sat, 31 Mar 2018 18:47:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Sat, 31 Mar 2018 18:47:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: daniel@octaforge.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Mar 2018 18:47:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227116 --- Comment #18 from Daniel Kolesa --- 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.=