From owner-freebsd-current Sun Jul 5 10:11:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA17209 for freebsd-current-outgoing; Sun, 5 Jul 1998 10:11:33 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from antipodes.cdrom.com (castles333.castles.com [208.214.167.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA14616 for ; Sun, 5 Jul 1998 10:11:24 -0700 (PDT) (envelope-from mike@antipodes.cdrom.com) Received: from antipodes.cdrom.com (localhost [127.0.0.1]) by antipodes.cdrom.com (8.8.8/8.8.5) with ESMTP id KAA05583; Sun, 5 Jul 1998 10:11:36 -0700 (PDT) Message-Id: <199807051711.KAA05583@antipodes.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Bruce Evans cc: mike@smith.net.au, netchild@wurzelausix.cs.uni-sb.de, current@FreeBSD.ORG Subject: Re: Kernel panic, solved! + question In-reply-to: Your message of "Mon, 06 Jul 1998 02:46:00 +1000." <199807051646.CAA06364@godzilla.zeta.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 05 Jul 1998 10:11:35 -0700 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >> I've solved my problem, I had > >> config kernel swap on generic > >> in my kernel, after changing it to > >> config kernel root on sd0s2 > >> the new kernel bootet without a panic. > >> > >> Q: Why did my old kernel boot, and the new one didn't? > > > >'on generic' is Evil. > > I always use it. It works fine, but has no effect unless you boot > with -a or the kernel can't find a root device in the normal way > (when it would panic outside of setconf()). Are you using any > other nonstandard options? That's not entirely correct, at least not as I read/experience it. If you don't boot with -a, it looks for the first disk on its list (wd, sd, etc.) and decides that root must be on that disk. This looses for lots of configurations. -- \\ 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