(breezy) usb-storage hotplug fails due to mounting FAT as utf8
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hotplug (Ubuntu) |
Invalid
|
Medium
|
Scott James Remnant (Canonical) |
Bug Description
When plugging-in my iRiver player (USB) which has been set-up to work as a
storage device, I am having the following problem. I find that when I try to
write to it, it is mounted read only. Here is the part of my /var/log/syslog
that seems relavant. I'm not sure where the problem really originates (I just
guessed hotplug). Am an running an breezy system that is fully syched-up as of
this morning (10am EDT), but haven't yet rebooted to the new kernel. I had the
same problem yesterday, but it has been working within the previous week.
Oct 6 17:18:51 localhost kernel: [4323253.142000] Initializing USB Mass Storage
driver...
Oct 6 17:18:51 localhost kernel: [4323253.148000] scsi0 : SCSI emulation for
USB Mass Storage devices
Oct 6 17:18:51 localhost kernel: [4323253.159000] usb-storage: device found at 3
Oct 6 17:18:51 localhost kernel: [4323253.159000] usb-storage: waiting for
device to settle before scanning
Oct 6 17:18:51 localhost kernel: [4323253.159000] usbcore: registered new
driver usb-storage
Oct 6 17:18:51 localhost kernel: [4323253.159000] USB Mass Storage support
registered.
Oct 6 17:18:51 localhost usb.agent[31258]: usb-storage: loaded successfully
Oct 6 17:18:56 localhost kernel: [4323258.485000] Vendor: iriver Model:
MassStorage Disc Rev:
Oct 6 17:18:56 localhost kernel: [4323258.485000] Type: Direct-Access
Oct 6 17:18:56 localhost kernel: [4323258.511000] usb-storage: device scan complete
Oct 6 17:18:56 localhost kernel: [4323258.709000] SCSI device sda: 1024001
512-byte hdwr sectors (524 MB)
Oct 6 17:18:56 localhost kernel: [4323258.712000] sda: Write Protect is off
Oct 6 17:18:56 localhost kernel: [4323258.712000] sda: Mode Sense: 45 00 00 08
Oct 6 17:18:56 localhost kernel: [4323258.712000] sda: assuming drive cache:
write through
Oct 6 17:18:56 localhost kernel: [4323258.724000] SCSI device sda: 1024001
512-byte hdwr sectors (524 MB)
Oct 6 17:18:56 localhost kernel: [4323258.727000] sda: Write Protect is off
Oct 6 17:18:56 localhost kernel: [4323258.727000] sda: Mode Sense: 45 00 00 08
Oct 6 17:18:56 localhost kernel: [4323258.727000] sda: assuming drive cache:
write through
Oct 6 17:18:56 localhost kernel: [4323258.727000]
/dev/scsi/
Oct 6 17:18:56 localhost kernel: [4323258.737000] Attached scsi removable disk
sda at scsi0, channel 0, id 0,
lun 0
Oct 6 17:18:56 localhost scsi.agent[31327]: sd_mod: loaded sucessfully
(for disk)
Oct 6 17:18:59 localhost kernel: [4323261.205000] FAT: utf8 is not a
recommended IO charset for FAT filesystems, filesystem will be case sensitive!
Oct 6 17:19:05 localhost kernel: [4323267.466000] FAT: Filesystem panic (dev sda)
Oct 6 17:19:05 localhost kernel: [4323267.466000] fat_get_cluster: invalid
cluster chain (i_pos 0)
Oct 6 17:19:05 localhost kernel: [4323267.466000] File system has been set
read-only
Sorry UTF-8 wasn't the problem. I misread the error log. Reformatted the
iRiver and it worked again.