device.hints isn't setting what I want

Joerg Wunsch j at uriah.heep.sax.de
Wed Feb 17 06:25:28 UTC 2010


Dan Langille <dan at 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. ;-)


More information about the freebsd-scsi mailing list