From owner-freebsd-smp Thu Dec 4 22:26:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA21182 for smp-outgoing; Thu, 4 Dec 1997 22:26:46 -0800 (PST) (envelope-from owner-freebsd-smp) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA21169 for ; Thu, 4 Dec 1997 22:26:40 -0800 (PST) (envelope-from toor@dyson.iquest.net) Received: (from root@localhost) by dyson.iquest.net (8.8.7/8.8.8) id BAA00319; Fri, 5 Dec 1997 01:26:18 -0500 (EST) (envelope-from toor) From: "John S. Dyson" Message-Id: <199712050626.BAA00319@dyson.iquest.net> Subject: Re: FreeBSD 3.0-current SMP kernel gives a pagefault in kernel mode In-Reply-To: <199712050558.QAA19906@godzilla.zeta.org.au> from Bruce Evans at "Dec 5, 97 04:58:40 pm" To: bde@zeta.org.au (Bruce Evans) Date: Fri, 5 Dec 1997 01:26:18 -0500 (EST) Cc: ivar@romulus.hosteng.org, smp@freebsd.org X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Bruce Evans said: > >After cvsup'ing FreeBSD 3.0-current and doing a make world followed by a > >kernel remake the new kernel refuses to boot. > > Malloc initialization was broken yesterday. This causes a measly 64 > compiler wanings for GENERIC and an early panic. (The malloc cookie > is too corrupt for the magic number check to be reached (ks_next > initially points to a string so it is non-NULL. malloc() somehow > avoids crashing an returns NULL. Some early callers actually check > for the NULL return, but are remarkably silent about the error. Here, > the first caller that doesn't check is in cpu_startup(), and a panic > occurs when the NULL pointer is bzeroed.) > I committed the fix to current (thanks to John Hood.) -- John dyson@freebsd.org jdyson@nc.com