Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Feb 2010 07:25:26 +0100 (MET)
From:      j@uriah.heep.sax.de (Joerg Wunsch)
To:        freebsd-scsi@freebsd.org
Subject:   Re: device.hints isn't setting what I want
Message-ID:  <20100217062526.DBB3786@uriah.heep.sax.de>
In-Reply-To: <4B53C505.7050608@langille.org>
References:  <4B53C505.7050608@langille.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Dan Langille <dan@langille.org> wrote:

> In /boot/devices, I have added these entries:
> 
> hint.scbus.1.at="ahc0"
> hint.scbus.0.at="ahc1"
> hint.scbus.2.at="acd0"
> hint.scbus.5.at="umass0"

> The second two lines aren't doing as expected.

They look "upside down" to me.  You are trying to connect a SCSI bus
to a particular device?

Run a "camcontrol devlist -v" to see the HBA names.  You can only wire
a bus onto an HBA, and then a device onto a bus.  I think you want
something like

hint.scbus.2.at="ata0"

The umass controller might be more difficult.  Mine is called
"umass-sim0", I guess there could be many of them, no idea whether
they honor device hints at all.  But perhaps you don't need those.

For your pass device, I don't know whether it can be wired down at
all.  If so, try

hint.pass.3.at="scbus1"
hint.pass.3.target="0"

I used to do something like that by the time I had multiple tape
drives and multiple CD-{R,ROM} drives, but I don't wire my devices
down anymore these days.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100217062526.DBB3786>