From owner-freebsd-current@FreeBSD.ORG Thu Jun 16 17:17:12 2005 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7DAC516A41F for ; Thu, 16 Jun 2005 17:17:12 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [204.156.12.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51B7B43D4C for ; Thu, 16 Jun 2005 17:17:12 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by cyrus.watson.org (Postfix) with ESMTP id ED3CC46BB2; Thu, 16 Jun 2005 13:17:11 -0400 (EDT) Date: Thu, 16 Jun 2005 18:19:24 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: "Stephane E. Potvin" In-Reply-To: <42B192D2.7000505@videotron.ca> Message-ID: <20050616181820.E27625@fledge.watson.org> References: <42B18536.3080200@videotron.ca> <20050616151502.X27625@fledge.watson.org> <42B192D2.7000505@videotron.ca> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@FreeBSD.org Subject: Re: Reboot while booting with new per-CPU allocator X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2005 17:17:12 -0000 On Thu, 16 Jun 2005, Stephane E. Potvin wrote: >> Have you tried running with kern_malloc.c:1.141 (Jun 10) from Joseph >> Koshy, which corrects a bug in the deregistering of malloc types? >> >> It looks like you're running with a serial console, but if not, could >> you do so and make sure there are no last second printfs that get eaten >> by the reboot clearing the video console? >> > > I did a binary search to find the offending commit. Reverting the changes > to kern_malloc.c and malloc.h locally did fix the problem. That's what I'm > currently using to type this message. I also had to revert the changes to > vmstat to make the world compile. > > Using head sources from yesterday (Jun 15) exhibit the same problem > unfortunately. Hmm.. It looks like Alan Cox just committed the attached patch to uma_int.h to modify UMA_BOOT_PAGES following a report of a panic at a similar point in the boot process. Could you try updating to the latest uma_int.h or trying the patch below to see if it makes a difference? Robert N M Watson Index: uma_int.h =================================================================== RCS file: /home/ncvs/src/sys/vm/uma_int.h,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- uma_int.h 29 Apr 2005 18:56:36 -0000 1.30 +++ uma_int.h 16 Jun 2005 17:06:34 -0000 1.31 @@ -119,7 +119,7 @@ #define UMA_SLAB_MASK (PAGE_SIZE - 1) /* Mask to get back to the page */ #define UMA_SLAB_SHIFT PAGE_SHIFT /* Number of bits PAGE_MASK */ -#define UMA_BOOT_PAGES 40 /* Pages allocated for startup */ +#define UMA_BOOT_PAGES 48 /* Pages allocated for startup */ /* Max waste before going to off page slab management */ #define UMA_MAX_WASTE (UMA_SLAB_SIZE / 10)