Date: Wed, 18 Mar 1998 18:57:37 -0800 From: Mike Smith <mike@smith.net.au> To: "Justin T. Gibbs" <gibbs@plutotech.com> Cc: Cory Kempf <ckempf@enigami.com>, freebsd-current@FreeBSD.ORG Subject: Re: Kernel / Compiler bug? Message-ID: <199803190257.SAA24179@dingo.cdrom.com> In-Reply-To: Your message of "Wed, 18 Mar 1998 19:42:06 MST." <199803190245.TAA14021@pluto.plutotech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> >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/<foo>/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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803190257.SAA24179>