From owner-freebsd-sparc64@FreeBSD.ORG Sat Sep 20 09:49:54 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50C5B16A4B3; Sat, 20 Sep 2003 09:49:54 -0700 (PDT) Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A98343FF5; Sat, 20 Sep 2003 09:49:53 -0700 (PDT) (envelope-from jake@locore.ca) Received: by k6.locore.ca (Postfix, from userid 1000) id E5AE61AFC3; Sat, 20 Sep 2003 12:48:57 -0400 (EDT) Date: Sat, 20 Sep 2003 12:48:57 -0400 From: Jake Burkholder To: Marcel Moolenaar Message-ID: <20030920164857.GN981@locore.ca> References: <001c01c37f62$a58f2450$1d01320a@komi.mts.ru> <200309201314.h8KDEGJT025503@elgar.kettenis.dyndns.org> <20030920155955.GA27964@dhcp01.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030920155955.GA27964@dhcp01.pn.xcllnt.net> User-Agent: Mutt/1.4.1i cc: amd64@freebsd.org cc: Mark Kettenis cc: sparc64@freebsd.org Subject: Re: current: kernel locked on boot X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2003 16:49:54 -0000 Apparently, On Sat, Sep 20, 2003 at 08:59:55AM -0700, Marcel Moolenaar said words to the effect of; > On Sat, Sep 20, 2003 at 03:14:16PM +0200, Mark Kettenis wrote: > > jumping to kernel entry at 0xc0040000. > > Copyright (c) 1992-2003 The FreeBSD Project. > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > > The Regents of the University of California. All rights reserved. > > FreeBSD 5.1-CURRENT #0: Sat Sep 20 14:09:46 MSD 2003 > > root@selma.komi.mts.ru:/home/obj/mnt/devel/ncvs/current/src/sys/GENERIC > > - <- locked here, no spinning > > > > > > I'm seeing something very similar with today's -current on > > FreeBSD/amd64. Might be 64-bit (or it might not). > > > > Jeffs UMA changes causes this. ia64 is similarly hosed. Just > revert the sys/vm/* to 9/19/2003 00:00. > > The problem AFAICT is that the reservation has been removed. This > causes uma_small_alloc() to be called before the VM has been > initialized properly. Another bandaid fix is to disable UMA_MD_SMALL_ALLOC. Jake Index: sparc64/include/vmparam.h =================================================================== RCS file: /home/ncvs/src/sys/sparc64/include/vmparam.h,v retrieving revision 1.14 diff -u -r1.14 vmparam.h --- sparc64/include/vmparam.h 27 Dec 2002 19:31:26 -0000 1.14 +++ sparc64/include/vmparam.h 20 Sep 2003 16:36:43 -0000 @@ -177,7 +177,9 @@ #define VM_INITIAL_PAGEIN 16 #endif +#if 0 #define UMA_MD_SMALL_ALLOC +#endif extern vm_offset_t vm_max_kernel_address;