Subject: kern/2058: Removing drive harder than necessary w/ swap problems.
To: None <gnats-bugs@NetBSD.ORG>
From: David Gilbert <dgilbert@jaywon.pci.on.ca>
List: netbsd-bugs
Date: 02/10/1996 18:16:31
>Number:         2058
>Category:       kern
>Synopsis:       Removing drive with swap renders system unbootable
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 10 19:05:01 1996
>Last-Modified:
>Originator:     David Gilbert
>Organization:
----------------------------------------------------------------------------
|David Gilbert, PCI, Richmond Hill, Ontario.  | Two things can only be     |
|Mail:      dgilbert@jaywon.pci.on.ca         |  equal if and only if they |
|http://www.pci.on.ca/~dgilbert               |   are precisely opposite.  |
---------------------------------------------------------GLO----------------
>Release:        1.1
>Environment:
	
System: NetBSD repeat 1.1A NetBSD 1.1A (REPEAT) #37: Fri Feb 9 23:31:14 EST 1996 root@:/u/dgilbert/src/sys/arch/sparc/compile/REPEAT sparc


>Description:
	I had two drives behind and emulex ESDI<-->SCSI converter.  I
recently wanted to remove one of them, and did... to put in a new SCSI
drive.  When I tried to boot, I found that I couldn't even boot single
user.  I had to reattach the old drive, and then boot, recompile the
kernel with different swap, and the remove it again and reboot.

	It appears that sd0 is still present (the emulex responds
... the boot line lists it as 'offline).
>How-To-Repeat:
	See above.
>Fix:
	We need to fix it so that we are not so dependant on the swap
when we're booting --- especially single user.
>Audit-Trail:
>Unformatted: