SDCARD mounts read only. Cannot add/delete even as SU

Bug #809037 reported by William
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
udisks (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

It mounts fine (sometimes I have to pop it out and put it back in but no big deal). I see my files, but I can't delete or add anything to them. When I try to change the permissions in the menu it doesn't effect my ability to modify the files. I am using a Dell inspiron 1420. It is a MICRO SD in a SD CARD adapter that plugs into the laptops built in SD slot.

IT IS NOT THE WRITE PROTECTION LEVER. I've read some people say that the lever gets adjusted when inserted. That is not the case as here. I found a way to mount it manually with some special flags to get this to work, it was a bit of a pain and I forgot how to do it, but it can be over written with some clever bash which isn't what I want to do (why you think I'm using Ubuntu and not Gentoo ! lol).

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: udisks 1.0.2-4ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
NonfreeKernelModules: wl
Architecture: i386
CustomUdevRuleFiles: 10-vboxdrv.rules
Date: Mon Jul 11 18:33:04 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
MachineType: Dell Inc. Inspiron 1420
ProcEnviron:
 LANGUAGE=en_CA:en
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=d8eb6007-283c-43f2-abc0-b413c9b56af7 ro quiet splash vt.handoff=7
SourcePackage: udisks
Symptom: storage
Title: No permission to access files on storage device
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/11/2008
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A09
dmi.board.name: 0DT492
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA09:bd07/11/2008:svnDellInc.:pnInspiron1420:pvr:rvnDellInc.:rn0DT492:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Inspiron 1420
dmi.sys.vendor: Dell Inc.

Revision history for this message
William (williammcleod-z) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in udisks (Ubuntu):
status: New → Confirmed
Revision history for this message
Roger James (rogerjames99) wrote :

I have just started seeing this or a simlar problem on Ubuntu 14.04. Syslog shows that the device has been detected corrected as not being write protected.

Mar 31 19:12:10 dragon kernel: [ 8964.742391] sd 4:0:0:0: [sdb] 61863936 512-byte logical blocks: (31.6 GB/29.4 GiB)
Mar 31 19:12:10 dragon kernel: [ 8964.743608] sd 4:0:0:0: [sdb] Write Protect is off
Mar 31 19:12:10 dragon kernel: [ 8964.743612] sd 4:0:0:0: [sdb] Mode Sense: 03 00 00 00
Mar 31 19:12:10 dragon kernel: [ 8964.744731] sd 4:0:0:0: [sdb] No Caching mode page found
Mar 31 19:12:10 dragon kernel: [ 8964.744735] sd 4:0:0:0: [sdb] Assuming drive cache: write through
Mar 31 19:12:10 dragon kernel: [ 8964.747886] sd 4:0:0:0: [sdb] No Caching mode page found
Mar 31 19:12:10 dragon kernel: [ 8964.747891] sd 4:0:0:0: [sdb] Assuming drive cache: write through
Mar 31 19:12:10 dragon kernel: [ 8964.748988] sdb: sdb1
Mar 31 19:12:10 dragon udisksd[2776]: Mounted /dev/sdb1 at /media/roger/Stella on behalf of uid 1000

However /proc/mounts shows that the /dev/sdb1 has been mounted 'ro'. parted reports that the host device /dev/sdb is read only.

/dev/sdb1 /media/roger/Stella vfat ro,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro 0 0

However if I leave the sd card in the reader and reboot then the parition is mounted 'rw', and everything is fine.

Mar 31 19:20:01 dragon kernel: [ 3.534021] sd 4:0:0:0: [sdb] 61863936 512-byte logical blocks: (31.6 GB/29.4 GiB)
Mar 31 19:20:01 dragon kernel: [ 3.534744] sd 4:0:0:1: [sdc] Attached SCSI removable disk
Mar 31 19:20:01 dragon kernel: [ 3.535492] sd 4:0:0:2: [sdd] Attached SCSI removable disk
Mar 31 19:20:01 dragon kernel: [ 3.536291] sd 4:0:0:3: [sde] Attached SCSI removable disk
Mar 31 19:20:01 dragon kernel: [ 3.537354] sd 4:0:0:0: [sdb] Write Protect is off
Mar 31 19:20:01 dragon kernel: [ 3.537359] sd 4:0:0:0: [sdb] Mode Sense: 03 00 00 00
Mar 31 19:20:01 dragon kernel: [ 3.538498] sd 4:0:0:0: [sdb] No Caching mode page found
Mar 31 19:20:01 dragon kernel: [ 3.538500] sd 4:0:0:0: [sdb] Assuming drive cache: write through
Mar 31 19:20:01 dragon kernel: [ 3.541768] random: nonblocking pool is initialized
Mar 31 19:20:01 dragon kernel: [ 3.543042] sd 4:0:0:0: [sdb] No Caching mode page found
Mar 31 19:20:01 dragon kernel: [ 3.543047] sd 4:0:0:0: [sdb] Assuming drive cache: write through
Mar 31 19:20:01 dragon kernel: [ 3.544163] sdb: sdb1
Mar 31 19:20:01 dragon kernel: [ 3.548044] sd 4:0:0:0: [sdb] No Caching mode page found
Mar 31 19:20:01 dragon kernel: [ 3.548049] sd 4:0:0:0: [sdb] Assuming drive cache: write through
Mar 31 19:20:01 dragon kernel: [ 3.548052] sd 4:0:0:0: [sdb] Attached SCSI removable disk
...
Mar 31 19:20:38 dragon udisksd[2780]: Mounted /dev/sdb1 at /media/roger/Stella on behalf of uid 1000

Disk shows as mounted 'rw' and evrything is fine!

Roger

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.