[Bug 246279] cam / ciss driver unable to see more than 48(?) physical drives per controller

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat May 9 16:45:02 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246279

--- Comment #5 from Peter Eriksson <pen at lysator.liu.se> ---
Ok, with some bits of printf-debugging I found some suspect code in
sys/dev/ciss/ciss.c:ciss_cam_action() at the "case XPT_PATH_INQ" section:

  cpi->max_target = sc->ciss_cfg->max_logical_supported;

Notice the "max logical logical volumes: 64" below?

ciss0: PERFORMANT Transport
ciss0:   0 logical drives configured
ciss0:   firmware 5.04
ciss0:   1 SCSI channels
ciss0:   signature 'CISS'
ciss0:   valence 3
ciss0:   supported I/O methods 0x7e000147<READY,simple,performant>
ciss0:   active I/O method 0x5<performant>
ciss0:   4G page base 0x00000000
ciss0:   interrupt coalesce delay 0us
ciss0:   interrupt coalesce count 16
ciss0:   max outstanding commands 1024
ciss0:   bus types 0x200000
ciss0:   server name 'CZ3729EX3D'
ciss0:   heartbeat 0xc0
ciss0:   max logical logical volumes: 64
ciss0:   max physical disks supported: 384
ciss0:   max physical disks per logical volume: 128
ciss0:   JBOD Support is Available
ciss0:   JBOD Mode is Enabled
ciss0: 72 physical devices

(72 is 2 too many, but I guess the two extra are the storage drawers)

If I change that line to:

  cpi->max_target = sc->ciss_cfg->max_physical_supported;

then "camcontrol devlist" now show 69 of 70 drives... Better but not 100%
there.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list