Date: Fri, 19 Mar 1999 21:03:12 +0900 From: "Daniel C. Sobral" <dcs@newsguy.com> To: alumina@sensyu.ne.jp, freebsd-bugs@freebsd.org Subject: Re: i386/10658: i386 boot loader problem Message-ID: <36F23D00.538C18E0@newsguy.com> References: <19990318214106.008D11550A@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36F23D00.538C18E0>
