current: kernel locked on boot

Jake Burkholder jake at locore.ca
Sat Sep 20 09:49:54 PDT 2003


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 at 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;


More information about the freebsd-amd64 mailing list