From owner-freebsd-current Wed Mar 18 09:01:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA10592 for freebsd-current-outgoing; Wed, 18 Mar 1998 09:01:48 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from enigami.com (enigami.com [208.140.182.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA10571 for ; Wed, 18 Mar 1998 09:01:43 -0800 (PST) (envelope-from ckempf@enigami.com) Received: from [208.140.182.45] (symphony.enigami.com [208.140.182.45]) by enigami.com (8.8.7/8.8.7) with ESMTP id MAA24371; Wed, 18 Mar 1998 12:01:09 -0500 (EST) X-Sender: ckempfm@enigami.com Message-Id: In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Wed, 18 Mar 1998 11:59:37 -0500 To: freebsd-current@FreeBSD.ORG From: Cory Kempf Subject: Kernel / Compiler bug? Cc: "Justin T. Gibbs" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sorry if this is a re-run, but it looks like the original got lost somewhere. This problem may be CAM specific. I am not sure what to do about this one. Since I got my machine I have not been able to build a kernel that runs, without using "swap on generic" and -a at the boot prompt Well, after doing some debugging, it looks like the line dev_t rootdev = makedev(4, 0x000020000); in swapkernel.c (/usr/src/sys/compile//swapkernel.c) isn't being run. The fatal trap 12 I was getting is caused by major(rootdev) being 0, thus deferencing bdevsw[major(rootdev)] deferences null. If I copy the rootdev assignment into setconf() (in swapkernel.c), the resultant kernel does not need the "swap on generic", and will happily boot unattended. Anyway, yes, I realize that the global variable *should* be set. On my machine thoough, using a freshly built system from current sources (e.g. this week), it isn't. So, what need to be done to get this fix in place? It seems I am not the only one with this problem. +C -- Thinking of purchasing RAM from the Chip Merchant? Please read this first: Cory Kempf Macintosh / Unix Consulting & Software Development ckempf@enigami.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message