On Tue, Feb 21, 2006 at 03:46:06PM -0500, Nick Cummings wrote: > I see the drive is mounted read-only > > /dev/sdc1 /media/flashcard vfat > ro,noexec,nosuid,nodev,quiet,shortname=winnt,uid=1000,gid=1000,umask=077,iocharset=utf8 > > 0 0
This should definitely be noatime as well as all of the other arguments. > When I plug the card into the reader, I get the > following from dmesg: > > Feb 20 21:05:18 localhost kernel: [ 3450.877593] sdc: Write Protect is on > Feb 20 21:05:18 localhost kernel: [ 3450.877619] sdc: Mode Sense: 02 00 80 > 00 > Feb 20 21:05:18 localhost kernel: [ 3450.877631] sdc: assuming drive > cache: write through > Feb 20 21:05:18 localhost kernel: [ 3450.892585] SCSI device sdc: 1002496 > 512-byte hdwr sectors (513 MB) > Feb 20 21:05:18 localhost kernel: [ 3450.918449] sdc: Write Protect is on > [ 1172.172644] SCSI error : <0 0 0 2> return code = 0x8000002 > [ 1172.172672] sdc: Current: sense key: Hardware Error > [ 1172.172685] Additional sense: Data phase error > [ 1172.172722] end_request: I/O error, dev sdc, sector 106 > [ 1172.172743] Buffer I/O error on device sdc1, logical block 43 > [ 1172.172760] lost page write due to I/O error on sdc1 > [ 1172.180617] SCSI error : <0 0 0 2> return code = 0x8000002 It does look like some write-protect setting got established. Try it in another system and see if you can override that. > The card in question here is a SimpleTech 512 MB SD card. I also tried my > 128 MB MMC card, and it also appears to mount read-only and show > "write-protected" in dmesg. I've used these cards for a while and never > had this problem to my knowledge. The card reader I'm using is a SanDisk > 12-in-1, from /proc/scsi/usb-storage/1 Check your reader. Perhaps it has a write-protect switch. Ben -- Ben Stern UNIX & Networks Monkey [EMAIL PROTECTED] This post does not represent FTI, even if I claim it does. Neener neener. UM Linux Users' Group Electromagnetic Networks Microbrew Software
