[ltp] SD cards always mount read-only

Marius Gedminas linux-thinkpad@linux-thinkpad.org
Wed, 12 Oct 2011 19:26:01 +0300


--jRHKVT23PllUwdXP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Oct 09, 2011 at 03:37:47PM -0700, John Jason Jordan wrote:
> Fedora 14, x86_64 on Lenovo Thinkpad T61.

(snip problem description: SD cards are read-only.)

I've a Lenovo Thinkpad T61, running various 32-bit versions of Ubuntu.

The SD-card reader works.  lspci -n tells me it's

15:00.2 SD Host controller [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro=
 Host Adapter [1180:0822] (rev 21)

One caveat: if I push the SD card in too deep, it won't register, and
I'll see read errors in dmesg.  This made me think the card reader was
unsupported for a long time.

> [root@Devil8 SD]# dmesg | tail
> [11614.649373] mmc0: card e624 removed=20
> [11714.619488] mmc0: error -110 whilst initialising SD card
> [11744.034320] mmc0: new high speed SDHC card at address e624
> [11744.034572] mmcblk0: mmc0:e624 SU32G 29.7 GiB (ro)=20
> [11744.034823] mmcblk0: p1
>=20
> I need some super-root command that will delete the partition or allow
> me to reformat it.=20

I don't think mucking with partitions is going to solve this; for some
reason your whole block device is read-only.  I've no idea why.

> I also need feedback from other T61 users. Has anyone else experienced
> this with an SD card on a T61? If so, is there a solution? If you have
> an SD card on a T61 that works read-write, can you give me some details
> about your distro, brand of SD card, etc.?

I delayed answering your email because I hoped to find a spare SD
card lying around, to test, and report the model/manufacturer.  They're
all lost or given away, apparently.

Marius Gedminas
--=20
Be yourself.
Especially, do not feign respect for technical incompetance.

--jRHKVT23PllUwdXP
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk6Vv5UACgkQkVdEXeem14/hpwCeI1lEd6m3I+0HEko5sD/Cz/6g
EwEAoIndhMKsRN5MCji8KyYLQPxOvJNF
=WIYG
-----END PGP SIGNATURE-----

--jRHKVT23PllUwdXP--