Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Sep 2003 12:48:57 -0400
From:      Jake Burkholder <jake@locore.ca>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        sparc64@freebsd.org
Subject:   Re: current: kernel locked on boot
Message-ID:  <20030920164857.GN981@locore.ca>
In-Reply-To: <20030920155955.GA27964@dhcp01.pn.xcllnt.net>
References:  <001c01c37f62$a58f2450$1d01320a@komi.mts.ru> <200309201314.h8KDEGJT025503@elgar.kettenis.dyndns.org> <20030920155955.GA27964@dhcp01.pn.xcllnt.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> > 
> > <me too>
> > I'm seeing something very similar with today's -current on
> > FreeBSD/amd64.  Might be 64-bit (or it might not).
> > </me too>
> 
> 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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030920164857.GN981>