Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Nov 2012 09:52:41 +0100
From:      Alfred Bartsch <bartsch@dssgmbh.de>
To:        sbruno@freebsd.org
Cc:        freebsd-scsi@freebsd.org, Sean Bruno <seanbru@yahoo-inc.com>
Subject:   Re: mps(4) starts enumerating at da8, not da0
Message-ID:  <50B72259.3010400@dssgmbh.de>
In-Reply-To: <1354150235.3106.31.camel@powernoodle.corp.yahoo.com>
References:  <1354150235.3106.31.camel@powernoodle.corp.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 29.11.2012 01:50, schrieb Sean Bruno:
> Not sure why, but on a new LSI adapter I have in test here, mps(4)
> seems to want to start enumerating devices at da8 ... this breaks
> some of my "wiring hints" as it doesn't have da0-da7.  Not sure
> what's up here?
> 
> mps0@pci0:4:0:0:        class=0x010700 card=0x30201000
> chip=0x00721000 rev=0x03 hdr=0x00 vendor     = 'LSI Logic / Symbios
> Logic' device     = 'SAS2008 PCI-Express Fusion-MPT SAS-2
> [Falcon]' class      = mass storage subclass   = SAS
> 
> mps0: <LSI SAS2008> port 0x8000-0x80ff mem 
> 0xdfc00000-0xdfc03fff,0xdfb80000-0xdfbbffff irq 40 at device 0.0 on
> pci4 mps0: Firmware: 14.00.01.00, Driver: 14.00.00.01-fbsd mps0:
> IOCCapabilities: 
> 185c<ScsiTaskFull,DiagTrace,SnapBuf,EEDP,TransRetry,IR>
> 
> 
> -bash-4.2$ sudo camcontrol devlist -v scbus0 on mps0 bus 0: 
> <SEAGATE ST3300657SS 0008>         at scbus0 target 10 lun 0
> (pass0,da8) <SEAGATE ST3300657SS 0008>         at scbus0 target 11
> lun 0 (pass1,da9) <SEAGATE ST3300657SS 0008>         at scbus0
> target 12 lun 0 (pass2,da10) <SEAGATE ST3300657SS 0008>         at
> scbus0 target 13 lun 0 (pass3,da11) <SEAGATE ST3300657SS 0008>
> at scbus0 target 14 lun 0 (pass4,da12) <SEAGATE ST3300657SS 0008>
> at scbus0 target 15 lun 0 (pass5,da13) <SEAGATE ST3300657SS 0008>
> at scbus0 target 16 lun 0 (pass6,da14) <SEAGATE ST3300657SS 0008>
> at scbus0 target 17 lun 0 (pass7,da15) <SEAGATE ST3300657SS 0008>
> at scbus0 target 18 lun 0 (pass8,da16) <SEAGATE ST3300657SS 0008>
> at scbus0 target 19 lun 0 (pass9,da17) <SEAGATE ST3300657SS 0008>
> at scbus0 target 20 lun 0 (pass10,da18) <SEAGATE ST3300657SS 0008>
> at scbus0 target 21 lun 0 (pass11,da19) <LSI CORP Bobcat 0700>
> at scbus0 target 22 lun 0 (ses0,pass12) scbus-1 on xpt0 bus 0: <>
> at scbus-1 target -1 lun -1 (xpt0)
> 

same here:

mps0@pci0:5:0:0:        class=0x010700 card=0x30201000 chip=0x00871000
rev=0x05 hdr=0x00
    vendor     = 'LSI Logic (Was: Symbios Logic, NCR)'
    class      = mass storage
    subclass   = SAS

mps0: Firmware: 14.00.00.00, Driver: 14.00.00.01-fbsd

This controller (LSI 9207-8i) seems to store some history info about
all previously inserted disks and increments the target id on every
new disk. This should IMHO not happen, at least if the controller is
flashed with IT-Firmware.
I solved this issue by erasing region 3 (persistent configuration
pages) via sas2flash.
As this particular function is disabled in the FreeBSD version, I had
to use the DOS-Version: "sas2flsh.exe -o -e 3"
After executing this command the target id starts with 0 again.
Hopefully this annoying issue will be solved in a future firmware release.
HTH.

- -- 
Regards
Alfred Bartsch
Data-Service GmbH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlC3IlkACgkQ5QGe2JdVf3iwmgCgnoPXDQ8R3fcSoZ53zbnI+Yc8
ZysAoLsU93aNXLfUjcDKnZrsmbpIcb4F
=KZ0l
-----END PGP SIGNATURE-----



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