From owner-freebsd-hackers Wed May 27 15:29:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA17067 for freebsd-hackers-outgoing; Wed, 27 May 1998 15:29:37 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from aaka.3skel.com (aaka.3skel.com [207.240.212.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA17046 for ; Wed, 27 May 1998 15:29:22 -0700 (PDT) (envelope-from danj@3skel.com) Received: from fnur.3skel.com (fnur.3skel.com [192.168.0.8]) by aaka.3skel.com (8.8.5/8.8.2) with ESMTP id SAA27312; Wed, 27 May 1998 18:29:17 -0400 (EDT) Received: from localhost (danj@localhost) by fnur.3skel.com (8.8.8/8.8.2) with SMTP id SAA00428; Wed, 27 May 1998 18:29:16 -0400 (EDT) Date: Wed, 27 May 1998 18:29:16 -0400 (EDT) From: Dan Janowski To: Mike Smith cc: freebsd-hackers@FreeBSD.ORG Subject: Re: autoconf.c:setroot() makes bad calculation In-Reply-To: <199805272019.NAA01674@dingo.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bingo! Type was unknown. Although this matters little now, the kernel loader, or the kernel, is ignoring boot.config flags. I have a -v in the file, but it is ignored. Dan On Wed, 27 May 1998, Mike Smith wrote: > > > > This is a re-mailing. I didn't get any answers, if there are > > any. > > > > Any clues? > > > > 2.2.6-RELEASE > > > > autoconf.c:setroot() finds wrong root device in following: > > > > 1. booteasy > > 2. boot device, second scsi drive > > 3. second scsi has no slices (raw disklabel) > > 4. config kernel lists sd1a as root > > 5. no IDE in the kernel > > 6. 2 SCSI cards, ahc1 and bt0 > > > > boot loader finds and pulls in kernel from ufs, kernel > > inits correctly, at the end it says > > "changing root device to wd1s4a" > > This can happen if the disklabel on your disk is wrong; check the > 'type' field, and if it's not SCSI, change it. > > -- > \\ 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 > > > -- danj@3skel.com Dan Janowski Triskelion Systems, Inc. Bronx, NY To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message