I have following MP3 player:
lsusb
and after using it for while one day it show me that I can not delete or copy any file to it as it was mounted read only.Code:Bus 004 Device 003: ID 0402:5667 ALi Corp. Music player
I can still access the files and open them. The mp3 that are on the player I can still play them.
I started investigating.
Tried: gparted > check
Tried dmesgCode:Unable to open /dev/sdf read-write (Read-only file system). /dev/sdf has been opened read-only. The FATs don't match. If you don't know what this means, then select cancel, run scandisk on the file system, and then come back.
The mp3 player has no option of enabling write protection. While some players have hardware switch this one does not have one. Manual for the mp3 player does not mention such option as well.Code:[ 4958.830666] usb-storage: device found at 3 [ 4958.830670] usb-storage: waiting for device to settle before scanning [ 4963.832281] usb-storage: device scan complete [ 4963.835242] scsi 7:0:0:0: Direct-Access USB 2.0 Storage Device PQ: 0 ANSI: 0 CCS [ 4963.835851] sd 7:0:0:0: Attached scsi generic sg6 type 0 [ 4963.845273] sd 7:0:0:0: [sdf] 4032512 512-byte logical blocks: (2.06 GB/1.92 GiB) [ 4963.848261] sd 7:0:0:0: [sdf] Write Protect is on [ 4963.848268] sd 7:0:0:0: [sdf] Mode Sense: 3b 00 80 00 [ 4963.848272] sd 7:0:0:0: [sdf] Assuming drive cache: write through [ 4963.863221] sd 7:0:0:0: [sdf] Assuming drive cache: write through [ 4963.863232] sdf: sdf1 [ 4963.877250] sd 7:0:0:0: [sdf] Assuming drive cache: write through [ 4963.877262] sd 7:0:0:0: [sdf] Attached SCSI removable disk
fsck
Tried to format in gparted butCode:marcin@marcin-desktop:~$ fsck /dev/sdf fsck from util-linux-ng 2.16 e2fsck 1.41.9 (22-Aug-2009) fsck.ext2: Permission denied while trying to open /dev/sdf You must have r/w access to the filesystem or be root marcin@marcin-desktop:~$ sudo fsck /dev/sdf fsck from util-linux-ng 2.16 e2fsck 1.41.9 (22-Aug-2009) fsck.ext2: Read-only file system while trying to open /dev/sdf Disk write-protected; use the -n option to do a read-only check of the device. marcin@marcin-desktop:~$ sudo fsck /dev/sdf -n fsck from util-linux-ng 2.16 e2fsck 1.41.9 (22-Aug-2009) fsck.ext2: Superblock invalid, trying backup blocks... fsck.ext2: Bad magic number in super-block while trying to open /dev/sdf The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device> marcin@marcin-desktop:~$ sudo dosfsck /dev/sdf dosfsck 3.0.3, 18 May 2009, FAT32, LFN Logical sector size (7950 bytes) is not a multiple of the physical sector size.
Can you please suggest some further steps to get it working.Code:Unable to open /dev/sdf read-write (Read-only file system). /dev/sdf has been opened read-only. Can't write to /dev/sdf, because it is opened read-only.



Adv Reply




Bookmarks