Date: Wed, 22 Mar 2006 18:53:50 GMT From: Alexey <me@swizard.beercan.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/94838: Kernel panic while mounting SD card with lock switch on Message-ID: <200603221853.k2MIroFD000250@www.freebsd.org> Resent-Message-ID: <200603221900.k2MJ0SjT023189@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 94838 >Category: kern >Synopsis: Kernel panic while mounting SD card with lock switch on >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 22 19:00:27 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Alexey >Release: 6.1-PRERELEASE >Organization: >Environment: FreeBSD pstation.swizard.beercan.ru 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #1: Mon Mar 20 23:06:22 MSK 2006 root@pstation.swizard.beercan.ru:/usr/obj/usr/src/sys/PSTATION61 i386 >Description: Error "Permission denied" occurred when trying to mount SD card with lock switch set to "on" and then kernel panic and reboot after several seconds. Card reader: generic 7-in-1 3" slot card reader SD card: Transcend 45x dmesg output: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): UNIT ATTENTION csi:0,aa,55,61 asc:28,0 (da0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed field replaceable unit: 61 (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 0 0 0 0 ea 0 0 8 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): DATA PROTECT csi:0,aa,55,61 asc:27,0 (da0:umass-sim0:0:0:0): Write protected field replaceable unit: 61 (da0:umass-sim0:0:0:0): Unretryable error g_vfs_done():da0s1[WRITE(offset=512, length=4096)]error = 13 (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 0 0 0 0 ea 0 0 8 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): DATA PROTECT csi:0,aa,55,61 asc:27,0 (da0:umass-sim0:0:0:0): Write protected field replaceable unit: 61 (da0:umass-sim0:0:0:0): Unretryable error g_vfs_done():da0s1[WRITE(offset=512, length=4096)]error = 13 fsync: giving up on dirty 0xc5931000: tag devfs, type VCHR usecount 1, writecount 0, refcount 19 mountedhere 0xc4ecb800 flags () v_object 0xc58f24a4 ref 0 pages 16 >How-To-Repeat: Insert SD card with lock switch set to "on" in card reader and then mount it with # sudo mount_msdosfs /dev/da0s1 /mnt >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603221853.k2MIroFD000250>