From owner-freebsd-hackers Wed May 27 14:25:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA05140 for freebsd-hackers-outgoing; Wed, 27 May 1998 14:25:37 -0700 (PDT) (envelope-from owner-freebsd-hackers@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 OAA05031 for ; Wed, 27 May 1998 14:25:02 -0700 (PDT) (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 NAA01674; Wed, 27 May 1998 13:19:59 -0700 (PDT) Message-Id: <199805272019.NAA01674@dingo.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Dan Janowski cc: freebsd-hackers@FreeBSD.ORG Subject: Re: autoconf.c:setroot() makes bad calculation In-reply-to: Your message of "Wed, 27 May 1998 14:17:22 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 27 May 1998 13:19:59 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message