Bug 48502 - Fails to mount USB-HDD, probably due to a volume label handling bug
Summary: Fails to mount USB-HDD, probably due to a volume label handling bug
Status: RESOLVED FIXED
Alias: None
Product: udisks
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: David Zeuthen (not reading bugmail)
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-10 05:35 UTC by sdiconov
Modified: 2012-04-10 09:11 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
cat /etc/fstab (515 bytes, text/plain)
2012-04-10 05:35 UTC, sdiconov
Details
udisksctl dump (36.88 KB, text/plain)
2012-04-10 05:35 UTC, sdiconov
Details
udevadm info --export-db (212.08 KB, text/plain)
2012-04-10 05:36 UTC, sdiconov
Details
cat /proc/self/mountinfo (1.23 KB, text/plain)
2012-04-10 05:37 UTC, sdiconov
Details
gvfs-mount -li (2.09 KB, text/plain)
2012-04-10 05:39 UTC, sdiconov
Details
udisksctl monitor (829 bytes, text/plain)
2012-04-10 05:41 UTC, sdiconov
Details

Description sdiconov 2012-04-10 05:35:04 UTC
Created attachment 59720 [details]
cat /etc/fstab

Since an automatic upgrade to udisks2 happened, my desktop lost the ability to mount my USB HDD(s). The drive is recognized and activates properly, but I am not able to mount it and see its contents.  

I have GNOME3 and Cinnmon installed and the GUI error message reads   

Error mounting /dev/sdd1 at /run/media/slava/Аудио: Command-line `mount -t "reiserfs" -o "uhelper=udisks2,nodev,nosuid" "/dev/sdd1" "/run/media/slava/\320\220\321\203\320\264\320\270\320\276"' exited with non-zero exit status 32: mount: mount point /run/media/slava/\320\220\321\203\320\264\320\270\320\276 does not exist

The drive has a single reiserfs partition and the volume label is in Russian. It works perfectly at a different Linux box without udisks.

The versions are:
udisks-1.0.4-alt1
gvfs-1.12.0-alt2
libatasmart-0.18-alt1

The distro is ALTLinux (unstable repo) and the packagers of the udisks rpm have been notified as well.
Comment 1 sdiconov 2012-04-10 05:35:46 UTC
Created attachment 59721 [details]
udisksctl dump
Comment 2 sdiconov 2012-04-10 05:36:23 UTC
Created attachment 59722 [details]
udevadm info --export-db
Comment 3 sdiconov 2012-04-10 05:37:09 UTC
Created attachment 59723 [details]
cat /proc/self/mountinfo
Comment 4 sdiconov 2012-04-10 05:39:42 UTC
Created attachment 59724 [details]
gvfs-mount -li
Comment 5 sdiconov 2012-04-10 05:41:54 UTC
Created attachment 59725 [details]
udisksctl monitor
Comment 6 sdiconov 2012-04-10 05:51:08 UTC
My SD card, formatted by a camera as FAT and labeled "CANON_DC", mounts well.

The error message makes me think that udisks might be unable to handle unicode (UTF8) in disk labels. My HDD was formatted and labeled "Аудио" using gparted. It mounts well at a different machine (pmount is used there) with a correct path 

"/media/Аудио".
Comment 7 David Zeuthen (not reading bugmail) 2012-04-10 06:36:35 UTC
Yeah, I can reproduce this bug. Working on a fix.
Comment 8 David Zeuthen (not reading bugmail) 2012-04-10 09:11:53 UTC
OK, fixed with this commit

 http://cgit.freedesktop.org/udisks/commit/?id=91f79a9beba9b1a1ceeb1cb3f26d95be3dcf62b7

Thanks.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.