From owner-freebsd-stable Mon Oct 23 1:18: 7 2000 Delivered-To: freebsd-stable@freebsd.org Received: from saarinen.org (saarinen.org [203.79.82.14]) by hub.freebsd.org (Postfix) with ESMTP id 2D21537B479 for ; Mon, 23 Oct 2000 01:18:04 -0700 (PDT) Received: from vimfuego.saarinen.org (softdnserr [::ffff:192.168.1.1]) (IDENT: foobar) by saarinen.org with esmtp; Mon, 23 Oct 2000 21:18:03 +1300 Date: Mon, 23 Oct 2000 21:18:02 +1300 (NZDT) From: Juha Saarinen To: freebsd-stable@freebsd.org Subject: Malloc type lacks magic Message-ID: X-S: Always Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG CVSup'ed to 4.1.1-STABLE from -RELEASE, and rebuilt the world and the kernel. After rebooting, I see the error message in the subject and the system reboots. Going through the sources, I see this: } void malloc_init(data) void *data; { struct malloc_type *type = (struct malloc_type *)data; if (type->ks_magic != M_MAGIC) panic("malloc type lacks magic"); if (type->ks_limit != 0) return; if (cnt.v_page_count == 0) panic("malloc_init not allowed before vm init"); /* * The default limits for each malloc region is 1/2 of the * malloc portion of the kmem map size. */ type->ks_limit = vm_kmem_size / 2; type->ks_next = kmemstatistics; kmemstatistics = type; (kern_malloc.c) -- What might I have done wrong here? -- Regards, Juha PGP fingerprint: B7E1 CC52 5FCA 9756 B502 10C8 4CD8 B066 12F3 9544 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message