On 7/22/25 6:32 PM, Friedrich Weber wrote: > On 14/07/2025 04:48, Damien Le Moal wrote: >> On 7/10/25 5:41 PM, Friedrich Weber wrote: >>> Thanks for looking into this, it is definitely a strange problem. >>> >>> Considering these drives don't support CDL anyway: Do you think it would >>> be possible to provide an "escape hatch" to disable only the CDL checks >>> (a module parameter?) so hotplug can work for the user again for their >>> device? If I see correctly, disabling just the CDL checks is not >>> possible (without recompiling the kernel) -- scsi_mod.dev_flags can be >>> used to disable RSOC, but I guess that has other unintended consequences >>> too, so a more "targeted" escape hatch would be nice. >> >> Could you test the attached patch ? That should solve the issue. >> > > Thanks for the patch! The user tested it on top of a 6.15.6 kernel and > with the SAS3008 HBA, and indeed: > > - under 6.15.6, hotplug fails with the log messages mentioned in my > first message, > - with your patch on top, hotplug works again. OK. Will post a proper patch then (tomorrow). Thanks for testing. -- Damien Le Moal Western Digital Research