Bugzilla – Bug 450219
ntfs external hard drives not works
Last modified: 2008-12-01 17:06:26 UTC
i attach the pen drive (and my external hard disk as well) and i got the following: kde-updaterapplet : ERROR --> "DBus error : org.freedesktop.PackageKit.Transaction.SearchInvalid : Search string zero length" kio_media_mounthelper : ERROR --> "TODO: have to rethink extra options" from tail -f /var/log/messages , pen drive correctly detected: Nov 29 11:21:19 linux-susz kernel: usb 1-6: new high speed USB device using ehci_hcd and address 5 Nov 29 11:21:19 linux-susz kernel: usb 1-6: configuration #1 chosen from 1 choice Nov 29 11:21:19 linux-susz kernel: scsi9 : SCSI emulation for USB Mass Storage devices Nov 29 11:21:19 linux-susz kernel: usb 1-6: New USB device found, idVendor=0781, idProduct=5406 Nov 29 11:21:19 linux-susz kernel: usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Nov 29 11:21:19 linux-susz kernel: usb 1-6: Product: U3 Cruzer Micro Nov 29 11:21:19 linux-susz kernel: usb 1-6: Manufacturer: SanDisk Nov 29 11:21:19 linux-susz kernel: usb 1-6: SerialNumber: 0000167C8775C505 Nov 29 11:21:19 linux-susz kernel: usb-storage: device found at 5 Nov 29 11:21:19 linux-susz kernel: usb-storage: waiting for device to settle before scanning Nov 29 11:21:20 linux-susz kernel: scsi 9:0:0:0: Direct-Access SanDisk Cruzer 4.05 PQ: 0 ANSI: 2 Nov 29 11:21:20 linux-susz kernel: sd 9:0:0:0: [sdc] 16055949 512-byte hardware sectors: (8.22GB/7.65GiB) Nov 29 11:21:20 linux-susz kernel: sd 9:0:0:0: [sdc] Write Protect is off Nov 29 11:21:20 linux-susz kernel: sd 9:0:0:0: [sdc] Mode Sense: 03 00 00 00 Nov 29 11:21:20 linux-susz kernel: sd 9:0:0:0: [sdc] Assuming drive cache: write through Nov 29 11:21:20 linux-susz kernel: sd 9:0:0:0: [sdc] 16055949 512-byte hardware sectors: (8.22GB/7.65GiB) Nov 29 11:21:20 linux-susz kernel: sd 9:0:0:0: [sdc] Write Protect is off Nov 29 11:21:20 linux-susz kernel: sd 9:0:0:0: [sdc] Mode Sense: 03 00 00 00 Nov 29 11:21:20 linux-susz kernel: sd 9:0:0:0: [sdc] Assuming drive cache: write through Nov 29 11:21:20 linux-susz kernel: sdc: sdc1 Nov 29 11:21:20 linux-susz kernel: sd 9:0:0:0: [sdc] Attached SCSI removable disk Nov 29 11:21:20 linux-susz kernel: sd 9:0:0:0: Attached scsi generic sg4 type 0 Nov 29 11:21:20 linux-susz kernel: usb-storage: device scan complete from dmesg: usb 1-6: new high speed USB device using ehci_hcd and address 5 usb 1-6: configuration #1 chosen from 1 choice scsi9 : SCSI emulation for USB Mass Storage devices usb 1-6: New USB device found, idVendor=0781, idProduct=5406 usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-6: Product: U3 Cruzer Micro usb 1-6: Manufacturer: SanDisk usb 1-6: SerialNumber: 0000167C8775C505 usb-storage: device found at 5 usb-storage: waiting for device to settle before scanning scsi 9:0:0:0: Direct-Access SanDisk Cruzer 4.05 PQ: 0 ANSI: 2 sd 9:0:0:0: [sdc] 16055949 512-byte hardware sectors: (8.22GB/7.65GiB) sd 9:0:0:0: [sdc] Write Protect is off sd 9:0:0:0: [sdc] Mode Sense: 03 00 00 00 sd 9:0:0:0: [sdc] Assuming drive cache: write through sd 9:0:0:0: [sdc] 16055949 512-byte hardware sectors: (8.22GB/7.65GiB) sd 9:0:0:0: [sdc] Write Protect is off sd 9:0:0:0: [sdc] Mode Sense: 03 00 00 00 sd 9:0:0:0: [sdc] Assuming drive cache: write through sdc: sdc1 sd 9:0:0:0: [sdc] Attached SCSI removable disk sd 9:0:0:0: Attached scsi generic sg4 type 0 usb-storage: device scan complete SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=01:00:5e:00:00:fb:00:21:00:0c:72:4f:08:00 SRC=192.168.1.132 DST=224.0.0.251 LEN=64 TOS=0x00 PREC=0x00 TTL=255 ID=0 DF PROTO=UDP SPT=5353 DPT=5353 LEN=44 ntfs-3g is installed and i tried to configure with ntfs-config as well... if i mount them manually it works... if i use my package instead, the pen drive is mounted but packagekit still show the above error. to fix removable media issue i added that hal rule: /usr/share/hal/fdi/policy/10osvendor/20-ntfs-config-write-policy.fdi where the content is: <?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- --> <!-- Allow read/write mounting of external NTFS devices with ntfs-3g. /usr/share/hal/fdi/policy/10osvendor/ --> <deviceinfo version="0.2"> <device> <match key="volume.fstype" string="ntfs"> <match key="@block.storage_device:storage.hotpluggable" bool="true"> <merge key="volume.fstype" type="string">ntfs-3g</merge> <merge key="volume.policy.mount_filesystem" type="string">ntfs-3g</merge> <append key="volume.mount.valid_options" type="strlist">locale=</append> </match> </match> </device> </deviceinfo>
Is this a hal or kde problem? If it's kde, please assign to kde-maintainers.
hal and packagekit i think... i fixed the hal part with the rule i posted before.. but i have no idea about the packagekit one that as i told is that one: kde-updaterapplet : ERROR --> "DBus error : org.freedesktop.PackageKit.Transaction.SearchInvalid : Search string zero length"
kde-updaterapplet error is not showed if i removed the check from "search drivers when new hardware is attached"
Created attachment 256785 [details] problem resuming and possible fixing so resuming the problem is packagekit + hal.. KDE UPDATER APPLET ERROR: (here the problem is packagekit) zypper backend : no problems even if the search drivers option is enabled. packagekit backend : to workaround i MUST disable the serach drivers option or when i attach ntfs drives i got the dbus error told. MISSING AUTOMOUNT: (here the problem is HAL) you can fix it adding that hal rule: /usr/share/hal/fdi/policy/10osvendor/20-ntfs-config-write-policy.fdi that is attached
Looks to me like a KDE/PackageKit problem and not a HAL issue
i'm sorry to disagree... the problem is hal / packagekit related... the automaunt issue exist with both (kde3 and kde4), i'm installing gnome to check it too.. and i fixed with the HAL rule (but i know, you never accept community contributions) i'll report soon about gnome
oh, i forgot... kde3: kio_media_mounthelper : ERROR --> "TODO: have to rethink extra options" kde4: dolphin ---> "org.freedesktop.Hal.Device.Volume.UnknownFAILURE: TODO: have to rethink extra options"
i'm sorry, you was right.. no problems with gnome... any way as i told it can be easly fixed with the hail rule attached, and what about packagekit?
the packagekit problem is not strictly related to ntfs hard drives... same error if i plug a bluetooth adapter.. i think that the feture "search new drivers when plug devices" is broken
and what is the problem you have? You only list warnings from log files afaics
IT DO NOT AUTO-MOUNT NTFS PEN DRIVES
kde is not able to automount ntfs drives... i can be fixed with the hal rule attxhed.. without know i reported a second bug too.. packagekit "search drivers when hardware is plugged" feature don't work... if enabled, you'll receive "DBus error : org.freedesktop.PackageKit.Transaction.SearchInvalid : Search string zero length"
There is an fdi file in the ntfs-3g package itself: /usr/share/hal/fdi/policy/10osvendor/21-storage-ntfs-3g.fdi already.
I guess it's a duplicate of bug 442178.
@ vincent: indeed look to be @ JP Rosevear: but look not works, mine insted works.. tested.
*** Bug 442178 has been marked as a duplicate of this bug. ***
You should have closed this bug, and not bug 442178. *** This bug has been marked as a duplicate of bug 442178 ***