From nobody@FreeBSD.ORG Thu Sep  2 14:44:00 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id E33ED1530C; Thu,  2 Sep 1999 14:44:00 -0700 (PDT)
Message-Id: <19990902214400.E33ED1530C@hub.freebsd.org>
Date: Thu,  2 Sep 1999 14:44:00 -0700 (PDT)
From: beholder@unios.dhs.org
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: FreeBSD will not boot after installing to /wd3 when /wd2 is a CD/DVD-ROM
X-Send-Pr-Version: www-1.0

>Number:         13547
>Category:       i386
>Synopsis:       FreeBSD will not boot after installing to /wd3 when /wd2 is a CD/DVD-ROM
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep  2 14:50:01 PDT 1999
>Closed-Date:    Tue May 29 11:44:32 PDT 2001
>Last-Modified:  Tue May 29 11:44:59 PDT 2001
>Originator:     Pat Wendorf
>Release:        3.4-Stable 99/08/04
>Organization:
Bayview Computers
>Environment:
Not important	
>Description:
OS will install fine, but not boot up when there is a CD-ROM *before* the
hard drive on a secondary IDE chain.  It dies on boot saying that it 
can't mount /dev/wd1 (which is a CD-ROM, not my secondary harddrive)

>How-To-Repeat:
Get 2 HDD's and 2 CD-ROM's (my config). Set up the primary IDE chain as
(1)HDD (2)CD-ROM, and the secondary chain as (1)HDD (2)CD-ROM.  Then
install BSD on the second hard drive /wd3

>Fix:
Put both Hard drives on the Primary IDE chain, and both CD-ROM's on the
secondary chain.  

PS: Had to buy a new chasis case to do this :~(

>Release-Note:
>Audit-Trail:

From: Sheldon Hearn <sheldonh@uunet.co.za>
To: beholder@unios.dhs.org
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: i386/13547: FreeBSD will not boot after installing to /wd3 when /wd2 is a CD/DVD-ROM 
Date: Fri, 03 Sep 1999 08:00:32 +0200

 On Thu, 02 Sep 1999 14:44:00 MST, beholder@unios.dhs.org wrote:
 
 > Get 2 HDD's and 2 CD-ROM's (my config). Set up the primary IDE chain as
 > (1)HDD (2)CD-ROM, and the secondary chain as (1)HDD (2)CD-ROM.  Then
 > install BSD on the second hard drive /wd3
 
 Are you sure the second drive is wd3? Is that what it says in the boot
 probe messages?
 
 Have a look at the loader(8) manual page. In the EXAMPLES section, it
 offers something that might help you:
 
      Sets the disk unit of the root device to 2, and then boots. This
      would be needed in the case of a two IDE disks system, with the
      second IDE hard-wired to wd2 instead of wd1.
 
            set root_disk_unit=2
            boot /kernel
 
 You might play around with root_disk_unit, after doing
 
 	   set rootdev=wd2s1a
 
 	or
 
 	   set rootdev=wd3s1a
 
 If you don't come right, make sure you show us your kernel config. :-)
 
 Later,
 Sheldon.
 

From: Beholder <beholder@unios.dhs.org>
To: Sheldon Hearn <sheldonh@uunet.co.za>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: i386/13547: FreeBSD will not boot after installing to /wd3 when /wd2 
 is a CD/DVD-ROM
Date: Fri, 03 Sep 1999 09:17:37 -0400

 Sheldon Hearn wrote:
 
 > On Thu, 02 Sep 1999 14:44:00 MST, beholder@unios.dhs.org wrote:
 >
 > > Get 2 HDD's and 2 CD-ROM's (my config). Set up the primary IDE chain as
 > > (1)HDD (2)CD-ROM, and the secondary chain as (1)HDD (2)CD-ROM.  Then
 > > install BSD on the second hard drive /wd3
 >
 > Are you sure the second drive is wd3? Is that what it says in the boot
 > probe messages?
 
 Sorry I think it was supposed to be /wd2  (I'm still new to BSD, I forgot
 the drives started at 0 not A ;)
 
 > Have a look at the loader(8) manual page. In the EXAMPLES section, it
 > offers something that might help you:
 >
 >      Sets the disk unit of the root device to 2, and then boots. This
 >      would be needed in the case of a two IDE disks system, with the
 >      second IDE hard-wired to wd2 instead of wd1.
 >
 >            set root_disk_unit=2
 >            boot /kernel
 
 This probably would have fixed the problem.  However the installer didn't
 seem to do this automatically, which I would consider a bug.  Everything
 installs perfectly, but the kernel isn't updated with the proper boot device
 I guess. What confused me was the fact that the FSTAB had the proper mount
 points, but when the system booted it had a message:
 
 changing root device to /wd1  (my CD-ROM)
 root FS not found...  (or something similar)
 
 > You might play around with root_disk_unit, after doing
 >
 >            set rootdev=wd2s1a
 >
 >         or
 >
 >            set rootdev=wd3s1a
 >
 > If you don't come right, make sure you show us your kernel config. :-)
 
 Nothing special, it's just the generic kernel.  Just learned how to config
 :)
 
 >
 >
 > Later,
 > Sheldon.
 
 

From: Sheldon Hearn <sheldonh@uunet.co.za>
To: Beholder <beholder@unios.dhs.org>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: i386/13547: FreeBSD will not boot after installing to /wd3 when /wd2 is a CD/DVD-ROM 
Date: Fri, 03 Sep 1999 17:59:34 +0200

 On Fri, 03 Sep 1999 09:17:37 -0400, Beholder wrote:
 
 > >            set root_disk_unit=2
 > >            boot /kernel
 > 
 > This probably would have fixed the problem. 
 
 Huh? What does "probably would have" mean? Have you tried it or haven't
 you? :-)
 
 > However the installer didn't seem to do this automatically, which I
 > would consider a bug.
 
 Were the drives configured _exactly_ as they are now when you first
 installed?
 
 > Everything
 > installs perfectly, but the kernel isn't updated with the proper boot device
 > I guess.
 
 I'm not sure the kernel can be updated by sysinstall. ;-)
 
 > What confused me was the fact that the FSTAB had the proper mount
 > points, but when the system booted it had a message:
 
 The loader doesn't use the fstab.
 
 Later,
 Sheldon.
 
State-Changed-From-To: open->closed 
State-Changed-By: sos 
State-Changed-When: Tue May 29 11:44:32 PDT 2001 
State-Changed-Why:  
Obsoleted by the new ATA driver. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=13547 
>Unformatted:
