Date: Sat, 02 Dec 2017 17:57:10 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-scsi@FreeBSD.org Subject: [Bug 224037] Kernel crashes when trying to mount certain USB keys reported as WriteProtected Message-ID: <bug-224037-5312-PF2P0kKSi7@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-224037-5312@https.bugs.freebsd.org/bugzilla/> References: <bug-224037-5312@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=3D224037 --- Comment #6 from Petr Leszkow <petr@leszkow.eu> --- btw, just checked SCSI Asignment at http://www.t10.org/lists/asc-num.htm#AS= C_27 for ASC 27,0 ...see list bellow: so, I think it would be sufficient if kernel can instruct the cam or any up= per 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 ?=20 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 =3D code not us= ed . P - Processor Device (SPC-2) not blank =3D code us= ed . .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 --=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-224037-5312-PF2P0kKSi7>