Re: [Hampshire] S.D. Card stuck in read only

2011-11-19 Thread mark

On Fri, 18 Nov 2011 16:19:38 +, Tony Whitmore wrote:

On 18.11.2011 16:08, Bryn Jones wrote:

Hi,

I have a 16gb micro sd that's suddenly read only. Tried gparted etc.
and getting nowhere.

Anyone got any ideas?.


Look on the left hand side, you will see a "lock" slider:



This may be in the wrong position, which will cause the medium to be
read-only. Alternatively, the slider may have fallen out entirely and
therefore be rendered effectively useless!


For the record, if that happens it's possible to put a piece of 
matchstick or similar in the gap where the slider was and tape it in 
place, making the card writeable again.


Mark

--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] S.D. Card stuck in read only

2011-11-18 Thread Full Circle Podcast
I recall putting an SD card in two different Ricoh readers under different
Linux OS' and being baffled until I worked out the read-only tab worked in
different positions in each, after which the SD card was convinced it was
read only after you swapped back, so you had to switch it a second time
before writing on the other reader!

Some local reality distortion in which binary has more than two values??

RC

Robin Catling
Full Circle Podcast


On 18 November 2011 18:31, James Courtier-Dutton wrote:

> On 18 November 2011 16:58, Bryn Jones  wrote:
> > Thanks Vic,
> >
> > I'm going to 'assume' you are right re SDHC (for now).
> >
> > All the kern.log reveals is -
> > Nov 18 16:54:08 HP2 kernel: [135648.708306] usb 1-5: new high speed USB
> > device using ehci_hcd and address 59
> > Nov 18 16:54:08 HP2 kernel: [135648.849530] scsi27 : usb-storage 1-5:1.0
> > Nov 18 16:54:09 HP2 kernel: [135649.849286] scsi 27:0:0:0: Direct-Access
> > Single   Flash Reader 1.00 PQ: 0 ANSI: 0
> > Nov 18 16:54:09 HP2 kernel: [135649.851726] sd 27:0:0:0: Attached scsi
> > generic sg1 type 0
> > Nov 18 16:54:10 HP2 kernel: [135650.374744] sd 27:0:0:0: [sdb] 31090688
> > 512-byte logical blocks: (15.9 GB/14.8 GiB)
> > Nov 18 16:54:10 HP2 kernel: [135650.375604] sd 27:0:0:0: [sdb] Write
> Protect
> > is on
> > Nov 18 16:54:10 HP2 kernel: [135650.375622] sd 27:0:0:0: [sdb] Mode
> Sense:
> > 03 00 80 00
> > Nov 18 16:54:10 HP2 kernel: [135650.377610] sd 27:0:0:0: [sdb] No Caching
> > mode page present
> > Nov 18 16:54:10 HP2 kernel: [135650.377632] sd 27:0:0:0: [sdb] Assuming
> > drive cache: write through
> > Nov 18 16:54:10 HP2 kernel: [135650.386593] sd 27:0:0:0: [sdb] No Caching
> > mode page present
> > Nov 18 16:54:10 HP2 kernel: [135650.386612] sd 27:0:0:0: [sdb] Assuming
> > drive cache: write through
> > Nov 18 16:54:10 HP2 kernel: [135650.389249]  sdb: sdb1
> > Nov 18 16:54:10 HP2 kernel: [135650.396193] sd 27:0:0:0: [sdb] No Caching
> > mode page present
> > Nov 18 16:54:10 HP2 kernel: [135650.396219] sd 27:0:0:0: [sdb] Assuming
> > drive cache: write through
> > Nov 18 16:54:10 HP2 kernel: [135650.396243] sd 27:0:0:0: [sdb] Attached
> SCSI
> > removable disk
> >
> > Out of which all I see of use is the write protected line (again not
> > expert!).
> >
> > Any other thoughts?
> >
> > Cheers
> > Bryn
> >
>
> A common failure mode for flash devices is to lock them in Read Only mode.
> There is probably a fault on the SD card. I have seen the same thing
> happen with USB memory sticks.
>
> --
> Please post to: Hampshire@mailman.lug.org.uk
> Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
> LUG URL: http://www.hantslug.org.uk
> --
>
--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--

Re: [Hampshire] S.D. Card stuck in read only

2011-11-18 Thread James Courtier-Dutton
On 18 November 2011 16:58, Bryn Jones  wrote:
> Thanks Vic,
>
> I'm going to 'assume' you are right re SDHC (for now).
>
> All the kern.log reveals is -
> Nov 18 16:54:08 HP2 kernel: [135648.708306] usb 1-5: new high speed USB
> device using ehci_hcd and address 59
> Nov 18 16:54:08 HP2 kernel: [135648.849530] scsi27 : usb-storage 1-5:1.0
> Nov 18 16:54:09 HP2 kernel: [135649.849286] scsi 27:0:0:0: Direct-Access
> Single   Flash Reader     1.00 PQ: 0 ANSI: 0
> Nov 18 16:54:09 HP2 kernel: [135649.851726] sd 27:0:0:0: Attached scsi
> generic sg1 type 0
> Nov 18 16:54:10 HP2 kernel: [135650.374744] sd 27:0:0:0: [sdb] 31090688
> 512-byte logical blocks: (15.9 GB/14.8 GiB)
> Nov 18 16:54:10 HP2 kernel: [135650.375604] sd 27:0:0:0: [sdb] Write Protect
> is on
> Nov 18 16:54:10 HP2 kernel: [135650.375622] sd 27:0:0:0: [sdb] Mode Sense:
> 03 00 80 00
> Nov 18 16:54:10 HP2 kernel: [135650.377610] sd 27:0:0:0: [sdb] No Caching
> mode page present
> Nov 18 16:54:10 HP2 kernel: [135650.377632] sd 27:0:0:0: [sdb] Assuming
> drive cache: write through
> Nov 18 16:54:10 HP2 kernel: [135650.386593] sd 27:0:0:0: [sdb] No Caching
> mode page present
> Nov 18 16:54:10 HP2 kernel: [135650.386612] sd 27:0:0:0: [sdb] Assuming
> drive cache: write through
> Nov 18 16:54:10 HP2 kernel: [135650.389249]  sdb: sdb1
> Nov 18 16:54:10 HP2 kernel: [135650.396193] sd 27:0:0:0: [sdb] No Caching
> mode page present
> Nov 18 16:54:10 HP2 kernel: [135650.396219] sd 27:0:0:0: [sdb] Assuming
> drive cache: write through
> Nov 18 16:54:10 HP2 kernel: [135650.396243] sd 27:0:0:0: [sdb] Attached SCSI
> removable disk
>
> Out of which all I see of use is the write protected line (again not
> expert!).
>
> Any other thoughts?
>
> Cheers
> Bryn
>

A common failure mode for flash devices is to lock them in Read Only mode.
There is probably a fault on the SD card. I have seen the same thing
happen with USB memory sticks.

--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--

Re: [Hampshire] S.D. Card stuck in read only

2011-11-18 Thread Bryn Jones

Two different adapters.
Both with lock switches open.
Both tested through this laptops internal reader and a USB SD adapter.
Both working with spare 8gb card.
Also tested with 2 machines.

:/

Bryn


On 18/11/11 17:06, Vic wrote:

Nov 18 16:54:10 HP2 kernel: [135650.375604] sd 27:0:0:0: [sdb] Write
Protect is on

OK, your machine believes you' redelberately tellig it not to write to the
card.

How do you plug it in? Adaptor? Is there a lock switch - and if not, *was*
there a lock switch?

Vic.


--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] S.D. Card stuck in read only

2011-11-18 Thread Vic

> Nov 18 16:54:10 HP2 kernel: [135650.375604] sd 27:0:0:0: [sdb] Write
> Protect is on

OK, your machine believes you' redelberately tellig it not to write to the
card.

How do you plug it in? Adaptor? Is there a lock switch - and if not, *was*
there a lock switch?

Vic.


--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] S.D. Card stuck in read only

2011-11-18 Thread Bryn Jones

Thanks Vic,

I'm going to 'assume' you are right re SDHC (for now).

All the kern.log reveals is -
Nov 18 16:54:08 HP2 kernel: [135648.708306] usb 1-5: new high speed USB 
device using ehci_hcd and address 59

Nov 18 16:54:08 HP2 kernel: [135648.849530] scsi27 : usb-storage 1-5:1.0
Nov 18 16:54:09 HP2 kernel: [135649.849286] scsi 27:0:0:0: 
Direct-Access Single   Flash Reader 1.00 PQ: 0 ANSI: 0
Nov 18 16:54:09 HP2 kernel: [135649.851726] sd 27:0:0:0: Attached scsi 
generic sg1 type 0
Nov 18 16:54:10 HP2 kernel: [135650.374744] sd 27:0:0:0: [sdb] 31090688 
512-byte logical blocks: (15.9 GB/14.8 GiB)
Nov 18 16:54:10 HP2 kernel: [135650.375604] sd 27:0:0:0: [sdb] Write 
Protect is on
Nov 18 16:54:10 HP2 kernel: [135650.375622] sd 27:0:0:0: [sdb] Mode 
Sense: 03 00 80 00
Nov 18 16:54:10 HP2 kernel: [135650.377610] sd 27:0:0:0: [sdb] No 
Caching mode page present
Nov 18 16:54:10 HP2 kernel: [135650.377632] sd 27:0:0:0: [sdb] Assuming 
drive cache: write through
Nov 18 16:54:10 HP2 kernel: [135650.386593] sd 27:0:0:0: [sdb] No 
Caching mode page present
Nov 18 16:54:10 HP2 kernel: [135650.386612] sd 27:0:0:0: [sdb] Assuming 
drive cache: write through

Nov 18 16:54:10 HP2 kernel: [135650.389249]  sdb: sdb1
Nov 18 16:54:10 HP2 kernel: [135650.396193] sd 27:0:0:0: [sdb] No 
Caching mode page present
Nov 18 16:54:10 HP2 kernel: [135650.396219] sd 27:0:0:0: [sdb] Assuming 
drive cache: write through
Nov 18 16:54:10 HP2 kernel: [135650.396243] sd 27:0:0:0: [sdb] Attached 
SCSI removable disk


Out of which all I see of use is the write protected line (again not 
expert!).


Any other thoughts?

Cheers
Bryn

On 18/11/11 16:45, Vic wrote:

Interestingly I tried it in a card reader directly and it didn't even
show up.

Does that card reader explicitly claim SDHC operation? A standard SD
reader won't see a SDHC card (and 16GB is SDHC).


My hearts saying its died but I'm in no way shape or form an expert on
these things!.

You might be right. I'd be having a good look through /var/log/messages to
see what that says. Read-only filesystems tend to imply damage - but it
might be repairable.

Vic.


--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] S.D. Card stuck in read only

2011-11-18 Thread Vic

> Interestingly I tried it in a card reader directly and it didn't even
> show up.

Does that card reader explicitly claim SDHC operation? A standard SD
reader won't see a SDHC card (and 16GB is SDHC).

> My hearts saying its died but I'm in no way shape or form an expert on
> these things!.

You might be right. I'd be having a good look through /var/log/messages to
see what that says. Read-only filesystems tend to imply damage - but it
might be repairable.

Vic.


--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] S.D. Card stuck in read only

2011-11-18 Thread Bryn Jones
Yup exactly, 2 different adapters both unlocked and no joy. 
Interestingly I tried it in a card reader directly and it didn't even 
show up.


My hearts saying its died but I'm in no way shape or form an expert on 
these things!.


On 18/11/11 16:22, Vic wrote:

Look on the left hand side, you will see a "lock" slider:

MicroSD doesn't have the lock slider (although a SD adaptor might).

Vic.


--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] S.D. Card stuck in read only

2011-11-18 Thread Vic

> Look on the left hand side, you will see a "lock" slider:

MicroSD doesn't have the lock slider (although a SD adaptor might).

Vic.


--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] S.D. Card stuck in read only

2011-11-18 Thread Victor Churchill
On 18 November 2011 16:19, Tony Whitmore  wrote:

>
> Look on the left hand side, you will see a "lock" slider:
>
> http://www.tracyandmatt.co.uk/blogs/media/blogs/tracyandmatts_blog/sandisk-2gb-sd-card.jpg
>
> This may be in the wrong position, which will cause the medium to be
> read-only. Alternatively, the slider may have fallen out entirely and
> therefore be rendered effectively useless! I have had this happen with some
> SD cards. (Compact Flash FTW!)

Wow. Just like on the old floppy disks!

--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] S.D. Card stuck in read only

2011-11-18 Thread Tony Whitmore

On 18.11.2011 16:08, Bryn Jones wrote:

Hi,

I have a 16gb micro sd that's suddenly read only. Tried gparted etc.
and getting nowhere.

Anyone got any ideas?.


Look on the left hand side, you will see a "lock" slider:

http://www.tracyandmatt.co.uk/blogs/media/blogs/tracyandmatts_blog/sandisk-2gb-sd-card.jpg

This may be in the wrong position, which will cause the medium to be 
read-only. Alternatively, the slider may have fallen out entirely and 
therefore be rendered effectively useless! I have had this happen with 
some SD cards. (Compact Flash FTW!)


Tony

--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


[Hampshire] S.D. Card stuck in read only

2011-11-18 Thread Bryn Jones
Hi,

I have a 16gb micro sd that's suddenly read only. Tried gparted etc. and
getting nowhere.

Anyone got any ideas?.

Cheers
Bryn
--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--