* [gentoo-user] Write Protect is on: USB key insists on being "read-only filesystem"
@ 2006-04-16 14:14 Régis Décamps
2006-04-16 14:32 ` Mantas Povilaitis
2006-04-16 14:40 ` [gentoo-user] " Hemmann, Volker Armin
0 siblings, 2 replies; 4+ messages in thread
From: Régis Décamps @ 2006-04-16 14:14 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2065 bytes --]
Hi all,
I've bought a simple and cheap USB key/MP3 player by memup.
The kernel says:
sdc: Write Protect is on
How to disable this write protection?
[all details bellow]
I use hal/udev/ivman/pmount. When I insert the drive in my gentoo box, it is
mounted by ivman/pmount in /media for the current user
# df -T /dev/sdc
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/sdc vfat 251496 1344 250152 1% /media/REGIS_USB
drwx------ 2 regis users 16384 jan 1 1970
/media/REGIS_USB
And /media/REGIS_USB does list the content of the USB drive.
Now, I can't write anything on this filesytem.
regis /media/REGIS_USB % touch
toto
touch: cannot touch `toto': Read-only file system
As I understand my trivial configuration, this should be mounted read+write.
Just in case, I tried:
kro64 REGIS_USB # mount -o rw,remount /media/REGIS_USB/
mount: block device /dev/sdc is write-protected, mounting read-only
dmesg says
usb 2-4: USB disconnect, address 2
usb 3-4: new full speed USB device using ohci_hcd and address 10
usb 3-4: configuration #1 chosen from 1 choice
scsi7 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 10
usb-storage: waiting for device to settle before scanning
Vendor: Model: Rev:
Type: Direct-Access ANSI SCSI revision: 00
SCSI device sdc: 503521 512-byte hdwr sectors (258 MB)
sdc: Write Protect is on
sdc: Mode Sense: 00 c0 00 80
sdc: assuming drive cache: write through
SCSI device sdc: 503521 512-byte hdwr sectors (258 MB)
sdc: Write Protect is on
sdc: Mode Sense: 00 c0 00 80
sdc: assuming drive cache: write through
sdc: unknown partition table
sd 7:0:0:0: Attached scsi removable disk sdc
sd 7:0:0:0: Attached scsi generic sg1 type 0
usb-storage: device scan complete
I have another usb key which is mounted rw as expected. The major difference
I see is that dmesg says about the other key:
sdc: Write Protect is off
So: I do change this Write-protect parameter?
Thanks and merry Easter.
--
Régis
--
Régis
[-- Attachment #2: Type: text/html, Size: 3563 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Write Protect is on: USB key insists on being "read-only filesystem"
2006-04-16 14:14 [gentoo-user] Write Protect is on: USB key insists on being "read-only filesystem" Régis Décamps
@ 2006-04-16 14:32 ` Mantas Povilaitis
2006-04-16 16:22 ` [gentoo-user] " Régis Décamps
2006-04-16 14:40 ` [gentoo-user] " Hemmann, Volker Armin
1 sibling, 1 reply; 4+ messages in thread
From: Mantas Povilaitis @ 2006-04-16 14:32 UTC (permalink / raw
To: gentoo-user
On 4/16/06, Régis Décamps <regis@decamps.info> wrote:
> Hi all,
> So: I do change this Write-protect parameter?
on my usb mp3 player there is a slider(? sorry, don't know how to call
it in english) - it can be in one of the two positions. one for
readonly, another - read/write. just like a floppy disks have. maybe
there is something like this on your player too.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Write Protect is on: USB key insists on being "read-only filesystem"
2006-04-16 14:14 [gentoo-user] Write Protect is on: USB key insists on being "read-only filesystem" Régis Décamps
2006-04-16 14:32 ` Mantas Povilaitis
@ 2006-04-16 14:40 ` Hemmann, Volker Armin
1 sibling, 0 replies; 4+ messages in thread
From: Hemmann, Volker Armin @ 2006-04-16 14:40 UTC (permalink / raw
To: gentoo-user
a) write protect switch
b) hdparm (man hdparm)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user] Re: Write Protect is on: USB key insists on being "read-only filesystem"
2006-04-16 14:32 ` Mantas Povilaitis
@ 2006-04-16 16:22 ` Régis Décamps
0 siblings, 0 replies; 4+ messages in thread
From: Régis Décamps @ 2006-04-16 16:22 UTC (permalink / raw
To: gentoo-user
Mantas Povilaitis wrote:
> On 4/16/06, Régis Décamps <regis@decamps.info> wrote:
>
>> Hi all,
>> So: I do change this Write-protect parameter?
>
>
>
> on my usb mp3 player there is a slider(? sorry, don't know how to call
> it in english) - it can be in one of the two positions. one for
> readonly, another - read/write.
Yes, exactly, you found the cause of my problem. I have a hold button,
and it was pushed in position "locked" indeed.
Thank you very much! I feel stupid for having digged hours in hal,
ivman, pmount, permissions and so forth...
--
Régis
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-04-16 16:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-16 14:14 [gentoo-user] Write Protect is on: USB key insists on being "read-only filesystem" Régis Décamps
2006-04-16 14:32 ` Mantas Povilaitis
2006-04-16 16:22 ` [gentoo-user] " Régis Décamps
2006-04-16 14:40 ` [gentoo-user] " Hemmann, Volker Armin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox