Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Dec 2015 11:35:19 -0600
From:      Adam Vande More <amvandemore@gmail.com>
To:        mexas@bris.ac.uk
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: help number disks via /boot/device.hints
Message-ID:  <CA%2BtpaK0rWOpz9ZR-gk75bSJ8-jFRd8ngkrWKkyGca5mTk3eoRA@mail.gmail.com>
In-Reply-To: <201512151710.tBFHAMNd000949@mech-as222.men.bris.ac.uk>
References:  <CA%2BtpaK1aHV1nG3TRN_cP9jtYXupCM47X789WuyNce079Wpx_jw@mail.gmail.com> <201512151710.tBFHAMNd000949@mech-as222.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 15, 2015 at 11:10 AM, Anton Shterenlikht <mexas@bris.ac.uk>
wrote:

> >
> >man 4 cam
>
> After some trial and error I figured out that this seems to work:
>
> hint.scbus.0.at="mpt0"
> hint.scbus.1.at="isp0"
>
> which gives:
>
> da1 at isp0 bus 0 scbus1 target 0 lun 5
> da1: <COMPAQ MSA1000 VOLUME 4.32> Fixed Direct Access SPC-2 SCSI device
> da1: Serial Number P56350GX3RX04Z
> da1: 200.000MB/s transfers WWNN 0x500805f3000ec220 WWPN 0x500805f3000ec221
> PortID 0x10000
> da1: Command Queueing enabled
> da1: 140011MB (286744185 512 byte sectors: 255H 63S/T 17849C)
> da0 at mpt0 bus 0 scbus0 target 2 lun 0
> da0: <IBM-ESXS MAY2073RC T107> Fixed Direct Access SPC-3 SCSI device
> da0: Serial Number B399P790FBEG
> da0: 300.000MB/s transfers
> da0: Command Queueing enabled
> da0: 70006MB (143374000 512 byte sectors: 255H 63S/T 8924C)
>
> and:
>
> # camcontrol devlist all
> <IBM-ESXS MAY2073RC T107>          at scbus0 target 2 lun 0 (pass0,da0)
> <COMPAQ MSA1000 4.32>              at scbus1 target 0 lun 0 (pass1)
> <COMPAQ MSA1000 VOLUME 4.32>       at scbus1 target 0 lun 5 (pass2,da1)
> <TEAC DW-224SL-R 1.0B>             at scbus2 target 0 lun 0 (pass3,cd0)
>
> But I see in dmesg:
>
> Ambiguous scbus configuration for mpt0 bus 1, cannot wire down.
> The kernel config entry for scbus0 should specify a controller bus.
> Scbus will be assigned dynamically.
>

I think you also want to add at least:

hint.scbus.0.bus="0"


-- 
Adam



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BtpaK0rWOpz9ZR-gk75bSJ8-jFRd8ngkrWKkyGca5mTk3eoRA>