From nobody  Sun May  3 22:27:58 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id WAA23541;
          Sun, 3 May 1998 22:27:58 -0700 (PDT)
          (envelope-from nobody)
Message-Id: <199805040527.WAA23541@hub.freebsd.org>
Date: Sun, 3 May 1998 22:27:58 -0700 (PDT)
From: Kurt@Boolean.NET
To: freebsd-gnats-submit@freebsd.org
Subject: panic: cannot mount root on sd1
X-Send-Pr-Version: www-1.0

>Number:         6505
>Category:       kern
>Synopsis:       panic: cannot mount root on sd1
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May  3 22:30:00 PDT 1998
>Closed-Date:    Sat Jan 23 09:58:27 PST 1999
>Last-Modified:  Sat Jan 23 10:01:04 PST 1999
>Originator:     Kurt D. Zeilenga
>Release:        current as of 1998-05-27 04:00 GMT
>Organization:
Boolean.NET
>Environment:
Dual PII system with 2940UW SCSI.
  NTLoader and NT4 on target 0,
  BootEasy and FreeBSD on target 1.
Use SCSI BIOS config to select boot target.
>Description:
All attempts to boot kernels on sd1 (or sd1a or sd1s1a) cause the following panic:
	changing root device to sd0s1a
	error 22: panic: cannot mount route (2)

This includes GENERIC and SMP-GENERIC and minimal config
files (UP, SCSI, FFS only).

Attempts to use -a (ask) boot option also fails.  I assume this is
a related problem.

Problem also occurs when using Feb98 or Sept97 WC SNAPSHOTS.
>How-To-Repeat:
Use sysinstall to build system on sd1 and boot.
>Fix:
No known fix but can workaround problem as follows:

Retarget install drive to target 0.  Load system and boot.
Build new kernel with:
	config	kernel	root on sd0	# sd0 is second disk (target 1)
	controller	ahc0			# 7880/2940UW
	controller	scbus0 at ahc0
	disk		sd0	at scbus0 target 1 unit 0
	disk		sd1 at scbus0 target 0
	disk		sd2 at scbus0 target 4
	disk		sd3 at scbus0 target 5
	device		cd0 at scbus0 target 6

Edit /etc/fstab and MAKEDEV as necessary and reboot.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: rnordier 
State-Changed-When: Sat Jan 23 09:58:27 PST 1999 
State-Changed-Why:  
Stale: if this is still a problem, please submit a new PR.  There have 
been substantial changes to boot and other code since this was 
submitted. 
>Unformatted:
