[Bug 246279] ciss device driver not allowing more than 48 drives to be detected by the CAM layer

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 08 May 2023 21:54:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246279

--- Comment #27 from Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> ---
Thanks for taking an effort to test it again Peter. Without the patch you
authored, the tests would end sooner with no panic and 40 instead of 140 drives
seen. That's a large setup and the solution is not ideal, but looks like a step
forward. 

In the meantime I plied a bit with ciss(4) settings, and found out that setting
hw.ciss.nop_message_heartbeat="1" on which you complained in comment 25 breaks
things also for me regardless of the application of the patch from D25155. On
the other hand, I am finding quite a useful new sysctl knob "hw.ciss.verbose"
introduced by your patch for operations like drive replacement: 

 [7372] ciss0: *** Hot-plug drive removed, Port=1I Box=1 Bay=3 SN=           
PLXXXXX
[7372] ciss0: *** Physical drive failure, Port=1I Box=1 Bay=3
[7372] ciss0: *** State change, logical drive 2, new state=FAILED
[7372] ciss0: logical drive 2 (da2) changed status OK->failed, spare status 0x0
[7372] da2 at ciss0 bus 0 scbus0 target 2 lun 0
[7372] (da2:ciss0:0:2:0): Periph destroyed
[7444] ciss0: *** Hot-plug drive inserted, Port=1I Box=1 Bay=3 SN=           
PLXXXXX
[7444] ciss0: *** Media exchanged detected, logical drive 2
[7444] ciss0: logical drive 2 () media exchanged, ready to go online
[7444] ciss0: *** State change, logical drive 2, new state=OK
[7444] ciss0: logical drive (b0t2): RAID 0, 139776MB online
[7444] ciss0: logical drive 2 () changed status failed->OK, spare status 0x0
[7444] ciss0: logical drive (b0t2): RAID 0, 139776MB online
[7444] da2 at ciss0 bus 0 scbus0 target 2 lun 0

Anyway, the patch proposed in review D25155 fixes a couple of things, was
tested in JBOD and RAID mode and seems to not introduce any regression.

-- 
You are receiving this mail because:
You are on the CC list for the bug.