Date: Thu, 18 Mar 1999 13:41:06 -0800 (PST) From: alumina@sensyu.ne.jp To: freebsd-gnats-submit@freebsd.org Subject: i386/10658: i386 boot loader problem Message-ID: <19990318214106.008D11550A@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990318214106.008D11550A>
