Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 May 2020 16:45:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 246279] cam / ciss driver unable to see more than 48(?) physical drives per controller
Message-ID:  <bug-246279-227-XQu9odgJRR@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-246279-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-246279-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246279

--- Comment #5 from Peter Eriksson <pen@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 =3D 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 =3D sc->ciss_cfg->max_physical_supported;

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246279-227-XQu9odgJRR>