[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1027921: linux-image-5.10.0-20-amd64: aacraid's expose_physicals=-1 is not functional



On Wednesday, 4 January 2023 15:38:32 CET Tim Düsterhus wrote:
> Unfortunately the setting `1` allows direct write access to the devices,
> whereas the previous and to my understanding the default setting of `-1`
> only allows read access, making this a safer option.
> 
> It appears that aacraid's `expose_physicals=-1` option got broken
> somewhere between Linux 4.19 and 5.10.

https://git.kernel.org/linus/e3cc268fe4a0ad1cbefbc53cee35c80281e609b8 seems 
relevant, although I do not fully understand it.
One thing that stood out for me is the check `expose_physicals > 0` instead of 
`expose_physicals != 0`. But that commit exists since 2.6.35 ...

This very much looks like an upstream kernel issue and therefor it's better to 
bring it to the attention of those maintainers.

Those are:
$ scripts/get_maintainer.pl drivers/scsi/aacraid/aachba.c 
Adaptec OEM Raid Solutions <aacraid@microsemi.com> (supporter:AACRAID SCSI 
RAID DRIVER)
"James E.J. Bottomley" <jejb@linux.ibm.com> (maintainer:SCSI SUBSYSTEM)
"Martin K. Petersen" <martin.petersen@oracle.com> (maintainer:SCSI SUBSYSTEM)
linux-scsi@vger.kernel.org (open list:AACRAID SCSI RAID DRIVER)
linux-kernel@vger.kernel.org (open list)

When you do forward your question, please inform this bug report of the URL.

HTH

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: