Bug 691280

Summary: USB hard disk formatted as NTFS is being mounted as FAT by KDE (and of course fails) in Tumbleweed
Product: [openSUSE] openSUSE 11.4 Reporter: Hernan Grecco <hernan.grecco>
Component: KDE4 WorkspaceAssignee: E-mail List <kde-maintainers>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: ctrippe, hernan.grecco, Martin.Seidler, mauriziorondelli, puzel
Version: Factory   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 11.4   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Hernan Grecco 2011-05-02 18:45:50 UTC
User-Agent:       Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.57 Safari/534.24

I have a 500 Gb usb external hdd formated in ntfs. Before changing to Tumbleweed, the hdd was recognized and mounted correctly when it was plugged. Now, KDE applet informs "Could not mount the following device". Looking at the error logs I was able to find out that it was being mounted as fat, not ntfs. I can still mount it manually through the command line, but I would like to make the kde applet way working again.

The hdd is working fine if I connect it to a WinXP or an openSUSE 11.4

Reproducible: Always

Steps to Reproduce:
1.Plug usb hdd

Actual Results:  
Device notifier applet shows:
Could not mount the following device: <name of the device>

Expected Results:  
Device should be mounted
Comment 1 Hernan Grecco 2011-05-02 18:46:37 UTC
I am running Linux 2.6.38.4-23-default i686 and KDE: 4.6.2 (4.6.2) "release 1".
Comment 2 Christian Trippe 2011-05-02 19:06:44 UTC
Is there something related to this mentioned in /var/log/messages when you try to mount the drive?
Comment 3 Hernan Grecco 2011-05-02 19:11:12 UTC
When I plug the drive, I get the following in /var/log/message

May  2 20:23:27 tecra kernel: [ 2238.552083] usb 1-5: new high speed USB device using ehci_hcd and address 3
May  2 20:23:27 tecra kernel: [ 2238.709098] usb 1-5: New USB device found, idVendor=152d, idProduct=2329
May  2 20:23:27 tecra kernel: [ 2238.709107] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=5
May  2 20:23:27 tecra kernel: [ 2238.709113] usb 1-5: Product: USB to ATA/ATAPI Bridge
May  2 20:23:27 tecra kernel: [ 2238.709118] usb 1-5: Manufacturer: JMicron
May  2 20:23:27 tecra kernel: [ 2238.709123] usb 1-5: SerialNumber: 9297294FFFFF
May  2 20:23:27 tecra mtp-probe: checking bus 1, device 3: "/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-5"
May  2 20:23:27 tecra mtp-probe: bus: 1, device: 3 was not an MTP device
May  2 20:23:27 tecra kernel: [ 2238.879866] usbcore: registered new interface driver uas
May  2 20:23:27 tecra kernel: [ 2238.897965] Initializing USB Mass Storage driver...
May  2 20:23:27 tecra kernel: [ 2238.898114] usb-storage 1-5:1.0: Quirks match for vid 152d pid 2329: 8020
May  2 20:23:27 tecra kernel: [ 2238.898143] scsi2 : usb-storage 1-5:1.0
May  2 20:23:27 tecra kernel: [ 2238.898293] usbcore: registered new interface driver usb-storage
May  2 20:23:27 tecra kernel: [ 2238.898296] USB Mass Storage support registered.
May  2 20:23:28 tecra kernel: [ 2239.897199] scsi 2:0:0:0: Direct-Access     FUJITSU  MJA2500BH G2          PQ: 0 ANSI: 2 CCS
May  2 20:23:28 tecra kernel: [ 2239.897790] sd 2:0:0:0: Attached scsi generic sg2 type 0
May  2 20:23:28 tecra kernel: [ 2239.898748] sd 2:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/465 GiB)
May  2 20:23:28 tecra kernel: [ 2239.900350] sd 2:0:0:0: [sdb] Write Protect is off
May  2 20:23:28 tecra kernel: [ 2239.900359] sd 2:0:0:0: [sdb] Mode Sense: 34 00 00 00
May  2 20:23:28 tecra kernel: [ 2239.901605] sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
May  2 20:23:28 tecra kernel: [ 2239.949705]  sdb: sdb1
May  2 20:23:28 tecra kernel: [ 2239.953735] sd 2:0:0:0: [sdb] Attached SCSI disk

and it fails as described above. However, when I run:
$ sudo /bin/mount /dev/sdb1 /media/LGblack500 -o users,umask=000
I get
May  2 20:23:40 tecra ntfs-3g[5792]: Version 2010.10.2 integrated FUSE 27
May  2 20:23:40 tecra ntfs-3g[5792]: Mounted /dev/sdb1 (Read-Write, label "LGblack500", NTFS 3.1)
May  2 20:23:40 tecra ntfs-3g[5792]: Cmdline options: rw,noexec,nosuid,nodev,umask=000
May  2 20:23:40 tecra ntfs-3g[5792]: Mount options: rw,noexec,nosuid,nodev,allow_other,nonempty,relatime,fsname=/dev/sdb1,blkdev,blksize=4096,default_permissions
May  2 20:23:40 tecra ntfs-3g[5792]: Global ownership and permissions enforced, configuration type 1

and everything is fine.
Comment 4 Martin Seidler 2011-05-03 09:41:09 UTC
Probaby related or the same:
Bug 691332 - USB HDD cannot be automatically mounted after kernel update to 2.6.37.6-0.5-desktop x86_64
https://bugzilla.novell.com/show_bug.cgi?id=691332
with a proposted workaround and a link to
KDE's bugzilla: https://bugs.kde.org/show_bug.cgi?id=270689
Comment 5 maurizio rondelli 2011-05-04 20:58:44 UTC
Having same exact problem after updating kernel yesterday - 04 -05 -2011
, sorry I am not really so technical, I know I have Opensuse 11.4, KDE 4.6, and that message from Device Notifier is:   "org.freedesktop.UDisks.Error.Failed: Requested filesystem type is neither well-known nor in /proc/filesystems nor in /etc/filesystems"

If it can help I have a FAT32 disk which mounts ok!
Comment 6 Petr Uzel 2011-05-12 14:56:04 UTC
(In reply to comment #4)
> Probaby related or the same:
> Bug 691332

I think you are right. Setting as duplicate and working on it.

*** This bug has been marked as a duplicate of bug 691332 ***