[Bug 199165] [NEW] Automounting removable storage doesn't always honour the utf8 mount option

Launchpad Bug Tracker 199165 at bugs.launchpad.net
Fri Aug 1 16:05:12 UTC 2008


You have been subscribed to a public bug:

I often have to mount flash drives having russian symbols in file names.
KDE4 doesn't seem to honour the utf8 mount option always.

This is an example of an incorrectly mounted one (This SD card is mounted through WM5Storage from a wm based pda)
/dev/sdi1 on /media/!SD type vfat (rw,nosuid,nodev,uid=1000)

And here's the same card inserted into the cardreader:

/dev/sdd1 on /media/!SD type vfat (ro,nosuid,nodev,noatime,flush,uid=1000,utf8,shortname=lower 
(everything OK)

However, on a different SD card the same charset problem happens while inserted into the cardreader as well as the pda.
The removable flash drives also seem to differ: some mount OK, with proper charset, some without. I still cannot figure out what affects it.

A simple 512mb flash stick:
/dev/sdi1 on /media/ya_flashko type vfat (rw,nosuid,nodev,uid=1000) (same here)

Here are the dmesg outputs:
1. SD card through WM5Storage:

[  811.117862] usb 5-2: new full speed USB device using uhci_hcd and address 3
[  811.316927] usb 5-2: configuration #1 chosen from 1 choice
[  811.327920] scsi9 : SCSI emulation for USB Mass Storage devices
[  811.328068] usb-storage: device found at 3
[  811.328072] usb-storage: waiting for device to settle before scanning
[  816.325755] usb-storage: device scan complete
[  816.328761] scsi 9:0:0:0: Direct-Access     WM5torag Acer n300 Handhe 1.74 PQ: 0 ANSI: 0 CCS
[  816.333749] sd 9:0:0:0: [sdi] 4022272 512-byte hardware sectors (2059 MB)
[  816.336847] sd 9:0:0:0: [sdi] Write Protect is off
[  816.336851] sd 9:0:0:0: [sdi] Mode Sense: 03 00 00 00
[  816.336854] sd 9:0:0:0: [sdi] Assuming drive cache: write through
[  816.341736] sd 9:0:0:0: [sdi] 4022272 512-byte hardware sectors (2059 MB)
[  816.344734] sd 9:0:0:0: [sdi] Write Protect is off
[  816.344737] sd 9:0:0:0: [sdi] Mode Sense: 03 00 00 00
[  816.344739] sd 9:0:0:0: [sdi] Assuming drive cache: write through
[  816.344742]  sdi: sdi1 sdi2
[  816.352810] sd 9:0:0:0: [sdi] Attached SCSI disk
[  816.352856] sd 9:0:0:0: Attached scsi generic sg9 type 0
[  827.746161] usb 5-2: USB disconnect, address 3

2). same SD card through card reader:

[ 1714.673467] sd 6:0:0:0: [sdd] 4022272 512-byte hardware sectors (2059 MB)
[ 1714.674465] sd 6:0:0:0: [sdd] Write Protect is off
[ 1714.674469] sd 6:0:0:0: [sdd] Mode Sense: 03 00 00 00
[ 1714.674472] sd 6:0:0:0: [sdd] Assuming drive cache: write through
[ 1714.675461] sd 6:0:0:0: [sdd] 4022272 512-byte hardware sectors (2059 MB)
[ 1714.676338] sd 6:0:0:0: [sdd] Write Protect is off
[ 1714.676342] sd 6:0:0:0: [sdd] Mode Sense: 03 00 00 00
[ 1714.676344] sd 6:0:0:0: [sdd] Assuming drive cache: write through
[ 1714.676348]  sdd: sdd1 sdd2

3).

[ 1841.375714] usb 2-5: new high speed USB device using ehci_hcd and address 7
[ 1841.509281] usb 2-5: configuration #1 chosen from 1 choice
[ 1841.509499] scsi11 : SCSI emulation for USB Mass Storage devices
[ 1841.509667] usb-storage: device found at 7
[ 1841.509669] usb-storage: waiting for device to settle before scanning
[ 1846.506731] usb-storage: device scan complete
[ 1846.507488] scsi 11:0:0:0: Direct-Access     Ut163    USB2FlashStorage 0.00 PQ: 0 ANSI: 2
[ 1846.509090] sd 11:0:0:0: [sdi] 1007616 512-byte hardware sectors (516 MB)
[ 1846.509714] sd 11:0:0:0: [sdi] Write Protect is off
[ 1846.509717] sd 11:0:0:0: [sdi] Mode Sense: 00 00 00 00
[ 1846.509720] sd 11:0:0:0: [sdi] Assuming drive cache: write through
[ 1846.511838] sd 11:0:0:0: [sdi] 1007616 512-byte hardware sectors (516 MB)
[ 1846.512463] sd 11:0:0:0: [sdi] Write Protect is off
[ 1846.512465] sd 11:0:0:0: [sdi] Mode Sense: 00 00 00 00
[ 1846.512468] sd 11:0:0:0: [sdi] Assuming drive cache: write through
[ 1846.512471]  sdi: sdi1
[ 1846.620657] sd 11:0:0:0: [sdi] Attached SCSI removable disk
[ 1846.620706] sd 11:0:0:0: Attached scsi generic sg9 type 0

Now I used ivman (don't use it to mount - just to run scripts) to get the hal debug messages for all three test cases
(Will attach them in a separate file since they're quite long)

** Affects: kdebase (Ubuntu)
     Importance: Medium
         Status: Confirmed

-- 
Automounting removable storage doesn't always honour the utf8 mount option
https://bugs.edge.launchpad.net/bugs/199165
You received this bug notification because you are a member of Kubuntu Team, which is subscribed to kdebase in ubuntu.




More information about the kubuntu-bugs mailing list