Bug 50741

Summary: "wiring down SCSI devices" as described in LINT doesn't work
Product: Base System Reporter: grandi <grandi>
Component: kernAssignee: Scott Long <scottl>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.8-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
ARCHIVE none

Description grandi 2003-04-09 03:10:01 UTC
	LINT in STABLE provides a procedure to "wire down" SCSI devices so a
given bus, target and LUN always has the same device name.  A very useful
tool.  Unfortunately, the procedure in LINT doesn't work!

Given the config file below, the results of "make buildkernel" is:

archive# cd /usr/src
archive# make buildkernel

--------------------------------------------------------------

Fix: The most obvious fix is to excise that portion of LINT; but it sure
would be nice if there was a working procedure in STABLE to wire down SCSI
devices.
How-To-Repeat: 	try to build a kernel with the procedure in LINT
Comment 1 grandi 2003-04-09 18:49:43 UTC
Thanks to Scott Long and Wilko Bulte who both supplied the trick to get
this working.  Following is a context diff for LINT to properly describe
reality.

*** LINT	Wed Apr  9 10:37:37 2003
--- LINT.new	Wed Apr  9 10:47:33 2003
***************
*** 887,892 ****
--- 887,904 ----
  # device	sa1 at scbus1 target 6
  # device	cd

+ # NOTE: for this example syntax to work, the device entry for ahc must
+ # be changed to device entres for ahc0, ahc1 and ahc2.  In other words
+ # instead of:
+
+ #device		ahc		# AHA2940 and onboard AIC7xxx devices
+
+ # use the following:
+
+ #device		ahc0		# AHA2940 and onboard AIC7xxx devices
+ #device		ahc1		# AHA2940 and onboard AIC7xxx devices
+ #device		ahc2		# AHA2940 and onboard AIC7xxx devices
+
  # "units" (SCSI logical unit number) that are not specified are
  # treated as if specified as LUN 0.


-- 
Steve Grandi
National Optical Astronomy Observatory/AURA Inc., Tucson AZ USA
Internet: grandi@noao.edu  Voice: +1 520 318-8228  FAX: +1 520 318-8360
Comment 2 Kris Kennaway freebsd_committer freebsd_triage 2003-07-14 10:13:46 UTC
Responsible Changed
From-To: freebsd-bugs->scottl

Assign to scottl to consider the patch
Comment 3 Scott Long freebsd_committer freebsd_triage 2004-06-29 16:26:08 UTC
State Changed
From-To: open->closed

RELENG_4 LINT updated