From owner-freebsd-bugs Fri Mar 19 4: 9:11 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id A91FC14CFD for ; Fri, 19 Mar 1999 04:09:08 -0800 (PST) (envelope-from dcs@newsguy.com) Received: from newsguy.com by peach.ocn.ne.jp (8.9.1a/OCN) id VAA06577; Fri, 19 Mar 1999 21:09:05 +0900 (JST) Message-ID: <36F23D00.538C18E0@newsguy.com> Date: Fri, 19 Mar 1999 21:03:12 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: pt-BR,ja MIME-Version: 1.0 To: alumina@sensyu.ne.jp, freebsd-bugs@freebsd.org Subject: Re: i386/10658: i386 boot loader problem References: <19990318214106.008D11550A@hub.freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 1) This was fixed already. 2) num_ide_disks is deprecated. Use root_disk_unit instead. alumina@sensyu.ne.jp wrote: > > >Number: 10658 > >Category: i386 > >Synopsis: i386 boot loader problem > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-bugs > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: change-request > >Submitter-Id: current-users > >Arrival-Date: Thu Mar 18 13:50:00 PST 1999 > >Closed-Date: > >Last-Modified: > >Originator: Yoshiji Emoto > >Release: 3.1-RELEASE > >Organization: > I'm free. > >Environment: > FreeBSD cylphia.cmxs.bbs 3.1-RELEASE FreeBSD 3.1-RELEASE #0: Thu Mar 18 17:56:33 JST 1999 root@cylphia.cmxs.bbs:/opt/src/sys/compile/CYLPHIA i386 > > >Description: > I have 3 disks > IDE#1 > SCSI#1 > SCSI#2 > > I want change rootfs are SCSI #1 (da0s1) > Why to change rootfs is a SCSI disk #2 (da1s1) > > >How-To-Repeat: > boot loader prompt. > disk2s1a:> set num_ide_disks=1 > > >Fix: > --- sys/boot/i386/libi386/biosdisk.c.old Tue Jan 26 08:11:34 1999 > +++ sys/boot/i386/libi386/biosdisk.c Fri Mar 19 06:17:02 1999 > @@ -802,7 +802,7 @@ > if ((cp != nip) && (*cp == 0)) > unit = i; > } else { > - (unit = biosdev & 0x7f) - unitofs; /* allow for #wd compenstation in da case */ > + unit = (biosdev & 0x7f) - unitofs; /* allow for #wd compenstation in da case */ > } > > rootdev = MAKEBOOTDEV(major, > > >Release-Note: > >Audit-Trail: > >Unformatted: > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-bugs" in the body of the message -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org "What happened?" "It moved, sir!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message