[Bug 224037] Kernel crashes when trying to mount certain USB keys reported as WriteProtected
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Dec 2 17:57:10 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224037
--- Comment #6 from Petr Leszkow <petr at leszkow.eu> ---
btw, just checked SCSI Asignment at http://www.t10.org/lists/asc-num.htm#ASC_27
for ASC 27,0 ...see list bellow:
so, I think it would be sufficient if kernel can instruct the cam or any upper
layer to do not attempt to mount devices with ASC 27,0 and 27,1 as RW and
handle them for example as CD/DVD asc 27,4 asc 27,5 ?
What do you think ?
Thanks.
Petr
D - Direct Access Block Device (SBC-4) Device Column key
.Z - Host Managed Zoned Block Device (ZBC) ---------------------
. T - Sequential Access Device (SSC-5) blank = code not used
. P - Processor Device (SPC-2) not blank = code used
. .R - C/DVD Device (MMC-6)
. . O - Optical Memory Block Device (SBC)
. . M - Media Changer Device (SMC-3)
. . .A - Storage Array Device (SCC-2)SBC)
. . . E - SCSI Enclosure Services device (SES-3)
. . . B - Simplified Direct-Access (Reduced Block) device (RBC)
. . . .K - Optical Card Reader/Writer device (OCRW)
. . . . V - Automation/Device Interface device (ADC-4)
. . . . F - Object-based Storage Device (OSD-2)
ASC/ . . . . .
ASCQ DZTPROMAEBKVF Description
27/00 DZT RO BK WRITE PROTECTED
27/01 DZT RO BK HARDWARE WRITE PROTECTED
27/02 DZT RO BK LOGICAL UNIT SOFTWARE WRITE PROTECTED
27/03 T R ASSOCIATED WRITE PROTECT
27/04 T R PERSISTENT WRITE PROTECT
27/05 T R PERMANENT WRITE PROTECT
27/06 R F CONDITIONAL WRITE PROTECT
27/07 DZ B SPACE ALLOCATION FAILED WRITE PROTECT
27/08 DZ ZONE IS READ ONLY
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-scsi
mailing list