USB adn SCSI Device Numbering

Bill Campbell freebsd at celestial.com
Sat Jul 19 09:58:29 PDT 2003


On Sat, Jul 19, 2003 at 09:54:52AM -0700, Bill Campbell wrote:
...
>I asked the same question recently about firewire.  You can force the
>kernel to use specific devices in the SCSI chain, and the attached diff
>with the GENERIC configuration file shows the changes I made to hard code
>two SCSI drives on a 4.8STABLE system (this also enables SMP).

Sorry:  It appears that the mailing list manager stripped off my
plain-text attachment.  Here it is in-line.

--- GENERIC	Sun Apr 27 20:41:46 2003
+++ SMP1	Sat Jul 19 09:50:28 2003
@@ -15,11 +15,11 @@
 # device lines is also present in the ./LINT configuration file. If you are
 # in doubt as to the purpose or necessity of a line, check first in LINT.
 #
-# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.54 2003/04/28 03:41:46 simokawa Exp $
+# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.51.2.2 2003/03/25 23:35:15 jhb Exp $
 
 machine		i386
-cpu		I386_CPU
-cpu		I486_CPU
+#cpu		I386_CPU
+#cpu		I486_CPU
 cpu		I586_CPU
 cpu		I686_CPU
 ident		GENERIC
@@ -61,11 +61,11 @@
 					# output.  Adds ~215k to driver.
 
 # To make an SMP kernel, the next two are needed
-#options 	SMP			# Symmetric MultiProcessor Kernel
-#options 	APIC_IO			# Symmetric (APIC) I/O
+options 	SMP			# Symmetric MultiProcessor Kernel
+options 	APIC_IO			# Symmetric (APIC) I/O
 
 # To support HyperThreading, HTT is needed in addition to SMP and APIC_IO
-#options 	HTT			# HyperThreading Technology
+options 	HTT			# HyperThreading Technology
 
 device		isa
 device		eisa
@@ -119,6 +119,11 @@
 device		sa		# Sequential Access (tape etc)
 device		cd		# CD
 device		pass		# Passthrough device (direct SCSI access)
+# force SCSI to da0 since firewire will bugger it otherwise
+device      ahc0   at ahc?
+device      scbus0 at ahc0
+device      da0 at scbus0 target 0 unit 0
+device      da1 at scbus0 target 1 unit 0
 
 # RAID controllers interfaced to the SCSI subsystem
 device		asr		# DPT SmartRAID V, VI and Adaptec SCSI RAID

Bill
--
INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

Marijuana will be legal some day, because the many law students
who now smoke pot will someday become congressmen and legalize
it in order to protect themselves.
		-- Lenny Bruce


More information about the freebsd-questions mailing list