From owner-freebsd-current Wed Mar 18 19:01:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA24781 for freebsd-current-outgoing; Wed, 18 Mar 1998 19:01:36 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA24775 for ; Wed, 18 Mar 1998 19:01:34 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.8.8/8.8.5) with ESMTP id SAA24179; Wed, 18 Mar 1998 18:57:38 -0800 (PST) Message-Id: <199803190257.SAA24179@dingo.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: "Justin T. Gibbs" cc: Cory Kempf , freebsd-current@FreeBSD.ORG Subject: Re: Kernel / Compiler bug? In-reply-to: Your message of "Wed, 18 Mar 1998 19:42:06 MST." <199803190245.TAA14021@pluto.plutotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 18 Mar 1998 18:57:37 -0800 From: Mike Smith 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. > > Are you sure it isn't simply being spammed somewhere in autoconf.c? That's likely, if the bootblocks are passing in valid numbers. If the disk is not labelled correctly, the bootstrap may pass in a bad major number. You should check the values of majdev, slice and mindev at the end of autoconf.c:setroot(). -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message